On Tue, Oct 26, 2021 at 03:42:29PM +0200, Alexander Bluhm wrote: > One of my i386 regrass machines panics during boot. Looks like the > first softclock.
With a kernel built from current sources it works. > OpenBSD 7.0-current (GENERIC.MP) #248: Mon Oct 25 11:46:16 MDT 2021 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP > ... > lm1: disabling sensors due to alias with lm2 > npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 > dt: 445 probes > panic: attempt to execute user address 0x0 in supervisor mode > Stopped at db_enter+0x4: popl %ebp > TID PID UID PRFLAGS PFLAGS CPU COMMAND > db_enter(f57bba24,d0e194de,0,0,d6fc77e4) at db_enter+0x4 > panic(d0c4d8a6,0,0,4,d0e56388) at panic+0x7a > kpageflttrap(f57bba78,0,0,0,f57bba8c) at kpageflttrap+0x144 > trap(f57bba78) at trap+0x25f > calltrap(50,10202,d02aaff5,64,15) at calltrap+0xc > gdt(0) at 0 > softclock_process_tick_timeout(d0df3f8c,0) at > softclock_process_tick_timeout+0x > f6 > softclock(0) at softclock+0x87 > softintr_dispatch(0) at softintr_dispatch+0x87 > Xsoftclock(8,293,f57bbbe4,d02aabfa,d0e193cc) at Xsoftclock+0x12 > acpicpu_idle(d09bc620,d0e19008,d09bc390,0,d0e18ff8) at acpicpu_idle+0x238 > cpu_idle_cycle(d0e18ff8) at cpu_idle_cycle+0xc > > ddb{0}> trace > db_enter(f57bba24,d0e194de,0,0,d6fc77e4) at db_enter+0x4 > panic(d0c4d8a6,0,0,4,d0e56388) at panic+0x7a > kpageflttrap(f57bba78,0,0,0,f57bba8c) at kpageflttrap+0x144 > trap(f57bba78) at trap+0x25f > calltrap(50,10202,d02aaff5,64,15) at calltrap+0xc > gdt(0) at 0 > softclock_process_tick_timeout(d0df3f8c,0) at > softclock_process_tick_timeout+0x > f6 > softclock(0) at softclock+0x87 > softintr_dispatch(0) at softintr_dispatch+0x87 > Xsoftclock(8,293,f57bbbe4,d02aabfa,d0e193cc) at Xsoftclock+0x12 > acpicpu_idle(d09bc620,d0e19008,d09bc390,0,d0e18ff8) at acpicpu_idle+0x238 > cpu_idle_cycle(d0e18ff8) at cpu_idle_cycle+0xc > > ddb{0}> ps > PID TID PPID UID S FLAGS WAIT COMMAND > 57668 337069 0 0 3 0x14200 fdprobe fdcattach > 12378 23262 0 0 3 0x14200 bored drmtskl > 5493 33902 0 0 3 0x14200 bored drmlwq > 29808 388617 0 0 3 0x14200 bored drmlwq > 49965 427385 0 0 3 0x14200 bored drmlwq > 88371 144406 0 0 3 0x14200 bored drmlwq > 68903 379433 0 0 3 0x14200 bored drmubwq > 63576 298717 0 0 3 0x14200 bored drmubwq > 81979 424257 0 0 3 0x14200 bored drmubwq > 66235 11672 0 0 3 0x14200 bored drmubwq > 72534 227606 0 0 3 0x14200 bored drmhpwq > 8161 6718 0 0 3 0x14200 bored drmhpwq > 14045 310811 0 0 3 0x14200 bored drmhpwq > 8460 189687 0 0 3 0x14200 bored drmhpwq > 29089 380326 0 0 3 0x14200 bored drmwq > 10040 257447 0 0 3 0x14200 bored drmwq > 46149 176100 0 0 3 0x14200 bored drmwq > 51964 98619 0 0 3 0x14200 bored drmwq > 35573 62244 0 0 3 0x14200 usbdly usbtask > 89006 322401 0 0 3 0x14200 usbatsk usbatsk > 23005 441884 0 0 3 0x14200 mfiexec sensors > 24734 293891 0 0 3 0x40014200 acpi0 acpi0 > 4984 48421 0 0 1 0x14200 idle7 > 81197 437702 0 0 1 0x14200 idle6 > 66821 300187 0 0 1 0x14200 idle5 > 35202 315858 0 0 1 0x14200 idle4 > 47385 15229 0 0 1 0x14200 idle3 > 78692 23072 0 0 1 0x14200 idle2 > 5195 428011 0 0 1 0x14200 idle1 > 97074 382000 0 0 3 0x14200 bored softnet > 9004 145825 0 0 3 0x14200 bored systqmp > 78902 241830 0 0 3 0x14200 syncxs systq > 60668 226496 0 0 3 0x40014200 bored softclock > *98536 371966 0 0 7 0x40014200 idle0 > 98299 154984 0 0 3 0x14200 kmalloc kmthread > 1 34141 0 0 3 0 initexec swapper > 0 0 -1 0 3 0x10200 cfpend swapper > ddb{0}> > > ddb{0}> dmesg > OpenBSD 7.0-current (GENERIC.MP) #248: Mon Oct 25 11:46:16 MDT 2021 > [email protected]:/usr/src/sys/arch/i386/compile/GENERIC.MP > real mem = 3488485376 (3326MB) > avail mem = 3408502784 (3250MB) > random: good seed from bootblocks > mpath0 at root > scsibus0 at mpath0: 256 targets > mainbus0 at root > bios0 at mainbus0: date 12/03/07, BIOS32 rev. 0 @ 0xfd4e0, SMBIOS rev. 2.4 @ > 0x > cff6a000 (54 entries) > bios0: vendor Phoenix Technologies LTD version "6.00" date 12/03/2007 > bios0: Pyramid GG0800A4-20081119 > acpi0 at bios0: ACPI 1.0 > acpi0: sleep states S0 S1 S4 S5 > acpi0: tables DSDT FACP APIC MCFG BOOT SPCR SSDT SSDT SSDT SSDT SSDT SSDT > SSDT S > SDT SSDT > acpi0: wakeup devices PXH0(S5) PXH1(S5) BPD2(S5) BMF3(S5) P0P4(S5) P0P6(S5) > PEX > 0(S5) USB1(S5) USB2(S5) USB3(S5) EUSB(S5) PCIB(S5) KBC0(S5) MSE0(S5) COM1(S5) > C > OM2(S5) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3.01 > GHz, > 06-17-06 > cpu0: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 333MHz > cpu0: mwait min=64, max=64, C-substates=0.2.2.2, IBE > cpu1 at mainbus0: apid 4 (application processor) > cpu1: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu1: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu2 at mainbus0: apid 1 (application processor) > cpu2: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu2: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu3 at mainbus0: apid 5 (application processor) > cpu3: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu3: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu4 at mainbus0: apid 2 (application processor) > cpu4: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu4: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu5 at mainbus0: apid 6 (application processor) > cpu5: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu5: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu6 at mainbus0: apid 3 (application processor) > cpu6: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu6: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > cpu7 at mainbus0: apid 7 (application processor) > cpu7: Intel(R) Xeon(R) CPU E5450 @ 3.00GHz ("GenuineIntel" 686-class) 3 GHz, > 06 > -17-06 > cpu7: > FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,C > FLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE,SSE3,DTES64,MWAIT,DS-CPL,VMX,EST, > TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,NXE,LONG,LAHF,PERF,SENSOR,MELTDOWN > ioapic0 at mainbus0: apid 8 pa 0xfec00000, version 20, 24 pins > ioapic1 at mainbus0: apid 9 pa 0xfec80000, version 20, 24 pins > acpimcfg0 at acpi0 > acpimcfg0: addr 0xe0000000, bus 0-12 > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P2) > acpiprt2 at acpi0: bus 2 (BMD0) > acpiprt3 at acpi0: bus 4 (PXH0) > acpiprt4 at acpi0: bus 5 (PXH1) > acpiprt5 at acpi0: bus 6 (BPD2) > acpiprt6 at acpi0: bus 7 (BMF3) > acpiprt7 at acpi0: bus 8 (P0P4) > acpiprt8 at acpi0: bus 9 (P0P6) > acpiprt9 at acpi0: bus 10 (PEX0) > acpiprt10 at acpi0: bus 13 (PCIB) > "PNP0A03" at acpi0 not configured > acpicmos0 at acpi0 > "PNP0A05" at acpi0 not configured > acpibtn0 at acpi0: PWRB > acpicpu0 at acpi0: C1(@1 halt!) > acpicpu1 at acpi0: C1(@1 halt!) > acpicpu2 at acpi0: C1(@1 halt!) > acpicpu3 at acpi0: C1(@1 halt!) > acpicpu4 at acpi0: C1(@1 halt!) > acpicpu5 at acpi0: C1(@1 halt!) > acpicpu6 at acpi0: C1(@1 halt!) > acpicpu7 at acpi0: C1(@1 halt!) > bios0: ROM list: 0xc0000/0xb000 0xcb000/0x1000 0xcc000/0x1000 0xcd000/0x5600 > ipmi at mainbus0 not configured > cpu0: Enhanced SpeedStep disabled by BIOS > pci0 at mainbus0 bus 0: configuration mode 1 (no bios) > pchb0 at pci0 dev 0 function 0 "Intel 5000P Host" rev 0xb1 > ppb0 at pci0 dev 2 function 0 "Intel 5000 PCIE x8" rev 0xb1 > pci1 at ppb0 bus 1 > ppb1 at pci1 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci2 at ppb1 bus 2 > ppb2 at pci2 dev 0 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci3 at ppb2 bus 3 > ppb3 at pci3 dev 0 function 0 "Intel 6700PXH PCIE-PCIX" rev 0x09 > pci4 at ppb3 bus 4 > ppb4 at pci3 dev 0 function 2 "Intel 6700PXH PCIE-PCIX" rev 0x09 > pci5 at ppb4 bus 5 > ppb5 at pci2 dev 2 function 0 "Intel 6321ESB PCIE" rev 0x01 > pci6 at ppb5 bus 6 > em0 at pci6 dev 0 function 0 "Intel 80003ES2" rev 0x01: msi, address > 00:30:48:6 > 1:91:60 > em1 at pci6 dev 0 function 1 "Intel 80003ES2" rev 0x01: msi, address > 00:30:48:6 > 1:91:61 > ppb6 at pci1 dev 0 function 3 "Intel 6321ESB PCIE-PCIX" rev 0x01 > pci7 at ppb6 bus 7 > ppb7 at pci0 dev 4 function 0 "Intel 5000 PCIE x8" rev 0xb1: apic 8 int 16 > pci8 at ppb7 bus 8 > em2 at pci8 dev 0 function 0 "Intel 82576" rev 0x01: msi, address > 90:e2:ba:48:4 > 4:46 > em3 at pci8 dev 0 function 1 "Intel 82576" rev 0x01: msi, address > 90:e2:ba:48:4 > 4:47 > ppb8 at pci0 dev 6 function 0 "Intel 5000 PCIE x8" rev 0xb1: apic 8 int 16 > pci9 at ppb8 bus 9 > "Intel I/OAT" rev 0xb1 at pci0 dev 8 function 0 not configured > pchb1 at pci0 dev 16 function 0 "Intel 5000 Error Reporting" rev 0xb1 > pchb2 at pci0 dev 16 function 1 "Intel 5000 Error Reporting" rev 0xb1 > pchb3 at pci0 dev 16 function 2 "Intel 5000 Error Reporting" rev 0xb1 > pchb4 at pci0 dev 17 function 0 "Intel 5000 Reserved" rev 0xb1 > pchb5 at pci0 dev 19 function 0 "Intel 5000 Reserved" rev 0xb1 > pchb6 at pci0 dev 21 function 0 "Intel 5000 FBD" rev 0xb1 > pchb7 at pci0 dev 22 function 0 "Intel 5000 FBD" rev 0xb1 > ppb9 at pci0 dev 28 function 0 "Intel 6321ESB PCIE" rev 0x09: apic 8 int 17 > pci10 at ppb9 bus 10 > ppb10 at pci10 dev 0 function 0 "Intel IOP333 PCIE-PCIX" rev 0x00 > pci11 at ppb10 bus 11 > mfi0 at pci11 dev 14 function 0 "Symbios Logic MegaRAID SAS 1064R" rev 0x00: > ap > ic 8 int 18 > mfi0: "MegaRAID SAS 8308ELP", firmware 7.0.1-0036, 128MB cache > scsibus1 at mfi0: 64 targets > sd0 at scsibus1 targ 0 lun 0: <LSI, MegaRAID 8308ELP, 1.12> > naa.600605b00055ffb > 02792d11b244ba906 > sd0: 348090MB, 512 bytes/sector, 712888320 sectors > ppb11 at pci10 dev 0 function 2 "Intel IOP333 PCIE-PCIX" rev 0x00 > pci12 at ppb11 bus 12 > uhci0 at pci0 dev 29 function 0 "Intel 6321ESB USB" rev 0x09: apic 8 int 17 > uhci1 at pci0 dev 29 function 1 "Intel 6321ESB USB" rev 0x09: apic 8 int 19 > uhci2 at pci0 dev 29 function 2 "Intel 6321ESB USB" rev 0x09: apic 8 int 18 > ehci0 at pci0 dev 29 function 7 "Intel 6321ESB USB" rev 0x09: apic 8 int 17 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 configuration 1 interface 0 "Intel EHCI root hub" rev 2.00/1.00 > a > ddr 1 > ppb12 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0xd9 > pci13 at ppb12 bus 13 > radeondrm0 at pci13 dev 1 function 0 "ATI ES1000" rev 0x02 > drm0 at radeondrm0 > radeondrm0: apic 8 int 18 > ichpcib0 at pci0 dev 31 function 0 "Intel 6321ESB LPC" rev 0x09: PM disabled > pciide0 at pci0 dev 31 function 1 "Intel 6321ESB IDE" rev 0x09: DMA, channel > 0 c > onfigured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus2 at atapiscsi0: 2 targets > cd0 at scsibus2 targ 0 lun 0: <TEAC, CD-224E-N, 1.AA> removable > cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 > pciide0: channel 1 ignored (disabled) > ichiic0 at pci0 dev 31 function 3 "Intel 6321ESB SMBus" rev 0x09: apic 8 int > 19 > > iic0 at ichiic0 > lm1 at iic0 addr 0x2d: W83627HF > wbng0 at iic0 addr 0x2f: w83793g > usb1 at uhci0: USB revision 1.0 > uhub1 at usb1 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > a > ddr 1 > usb2 at uhci1: USB revision 1.0 > uhub2 at usb2 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > a > ddr 1 > usb3 at uhci2: USB revision 1.0 > uhub3 at usb3 configuration 1 interface 0 "Intel UHCI root hub" rev 1.00/1.00 > a > ddr 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 > 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 > dt: 445 probes > panic: attempt to execute user address 0x0 in supervisor mode
