Hi,
I'm trying to get a 200G LaCie harddrive and an iPod recognized by my linux
box. I'm running a 2.4.22 kernel, with the various 1394 related modules
(raw1394, ohci1394, sbp2). About a week ago, I had everything working pretty
well. The following steps would get me a /dev/sdb1 which I could mount with
no trouble:
root# modprobe ohci1394
root# modprobe raw1394
root# modprobe sbp2
root# sudo rescan-scsi-bus.sh
which, looking in the old /var/log/messages, gave something like this:
ylem kernel: ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ylem kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[dd101000-dd1017ff] Max Packet=[2048]
ylem kernel: raw1394: /dev/raw1394 device initialized
ylem kernel: sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ylem kernel: scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ylem kernel: ieee1394: sbp2: Logged into SBP-2 device
ylem kernel: ieee1394: sbp2: Logged into SBP-2 device
ylem kernel: scsi singledevice 0 0 0 0
ylem kernel: Vendor: Apple Model: iPod Rev: 1.24
ylem kernel: Type: Direct-Access ANSI SCSI revision: 02
ylem kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
ylem kernel: SCSI device sda: 39062520 512-byte hdwr sectors (20000 MB)
ylem kernel: sda: test WP failed, assume Write Enabled
ylem kernel: sda: sda1 sda2
ylem kernel: scsi singledevice 0 0 1 0
ylem kernel: Vendor: WDC WD20 Model: 00BB-00DAA3 Rev: 75.1
ylem kernel: Type: Direct-Access ANSI SCSI revision: 06
ylem kernel: Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
ylem kernel: SCSI device sdb: 390721968 512-byte hdwr sectors (200050 MB)
ylem kernel: sdb: sdb1
ylem kernel: scsi singledevice 0 0 2 0
ylem kernel: scsi singledevice 0 0 3 0
ylem kernel: scsi singledevice 0 0 4 0
ylem kernel: scsi singledevice 0 0 5 0
ylem kernel: scsi singledevice 0 0 6 0
ylem kernel: scsi singledevice 0 0 7 0
You can see in this output the iPod that proved to be my undoing, because I
didn't have FAT support in the kernel. So I recompiled, adding FAT support
but potentially changing other settings as well (a bad habit, I know), and
now things don't work anymore (Sadly, I don't source-control my kernel
.config, so I can't just revert):
root# modprobe ohci1394
root# modprobe raw1394
root# modprobe sbp2
root# sudo rescan-scsi-bus.sh
ylem kernel: ohci1394: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ylem kernel: ohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[11] MMIO=[dd101000-dd1017ff] Max Packet=[2048]
ylem kernel: raw1394: /dev/raw1394 device initialized
ylem kernel: sbp2: $Rev: 1010 $ Ben Collins <bcollins@debian.org>
ylem kernel: scsi singledevice 0 0 0 0
ylem kernel: scsi singledevice 0 0 0 1
ylem kernel: scsi singledevice 0 0 0 2
ylem kernel: scsi singledevice 0 0 0 3
ylem kernel: scsi singledevice 0 0 0 4
ylem kernel: scsi singledevice 0 0 0 5
ylem kernel: scsi singledevice 0 0 0 6
ylem kernel: scsi singledevice 0 0 0 7
The first place where these two diverge is the line
ylem kernel: scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
which no longer appears. Also, after opening up rescan-scsi-bus.sh to see what
it was doing, I took a look for any adapters under /proc/scsi, and there's no
/proc/scsi/sbp2 there now.
I looked though the kernel source
$ grep -nr 'SCSI emulation for IEEE-1394 SBP-2 Devices' /usr/src/linux
/usr/src/linux/drivers/ieee1394/sbp2.c:2886: return "SCSI emulation for IEEE-1394 SBP-2 Devices";
but that's as far as I got. It seems like the SBP2 is no longer being loaded as a SCSI
adapter, but I have no idea why.
There's another report of this problem on the list,
Subject: 2.6.0-test2 - sbp2 not registering as a scsi device
(http://sourceforge.net/mailarchive/forum.php?thread_id=2858993&forum_id=5387)
but there've been no responses to it, so I though I'd try to raise it again.
Thanks for any help, either solutions or next steps for diagosing.
Brady
_____________________________________________________________
Sluggy.Net: The Sluggy Freelance Community!
-------------------------------------------------------
This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo
The Event For Linux Datacenter Solutions & Strategies in The Enterprise
Linux in the Boardroom; in the Front Office; & in the Server Room
http://www.enterpriselinuxforum.com
_______________________________________________
mailing list Linux1394-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux1394-user
Received on Sun Oct 19 19:23:39 2003
This archive was generated by hypermail 2.1.8 : Mon 02 May 2005 - 09:16:44 CEST