Jeff Abrahamson on 23 Apr 2006 14:36:24 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] firewire errors (non-fatal)


On Sun, Apr 23, 2006 at 03:11:54PM +0100, Stephen Gran wrote:
>   [32 lines, 200 words, 1408 characters]  Top characters: -eotinal
> 
> On Sun, Apr 23, 2006 at 09:22:04AM -0400, Jeff Abrahamson said:
> > Some people have reported solving these firewire errors by serializing
> > the bus.  The technique is to supply an option to the sbp2 module,
> > either "serialize_io=1" or "sbp_serialize_io=1" depending on how ones
> > kernel was built.  Some have also reported success by setting
> > sbp_max_speed=1 (200mbps).
> > 
> > What's not clear is how to set either of these options in debian.
> > Does anyone know.  It appears to have to do with /etc/modules.d/ etc.,
> > but those are different in the debian world, and most of the file I
> > find tell me they are automatically generated.  Anyone know how to do
> > this?
> 
> Make a new file:
> /etc/modutils/name-does-not-matter
> add 
> options $module_name $variable=$value
> 
> so in your case something like:
> options sb2 serialize_io=1
> 
> Then run update-modules.  rmmod the module, and reload, and it
> should be loaded with the new options.  /sbin/modinfo $module gives
> the full list of options a module supports (hopefully).

Thanks, that makes sense.

Is there a trick to rmmod'ing things?  Everything depends on something
else it seems.

    astra:/var/log# rmmod sbp2
    ERROR: Module sbp2 is in use
    astra:/var/log#

(The IEEE 1394 drive is off line.)  I got as far as

    astra:/var/log# rmmod ieee1394 scsi_mod sbp2 ohci1394 usb_storage sd_mod
    ERROR: Module ieee1394 is in use by sbp2,eth1394
    ERROR: Module scsi_mod is in use by sbp2
    ERROR: Module sbp2 is in use
    ERROR: Module ohci1394 does not exist in /proc/modules
    ERROR: Module usb_storage does not exist in /proc/modules
    ERROR: Module sd_mod does not exist in /proc/modules
    astra:/var/log#

before deciding that I was going about it all wrong.

-- 
 Jeff

 Jeff Abrahamson  <http://jeff.purple.com/>          +1 215/837-2287
 GPG fingerprint: 1A1A BA95 D082 A558 A276  63C6 16BF 8C4C 0D1D AE4B

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug