Subject: Re: Latest auich for i82801EB gives calibration timed out
To: Jorgen Lundman <lundman@lundman.net>
From: Jorgen Lundman <lundman@lundman.net>
List: netbsd-users
Date: 07/13/2005 10:14:04
I was expecting verbose all through out, but it is all at the top of course. 
Also turned on Audio debug.


total memory = 503 MB
avail memory = 484 MB
BIOS32 rev. 0 found at 0xfd71c
PCI BIOS rev. 2.1 found at 0xfd98d
pcibios: config mechanism [1][x], special cycles [x][x], last bus 3
PCI IRQ Routing Table rev. 1.0 found at 0xfdf00, size 224 bytes (12 entries)
PCI Interrupt Router at 000:31:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX) compati
ble)
------------------------------------------
   device vendor product pin PIRQ IRQ stage
------------------------------------------
000:02:0 0x8086 0x2572   A  0x00  11  0    already assigned
000:31:1 0x8086 0x24db   A  0x02   5  0    fixed up
000:31:3 0x8086 0x24d3   B  0x01   9  0    already assigned
000:31:5 0x8086 0x24d5   B  0x01   9  0    already assigned
003:08:0 0x8086 0x1050   A  0x04  11  0    already assigned
003:09:0 0x8086 0x1229   A  0x05  15  0    WARNING: ignored
------------------------------------------
PCI fixup examining 8086:2570
PCI fixup examining 8086:2572
PCI fixup examining 8086:244e
PCI fixup examining 8086:1050
PCI fixup examining 8086:1229
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:24d0
PCI fixup examining 8086:24db
PCI fixup examining 8086:24d3
PCI fixup examining 8086:24d5
PCI bus #1 is the last bus
[System BIOS Setting]-----------------------
   device vendor product
   register space address    size
--------------------------------------------
000:00:0 0x8086 0x2570
         10h mem  0xec000000 0x04000000
                 [OK]
000:02:0 0x8086 0x2572
         10h mem  0xf0000000 0x08000000
         14h mem  0xe8000000 0x00080000
         18h port 0x00001800 0x00000008
                 [OK]
000:30:0 0x8086 0x244e
                 [OK]
000:31:0 0x8086 0x24d0
                 [OK]
000:31:1 0x8086 0x24db
         10h port 0x00000000 0x00000008
         14h port 0x00000000 0x00000004
         18h port 0x00000000 0x00000008
         1ch port 0x00000000 0x00000004
         20h port 0x00001810 0x00000010
         24h mem  0x00000000 0x00000400
                 [NG]
000:31:3 0x8086 0x24d3
         20h port 0x000018a0 0x00000020
                 [OK]
000:31:5 0x8086 0x24d5
         10h port 0x00001c00 0x00000100
         14h port 0x000018c0 0x00000040
         18h mem  0xe8080c00 0x00000200
         1ch mem  0xe8080800 0x00000100
                 [OK]
001:08:0 0x8086 0x1050
         10h mem  0xe8120000 0x00001000
         14h port 0x00002000 0x00000040
                 [OK]
001:09:0 0x8086 0x1229
         10h mem  0xe8121000 0x00001000
         14h port 0x00002040 0x00000040
         18h mem  0xe8100000 0x00020000
                 [OK]
--------------------------[  1 devices bogus]
  Physical memory end: 0x1f76c000
  PCI memory mapped I/O space start: 0x1f800000
[PCIBIOS fixup stage]-----------------------
   device vendor product
   register space address    size
--------------------------------------------
000:00:0 0x8086 0x2570
         10h mem  0xec000000 0x04000000
                 [OK]
000:02:0 0x8086 0x2572
         10h mem  0xf0000000 0x08000000
         14h mem  0xe8000000 0x00080000
         18h port 0x00001800 0x00000008
                 [OK]
000:30:0 0x8086 0x244e
                 [OK]
000:31:0 0x8086 0x24d0
                 [OK]
000:31:1 0x8086 0x24db
         10h port 0x00005800 0x00000008
         14h port 0x00005808 0x00000004
         18h port 0x00005810 0x00000008
         1ch port 0x0000580c 0x00000004
         20h port 0x00001810 0x00000010
         24h mem  0x1f800000 0x00000400
                 [OK]
000:31:3 0x8086 0x24d3
         20h port 0x000018a0 0x00000020
                 [OK]
000:31:5 0x8086 0x24d5
         10h port 0x00001c00 0x00000100
         14h port 0x000018c0 0x00000040
         18h mem  0xe8080c00 0x00000200
         1ch mem  0xe8080800 0x00000100
                 [OK]
001:08:0 0x8086 0x1050
         10h mem  0xe8120000 0x00001000
         14h port 0x00002000 0x00000040
                 [OK]
001:09:0 0x8086 0x1229
         10h mem  0xe8121000 0x00001000
         14h port 0x00002040 0x00000040
         18h mem  0xe8100000 0x00020000
                 [OK]
--------------------------[  0 devices bogus]
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel (686-class), 2793.11 MHz, id 0xf41
cpu0: features bfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features bfebfbff<PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX>
cpu0: features bfebfbff<FXSR,SSE,SSE2,SS,HTT,TM,SBF>
cpu0: I-cache 12K uOp cache 8-way
cpu0: L2 cache 1 MB 64B/line 8-way
cpu0: ITLB 4K/4M: 128 entries
cpu0: DTLB 4K/4M: 64 entries
cpu0: 32 page colors
[snip]
auich0 at pci0 dev 31 function 5: i82801EB (ICH5) AC-97 Audio
CSR=2900007
auich0: interrupting at irq 9
auich_attach: lists 0xce7ba000 0xce7ba100 0xce7ba200
auich_write_codec(26, 0)
auich_write_codec(0, 0)
auich_read_codec(26, f)
auich_write_codec(0, 0)
auich_write_codec(0, 0)
auich_write_codec(0, 0)
auich_write_codec(2, 8000)
auich_write_codec(6, 8000)
auich_write_codec(20, 0)
auich_write_codec(4, 8000)
auich_write_codec(38, 8080)
auich_write_codec(36, 8080)
auich_write_codec(36, 8080)
auich_write_codec(36, 8080)
auich_write_codec(36, 8080)
auich_write_codec(8, f0f)
auich_write_codec(a, 0)
auich_write_codec(c, 8008)
auich_write_codec(e, 8008)
auich_write_codec(e, 8008)
auich_write_codec(20, 0)
auich_write_codec(10, 8808)
auich_write_codec(12, 8808)
auich_write_codec(14, 8808)
auich_write_codec(16, 8808)
auich_write_codec(18, 8808)
auich_write_codec(1a, 0)
auich_write_codec(1c, 8000)
auich_write_codec(1e, 8000)
auich_write_codec(20, 0)
auich_write_codec(20, 0)
auich_write_codec(22, 0)
auich_write_codec(22, 0)
auich_read_codec(0, 90)
auich_read_codec(7c, 4144)
auich_read_codec(7e, 5374)
auich0: ac97: Analog Devices AD1981B codec; headphone, 20 bit DAC, no 3D stereo
auich_read_codec(28, 601)
auich0: ac97: ext id 601<AC97_22,AMAP,VRA>
auich_read_codec(2a, 10)
auich_write_codec(2a, 11)
auich_write_codec(2c, ac44)
auich_read_codec(2c, ac44)
auich_write_codec(2c, bb80)
auich_read_codec(2, 8000)
auich_write_codec(2, 0)
auich_read_codec(4, 8000)
auich_write_codec(4, 0)
auich_read_codec(18, 8808)
auich_write_codec(18, 808)
auich_read_codec(12, 8808)
auich_write_codec(12, 808)
auich_read_codec(10, 8808)
auich_write_codec(10, 808)
auich_read_codec(16, 8808)
auich_write_codec(16, 808)
auich_read_codec(14, 0)
auich_write_codec(14, 0)
auich_read_codec(1c, 8000)
auich_write_codec(1c, 0)
auich_read_codec(1a, 0)
auich_write_codec(1a, 0)
auich_read_codec(2, 0)
auich_write_codec(2, 1010)
[snip]
isapnp0: no ISA Plug 'n Play devices found
auich_read_codec(26, f)
auich_write_codec(26, ffff)
auich_write_codec(32, bb80)
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich0: ac97 link rate calibration timed out after 1996432 us
auich0: measured ac97 link rate at 8014 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich_write_codec(32, 1f40)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich_write_codec(2c, 1f40)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich_write_codec(2e, 1f40)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
auich_write_codec(30, 1f40)
auich0: write_codec timeout
auich0: read_codec timeout
auich_write_codec(26, ffff)
auich0: write_codec timeout
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
Kernelized RAIDframe activated


For now I have disabled the device in BIOS and put in a SBLive I had lying 
around. I don't mind helping/debugging this problem as it would be nicer not to 
have to use my own hardware in a work machine, even if it wasn't being used.


Lund

-- 
Jorgen Lundman       | <lundman@lundman.net>
Unix Administrator   | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo    | +81 (0)90-5578-8500          (cell)
Japan                | +81 (0)3 -3375-1767          (home)