[panic] setrunqueue
Peter Kostouros
kpeter at melbpc.org.au
Mon Jul 19 01:15:22 PDT 2004
Hi
I received a fatal error and hope the following is useful:
Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address = 0x54
fault code = supervisor write, page not present
instruction pointer = 0x8:0xc0545485
stack pointer = 0x10:0xe0209a8c
frame pointer = 0x10:0xe0209aac
code segment = base 0x0, limit 0xfffff, type 0x1b
= DPL 0, pres 1, def32 1, gran 1
processor eflags = resume, IOPL = 0
current process = 2397 (xmms)
[thread 100180]
Stopped at 0xc0545485 = setrunqueue+0x1b5: movl %edi, 0x54(%edx)
Trace gave the following:
setrunqueue+0x1b5
sched_switch+0xa4
mi_switch+0x2af
maybe_preemt+0xde
sched_add_interval+0x2b2
sched_add+0x19
setrunqueue+0x1c6
turnstile_unpend+0x2e8
_mtx_unlock_sleep+0x87
_mtx_unlock_flags+0xd1
soo_write+0xb6
dofilewrite+0xcb
write+0x6e
syscall+0x2a0
Xint0x80_syscall+0x1f
--- syscall(4, FreeBSD ELF32, write), eip = 0x2835d8cb,
esp = 0xbfbfe7fc, ebp = 0xbfbfe818
Script started on Sun Jul 18 20:33:54 2004
eva# gdb6 -k kernel.debug
GNU gdb 20040713 [GDB v6.x for FreeBSD]
Copyright 2004 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-portbld-freebsd5.2"...
(kgdb) l *setrunqueue+0x1b5
0xc0545485 is in setrunqueue
(/mnt/cvs/FreeBSD/usr/src/sys/kern/kern_switch.c:422).
417 * put the new kse on whatever is next,
418 * which may or may not be us.
419 */
420 td2 = TAILQ_NEXT(tda, td_runq);
421 kg->kg_last_assigned = td2;
422 td2->td_kse = ke;
423 ke->ke_thread = td2;
424 }
425 sched_add(ke->ke_thread);
426 }
(kgdb) q
eva# exit
exit
Script done on Sun Jul 18 20:41:03 2004
1. The system was built after a cvsup on 17JUL2004 (~midday) (nb, I am
at GMT+10);
2. Scheduler is SCHED_ULE;
3. UP machine, no hyperthreading;
4. I have had several panics: all in an X session, some under load
(building applications) others under light load (mozilla, multimedia
applications).
--
Regards
Peter
As always the organisation disavows knowledge of this email
_______________________________________________
freebsd-current at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list