From owner-freebsd-hackers Sat Oct 12 6:59:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE4BA37B401 for ; Sat, 12 Oct 2002 06:59:31 -0700 (PDT) Received: from bcn.dyndns.org (207-172-89-64.c3-0.bth-ubr7.lnh-bth.md.cable.rcn.com [207.172.89.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6451A43E65 for ; Sat, 12 Oct 2002 06:59:27 -0700 (PDT) (envelope-from shiao@terra.es) Received: from bcn.dyndns.org (www@bcn.dyndns.org [IPv6:::1]) by bcn.dyndns.org (8.12.2/8.12.2) with ESMTP id g9CAVOJf002262 for ; Sat, 12 Oct 2002 06:31:24 -0400 (EDT) Received: (from www@localhost) by bcn.dyndns.org (8.12.2/8.12.2/Submit) id g9CAVNZb018180 for hackers@freebsd.org; Sat, 12 Oct 2002 06:31:23 -0400 (EDT) X-Authentication-Warning: bcn.dyndns.org: www set sender to shiao@terra.es using -f Received: from 10.1.111.3 ( [10.1.111.3]) as user shiao@localhost by bcn.dyndns.org with HTTP; Sat, 12 Oct 2002 06:31:23 -0400 Message-ID: <1034418683.3da7f9fb445ce@bcn.dyndns.org> Date: Sat, 12 Oct 2002 06:31:23 -0400 From: Shiao Yeh To: hackers@freebsd.org Subject: Help saving 4.7 kernel dump to disk MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Originating-IP: 10.1.111.3 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: at 2.0 irq 9 pcib1: at device 30.0 on pci0 pci1: on pcib1 pci1: (vendor=0x104c, dev=0x8021) at 0.0 irq 9 pcic0: irq 0 at device 2.0 on pci1 pcic0: PCI Memory allocated: 0x88000000 pcic0: Polling mode pccard0: on pcic0 fxp0: port 0x3000-0x303f mem 0xf4104000-0xf4104fff irq 9 at device 8.0 on pci1 fxp0: Ethernet address 08:00:46:16:ac:a5 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1800-0x180f at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1820-0x183f irq 9 at device 31.2 on pci0 usb0: 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: (vendor=0x8086, dev=0x2443) at 31.3 irq 9 uhci1: port 0x1840-0x185f irq 9 at device 31.4 on pci0 usb1: 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: (vendor=0x8086, dev=0x2445) at 31.5 irq 9 pci0: (vendor=0x8086, dev=0x2446) at 31.6 irq 9 eisa0: 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