Crash During FreeBSD compilation has left system unbootable
Kris Anderson
ciscoaix at yahoo.com
Fri Mar 31 19:18:05 UTC 2006
--- Paul Wilson <paulalexwilson at gmail.com> wrote:
> 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
None of your kernels?
Found this in the handbook -
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-trouble.html
You might also want to see if you have a rescue disk
handy, the worst case you can do a reinstall of just
the kernel items and their sources.
Hope that helps.
~mr. anderson
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the freebsd-questions
mailing list