LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   mounting a 1394 hard drive (https://www.linuxquestions.org/questions/linux-hardware-18/mounting-a-1394-hard-drive-79936/)

beaucoup 08-07-2003 04:20 PM

mounting a 1394 hard drive
 
I've got an ieee1394 hard drive(an ipod, in fact), that I'm trying to access on my Debian machine. I did this all the time on my old Redhat box; I plug in the drive, modprobe sbp2 as root, then run the appropriate mount command. When I attempt this on my new machine, though, I get this:

gilliam:~# modprobe sbp2
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: sbp2: Node[00:1023]: Max speed [S400] - Max payload [2048]

Looks good so far, no errors, the sbp2 driver logs into the drive...but nothing mountable shows up in /proc/partitions. I can't even do an fdisk -l on the device, because the kernel doesn't see it as a disk. Any insights on what I'm overlooking?

-Andrew

JensCFischer 08-27-2003 03:33 AM

same problem - interested in solution
 
No solution for you - but exactly the same problem with an external Maxtor 200GB with a IEEE1394 - ATA adapter and Debian testing / unstable with the 2.4.21 kernel.

beaucoup 08-27-2003 11:32 AM

Probably worth noting that I'm on that same distro, release, and kernel :) Perhaps I'll build a 2.4.18 kernel and see what happens...

-Andrew

jschiwal 08-31-2003 08:43 AM

I have a different distro, then you do, but maybe this will help. I needed to install the libraw1394 package. (FYI - G-Streamer uses this library), that may be a place to look.

Anyway, here are relevent lines from my lsmod listing the modules loaded:


Module Size Used by Tainted: P

raw1394 7004 0 (unused)
ieee1394 31532 0 [sbp2 ohci1394 raw1394]
scsi_mod 90372 6 [sbp2 sr_mod FastTrak sd_mod ide-scsi usb-storage]

One final note. On my computer, I sometimes have to power cycle my 1394 HD in order for it to be detected. This is true if I am in Linux or Windows XP.

BeNe.WS 08-31-2003 09:27 AM

I had the same problem in RH9.

I did the following:
echo "scsi add-single-device 0 0 0 0" > /proc/scsi/scsi

I don't know if it's working with debian.

finegan 08-31-2003 07:34 PM

I don't think Debian compiles in the kernel option for displaying individual partitions statistics in /proc/partitions, in "menuconfig" its under "Block Devices", bottom option...

Check to see if there's a SCSI device partition scan in "dmesg", something like:

Code:

i91u: Reset SCSI Bus ...
scsi0 : Initio INI-9X00U/UW SCSI device driver; Revision: 1.03g
  Vendor:          Model: CD-R/RW RW7060S  Rev: 1.30
  Type:  CD-ROM                            ANSI SCSI revision: 02
  Vendor: IBM      Model: DDRS-39130D      Rev: DC2A
  Type:  Direct-Access                      ANSI SCSI revision: 02
Attached scsi disk sda at scsi0, channel 0, id 8, lun 0
SCSI device sda: 17850000 512-byte hdwr sectors (9139 MB)
 sda: sda1 sda2
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0

The most important part of course being the next to last line where it does the partition report.

Cheers,

Finegan

beaucoup 10-06-2003 12:27 AM

I have to admit to having given up on this problem for a little while, but now that I've gotten back around to it, I tried BeNe's advice and it worked like a charm. Of course I had to change the host arg from zero to one to reflect my setup; ide-scsi is using scsi0.

It's a relief to be able to use external hard drives again, but I'm nonetheless curious as to why this didn't work automatically.

-Andrew


All times are GMT -5. The time now is 07:27 PM.