| Summary: | 5.0-04022001-CURRENT kernel panic on kernel startup | ||
|---|---|---|---|
| Product: | Base System | Reporter: | chrisf <chrisf> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Unspecified | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: gnats-admin->freebsd-bugs Fixed bungled PR. State Changed From-To: open->feedback Does this problem still exist? State Changed From-To: feedback->closed No feedback, and bug filed against -CURRENT, which is a rapidly moving target, and therefore may have periods of instability. |
Kernel panic on boot, kernel doesnt make it to mount an FS or start init ddb and gdb test data and config file is enclosed enclosed: /home/chrisf/db.txt enclosed: /usr/src/sys/i386/conf/LITE here is the boottime ddb info on the panic db> trace resource_list_find(c12a3040,4,0,4,0) at resource_list_find+0x10 resource_list_add(c12a3040,4,0,4,3c0,3df) at resource_list_add+0x17 isa_set_resource(c12d3280,c12d5980,4,0,3c0) at isa_set_resource+0x76 bus_set_resource(c12d5980,4,0,3c0,20) at bus_set_resource+0x53 isavga_probe(c12d5980,c12d5980,c12d3280,c12d5980,1) at isavga_probe+0xc5 device_probe_child(c12d3280,c12d5980,c12d5980,c03787f8,9) at device_probe_child+0xca device_probe_and_attach(c12d5980) at device_probe_and_attach+0x41 isa_probe_children(c12d3280,c0378ff8,c015393c,0,376c00) at isa_probe_children+0xde configure(0,376c00,376000,0,c011e072) at configure+0x39 mi_startup() at mi_startup+0x68 begin() at begin+0x29 db> show registers cs 0x8 ds 0x10 es 0x10 fs 0x18 ss 0x10 eax 0xa ecs 0x4 edx 0 ebx 0xc12a3040 esp 0xc03785dc ebp 0xc03785dc esi 0x4 edi 0 eip 0xc017ef70 resource_list_find+0x10 efl 0x90206 resource_list_find+0x10: cmpl %ecx,0x4(%eax) db> show map Task map 0xc017ef70 pmap=0x8bfffe7f, nentries=158791564, version=724205672 db> show rtc 01/04/05 01:25:34 A=29, B=02, C=D0 db> call boot() gdb output for the panic'd location gdb -k was launched when system was up. binturong# cd /sys/compile/LITE binturong# gdb -k kernel.debug GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-unknown-freebsd"... (kgdb) (kgdb) (kgdb) l *0xc017ef70 0xc017ef70 is in resource_list_find (../../kern/subr_bus.c:1626). 1621 resource_list_find(struct resource_list *rl, int type, int rid) 1622 { 1623 struct resource_list_entry *rle; 1624 1625 SLIST_FOREACH(rle, rl, link) { 1626 if (rle->type == type && rle->rid == rid) 1627 return (rle); 1628 } 1629 return (NULL); 1630 } (kgdb) (kgdb) l *0xc012a3040 No source file for address 0x12a3040. (kgdb) l *0xc012a3040 No source file for address 0xc12a3040. (kgdb) l *0xc012d3280 No source file for address 0x12d3280. (kgdb) l *0xc012d5980 No source file for address 0x12d5980. (kgdb) l *0xc03787f8 No source file for address 0xc03787f8. (kgdb) l *0xc015393c 0xc015393c is in mi_startup (../../kern/init_main.c:211). 206 207 /* Call function */ 208 (*((*sipp)->func))((*sipp)->udata); 209 210 /* Check off the one we're just done */ 211 (*sipp)->subsystem = SI_SUB_DONE; 212 213 /* Check if we've installed more sysinit items via KLD * / 214 if (newsysinit != NULL) { 215 if (sysinit != (struct sysinit **)sysinit_set.ls _items) (kgdb) l *0xc011e072 No source file for address 0xc011e072. (kgdb) Config file data: # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ./LINT configuration file. If you are # in doubt as to the purpose or necessity of a line, check first in LINT. # # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.246.2.23 2001/03/07 08:08:42 imp Exp $ machine i386 cpu I586_CPU ident LITE maxusers 256 makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols options INET #InterNETworking options INET6 #IPv6 communications protocols options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options UCONSOLE #Allow users to grab the console options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor options KTRACE #ktrace(1) support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores options P1003_1B #Posix P1003_1B real-time extensions options _KPOSIX_PRIORITY_SCHEDULING options _KPOSIX_VERSION=199309L options KBD_INSTALL_CDEV # install a CDEV entry in /dev options UFS_EXTATTR options UFS_EXTATTR_AUTOSTART options UFS_ACL options DDB options INVARIANT_SUPPORT options INVARIANTS options KTRACE options DIAGNOSTIC options KTR options KTR_EXTEND device isa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives device atapist # ATAPI tape drives options ATA_STATIC_ID #Static device numbering # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc device atkbd device psm options VESA device vga # splash screen/screen saver device splash # syscons is the default console driver, resembling an SCO console device sc # Floating point support - do not disable. device npx # Power management support (see LINT for more options) device apm # Serial (COM) ports device sio # Parallel port device ppc options PPC_PROBE_CHIPSET options PERIPH_1284 device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device device pps # ISA Ethernet NICs. device ed device miibus # Pseudo devices - the number indicates how many units to allocate. device loop # Network loopback device ether # Ethernet support device sl 1 # Kernel SLIP device ppp 1 # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device gif 4 # IPv6 and IPv4 tunneling device faith 1 # IPv6-to-IPv4 relaying (translation) # The `bpf' pseudo-device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf #Berkeley packet filter Device.hints data: hint.fdc.0.at="isa" hint.fdc.0.port="0x3F0" hint.fdc.0.irq="6" hint.fdc.0.drq="2" hint.fd.0.at="fdc0" hint.fd.0.drive="0" hint.fd.1.at="fdc0" hint.fd.1.drive="1" hint.ata.0.at="isa" hint.ata.0.port="0x1F0" hint.ata.0.irq="14" hint.ata.1.at="isa" hint.ata.1.port="0x170" hint.ata.1.irq="15" hint.atkbdc.0.at="isa" hint.atkbdc.0.port="0x060" hint.atkbd.0.at="atkbdc" hint.atkbd.0.irq="1" hint.atkbd.0.flags="0x1" hint.psm.0.at="atkbdc" hint.psm.0.irq="12" hint.vga.0.at="isa" hint.sc.0.at="isa" hint.sc.0.flags="0x100" hint.npx.0.at="nexus" hint.npx.0.port="0x7" hint.npx.0.irq="13" hint.apm.0.at="nexus" hint.apm.0.disabled="1" hint.apm.0.flags="0x20" hint.sio.0.at="isa" hint.sio.0.port="0x3F8" hint.sio.0.flags="0x10" hint.sio.0.irq="4" hint.sio.1.at="isa" hint.sio.1.port="0x2F8" hint.sio.1.irq="3" hint.ppc.0.at="isa" hint.ppc.0.port="0x3bc" hint.ppc.0.irq="7" hint.ed.0.at="isa" hint.ed.0.port="0x340" hint.ed.0.irq="9" hint.ed.0.maddr="0xd0000" If there is any other documentation you may need, please let me know Thanks; chrisf@shadow.net Fix: Fix is unknown How-To-Repeat: Just by doing a normal bootstrap of /boot/kernel/kernel