On the Dell X200 laptop, the following sequence of events causes
the sbp2 driver to become inoperative -- it won't even rmmod:
1) boot machine with firewire CD drive unplugged
2) plug in drive -- get hotplug messages about
setup module sbp2 and logging
into device
3) unplug drive -- get hotplug messages about
logging out of device
4) plug in drive -- get hotplug message about
setting up sbp2, but NOT about
logging into device; device unusable
5) unplug drive -- no messages
6) plug drive -- no messages
7) rmmod sbp2 -- hangs
I've managed to work around this by modifying the sbp2 hotplug
script to rmmod the sbp2 module after each unplug event
provided that there are no additional devices attached.
Info:
stock kernel 2.4.21 (also happens on 2.4.20)
confirmed on both slackware & mandrake distributions
used both distro /etc/hotplug and the CVS version
on hotplug sourceforge site
Attached file:
log entries
/proc info
my patched version of /etc/hotplug that manually
works around problem
PS: I also found that ohci1394 doesn't survive a suspend/resume
cycle. I worked around this with an apm proxy that rmmod's
ohci1394 on suspend and insmod's it on resume.
log entries, /proc info and patched /etc/hotplug