> Date: Mon, 06 Jun 2011 11:13:12 +0100 > From: Nigel Taylor <njtay...@asterisk.demon.co.uk> > > On 06/05/11 11:22, Nigel Taylor wrote: > > Hi, > > > > I rebuilt GENERIC.MP from cvs (current 4th June 2011). This crashed on > > boot. I reverted to old bsd.mp from April this booted. I downloaded > > bsd.mp from a mirror site this booted (date 14th May 2011). I downloaded > > a more recent bsd.mp from ftp.openbsd.org (4 June 2011 GENERIC.MP #57), > > this crashed on boot in the same place as built from cvs. Below I have > > typed from screen the panic. > > > > wsdisplay0 at vga1 mux 1:console (80x25, vt100 emulation) > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > radeibdrm0 at vga1: apic 2 int 18 > > drm0 at radeondrm0 > > azalia0 at pci1 dev 5 function 1 "ATI RS780 HD Audio" rev 0x00: msi > > azalia0: no supported codecs > > panic: intr_disestablish: bogus irq 160 > > Stopped at Debugger+0x4: popl %ebp > > Debugger(d08ebba2,d0bb4a34,d098c3b0,d0bb4a34,d0a5ddb8) at Debuuger+0x4 > > panic(d098c3b0,a0,d0a3f4a0,3dc,3dc) at panic+0x5d > > isa_disestablish(0,d68f1480,5d,5,d9bb4a84) at isa_intr_disestabish+0ca > > azalia_pci_detach(d68bea00,0,20000000,0,0,a0,d05d3990,d68bea00,d68bea1 > > 4,5,0,80012900,20000000,0,0) at azalia_pci_detach+0x14a > > azalia_pci_attach(d68ae5080,d68bea00,d0bb4b54md03e77db,d05ab9f0) at > > azalia_pci_attach+0x1b9 > > config_attach(d68ae580,d09c92a0,d0bb4b54,d05adb70,d0bb4b44) at > > config_attach+0x157 > > pci_probe_deveice(d68ae580,80012900,0,0,8ae580) at pci_probe_device+0x420 > > pci_enuimerate_bus(d68ae580,0,0,d03e77db,0) at pci_enumerate_bus+0x11c > > config_attach(d6923800,d09c9020,d0bb4c6c,d061e1e0,0) at config_attach+0x157 > > ppbattach(d68ae780,d6923800,d0bb4d54,d03e77db,d05ab9f0) at ppbattach+0x2b8 > > > > trace > > isa_intr_disestablish > > azailia_pci_detach > > azailia_pci_attach > > config_attach > > pci_probe_device > > pci_enumerate_bus > > config_attach > > ppbattach > > config_attach > > pci_probe_device > > pci_enumerate_bus > > config_attach > > mainbus_attach > > config_attach > > config_rootfound > > cpu_confgiure > > main > > > > ps > > PID PPID PGRP UID S FLAGS WAit COMMAND > > * 0 -1 0 0 7 0x00200 swapper > > > > > > dmesg from snapshot downloaded from mirror > > > > OpenBSD 4.9-current (GENERIC.MP) #112: Sat May 14 09:59:17 MDT 2011 > > t...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP > > cpu0: AMD Athlon(tm) II X2 240e Processor ("AuthenticAMD" 686-class, > > 1024KB L2 cache) 2.81 GHz > > cpu0: > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT > > real mem = 3488739328 (3327MB) > > avail mem = 3421507584 (3263MB) > > mainbus0 at root > > bios0 at mainbus0: AT/286+ BIOS, date 08/04/09, BIOS32 rev. 0 @ 0xf0010, > > SMBIOS rev. 2.5 @ 0x9f400 (69 entries) > > bios0: vendor American Megatrends Inc. version "080014" date 08/04/2009 > > bios0: FOXCONN A7GM-S 2.0 > > acpi0 at bios0: rev 0 > > acpi0: sleep states S0 S3 S4 S5 > > acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT > > acpi0: wakeup devices PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) > > PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) UHC1(S4) UHC2(S4) > > UHC3(S4) USB4(S4) UHC5(S4) UHC6(S4) UHC7(S4) PCE2(S4) PCE9(S4) PCEA(S4) > > PWRB(S3) > > acpitimer0 at acpi0: 3579545 Hz, 32 bits > > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > > cpu0 at mainbus0: apid 0 (boot processor) > > cpu0: apic clock running at 200MHz > > cpu1 at mainbus0: apid 1 (application processor) > > cpu1: AMD Athlon(tm) II X2 240e Processor ("AuthenticAMD" 686-class, > > 1024KB L2 cache) 2.81 GHz > > cpu1: > > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT > > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins > > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > > acpihpet0 at acpi0: 14318180 Hz > > acpiprt0 at acpi0: bus 0 (PCI0) > > acpiprt1 at acpi0: bus 1 (P0P1) > > acpiprt2 at acpi0: bus -1 (PCE3) > > acpiprt3 at acpi0: bus -1 (PCE4) > > acpiprt4 at acpi0: bus 3 (P0PC) > > acpiprt5 at acpi0: bus -1 (PCE2) > > acpiprt6 at acpi0: bus 2 (PCE9) > > acpiprt7 at acpi0: bus -1 (PCEA) > > acpicpu0 at acpi0: PSS > > acpicpu1 at acpi0: PSS > > acpitz0 at acpi0: critical temperature 60 degC > > acpibtn0 at acpi0: PWRB > > bios0: ROM list: 0xc0000/0xea00 > > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > > pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 > > ppb0 at pci0 dev 1 function 0 "AMD RS780 PCIE" rev 0x00 > > pci1 at ppb0 bus 1 > > vga1 at pci1 dev 5 function 0 "ATI Radeon HD 3200" rev 0x00 > > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > > radeondrm0 at vga1: apic 2 int 18 > > drm0 at radeondrm0 > > azalia0 at pci1 dev 5 function 1 "ATI RS780 HD Audio" rev 0x00: apic 2 > > int 19 > > azalia0: no supported codecs > > ppb1 at pci0 dev 9 function 0 "AMD RS780 PCIE" rev 0x00 > > pci2 at ppb1 bus 2 > > re0 at pci2 dev 0 function 0 "Realtek 8168" rev 0x03: RTL8168D/8111D > > (0x2800), apic 2 int 17, address 00:22:68:80:e9:f7 > > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 2 > > ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int > > 22, AHCI 1.1 > > scsibus0 at ahci0: 32 targets > > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16, > > version 1.0, legacy support > > ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16, > > version 1.0, legacy support > > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 > > usb0 at ehci0: USB revision 2.0 > > uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > > ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18, > > version 1.0, legacy support > > ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 18, > > version 1.0, legacy support > > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 > > usb1 at ehci1: USB revision 2.0 > > uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI > > iic0 at piixpm0 > > iic0: addr 0x2f 01=33 02=30 03=33 04=30 05=33 06=33 07=33 08=40 09=48 > > 0a=48 0b=03 0c=98 10=00 11=70 12=40 5a=05 5b=10 5c=10 5d=19 5e=34 f0=20 > > f1=20 f2=02 fa=00 ff=5e words 00=ffff 01=33ff 02=30ff 03=33ff 04=30ff > > 05=33ff 06=33ff 07=33ff > > spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5 > > spdmem1 at iic0 addr 0x51: 2GB DDR2 SDRAM non-parity PC2-6400CL5 > > pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel > > 0 configured to compatibility, channel 1 configured to compatibility > > wd0 at pciide0 channel 0 drive 0: <SAMSUNG HD501LJ> > > wd0: 16-sector PIO, LBA48, 476940MB, 976773168 sectors > > wd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 > > azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 > > int 16 > > azalia1: codecs: Realtek ALC888 > > audio0 at azalia1 > > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 > > ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 > > pci3 at ppb2 bus 3 > > ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18, > > version 1.0, legacy support > > pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 > > pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 > > pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 > > km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 > > pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 > > usb2 at ohci0: USB revision 1.0 > > uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > > usb3 at ohci1: USB revision 1.0 > > uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > > usb4 at ohci2: USB revision 1.0 > > uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > > usb5 at ohci3: USB revision 1.0 > > uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > > isa0 at pcib0 > > isadma0 at isa0 > > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > > 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 > > pcppi0 at isa0 port 0x61 > > spkr0 at pcppi0 > > it0 at isa0 port 0x2e/2: IT8716F rev 3, EC port 0xe80 > > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > > usb6 at ohci4: USB revision 1.0 > > uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > > mtrr: Pentium Pro MTRR support > > vscsi0 at root > > scsibus1 at vscsi0: 256 targets > > softraid0 at root > > root on wd0a swap on wd0b dump on wd0b > > > > > > Regards > > > > Nigel Taylor > > > > > > Hi, > > I think I have tracked the issue down to src/sys/dev/pci/azalia.c > > I built the GENERIC.MP using cvs with selected dates, 21 May, 28 May, 01 > June, 02 June all booted, 03 June failed to boot, panic as above. > > Changes between 02 June / 03 June included azalia.c ahci.c drm, cvs set > back to head then azalia.c only reverted to version on 02 June v1.195 > rather than v1.197. GENERIC.MP rebuilt and booted without issue. > > Let me know if anything else required, willing to test any changes.
I'm working on a fix. Will probably mail you a diff to test tonight. Cheers, Mark