LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-12-2007, 11:20 PM   #1
yzt
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Rep: Reputation: 0
/dev/sda mounting problem


Hi Guys,

after compiling into 2.6.22 kernel (slackware 11 was the base) I found mounting USB stick is really got messed up. just checked dmesg msg it shows that all the drivers loading perfectly (usb_storage, scsi drivers etc..) but no mounting pointing available such as NO /dev/sda or /dev/usb
I searched the /proc/bus/usb/devices it shows everything is fine

dmesg is

[72257.567785] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x100
[72258.861894] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[72258.861921] ehci_hcd 0000:00:03.3: GetStatus port 5 status 001803 POWER sig=j CSC CONNECT
[72258.861934] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[72258.981057] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
[72259.034675] ehci_hcd 0000:00:03.3: port 5 high speed
[72259.034687] ehci_hcd 0000:00:03.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT
[72259.087716] usb 1-5: new high speed USB device using ehci_hcd and address 11
[72259.141395] ehci_hcd 0000:00:03.3: port 5 high speed
[72259.141406] ehci_hcd 0000:00:03.3: GetStatus port 5 status 001005 POWER sig=se0 PE CONNECT
[72259.212390] usb 1-5: default language 0x0409
[72259.213894] usb 1-5: new device strings: Mfr=1, Product=2, SerialNumber=3
[72259.213901] usb 1-5: Product: DataTraveler 2.0
[72259.213904] usb 1-5: Manufacturer: Kingston
[72259.213906] usb 1-5: SerialNumber: 5B7519AC7AC7
[72259.213950] PM: Adding info for usb:1-5
[72259.213976] usb 1-5: uevent
[72259.214011] usb 1-5: usb_probe_device
[72259.214061] PM: Adding info for No Bus:usbdev1.11_ep00
[72259.214086] usb 1-5: configuration #1 chosen from 1 choice
[72259.214262] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
[72259.214271] PM: Adding info for usb:1-5:1.0
[72259.214282] usb 1-5:1.0: uevent
[72259.214287] usb 1-5:1.0: uevent
[72259.214345] ub 1-5:1.0: usb_probe_interface
[72259.214353] ub 1-5:1.0: usb_probe_interface - got id
[72259.214382] usb-storage 1-5:1.0: usb_probe_interface
[72259.214400] usb-storage 1-5:1.0: usb_probe_interface - got id
[72259.214404] usb-storage: USB Mass Storage device detected
[72259.214508] usb-storage: -- associate_dev
[72259.214513] usb-storage: Vendor: 0x13fe, Product: 0x1d00, Revision: 0x0100
[72259.214516] usb-storage: Interface Subclass: 0x06, Protocol: 0x50
[72259.214522] usb-storage: Transport: Bulk
[72259.214526] usb-storage: Protocol: Transparent SCSI
[72259.214545] scsi6 : SCSI emulation for USB Mass Storage devices
[72259.214554] PM: Adding info for No Bus:host6
[72259.214606] usb-storage: *** thread sleeping.
[72259.214640] PM: Adding info for No Bus:usbdev1.11_ep81
[72259.214669] PM: Adding info for No Bus:usbdev1.11_ep02
[72259.214693] drivers/usb/core/inode.c: creating file '011'
[72259.214711] usb-storage: device found at 11
[72259.214714] usb-storage: waiting for device to settle before scanning


appreciate you guys help

Thanks
yzt
 
Old 09-13-2007, 01:11 AM   #2
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
Before you plug in to the USB port, open a console and type (as root)
Code:

Code:
tail -s 3 -f /var/log/messages
Once you've plugged in, the output in console will tell you where it is configured (eg sda1)
 
Old 09-13-2007, 01:19 AM   #3
yzt
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Original Poster
Rep: Reputation: 0
/dev/sda mounting problem

Sep 13 10:46:05 innovator kernel: [ 1390.451793] usb 1-5: new high speed USB device using ehci_hcd and address 4
Sep 13 10:46:05 innovator kernel: [ 1390.577965] usb 1-5: Product: DataTraveler 2.0
Sep 13 10:46:05 innovator kernel: [ 1390.577968] usb 1-5: Manufacturer: Kingston
Sep 13 10:46:05 innovator kernel: [ 1390.577971] usb 1-5: SerialNumber: 5B7519AC7AC7
Sep 13 10:46:05 innovator kernel: [ 1390.578146] usb 1-5: configuration #1 chosen from 1 choice
Sep 13 10:46:05 innovator kernel: [ 1390.580034] scsi1 : SCSI emulation for USB Mass Storage devices
Sep 13 10:46:10 innovator kernel: [ 1395.579902] scsi 1:0:0:0: Direct-Access Kingston DataTraveler 2.0 PMAP PQ: 0 ANSI: 0 CCS
Sep 13 10:46:10 innovator kernel: [ 1395.581891] scsi 1:0:0:0: Attached scsi generic sg0 type 0


as indicate it was sg0 but I can not mount it error was

mount /dev/sg0 /mnt/sda1
mount: /dev/sg0 is not a block device
 
Old 09-13-2007, 01:42 AM   #4
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
Unplug the device, then plug it in again, then look in /dev with your file manager and see if you have any sda* or sdb* device listed. If yes, mount it
 
Old 09-13-2007, 01:50 AM   #5
yzt
LQ Newbie
 
Registered: Sep 2007
Posts: 3

Original Poster
Rep: Reputation: 0
/dev/sda mounting problem

only change I see in the dev is 1-3 and sg0

I wonder whether I have to add some rules to /etc/udev/rules.d

 
  


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 drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 01:52 AM
Install lilo on external drive (/dev/sda), then boot as INTERNAL (/dev/hda)? slackware-elf Slackware 3 08-18-2007 05:51 PM
Mounting /dev/sda in FC5 mickeyboa Fedora - Installation 10 05-21-2006 02:49 PM
Booting, and Mounting /dev/sda and 2.6.14 trouble Linux_n00b_57 Slackware 16 04-23-2006 12:18 PM
Sandisk USB card Reader not linking /dev/sg0 to /dev/sda acidraven Linux - Hardware 1 06-19-2004 04:56 PM


All times are GMT -5. The time now is 09:48 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration