You are not logged in.

#1 2007-05-08 21:39:43

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

USB stick problem - /dev/sdxy missing

Prior to using the PATA hook, I could mount my usb stick using /dev/sda1 , the other disks being /dev/hda, b & c

Now, I'm confused, since despite reading other threads, I can't find any reference to my problem.

After connecting the stick, lsusb gives:

Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 001: ID 0000:0000 
Bus 001 Device 004: ID 067b:2515 Prolific Technology, Inc. Flash Disk Embedded Hub
Bus 001 Device 005: ID 067b:2517 Prolific Technology, Inc. Flash Disk Mass Storage Device
Bus 001 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000

dmesg |grep usb gives:

usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
usb usb1: configuration #1 chosen from 1 choice
usb usb2: configuration #1 chosen from 1 choice
usb usb3: configuration #1 chosen from 1 choice
usb usb4: configuration #1 chosen from 1 choice
usb 1-2: new high speed USB device using ehci_hcd and address 2
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2.1: new high speed USB device using ehci_hcd and address 3
usb 1-2.1: configuration #1 chosen from 1 choice
usb 1-2: USB disconnect, address 2
usb 1-2.1: USB disconnect, address 3
usb 1-2: new high speed USB device using ehci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2.1: new high speed USB device using ehci_hcd and address 5
usb 1-2.1: configuration #1 chosen from 1 choice

ls /dev/sd* gives

/dev/sda  /dev/sda1  /dev/sdb  /dev/sdb1  /dev/sdc  /dev/sdc1  /dev/sdc2  /dev/sdc3  /dev/sdc4

and fdisk -l gives:

Disk /dev/sda: 3243 MB, 3243663360 bytes
128 heads, 63 sectors/track, 785 cylinders
Units = cylinders of 8064 * 512 = 4128768 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         784     3161056+   b  W95 FAT32

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       19457   156288321   83  Linux

Disk /dev/sdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1          12       96358+  83  Linux
/dev/sdc2              13         255     1951897+  82  Linux swap / Solaris
/dev/sdc3             256        3051    22458870   83  Linux
/dev/sdc4            3052       19457   131781195   83  Linux

ie no reference to the connected flash stick.

The only clue is that ls /dev/usb* gives:

/dev/usbdev1.1_ep00  /dev/usbdev1.5_ep00  /dev/usbdev2.1_ep81  /dev/usbdev4.1_ep81
/dev/usbdev1.1_ep81  /dev/usbdev1.5_ep01  /dev/usbdev3.1_ep00
/dev/usbdev1.4_ep00  /dev/usbdev1.5_ep82  /dev/usbdev3.1_ep81
/dev/usbdev1.4_ep81  /dev/usbdev2.1_ep00  /dev/usbdev4.1_ep00

But mounting any of these to /mnt/xxx results in a request for specifying the filetype, which never happened previously as the partitions are ext2.  Plus thats an awful lot of trial and error to try and mount!

Any ideas how to mount this 2 partition flash stick?

Offline

#2 2007-05-10 04:31:34

loserveg
Member
From: Pittsburgh, Pa
Registered: 2006-12-22
Posts: 45

Re: USB stick problem - /dev/sdxy missing

shouldnt it just be mount /dev/sda1 /mnt/xxx?

you can check dmesg to see what its assigning it to upon plug in

Offline

#3 2007-05-10 17:28:02

Cotton
Member
From: Cornwall, UK
Registered: 2004-09-17
Posts: 568

Re: USB stick problem - /dev/sdxy missing

Oh well its working now after a reboot as /dev/sdd 1 & 2 (which is what I expected originally). 

Weird.

Offline

Board footer

Powered by FluxBB