Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Kernel panic and boot loop when setting a vlan's parent to itself
« previous
next »
Print
Pages: [
1
]
Author
Topic: Kernel panic and boot loop when setting a vlan's parent to itself (Read 1312 times)
arnog
Newbie
Posts: 12
Karma: 1
Kernel panic and boot loop when setting a vlan's parent to itself
«
on:
April 19, 2023, 10:08:39 pm »
Hi all,
during a lab session my students created a new VLAN with parent set to LAN. Then they modified the VLAN settings and chose the VLAN itself as the VLAN's parent. When clicking "Apply" OPNsense crashes immediately with a kernel panic and reboots after some time.
Since the configuration has been saved, OPNsense now crashes on each subsequent reboot causing a boot loop and making OPNsense unusable. I had to boot into single user mode and replace the configuration with a known good one to be able to get it back up and running.
This is on a Deciso DEC2685 running OPNsense 23.1.5_2-amd64.
Thanks
Arno
P.S.: I know that this setting doesn't make sense and probably not a lot of people tried that before, but since my students ran into it, it makes sense to me to report this issue.
Logged
Patrick M. Hausen
Hero Member
Posts: 6810
Karma: 572
Re: Kernel panic and boot loop when setting a vlan's parent to itself
«
Reply #1 on:
April 19, 2023, 10:18:21 pm »
Please open an issue on github.
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do.
(Isaac Asimov)
arnog
Newbie
Posts: 12
Karma: 1
Re: Kernel panic and boot loop when setting a vlan's parent to itself
«
Reply #2 on:
April 19, 2023, 10:30:34 pm »
Done.
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Kernel panic and boot loop when setting a vlan's parent to itself
«
Reply #3 on:
April 20, 2023, 09:55:10 am »
Thanks, fix is
https://github.com/opnsense/core/commit/e9dc6875532f
# opnsense-patch e9dc6875532f
Too late for today's 23.1.6 but will be in 23.1.7.
Cheers,
Franco
Logged
Cristian
Newbie
Posts: 2
Karma: 0
Re: Kernel panic and boot loop when setting a vlan's parent to itself
«
Reply #4 on:
April 21, 2023, 11:36:10 am »
Thanks
Cristian
«
Last Edit: April 21, 2023, 11:38:06 am by Cristian
»
Logged
Cristian
Newbie
Posts: 2
Karma: 0
Re: Kernel panic and boot loop when setting a vlan's parent to itself
«
Reply #5 on:
April 21, 2023, 11:47:55 am »
Hello,
I have install the patch but I optain the same result (crasch).
Ihave to do any other operation for fix it.
Thanks
Cristian
Logged
franco
Administrator
Hero Member
Posts: 17661
Karma: 1611
Re: Kernel panic and boot loop when setting a vlan's parent to itself
«
Reply #6 on:
April 21, 2023, 02:56:00 pm »
But why make it crash in the first place after someone reported (for the first time) that it would do so?
Cheers,
Franco
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
Kernel panic and boot loop when setting a vlan's parent to itself