LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 09-17-2006, 03:02 PM   #1
ebenh
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Rep: Reputation: 0
Help mounting USB flash drive ... When plugged in I dont have /dev/sda1 device ...


I am trying to get a usb flash drive working on my system.

I am running Ubuntu on a Thinkpad t42p with the 2.6.25 kernel.

I am sure usb support is working on my system because I've used other devices. But when I plug in my USB flash drive I dont get a "/dev/sda1" device

tail -f /var/log/messages says:

Quote:
Sep 17 15:54:12 localhost kernel: [17292910.564000] usb 4-4: new high
speed USB device using ehci_hcd and address 29
Sep 17 15:54:19 localhost kernel: [17292916.864000] usb 4-4: new high
speed USB device using ehci_hcd and address 53
Sep 17 15:54:21 localhost kernel: [17292919.384000] usb 4-4: new high
speed USB device using ehci_hcd and address 60
Sep 17 15:54:23 localhost kernel: [17292920.896000] usb 4-4: new high
speed USB device using ehci_hcd and address 65
Sep 17 15:54:23 localhost kernel: [17292921.400000] usb 4-4: new high
speed USB device using ehci_hcd and address 66
dmesg reports:

Quote:
[17292976.596000] ehci_hcd 0000:00:1d.7: port 4 reset error -110
[17292976.596000] hub 4-0:1.0: hub_port_status failed (err = -32)
[17292983.896000] usb 4-4: new high speed USB device using ehci_hcd and
address 34
[17292984.652000] usb 4-4: new high speed USB device using ehci_hcd and
address 36
[17292987.172000] usb 4-4: new high speed USB device using ehci_hcd and
address 45
[17292987.676000] usb 4-4: new high speed USB device using ehci_hcd and
address 46
[17292989.692000] usb 4-4: new high speed USB device using ehci_hcd and
address 53
[17292990.952000] usb 4-4: new high speed USB device using ehci_hcd and
address 57
[17292996.244000] usb 4-4: new high speed USB device using ehci_hcd and
lsusb -v
Quote:
Bus 002 Device 001: ID 0000:0000
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 9 Hub
bDeviceSubClass 0 Unused
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0000
idProduct 0x0000
bcdDevice 2.06
iManufacturer 3
iProduct 2
iSerial 1
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 Unused
bInterfaceProtocol 0
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrup
Synch Type None
Usage Type Data
wMaxPacketSize 0x0002 1x 2 byt
bInterval 255
can't get hub descriptor: Operation not per
cannot read device status, Operation not pe
Note the errors at the top of the dmesg output.

Thanks.
 
Old 09-17-2006, 08:02 PM   #2
w3bd3vil
Senior Member
 
Registered: Jun 2006
Location: Hyderabad, India
Distribution: Fedora
Posts: 1,189

Rep: Reputation: 49
what is the output of mount?
 
Old 09-17-2006, 09:55 PM   #3
ebenh
LQ Newbie
 
Registered: Aug 2004
Posts: 14

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by w3bd3vil
what is the output of mount?
the mount command without any parameters:

Quote:
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-26-386/volatile type tmpfs (rw)
/dev/hda1 on /media/hda1 type ntfs (rw,nls=utf8,umask=007,gid=46)
ebenezer@thinkpad:~$ mount
/dev/hda2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
/sys on /sys type sysfs (rw)
varrun on /var/run type tmpfs (rw)
varlock on /var/lock type tmpfs (rw)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
devshm on /dev/shm type tmpfs (rw)
lrm on /lib/modules/2.6.15-26-386/volatile type tmpfs (rw)
/dev/hda1 on /media/hda1 type ntfs (rw,nls=utf8,umask=007,gid=46)
Of course if I try to mount /dev/sda0 or /dev/sda1 it says:

Quote:
mount: can't find /dev/sda1 in /etc/fstab or /etc/mtab
because thoes devices dont appear in /dev when I plug in the flash drive.
 
  


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 pen drive not mounting. /dev/sda1 not present! hamish Linux - Hardware 9 01-11-2010 08:25 PM
USB drive... /dev/sda1 doesn't show unless I try mounting /dev/sda as vfat finite Linux - Hardware 8 03-10-2009 12:52 AM
USB Pen Drive, /dev/sda1 is not a valid block device Aeiri Linux - Hardware 3 08-13-2004 10:32 AM
USB - /dev/sda1 is not a block device rstebbins Linux - Hardware 4 08-14-2003 05:16 AM
USB Compact flash card reader hotplug creates /dev/sda but no /dev/sda1 -Mandrake 9.1 bibinono Linux - Hardware 2 08-11-2003 09:37 AM


All times are GMT -5. The time now is 11:22 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration