Re: changes to ieee1394/sbp2 outside of linux1394.org

Rogério Brito
2005-07-16T02:10:21Z

Hi, Stefan.

On Jul 15 2005, Stefan Richter wrote:
> Rogério, try "modprobe ieee1394 disable_irm=1" again, of course before
> ohci1394 is loaded. Make sure that sd_mod was loaded.

Ok, I tried this. Here is the relevant part of the dmesg (the whole log is
uploaded to http://www.ime.usp.br/~rbrito/bug/):

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SCSI subsystem initialized
ieee1394: Initialized config rom entry `ip1394'
ieee1394: IRM functionality disabled
sbp2: $Rev: 1311 $ Ben Collins <bcollins@debian.org>
ohci1394: $Rev: 1313 $ Ben Collins <bcollins@debian.org>
PCI: Found IRQ 5 for device 0000:00:0a.0
ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[5] MMIO=[db800000-db8007ff] Max Packet=[2048]
ieee1394: Host added: ID:BUS[0-00:1023] GUID[0011066645555ead]
ieee1394: Node added: ID:BUS[0-01:1023] GUID[0050c501e00010e8]
scsi0 : SCSI emulation for IEEE-1394 SBP-2 Devices
ieee1394: sbp2: Logged into SBP-2 device
ieee1394: Node 0-01:1023: Max speed [S400] - Max payload [2048]
Vendor: ST316002 Model: 1A Rev: 3.06
Type: Unknown ANSI SCSI revision: 06
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 312581808 512-byte hdwr sectors (160042 MB)
SCSI device sda: drive cache: write back
sda: [mac] sda1 sda2 sda3 sda4
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

This time, I removed everything like udev and hotplug, doing things by
hand. I loaded the ohci1394 module after I loaded the sbp2 module.

The drive works this way, but the mouse (ps2) doesn't work. I don't know if
this is related to the fact that I am not using the hotplug scripts (OTOH,
I do see that the kernel has identified the mouse in the dmesg log).

> If this does not help, enable scsi_print_command(...) and
> scsi_print_sense(...)
> in sbp2scsi_complete_command(), i.e. #define CONFIG_IEEE1394_SBP2_DEBUG 1
> or 2 near the beginning of sbp2.c. I assume there won't be too much
> resulting SCSI traffic logged, so you could post it directly here to the
> lists.

I will try this right now with the hotplug/udev scripts back (with the
patch you mentioned) and without disable_irm.

Thanks, Rogério.

--
Rogério Brito : rbrito@ime.usp.br : http://www.ime.usp.br/~rbrito
Homepage of the algorithms package : http://algorithms.berlios.de
Homepage on freshmeat: http://freshmeat.net/projects/algorithms/
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html