[SOLVED] Update to 24.7.2 results in kernel panic

Started by mroess, August 22, 2024, 08:42:18 AM

Previous topic - Next topic
August 24, 2024, 10:52:04 PM #90 Last Edit: August 25, 2024, 01:03:25 PM by mohammadefhamisisi
i have an acer veriton s680g with core i5 650, 8G of Ram, i had the original problem, i tested the vga iso, and i am connected to my console via vga cable, matter of fact i just installed, it is ok, now i do not have the panic problem anymore.

Thanks,
Mohammad

Quote from: franco on August 24, 2024, 04:36:19 AM

If anyone misses agp they can still kldload at their own peril?

https://pkg.opnsense.org/FreeBSD:14:amd64/snapshots/misc/OPNsense-24.7.2-vga-amd64.img.bz2
https://pkg.opnsense.org/FreeBSD:14:amd64/snapshots/misc/OPNsense-24.7.2-vga-amd64.img.sig

https://pkg.opnsense.org/FreeBSD:14:amd64/snapshots/misc/OPNsense-24.7.2-dvd-amd64.iso.bz2
https://pkg.opnsense.org/FreeBSD:14:amd64/snapshots/misc/OPNsense-24.7.2-dvd-amd64.iso.sig

I will replace the kernel on the mirror when someone confirmed this on one of the images with the actual hardware that the driver attaches to. ZPOOL_IMPORT_PATH has not been reverted, only agp removed from kernel so it cannot hit the bad agp_close(). If this works for the people reporting the crash we have our answer.


Cheers,
Franco

For what it is worth...

My HP/Compaq, so I was told, does not have an AGP-slot on the mobo. (I have not checked myself.)
Yet, the original 24.7.2 broke on agp_close(), so I am figuring there are mobo's out there that seem to report they have agp, while they do not.
Something in the chipset?

Does that make any sense to anyone?

Quote from: mifi42 on August 25, 2024, 10:48:16 AM
My HP/Compaq, so I was told, does not have an AGP-slot on the mobo. (I have not checked myself.)
Does that make any sense to anyone?

Can attach to some unused on-board junk.


dmesg | grep agp


and see what it detects.

Quote from: doktornotor on August 25, 2024, 10:53:52 AM
Quote from: mifi42 on August 25, 2024, 10:48:16 AM
My HP/Compaq, so I was told, does not have an AGP-slot on the mobo. (I have not checked myself.)
Does that make any sense to anyone?

Can attach to some unused on-board junk.


dmesg | grep agp


and see what it detects.

It is not clear to me if the result below means agp is in use. However, the console does work, while the test version (24.7.2_1) has agp removed from the kernel. I am clearly out of my comfort zone here.
Is it time to scrap the hardware?


dmesg | grep agp:
agp0: <Intel Q35 SVGA controller> on vgapci0
WARNING: Device "agp" is Giant locked and may be deleted before FreeBSD 15.0.
agp0: aperture size is 256M, detected 6140k stolen memory


Cheers,
Michiel

As noted, there's something on the motherboard detected by the driver. That does not mean it's usable, has any pinout, let alone VGA connector available.


agp0: <Intel Q35 SVGA controller> on vgapci0



Is it time to scrap the hardware?


Are you actually using the VGA console? I.e., do you have monitor connected to the box itself?

Quote from: doktornotor on August 25, 2024, 12:44:26 PM

Are you actually using the VGA console? I.e., do you have monitor connected to the box itself?

I do yes. And it is still working. The DVI-port did not work, however.

Michiel

If VGA is still working with the kernel without the AGP driver, then you don't have any other problem and no need to scrap anything. You can check for what other video hardware it has, using tools such as

pciconf -lv

@franco

Sorry for the late response. It is har to schedule a maintenance window with the family ;-)

I have done as requested and installed the dbg kernel. I have reproduced the kernel panic and have the vmcore file.

What is the preferred way of sharing the file?

Regards

Marian

August 25, 2024, 09:44:36 PM #98 Last Edit: August 25, 2024, 09:52:09 PM by akebono
Just to add another hardware config, an upgraded (CPU + memory) WatchGuard XTM 505 also kernel panics on upgrade. There is a legacy VGA header onboard. I have not done any diagnostics.

Same issue here with Old HP Elite 8000 SFF desktop recommissioned as an awesome firewall until 24.7.2

I have been doing regular updates for a a couple of years with no problem.

Exact same problems - whole thing crashes upgrading 24.7.1 to 24.7.2

So annoying - I saved the config - but it needs a re-install of all the plugins etc etc and now a right royal pita

Do we have a fix yet

Quote from: Penetr8or on August 25, 2024, 10:51:06 PM
Do we have a fix yet

Helps to read the thread... Start here and follow up with the next post.

Quote from: franco on August 22, 2024, 12:21:03 PM
Hi Robert,

I hope not. It looks like a fringe kernel issue with the OP's hardware (AGP slot in particular) that doesn't surface on FreeBSD because ZPOOL_IMPORT_PATH wasn't bootstrapped ever since FreeBSD changed ZFS implementations in version 13 so this will likely remain to go unnoticed.

We do have a debug kernel, but it requires the system to boot up first. If we can manage to get a core dump we can probably apply a bandaid and report to FreeBSD.

That being said I see no reason to revoke the ZPOOL_IMPORT_PATH. All hell would have broken loose already if it was a major problem. But even then I still don't think an environment variable should crash a user system ever.


Cheers,
Franco

Based on this - it's time to move away from the product - 100% experienced the same issue and to think it wont be fixed.....

Quote from: Penetr8or on August 25, 2024, 10:55:48 PM
Based on this - it's time to move away from the product - 100% experienced the same issue and to think it wont be fixed.....

Ok, if reading is too hard even when people link you directly to the solution...

Quote from: doktornotor on August 25, 2024, 10:53:56 PM
Quote from: Penetr8or on August 25, 2024, 10:51:06 PM
Do we have a fix yet

Helps to read the thread... Start here and follow up with the next post.

Sorry bro - these forums are like a bowl of spaghetti

August 26, 2024, 12:35:11 AM #104 Last Edit: August 26, 2024, 02:14:34 AM by Penetr8or
Okay update...

I panicked more than the kernel  :-[

Running on a repurposed HP Elite 8000 Circa 2007 C2Duo 3Ghz 8GB Ram 120GB SSD 4x1GbE plus onboard nic.
Migrated from pfSense and been running smooth butter for a couple years updating without any issues at all!
So originally the update from 24.7 to 24.7.2 hosed my system completely and I never had a bare-metal backup.

I had been downloading the config file before each update thinking a roll-back would be simple in a catastrophe.  ;D
But when I couldn't get the thing to boot without the panic crash - i had no way in.
Downloaded the latest 24.7 from the website and thought okay a quick re-install and apply the config i backed up.
Loads of errors ofc because the pluggins weren't reinstalled yet - start again lol

Eventually made a couple of panicky comments here and in the wrong threads and got rightfully roasted so my apologies to doktornotor and franco who after i read more of the spaghetti have clearly made HUGE efforts to help and it did - thank you!!

My solution so far has been to use the download from the website of latest vga version [i did download francos version posted here but didn't need it]
I shelled into the cli on the console and did the opnsense-update -zkr 24.7.2
Went back to the gui when it rebooted and did the full update - voila!!

Thanks chaps

[added:]  - for anyone else -

After i did the updates -
i re-installed the acme [no config] -
i then installed zenarmor [run initial config with defaults]
THEN - I restored of the backup configs i had done religiously and it restored EVRYTHING back to normal including all the SSL certificates and zenarmor configs

AMAZING - I love this product!!!