GPF with APM enabled
Ruslan Ermilov
ru at FreeBSD.org
Wed Feb 4 13:15:53 PST 2004
I use APM. I've upgraded my -CURRENT system from 20031223 to 20040203.
It now exhibits the ``kernel trap 9 with interrupts disabled'' when
/etc/rc.d/atm is started:
: Script started on Wed Feb 4 23:05:05 2004
: 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: from debugger
: panic messages:
: ---
: Fatal trap 9: general protection fault while in kernel mode
: instruction pointer = 0x8:0xc05b6a75
: stack pointer = 0x10:0xcd4269cc
: frame pointer = 0x10:0xcd4269e8
: code segment = base 0x0, limit 0xfffff, type 0x1b
: = DPL 0, pres 1, def32 1, gran 1
: processor eflags = resume, IOPL = 0
: current process = 449 (apm)
: kernel: type 9 trap, code=0
: panic: from debugger
: at line 450 in file /usr/src/sys/ddb/db_command.c
:
:
: Fatal trap 3: breakpoint instruction fault while in kernel mode
: instruction pointer = 0x8:0xc05a41b4
: stack pointer = 0x10:0xcd42678c
: frame pointer = 0x10:0xcd426798
: code segment = base 0x0, limit 0xfffff, type 0x1b
: = DPL 0, pres 1, def32 1, gran 1
: processor eflags = IOPL = 0
: current process = 449 (apm)
: panic: from debugger
: at line 450 in file /usr/src/sys/ddb/db_command.cUptime: 2m56s
: Dumping 127 MB
: 16 32 48 64 80 96 112
: ---
: Reading symbols from /boot/kernel/if_dc.ko.debug...done.
: Loaded symbols for /boot/kernel/if_dc.ko.debug
: Reading symbols from /boot/kernel/miibus.ko...done.
: Loaded symbols for /boot/kernel/miibus.ko
: Reading symbols from /boot/kernel/if_wi.ko...done.
: Loaded symbols for /boot/kernel/if_wi.ko
: Reading symbols from /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/wlan/wlan.ko.debug...done.
: Loaded symbols for /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/wlan/wlan.ko.debug
: Reading symbols from /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/rc4/rc4.ko.debug...done.
: Loaded symbols for /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/rc4/rc4.ko.debug
: Reading symbols from /boot/kernel/snd_csa.ko...done.
: Loaded symbols for /boot/kernel/snd_csa.ko
: Reading symbols from /boot/kernel/snd_pcm.ko...done.
: Loaded symbols for /boot/kernel/snd_pcm.ko
: Reading symbols from /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/apm/apm.ko.debug...done.
: Loaded symbols for /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/apm/apm.ko.debug
: Reading symbols from /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/uart/uart.ko.debug...done.
: Loaded symbols for /usr/obj/usr/src/sys/LURKER/modules/usr/src/sys/modules/uart/uart.ko.debug
: #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240
: 240 dumping++;
: (kgdb) bt full
: #0 doadump () at /usr/src/sys/kern/kern_shutdown.c:240
: No locals.
: #1 0xc04a5513 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:374
: No locals.
: #2 0xc04a58d7 in __panic () at /usr/src/sys/kern/kern_shutdown.c:552
: td = (struct thread *) 0xc1bca150
: bootopt = 260
: newpanic = 0
: ap = 0xcd4267d8 "\220hBм╒FBюuj[ю"
: buf = "from debugger", '\0' <repeats 242 times>
: #3 0xc0424752 in db_panic () at /usr/src/sys/ddb/db_command.c:450
: No locals.
: #4 0xc04246a2 in db_command (last_cmdp=0xc0621440, cmd_table=0x0,
: aux_cmd_tablep=0xc05f87cc, aux_cmd_tablep_end=0xc05f87d0)
: at /usr/src/sys/ddb/db_command.c:346
: cmd = (struct command *) 0xc05cbb20
: t = 0
: modif = "\0\035bюхvfю hBм\r\0\0\0 at beю\r\0\0\0\001\0\0\0 at hBм╤\233Yю Ieю\aK\0 дbeюЮ\027eю═\035bюx\0\0\0═\035bюхvfюdhBм!fBюW\201^ю\200cBю\0\0\0\0\020\0\0\0хvfю═\035bюФ\\Bю═\035bюX\025bюx\0\0\0\020\0\0"
: addr = -1067750795
: count = -1
: have_addr = 0
: result = 0
: ---Type <return> to continue, or q <return> to quit---
: #5 0xc04247f5 in db_command_loop () at /usr/src/sys/ddb/db_command.c:472
: No locals.
: #6 0xc0427855 in db_trap (type=9, code=0) at /usr/src/sys/ddb/db_trap.c:73
: bkpt = 0
: #7 0xc05a3efc in kdb_trap (type=9, code=0, regs=0xcd42698c)
: at /usr/src/sys/i386/i386/db_interface.c:171
: ef = 582
: ddb_mode = 1
: #8 0xc05b4406 in trap_fatal (frame=0xcd42698c, eva=0)
: at /usr/src/sys/i386/i386/trap.c:816
: code = 16
: type = 9
: ss = 16
: esp = 0
: softseg = {ssd_base = 0, ssd_limit = 1048575, ssd_type = 27,
: ssd_dpl = 0, ssd_p = 1, ssd_xx = 0, ssd_xx1 = 0, ssd_def32 = 1, ssd_gran = 1}
: #9 0xc05b3e82 in trap (frame=
: {tf_fs = 24, tf_es = -851312624, tf_ds = -1067253664, tf_edi = -1067329920, tf_esi = 599, tf_ebp = -851285528, tf_isp = -851285576, tf_ebx = 0, tf_edx = 178, tf_ecx = 0, tf_eax = 0, tf_trapno = 9, tf_err = 0, tf_eip = -1067750795, tf_cs = 8, tf_eflags = 65683, tf_esp = -851285512, tf_ss = -1068697725})
: at /usr/src/sys/i386/i386/trap.c:618
: td = (struct thread *) 0xc1bca150
: p = (struct proc *) 0xc1bcc898
: ---Type <return> to continue, or q <return> to quit---
: sticks = 0
: i = 0
: ucode = 0
: type = 9
: code = 0
: eva = 0
: #10 0xc05b6a75 in atpic_handle_intr (iframe=
: {if_vec = 0, if_fs = 24, if_es = -851312624, if_ds = -1068760992, if_edi = 22, if_esi = 599, if_ebp = 599, if_ebx = 0, if_edx = 178, if_ecx = 0, if_eax = 32779, if_eip = 52595, if_cs = 88, if_eflags = 519, if_esp = -850263465, if_ss = 52102}) at /usr/src/sys/i386/isa/atpic.c:354
: isrc = (struct intsrc *) 0xc061d680
: #11 0xc05b6c67 in Xatpic_intr0 () at {standard input}:32
: No locals.
: ---Can't read userspace from dump, or kernel process---
:
: (kgdb)
: Script done on Wed Feb 4 23:05:19 2004
A debug kernel and modules are available.
Cheers,
--
Ruslan Ermilov
FreeBSD committer
ru at FreeBSD.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040204/ce5bc99c/attachment-0001.bin
More information about the freebsd-current
mailing list