OPNsense Forum

English Forums => Hardware and Performance => Topic started by: lebowski on December 06, 2018, 10:43:53 pm

Title: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 06, 2018, 10:43:53 pm
I'm trying to run opnsense on an "old" machine, which consists of an intel centrino cpu, i855 chipset, 2gb ram, 4gb cf on storage. When booting, opnsense crashes hard and i cant figure out what is going wrong. I've included a screenshot.
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: franco on December 07, 2018, 07:24:49 am
Type "bt" + enter.
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 07, 2018, 03:24:23 pm
When i type bt i get the following:
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 07, 2018, 10:38:01 pm
I tried this on a different device, got the same weird error. Seems there is something really wrong with the 32bit image. Also i've noticed a second error: it is impossible to boot the 32bit image from usb flash. I tried on three different devices, with multiple usb (a-brand) sticks,  the computer tries to boot, you dont even get to see the btx bootloader, and reboots immediately. I can only boot from (usb) cdrom, but this takes ages (lots of swapping on the drive)
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: franco on December 08, 2018, 11:14:54 am
I think that the method you use to build the bootable drive has a damaged/incomplete kernel for one reason or another.

I tested i386 images early this week and it works fine.


Cheers,
Franco
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 08, 2018, 12:07:43 pm
I use rufus to write the images to usb flash drive. The screenshots however are from booting opnsense from usb cdrom, being the iso image, written directly to the optical disk.

I tried the 32bit image on different devices, all with memory and storage tested ok, with only generic intel components.
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 08, 2018, 01:13:47 pm
I've written the images with win32diskimager, same result. Then, for testing purposes, i tried pfsense 2.3.4 ce memstick image. Wrote this with win32diskimager. Booted directly, showed the btx loader and didnt reboot. No problems there. Seems there is something different with the opnsense bootloader that makes various machines to crash when booting.

After this, it seems even pfsense gets stuck in the booting proces. I'm a right to conclude that it has something to do with the agpgart device? (see screenshot). Again, for testing purposes, i booted knoppix 7.2, runs without problems. (i know knoppix is linux and not bsd  :) , just wanted to rule out hardware failure)
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 08, 2018, 07:26:29 pm
Seems there is definitely something wrong with freebsd. I've found an open ticket:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=187015#c16

After using these settings, i'm now trying to get opnsense to boot (takes very long from optical drive  :-[  )
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 11, 2018, 08:59:36 pm
This definitely is an error with freebsd on the agp subsystem. After using the agpdisable settings opnsense boots just fine.
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: franco on December 12, 2018, 04:44:58 pm
Ah ok this is odd. And 19.1-BETA doesn't work as well?

https://forum.opnsense.org/index.php?topic=10135.0


Cheers,
Franco
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 14, 2018, 09:38:36 pm
Havent tested it yet, because it is not possible to boot 32bit image over usb flash, and booting from cdrom takes almost a lifetime  :(
Title: Re: opnsense crashing hard on boot (on generic intel hardware)
Post by: lebowski on December 15, 2018, 01:10:49 pm
Just tested the beta image on usb flash drive. This one also refuses to boot, but at least i have an error message this time...