Minidumps in FreeBSD 4



Hi all,

I'm sort of curious as to how many people might be interested in this. I'm
aware that there are still other companies who also have embedded products
/ appliances based on FreeBSD 4, and I suppose that's probably the only
interest for such a patch. It's available at:

http://databits.net/~dho/minidumps.patch.bz2

It's ~100KB uncompressed; 26KB otherwise. There are some dump-related
changes that were made to e.g. disk drivers -- so there may be some bugs.

Please let me know if you're able to use it successfully, if there are
other things you'd like to see it do, and whatnot. It's pretty much a
straight backport from Peter Wemm's minidumps which were recently MFCed to
FreeBSD 6. I only had to make a couple changes to a few things, and figure
out how to get gdb to read things correctly (which was basically a couple
lines of obvious code and bringing some extra bits from the libkvm changes
over, since gdb in 4.x doesn't use libkvm for kernel debugging).

If there's any significant interest, maybe somebody can be convinced to
commit it to RELENG_4 (ha ha ha).

Huge thanks to Peter who helped me out with understanding some of the more
hairy things towards the end.

--Devon
_______________________________________________
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

  • kernel panic on 7.0-p6
    ... GNU gdb 6.1.1 [FreeBSD] ... Copyright 2004 Free Software Foundation, ... ppc0: parallel port not found. ...
    (freebsd-stable)
  • kmem_malloc crashes running FreeBSD 5.2.1-RELEASE-p5
    ... We are running FreeBSD 5.2.1-RELEASE-p5 with a fairly generic kernel on a ... On the web, freebsd mailing lists and bug lists, I have seen existing ... GNU gdb 5.2.1 ...
    (freebsd-hackers)
  • help with panic/kgdb
    ... with a FreeBSD box panicing, ... gdb output below and give me some insight, ... page fault while in kernel mode ... pci0: <PCI bus> on pcib0 ...
    (freebsd-hackers)
  • help with panic/kgdb
    ... with a FreeBSD box panicing, ... gdb output below and give me some insight, ... page fault while in kernel mode ... pci0: <PCI bus> on pcib0 ...
    (freebsd-questions)
  • Re: Kernel crashed due to pagefault while running net/avahi
    ... GNU gdb 6.1.1 ... Previous frame inner to this frame ... Will FreeBSD 7.0-RELEASE be recommended for production systems. ...
    (freebsd-questions)