OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: rabo on January 19, 2023, 10:05:51 am

Title: [solved] My opnsense restarts randomly
Post by: rabo on January 19, 2023, 10:05:51 am
Now I have a little problem at home and it is driving me crazy. My opnsense is restarting randomly. I already changed the hard drive but now it randomly restarts with it too.

Please help!

Thanks in advance


Code: [Select]
Fatal trap 9: general protection fault while in kernel mode
cpuid = 3; apic id = 03
instruction pointer     = 0x20:0xffffffff8114b5c5
stack pointer           = 0x28:0xfffffe006afca970
frame pointer           = 0x28:0xfffffe006afca9a0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 55790 (wc)
trap number             = 9
panic: general protection fault
cpuid = 3
time = 1674064787
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0007f75880
vpanic() at vpanic+0x17f/frame 0xfffffe0007f758d0
panic() at panic+0x43/frame 0xfffffe0007f75930
trap_fatal() at trap_fatal+0x385/frame 0xfffffe0007f75990
trap_pfault() at trap_pfault+0x4f/frame 0xfffffe0007f759f0
calltrap() at calltrap+0x8/frame 0xfffffe0007f759f0
--- trap 0xc, rip = 0xfffffe0007f75aa0, rsp = 0xfffffe0007f75ac0, rbp = 0xfffffe0007f75af0 ---
??() at 0xfffffe0007f75aa0/frame 0xfffffe0007f75af0
setrunnable() at setrunnable+0x31/frame 0xfffffe0007f75b10
sleepq_timeout() at sleepq_timeout+0x94/frame 0xfffffe0007f75b30
softclock_call_cc() at softclock_call_cc+0x13d/frame 0xfffffe0007f75bd0
callout_process() at callout_process+0x1d4/frame 0xfffffe0007f75c40
handleevents() at handleevents+0x188/frame 0xfffffe0007f75c80
timercb() at timercb+0x24e/frame 0xfffffe0007f75cd0
lapic_handle_timer() at lapic_handle_timer+0x9b/frame 0xfffffe0007f75d00
Xtimerint() at Xtimerint+0xb1/frame 0xfffffe0007f75d00
--- interrupt, rip = 0xffffffff8111b906, rsp = 0xfffffe0007f75dd0, rbp = 0xfffffe0007f75dd0 ---
acpi_cpu_c1() at acpi_cpu_c1+0x6/frame 0xfffffe0007f75dd0
acpi_cpu_idle() at acpi_cpu_idle+0x2ef/frame 0xfffffe0007f75e10
cpu_idle_acpi() at cpu_idle_acpi+0x3e/frame 0xfffffe0007f75e30
cpu_idle() at cpu_idle+0x9f/frame 0xfffffe0007f75e50
sched_idletd() at sched_idletd+0x4e1/frame 0xfffffe0007f75ef0
fork_exit() at fork_exit+0x7e/frame 0xfffffe0007f75f30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0007f75f30
--- trap 0x8021058, rip = 0xffffffff80c3138f, rsp = 0, rbp = 0xffffffff8133a188 ---
mi_startup() at mi_startup+0xdf/frame 0xffffffff8133a188
KDB: enter: panic
panic.txt0600001214362147020  7130 ustarrootwheelpage faultversion.txt0600007114362147020  7530 ustarrootwheelFreeBSD 13.1-RELEASE stable/22.7-n250212-a26d6065f1f SMP
Title: Re: My opnsense restarts randomly
Post by: franco on January 19, 2023, 02:48:56 pm
Looks like a hardware issue as no networking is being involved. If you can update BIOS you should, but might not help.


Cheers,
Franco
Title: Re: My opnsense restarts randomly
Post by: Demusman on January 19, 2023, 03:27:11 pm
I had an issue like this a ways back. Tried everything I could think of, couldn't figure it out.
Then I noticed the light on the power transformer kept dimming and going bright again.
Turned out to be a bad power supply.
Point is, look at things you may not think of.
Most likely hardware.
Title: Re: My opnsense restarts randomly
Post by: rabo on January 19, 2023, 04:48:46 pm
I had an issue like this a ways back. Tried everything I could think of, couldn't figure it out.
Then I noticed the light on the power transformer kept dimming and going bright again.
Turned out to be a bad power supply.
Point is, look at things you may not think of.
Most likely hardware.

Oh, thanks for the tip. I will exchange it.
Title: Re: My opnsense restarts randomly
Post by: rabo on January 19, 2023, 04:50:25 pm
Looks like a hardware issue as no networking is being involved. If you can update BIOS you should, but might not help.


Cheers,
Franco

Thanks Franco, I have updated to the latest bios. The error is unfortunately gone.
Title: Re: My opnsense restarts randomly
Post by: rabo on January 27, 2023, 09:11:36 am
I had an issue like this a ways back. Tried everything I could think of, couldn't figure it out.
Then I noticed the light on the power transformer kept dimming and going bright again.
Turned out to be a bad power supply.
Point is, look at things you may not think of.
Most likely hardware.

Oh, thanks for the tip. I will exchange it.

That was exactly the error. After weeks of searching.

Thank you for your tip. My power supply was too weak (had the APU4, second hand).
The power supply had only 1A, which simply led to dropouts under load.
But a 2A power supply is needed.