Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2002 06:31:23 -0400
From:      Shiao Yeh <shiao@terra.es>
To:        hackers@freebsd.org
Subject:   Help saving 4.7 kernel dump to disk
Message-ID:  <1034418683.3da7f9fb445ce@bcn.dyndns.org>

next in thread | raw e-mail | index | archive | help
Hi,

I tied to save the kernel core dump following Michael Lucas instructions, but 
it only works when the kernel is already loaded. I am experiencing kernel trap 
during kernel boot, and the show disk/device and ddb> call setdumpdev
(0xf000b444) does not work for me.

What else can I try to save the kernel dump while booting? I haven't seen 
anything in LINT regarding dump(s).

I was running 4.6-Stable fine, but 4.7-STABLE kernel panic on a Sony Vaio.

Please let me know if there is anything else I can try.

Follows the dmesg

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.7-STABLE #8: Sat Oct 12 01:26:29 EDT 2002
    root@harry2.bcn.dyndns.org:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (745.25-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT
,PSE36,MMX,FXSR,SSE>
real memory  = 333971456 (326144K bytes)
avail memory = 319266816 (311784K bytes)
Preloaded elf kernel "kernel" at 0xc051e000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00fdf30
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pci0: <Intel model 1132 VGA-compatible display device> at 2.0 irq 9
pcib1: <PCI to PCI bridge (vendor=8086 device=2448)> at device 30.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <unknown card> (vendor=0x104c, dev=0x8021) at 0.0 irq 9
pcic0: <Ricoh RL5C475 PCI-CardBus Bridge> irq 0 at device 2.0 on pci1
pcic0: PCI Memory allocated: 0x88000000
pcic0: Polling mode
pccard0: <PC Card 16-bit bus (classic)> on pcic0
fxp0: <Intel Pro/100 Ethernet> port 0x3000-0x303f mem 0xf4104000-0xf4104fff 
irq 9 at device 8.0 on pci1
fxp0: Ethernet address 08:00:46:16:ac:a5
inphy0: <i82562ET 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <PCI to ISA bridge (vendor=8086 device=244c)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0x1800-0x180f at device 31.1 on 
pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0x1820-0x183f irq 
9 at device 31.2 on pci0
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 9
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0x1840-0x185f irq 
9 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
umass0: Sony USB Memory Stick Slot, rev 1.10/1.80, addr 2
pci0: <unknown card> (vendor=0x8086, dev=0x2445) at 31.5 irq 9
pci0: <unknown card> (vendor=0x8086, dev=0x2446) at 31.6 irq 9
eisa0: <EISA bus>

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x0
fault code		= supervisor read, page not present
instruction pointer	= 0x8:0xc037d480
stack pointer	        = 0x10:0xc0540f1c
frame pointer	        = 0x10:0xc0540f24
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, resume, IOPL = 0
current process		= 0 (swapper)
interrupt mask		= net tty bio cam 
no such device 'ad'
no such device 'd'
panic: from debugger


Fatal trap 3: breakpoint instruction fault while in kernel mode
instruction pointer	= 0x8:0xc0371df4
stack pointer	        = 0x10:0xc0540d30
frame pointer	        = 0x10:0xc0540d38
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 0
current process		= 0 (swapper)
interrupt mask		= net tty bio cam 
panic: from debugger
Uptime: 0s
Automatic reboot in 15 seconds - press a key on the console to abort
--> Press a key on the console to reboot,
--> or switch off the system now.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1034418683.3da7f9fb445ce>