Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: usd pendrive, does it works?

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    6

    usd pendrive, does it works?

    hi there, i bought a usb pen drive and when I run knoppix in my laptop it works fine. A /mnt/sda1 directory is created automatically end everything is fine.

    But when i tried to use it in my PC it doesn't work.

    i read dmesg :

    usb.c registered new driver usb-storage
    SCSI1: SCSI emulation for usb mass storage devices
    Vendor: Name:
    Type: Printer
    usb m mass storage
    Warning : USB mass storage data integrity is not assured
    USB Mass Storage device found at 3
    USB support registered

    but ther isn't /mnt/sda1 and i cant read /dev/sda1 or anything

    help please

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Add this to your fstab and it just might work:

    /dev/sda1 /mnt/PenDrive vfat noauto,users,sync,rw 0 0

    -OR-

    /dev/sda1 /mnt/PenDrive usbdevfs noauto,users,sync,rw 0 0

    You will have to mount the drive like this:

    mount /mnt/PenDrive

    Then just cd to that directory. Hopefully that does it.
    Post back if it doesn't.

  3. #3
    Junior Member
    Join Date
    Mar 2003
    Posts
    6
    i doesn't work.

    When I try #mount /mnt/pen i get:
    modprobe: cannot fin module block-major-8

    and /mnt/pen doesn't get mounted. I also tried #mount -t auto /dev/sda1 /mnt/pen and got the same result.

    I've tried loading kernel modules: sg (for SCSI generic control) and some usb related, like usb-ohci and usb-uhci (which purpose, beeing a clueless linux newbie with a poor understanding of english, don't really grasp). usb-ohci fails to load, while in my laptop, it gets loaded automatically at boot time.

    I can get a full refund for this pen drive, should i take it back to the store or should I wait and continue trying?

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Sorry I think I forgot to tell you to make a directory first. DOH! You have to have a mount point.

    mkdir /mnt/pen

    Then add this to your fstab:

    /dev/sda1 /mnt/pen auto defaults,noauto,users,sync,rw 0 0

    The first mention of auto should cover all file systems, that way you don't have to specify fat32, vfat, etc. But you can certainly try different file system types.

    Trying it this way again too.
    mount -t auto /dev/sda1 /mnt/pen

    Is your USB hub 1.10 or 2.0? This will have a bearing as to which driver needs to load.

    You could also post the results of

    sg_scan <--this will list all SCSI devices

    &

    sg_map<--this will determine the real identity of the SCSI devices.

    USB mass storage devices are seen as just another SCSI drive. So are CD-R's. If you have a cd burner in your machine then your pen drive wouldn't be /dev/sda it would have to be at least /dev/sdb.

    Post this too:

    lsmod

    I can get a full refund for this pen drive, should i take it back to the store or should I wait and continue trying?
    Don't loose the chance to get a refund on my account! How long can you keep it before it has to be returned?

  5. #5
    Junior Member
    Join Date
    Mar 2003
    Posts
    6
    Hey, thanks for your interest in helping me!!

    I can get a full refund until March, 25th. Anyway this pendrive was so cheap I doubt i take the pain to go there for my money back

    Sure, I mkdir to create a mount point /mnt/pen, and tried with 'auto'. I just been home where i tried #mount -t usbfs /dev/sda1 /mount/pen . Funny the pendrive gets mounted! but instead of showing actual content (some jpgs and pngs) I see a couple of text files 'drivers' and 'devices' containing misc. manufacturer and device data ¿? There's also a 0001 folder with four files in it named 0001 to 0004 with indescipherable content (at least i cannot decipher it).

    I'm at work now and will be travelling out until March, 24th so i cannot post lsmod results or anyother thing until then, but stubborn as i am I won't stop until i get it workin.

    Too funny i've brough my knoopix CD to my office , and tried it in various PCs. The pen drive works everywhere but in my home PC, always using the same knoppix CD.

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    If your drive is mounted then in /proc/bus/usb you should see two files 'devices' & 'drivers' and they should not be empty.

    #mount -t usbfs /dev/sda1 /mount/pen
    Have you tried changing the file system you are trying to mount-just a guess. That is:

    #mount -t vfat /dev/sda1 /mount/pen
    It probably wouldn't mount if you told it the wrong file type eh?
    I've never had a pen drive but it really doesn't matter so much what it is as long as you are using the USB mass-storage driver.

    I've tried loading kernel modules: sg (for SCSI generic control) and some usb related, like usb-ohci and usb-uhci (which purpose, beeing a clueless linux newbie with a poor understanding of english, don't really grasp). usb-ohci fails to load, while in my laptop, it gets loaded automatically at boot time.
    The usb-ohci is for USB 1.1 and the usb-uhci is for USB 2.0. When you look at dmesg look at how it tries to load different USB drivers but will find 'no device uses' said driver. It should successfully load the mass storage driver. lsmod will tell you which drivers loaded and if they are in use. You should ALWAYS see usb-core (nothing works without it)and then either, 'ohci' or 'uhci' and the mass-storage driver. Make sense?

    So what is your PC - does it havs USB 2.0? IF so it will only need the usb-uhci.
    Does it have a cd burner? If it does you will need to mount the next scsi device /dev/sdb1 That is where sg_scan comes in. It will tell you what scsi devices you have.

    Good luck.

    a clueless linux newbie with a poor understanding of english
    English seems ok to me.

  7. #7
    Junior Member
    Join Date
    Mar 2003
    Posts
    6
    ok. Now about my system. It's and old P3 500 MHz with two hard drives (hda & hdb) a DVD and a CDRW unit. I don't think it has USB 2, and i wasn't even sure it had USB at all until I checked :)

    I thought i have posted it already but it doesn't hurt to insist. When i try to mount using vfat or auto filesystem, i get:

    modprobe: can't locate module block-major-8
    mount: /dev/sda1 isn't a valid device
    (in fact it says : "/dev/sda1 no es un dispositivo válido", so it may differ slightly in english)

    definitely i have usb-storage module loaded. I don't know for sure but i think i tried to mount /dev/sda1, sda2, sda3 ... and also sdb1, sdc1 sdd1... just in case , my PC has two USB slots and i didn't know how the system would name each one ^^


    ok.. counting the minutes to go for my holiday week, so I won't post for a while. I know you'll be there when i get back looking for a little more of help. Thank you very much.

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Brite
    hard drives (hda & hdb) a DVD and a CDRW unit.
    hard drives
    -hda
    -hdb

    DVD
    -hdc

    CDRW
    -sda

    USB PEN DRIVE
    -sdb

    Linux sees CDRW as a SCSI device (actually it runs under emulation). At any rate it would be your first SCSI drive so your USB device would be sdb.

    Have a good holiday.

  9. #9
    Junior Member registered user
    Join Date
    Mar 2003
    Location
    USA
    Posts
    21

    rickenbacherus, please help!

    I have the exact same problem with my SOYO Cigar Thumb drive, it's a 64MB piece. My system picks up the drive but I don't think it loads the driver for it. If I cat /proc/bus/usb/drivers/0.. or /1.., it shows that the drive is indeed detected.. but system does not translate from there to a "sda" or "sdb" device. How do I go about manually mounting or translating from there to a "sda" or "sdb" device?

    I have tried 'echo "add single-device 0 0 1 0" > /proc/scsi/scsi' to no avail. Please advise on correct usage. Normally if driver is loaded for a device, specifically an emulated device, you can 'cat /proc/scsi/scsi' and it would list all devices loaded, including any cd-rom drives.

  10. #10
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    what does

    lsmod

    tell you?

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 3
    Last Post: 01-21-2005, 02:17 PM
  2. WOW - Everything works EXCEPT NO sounds? Help please
    By tigerb in forum General Support
    Replies: 12
    Last Post: 12-21-2004, 02:10 AM
  3. Cant Find KNOPPIX filesystem - Booting from USB PenDrive
    By piper in forum Customising & Remastering
    Replies: 2
    Last Post: 11-16-2004, 04:23 PM
  4. usb pendrive
    By Massimo in forum General Support
    Replies: 10
    Last Post: 08-19-2004, 03:06 PM
  5. v3.3 works on...
    By BL in forum Laptops
    Replies: 0
    Last Post: 02-08-2004, 02:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G picture

SanDisk 512GB Ultra Drive Dual Go USB Type-C Flash Drive Green SDDDC3-512G-G46G

$49.99



512GB  USB Flash Drive External Storage Memory Stick For iPhone iPad Android picture

512GB USB Flash Drive External Storage Memory Stick For iPhone iPad Android

$17.59



SanDisk 128GB Ultra Fit USB 3.2 Flash Drive, Black - SDCZ430-128G-G46 picture

SanDisk 128GB Ultra Fit USB 3.2 Flash Drive, Black - SDCZ430-128G-G46

$11.99



SanDisk 512GB Ultra Luxe USB 3.2 Gen 1 Flash Drive - SDCZ74-512G-G46 picture

SanDisk 512GB Ultra Luxe USB 3.2 Gen 1 Flash Drive - SDCZ74-512G-G46

$35.99



Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack picture

Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack

$4.99



Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof  picture

Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof

$8.37



Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory picture

Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory

$24.99



2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1 picture

2TB USB 3.0 Flash Drive Memory Photo Stick for iPhone Android iPad Type C 3 IN1

$13.00



1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot picture

1TB/2TB USB 3.0 Flash Drive Thumb U Disk Memory Stick Pen PC Laptop Storage lot

$388.39



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$399.99