On Wed, Apr 18, 2018 at 11:40:06AM +0200, Alexander Bluhm wrote: > Hi, > > my i386 regression test machine crashed with the Tue Apr 17 snapshot > in radeondrm_attachhook().
So the machine doesn't have /etc/firmware/radeon/R100_cp.bin ? I have an i386 laptop that loads r100 microcode which works. > > uvm_fault(0xd0ccfb70, 0xd11e0000, 0, 1) -> e > kernel: page fault trap, code=0 > Stopped at pmap_page_remove_pae+0x18: cmpl $0,0x48(%edi) > > pmap_page_remove_pae(d11e0800) at pmap_page_remove_pae+0x18 > ttm_tt_destroy(d5763980) at ttm_tt_destroy+0x61 > ttm_bo_cleanup_refs_or_queue(d572cb28) at ttm_bo_cleanup_refs_or_queue+0x2b3 > ttm_bo_unref(d0f61ed8) at ttm_bo_unref+0x69 > radeon_bo_unref(d572cb28) at radeon_bo_unref+0x27 > radeon_wb_fini(d572b000) at radeon_wb_fini+0x49 > r100_init(d572b000) at r100_init+0x409 > radeon_device_init(d572b000,d56ff400,d56ff43c,840001) at > radeon_device_init+0x797 > radeondrm_attachhook(d572b000) at radeondrm_attachhook+0x2b > config_process_deferred_mountroot() at config_process_deferred_mountroot+0x2c > main(0) at main+0x7bf > > Full console output below. > > bluhm > > >> OpenBSD/i386 BOOT 3.31 > boot> > booting hd0a:/bsd: 8620607+2356228+188436+0+1101824 > [695508+98+513600+533177]=0xd5e848 > entry point at 0x2000d4 > > [ using 1742920 bytes of bsd ELF symbol table ] > Copyright (c) 1982, 1986, 1989, 1991, 1993 > The Regents of the University of California. All rights reserved. > Copyright (c) 1995-2018 OpenBSD. All rights reserved. https://www.OpenBSD.org > > OpenBSD 6.3-current (GENERIC.MP) #559: Tue Apr 17 10:11:13 MDT 2018 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP > real mem = 2145783808 (2046MB) > avail mem = 2092011520 (1995MB) > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 07/12/06, BIOS32 rev. 0 @ 0xfd450, SMBIOS rev. 2.51 @ > 0x7feea000 (35 entries) > bios0: vendor Phoenix Technologies LTD version "6.00" date 07/12/2006 > bios0: Supermicro PDSM4+ > acpi0 at bios0: rev 0 > acpi0: sleep states S0 S1 S4 S5 > acpi0: tables DSDT FACP MCFG APIC BOOT SSDT > acpi0: wakeup devices PXHA(S5) PXHB(S5) DEV3(S5) EXP1(S5) EXP5(S5) EXP6(S5) > PCIB(S5) KBC0(S1) MSE0(S1) COM1(S5) COM2(S5) USB1(S4) USB2(S4) USB3(S4) > USB4(S4) EUSB(S4) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimcfg0 at acpi0 addr 0xf0000000, bus 0-14 > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz ("GenuineIntel" 686-class) 1.87 > GHz > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 266MHz > cpu0: mwait min=64, max=64, C-substates=0.2, IBE > cpu1 at mainbus0: apid 1 (application processor) > cpu1: Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz ("GenuineIntel" 686-class) 1.87 > GHz > cpu1: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,NXE,LONG,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,LAHF,PERF,SENSOR > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 20, 24 pins > ioapic1 at mainbus0: apid 3 pa 0xfecc0000, version 20, 24 pins > ioapic2 at mainbus0: apid 4 pa 0xfecc0400, version 20, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 2 (PXHA) > acpiprt2 at acpi0: bus 3 (PXHB) > acpiprt3 at acpi0: bus -1 (DEV3) > acpiprt4 at acpi0: bus 9 (EXP1) > acpiprt5 at acpi0: bus 13 (EXP5) > acpiprt6 at acpi0: bus 14 (EXP6) > acpiprt7 at acpi0: bus 15 (PCIB) > acpicpu0 at acpi0: C1(@1 halt!) > acpicpu1 at acpi0: C1(@1 halt!) > acpicmos0 at acpi0 > "PNP0A05" at acpi0 not configured > acpibtn0 at acpi0: PWRB > bios0: ROM list: 0xc0000/0xb000 0xcb000/0x1000 0xcc000/0x1000 0xcd000/0x2600 > ipmi at mainbus0 not configured > cpu0: Enhanced SpeedStep disabled by BIOS > pci0 at mainbus0 bus 0: configuration mode 1 (bios) > pchb0 at pci0 dev 0 function 0 "Intel E7230 Host" rev 0xc0 > ppb0 at pci0 dev 1 function 0 "Intel E7230 PCIE" rev 0xc0: apic 2 int 16 > pci1 at ppb0 bus 1 > ppb1 at pci1 dev 0 function 0 "Intel 6700PXH PCIE-PCIX" rev 0x09 > pci2 at ppb1 bus 2 > em0 at pci2 dev 2 function 0 "Intel 82545GM" rev 0x04: apic 3 int 4, address > 00:04:23:cd:41:fb > "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 1 not configured > ppb2 at pci1 dev 0 function 2 "Intel 6700PXH PCIE-PCIX" rev 0x09 > pci3 at ppb2 bus 3 > em1 at pci3 dev 1 function 0 "Intel 82545GM" rev 0x04: apic 4 int 0, address > 00:1b:21:0e:6e:8e > ami0 at pci3 dev 3 function 0 "Symbios Logic MegaRAID" rev 0x01: apic 4 int 4 > ami0: LSI 520, 64b/lhc, FW 1L47, BIOS vG121, 128MB RAM > ami0: 1 channels, 0 FC loops, 2 logical drives > scsibus1 at ami0: 40 targets > sd0 at scsibus1 targ 0 lun 0: <AMI, Host drive #00, > SCSI2 0/direct fixed > sd0: 35045MB, 512 bytes/sector, 71772160 sectors > sd1 at scsibus1 targ 1 lun 0: <AMI, Host drive #01, > SCSI2 0/direct fixed > sd1: 140271MB, 512 bytes/sector, 287275008 sectors > scsibus2 at ami0: 16 targets > "Intel IOxAPIC" rev 0x09 at pci1 dev 0 function 3 not configured > ppb3 at pci0 dev 28 function 0 "Intel 82801GB PCIE" rev 0x01: apic 2 int 17 > pci4 at ppb3 bus 9 > ppb4 at pci0 dev 28 function 4 "Intel 82801G PCIE" rev 0x01: apic 2 int 17 > pci5 at ppb4 bus 13 > em2 at pci5 dev 0 function 0 "Intel 82573E" rev 0x03: msi, address > 00:30:48:8c:50:20 > ppb5 at pci0 dev 28 function 5 "Intel 82801G PCIE" rev 0x01: apic 2 int 16 > pci6 at ppb5 bus 14 > em3 at pci6 dev 0 function 0 "Intel 82573L" rev 0x00: msi, address > 00:30:48:8c:50:21 > uhci0 at pci0 dev 29 function 0 "Intel 82801GB USB" rev 0x01: apic 2 int 23 > uhci1 at pci0 dev 29 function 1 "Intel 82801GB USB" rev 0x01: apic 2 int 19 > uhci2 at pci0 dev 29 function 2 "Intel 82801GB USB" rev 0x01: apic 2 int 18 > uhci3 at pci0 dev 29 function 3 "Intel 82801GB USB" rev 0x01: apic 2 int 16 > ehci0 at pci0 dev 29 function 7 "Intel 82801GB USB" rev 0x01: apic 2 int 23 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > addr 1 > ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xe1 > pci7 at ppb6 bus 15 > radeondrm0 at pci7 dev 4 function 0 "ATI ES1000" rev 0x02 > drm0 at radeondrm0 > radeondrm0: apic 2 int 16 > ichpcib0 at pci0 dev 31 function 0 "Intel 82801GB LPC" rev 0x01: PM disabled > pciide0 at pci0 dev 31 function 1 "Intel 82801GB IDE" rev 0x01: DMA, channel > 0 configured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 1 > scsibus3 at atapiscsi0: 2 targets > cd0 at scsibus3 targ 0 lun 0: <Optiarc, DVD RW AD-7543A, 1-00> ATAPI 5/cdrom > removable > cd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 disabled (no drives) > ichiic0 at pci0 dev 31 function 3 "Intel 82801GB SMBus" rev 0x01: apic 2 int > 19 > iic0 at ichiic0 > lm1 at iic0 addr 0x2d: W83627HF > wbng0 at iic0 addr 0x2f: w83793g > spdmem0 at iic0 addr 0x50: 1GB DDR2 SDRAM ECC PC2-4200CL5 > spdmem1 at iic0 addr 0x52: 1GB DDR2 SDRAM ECC PC2-4200CL5 > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > usb4 at uhci3: USB revision 1.0 > uhub4 at usb4 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > addr 1 > isa0 at ichpcib0 > isadma0 at isa0 > fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > com0: console > com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 irq 1 irq 12 > pckbd0 at pckbc0 (kbd slot) > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > wbsio0 at isa0 port 0x2e/2: W83627HF rev 0x41 > lm2 at wbsio0 port 0x290/8: W83627HF > lm1: disabling sensors due to alias with lm2 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > vmm0 at mainbus0: VMX > rum0 at uhub0 port 5 configuration 1 interface 0 "Ralink Technology RT2573" > rev 2.00/0.01 addr 2 > rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address d8:5d:4c:8f:29:2f > vscsi0 at root > scsibus4 at vscsi0: 256 targets > softraid0 at root > scsibus5 at softraid0: 256 targets > root on sd0a (3c01ce510560b397.a) swap on sd0b dump on sd0b > initializing kernel modesetting (RV100 0x1002:0x515E 0x1002:0x515E). > radeon_cp: Failed to load firmware "radeon/R100_cp.bin" > error: [drm:pid0:r100_cp_init] *ERROR* Failed to load firmware! > drm:pid0:r100_startup *ERROR* failed initializing CP (-2). > drm:pid0:r100_init *ERROR* Disabling GPU acceleration > uvm_fault(0xd0ccfb70, 0xd11e0000, 0, 1) -> e > kernel: page fault trap, code=0 > Stopped at pmap_page_remove_pae+0x18: cmpl $0,0x48(%edi) > ddb{0}> trace > pmap_page_remove_pae(d11e0800) at pmap_page_remove_pae+0x18 > ttm_tt_destroy(d5763980) at ttm_tt_destroy+0x61 > ttm_bo_cleanup_refs_or_queue(d572cb28) at ttm_bo_cleanup_refs_or_queue+0x2b3 > ttm_bo_unref(d0f61ed8) at ttm_bo_unref+0x69 > radeon_bo_unref(d572cb28) at radeon_bo_unref+0x27 > radeon_wb_fini(d572b000) at radeon_wb_fini+0x49 > r100_init(d572b000) at r100_init+0x409 > radeon_device_init(d572b000,d56ff400,d56ff43c,840001) at > radeon_device_init+0x797 > radeondrm_attachhook(d572b000) at radeondrm_attachhook+0x2b > config_process_deferred_mountroot() at config_process_deferred_mountroot+0x2c > main(0) at main+0x7bf > ddb{0}> show panic > the kernel did not panic > ddb{0}> ps > PID TID PPID UID S FLAGS WAIT COMMAND > 57351 316378 0 0 3 0x14200 bored ttm_swap > 82208 223952 0 0 7 0x14200 zerothread > 92983 123432 0 0 3 0x14200 aiodoned aiodoned > 52601 142782 0 0 3 0x14200 syncer update > 29162 16585 0 0 3 0x14200 cleaner cleaner > 97090 167215 0 0 3 0x14200 reaper reaper > 22704 220666 0 0 3 0x14200 pgdaemon pagedaemon > 76146 179250 0 0 3 0x14200 bored crynlk > 17336 379823 0 0 3 0x14200 bored crypto > 2587 88505 0 0 3 0x14200 fdprobe fdcattach > 78045 219036 0 0 3 0x14200 usbtsk usbtask > 17847 426273 0 0 3 0x14200 usbatsk usbatsk > 98549 348763 0 0 3 0x14200 bored sensors > 57884 422046 0 0 3 0x40014200 acpi0 acpi0 > 19789 207816 0 0 1 0x14200 idle1 > 25879 485126 0 0 3 0x14200 bored softnet > 71257 149852 0 0 3 0x14200 bored systqmp > 1302 142592 0 0 3 0x14200 bored systq > 6487 44977 0 0 3 0x40014200 bored softclock > 80327 82376 0 0 3 0x40014200 idle0 > 32446 408372 0 0 3 0x14200 kmalloc kmthread > 1 133585 0 0 3 0 initexec swapper > * 0 0 -1 0 7 0x10200 swapper >
