Re: Crash During FreeBSD compilation has left system unbootable





--- Paul Wilson <paulalexwilson@xxxxxxxxx> 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
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • 2.6.14-rc3-rt10 crashes on boot
    ... Now that rt kernels are compiling again on x86_64 I'm getting ... a recurrence of a boot problem I had with 2.6.13-rt4 on a dual ... mount: unknown filesystem type 'devfs' ...
    (Linux-Kernel)
  • Re: Kernel compile blues
    ... I've compiled a lot of kernels without problem ... Also, if you want to install a 2.6 kernel, make sure you have installed ... Been compiling kernels since quite many years on ... all except 2.4.18 have failed to boot. ...
    (Debian-User)
  • boot disk error
    ... and always boot from a floppy ... and normally clear out /usr/src after compiling ... kernels and producing a boot floppy. ...
    (Debian-User)
  • quickcam on 2.6.11 - driver issue
    ... /required for compiling kernels (kgcc is often used in Red Hat ... The driver should be able to handle my type of webcam ... The source is OK - as it detects the correct USB cam through the script ... goes wrong with compiling the driver / module - based on output above. ...
    (Debian-User)
  • Crash During FreeBSD compilation has left system unbootable
    ... While working on a FreeBSD modification, during compiling it, the system ... Upon reboot, none of my back-up kernels now boot. ... Tracing pid 0 tid 0 td 0xc09322c0 ...
    (freebsd-questions)