Date: Tue, 11 Nov 2003 00:40:06 -0800 (PST) From: Daniel Lang <dl@leo.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/58139: -CURRENT panics on Thinkpad A31p while configuring fxp0 or wi0 interface Message-ID: <200311110840.hAB8e65R067219@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/58139; it has been noted by GNATS. From: Daniel Lang <dl@leo.org> To: freebsd-gnats-submit@FreeBSD.org Cc: dl@leo.org Subject: Re: kern/58139: -CURRENT panics on Thinkpad A31p while configuring fxp0 or wi0 interface Date: Tue, 11 Nov 2003 09:30:06 +0100 Ok, here is the final information, that I could get after John's Tip. GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: integer divide fault panic messages: --- Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc0516ca8 stack pointer = 0x10:0xd77b1cb8 frame pointer = 0x10:0xd77b1cb8 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 25 (irq11: cbb0 cbb1+++) trap number = 18 panic: integer divide fault [..] --- Reading symbols from /usr/obj/usr/src/sys/BATLETH/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/BATLETH/modules/usr/src/sys/modules/acpi/acpi.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) l *0xc0516ca8 0xc0516ca8 is in exca_mem_getb (machine/bus_at386.h:223). 218 machine/bus_at386.h: No such file or directory. in machine/bus_at386.h (kgdb) 218 in machine/bus_at386.h [ I got it anyway, here is the excerpt from sys/i386/include/but_at386.h: static __inline u_int8_t bus_space_read_1(bus_space_tag_t tag, bus_space_handle_t handle, bus_size_t offset) { #if defined (_I386_BUS_PIO_H_) #if defined (_I386_BUS_MEMIO_H_) if (tag == I386_BUS_SPACE_IO) #endif return (inb(handle + offset)); #endif #if defined (_I386_BUS_MEMIO_H_) return (*(volatile u_int8_t *)(handle + offset)); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ This is line 223 #endif } ] laprbg8# gdb -k kernel.debug vmcore.0 GNU gdb 5.2.1 (FreeBSD) Copyright 2002 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-undermydesk-freebsd"... panic: integer divide fault panic messages: --- Fatal trap 18: integer divide fault while in kernel mode instruction pointer = 0x8:0xc0580cd2 stack pointer = 0x10:0xd77b1cc0 frame pointer = 0x10:0xd77b1ce0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, IOPL = 0 current process = 25 (irq11: cbb0 cbb1+++) trap number = 18 panic: integer divide fault [..] --- Reading symbols from /usr/obj/usr/src/sys/BATLETH/modules/usr/src/sys/modules/acpi/acpi.ko.debug...done. Loaded symbols for /usr/obj/usr/src/sys/BATLETH/modules/usr/src/sys/modules/acpi/acpi.ko.debug #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240 240 dumping++; (kgdb) l *0xc0580cd2 0xc0580cd2 is in cbb_intr (/usr/src/sys/dev/pccbb/pccbb.c:288). warning: Source file is more recent than executable. 283 bus_space_write_4(sc->bst, sc->bsh, reg, val); 284 } 285 286 static __inline uint32_t 287 cbb_get(struct cbb_softc *sc, uint32_t reg) 288 { 289 return (bus_space_read_4(sc->bst, sc->bsh, reg)); 290 } 291 292 static __inline void -- IRCnet: Mr-Spock - Soon I will be free, then hungry. - Daniel Lang * dl@leo.org * +49 89 289 18532 * http://www.leo.org/~dl/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200311110840.hAB8e65R067219>