Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-27-2004, 08:24 AM
|
#1
|
LQ Newbie
Registered: Apr 2003
Posts: 8
Rep:
|
USB-Storage: After fresh boot works once only
I'm using Flash Drive 64MB (supports USB V1.1) in RedHat 9.0 with gnome
Here is Module list for USB
$lsmod
scsi_mod 107160 2 [sd_mod usb-storage]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [usb-storage hid usb-uhci]
After a fresh reboot when I put my USB Memory Stick in USB port
#mount /dev/sda1 /mnt/usbstick
It works perfectly, I can copy, remove, whatever Ilike to do in the drive.
I can also
#umount /mnt/usbstick
But When I unplug and plug again the storage and run the mount command as earlier .. this time
$tail -f /var/log/messages
Jan 27 19:11:47 HOST1 kernel: hub.c: new USB device 00:1f.2-1, assigned address 4
Jan 27 19:11:50 HOST1 /etc/hotplug/usb.agent: Setup usb-storage for USB product c76/7/100
Jan 27 19:11:50 HOST1 devlabel: devlabel service started/restarted
Jan 27 19:16:22 HOST1 kernel: usb-uhci.c: interrupt, status 2, frame# 1624
Jan 27 19:16:27 HOST1 kernel: usb-uhci.c: interrupt, status 2, frame# 497
Jan 27 19:16:32 HOST1 kernel: usb-uhci.c: interrupt, status 2, frame# 1420
Jan 27 19:16:37 HOST1 kernel: usb-uhci.c: interrupt, status 2, frame# 295
Jan 27 19:16:42 HOST1 kernel: usb-uhci.c: interrupt, status 2, frame# 1225
..............................
$ps aux
root 32378 0.0 0.1 3492 444 pts/0 D 19:16 0:00 mount /dev/sda1 /mnt/usbstick
And it does not work and hangs on. As a result I have to reboot the system to access my USB Flash Memory.
Any one got problem like that?
|
|
|
01-27-2004, 08:39 AM
|
#2
|
LQ Newbie
Registered: Apr 2003
Posts: 8
Original Poster
Rep:
|
When it works fine
Here is the lsmod(Part of the list) when it worked perfectly (I guess: did copy a file to the storage):
Module Size Used by Not tainted
vfat 13004 0 (autoclean)
fat 38808 0 (autoclean) [vfat]
sd_mod 13516 0 (autoclean)
usb-storage 69332 0
scsi_mod 107160 2 [sd_mod usb-storage]
usb-uhci 26348 0 (unused)
usbcore 78784 1 [usb-storage hid usb-uhci]
And the messages file:
Jan 27 19:30:11 HOST1 kernel: hub.c: new USB device 00:1f.2-1, assigned address 2
Jan 27 19:30:12 HOST1 kernel: usb_control/bulk_msg: timeout
Jan 27 19:30:12 HOST1 kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Jan 27 19:30:12 HOST1 kernel: Vendor: 3SYSTEM Model: Flash Drive-6666 Rev: 1.00
Jan 27 19:30:12 HOST1 kernel: Type: Direct-Access ANSI SCSI revision: 02
Jan 27 19:30:12 HOST1 kernel: ide-floppy driver 0.99.newide
Jan 27 19:30:12 HOST1 kernel: hdc: ATAPI 52X CD-ROM drive, 128kB Cache, DMA
Jan 27 19:30:12 HOST1 kernel: Uniform CD-ROM driver Revision: 3.12
Jan 27 19:30:15 HOST1 kernel: usb_control/bulk_msg: timeout
Jan 27 19:30:32 HOST1 last message repeated 149 times
Jan 27 19:30:32 HOST1 /etc/hotplug/usb.agent: ... no modules for USB product c76/7/100
Jan 27 19:30:47 HOST1 kernel: Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
Jan 27 19:30:47 HOST1 kernel: SCSI device sda: 128000 512-byte hdwr sectors (66 MB)
Jan 27 19:30:47 HOST1 kernel: sda: sda1
Jan 27 19:34:15 HOST1 kernel: usb.c: USB disconnect on device 00:1f.2-1 address 2
Jan 27 19:34:16 HOST1 devlabel: devlabel service started/restarted
|
|
|
02-02-2004, 01:43 PM
|
#3
|
Member
Registered: Apr 2003
Location: Reading, Berkshire, IN-GER-LUND!!!
Distribution: Mandriva 2006
Posts: 228
Rep:
|
happens with my digicam...
The camera (that uses USB mass storage) won't re-connect unless I rmmod usb-uchi and usb-storage, then insmod them again. This saves the reboot, but still isn't a fix. Also, it's an idea to unmount the USB drive before unplugging it.
|
|
|
02-03-2004, 11:24 PM
|
#4
|
LQ Newbie
Registered: Apr 2003
Posts: 8
Original Poster
Rep:
|
Seems better than reboot. Let me see if it works.
Thank you for your reply.
|
|
|
All times are GMT -5. The time now is 08:00 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|