Linux/Jádro/Chyby/ehci hcd/diary/2007-05-04.Fri

Z Wikiverzity
< Linux‎ | Jádro‎ | Chyby‎ | ehci hcd‎ | diary

Datum: 2007-05-04.Fri

Diářový záznam, týkající se projevů chybného modulu ehci_hcd

@INA:

BOSS Micro-BR:

Mini CD card SanDisk Ultra II 2GB, naformátována podle návodu v přístroji.

Celý MICRO BR připojen přes USB port, namapoval se na /dev/sda

-------------------

# cfdisk /dev/sda


OSUDOVÁ CHYBA: Chybný primární diskový oddíl 0: Partition ends in the final partial cylinder
Stiskněte jakoukoliv klávesu pro ukončení programu cfdisk

-----------------

# fdisk /dev/sda

Příkaz (m pro nápovědu): p

Disk /dev/sda: 1016 MB, 1016332288 bytes
32 heads, 63 sectors/track, 984 cylinders
Units = cylindry of 2016 * 512 = 1032192 bytes

 Zařízení Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1         985      992487+   6  FAT16
Diskový oddíl 1 má rozdílný fyzický a logický konec:
     fyz=(215, 31, 63) logický=(984, 20, 20)

Příkaz (m pro nápovědu): x

Disk /dev/sda: hlav: 32, sektorů: 63, cylindrů: 984

Nr AF  Hd Sec  Cyl  Hd Sec  Cyl     Start      Size ID
 1 80   0  50    0  31  63  215         49    1984975 06
Diskový oddíl 1 má rozdílný fyzický a logický konec:
     fyz=(215, 31, 63) logický=(984, 20, 20)
 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


Příkaz pro odborníky (m pro nápovědu): d
Zařízení: /dev/sda
0x000: FA 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x010: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0C0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x0F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x100: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x110: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x120: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x130: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x140: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x150: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x160: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x170: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x180: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x190: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00
0x1C0: 32 00 06 1F 3F D7 31 00 00 00 CF 49 1E 00 00 00
0x1D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1E0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x1F0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA


Příkaz pro odborníky (m pro nápovědu): v
Diskový oddíl 1 má rozdílný fyzický a logický konec:
     fyz=(215, 31, 63) logický=(984, 20, 20)
Diskový oddíl 1: předchozí sektory 1985023 nesouhlasí s úhrnem 435455
48 unallocated sectors


-----------------------------------

# dd if=/dev/sda of=boss_mbr count=1
1+0 records in
1+0 records out
512 bytes (512 B) copied, 0,0229078 seconds, 22,4 kB/s

# od -x boss_mbr 
0000000 00fa 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
*
0000660 0000 0000 0000 0000 0000 0000 0000 0080
0000700 0032 1f06 d73f 0031 0000 49cf 001e 0000
0000720 0000 0000 0000 0000 0000 0000 0000 0000
*
0000760 0000 0000 0000 0000 0000 0000 0000 aa55
0001000


# od -t x1 boss_mbr 
0000000 fa 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000660 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 00
0000700 32 00 06 1f 3f d7 31 00 00 00 cf 49 1e 00 00 00
0000720 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000760 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa
0001000

----------

# sfdisk -l /dev/sda

Disk /dev/sda: cylindrů: 1016, hlav: 32, sektorů/stopu: 61
Warning: The partition table looks like it was made
  for C/H/S=*/32/63 (instead of 1016/32/61).
For this listing I'll assume that geometry.
Jednotky = cylindry po 1032192 bajtech, bloky po 1024 bajtech, počítáno od 0

   Device Boot Start     End   #cyls    #blocks   Id  System
/dev/sda1   *      0+    984-    985-    992487+   6  FAT16
                konec: (c,h,s) předpoklad (984,20,20) nalezeno (215,31,63)
/dev/sda2          0       -       0          0    0  Prázdný prostor
/dev/sda3          0       -       0          0    0  Prázdný prostor
/dev/sda4          0       -       0          0    0  Prázdný prostor


# sfdisk -s /dev/sda
992512

# sfdisk -V /dev/sda
Varování: diskový oddíl 1 přesahuje za konec disku.

-----------------


2007-05-05.Sat

Přenosové doby:
Z Micro BR přes USB port:


3129344 2006-10-20 00:00 take_dat.br0 = 3.0 MB/3s 


134119130 2007-05-05 13:44 evel-bjb.mp3 = 128M
$ date; cp /MINOLTAa/mp3/evel-bjb.mp3 . ; date
Sat May  5 13:41:38 CEST 2007
Sat May  5 13:44:22 CEST 2007
128MB/164s = 0.78 MB/s


:$ date; cp /MINOLTAa/mp3/evel1-3.wav . ; date
Sat May  5 13:48:58 CEST 2007
Sat May  5 13:59:20 CEST 2007
503332864 2006-10-20 00:00 /MINOLTAa/mp3/evel1-3.wav =  481M/10:18 = 481/618s = 0.778 MB/s

U Slávy z Micro BR to samé, ze čtečky 4.4 MB/s.

---


Velikosti adresářů na plné kartě:
mc:
/mp3       622512K
/roland    369333K
------------------
           991845K

du .
   176  ./roland/br0/song0000.br0
   176  ./roland/br0/song0001.br0
369200  ./roland/br0/song0002.br0
369600  ./roland/br0
369616  ./roland
622528  ./mp3
992160  .


du -b .
    121774  ./roland/br0/song0000.br0
    121774  ./roland/br0/song0001.br0
 378002350  ./roland/br0/song0002.br0
 378262478  ./roland/br0
 378278862  ./roland
 637468378  ./mp3
1015751336  .


df:
/dev/sda1               992240    992240         0 100% /MINOLTAa


alsaplayer evel1-3.wav 
Playing (1/1): 0:11 (95:06) evel1-3.wav    

$ alsaplayer evel-bjb.mp3 
Playing (1/1): 0:03 (93:08) (no title information available)

tj. cca 2 minuty na konci se už nevešly.

===========================

ct. 2007-05-09

petr@ina:~$ usb 1-2: new full speed USB device using uhci_hcd and address 4
usb 1-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
  Vendor: BOSS      Model: MICRO BR          Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 1985024 512-byte hdwr sectors (1016 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 1985024 512-byte hdwr sectors (1016 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: Attached scsi removable disk sda

---


 cp /MINOLTAa/mp3/br_001.mp3 .
FAT: Filesystem panic (dev sda1)
    fat_get_cluster: invalid cluster chain (i_pos 9468)

ls -l /MINOLTAa/mp3/br_001.mp3
-rwxr-xr-x 1 petr petr 87982916 2006-10-20 00:00 /MINOLTAa/mp3/br_001.mp3

---

petr@ina:$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda1               992240    384992    607248  39% /MINOLTAa

$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1             969M  376M  594M  39% /MINOLTAa

---

# fsck.msdos -nv /dev/sda
dosfsck 2.11 (12 Mar 2005)
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
Logical sector size is zero.

---

2007-05-04.Fri

petr@ina:~$ usb 4-2: new high speed USB device using ehci_hcd and address 4
usb 4-2: device descriptor read/64, error -71
usb 4-2: device descriptor read/64, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 5
usb 4-2: device descriptor read/64, error -71
usb 4-2: device descriptor read/64, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 6
usb 4-2: device not accepting address 6, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 7
usb 4-2: device not accepting address 7, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 8
usb 4-2: device descriptor read/64, error -71
usb 4-2: device descriptor read/64, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 9
usb 4-2: device descriptor read/64, error -71
usb 4-2: device descriptor read/64, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 10
usb 4-2: device not accepting address 10, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 11
usb 4-2: device not accepting address 11, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 12
usb 4-2: device descriptor read/64, error -71
usb 4-2: device descriptor read/64, error -71
usb 4-2: new high speed USB device using ehci_hcd and address 13
usb 4-2: device descriptor read/64, error -71
usb 4-2: device descriptor read/64, error -71

-

# /huge/petr/Boss-microBR/oprava# cp -p /dev/sda1 sda1

-rw-rw---- 1 root floppy 1016307200 2007-05-10 21:50 sda1
-rw-rw---- 1 root floppy 970M 2007-05-10 21:50 sda1

---

Fri 2007-05-12

Linux hrc 2.6.18-4-amd64 #1 SMP Mon Mar 26 11:36:53 CEST 2007 x86_64
tam ta čtečka karet funguje

tady:
Linux ina 2.6.18-3-k7 #1 SMP Mon Dec 4 17:23:11 UTC 2006 i686 GNU/Linux
je divný, že tady ne, asi to bude nějakými moduly?

No tak dám na Inu taky Linux ina 2.6.18-3-k7.

---

Nepomohlo to:

usb 4-6: new high speed USB device using ehci_hcd and address 78
usb 4-6: new high speed USB device using ehci_hcd and address 79
usb 4-6: new high speed USB device using ehci_hcd and address 80
hub 4-0:1.0: Cannot enable port 6.  Maybe the USB cable is bad?
usb 4-6: new high speed USB device using ehci_hcd and address 81
hub 4-0:1.0: Cannot enable port 6.  Maybe the USB cable is bad?
usb 4-6: new high speed USB device using ehci_hcd and address 82
usb 4-6: device not accepting address 82, error -71
usb 4-6: new high speed USB device using ehci_hcd and address 84
usb 4-6: new high speed USB device using ehci_hcd and address 85
usb 4-6: new high speed USB device using ehci_hcd and address 86
usb 4-6: new high speed USB device using ehci_hcd and address 87
usb 4-6: new high speed USB device using ehci_hcd and address 88
hub 4-0:1.0: Cannot enable port 6.  Maybe the USB cable is bad?
usb 4-6: new high speed USB device using ehci_hcd and address 90
usb 4-6: new high speed USB device using ehci_hcd and address 91
usb 4-6: new high speed USB device using ehci_hcd and address 92
hub 4-0:1.0: Cannot enable port 6.  Maybe the USB cable is bad?
usb 4-6: new high speed USB device using ehci_hcd and address 93
hub 4-0:1.0: Cannot enable port 6.  Maybe the USB cable is bad?
usb 4-6: new high speed USB device using ehci_hcd and address 94
usb 4-6: device not accepting address 94, error -71
usb 4-6: new high speed USB device using ehci_hcd and address 95
usb 4-6: device not accepting address 95, error -71

--

Teď byl problém i s připojení BR, nemohl se připojit,
musel jsem ho dát až na krátký kabel k počítači. Pak:

petr@ina:~$ usb 2-2: new full speed USB device using uhci_hcd and address 3
usb 2-2: configuration #1 chosen from 1 choice
Initializing USB Mass Storage driver...
scsi2 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
  Vendor: BOSS      Model: MICRO BR          Rev: 1.00
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 1985024 512-byte hdwr sectors (1016 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
SCSI device sda: 1985024 512-byte hdwr sectors (1016 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 sda: sda1
sd 2:0:0:0: Attached scsi removable disk sda

---