Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
20 years ago

problems of scsi and usb :)

when i plugin my usb stick,the ide shell:

# usb 1-1: new full speed USB device using address 2

usb 1-1: decvice decriptor: bNumConfigurations=1,idVendor=422,idProduct=128,bMax

PacketSize0=16,bcddevice=1,bcdusb=272,iManufacture=<4>usb 1-1:

usb 1-1: control timeout on ep0in

usb 1-1: control timeout on ep0in

usb 1-1: control timeout on ep0in

usb 1-1: control timeout on ep0in

scsi0 : SCSI emulation for USB Mass Storage devices

Vendor: F3D6368? Model: ?Fash Disk 1.06 Rev: !?S

Type: Direct-Access ANSI SCSI revision: 02

sda : unsupported sector size 131080.

SCSI device sda: 0 131080-byte hdwr sectors (0 MB)

sda: assuming Write Enabled

sda: assuming drive cache: write through

Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0

what&#39;s the means of "sda : unsupported sector size 131080."??

i had formated usb stick as 512-byte sector in FAT32.

mount -n nodev -t usbdevfs /proc/bus/usb

then cat /proc/partitions , here is no sd*. why??

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    How have you formattted your usb stick? I find that USB sticks typically have some weird partitioning scheme (at least to my standards). Whenever I get a USB stick, I format it with

    $ sudo fdisk /dev/sda

    create a single FAT32 partition on in and format it with mkfs. From that point onwards, there are no partitioning problems anymore on any OS . http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi, here was another error:

    ...

    /dev/scsi/host0/bus0/target0/lun0:<7>usb-storage: queuecommand called

    unknown partition table

    ...

    and i......

    # fdisk -l

    /dev/ide/host0/bus0/target0/lun0: p1

    Disk /dev/hda: 4 heads, 32 sectors, 246 cylinders

    Units = cylinders of 128 * 512 bytes

    Device Boot Start End Blocks Id System

    /dev/hda1 1 246 15743+ 83 Linux

    Disk /dev/sda: 3 heads, 43 sectors, 1002 cylinders

    Units = cylinders of 129 * 512 bytes

    Disk /dev/sda doesn&#39;t contain a valid partition table

    i know less about scsi, how??? thank u!!
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by gwbing@May 31 2005, 03:03 PM

    disk /dev/sda doesn&#39;t contain a valid partition table

    --- Quote End ---

    /dev/sda is your USB stick (depending on your kernel configuration and drivers, it can also be /dev/uba). But here it is not http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/tongue.gif

    The error you mention seems suspicioulsy to the one that makes me recreate the partition table: just

    fdisk /dev/sda

    delete all the partitions and create a new one (type FAT32 or something). After you&#39;ve done this,

    mkfs.vfat /dev/sda1

    Note all there remarks assume that you&#39;re doing this natively on a GNU/Linux machine. I&#39;ve not used a W32 machine in years http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/laugh.gif I don&#39;t know what formatting the stick in Windows will do, but judging it&#39;s windows, I would assume not what you expect.