kernel: page fault trap, code=0

2022-05-06 Thread Sean Rider
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



Re: Kernel page fault trap, code=0, uvm_fault, what to do next

2010-02-19 Thread Henning Brauer
* Marcin Wilk  [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

2010-02-12 Thread Marcin Wilk

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