Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
I have a usb key that i am trying to get to work with linux. I have looked up tutorials on it and nothing seems to make sense to me. ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113

    USB key help


    I have a usb key that i am trying to get to work with linux. I have looked up tutorials on it and nothing seems to make sense to me. Could someone please help me?

  2. #2
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Istanbul,Turkey
    Posts
    151
    Do you mean USB flash memories ?
    Have a nice day

  3. #3
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    yea, sorry, i meant usb flash memory, they are also called 'keys' :-/

  4. #4
    Linux Newbie
    Join Date
    Jan 2004
    Location
    Istanbul,Turkey
    Posts
    151
    They are mostly recognized as scsi disks,
    check /dev/sd*
    Have a nice day

  5. #5
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    "dmesg" might tell you where the device is. Try to mount it with "mount -t vfat /dev/sc* /mnt/usb" or something similar. If it does not work, please paste the error messages here.

    Good luck

  6. #6
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    well, ive done that, but i can only access my usb flash memory once, and then it wont let me access it again, and i have to mount it to the next sc* (for instance, i mount it to sca1 1st and then i have to remount it to scb1 unless i restart my computer). i cant see why i would have to remount it every time i use it, so im sure there is a better way.

  7. #7
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    Could you paste here what dmesg says about your usb device?

  8. #8
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    alright, here is exactly the message, its really long, but i didnt know what info was important:

    [root@localhost root]# dmesg
    ting I/O to dead device
    FAT: Directory bread(block 496) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 497) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 49 failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 499) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 500) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 501) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 502) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 503) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 504) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 505) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 506) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 507) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 50 failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 509) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 510) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 511) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 512) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 513) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 514) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 515) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 516) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 517) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 51 failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 519) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 520) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 521) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 522) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 523) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 524) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 525) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 526) failed
    usb 5-7: USB disconnect, address 5
    libata version 1.02 loaded.
    ata_piix version 1.02
    ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 10 (level, low) -> IRQ 10
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 10
    ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 10
    ata1: SATA port has no device.
    scsi15 : ata_piix
    ata2: SATA port has no device.
    scsi16 : ata_piix
    agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
    agpgart: Device is in legacy mode, falling back to 2.x
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
    agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
    usb 5-7: new high speed USB device using address 6
    libata version 1.02 loaded.
    ata_piix version 1.02
    ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 10 (level, low) -> IRQ 10
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 10
    ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 10
    ata1: SATA port has no device.
    scsi17 : ata_piix
    ata2: SATA port has no device.
    scsi18 : ata_piix
    scsi19 : SCSI emulation for USB Mass Storage devices
    Vendor: I0MEGA Model: UMni64MB*IOM2C4 Rev:
    Type: Direct-Access ANSI SCSI revision: 02
    SCSI device sdb: 126976 512-byte hdwr sectors (65 MB)
    sdb: Write Protect is off
    sdb: Mode Sense: 03 00 00 00
    sdb: assuming drive cache: write through
    sdb:scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f8 00 00 08 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126968
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f9 00 00 07 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126969
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fa 00 00 06 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126970
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fb 00 00 05 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126971
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fc 00 00 04 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126972
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fd 00 00 03 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126973
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fe 00 00 02 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126974
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef ff 00 00 01 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126975
    Buffer I/O error on device sdb, logical block 15871
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f8 00 00 08 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126968
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f9 00 00 07 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126969
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fa 00 00 06 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126970
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fb 00 00 05 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126971
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fc 00 00 04 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126972
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fd 00 00 03 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126973
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fe 00 00 02 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126974
    scsi19: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef ff 00 00 01 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126975
    Buffer I/O error on device sdb, logical block 15871
    sdb1
    Attached scsi removable disk sdb at scsi19, channel 0, id 0, lun 0
    Attached scsi generic sg0 at scsi19, channel 0, id 0, lun 0, type 0
    updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device
    USB Mass Storage device found at 6
    usb 5-7: USB disconnect, address 6
    libata version 1.02 loaded.
    ata_piix version 1.02
    ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 10 (level, low) -> IRQ 10
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 10
    ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 10
    ata1: SATA port has no device.
    scsi20 : ata_piix
    ata2: SATA port has no device.
    scsi21 : ata_piix
    agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
    agpgart: Device is in legacy mode, falling back to 2.x
    agpgart: Putting AGP V2 device at 0000:00:00.0 into 1x mode
    agpgart: Putting AGP V2 device at 0000:01:00.0 into 1x mode
    usb 5-7: new high speed USB device using address 7
    scsi22 : SCSI emulation for USB Mass Storage devices
    libata version 1.02 loaded.
    ata_piix version 1.02
    ACPI: PCI interrupt 0000:00:1f.2[A] -> GSI 10 (level, low) -> IRQ 10
    PCI: Setting latency timer of device 0000:00:1f.2 to 64
    ata1: SATA max UDMA/133 cmd 0xEC00 ctl 0xE802 bmdma 0xDC00 irq 10
    ata2: SATA max UDMA/133 cmd 0xE400 ctl 0xE002 bmdma 0xDC08 irq 10
    ata1: SATA port has no device.
    scsi23 : ata_piix
    ata2: SATA port has no device.
    scsi24 : ata_piix
    Vendor: I0MEGA Model: UMni64MB*IOM2C4 Rev:
    Type: Direct-Access ANSI SCSI revision: 02
    SCSI device sdb: 126976 512-byte hdwr sectors (65 MB)
    sdb: Write Protect is off
    sdb: Mode Sense: 03 00 00 00
    sdb: assuming drive cache: write through
    sdb:scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f8 00 00 08 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126968
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f9 00 00 07 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126969
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fa 00 00 06 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126970
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fb 00 00 05 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126971
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fc 00 00 04 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126972
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fd 00 00 03 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126973
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fe 00 00 02 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126974
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef ff 00 00 01 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126975
    Buffer I/O error on device sdb, logical block 15871
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f8 00 00 08 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126968
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef f9 00 00 07 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126969
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fa 00 00 06 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126970
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fb 00 00 05 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126971
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fc 00 00 04 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126972
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fd 00 00 03 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126973
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef fe 00 00 02 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126974
    scsi22: ERROR on channel 0, id 0, lun 0, CDB: Read (10) 00 00 01 ef ff 00 00 01 00
    Current sdb: sense key Medium Error
    Additional sense: Unrecovered read error
    end_request: I/O error, dev sdb, sector 126975
    Buffer I/O error on device sdb, logical block 15871
    sdb1
    Attached scsi removable disk sdb at scsi22, channel 0, id 0, lun 0
    Attached scsi generic sg0 at scsi22, channel 0, id 0, lun 0, type 0
    updfstab: Using deprecated /dev/sg mechanism instead of SG_IO on the actual device
    USB Mass Storage device found at 7
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 495) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 496) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 497) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 49 failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 499) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 500) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 501) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 502) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 503) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 504) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 505) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 506) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 507) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 50 failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 509) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 510) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 511) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 512) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 513) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 514) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 515) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 516) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 517) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 51 failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 519) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 520) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 521) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 522) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 523) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 524) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 525) failed
    scsi7 (0:0): rejecting I/O to dead device
    FAT: Directory bread(block 526) failed

  9. #9
    Linux Engineer kriss's Avatar
    Join Date
    Jun 2003
    Posts
    1,113
    I would think that the device is damaged in some way, could this be correct? (i.e. dropped it on the floor, gotten water in it etc)

  10. #10
    Linux Newbie
    Join Date
    Oct 2004
    Location
    127.0.0.1
    Posts
    113
    no, its not damaged, it works fine on my WindowsXP system

Page 1 of 2 1 2 LastLast

Posting Permissions

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