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



On Sunday 25 February 2007 08:59, Kip Macy wrote:
It looks as if you've hit a device driver that is trying to print out
a null string. The message you've given doesn't provide any more
information than that. If you install a snapshot kernel it will
probably have ddb compiled in which will allow you to at least get a
backtrace. I'm sorry you're having trouble.

Grepping the source tree on 6.2-RELEASE shows this message can only have com
from one place : sys/kern/kern_conf.c in the function prep_cdevsw() :

if (devsw->d_version != D_VERSION_01) {
printf(
"WARNING: Device driver \"%s\" has wrong version %s\n",
devsw->d_name == NULL ? "???" : devsw->d_name,
"and is disabled. Recompile KLD module.");

Looks like the kernel and the modules are out of sync.


On 2/24/07, Joe Auty <joe@xxxxxxxxxxxxxxx> wrote:
Hello,

(sorry, don't know whether kernel problems should go to questions or
hackers, or both)..

This has been a long-standing problem of mine, but I always ignored
it hoping it would go away on its own with a future 6.x release, but
it remains...

No matter whether I boot into safe mode or regular mode, with all
kernel extensions disabled in /boot/loader.conf, I get the following
panic late at boot of a fresh RELENG_6_2 kernel (with only a few
services left to bring up). The 6.x kernels I've tried all build and
installed cleanly without any errors...

WARNING: Device driver "

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x400000
fault code = supervisor read, page not present
instruction pointer = 0x20:0xc06d4614
stack pointer = 0x28:0xf015491c
frame pointer = 0x28:0xf015491c
code segment = base 0x0, limit 0xffffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = interupt enabled, resume, IOPL = 0
current process = 898 (kldload)
trap number = 12
panic: page fault
uptime: 36s
cannot dump. No dump device defined
automatic reboot in 15 seconds

This problem does not occur within any 5.x OS for me. I would
certainly like to resolve this issue now, but this sort of debugging
is over my head beyond running fsck (which I've tried). Any ideas here?

Thanks in advance for your help!





-----------
Joe Auty
NetMusician: web publishing software for musicians
http://www.netmusician.org
joe@xxxxxxxxxxxxxxx

_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"

--
Daan
_______________________________________________
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: installing VISA USB device under Linux
    ... > Install NI-KAL then run updateNIDrivers. ... Configuring for linux kernel version 2.6.14.3-raja. ... of 'pmd_offset' from incompatible pointer type ... pointer from integer without a cast ...
    (comp.lang.labview)
  • RE: FreeBSD 4.11 P13 Crash
    ... It happened again even with a new CPU and new PowerSupply. ... IPFilter, ... page fault while in kernel mode ... Okay this time my kernel was recompiled so there are no ...
    (freebsd-hackers)
  • PAE error
    ... I compiled kernel with debugging information and got following error message: ... page fault while in kernel mode ... instruction pointer = 0x20:ox8053f9dc ...
    (freebsd-stable)
  • Re: Cannot boot with newly compiled kernel, or kernel.old after upgrading to RELENG_6
    ... However, the error message from when trying: "unload", "boot /boot/kernel.old/kernel" I was able to copy down in full. ... (page fault). ... Further I cannot understand why kernel.old doesn't work - after all I've used that kernel for 6 months without any issues. ...
    (freebsd-questions)
  • Re: propagate_priority panic [backtrace]
    ... On Thursday 13 January 2005 01:10 am, Anish Mistry wrote: ... Dmesg and kernel config attached. ... page fault while in kernel mode ... instruction pointer = 0x8:0xc04d5a4f ...
    (freebsd-current)