Matt,

Thank you for your input. modprobe sd_mod before plugging the disk in works just fine.

I suppose the problem is in modprobe.conf - relevant excerpt below.   

alias usbdevfs usbcore

alias usb-controller ohci-hcd

install sd_mod { /sbin/modprobe usb-storage; }; /sbin/modprobe --ignore-install sd_mod

install sound-slot-0 /sbin/modprobe --ignore-install sound-slot-0 && { 
/bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :; }

remove sd_mod /sbin/modprobe -r --ignore-remove sd_mod && { /sbin/modprobe -r 
usb-storage; }

remove sound-slot-0 { /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :; }; 
/sbin/modprobe -r --ignore-remove sound-slot-0

I just started on 2.5 series and got the new modutils going with help from the LKML 
and dont understand the install statement in modprobe.conf but will search for 
documentation.

Michael

P.S the log looks horribly illegible, would it better to attach it?


On Monday 24 March 2003 06:57, Matthew Dharm wrote:
> It looks like sd_mod.ko isn't getting loaded.  Load it
> manually and it should all work.
>
> Matt
>
> On Mon, Mar 24, 2003 at 06:15:18AM +0800, Michael Frank wrote:
> > This is a 2.4 compatible setup using RH 8+, no changes made
> > other than modutils 2.4.21-16 from Rusty and modprobe.conf
> > generated. "Old" modutils for 2.4 are 2.4.24
> >
> > 2.5.65 kernel:
> >
> > Manual mount of usbdevfs, modprobe usbcore and
> > usb-controller
> >
> > Mar 24 04:27:59 mhfl2 kernel: drivers/usb/core/usb.c:
> > registered new driver usbfs Mar 24 04:27:59 mhfl2 kernel:
> > drivers/usb/core/usb.c: registered new driver hub Mar 24
> > 04:27:59 mhfl2 kernel: Please use the 'usbfs' filetype
> > instead, the 'usbdevfs' name is deprecated. Mar 24 04:27:59
> > mhfl2 kernel: ohci-hcd 00:14.0: ALi Corporation USB 1.1
> > Controller Mar 24 04:27:59 mhfl2 kernel: ohci-hcd 00:14.0:
> > irq 7, pci mem cf85f000 Mar 24 04:27:59 mhfl2 kernel: Please
> > use the 'usbfs' filetype instead, the 'usbdevfs' name is
> > deprecated. Mar 24 04:27:59 mhfl2 kernel: ohci-hcd 00:14.0:
> > new USB bus registered, assigned bus number 1 Mar 24
> > 04:28:00 mhfl2 kernel: usb usb1: Product: ALi Corporation
> > USB 1.1 Controller Mar 24 04:28:00 mhfl2 kernel: usb usb1:
> > Manufacturer: Linux 2.5.65-mhf1 ohci-hcd Mar 24 04:28:00
> > mhfl2 kernel: usb usb1: SerialNumber: 00:14.0 Mar 24
> > 04:28:00 mhfl2 kernel: hub 1-0:0: USB hub found Mar 24
> > 04:28:00 mhfl2 kernel: hub 1-0:0: 2 ports detected Mar 24
> > 04:28:00 mhfl2 kernel: hub 1-0:0: debounce: port 2: delay
> > 100ms stable 4 status 0x101
> >
> > plugin disk.....
> >
> > Mar 24 04:28:15 mhfl2 kernel: hub 1-0:0: new USB device on
> > port 2, assigned address 3 Mar 24 04:28:15 mhfl2 kernel: usb
> > 1-2: Product: USB TO IDE
> >
> > It did not load usb-storage, so i did modprobe usb-storage
> >
> > Mar 24 04:29:07 mhfl2 kernel: SCSI subsystem initialized
> > Mar 24 04:29:07 mhfl2 kernel: Initializing USB Mass Storage
> > driver... Mar 24 04:29:07 mhfl2 kernel: scsi0 : SCSI
> > emulation for USB Mass Storage devices Mar 24 04:29:07 mhfl2
> > kernel:   Vendor: IC35L060  Model: AVV207-0          Rev:
> > 0811 Mar 24 04:29:07 mhfl2 kernel:   Type:   Direct-Access  
> >                    ANSI SCSI revision: 02 Mar 24 04:29:07
> > mhfl2 kernel: drivers/usb/core/usb.c: registered new driver
> > usb-storage Mar 24 04:29:07 mhfl2 kernel: USB Mass Storage
> > support registered.
> >
> > thats all on 2.5.65 - can't mount disk
> > ----------
> >
> > 2.4.21-pre5 kernel:
> >
> > Manual mount of usbdevfs, modprobe usbcore and
> > usb-controller
> >
> > Mar 24 04:32:36 mhfl2 kernel: usb.c: registered new driver
> > usbdevfs Mar 24 04:32:36 mhfl2 kernel: usb.c: registered new
> > driver hub Mar 24 04:32:36 mhfl2 kernel: usb-ohci.c: USB
> > OHCI at membase 0xcf8b5000, IRQ 7 Mar 24 04:32:36 mhfl2
> > kernel: usb-ohci.c: usb-00:14.0, Acer Laboratories Inc.
> > [ALi] USB 1.1 Controller Mar 24 04:32:36 mhfl2 kernel:
> > usb.c: new USB bus registered, assigned bus number 1 Mar 24
> > 04:32:37 mhfl2 kernel: Product: USB OHCI Root Hub Mar 24
> > 04:32:37 mhfl2 kernel: SerialNumber: cf8b5000 Mar 24
> > 04:32:37 mhfl2 kernel: hub.c: USB hub found
> > Mar 24 04:32:37 mhfl2 kernel: hub.c: 2 ports detected
> > Mar 24 04:32:37 mhfl2 /sbin/hotplug: arguments (usb) env
> > (PWD=/etc/hotplug HOSTNAME=mhfl2
> > DEVICE=/proc/bus/usb/001/001 ACTION=add DEBUG=kernel
> > MACHTYPE=i386-redhat-linux-gnu OLDPWD=/ DEVFS=/proc/bus/usb
> > TYPE=9/0/0 SHLVL=1 SHELL=/bin/bash HOSTTYPE=i386
> > OSTYPE=linux-gnu HOME=/ TERM=dumb
> > PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=0/0/0
> > _=/usr/bin/env) Mar 24 04:32:37 mhfl2 /sbin/hotplug: invoke
> > /etc/hotplug/usb.agent () Mar 24 04:32:37 mhfl2 kernel:
> > hub.c: new USB device 00:14.0-2, assigned address 2 Mar 24
> > 04:32:37 mhfl2 kernel: Product: USB TO IDE
> > Mar 24 04:32:37 mhfl2 kernel: usb.c: USB device 2 (vend/prod
> > 0x5e3/0x702) is not claimed by any active driver. Mar 24
> > 04:32:37 mhfl2 kernel:   Length              = 18 Mar 24
> > 04:32:37 mhfl2 kernel:   DescriptorType      = 01 Mar 24
> > 04:32:37 mhfl2 kernel:   USB version         = 2.00 Mar 24
> > 04:32:37 mhfl2 kernel:   Vendor:Product      = 05e3:0702 Mar
> > 24 04:32:37 mhfl2 kernel:   MaxPacketSize0      = 64 Mar 24
> > 04:32:37 mhfl2 kernel:   NumConfigurations   = 1 Mar 24
> > 04:32:37 mhfl2 kernel:   Device version      = 0.02 Mar 24
> > 04:32:37 mhfl2 kernel:   Device Class:SubClass:Protocol =
> > 00:00:00 Mar 24 04:32:37 mhfl2 kernel:     Per-interface
> > classes Mar 24 04:32:37 mhfl2 kernel: Configuration:
> > Mar 24 04:32:37 mhfl2 kernel:   bLength             =    9
> > Mar 24 04:32:37 mhfl2 kernel:   bDescriptorType     =   02
> > Mar 24 04:32:37 mhfl2 kernel:   wTotalLength        = 0021
> > Mar 24 04:32:37 mhfl2 kernel:   bNumInterfaces      =   01
> > Mar 24 04:32:37 mhfl2 kernel:   bConfigurationValue =   01
> > Mar 24 04:32:37 mhfl2 kernel:   iConfiguration      =   00
> > Mar 24 04:32:37 mhfl2 kernel:   bmAttributes        =   c0
> > Mar 24 04:32:37 mhfl2 kernel:   MaxPower            =   96mA
> > Mar 24 04:32:37 mhfl2 kernel:
> > Mar 24 04:32:37 mhfl2 kernel:   Interface: 0
> > Mar 24 04:32:37 mhfl2 kernel:   Alternate Setting:  0
> > Mar 24 04:32:37 mhfl2 kernel:     bLength             =    9
> > Mar 24 04:32:37 mhfl2 kernel:     bDescriptorType     =   04
> > Mar 24 04:32:37 mhfl2 kernel:     bInterfaceNumber    =   00
> > Mar 24 04:32:38 mhfl2 kernel:     bAlternateSetting   =   00
> > Mar 24 04:32:38 mhfl2 kernel:     bNumEndpoints       =   02
> > Mar 24 04:32:38 mhfl2 kernel:     bInterface
> > Class:SubClass:Protocol =   08:06:50 Mar 24 04:32:38 mhfl2
> > kernel:     iInterface          =   00 Mar 24 04:32:38 mhfl2
> > kernel:     Endpoint:
> > Mar 24 04:32:38 mhfl2 kernel:       bLength             =   
> > 7 Mar 24 04:32:38 mhfl2 kernel:       bDescriptorType     = 
> >  05 Mar 24 04:32:38 mhfl2 kernel:       bEndpointAddress   
> > =   81 (in) Mar 24 04:32:38 mhfl2 kernel:       bmAttributes
> >        =   02 (Bulk) Mar 24 04:32:38 mhfl2 /sbin/hotplug:
> > arguments (usb) env (PWD=/etc/hotplug HOSTNAME=mhfl2
> > DEVICE=/proc/bus/usb/001/002 INTERFACE=8/6/80 ACTION=add
> > DEBUG=kernel MACHTYPE=i386-redhat-linux-gnu OLDPWD=/
> > DEVFS=/proc/bus/usb TYPE=0/0/0 SHLVL=1 SHELL=/bin/bash
> > HOSTTYPE=i386 OSTYPE=linux-gnu HOME=/ TERM=dumb
> > PATH=/bin:/sbin:/usr/sbin:/usr/bin PRODUCT=5e3/702/2
> > _=/usr/bin/env) Mar 24 04:32:38 mhfl2 kernel:      
> > wMaxPacketSize      = 0040 Mar 24 04:32:38 mhfl2 kernel:    
> >   bInterval           =   00 Mar 24 04:32:38 mhfl2 kernel:  
> >   Endpoint:
> > Mar 24 04:32:38 mhfl2 kernel:       bLength             =   
> > 7 Mar 24 04:32:38 mhfl2 kernel:       bDescriptorType     = 
> >  05 Mar 24 04:32:38 mhfl2 /sbin/hotplug: invoke
> > /etc/hotplug/usb.agent () Mar 24 04:32:38 mhfl2 kernel:     
> >  bEndpointAddress    =   02 (out) Mar 24 04:32:38 mhfl2
> > kernel:       bmAttributes        =   02 (Bulk) Mar 24
> > 04:32:38 mhfl2 kernel:       wMaxPacketSize      = 0040 Mar
> > 24 04:32:38 mhfl2 kernel:       bInterval           =   00
> > Mar 24 04:32:41 mhfl2 /etc/hotplug/usb.agent: Setup
> > usb-storage for USB product 5e3/702/2 Mar 24 04:32:42 mhfl2
> > kernel: SCSI subsystem driver Revision: 1.00 Mar 24 04:32:42
> > mhfl2 kernel: Initializing USB Mass Storage driver... Mar 24
> > 04:32:42 mhfl2 kernel: usb.c: registered new driver
> > usb-storage Mar 24 04:32:42 mhfl2 /etc/hotplug/usb.agent:
> > ... no modules for USB product 0/0/0 Mar 24 04:32:42 mhfl2
> > kernel: scsi0 : SCSI emulation for USB Mass Storage devices
> > Mar 24 04:32:42 mhfl2 kernel:   Vendor: IC35L060  Model:
> > AVV207-0          Rev: 0811 Mar 24 04:32:42 mhfl2 kernel:  
> > Type:   Direct-Access                      ANSI SCSI
> > revision: 02 Mar 24 04:32:42 mhfl2 kernel: USB Mass Storage
> > support registered. Mar 24 04:32:44 mhfl2 kernel: Attached
> > scsi disk sda at scsi0, channel 0, id 0, lun 0 Mar 24
> > 04:32:44 mhfl2 kernel: SCSI device sda: 120103200 512-byte
> > hdwr sectors (61493 MB) Mar 24 04:32:44 mhfl2 kernel: 
> > sda:<7>usb-storage: queuecommand() called Mar 24 04:32:44
> > mhfl2 kernel:  sda1 sda2 sda3
> >
> > All working on 2.4.21-pre5
> > -------------
> >
> > Is there anything different in setup for 2.5.65 kernel?
> > Thank you
> > Michael
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:Crypto Challenge is now
> > open! Get cracking and register here for some mind boggling
> > fun and the chance of winning an Apple iPod:
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
> > _______________________________________________
> > [EMAIL PROTECTED]
> > To unsubscribe, use the last form field at:
> > https://lists.sourceforge.net/lists/listinfo/linux-usb-devel



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to