LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-01-2009, 11:16 PM   #1
von_vea
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
gOS did not recognize my usb storage after it gets hang


Hi,

I recently installed gOS 3 on my laptop LENOVO G400.
USB Flash drive, Ipod and External USB HDD are able to detect and working fine.

gOS has wine installed and Installed a windows game and run it but my laptop gets hang and I can't even go to tty2 or any terminal to kill the process. My mouse pointer doesn't even move so what I did is to turn off the laptop.

After boot up, my USB Flash Drive (4GB), Ipod Video (30GB), and External USB HDD (320GB) are no longer detected even using # sudo fdisk -l

It only detects my laptop hdd.

I check the dmesg and use the udevmonitor and got the following when I plugged in those USB devices.

$ dmesg

[ 2836.619413] Initializing USB Mass Storage driver...
[ 2836.619557] scsi21 : SCSI emulation for USB Mass Storage devices
[ 2836.619693] usb-storage: device found at 3
[ 2836.619697] usb-storage: waiting for device to settle before scanning
[ 2836.619750] scsi22 : SCSI emulation for USB Mass Storage devices
[ 2836.619859] usbcore: registered new interface driver usb-storage
[ 2836.619866] USB Mass Storage support registered.
[ 2836.620068] usb-storage: device found at 13
[ 2836.620073] usb-storage: waiting for device to settle before scanning
[ 2836.627587] usbcore: deregistering interface driver usb-storage

$ sudo udevmonitor
udevmonitor will print the received events for:
UDEV the event which udev sends out after rule processing
UEVENT the kernel uevent

UEVENT[1249162253.850586] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7 (usb)
UEVENT[1249162253.850664] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/usb_endpoint/usbdev5.15_ep00 (usb_endpoint)
UEVENT[1249162253.851515] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0 (usb)
UEVENT[1249162253.851565] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0/usb_endpoint/usbdev5.15_ep82 (usb_endpoint)
UEVENT[1249162253.851588] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0/usb_endpoint/usbdev5.15_ep01 (usb_endpoint)
UEVENT[1249162253.879725] add /module/usb_storage (module)
UEVENT[1249162253.880353] add /bus/usb/drivers/usb-storage (drivers)
UEVENT[1249162253.880787] add /class/scsi_host/host25 (scsi_host)
UEVENT[1249162253.881046] add /class/scsi_host/host26 (scsi_host)
UEVENT[1249162253.897331] remove /class/scsi_host/host26 (scsi_host)
UEVENT[1249162253.898323] remove /class/scsi_host/host25 (scsi_host)
UEVENT[1249162253.898711] remove /bus/usb/drivers/usb-storage (drivers)
UEVENT[1249162253.901674] remove /module/usb_storage (module)
UDEV [1249162253.916892] add /module/usb_storage (module)
UDEV [1249162253.925582] add /bus/usb/drivers/usb-storage (drivers)
UDEV [1249162253.932546] add /class/scsi_host/host25 (scsi_host)
UDEV [1249162253.932698] remove /module/usb_storage (module)
UDEV [1249162253.932927] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7 (usb)
UDEV [1249162253.936409] remove /class/scsi_host/host25 (scsi_host)
UDEV [1249162253.946538] remove /bus/usb/drivers/usb-storage (drivers)
UDEV [1249162253.946849] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/usb_endpoint/usbdev5.15_ep00 (usb_endpoint)
UDEV [1249162254.001127] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0 (usb)
UDEV [1249162254.014816] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0/usb_endpoint/usbdev5.15_ep01 (usb_endpoint)
UDEV [1249162254.042557] add /devices/pci0000:00/0000:00:1d.7/usb5/5-7/5-7:1.0/usb_endpoint/usbdev5.15_ep82 (usb_endpoint)
UDEV [1249162254.043207] add /class/scsi_host/host26 (scsi_host)
UDEV [1249162254.044765] remove /class/scsi_host/host26 (scsi_host)


What I did as well is to load the gOS LiveCD and boot it and check if those USB devices are able to detect and they were detected.

I copy the following dmesg log:

$ dmesg

[ 367.509356] usb 5-8: new high speed USB device using ehci_hcd and address 6
[ 367.642688] usb 5-8: configuration #1 chosen from 1 choice
[ 367.643577] scsi4 : SCSI emulation for USB Mass Storage devices
[ 367.643712] usb-storage: device found at 6
[ 367.643718] usb-storage: waiting for device to settle before scanning
[ 369.003683] usb-storage: device scan complete
[ 369.004301] scsi 4:0:0:0: Direct-Access WD 3200BEV External 1.75 PQ: 0 ANSI: 4
[ 369.006017] sd 4:0:0:0: [sdd] 625142448 512-byte hardware sectors (320073 MB)
[ 369.006637] sd 4:0:0:0: [sdd] Write Protect is off
[ 369.006644] sd 4:0:0:0: [sdd] Mode Sense: 23 00 00 00
[ 369.006649] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[ 369.007759] sd 4:0:0:0: [sdd] 625142448 512-byte hardware sectors (320073 MB)
[ 369.008381] sd 4:0:0:0: [sdd] Write Protect is off
[ 369.008387] sd 4:0:0:0: [sdd] Mode Sense: 23 00 00 00
[ 369.008392] sd 4:0:0:0: [sdd] Assuming drive cache: write through
[ 369.008399] sdd: sdd1
[ 369.048789] sd 4:0:0:0: [sdd] Attached SCSI disk
[ 369.048840] sd 4:0:0:0: Attached scsi generic sg4 type 0

And notice that when doing $ lsmod | grep -i 'usb' the module usb-storage is loaded.

When I boot up my gOS installed on my laptop, it doesn't have usb-storage module loaded.

I tried the below command but it doesn't help. Also try to put -r option on it.

$ sudo modprobe usb-storage

Tried insmod as well with its full path but it doesn't help.
My USB Modem is able to detect, my CD/DVD rom works fine.
This USB Storage only is having a problem.

2.6.24-19 is the kernel of my gOS 3.0

I tried the following as well but doesn't help.

$ sudo modprobe -r ehci_hcd
$ sudo modprobe -r uhci_hcd


Please help.



Thanks.
- Von Vea
 
Old 08-02-2009, 03:59 PM   #2
andywebsdale
Member
 
Registered: Jan 2005
Location: Lewisham,London,UK
Distribution: Debian Wheezy AMD64
Posts: 87
Blog Entries: 2

Rep: Reputation: 23
Re: gOS did not recognize my usb storage after it gets hang

try googling for
"usb-storage: waiting for device to settle before scanning"
There's a reply to a similar problem on this site(http://www.linuxquestions.org/questi...ce-usb-323912/) which says:

"What are the permissions of the device?

/dev/bus/usb/###/###

I just chmod'ed my Creative device to 7777 when gnomad2 barfed, and now it works fine."

It seems as if your devices are still mounted as far as usb-storage is concerned, because of your hard lockup perhaps - worth a try

Last edited by andywebsdale; 08-02-2009 at 04:07 PM.
 
  


Reply



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
gOS 3.1 Gadgets does not have write permission for usb pen drives epicmono Linux - Newbie 0 01-17-2009 12:38 AM
LXer: Running gOS 3 Beta from USB stick LXer Syndicated Linux News 0 08-31-2008 06:11 PM
LXer: gOS Announces gOS 3 Gadgets-the Newest Version of its Linux OS LXer Syndicated Linux News 0 08-07-2008 12:50 AM
RHEL 4 does not recognize file permissions from w3k storage server cifs share rockfx01 Linux - Server 2 07-14-2008 09:22 AM
Running gOS from USB boot error FooAtari Linux - Distributions 1 06-12-2008 09:49 AM

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

All times are GMT -5. The time now is 04:18 AM.

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