LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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


Reply
  Search this Thread
Old 01-27-2004, 08:24 AM   #1
zahid@allbd.com
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Rep: Reputation: 0
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?
 
Old 01-27-2004, 08:39 AM   #2
zahid@allbd.com
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
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
 
Old 02-02-2004, 01:43 PM   #3
PsychosisNode
Member
 
Registered: Apr 2003
Location: Reading, Berkshire, IN-GER-LUND!!!
Distribution: Mandriva 2006
Posts: 228

Rep: Reputation: 30
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.
 
Old 02-03-2004, 11:24 PM   #4
zahid@allbd.com
LQ Newbie
 
Registered: Apr 2003
Posts: 8

Original Poster
Rep: Reputation: 0
Seems better than reboot. Let me see if it works.
Thank you for your reply.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
usb stick works only if attached at boot rakamaka Linux - Hardware 2 11-22-2004 10:32 AM
USB compact flas memory works ONLY if plugged in at boot ganja_guru Linux - Hardware 3 11-01-2004 12:40 PM
PCMCIA USB storage boot order marcelve Linux - Laptop and Netbook 0 10-04-2004 02:38 PM
USB storage device works in 2.4 not 2.6 "no device error" critch Linux - Hardware 4 05-18-2004 12:13 PM
Boot from floppy -> usb mass storage jago25_98 Linux - Hardware 21 12-24-2002 03:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration