Re: kernel panic at boot on any 6.x OS *SOLVED!*



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sort of...

Thanks for everybody that has helped me!

It turns out I had a couple of rc.d scripts in /usr/local/etc/rc.d that were doing kldloads: rtc.sh and kqemu.sh - one of these was causing the panic. It might be worthwhile adding to the world rebuild doc a suggestion to grep kldload /usr/local/etc/rc.d and disable/ remove these services... Or, simply moving /usr/local/etc/rc.d might also be worthwhile test.

I guess the trick here was not considering that user space apps would be trying to do a kldload, and that calling upon a module that is either missing in /boot/kernel or /boot/modules or resides outside of /boot can trigger these panics.

Always the most simple of solutions that kicks you in the ass, isn't it? =)


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFF4894CgdfeCwsL5ERAlvfAKCiLEGZMTsGonn0OrdlTTMCp9GeZACePQ2V
WCwXuHBFh/FOVsDJLa84Yks=
=85PR
-----END PGP SIGNATURE-----
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • RE: Fatal trap 30 when loading if_xl
    ... panics when I use kldload. ... Loading modules at boot time ... I can now load modules from the command line, no panics. ...
    (freebsd-current)
  • Re: kernel panic at boot on any 6.x OS *SOLVED!*
    ... be trying to do a kldload, and that calling upon a module that is ... of /boot can trigger these panics. ...
    (freebsd-questions)
  • Re: kernel panic at boot on any 6.x OS *SOLVED!*
    ... Sort of... ... It turns out I had a couple of rc.d scripts in /usr/local/etc/rc.d that were doing kldloads: rtc.sh and kqemu.sh - one of these was causing the panic. ... I guess the trick here was not considering that user space apps would be trying to do a kldload, and that calling upon a module that is either missing in /boot/kernel or /boot/modules or resides outside of /boot can trigger these panics. ...
    (freebsd-questions)
  • Re: Simplified Steps for Building a Loadable module on -CURRENT
    ... > loadable modules but I'm getting some kernel panics with -CURRENT ... > when installing a module using kldload now where things used to ... I get "Fatal trap 30" message when I load emmodule with kldload. ...
    (freebsd-current)