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

Rogério Brito
2005-07-16T19:34:10Z

Hi, Stefan.

On Jul 16 2005, Stefan Richter wrote:
> Rogério Brito wrote:
> >I just modprobe'd sd_mod by hand and the device was recognized:
> [...]
> >ieee1394: sbp2: Logged into SBP-2 device
> >ieee1394: Node 0-00: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)
> [...]
> >I had to load sd_mod by hand, though. The hotplug scripts didn't load it
> >this time.
>
> The .../device/type is 14, right?

Yes, it still is.

(...)
> I could check your scsi.agent if you upload or post it although the
> necessary addition is trivial.

The changes you suggested are trivial indeed and hwere is what my
scsi.agent file has:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
dumont:~# grep sd_mod /etc/hotplug/scsi.agent
0) TYPE=disk ; MODULES=sd_mod ;;
7) TYPE=mod ; MODULES=sd_mod ;;
14) TYPE=rbc-disk ; MODULE=sd_mod ;;
dumont:~#
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

> But make sure hotplug is really active and not accidently disabled.

I think that it is working.

> (E.g. sbp2 should be autoloaded too when ieee1394 detected an SBP-2
> device.)

Yes, sbp2 is automatically loaded when the device is connected. But, for
some reason, the sd_mod module doesn't. :-(

I have uploaded dmesg's and lsmod's and other information to
<http://www.ime.usp.br/~rbrito/bug/>.

I think that I did it detailed enough (just after booting the system, after
plugging the device and after manually loading the sd_mod module) so that
you can see whatever is interesting.

Of course, I can provide you with any information that you think might be
useful.

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