problem s USB 2.0 Flash Drive

Kotrla Vitezslav kotrla na ceb.cz
Středa Říjen 22 10:02:36 CEST 2003


Dobry den vespolek, jdu se vyplakat.

dostal se mi do ruky USB 2.0 flash disk (Apacer 256MB
HandySteno TN202), ale nemuzu ho pripojit. Uz dlouho 
pouzivam ruzne starsi (USB 1.1) flash disky a v zasade
bez problemu, ted jsem ale dojel:

po zasunuti tail /var/log/messages:

Oct 22 09:34:51 ws14-l kernel: hub.c: new USB device 00:04.2-1, assigned address 2
Oct 22 09:34:51 ws14-l kernel: Product: USB Flash Drive
Oct 22 09:34:51 ws14-l kernel: SerialNumber: 070200010A90AB0
Oct 22 09:34:51 ws14-l kernel: scsi0 : SCSI emulation for USB Mass Storage devices
Oct 22 09:34:51 ws14-l kernel:   Vendor: USB       Model: Flash Drive       Rev: 1.12
Oct 22 09:34:51 ws14-l kernel:   Type:   Direct-Access                      ANSI SCSI revision: 02
Oct 22 09:34:51 ws14-l kernel: Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
Oct 22 09:34:51 ws14-l kernel: SCSI device sda: 507901 512-byte hdwr sectors (260 MB)
Oct 22 09:34:51 ws14-l kernel: sda: Write Protect is off
Oct 22 09:34:51 ws14-l kernel:  sda:<7>usb-storage: queuecommand() called
Oct 22 09:34:51 ws14-l kernel:  sda1 sda2 sda3 sda4

Problem je ale zde:


ws14-l:/home/vitko# fdisk /dev/sda          

Unable to read /dev/sda
^^^^^^^^^^^^^^^^^^^^^^^


Pochopitelne tu vec potom ani neprimountuju, vysledkem je 
nanejvyj halda IO error a block not found...

Jeste par obligatnich informaci o zeleze a kernelu (pokud jsem
na neco zapomel, predem dekuji za upozorneni):


ws14-l:/home/vitko# cat /proc/pci | grep USB
    USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 1).


ws14-l:/home/vitko# uname -a
Linux ws14-l 2.4.22 #1 St říj 22 09:07:17 CEST 2003 i686 unknown


ws14-l:/home/vitko# cat /proc/scsi/usb-storage-0/0 
   Host scsi0: usb-storage
       Vendor: Unknown
      Product: USB Flash Drive
Serial Number: 070200010A90AB0
     Protocol: Transparent SCSI
    Transport: Bulk
         GUID: 1005b1130070200010a90ab0
     Attached: Yes


ws14-l:/home/vitko# cat /proc/partitions 
major minor  #blocks  name     rio rmerge rsect ruse wio wmerge wsect wuse running use aveq

   8     0     253950 sda 27 151 198 1320 0 0 0 0 0 1320 1320
   8     1   84344762 sda1 21 107 140 960 0 0 0 0 0 960 960
   8     2  934360246 sda2 1 0 1 20 0 0 0 0 0 20 20
   8     3  112900025 sda3 0 0 0 0 0 0 0 0 0 0 0
   8     4 1717523968 sda4 0 0 0 0 0 0 0 0 0 0 0
<snip>


---
  VK



Další informace o konferenci Linux