Linux/Jádro/Chyby/ehci hcd/diary/2008-04-12.Sat
Vzhled
Datum: 2008-04-12.Sat
Diářový záznam, týkající se projevů chybného modulu ehci_hcd ještě nemuselo výt zjevné, že se jedná o tento modul)
@INA
koupil jsem paměťové flash karty
2GB MMC RS DV Kingston do Nokie
2GB CF do Psiona
teď tam je Kingston:
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] 3966976 512-byte hardware sectors (2031 MB)
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] Write Protect is off
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] 3966976 512-byte hardware sectors (2031 MB)
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] Write Protect is off
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] Mode Sense: 03 00 00 00
Apr 12 12:31:05 ina kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Apr 12 12:31:05 ina kernel: sdb: sdb1
cfdisk /dev/sdb
OSUDOVÃ CHYBA: Chybný primární diskový oddíl 0: Diskový oddíl konÄí v posledním ÄásteÄném
cylindru
# fdisk /dev/sdb
Počet cylindrů tohoto disku je nastaven na 1287.
Na tom není nic špatného, ale jelikož je to více než 1024,
může za určitých okolností dojít k problémům:
1) s programy spouštěnými při startu (např. staré verze LILA)
2) s programy pro správu diskových oddílů z jiných OS
(např. DOS FDISK, OS/2 FDISK)
Disk /dev/sdb: 2 031 MB, 2 031 091 712 bajtů
hlav: 56, sektorů na stopu: 55, cylindrů: 1 287
Jednotky = cylindry po 3080 * 512 = 1 576 960 bajtech
Identifikátor disku: 0x00000000
Zařízení Zavádět Začátek Konec Bloky Id Systém
/dev/sdb1 1 1288 1983364 6 FAT16
Č. AF Hd Sek Cyl Hd Sek Cyl Začátek Vel. Id
1 00 3 60 0 55 55 983 248 3966728 06
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
Souborový systém 1K bloků Použité Volné Uži% Připojeno do
/dev/hda8 311123 243301 51759 83% /
tmpfs 128340 0 128340 0% /lib/init/rw
udev 10240 152 10088 2% /dev
tmpfs 128340 4 128336 1% /dev/shm
/dev/hda5 5763584 5707172 52412 100% /usr
/dev/hda6 2885780 2056140 683052 76% /var
/dev/hda11 5763616 2783512 2687324 51% /home
/dev/hda12 28834716 28103280 731436 98% /huge
/dev/hda3 28834744 28457788 376956 99% /mir
/dev/sdb1 1983104 37792 1945312 2% /sdb/1
/sdb/1/Videos
celkem 37248
drwxr-xr-x 2 petr petr 32768 2008-04-12 09:41 .
drwxr-xr-x 7 petr petr 16384 1970-01-01 01:00 ..
-rwxr-xr-x 1 petr petr 1555631 2008-04-12 09:54 12042008(001).3gp
-rwxr-xr-x 1 petr petr 17330 2008-04-12 09:54 12042008(002).3gp
-rwxr-xr-x 1 petr petr 36259637 2008-04-12 10:33 12042008(003).3gp
-rwxr-xr-x 1 petr petr 191358 2008-04-12 09:48 12042008.3gp
-rwxr-xr-x 1 petr petr 1,5M 2008-04-12 09:54 12042008(001).3gp
-rwxr-xr-x 1 petr petr 17K 2008-04-12 09:54 12042008(002).3gp
-rwxr-xr-x 1 petr petr 35M 2008-04-12 10:33 12042008(003).3gp
-rwxr-xr-x 1 petr petr 187K 2008-04-12 09:48 12042008.3gp
35M/35 min = 1M/min?
rychlost čtení: 1.42 MB/s ??
--------------------------------------------
CF
přeformátován v Psionu:
cfdisk /dev/sdc
OSUDOVÃ CHYBA: Disk nelze otevÅít
StisknÄte jakoukoliv klávesu pro ukonÄení programu cfdisk
Apr 12 20:26:41 ina kernel: usb 6-3: new high speed USB device using ehci_hcd and address 3
Apr 12 20:26:41 ina kernel: usb 6-3: configuration #1 chosen from 1 choice
Apr 12 20:26:41 ina kernel: scsi3 : SCSI emulation for USB Mass Storage devices
Apr 12 20:26:41 ina kernel: usb-storage: device found at 3
Apr 12 20:26:42 ina kernel: usb-storage: waiting for device to settle before scanning
Apr 12 20:26:46 ina kernel: usb-storage: device scan complete
Apr 12 20:26:46 ina kernel: scsi 3:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0
ANSI: 0
Apr 12 20:26:46 ina kernel: scsi 3:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0
ANSI: 0
Apr 12 20:26:46 ina kernel: scsi 3:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0
ANSI: 0
Apr 12 20:26:46 ina kernel: scsi 3:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0
ANSI: 0
Apr 12 20:26:46 ina kernel: sd 3:0:0:0: [sdb] Attached SCSI removable disk
Apr 12 20:26:47 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:26:55 ina last message repeated 23 times
Apr 12 20:26:55 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:26:55 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 20:26:55 ina kernel: sd 3:0:0:1: [sdc] Sense not available.
Apr 12 20:26:55 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:26:57 ina last message repeated 5 times
Apr 12 20:26:57 ina kernel: sd 3:0:0:1: [sdc] Write Protect is off
Apr 12 20:26:57 ina kernel: sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 20:26:57 ina kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 20:26:57 ina kernel: sd 3:0:0:1: [sdc] Attached SCSI removable disk
Apr 12 20:26:57 ina kernel: sd 3:0:0:2: [sdd] Attached SCSI removable disk
Apr 12 20:26:57 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:26:59 ina last message repeated 5 times
Apr 12 20:26:59 ina kernel: sd 3:0:0:3: [sde] Attached SCSI removable disk
Apr 12 20:26:59 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:07 ina last message repeated 23 times
Apr 12 20:27:07 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:27:07 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 20:27:07 ina kernel: sd 3:0:0:1: [sdc] Sense not available.
Apr 12 20:27:08 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:09 ina last message repeated 5 times
Apr 12 20:27:10 ina kernel: sd 3:0:0:1: [sdc] Write Protect is off
Apr 12 20:27:10 ina kernel: sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 20:27:10 ina kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 20:27:10 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:18 ina last message repeated 23 times
Apr 12 20:27:18 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:27:18 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 20:27:18 ina kernel: sd 3:0:0:1: [sdc] Sense not available.
Apr 12 20:27:18 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:20 ina last message repeated 5 times
Apr 12 20:27:20 ina kernel: sd 3:0:0:1: [sdc] Write Protect is off
Apr 12 20:27:20 ina kernel: sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 20:27:20 ina kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 20:27:20 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:31 ina last message repeated 29 times
Apr 12 20:27:31 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:27:31 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 20:27:31 ina kernel: sd 3:0:0:1: [sdc] Sense not available.
Apr 12 20:27:31 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:33 ina last message repeated 5 times
Apr 12 20:27:33 ina kernel: sd 3:0:0:1: [sdc] Write Protect is off
Apr 12 20:27:33 ina kernel: sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 20:27:33 ina kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 20:27:33 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:41 ina last message repeated 23 times
Apr 12 20:27:41 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:27:41 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 20:27:41 ina kernel: sd 3:0:0:1: [sdc] Sense not available.
Apr 12 20:27:41 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:43 ina last message repeated 5 times
Apr 12 20:27:43 ina kernel: sd 3:0:0:1: [sdc] Write Protect is off
Apr 12 20:27:43 ina kernel: sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 20:27:43 ina kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 20:27:44 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:54 ina last message repeated 29 times
Apr 12 20:27:54 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:27:54 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 20:27:54 ina kernel: sd 3:0:0:1: [sdc] Sense not available.
Apr 12 20:27:54 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:27:56 ina last message repeated 5 times
Apr 12 20:27:56 ina kernel: sd 3:0:0:1: [sdc] Write Protect is off
Apr 12 20:27:56 ina kernel: sd 3:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 20:27:56 ina kernel: sd 3:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 20:27:56 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 3
Apr 12 20:28:04 ina last message repeated 23 times
Apr 12 20:28:04 ina kernel: sd 3:0:0:1: [sdc] READ CAPACITY failed
Apr 12 20:28:04 ina kernel: sd 3:0:0:1: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
...
I bez připojené čtečky počád píše:
Apr 12 21:04:00 ina kernel: sd 6:0:0:3: [sde] Sense not available.
Apr 12 21:04:00 ina kernel: sd 6:0:0:2: [sdd] READ CAPACITY failed
Apr 12 21:04:00 ina kernel: sd 6:0:0:2: [sdd] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 21:04:00 ina kernel: sd 6:0:0:2: [sdd] Sense not available.
Apr 12 21:04:00 ina kernel: sd 6:0:0:3: [sde] Write Protect is off
Apr 12 21:04:00 ina kernel: sd 6:0:0:3: [sde] Mode Sense: 00 00 00 00
Apr 12 21:04:00 ina kernel: sd 6:0:0:3: [sde] Assuming drive cache: write through
Apr 12 21:04:00 ina kernel: sd 6:0:0:2: [sdd] Write Protect is off
Apr 12 21:04:00 ina kernel: sd 6:0:0:2: [sdd] Mode Sense: 00 00 00 00
Apr 12 21:04:00 ina kernel: sd 6:0:0:2: [sdd] Assuming drive cache: write through
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] READ CAPACITY failed
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Sense not available.
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] READ CAPACITY failed
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Sense not available.
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Write Protect is off
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Mode Sense: 00 00 00 00
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Assuming drive cache: write through
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Write Protect is off
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Mode Sense: 00 00 00 00
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Assuming drive cache: write through
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] READ CAPACITY failed
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Sense not available.
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] READ CAPACITY failed
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Result: hostbyte=DID_NO_CONNECT
driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Sense not available.
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Write Protect is off
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Mode Sense: 00 00 00 00
Apr 12 21:04:02 ina kernel: sd 6:0:0:3: [sde] Assuming drive cache: write through
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Write Protect is off
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Mode Sense: 00 00 00 00
Apr 12 21:04:02 ina kernel: sd 6:0:0:2: [sdd] Assuming drive cache: write through
...
*****************************************
REBOOT
*****************************************
Modra ctecka Soledo na 3.USB zleva, prazdna:
root@ina:~# usb 6-3: new high speed USB device using ehci_hcd and address 2
usb 6-3: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
scsi 2:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
scsi 2:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
scsi 2:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
scsi 2:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
sd 2:0:0:0: [sdb] Attached SCSI removable disk
sd 2:0:0:1: [sdc] Attached SCSI removable disk
sd 2:0:0:2: [sdd] Attached SCSI removable disk
sd 2:0:0:3: [sde] Attached SCSI removable disk
Zastrcim CFdisk EMTEC 2GB:
usb 6-3: reset high speed USB device using ehci_hcd and address 2
sd 2:0:0:1: [sdc] Write Protect is off
sd 2:0:0:1: [sdc] Assuming drive cache: write through
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
Zastrcim Kingmax:
sd 2:0:0:1: [sdc] 521728 512-byte hardware sectors (267 MB)
sd 2:0:0:1: [sdc] Write Protect is off
sd 2:0:0:1: [sdc] Assuming drive cache: write through
sd 2:0:0:1: [sdc] 521728 512-byte hardware sectors (267 MB)
sd 2:0:0:1: [sdc] Write Protect is off
sd 2:0:0:1: [sdc] Assuming drive cache: write through
sdc: sdc1 sdc2
Zastrcim znova EMTEC:
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
sd 2:0:0:1: [sdc] READ CAPACITY failed
sd 2:0:0:1: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
sd 2:0:0:1: [sdc] Sense not available.
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
usb 6-3: reset high speed USB device using ehci_hcd and address 2
sd 2:0:0:1: [sdc] Test WP failed, assume Write Enabled
sd 2:0:0:1: [sdc] Assuming drive cache: write through
Odpojim ctecku Soledo:
root@ina:~# usb 6-3: USB disconnect, address 2
Pripojim solo CF ctecku modrou:
root@ina:~# usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi3 : SCSI emulation for USB Mass Storage devices
scsi 3:0:0:0: Direct-Access Generic STORAGE DEVICE 0.01 PQ: 0 ANSI: 0
sd 3:0:0:0: [sdb] Attached SCSI removable disk
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
Strcim do ni Kingmax:
Parkrat zablika a zhasne ledka:
root@ina:~# sd 3:0:0:0: [sdb] 521729 512-byte hardware sectors (267 MB)
sd 3:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] 521729 512-byte hardware sectors (267 MB)
sd 3:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1 sdb2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
root@ina:~# cfdisk /dev/sdb
Disk: /dev/sdb
Velikost 267125248bajt 267MB
Hlav: 64 Sektorna stopu: 32 Cylindr 254
Nev Pnaky Typ odduTyp SS [Popis] Velik. (MB)
------------------------------------------------------------------------------
sdb1 PrimnAT16 [king1] 83,89
sdb2 Primninux ext3 [king2] 182,46
Zastrcim EMTEC:
Rozsviti se, parkrat zablika, a pak dycky jednou za sekundu blikne.
root@ina:~# sd 3:0:0:0: [sdb] 3940273 512-byte hardware sectors (2017 MB)
sd 3:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sd 3:0:0:0: [sdb] 3940273 512-byte hardware sectors (2017 MB)
sd 3:0:0:0: [sdb] Test WP failed, assume Write Enabled
sd 3:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
usb 1-1: reset full speed USB device using uhci_hcd and address 2
usb 1-1: reset full speed USB device using uhci_hcd and address 2
root@ina:~# cfdisk /dev/sdb
cfdisk (util-linux-ng 2.13.1)
Disk: /dev/sdb
Velikost 2017419776bajt 2017MB
Hlav: 16 Sektorna stopu: 63 Cylindr 3909
Nev Pnaky Typ odduTyp SS [Popis] Velik. (MB)
------------------------------------------------------------------------------
sdb1 ZaveditelnrimnAT16 <32M [NO NAME ] 2017,42
root@ina:~# fdisk /dev/sdb
sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 3:0:0:0: [sdb] Sense Key : Hardware Error [current]
sd 3:0:0:0: [sdb] Add. Sense: Data phase error
end_request: I/O error, dev sdb, sector 3940272
Buffer I/O error on device sdb, logical block 3940272
sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 3:0:0:0: [sdb] Sense Key : Hardware Error [current]
sd 3:0:0:0: [sdb] Add. Sense: Data phase error
end_request: I/O error, dev sdb, sector 3940272
Buffer I/O error on device sdb, logical block 3940272
Pot cylindrtohoto disku je nastaven na 3909.
Na tom nennic patno, ale jeliko je to ve ne 1024,
m za urth okolnostdoj k probl:
1) s programy spouti p startu (nap starverze LILA)
2) s programy pro spru diskovh oddz jinh OS
(nap DOS FDISK, OS/2 FDISK)
Disk /dev/sdb: 2017 MB, 2017419776 bajt
lav: 16, sektorna stopu: 63, cylindr 3909
Jednotky = cylindry po1008 * 512 = 516096 bajtech
Identifikor disku:0x00000000
ZazenZav Zatek Konec Bloky Id Syst
/dev/sdb1 * 1 3909 1970104+ 4 FAT16 <32M
Disk /dev/sdb: hlav: 16, sektor 63, cylindr 3909
AF Hd Sek Cyl Hd Sek Cyl Zatek Vel. Id
1 80 1 1 0 15 63 836 63 3940209 04
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
# sfdisk /dev/sdb -d > emtec.sfdisk.part
sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 3:0:0:0: [sdb] Sense Key : Hardware Error [current]
sd 3:0:0:0: [sdb] Add. Sense: Data phase error
end_request: I/O error, dev sdb, sector 3940272
Buffer I/O error on device sdb, logical block 3940272
sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 3:0:0:0: [sdb] Sense Key : Hardware Error [current]
sd 3:0:0:0: [sdb] Add. Sense: Data phase error
end_request: I/O error, dev sdb, sector 3940272
Buffer I/O error on device sdb, logical block 3940272
root@ina:/home/petr/psion# less emtec.sfdisk.part
# tabulka rozd<9B>lendisku pro /dev/sdb
unit: sectors
/dev/sdb1 : start= 63, size= 3940209, Id= 4, bootable
/dev/sdb2 : start= 0, size= 0, Id= 0
/dev/sdb3 : start= 0, size= 0, Id= 0
/dev/sdb4 : start= 0, size= 0, Id= 0
# sfdisk /dev/sdb -d > emtec.sfdisk.part2
sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 3:0:0:0: [sdb] Sense Key : Hardware Error [current]
sd 3:0:0:0: [sdb] Add. Sense: Data phase error
end_request: I/O error, dev sdb, sector 3940272
Buffer I/O error on device sdb, logical block 3940272
sd 3:0:0:0: [sdb] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE,SUGGEST_OK
sd 3:0:0:0: [sdb] Sense Key : Hardware Error [current]
sd 3:0:0:0: [sdb] Add. Sense: Data phase error
end_request: I/O error, dev sdb, sector 3940272
Buffer I/O error on device sdb, logical block 3940272
Vytahnu EMTEC ze ctecky
Odpojim ctecku:
root@ina:/home/petr/psion# usb 1-1: USB disconnect, address 2
Pripojim ctecku Kingston od Ferdy:
Rozsviti se modra LEDka:
root@ina:/home/petr/psion# usb 6-3: new high speed USB device using ehci_hcd and address 4
usb 6-3: configuration #1 chosen from 1 choice
scsi4 : SCSI emulation for USB Mass Storage devices
scsi 4:0:0:0: Direct-Access Generic STORAGE DEVICE 93AF PQ: 0 ANSI: 0
scsi 4:0:0:1: Direct-Access Generic STORAGE DEVICE 93AF PQ: 0 ANSI: 0
scsi 4:0:0:2: Direct-Access Generic STORAGE DEVICE 93AF PQ: 0 ANSI: 0
scsi 4:0:0:3: Direct-Access Generic STORAGE DEVICE 93AF PQ: 0 ANSI: 0
sd 4:0:0:0: [sdb] Attached SCSI removable disk
sd 4:0:0:1: [sdc] Attached SCSI removable disk
sd 4:0:0:2: [sdd] Attached SCSI removable disk
sd 4:0:0:3: [sde] Attached SCSI removable disk
Zastrcim CF Kingmax:
2x blikne LED fialove:
root@ina:/home/petr/psion# sd 4:0:0:0: [sdb] 521728 512-byte hardware sectors (267 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 521728 512-byte hardware sectors (267 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1 sdb2
root@ina:/home/petr/psion# cfdisk /dev/sdb
cfdisk (util-linux-ng 2.13.1)
Disk: /dev/sdb
Velikost 267124736bajt 267MB
Hlav: 64 Sektorna stopu: 32 Cylindr 254
Nev Pnaky Typ odduTyp SS [Popis] Velik. (MB)
------------------------------------------------------------------------------
sdb1 PrimnAT16 [king1] 83,89
sdb2 Primninux ext3 [king2] 182,46
# fdisk /dev/sdb
Pkaz (m pro novu): p
Disk /dev/sdb: 267 MB, 267124736 bajt
lav: 64, sektorna stopu: 32, cylindr 254
Jednotky = cylindry po2048 * 512 = 1048576 bajtech
Identifikor disku:0x00000000
ZazenZav Zatek Konec Bloky Id Syst
/dev/sdb1 1 80 81904 6 FAT16
/dev/sdb2 81 254 178176 83 Linux
Disk /dev/sdb: hlav: 64, sektor 32, cylindr 254
AF Hd Sek Cyl Hd Sek Cyl Zatek Vel. Id
1 00 1 1 0 63 32 79 32 163808 06
2 00 0 1 80 63 32 253 163840 356352 83
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
root@ina:/home/petr/psion# sfdisk /dev/sdb -d > kingmax.sfdisk.part
root@ina:/home/petr/psion# file kingmax.sfdisk.part
kingmax.sfdisk.part: UTF-8 Unicode text
root@ina:/home/petr/psion# less kingmax.sfdisk.part
# tabulka rozd<9B>lendisku pro /dev/sdb
unit: sectors
/dev/sdb1 : start= 32, size= 163808, Id= 6
/dev/sdb2 : start= 163840, size= 356352, Id=83
/dev/sdb3 : start= 0, size= 0, Id= 0
/dev/sdb4 : start= 0, size= 0, Id= 0
Vytahnu CF Kingmax
Zastrcim EMTEC
2x blikne fialove
sd 4:0:0:0: [sdb] 3940272 512-byte hardware sectors (2017 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sd 4:0:0:0: [sdb] 3940272 512-byte hardware sectors (2017 MB)
sd 4:0:0:0: [sdb] Write Protect is off
sd 4:0:0:0: [sdb] Assuming drive cache: write through
sdb: sdb1
cfdisk (util-linux-ng 2.13.1)
Disk: /dev/sdb
Velikost 2017419264bajt 2017MB
Hlav: 16 Sektorna stopu: 63 Cylindr 3909
Nev Pnaky Typ odduTyp SS [Popis] Velik. (MB)
------------------------------------------------------------------------------
sdb1 ZaveditelnrimnAT16 <32M [NO NAME ] 2017,42
root@ina:/home/petr/psion# fdisk /dev/sdb
Pot cylindrtohoto disku je nastaven na 3909.
Na tom nennic patno, ale jeliko je to ve ne 1024,
m za urth okolnostdoj k probl:
1) s programy spouti p startu (nap starverze LILA)
2) s programy pro spru diskovh oddz jinh OS
(nap DOS FDISK, OS/2 FDISK)
Pkaz (m pro novu): p
Disk /dev/sdb: 2017 MB, 2017419264 bajt
lav: 16, sektorna stopu: 63, cylindr 3909
Jednotky = cylindry po1008 * 512 = 516096 bajtech
Identifikor disku:0x00000000
ZazenZav Zatek Konec Bloky Id Syst
/dev/sdb1 * 1 3909 1970104+ 4 FAT16 <32M
Disk /dev/sdb: hlav: 16, sektor 63, cylindr 3909
AF Hd Sek Cyl Hd Sek Cyl Zatek Vel. Id
1 80 1 1 0 15 63 836 63 3940209 04
2 00 0 0 0 0 0 0 0 0 00
3 00 0 0 0 0 0 0 0 0 00
4 00 0 0 0 0 0 0 0 0 00
root@ina:/home/petr/psion# sfdisk /dev/sdb -d > emtec.sfdisk.part2
root@ina:/home/petr/psion# less emtec.sfdisk.part2
# tabulka rozd<9B>lendisku pro /dev/sdb
unit: sectors
/dev/sdb1 : start= 63, size= 3940209, Id= 4, bootable
/dev/sdb2 : start= 0, size= 0, Id= 0
/dev/sdb3 : start= 0, size= 0, Id= 0
/dev/sdb4 : start= 0, size= 0, Id= 0
--------------
date; badblocks -v -w -o emtec.badblocks /dev/sdb; date
Sat Apr 12 21:44:55 CEST 2008
Hledám špatné bloky v režimu čtení i zápis
Od bloku 0 do 1970136
Zkouším se vzorkem 0xaa:
LEDka bliká modro-fialově
top:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
5156 root 25 0 6464 3488 708 R 98.1 1.4 0:16.68 badblocks
Zkouším se vzorkem 0xaa: hotovo
Čtu a porovnávám:
svítí jen modrá LEDka
Hází samé badblocky:
492544
492545
492546
492547
492548
...
1970125
1970126
1970127
1970128
1970129
1970130
1970131
1970132
1970133
1970134
1970135
0
1
2
3
4
5
6
7
8
...
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
...
Ctrl-C:
Čtu a porovnávám:
Sat Apr 12 22:01:09 CEST 2008
Stopnul jsem to, to nemá cenu.
Něco tu je blbě :-(
ina:/home/petr/psion# tail /var/log/kern.log
Apr 12 22:00:45 ina kernel: Buffer I/O error on device sdb, logical block 8939
Apr 12 22:00:50 ina kernel: printk: 192 messages suppressed.
Apr 12 22:00:50 ina kernel: Buffer I/O error on device sdb, logical block 8994
Apr 12 22:00:55 ina kernel: printk: 193 messages suppressed.
Apr 12 22:00:55 ina kernel: Buffer I/O error on device sdb, logical block 9049
Apr 12 22:01:00 ina kernel: printk: 190 messages suppressed.
Apr 12 22:01:00 ina kernel: Buffer I/O error on device sdb, logical block 9104
Apr 12 22:01:05 ina kernel: printk: 192 messages suppressed.
Apr 12 22:01:05 ina kernel: Buffer I/O error on device sdb, logical block 9159
Vyndám disk ze čtečky.
Apr 12 22:03:29 ina kernel: usb 6-3: USB disconnect, address 4
Připojim zase čtečku Soledo:
Apr 12 22:04:53 ina kernel: usb 6-3: new high speed USB device using ehci_hcd and address 5
Apr 12 22:04:53 ina kernel: usb 6-3: configuration #1 chosen from 1 choice
Apr 12 22:04:53 ina kernel: scsi5 : SCSI emulation for USB Mass Storage devices
Apr 12 22:04:53 ina kernel: usb-storage: device found at 5
Apr 12 22:04:53 ina kernel: usb-storage: waiting for device to settle before scanning
Apr 12 22:04:58 ina kernel: usb-storage: device scan complete
Apr 12 22:04:58 ina kernel: scsi 5:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
Apr 12 22:04:58 ina kernel: scsi 5:0:0:1: Direct-Access Generic USB CF Reader 1.01 PQ: 0 ANSI: 0
Apr 12 22:04:58 ina kernel: scsi 5:0:0:2: Direct-Access Generic USB SM Reader 1.02 PQ: 0 ANSI: 0
Apr 12 22:04:58 ina kernel: scsi 5:0:0:3: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
Apr 12 22:04:58 ina kernel: sd 5:0:0:0: [sdb] Attached SCSI removable disk
Apr 12 22:04:58 ina kernel: sd 5:0:0:1: [sdc] Attached SCSI removable disk
Apr 12 22:04:58 ina kernel: sd 5:0:0:2: [sdd] Attached SCSI removable disk
Apr 12 22:04:58 ina kernel: sd 5:0:0:3: [sde] Attached SCSI removable disk
Zastrčim EMTEC:
Apr 12 22:06:18 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
Apr 12 22:06:28 ina last message repeated 29 times
Apr 12 22:06:28 ina kernel: sd 5:0:0:1: [sdc] READ CAPACITY failed
Apr 12 22:06:28 ina kernel: sd 5:0:0:1: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 22:06:28 ina kernel: sd 5:0:0:1: [sdc] Sense not available.
Apr 12 22:06:28 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
Apr 12 22:06:30 ina last message repeated 5 times
Apr 12 22:06:30 ina kernel: sd 5:0:0:1: [sdc] Write Protect is off
Apr 12 22:06:30 ina kernel: sd 5:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 22:06:30 ina kernel: sd 5:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 22:06:30 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
Apr 12 22:06:39 ina last message repeated 23 times
Apr 12 22:06:39 ina kernel: sd 5:0:0:1: [sdc] READ CAPACITY failed
Apr 12 22:06:39 ina kernel: sd 5:0:0:1: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 22:06:39 ina kernel: sd 5:0:0:1: [sdc] Sense not available.
Apr 12 22:06:39 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
Apr 12 22:06:41 ina last message repeated 5 times
Apr 12 22:06:41 ina kernel: sd 5:0:0:1: [sdc] Write Protect is off
Apr 12 22:06:41 ina kernel: sd 5:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 22:06:41 ina kernel: sd 5:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 22:06:41 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
Apr 12 22:06:51 ina last message repeated 29 times
Apr 12 22:06:51 ina kernel: sd 5:0:0:1: [sdc] READ CAPACITY failed
Apr 12 22:06:51 ina kernel: sd 5:0:0:1: [sdc] Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK,SUGGEST_OK
Apr 12 22:06:51 ina kernel: sd 5:0:0:1: [sdc] Sense not available.
Apr 12 22:06:52 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
Apr 12 22:06:53 ina last message repeated 5 times
Apr 12 22:06:53 ina kernel: sd 5:0:0:1: [sdc] Write Protect is off
Apr 12 22:06:53 ina kernel: sd 5:0:0:1: [sdc] Mode Sense: 00 00 00 00
Apr 12 22:06:53 ina kernel: sd 5:0:0:1: [sdc] Assuming drive cache: write through
Apr 12 22:06:54 ina kernel: usb 6-3: reset high speed USB device using ehci_hcd and address 5
******************