Crash During FreeBSD compilation has left system unbootable

Paul Wilson paulalexwilson at gmail.com
Fri Mar 31 17:48:17 UTC 2006


While working on a FreeBSD modification, during compiling it, the system
hung completely.
It was actually during the 'make install' stage, make had finished by this
point.
I had just added 'device atapicam' to my config file also (i doubt that's
relevant tho?).

Upon reboot, none of my back-up kernels now boot. When I boot the half
compiled
kernel I get:

-------------------------
When loading required module 'pci'
int = 000 .... err = 0.... efl = 000....
[etc...]

BTX Halted.
-------------------------

When trying to boot my back up kernels, I get this error straight away:

--------------------------
Fatal Trap 18: integer divide fault while in kernel mode.

intruction pointer = 0x20 : 0xc064f37a
stack pointer       = 0x28 : 0xc0c20c84
frame pointer      = 0x28 : 0xc0c20c94
code segment    = base 0x0, limit 0xfffff, type 0x1b
                           = DPL, pres1, def32

processor eflags = interrupt enabled, resume, IOPL = 0
current process   = 0()
[thread pid 0 tid 0]
Stopped at link_elf_lookup_symbol+0x16: divl 0x54 (%ebx), % eax

db> trace
Tracing pid 0 tid 0 td 0xc09322c0
link_elf_lookup_symbol(c2275c00, c2255a60, c0c20cc0, c2255a60, 1c) at
link_elf_lookup_symbol 0x56

link_elf_lookup_set(c2275c00, c0874da6, c0c20d4c, c0c20d50,0) at
link_elf_lookup_set+0x56

link_file_lookup_set(c2275c00, c0874da6, c0c20d4c, c0c20d50,0) at
link_file_lookup_set+0x54

linker_preload(0, c1ec00, c1e000,0,c0445255) at linker_preload + 0c1c3

mi_startup() at mi-startup + 0x96

begin() at begin +0x2c

db>
--------------------------

I'd greatly appreciate if anyone can tell me if I can recover from this
problem or if it's completely lost.

Thanks in advance,
Paul


More information about the freebsd-questions mailing list