kernel/5168: azalia codec panic - latest snapshot on thinkpad x60s

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

kernel/5168: azalia codec panic - latest snapshot on thinkpad x60s

didier-3
>Number:         5168
>Category:       kernel
>Synopsis:       azalia panic while booting
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:      
>Date-Required:
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 03 09:10:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Didier Wiroth
>Release:        current (snapshot 2 july)
>Organization:
net
>Environment:
  Lenovo Thinkpad X60s
        System      : OpenBSD 3.9
        Architecture: OpenBSD.i386
        Machine     : i386
>Description:
        While booting GENERIC kernel panic happens, related to azalia panic
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,D
S,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,VMX,EST,TM2
cpu0: unknown Enhanced SpeedStep CPU, msr 0x06130a2206000a22
cpu0: using only highest and lowest power states
cpu0: Enhanced SpeedStep 1667 MHz (1244 mV): speeds: 1667, 1000 MHz
real mem  = 2137419776 (2087324K)
avail mem = 1949552640 (1903860K)
using 4256 buffers containing 106975232 bytes (104468K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(ec) BIOS, date 05/23/06, BIOS32 rev. 0 @ 0xfd690, SMB
IOS rev. 2.4 @ 0xe0010 (67 entries)
bios0: LENOVO 17025PG
pcibios0 at bios0: rev 2.1 @ 0xfd620/0x9e0
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdea0/272 (15 entries)
pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00)
pcibios0: PCI bus #6 is the last bus
bios0: ROM list: 0xc0000/0xe400! 0xce800/0x1000 0xcf800/0x1000 0xdc000/0x4000! 0
xe0000/0x10000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "Intel 82945GM MCH" rev 0x03
vga1 at pci0 dev 2 function 0 "Intel 82945GM Video" rev 0x03: aperture at 0xee10
0000, size 0x10000000
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
"Intel 82945GM Video" rev 0x03 at pci0 dev 2 function 1 not configured
azalia0 at pci0 dev 27 function 0 "Intel 82801GB HD Audio" rev 0x02: irq 11
azalia0: host: High Definition Audio rev. 1.0
azalia0: codec: Analog Devices AD1981HD (rev. 2.0), HDA version 1.0
azalia0: codec: 0x04x/0x14f1 (rev. 0.0), HDA version 0.9
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1]: No audio function groups
audio0 at azalia0
ppb0 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x02
pci1 at ppb0 bus 1
em0 at pci1 dev 0 function 0 "Intel PRO/1000MT (82573L)" rev 0x00: irq 11, addre
ss 00:16:d3:21:4b:b6
ppb1 at pci0 dev 28 function 1 "Intel 82801GB PCIE" rev 0x02
pci2 at ppb1 bus 2
wpi0 at pci2 dev 0 function 0 "Intel PRO/Wireless 3945ABG" rev 0x02: irq 11chann
el 1 pwr1 0x0079 pwr2 0x007a
channel 2 pwr1 0x007b pwr2 0x0078
channel 3 pwr1 0x0069 pwr2 0x006a
channel 4 pwr1 0x006c pwr2 0x0069
channel 5 pwr1 0x0000 pwr2 0x0000
channel 6 pwr1 0x007d pwr2 0x007d
channel 7 pwr1 0x007c pwr2 0x007d
channel 8 pwr1 0x0080 pwr2 0x007f
channel 9 pwr1 0x007f pwr2 0x0080
channel 10 pwr1 0x0000 pwr2 0x0000
channel 11 pwr1 0xfffe pwr2 0xfffe
channel 12 pwr1 0xffff pwr2 0xffff
channel 13 pwr1 0xfffe pwr2 0xfffe
channel 14 pwr1 0xffff pwr2 0xffff
, address 00:13:02:16:27:0f
ppb2 at pci0 dev 28 function 2 "Intel 82801GB PCIE" rev 0x02
pci3 at ppb2 bus 3
ppb3 at pci0 dev 28 function 3 "Intel 82801GB PCIE" rev 0x02
pci4 at ppb3 bus 4
uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x02: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x02: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x02: irq 11
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x02: irq 11
usb3 at uhci3: USB revision 1.0
uhub3 at usb3
uhub3: Intel UHCI root hub, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x02: irq 11
usb4 at ehci0: USB revision 2.0
uhub4 at usb4
uhub4: Intel EHCI root hub, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
ppb4 at pci0 dev 30 function 0 "Intel 82801BAM Hub-to-PCI" rev 0xe2
pci5 at ppb4 bus 5
cbb0 at pci5 dev 0 function 0 "Ricoh 5C476 CardBus" rev 0xb4: irq 11
"Ricoh 5C552 Firewire" rev 0x09 at pci5 dev 0 function 1 not configured
sdhc0 at pci5 dev 0 function 2 "Ricoh 5C822 SD/MMC" rev 0x18: irq 11
sdmmc0 at sdhc0
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 6 device 0 cacheline 0x0, lattimer 0xb0
pcmcia0 at cardslot0
ichpcib0 at pci0 dev 31 function 0 "Intel 82801GBM LPC" rev 0x02: PM disabled
pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x02: DMA, channel 0 c
onfigured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-842, RB01> SCSI0 5/cdrom rem
ovable
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
pciide1 at pci0 dev 31 function 2 "Intel 82801GBM AHCI SATA" rev 0x02: DMA, chan
nel 0 wired to native-PCI, channel 1 wired to native-PCI
pciide1: using irq 11 for native-PCI interrupt
wd0 at pciide1 channel 0 drive 0: <HTS541010G9SA00>
wd0: 16-sector PIO, LBA48, 95396MB, 195371568 sectors
wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x02: irq 11
iic0 at ichiic0
isa0 at ichpcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt2 at isa0 port 0x3bc/4: polled
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
biomask efed netmask efed ttymask ffef
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
uhub5 at uhub4 port 6
uhub5: vendor 0x17ef product 0x1000, rev 2.00/0.01, addr 2
uhub5: 4 ports with 4 removable, self powered, multiple transaction translators
ugen0 at uhub3 port 2
ugen0: STMicroelectronics Biometric Coprocessor, rev 1.00/0.01, addr 2
dkcsum: wd0 matches BIOS drive 0x80
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
Automatic boot in progress: starting file system checks.
/dev/rwd0a: file system is clean; not checking
/dev/rwd0e: file system is clean; not checking
/dev/rwd0k: file system is clean; not checking
/dev/rwd0i: file system is clean; not checking
/dev/rwd0j: file system is clean; not checking
/dev/rwd0h: file system is clean; not checking
/dev/rwd0g: file system is clean; not checking
/dev/rwd0f: file system is clean; not checking
/dev/rwd0d: file system is clean; not checking
setting tty flags
kbd: keyboard mapping set to sf
machdep.allowaperture: 0 -> 2
machdep.userldt: 0 -> 1
kern.emul.linux: 0 -> 1
starting network
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPREQUEST on em0 to 255.255.255.255 port 67
DHCPACK from 158.64.58.10
bound to 158.64.58.7 -- renewal in 21600 seconds.
starting system logger
starting initial daemons:.
savecore: no core dump
checking quotas: done.
building ps databases: kvm dev.
clearing /tmp
starting pre-securelevel daemons:.
setting kernel security level: kern.securelevel: 0 -> 1
creating runtime link editor directory cache.
preserving editor files
starting network daemons: sendmail inetd sshd.
uvm_fault(0xd9e5b44c, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped at      azalia_generic_mixer_get+0x2aa: movl    0(%eax,%ebx,4),%eax
ddb>

ddb> trace
azalia_generic_mixer_get(d2ae1050,8,0,eb1afe68,d2adb000) at azalia_generic_mixe
r_get+0x2aa
azalia_generic_get_port(d2ae1050,eb1afe68,0,d2adb000,d2bfec00) at azalia_generi
c_get_port+0x4f
azalia_get_port(d2ae1000,eb1afe68,0,eb1afeac,eb1afe98) at azalia_get_port+0x27
mixer_ioctl(2a10,c0144d00,eb1afe68,3,d9e59b44) at mixer_ioctl+0x116
audioioctl(2a10,c0144d00,eb1afe68,3,d9e59b44) at audioioctl+0xdf
spec_ioctl(eb1afd58,158,eb1afd70,d0422272,d0bc4b80) at spec_ioctl+0x3f
spec_vnoperate(eb1afd58,4,eb1afd80,d0421032,d06f8500) at spec_vnoperate+0x16
VOP_IOCTL(d9d11618,c0144d00,eb1afe68,3,d9e8a000,d9e59b44,d9e5a280,eb06407) at V
OP_IOCTL+0x40
vn_ioctl(d9e48f20,c0144d00,eb1afe68,d9e59b44,d9e5a280) at vn_ioctl+0xd0
sys_ioctl(d9e59b44,eb1aff68,eb1aff58,3,b9) at sys_ioctl+0x125
syscall() at syscall+0x2ea
--- syscall (number 54) ---
0x9711381:

ddb> show registers
ds               0xb0010
es                  0x10
fs                  0x58
gs                  0x10
edi                  0x8
esi           0xd2ae1050        end+0x22fef00
ebp           0xeb1afc40
ebx                    0
edx           0xd2af2000        end+0x230feb0
ecx                  0x3
eax                    0
eip           0xd049026e        azalia_generic_mixer_get+0x2aa
cs                   0x8
eflags           0x10246
esp           0xeb1afc18
ss            0xeb1a0010
azalia_generic_mixer_get+0x2aa: movl    0(%eax,%ebx,4),%eax

ddb> ps
   PID   PPID   PGRP    UID  S       FLAGS  WAIT       COMMAND
  5921  21118  21118      0  3     0x40184  pause      sendmail
*10969  27912  27912      0  7      0x4006             mixerctl
 21118  31774  21118      0  3     0x40184  select     sendmail
 13988      1  13988      0  2         0x4             sshd
 15238      1  15238      0  3       0x184  select     inetd
 31774      1  27912      0  3     0x44186  pause      sendmail
 30230  25228  25228     73  2       0x184             syslogd
 25228      1  25228      0  3        0x84  netio      syslogd
 27614      1  27614     77  3       0x184  poll       dhclient
  3427      1  27912      0  3        0x86  poll       dhclient
 27912      1  27912      0  3      0x4086  pause      sh
    18      0      0      0  3    0x100204  crypto_wa  crypto
    17      0      0      0  3    0x100204  aiodoned   aiodoned
    16      0      0      0  3    0x100204  syncer     update
    15      0      0      0  3    0x100204  cleaner    cleaner
    14      0      0      0  3    0x100204  reaper     reaper
    13      0      0      0  3    0x100204  pgdaemon   pagedaemon
    12      0      0      0  3    0x100204  pftm       pfpurge
    11      0      0      0  3    0x100204  wait       wskbd_hotkey
    10      0      0      0  3    0x100204  cardslote  cardslot0
     9      0      0      0  3    0x100204  sdhcev     sdmmc0
     8      0      0      0  3    0x100204  usbevt     usb4
     7      0      0      0  3    0x100204  usbevt     usb3
     6      0      0      0  3    0x100204  usbevt     usb2
     5      0      0      0  3    0x100204  usbevt     usb1
     4      0      0      0  3    0x100204  usbtsk     usbtask
     3      0      0      0  3    0x100204  usbevt     usb0
     2      0      0      0  3    0x100204  kmalloc    kmthread
     1      0      1      0  3      0x4084  wait       init
     0     -1      0      0  3     0x80204  scheduler  swapper


>How-To-Repeat:
        Reboot and trying to load GENERIC kernel with azalia device enabled

>Fix:
        boot -c
        disable azalia
        quit


>Release-Note:
>Audit-Trail:
>Unformatted: