On occasion you'll get advice to make sure usb-storage is a module... I guess YMMV.
On Thu, 29 May 2003, asterr wrote: > Martijn, > > I have a similar problem with a Toshiba DVD-R/RW. The device appears to > properly recognized in lsusb and in /proc/scsi/usb-storage-0/0. However, > the entry in /proc/scsi/scsi is strange and I am unable to mount /dev/sda > with the same error message. (In my case, it really is /dev/sda). > > I forget where I found this, but someone suggested that some of the SCSI > and USB drivers should be statically compiled into the kernel. I have > a set of changes that generates a kernel that will allow me to mount my > DVD player. I am still testing to identify what is exactly required, I > am sure that I have unnecessary changes in this list. (I am using RedHat > 8.0, kernel 2.4.18-14) > > General --> NO Support for PCI Hotplug > SCSI --> STATIC SCSI Support > SCSI --> STATIC SCSI Disk Support > SCSI --> STATIC SCSI tape support > SCSI --> STATIC SCSI OnStream SC-x0 tape support > SCSI --> STATIC SCSI CD-ROM support > SCSI --> STATIC SCSI generic support > SCSI --> STATIC Probe all LUNs on each SCSI device > USB --> STATIC Support for USB > USB --> STATIC USB verbose debug messages > USB --> STATIC UHCI support > USB --> NO UHCI Alternate Driver support > USB --> STATIC USB Mass Storage Support > USB --> STATIC USB Mass Storage verbose debug > > Let me know if this works. I plan to identify exactly which changes are > required, and then to try to find an explanation for what is different. > Ideally, I would be able to find a way to replicate this without a kernel > recompile, but I may just be dreaming. > > Regards, > Aaron Sterr > > On Wed, 28 May 2003, Martijn Brouwer wrote: > > > Hi Matt, Stephen and others, > > Thanks for fast reply. Below the (of the) output of lsmod, dmesg, > > /proc/bus/usb/drivers, /proc/scsi/scsi and kern.log > > > > lsmod: > > > > usb-storage 24560 0 (unused) > > ne2k-pci 5888 1 > > 8390 6864 0 [ne2k-pci] > > parport_pc 16004 1 (autoclean) > > lp 6912 0 (autoclean) > > parport 26592 1 (autoclean) [parport_pc lp] > > nls_iso8859-1 2844 2 (autoclean) > > vfat 10860 1 (autoclean) > > fat 32696 0 (autoclean) [vfat] > > i2c-proc 7280 0 (unused) > > i2c-core 13604 0 [i2c-proc] > > ide-scsi 10384 0 > > scsi_mod 57140 2 [usb-storage ide-scsi] > > hid 14216 0 (unused) > > mousedev 4404 1 > > input 3520 0 [hid mousedev] > > usb-uhci 23500 0 (unused) > > usbcore 63360 1 [usb-storage hid usb-uhci] > > > > > > /proc/bus/usb/drivers: > > > > usbdevfs > > hub > > hid > > usb-storage > > > > > > /proc/scsi/scsi: > > > > Attached devices: > > Host: scsi0 Channel: 00 Id: 00 Lun: 00 > > Vendor: LITE-ON Model: LTR-16102B Rev: OS0B > > Type: CD-ROM ANSI SCSI revision: 02 > > Host: scsi1 Channel: 00 Id: 00 Lun: 00 > > Vendor: Model: Rev: > > Type: <NULL> ANSI SCSI revision: ffffffff > > > > > > And in the kern.log I found: > > > > May 28 08:52:29 martijn kernel: Initializing USB Mass Storage driver... > > May 28 08:52:29 martijn kernel: usb.c: registered new driver usb-storage > > May 28 08:52:29 martijn kernel: USB Mass Storage support registered. > > May 28 08:53:44 martijn kernel: hub.c: new USB device 00:11.2-2, assigned address 3 > > May 28 08:53:44 martijn kernel: usb-uhci.c: interrupt, status 2, frame# 770 > > May 28 08:53:44 martijn kernel: scsi1 : SCSI emulation for USB Mass Storage devices > > > > > > And finally in dmesg: > > > > uhci.c: USB Universal Host Controller Interface driver v1.1 > > Initializing USB Mass Storage driver... > > usb.c: registered new driver usb-storage > > USB Mass Storage support registered. > > hub.c: new USB device 00:11.2-2, assigned address 3 > > usb-uhci.c: interrupt, status 2, frame# 770 > > scsi1 : SCSI emulation for USB Mass Storage devices > > > > Manually loading sd_mod makes no difference. > > I'll have a look at hotplug. I looks really flexible. Might it help in this > > situation? > > > > Thanks for your help. > > > > Martijn > > > > > > > > > > On Wed, 28 May 2003 17:39:09 +0200 (CEST) > > "Stephen J. Gowdy" <[EMAIL PROTECTED]> wrote: > > > > > Hi Martijn, > > > Can you send the output of lsmod and the contents of > > > /proc/bus/usb/drivers? Are there any other messagesd in your log files? I > > > notice it says scsi1, do you have another scsi disk? (This would mean that > > > sda1 isn't the right device). Did you try loading sd_mod by hand? BTW, if > > > read the FAQ it recommends removing usbmgr and using hotplug instead. > > > > > > rgeards, > > > > > > Stephen. > > > > > > On Wed, 28 May 2003, Martijn Brouwer wrote: > > > > > > > Hi, > > > > Recently I bought a Medion 7425 Digital Camera. Since it uses the usb storage > > > > protocol, I assumed it would work under linux, but until now I did not succeed > > > > mounting it. > > > > > > > > If I try mount -t vfat /dev/sdXY /mnt camera with X=a,b and Y=1-5, I get the > > > > message: > > > > mount: /dev/sda1 is not a valid block device > > > > > > > > When I connect the camera to my computer, usbmgr loads the usb-storage and > > > > scsi_mod modules. sd_mod is not loaded. In the /var/log/messages I read: > > > > > > > > May 28 08:53:44 martijn kernel: hub.c: new USB device 00:11.2-2, assigned > > > > address 3 > > > > May 28 08:53:44 martijn kernel: usb-uhci.c: interrupt, status 2, frame# 770 > > > > May 28 08:53:44 martijn kernel: scsi1 : SCSI emulation for USB Mass Storage > > > > device > > > > > > > > /var/log/daemon.log reads: > > > > May 28 08:53:44 martijn usbmgr[288]: vendor:0xd96 product:0x410a > > > > May 28 08:53:44 martijn usbmgr[288]: class:0x8 subclass:0x6 protocol:0x50 > > > > May 28 08:53:44 martijn usbmgr[288]: USB device is matched the configuration > > > > May 28 08:53:44 martijn usbmgr[288]: "usb-storage" was loaded > > > > > > > > /proc/bus/usb/devices shows: > > > > T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 > > > > D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > > P: Vendor=0d96 ProdID=410a Rev= 0.01 > > > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 10mA > > > > I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=(none) > > > > E: Ad=81(I) Atr=03(Int.) MxPS= 8 Ivl=1ms > > > > E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > E: Ad=03(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > > > > > So I conclude that the storage driver is loaded but not connected to my > > > > device. I tried kernel 2.4.20 with the uhci host driver and kernel 2.4.21pre4 > > > > with both usb-uhci and uhci. > > > > > > > > On internet (http://www.netspace.net.au/~bmiller/linux/c5050.html) I found a > > > > message of somebody with a Olympus C-5050, which is of the same subclass and > > > > uses the same protocol, but in his case the usb-storage module was connected > > > > to the camera. In his case /proc/bus/usb/devices also showed more information > > > > concerning the brand, type and serial number of the camera: > > > > > > > > T: Bus=04 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 > > > > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > > > P: Vendor=07b4 ProdID=0105 Rev= 1.00 > > > > S: Manufacturer=OLYMPUS > > > > S: Product=C5050Z > > > > S: SerialNumber=000244703998 > > > > C: #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > > > I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage > > > > E: Ad=04(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > E: Ad=83(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms > > > > > > > > Is there something that I can do to make this camera working with linux? > > > > > > > > Physics is a approximate description of a part of the physical phenomena, that > > > > are only a small portion of human perceptions. > > > > > > > > H Casimir, Dutch Physicist > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: ObjectStore. > > > > If flattening out C++ or Java code to make your application fit in a > > > > relational database is painful, don't do it! Check out ObjectStore. > > > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > > > _______________________________________________ > > > > [EMAIL PROTECTED] > > > > To unsubscribe, use the last form field at: > > > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > > > > > > > > > > -- > > > /------------------------------------+-------------------------\ > > > |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: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | > > > \------------------------------------+-------------------------/ > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: ObjectStore. > > > If flattening out C++ or Java code to make your application fit in a > > > relational database is painful, don't do it! Check out ObjectStore. > > > Now part of Progress Software. http://www.objectstore.net/sourceforge > > > _______________________________________________ > > > [EMAIL PROTECTED] > > > To unsubscribe, use the last form field at: > > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > > > > > > > > > Physics is a approximate description of a part of the physical phenomena, that are > > only a small portion of human perceptions. > > > > H Casimir, Dutch Physicist > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: eBay > > Get office equipment for less on eBay! > > http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 > > _______________________________________________ > > [EMAIL PROTECTED] > > To unsubscribe, use the last form field at: > > https://lists.sourceforge.net/lists/listinfo/linux-usb-users > > > > > > > -- /------------------------------------+-------------------------\ |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: [EMAIL PROTECTED] | Tel: +1 650 926 3144 | \------------------------------------+-------------------------/ ------------------------------------------------------- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
