Kernel trap on linux compat load

John Baldwin jhb at FreeBSD.org
Wed Jun 15 21:44:12 GMT 2005


On Friday 10 June 2005 07:02 pm, Eric Millbrandt wrote:
> I've noticed that linux compatibility caused my system to crash since I
> upgraded from RELENG_4_9 (RELENG_4_10, RELENG_4_11, RELENG_4).  I
> upgraded using buildworld, I haven't had a change to test using a clean
> binary install.  Has anyone else seen this behavior?  It's easy to
> reproduce, the system traps right on linux compatibility load.  The only
> similar behavior I've found on google is an unanswered post
> http://lists.freebsd.org/pipermail/freebsd-alpha/2004-June/001555.html
>
> Jun  8 07:18:17 mongoloid /kernel: fatal kernel trap:
> Jun  8 07:18:17 mongoloid /kernel:
> Jun  8 07:18:17 mongoloid /kernel: trap entry = 0x4 (unaligned access
> fault) Jun  8 07:18:17 mongoloid /kernel: a0         = 0xfffffe0015285e34
> Jun  8 07:18:17 mongoloid /kernel: a1         = 0x2d
> Jun  8 07:18:17 mongoloid /kernel: a2         = 0x1
> Jun  8 07:18:17 mongoloid /kernel: pc         = 0xfffffc0000386e68
> Jun  8 07:18:17 mongoloid /kernel: ra         = 0xfffffc0000386dd8
> Jun  8 07:18:17 mongoloid /kernel: curproc    = 0xfffffe001177e780
> Jun  8 07:18:17 mongoloid /kernel: pid = 173, comm = ldconfig
> Jun  8 07:18:17 mongoloid /kernel:
> Jun  8 07:18:17 mongoloid /kernel: panic: trap
>
> EEM

Did you rebuild your kernel with buildkernel / installkernel?  I believe that 
buildworld on 4.x still builds and installs new modules into /modules 
including the linux and osf1 compat modules.  New modules aren't guaranteed 
to work on older kernels, so if your kernel is still 4.9, that is probably 
your problem.

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-alpha mailing list