LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   USB flash drive problem (https://www.linuxquestions.org/questions/mandriva-30/usb-flash-drive-problem-149565/)

Kensai 02-23-2004 11:17 AM

USB flash drive problem
 
Ok I plug my usb flahdrive to my mandrake but I just don't find where to open it where to see it's content. Any help??? sorry for the stupid question.
-Thanks

robot5x 02-23-2004 11:22 AM

I'm just guessing, but assuming you have the correct modules loaded, you need to create a mountpoint...
mkdir /mnt/usb (or whatever)
then mount it to your new mountpoint
mount -t vfat /dev/sda1 /mnt/usb

do lsmod and make sure your usb modules are loaded.

Kensai 02-23-2004 11:31 AM

Ok I have this:
usblp 12288 0
uhci-hcd 29584 0
usbcore 99324 5 usblp,ehci-hcd,uhci-hcd

robot5x 02-23-2004 12:31 PM

OK that's a good start - my usb devices are mass storage devices so I also load usb-storage module.
Anyway, plug your device in and see if it's registered in the kernel -
cat /proc/bus/usb/devices
your device should be listed there under one of the controllers (depending on what protocol it uses). If it's not there, try doing
modprobe usb-storage
then try again.
If it is there, you need to create a mount point, and then mount it as I explained before.

Kensai 02-23-2004 01:34 PM

Ok this is what I've got with my usb flash drive plugged and yes I've done modprobe usb-storage:
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 6
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.2-0.rc3.1mdk ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=0000:00:10.3
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=256ms

T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.2-0.rc3.1mdk uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.2
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.2-0.rc3.1mdk uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.1
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 2.06
S: Manufacturer=Linux 2.6.2-0.rc3.1mdk uhci_hcd
S: Product=UHCI Host Controller
S: SerialNumber=0000:00:10.0
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms

colnago 02-23-2004 01:48 PM

In 10 (at least my beta 2 upgraded from cooker) everything is set up for me. I just navigate to /mnt/usb and it is there. Check out your /etc/fstab for the location on your machine.

If it is not set up for you, then you can make a directory:

mkdir /mnt/usb
mount /dev/sda /mnt/usb

if it complains about the file system, then try:

mount /dev/sda1 /mnt/usb

A while ago, the cooker created a desktop link when you plugged in the device, but I think that this was tured off since it was impossible to subsequentially remove the link. Maybe you need to turn on the service again, it depends upon your build.

Kensai 02-23-2004 02:05 PM

Ok I've created the directory /mnt/usb but then when I type: mount /dev/sda1 /mnt/usb it says: mount: special device /dev/sda does not exist


All times are GMT -5. The time now is 12:17 AM.