Results 1 to 8 of 8

Thread: USB stick offer

  1. #1
    New Member Reputation: 0
    Join Date
    Feb 2012
    Posts
    2
    Rep
    0

    USB stick offer

    I've just got a free USB stick from PCS for filling out a review online. However ubuntu 11.10 won't mount it rendering it useless to me.

    Anyone got any ideas?

    dmesg output:
    [13393.948119] usb 3-1: new high speed USB device number 5 using ehci_hcd
    [13394.194482] scsi11 : usb-storage 3-1:1.0
    [13395.195021] scsi 11:0:0:0: Direct-Access Generic Flash Disk 8.00 PQ: 0 ANSI: 2
    [13395.357341] sd 11:0:0:0: Attached scsi generic sg6 type 0
    [13395.359043] sd 11:0:0:0: [sdf] 8376320 512-byte logical blocks: (4.28 GB/3.99 GiB)
    [13395.359714] sd 11:0:0:0: [sdf] Write Protect is off
    [13395.359723] sd 11:0:0:0: [sdf] Mode Sense: 03 00 00 00
    [13395.360213] sd 11:0:0:0: [sdf] No Caching mode page present
    [13395.360220] sd 11:0:0:0: [sdf] Assuming drive cache: write through
    [13395.363635] sd 11:0:0:0: [sdf] No Caching mode page present
    [13395.363643] sd 11:0:0:0: [sdf] Assuming drive cache: write through
    [13395.434860] sdf: sdf1
    [13395.437205] sd 11:0:0:0: [sdf] No Caching mode page present
    [13395.437214] sd 11:0:0:0: [sdf] Assuming drive cache: write through
    [13395.437221] sd 11:0:0:0: [sdf] Attached SCSI removable disk

    lsusb
    Bus 003 Device 005: ID 0011:7788

    Cheers

  2. #2
    Bright Spark Reputation: 63
    Join Date
    May 2011
    Posts
    452
    Rep
    63
    if you make a folder that you want to mount to, open a command and try

    sudo mount -t vfat /dev/sdf1 "path to folder" -o uid=1000,gid=1000,utf8,dmask=027,fmask=137

    edit - I used the wrong device name
    Last edited by pr1s0ner; 08-02-12 at 13:12.

  3. #3
    Bright Spark Reputation: 573
    Join Date
    Feb 2011
    Location
    Leeds, UK
    Posts
    397
    Rep
    573
    Is there any partition created on that stick? Have you got any other computer that you can try USB with? (maybe you are unlucky and USB is dead on arival

    Also, stick USB into your PC and run following command: sudo fdisk -l
    let us know what is the output...

    Not sure about the command from pr1s0ner, but that should say "/dev/sdf1" not "/dev/sdb1", correct? To elaborate more, this should do:
    sudo mkdir /tmp/usb
    sudo mount /dev/sdf1 /tmp/usb

    Assuming your USB stick is getting recognized as /dev/sdf . But that you should find out from running: sudo fdisk -l
    Last edited by mishra; 08-02-12 at 13:12.
    AMD Phenom II X4 955 @3.9Ghz | Noctua NH-D14 | Gigabyte GA-870A-UD3 | 4GB DDR3 HyperX | XFX HD7950 | CoolerMaster Haf 912 Plus | SanDisk Extreme SSD, Momentus XT | Noctua fans all over the place

    <--- click little star if I helped you, help me to reach my goal of more rep than posts!

  4. #4
    Member Reputation: 1
    Join Date
    Jan 2012
    Location
    Southport
    Posts
    33
    Rep
    1
    Wrote a review but didn't get my stick yet???

  5. #5
    Bright Spark Reputation: 63
    Join Date
    May 2011
    Posts
    452
    Rep
    63
    ta mishra, I was writing with device names for my laptop

  6. #6
    New Member Reputation: 0
    Join Date
    Feb 2012
    Posts
    2
    Rep
    0
    Thanks for the quick replies. Running fdisk -l or gparted hangs forever, output in dmesg below.
    [356845.340654] sd 8:0:0:0: [sdc] Unhandled error code
    [356845.340661] sd 8:0:0:0: [sdc] Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
    [356845.340668] sd 8:0:0:0: [sdc] CDB: Read(10): 28 00 00 7f cf f8 00 00 01 00
    [356845.340686] end_request: I/O error, dev sdc, sector 8376312
    [356845.340694] Buffer I/O error on device sdc, logical block 1047039
    [356876.100036] usb 1-7: reset high speed USB device using ehci_hcd and address 11
    According to a post on the net it appears that the number of blocks being reported is incorrect. The drive is 4Gb but 4.28Gb are being reported:
    sd 8:0:0:0: [sdc] 8376320 512-byte logical blocks: (4.28 GB/3.99 GiB)
    The post is here: http://diegovicentini.blogspot.com/2...em-solved.html
    Unfortunately I need a windows PC to change it back. Will report back if I manage to fix it.

  7. #7
    Bright Spark Reputation: 573
    Join Date
    Feb 2011
    Location
    Leeds, UK
    Posts
    397
    Rep
    573
    Look at the guide:
    here or here

    ... but if fdisk hangs, you may not be that lucky with that.

    Please note: Before you do any of the above steps MAKE SURE you are operating on USB stick device and NOT on your Linux/Windows partition!!!

    ps. Also check if following will respond: sudo cfdisk /dev/sdc (assuming "dmesg" will again report your USB stick as "/dev/sdc" )
    Just be extra careful when doing any operations on partitions cause, one silly step will cause you a lot of work and possible lost of data, so please be warned.

    In the end of the day cost of 4GB USB stick is like 4 (ish), so if all will fail just throw it to bin, and get a new one. Time is money... really but good luck anyway. over.
    Ah and one more thing... if drive is reporting I/O errors it means most likely it's dead or dying, yes it may be just incorrect block size thing, but you may be fixing a broken drive... so maybe just get a new one = peace of mind.
    Last edited by mishra; 14-02-12 at 19:04.
    AMD Phenom II X4 955 @3.9Ghz | Noctua NH-D14 | Gigabyte GA-870A-UD3 | 4GB DDR3 HyperX | XFX HD7950 | CoolerMaster Haf 912 Plus | SanDisk Extreme SSD, Momentus XT | Noctua fans all over the place

    <--- click little star if I helped you, help me to reach my goal of more rep than posts!

  8. #8
    Bright Spark Reputation: 63
    Join Date
    May 2011
    Posts
    452
    Rep
    63
    Ive had similar sounding block reporting errors on drives in the past, which the more hands on sfdisk has managed to rectify. You really need to know what the values should be in order to fix it though, so without a working drive it may not be that simple

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin® Version 4.2.2
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
PC Specialist Ltd
All times are GMT. The time now is 10:49.
vBulletin 4.0 skin by CompleteVB