LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2009, 09:26 PM   #16
worm5252
Member
 
Registered: Oct 2004
Location: Atlanta
Distribution: CentOS, RHEL, HP-UX, OS X
Posts: 567

Rep: Reputation: 57

Why don't you just plug in the drive and then tail the dmesg. Like this
Code:
dmesg | tail
 
Old 12-21-2009, 11:47 PM   #17
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by linuxlover.chaitanya View Post
Its not showing what the device is recognized as. Post the output without grep.
It should show something like this:

Code:
[28727.437375] sd 4:0:0:0: Attached scsi generic sg1 type 0
[28727.438886] sd 4:0:0:0: [sdb] 15679488 512-byte logical blocks: (8.02 GB/7.47 GiB)
[28727.439489] sd 4:0:0:0: [sdb] Write Protect is off
[28727.439493] sd 4:0:0:0: [sdb] Mode Sense: 23 00 00 00
[28727.439496] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[28727.444246] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[28727.444254]  sdb: sdb1
[28727.604384] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[28727.604390] sd 4:0:0:0: [sdb] Attached SCSI removable disk

Please find attached the dmesg output .
Attached Files
File Type: txt log_dmesg.txt (12.4 KB, 9 views)
 
Old 12-21-2009, 11:56 PM   #18
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by evo2 View Post
I wonder if you have the needed kernel moudles. Can you please post the output of

Code:
 lsmod | grep -E 'usb|scsi'
Evo2.

Please find below the requested output :
[root@mss-0 ~]# lsmod |grep -E 'usb|scsi'
xpp_usb 21064 0
xpp 135748 1 xpp_usb
wcusb 18176 0
zaptel 190980 11 ztdummy,xpp,wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,wct4xxp,tor2
scsi_mod 134605 2 libata,sd_mod
 
Old 12-22-2009, 12:09 AM   #19
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by worm5252 View Post
Why don't you just plug in the drive and then tail the dmesg. Like this
Code:
dmesg | tail

Please find below the output of "dmesg |tail" :
[root@mss-0 ~]# dmesg |tail
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
eth0: link up, 100Mbps, full-duplex
eth0: no IPv6 routers present
 
Old 12-22-2009, 12:24 AM   #20
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Quote:
Originally Posted by hadimotamedi View Post
Please find below the requested output :
[root@mss-0 ~]# lsmod |grep -E 'usb|scsi'
xpp_usb 21064 0
xpp 135748 1 xpp_usb
wcusb 18176 0
zaptel 190980 11 ztdummy,xpp,wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wcte12xp,wct4xxp,tor2
scsi_mod 134605 2 libata,sd_mod
You seem to be missing the required drivers. Please run the following
command to add the usb_storage module into the running kernel:
Code:
modprobe usb_storage
Now try inserting your usb stick again, and then look at the output of dmesg.

HTH,

Evo2.
 
Old 12-22-2009, 01:08 AM   #21
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by evo2 View Post
You seem to be missing the required drivers. Please run the following
command to add the usb_storage module into the running kernel:
Code:
modprobe usb_storage
Now try inserting your usb stick again, and then look at the output of dmesg.

HTH,

Evo2.

Please find attached the dmesg output after issuing the "modprobe usb_storage" .
Attached Files
File Type: txt log_usb.txt (12.5 KB, 8 views)
 
Old 12-22-2009, 01:32 AM   #22
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Quote:
Originally Posted by hadimotamedi View Post
Please find attached the dmesg output after issuing the "modprobe usb_storage" .
Did you reinsert the USB thumb driver after runing modprobe and before running dmesg?

Evo2.
 
Old 12-22-2009, 01:57 AM   #23
hadimotamedi
Member
 
Registered: Aug 2009
Posts: 228

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by evo2 View Post
Did you reinsert the USB thumb driver after runing modprobe and before running dmesg?

Evo2.


Yes , I did .
 
Old 12-22-2009, 08:31 PM   #24
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,726

Rep: Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706Reputation: 1706
Quote:
Originally Posted by hadimotamedi View Post
Yes , I did .
Hmm, this is a little strange.

Can you please post the output of
Code:
cat /proc/bus/usb/devices
Cheers,

Evo2.
 
  


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
Inquiry:How to write *.iso image files onto USB memory stick hadimotamedi Linux - Newbie 4 09-06-2009 04:49 AM
getting the correct USB device for attached mobile phone drkstr Linux - Software 14 02-19-2008 04:14 AM
USB HD being assigned different device names neddis Linux - Hardware 1 11-11-2007 11:22 AM
dm does not load if usb device attached grey man Mandriva 1 03-17-2006 10:48 AM
Fuji M603, SCSI device not assigned via USB anotherlimey Linux - Laptop and Netbook 5 03-14-2004 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:34 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