LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Help mounting USB flash drive ... When plugged in I dont have /dev/sda1 device ... (http://www.linuxquestions.org/questions/ubuntu-63/help-mounting-usb-flash-drive-when-plugged-in-i-dont-have-dev-sda1-device-484415/)

ebenh 09-17-2006 03:02 PM

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.

w3bd3vil 09-17-2006 08:02 PM

what is the output of mount?

ebenh 09-17-2006 09:55 PM

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.


All times are GMT -5. The time now is 07:29 PM.