Last week I had to move (and therefore reboot) a machine running Debian sarge (stable) which has a couple of FireWire drives attached to it. Last time I did this it all came up beautifully of its own accord; sadly not this time. The logs showed the nodes being recognised by the
ieee1394 module, but not actually being mounted.
As this machine is in fairly heavy use there was a limit to what I could try to get them back up again.
What worked eventually was:
modprobe -r ohci1394 sbp2 raw1394 eth1394 ieee1394 modprobe sbp2 ohci1394 raw1394 ./rescan-scsi-bus.sh
rescan-scsi-bus.sh script comes from Kurt Garloff and is available for download.
A significant downside to this method is that the drives wound up being recognised more than once. In this specific case: the first time, one drive was recognised once, the other one 8 times (!). Rerunning the
rescan-scsi-bus.sh script another time as I was writing this: the existing drives (2 actual drives, 7 ‘fakes’) showed up again; but the first drive (the one that only appeared once before) was picked up a further 7 times. So I now have 2 real drives, and 14 fakes (7 of each, which at least is neat). Unfortunately as mentioned above this machine sees heavy use so I can’t mess around further with this (e.g. by unloading/reloading the modules and running the script some more at various stages). (And it does work, in that the drives are mounted and accessible right now, so if it ain’t broke…).
I am curious, though. This machine is about to be replaced with a superior solution, so I might get a chance to experiment in a few weeks.