Andrew,
My kernal is 2.4.20-1-k7, and /proc/bus/usb/devices doesn't exist. I have /proc/bus/usb, but that is empty.
And I think that you're right about the timeout message. I don't know enough to determine a solution, but I continue the investigation.
Here is a sequence of events that I went through this morning, and the associated output to the sylog file.
I generally would try loading the module first, but I forgot to, so I inserted the drive first.
1) inserting the drive
May 27 11:14:56 cello kernel: hub.c: new USB device 00:04.3-2.1, assigned address 3
May 27 11:14:56 cello kernel: hub.c: USB hub found
May 27 11:14:56 cello kernel: hub.c: 2 ports detected
May 27 11:14:57 cello kernel: hub.c: new USB device 00:04.3-2.1.1, assigned address 4
May 27 11:14:57 cello kernel: usb.c: USB device 4 (vend/prod 0x67b/0x2317) is not claimed by any active driver.
May 27 11:14:57 cello kernel: hub.c: new USB device 00:04.3-2.1.2, assigned address 5
May 27 11:14:57 cello kernel: usb.c: USB device 5 (vend/prod 0x67b/0x2316) is not claimed by any active driver.!
2) loading the module (manually, with modprobe usb-storage))
May 27 11:19:50 cello kernel: Initializing USB Mass Storage driver...
May 27 11:19:50 cello kernel: usb.c: registered new driver usb-storage
May 27 11:19:50 cello kernel: scsi0 : SCSI emulation for USB Mass Storage devices
May 27 11:19:50 cello kernel: Vendor: Model: Rev:
May 27 11:19:50 cello kernel: Type: Direct-Access ANSI SCSI revision: 02
May 27 11:19:50 cello kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
May 27 11:19:50 cello kernel: SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
May 27 11:19:50 cello kernel: /dev/scsi/host0/bus0/target0/lun0: p1
May 27 11:19:50 cello kernel: WARNING: USB Mass Storage data integrity not assured
May 27 11:19:50 cello kernel: USB Mass Storage device found at 4
May 27 11:19:50 cello kernel: USB Mass Storage support registered.
At this point, I could mount and access the drive,
3) But then, I unmounted and removed, and reinserted the drive.
May 27 11:24:00 cello kernel: usb-uhci.c: interrupt, status 3, frame# 1164
May 27 11:24:00 cello kernel: usb.c: USB disconnect on device 00:04.3-2.1 address 3
May 27 11:24:00 cello kernel: usb.c: USB disconnect on device 00:04.3-2.1.1 address 4
May 27 11:24:00 cello kernel: usb.c: USB disconnect on device 00:04.3-2.1.2 address 5
May 27 11:24:08 cello kernel: hub.c: new USB device 00:04.3-2.1, assigned address 6
May 27 11:24:08 cello kernel: hub.c: USB hub found
May 27 11:24:08 cello kernel: hub.c: 2 ports detected
May 27 11:24:09 cello kernel: hub.c: new USB device 00:04.3-2.1.1, assigned address 7
May 27 11:24:09 cello kernel: usb-uhci.c: interrupt, status 3, frame# 1588
May 27 11:24:12 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:12 cello kernel: usb.c: error getting string descriptor 0 (error=-110)
May 27 11:24:15 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:15 cello kernel: usb.c: error getting string descriptor 0 (error=-110)
May 27 11:24:15 cello kernel: WARNING: USB Mass Storage data integrity not assured
May 27 11:24:15 cello kernel: USB Mass Storage device found at 7
May 27 11:24:16 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:16 cello kernel: hub.c: usb_hub_port_status (6) failed (err = -110)
May 27 11:24:17 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:17 cello kernel: hub.c: get_hub_status failed
May 27 11:24:18 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:18 cello kernel: hub.c: usb_hub_port_status (6) failed (err = -110)
May 27 11:24:19 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:19 cello kernel: hub.c: usb_hub_port_status (6) failed (err = -110)
May 27 11:24:20 cello kernel: usb_control/bulk_msg: timeout
May 27 11:24:20 cello kernel: hub.c: get_hub_status failed
Now, I was unable to mount the drive at all.
-------------------------------------------------------------------
Jerry Bash
Spectral Systems, Inc.
Phone: (937) 281-1320
-------------------------------------------------------------------
Andrew Perrin <[EMAIL PROTECTED]>
05/22/2003 04:39 PM
|
To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject: Re: usb flash drive problem - module problem? |
Not knowing much, I suspect this is your problem:
May 21 16:21:43 cello kernel: usb_control/bulk_msg: timeout
I don't have my USB key handy, but the digital camera I borrowed works
exactly the same way. Before mounting, I get the following in
/var/log/syslog:
May 22 16:35:53 joehill kernel: hub.c: new USB device 00:10.0-2, assigned
address 8
May 22 16:35:53 joehill kernel: WARNING: USB Mass Storage data integrity
not assured
May 22 16:35:53 joehill kernel: USB Mass Storage device found at 8
joehill:~# cat /proc/scsi/scsi
Attached devices:
...
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: HP Model: PhotoSmart 812 Rev: A001
Type: Direct-Access ANSI SCSI revision: 02
joehill:~# cat /proc/bus/usb/devices
...
P: Vendor=03f0 ProdID=4002 Rev= 0.01
S: Manufacturer=HEWLETT-PACKARD
S: Product=HP PhotoSmart 812
S: SerialNumber=YCN2C6S217T0
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 10mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
So, a couple other questions:
1.) What kernel version are you using?
2.) What's the output of cat /proc/bus/usb/devices ?
Hope this helps.
----------------------------------------------------------------------
Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
[EMAIL PROTECTED] * andrew_perrin (at) unc.edu
On Thu, 22 May 2003 [EMAIL PROTECTED] wrote:
> Andrew,
>
> When I cat /proc/scsi/scsi, I get the following. This is with the drive
> plugged in, but not mounted.
>
>
> [EMAIL PROTECTED]:~$ cat /proc/scsi/scsi
> Attached devices: none
>
> The only messages pertaining to the USB devices in syslog or messages are:
>
> cello:/home/jlb# more /var/log/syslog | grep -i usb
> May 22 08:07:42 cello kernel: Initializing USB Mass Storage driver...
> May 22 08:07:42 cello kernel: usb.c: registered new driver usb-storage
> May 22 08:07:42 cello kernel: USB Mass Storage support registered.
>
> cello:/home/jlb# tail -500 /var/log/messages | grep -i usb
> May 21 16:21:41 cello kernel: hub.c: new USB device 00:04.3-2.1, assigned
> address 3
> May 21 16:21:41 cello kernel: hub.c: USB hub found
> May 21 16:21:42 cello kernel: usb-uhci.c: interrupt, status 3, frame# 1772
> May 21 16:21:43 cello kernel: usb_control/bulk_msg: timeout
> May 22 08:07:42 cello kernel: Initializing USB Mass Storage driver...
> May 22 08:07:42 cello kernel: usb.c: registered new driver usb-storage
> May 22 08:07:42 cello kernel: USB Mass Storage support registered.
>
>
> Thanks,
> Jerry
>
>
> -------------------------------------------------------------------
> Jerry Bash
> Spectral Systems, Inc.
> Phone: (937) 281-1320
> -------------------------------------------------------------------
>
>
>
>
> Andrew Perrin <[EMAIL PROTECTED]>
> 05/22/2003 11:08 AM
>
>
> To: [EMAIL PROTECTED]
> cc: [EMAIL PROTECTED]
> Subject: Re: usb flash drive problem - module problem?
>
>
> What's the output of:
>
> cat /proc/scsi/scsi
>
> Is there anything in /var/log/syslog or /var/log/messages that suggests a
> problem with the USB device?
>
> ----------------------------------------------------------------------
> Andrew J Perrin - http://www.unc.edu/~aperrin
> Assistant Professor of Sociology, U of North Carolina, Chapel Hill
> [EMAIL PROTECTED] * andrew_perrin (at) unc.edu
>
>
> On Thu, 22 May 2003 [EMAIL PROTECTED] wrote:
>
> > Hi,
> > I have recently acquired a usb flash (pen) drive, and have been able to
> > use it occasionally.
> > I initially simply loaded the usb-storage module, plugged it in and
> > mounted it successfully, and was able to read and write files.
> >
> > However, the next day I tried mounting it again, and was not able to.
> > ('/dev/sda1 is not a block device' error). It seems that after some
> time
> > (I haven't determined how much time), I am no longer able to mount the
> > drive to access it. I am 'manually' mounting it (ie., not using
> hotplug)
> > and would prefer to continue using in that manner, if possible.
> >
> > [EMAIL PROTECTED]:~$ mount /mnt/flash
> > mount: /dev/sda1 is not a valid block device
> >
> > I am not familiar with the how modules behave. Is it possible that a
> > module required for usb access is unloaded? I have mounted and accessed
> > this device, as well as another device (usb cdrom burner) successfully.
> >
> > If anyone can help, it would be much appreciated.
> >
> > Thanks
> >
> > I am using debian sid on a AMD Athlon machine. Details included below
> > (kernel, fstab, modules loaded)
> >
> > [EMAIL PROTECTED]:~$ uname -a
> > Linux cello 2.4.20-1-k7 #1 Sat Mar 22 15:17:52 EST 2003 i686 GNU/Linux
> >
> > [EMAIL PROTECTED]:~$ more /etc/fstab
> > # /etc/fstab: static file system information.
> > #
> > # <file system> <mount point> <type> <options> <dump>
> > <pass>
> > /dev/hda2 / ext3 errors=remount-ro 0 1
> > /dev/hda6 none swap sw 0 0
> > proc /proc proc defaults 0 0
> > /dev/fd0 /floppy auto user,noauto 0 0
> > /dev/cdrom /cdrom iso9660 unhide,ro,user,noauto 0
> > 0
> > /dev/hda1 /boot ext3 defaults 0 2
> > /dev/hda3 /var ext3 defaults 0 2
> > /dev/hda5 /usr ext3 defaults 0 2
> > /dev/hda7 /home ext3 defaults 0 2
> > /dev/hda8 /data01 ext3 defaults 0 2
> > /dev/sda1 /mnt/flash vfat user 0 0
> >
> > [EMAIL PROTECTED]:~$ su
> > Password:
> > cello:/home/jlb# lsmod
> > Module Size Used by Tainted: PF
> > usb-storage 56956 0 (unused)
> > floppy 45948 0 (autoclean)
> > ide-cd 27364 0 (autoclean)
> > cdrom 29280 0 (autoclean) [ide-cd]
> > vmnet 18856 4
> > parport_pc 21288 0
> > parport 23296 0 [parport_pc]
> > vmmon 23252 0
> > snd-seq-midi 3424 0 (autoclean)
> > snd-seq-oss 24288 0
> > snd-seq-midi-event 2968 0 [snd-seq-midi snd-seq-oss]
> > snd-seq 38096 2 [snd-seq-midi snd-seq-oss
> > snd-seq-midi-event]
> > snd-pcm-oss 37956 0
> > snd-mixer-oss 11576 0 [snd-pcm-oss]
> > snd-ens1371 11468 0
> > snd-pcm 56288 0 [snd-pcm-oss snd-ens1371]
> > snd-timer 14280 0 [snd-seq snd-pcm]
> > snd-page-alloc 4208 0 [snd-pcm]
> > gameport 1660 0 [snd-ens1371]
> > snd-rawmidi 12416 0 [snd-seq-midi snd-ens1371]
> > snd-seq-device 3940 0 [snd-seq-midi snd-seq-oss snd-seq
> > snd-rawmidi]
> > snd-ac97-codec 33288 0 [snd-ens1371]
> > snd 29348 0 [snd-seq-midi snd-seq-oss
> > snd-seq-midi-event snd-seq snd-pcm-oss snd-mixer-oss snd-ens1371 snd-pcm
> > snd-timer snd-rawmidi snd-seq-device snd-ac97-codec]
> > soundcore 3716 8 [snd]
> > sd_mod 10860 0 (autoclean) (unused)
> > scsi_mod 90248 1 (autoclean) [usb-storage sd_mod]
> > vfat 9548 0 (autoclean)
> > fat 30136 0 (autoclean) [vfat]
> > 8139too 16200 1
> > mii 2432 0 [8139too]
> > keybdev 1696 0 (unused)
> > usbkbd 2940 0 (unused)
> > input 3392 0 [keybdev usbkbd]
> > usb-uhci 21804 0 (unused)
> > usbcore 56896 0 [usb-storage usbkbd usb-uhci]
> > rtc 5980 0 (autoclean)
> > ext3 58816 6 (autoclean)
> > jbd 37544 6 (autoclean) [ext3]
> > ide-disk 10176 7 (autoclean)
> > ide-probe-mod 8880 0 (autoclean)
> > ide-mod 154184 7 (autoclean) [ide-cd ide-disk
> > ide-probe-mod]
> > unix 14056 147 (autoclean)
> >
> >
> > -------------------------------------------------------------------
> > Jerry Bash
> > Spectral Systems, Inc.
> > Phone: (937) 281-1320
> > -------------------------------------------------------------------
>
>
>