If you rm the ub.<whatever> file and do depmod -a it should rebuild the
map used to determine which module to load for storage devices.
On Wed, 13 Jul 2005, Bill Feero wrote:
> I'm rebuilding the kernel to remove ub.
>
> Is there any way to use usb-storage without rebuilding? I compiled the usb options as modules, so I already
> have usb-storage as a module.
> I don't know the new 2.6 module & udev configuration files well enough to disable ub and get usb-storage to take over.
>
> I tried adding the line
> install ub /bin/true
> to modprobe.conf, but nothing happend when I inserted the flashdisk.
>
> any thoughts?
>
> Bill
>
>
> On Wednesday 13 July 2005 12:56 pm, Stephen J. Gowdy wrote:
> > I'd remove ub from your system, it is the low performance USB driver. You
> > should use usb-storage.
> >
> > On Wed, 13 Jul 2005, Bill Feero wrote:
> >
> > > I'm running SL 4.0, and kernel version 2.6.9-11
> > >
> > > When I plug in my USB flash disk, I get a constant kernel: uba: was not changed
> > > in the log files. (device is not mounted)
> > >
> > > When I unplug the flash disk, I get a kernel panic
> > > Kernel panic - not syncing: drivers/block/ub.c:813: spin_is_locked on uninitialized spinlock da8b5000.
> > >
> > > Is there a fix for this?
> > >
> > >
> > > log file snippet follows
> > >
> > > Jul 13 11:49:42 bfdcs kernel: ehci_hcd 0000:00:13.2: GetStatus port 2 status 001803 POWER sig=j CSC CONNECT
> > > Jul 13 11:49:42 bfdcs kernel: hub 1-0:1.0: port 2, status 0501, change 0001, 480 Mb/s
> > > Jul 13 11:49:42 bfdcs kernel: hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x501
> > > Jul 13 11:49:42 bfdcs kernel: hub 1-0:1.0: port 2 not reset yet, waiting 50ms
> > > Jul 13 11:49:42 bfdcs kernel: ehci_hcd 0000:00:13.2: port 2 high speed
> > > Jul 13 11:49:42 bfdcs kernel: ehci_hcd 0000:00:13.2: GetStatus port 2 status 001005 POWER sig=se0 PE CONNECT
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: new high speed USB device using address 2
> > > Jul 13 11:49:42 bfdcs kernel: ehci_hcd 0000:00:13.2: devpath 2 ep0out 3strikes
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: new device strings: Mfr=1, Product=2, SerialNumber=3
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: default language 0x0409
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: Product: USB 2.0 FD
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: Manufacturer: PNY
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: SerialNumber: 6E530700174E
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: hotplug
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2: adding 1-2:1.0 (config #1, interface 0)
> > > Jul 13 11:49:42 bfdcs kernel: usb 1-2:1.0: hotplug
> > > Jul 13 11:49:42 bfdcs kernel: ub: sizeof ub_scsi_cmd 60 ub_dev 1020
> > > Jul 13 11:49:42 bfdcs kernel: ub 1-2:1.0: usb_probe_interface
> > > Jul 13 11:49:42 bfdcs kernel: ub 1-2:1.0: usb_probe_interface - got id
> > > Jul 13 11:49:43 bfdcs kernel: uba: device 2 capacity nsec 1003520 bsize 512
> > > Jul 13 11:49:43 bfdcs kernel: uba: was not changed
> > > Jul 13 11:49:43 bfdcs kernel: uba: uba1
> > > Jul 13 11:49:43 bfdcs kernel: usbcore: registered new driver ub
> > > Jul 13 11:49:43 bfdcs kernel: uba: was not changed
> > > Jul 13 11:49:55 bfdcs last message repeated 10 times
> > > Jul 13 11:49:56 bfdcs kernel: ehci_hcd 0000:00:13.2: GetStatus port 2 status 001002 POWER sig=se0 CSC
> > > Jul 13 11:49:56 bfdcs kernel: hub 1-0:1.0: port 2, status 0100, change 0001, 12 Mb/s
> > > Jul 13 11:49:56 bfdcs kernel: usb 1-2: USB disconnect, address 2
> > > Jul 13 11:49:56 bfdcs kernel: usb 1-2: usb_disable_device nuking all URBs
> > > Jul 13 11:49:56 bfdcs kernel: usb 1-2: unregistering interface 1-2:1.0
> > > Jul 13 11:49:56 bfdcs kernel: usb 1-2:1.0: hotplug
> > > Jul 13 11:49:56 bfdcs kernel: usb 1-2: unregistering device
> > > Jul 13 11:49:56 bfdcs kernel: usb 1-2: hotplug
> > > Jul 13 11:49:56 bfdcs kernel: hub 1-0:1.0: debounce: port 2: total 100ms stable 100ms status 0x100
> > >
> > > Kernel panic - not syncing: drivers/block/ub.c:813: spin_is_locked on uninitialized spinlock da8b5000.
> > >
> > >
> >
> > --
> > /------------------------------------+-------------------------\
> > |Stephen J. Gowdy | SLAC, MailStop 34, |
> > |http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, |
> > |http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA |
> > |EMail: [log in to unmask] | Tel: +1 650 926 3144 |
> > \------------------------------------+-------------------------/
> >
> >
>
>
--
/------------------------------------+-------------------------\
|Stephen J. Gowdy | SLAC, MailStop 34, |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road, |
|http://calendar.yahoo.com/gowdy | Menlo Park CA 94025, USA |
|EMail: [log in to unmask] | Tel: +1 650 926 3144 |
\------------------------------------+-------------------------/
|