kernel: page fault trap, code=0
Hello, I'm unable to boot into my OpenBSD 7.1 - CURRENT Desktop. I have been using this desktop without issue since the release of 7.1 Today when booting I see the following message: OpenBSD 7.1-current (GENERIC.MP) #496: Wed May 4 14:10:06 MDT 2022 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 34246377472 (32659MB) avail mem = 33191153664 (31653MB) kernel: page fault trap, code = 0 Stopped at SHA512Final: addb %al,0(%rax) ddb{0}> ddb{0}> trace SHA512Final(8271bdf0,8271bd20,2bc11015d414a77c,4b2d3f50a8f5a93c,77ff031..more stuff I don't want to type out...) at SHA512Final extract_entropy(...) at extract_entropy+0x68 _rs_stir(...) at _rs_stir_0x25 random_start(...) at random_start+0x8e main(...) at main+0x91 end trace frame: 0x0, count: -4 ddb{0}> I had to manually type this on a different computer because I can't interact with the crashed one. Any advice on recovering the system so I can troubleshoot? Thanks, Sean
page fault trap, code=0
when i came back to my netbook left on overnight, this blue message greeted me (manual transcript). the display was also set to its lowest intensity, so the pictures i made are almost unreadable. the acpi buttons to lighten up did not react at this point. kernel: page fault trap, code=0 Stopped at rtrequest1+0x2bc: movl 0x18(%eax) ddb{0}: trace rtrequest1(2,f5dc8c60,c,f5dc8cd8,0) at rtrequest1+0x2bc route_output(d70e2b00,d6d67a14,f5dc8d3c,d03cd51a,d0bb90a0) at ... raw_usrreq(d6d67a14,9,d70e2b00,0,0) at raw_usrreq+0x221 route_usrreq(d6d67a14,9,d70e2b00,0,0) at route_usrreq+0x63 sosend(d6d67a14,0,f5dc8e9c,d70e2b00,0) at sosend+0x45b soo_write(d69fb44c,d69fb468,f5dc8e9c,d70d4ba0,d0bb1a0) at ... dofilewritev(d6997ba8,4,d69fb44c,f5dc8f04,1) at ... sys_write(d6997ba8,f5dc8f60,f5dc8f80,d056f83a,d6997ba8) at ... syscall() at syscall+0x144 --- syscall (number 3) 000 0x2: ddb{0}: sorry i cant be of any more use, i needed the machine right away so i had to powercycle it. i am just fishing, perhaps some people who did work in that are of the kernel recently might have a spark what this is. never happened to me before. OpenBSD 5.5-current (GENERIC.MP) #144: Sun Jun 1 11:07:56 MDT 2014 dera...@i386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC.MP cpu0: Intel(R) Atom(TM) CPU N570 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,MOVBE,LAHF,PERF real mem = 1061785600 (1012MB) avail mem = 1031966720 (984MB) mpath0 at root scsibus0 at mpath0: 256 targets mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 03/31/10, SMBIOS rev. 2.6 @ 0xeb0f0 (53 entries) bios0: vendor LENOVO version 50CN12WW date 04/22/2011 bios0: LENOVO 20109 acpi0 at bios0: rev 3 acpi0: sleep states S0 S1 S3 S4 S5 acpi0: tables DSDT FACP APIC MCFG SLIC HPET acpi0: wakeup devices P0P8(S4) PS2K(S3) PS2M(S3) EUSB(S3) P0PA(S4) P0PB(S4) P0PC(S4) P0P9(S3) USB0(S3) USB1(S3) USB2(S3) USB3(S3) PWRB(S3) SLPB(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) mtrr: Pentium Pro MTRR support, 7 var ranges, 88 fixed ranges cpu0: apic clock running at 166MHz cpu0: mwait min=64, max=64, C-substates=0.2.2.0.2, IBE cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Atom(TM) CPU N570 @ 1.66GHz (GenuineIntel 686-class) 1.67 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,MOVBE,LAHF,PERF cpu2 at mainbus0: apid 2 (application processor) cpu2: Intel(R) Atom(TM) CPU N570 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu2: 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,MOVBE,LAHF,PERF cpu3 at mainbus0: apid 3 (application processor) cpu3: Intel(R) Atom(TM) CPU N570 @ 1.66GHz (GenuineIntel 686-class) 1.67 GHz cpu3: 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,MOVBE,LAHF,PERF ioapic0 at mainbus0: apid 4 pa 0xfec0, version 20, 24 pins acpimcfg0 at acpi0 addr 0xf000, bus 0-63 acpihpet0 at acpi0: 14318179 Hz acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 3 (P0P8) acpiprt2 at acpi0: bus 2 (P0PA) acpiprt3 at acpi0: bus -1 (P0PB) acpiprt4 at acpi0: bus -1 (P0PC) acpiprt5 at acpi0: bus 1 (P0P9) acpiec0 at acpi0 acpicpu0 at acpi0:, C3, C2, C1, PSS acpicpu1 at acpi0:, C3, C2, C1, PSS acpicpu2 at acpi0:, C3, C2, C1, PSS acpicpu3 at acpi0:, C3, C2, C1, PSS acpibtn0 at acpi0: PWRB acpibtn1 at acpi0: SLPB acpibtn2 at acpi0: LID_ acpiac0 at acpi0: AC unit online acpibat0 at acpi0: BAT1 model LNV-L10C6Y12 serial 004706 type LiIon oem CPT-ES3 acpivideo0 at acpi0: GFX0 acpivout0 at acpivideo0: DD02 bios0: ROM list: 0xc/0xda00! 0xce000/0x1000 cpu0: Enhanced SpeedStep 1663 MHz: speeds: 1667, 1334, 1000 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel Pineview DMI rev 0x02 vga1 at pci0 dev 2 function 0 Intel Pineview Video rev 0x02 intagp0 at vga1 agp0 at intagp0: aperture at 0xd000, size 0x1000 inteldrm0 at vga1 drm0 at inteldrm0 inteldrm0: 1024x600 wsdisplay0 at vga1 mux 1: console (std, vt100 emulation) wsdisplay0: screen 1-5 added (std, vt100 emulation) Intel Pineview Video rev 0x02 at pci0 dev 2 function 1 not configured azalia0 at pci0 dev 27 function 0 Intel 82801GB HD Audio rev 0x02: msi azalia0: codecs: Realtek ALC269 audio0 at azalia0 ppb0 at pci0 dev 28 function 0 Intel 82801GB PCIE rev 0x02: apic 4 int 16 pci1 at ppb0 bus 1 re0 at pci1 dev 0 function 0
Re: Kernel page fault trap, code=0, uvm_fault, what to do next
* Marcin Wilk nic...@nicram.sytes.net [2010-02-12 10:04]: uvm_fault(0xd0891180, 0x4000, 0, 3) -e kernel: page fault trap, code=0 Stopped at pf_state_key_detach+0x40: movl %eax0,4(%ecx) ddb{0} dmesg: OpenBSD 4.6 (NICRAM.MP) #0: Wed Feb 10 12:10:36 CET 2010 get stable. and use GENERIC. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de Full-Service ISP - Secure Hosting, Mail and DNS Services Dedicated Servers, Rootservers, Application Hosting
Kernel page fault trap, code=0, uvm_fault, what to do next
Hello Few days ago my friend ask me to update his firewall (he is running OBSD 4.1). I prepared new box and installed OpenBSD 4.6 (i386.mp). I did have prepared pf.conf also so it work without problems and at night i just swithed cables and it did work. But in the morning when i wake up there was problem: uvm_fault(0xd0891180, 0x4000, 0, 3) -e kernel: page fault trap, code=0 Stopped at pf_state_key_detach+0x40: movl %eax0,4(%ecx) ddb{0} The problem is i cannot make trace in ddb because computer freeze then and it do not respond on anything. After reset i cannot also find any core dump. I happend in 3 days now, one after another. So i always swith back to old box. It is always same situation, at morning more people use internet, so the transfer go up for interfaces and then it happen. The last time when i checked it was 7335 Kbps in and 12775Kbps out on em1 12825 Kbps in and 7263 Kbps out on em2 em0 transfer was null because i use it only to connect it directly to other computers. I laso got some messages on ifstat screen like this: istat: warning: rollover for interface % reinitialising Here are some additional informations that may help: The kernel was generic (stable). I had to change one line in altq_hfsc.h from #define HFSC_MAX_CLASSES64 to #define HFSC_MAX_CLASSES4096 dmesg: OpenBSD 4.6 (NICRAM.MP) #0: Wed Feb 10 12:10:36 CET 2010 r...@router.marponet.pl:/usr/src/sys/arch/i386/compile/NICRAM.MP cpu0: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (GenuineIntel 686-class) 2.99 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,SBF,SSE3,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR real mem = 2097115136 (1999MB) avail mem = 2018914304 (1925MB) mainbus0 at root bios0 at mainbus0: AT/286+ BIOS, date 07/16/09, SMBIOS rev. 2.4 @ 0xe23e0 (35 entries) bios0: vendor Intel Corp. version JOQ3510J.86A.1109.2009.0716.0319 date 07/16/2009 bios0: Intel Corporation DQ35JO acpi0 at bios0: rev 0 acpi0: tables DSDT FACP APIC WDDT MCFG ASF! DMAR ASPT WDTT SSDT SSDT SSDT SSDT SSDT SSDT SSDT TCPA acpi0: wakeup devices SLPB(S4) P32_(S4) UAR1(S4) ILAN(S4) PEGP(S4) PEX0(S4) PEX1(S4) PEX2(S4) PEX3(S4) PEX4(S4) PEX5(S4) UHC1(S3) UHC2(S3) UHC3(S3) UHC4(S3) EHCI(S3) EHC2(S3) UH42(S3) UHC5(S3) UHC6(S3) AZAL(S3) acpitimer0 at acpi0: 3579545 Hz, 24 bits acpimadt0 at acpi0 addr 0xfee0: PC-AT compat cpu0 at mainbus0: apid 0 (boot processor) cpu0: apic clock running at 332MHz cpu1 at mainbus0: apid 1 (application processor) cpu1: Intel(R) Core(TM)2 Duo CPU E6850 @ 3.00GHz (GenuineIntel 686-class) 2.99 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,SBF,SSE3,DS-CPL,VMX,SMX,EST,TM2,CX16,xTPR ioapic0 at mainbus0: apid 2 pa 0xfec0, version 20, 24 pins ioapic0: misconfigured as apic 0, remapped to apid 2 acpiprt0 at acpi0: bus 0 (PCI0) acpiprt1 at acpi0: bus 6 (P32_) acpiprt2 at acpi0: bus 1 (PEX0) acpiprt3 at acpi0: bus 2 (PEX1) acpiprt4 at acpi0: bus 3 (PEX2) acpiprt5 at acpi0: bus 4 (PEX3) acpiprt6 at acpi0: bus 5 (PEX4) acpiprt7 at acpi0: bus -1 (PEX5) acpicpu0 at acpi0: C1, PSS acpicpu1 at acpi0: C1, PSS acpibtn0 at acpi0: SLPB bios0: ROM list: 0xc/0xb400! 0xcb800/0x2200! cpu0: Enhanced SpeedStep 2990 MHz: speeds: 2997, 2664, 2331, 1998 MHz pci0 at mainbus0 bus 0: configuration mode 1 (bios) pchb0 at pci0 dev 0 function 0 Intel 82Q35 Host rev 0x02 vga1 at pci0 dev 2 function 0 Intel 82Q35 Video rev 0x02 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) intagp0 at vga1 agp0 at intagp0: aperture at 0x8000, size 0x800 inteldrm0 at vga1: apic 2 int 16 (irq 11) drm0 at inteldrm0 Intel 82Q35 Video rev 0x02 at pci0 dev 2 function 1 not configured Intel 82Q35 HECI rev 0x02 at pci0 dev 3 function 0 not configured em0 at pci0 dev 25 function 0 Intel ICH9 IGP AMT rev 0x02: apic 2 int 20 (irq 9), address 00:1c:c0:06:8f:d1 uhci0 at pci0 dev 26 function 0 Intel 82801I USB rev 0x02: apic 2 int 18 (irq 10) uhci1 at pci0 dev 26 function 1 Intel 82801I USB rev 0x02: apic 2 int 21 (irq 11) uhci2 at pci0 dev 26 function 2 Intel 82801I USB rev 0x02: apic 2 int 17 (irq 9) ehci0 at pci0 dev 26 function 7 Intel 82801I USB rev 0x02: apic 2 int 17 (irq 9) usb0 at ehci0: USB revision 2.0 uhub0 at usb0 Intel EHCI root hub rev 2.00/1.00 addr 1 ppb0 at pci0 dev 28 function 0 Intel 82801I PCIE rev 0x02: apic 2 int 17 (irq 255) pci1 at ppb0 bus 1 em1 at pci1 dev 0 function 0 Intel PRO/1000 PT (82572EI) rev 0x06: apic 2 int 16 (irq 11), address 00:1b:21:04:ec:92 ppb1 at pci0 dev 28 function 1 Intel 82801I PCIE rev 0x02: apic 2 int 20 (irq 255) pci2 at ppb1 bus 2 em2 at pci2 dev 0 function 0 Intel PRO/1000 PT (82572EI) rev 0x06: apic 2 int 17 (irq 9), address 00:1b:21:04:bb:1f ppb2 at pci0 dev 28 function 2 Intel 82801I PCIE rev 0x02: apic 2 int 18 (irq 255) pci3 at ppb2 bus 3 pciide0 at pci3