On Tue, Aug 26, 2003 at 12:50:41AM -0500, Mike Silbersack
wrote:>
> Well, Luoqi just committed the pmap fix which solved the recent panics on
> Mike Tancsa's machine, so everything should be good.
>
> Can everyone who was experiencing panics on a August 9th through 26 kernel
> cvsup now (well, wait 15 minutes for the servers to update) and see if
> their panics have gone away?
No such luck. It takes a bit longer before panics are triggered now,
but I still get them.
With your patch to back out the PAE stuff completely I did not get any
panics, but without that patch but with Luoqi's patch I still get
panics.
>
> If not, _please_ post DDB/gdb backtraces so we know where to look!
Two backtraces attached.
(The first of them happened just after I had issued the 'halt' command,
of all places. Unfortunately I didn't have any debug kernel for that
one.)
(I hope this is what you need. I haven't really done any kernel
backtraces before so I am not quite certain how one should do it, but I
think I got it right.)
--
<Insert your favourite quote here.>
Erik Trulsson
ertr1013@student.uu.se
-------------- next part --------------
GNU gdb 4.18 (FreeBSD)
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"...(no debugging
symbols found)...
IdlePTD at phsyical address 0x0029c000
initial pcb at physical address 0x00222600
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x7
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01b9541
stack pointer = 0x10:0xc23d5de4
frame pointer = 0x10:0xc23d5de8
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 = 183 (zsh)
interrupt mask = net bio cam
trap number = 12
panic: page fault
syncing disks... 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
giving up on 1 buffers
Uptime: 7h26m27s
dumping to dev #ad/0x20001, offset 106496
dump ata0: resetting devices .. done
8 7 6 5 4 3 2 1
---
#0 0xc0131af2 in dumpsys ()
(kgdb) where
#0 0xc0131af2 in dumpsys ()
#1 0xc01318c3 in boot ()
#2 0xc0131ce8 in poweroff_wait ()
#3 0xc01e72c2 in trap_fatal ()
#4 0xc01e6f95 in trap_pfault ()
#5 0xc01e6b7f in trap ()
#6 0xc01b9541 in vm_page_remove ()
#7 0xc01b9af8 in vm_page_free_toq ()
#8 0xc01b7e3e in vm_object_terminate ()
#9 0xc01b7d08 in vm_object_deallocate ()
#10 0xc01b51bc in vm_map_entry_delete ()
#11 0xc01b5375 in vm_map_delete ()
#12 0xc01b5402 in vm_map_remove ()
#13 0xc012a830 in exit1 ()
#14 0xc0133762 in sigexit ()
#15 0xc01334dc in postsig ()
#16 0xc01e7624 in syscall2 ()
#17 0xc01dc6a5 in Xint0x80_syscall ()
Cannot access memory at address 0xbfbffab0.
(kgdb) q
-------------- next part --------------
GNU gdb 4.18 (FreeBSD)
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"...Deprecated
bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line
2627 in elfstab_build_psymtabs
Deprecated bfd_read called at
/usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933
in fill_symbuf
IdlePTD at phsyical address 0x0029c000
initial pcb at physical address 0x002225e0
panicstr: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x13
fault code = supervisor read, page not present
instruction pointer = 0x8:0xc01b9588
stack pointer = 0x10:0xc2451e7c
frame pointer = 0x10:0xc2451e84
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 = 5461 (make)
interrupt mask = none
trap number = 12
panic: page fault
syncing disks... 4 4
done
Uptime: 3h3m28s
dumping to dev #ad/0x20001, offset 106496
dump ata0: resetting devices .. done
8 7 6 5 4 3 2 1
---
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
487 if (dumping++) {
(kgdb) where
#0 dumpsys () at /usr/src/sys/kern/kern_shutdown.c:487
#1 0xc01318c3 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
#2 0xc0131ce8 in poweroff_wait (junk=0xc0204f6c, howto=-1071625617)
at /usr/src/sys/kern/kern_shutdown.c:595
#3 0xc01e7292 in trap_fatal (frame=0xc2451e3c, eva=19)
at /usr/src/sys/i386/i386/trap.c:974
#4 0xc01e6f65 in trap_pfault (frame=0xc2451e3c, usermode=0, eva=19)
at /usr/src/sys/i386/i386/trap.c:867
#5 0xc01e6b4f in trap (frame={tf_fs = 16, tf_es = -1042350064, tf_ds =
-1042350064,
tf_edi = 134770688, tf_esi = 15, tf_ebp = -1035657596, tf_isp =
-1035657624,
tf_ebx = -1071464788, tf_edx = -1, tf_ecx = 1417572, tf_eax = 4089,
tf_trapno = 12, tf_err = -1035665408, tf_eip = -1071934072, tf_cs =
-1035665400,
tf_eflags = 66182, tf_esp = 0, tf_ss = -1042305536})
at /usr/src/sys/i386/i386/trap.c:466
#6 0xc01b9588 in vm_page_lookup (object=0xc022beac, pindex=15)
at /usr/src/sys/vm/vm_page.c:515
#7 0xc01b191c in vm_fault (map=0xc1dfae00, vaddr=134770688, fault_type=1
'\001',
fault_flags=0) at /usr/src/sys/vm/vm_fault.c:292
#8 0xc01e6efa in trap_pfault (frame=0xc2451fa8, usermode=1, eva=134771488)
at /usr/src/sys/i386/i386/trap.c:847
#9 0xc01e6a23 in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi =
134575004,
tf_esi = 134872080, tf_ebp = -1077942968, tf_isp = -1035657260,
tf_ebx = 134872000, tf_edx = 63, tf_ecx = 46, tf_eax = 134771488,
tf_trapno = 12,
tf_err = 4, tf_eip = 134575016, tf_cs = 31, tf_eflags = 66179,
tf_esp = -1077942984, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:377
#10 0x80573a8 in ?? ()
#11 0x805a714 in ?? ()
#12 0x805a6df in ?? ()
#13 0x805750c in ?? ()
---Type <return> to continue, or q <return> to quit---
#14 0x80579fc in ?? ()
#15 0x8049f76 in ?? ()
#16 0x805a7c3 in ?? ()
#17 0x805a783 in ?? ()
#18 0x8049d7a in ?? ()
#19 0x805a7c3 in ?? ()
#20 0x805a783 in ?? ()
#21 0x8049d7a in ?? ()
#22 0x805a7c3 in ?? ()
#23 0x805a783 in ?? ()
#24 0x8049d7a in ?? ()
#25 0x805a7c3 in ?? ()
#26 0x805a783 in ?? ()
#27 0x8049d7a in ?? ()
#28 0x804a1b1 in ?? ()
#29 0x8050f3a in ?? ()
Cannot access memory at address 0xbfbff660.
(kgdb) up
#1 0xc01318c3 in boot (howto=256) at /usr/src/sys/kern/kern_shutdown.c:316
316 dumpsys();
(kgdb) up
#2 0xc0131ce8 in poweroff_wait (junk=0xc0204f6c, howto=-1071625617)
at /usr/src/sys/kern/kern_shutdown.c:595
595 boot(bootopt);
(kgdb) up
#3 0xc01e7292 in trap_fatal (frame=0xc2451e3c, eva=19)
at /usr/src/sys/i386/i386/trap.c:974
974 panic("%s", trap_msg[type]);
(kgdb) up
#4 0xc01e6f65 in trap_pfault (frame=0xc2451e3c, usermode=0, eva=19)
at /usr/src/sys/i386/i386/trap.c:867
867 trap_fatal(frame, eva);
(kgdb) up
#5 0xc01e6b4f in trap (frame={tf_fs = 16, tf_es = -1042350064, tf_ds =
-1042350064,
tf_edi = 134770688, tf_esi = 15, tf_ebp = -1035657596, tf_isp =
-1035657624,
tf_ebx = -1071464788, tf_edx = -1, tf_ecx = 1417572, tf_eax = 4089,
tf_trapno = 12, tf_err = -1035665408, tf_eip = -1071934072, tf_cs =
-1035665400,
tf_eflags = 66182, tf_esp = 0, tf_ss = -1042305536})
at /usr/src/sys/i386/i386/trap.c:466
466 (void) trap_pfault(&frame, FALSE, eva);
(kgdb) up
#6 0xc01b9588 in vm_page_lookup (object=0xc022beac, pindex=15)
at /usr/src/sys/vm/vm_page.c:515
515 for (m = *bucket; m != NULL; m = m->hnext) {
(kgdb) up
#7 0xc01b191c in vm_fault (map=0xc1dfae00, vaddr=134770688, fault_type=1
'\001',
fault_flags=0) at /usr/src/sys/vm/vm_fault.c:292
292 fs.m = vm_page_lookup(fs.object, fs.pindex);
(kgdb) up
#8 0xc01e6efa in trap_pfault (frame=0xc2451fa8, usermode=1, eva=134771488)
at /usr/src/sys/i386/i386/trap.c:847
847 rv = vm_fault(map, va, ftype,
(kgdb) up
#9 0xc01e6a23 in trap (frame={tf_fs = 47, tf_es = 47, tf_ds = 47, tf_edi =
134575004,
tf_esi = 134872080, tf_ebp = -1077942968, tf_isp = -1035657260,
tf_ebx = 134872000, tf_edx = 63, tf_ecx = 46, tf_eax = 134771488,
tf_trapno = 12,
tf_err = 4, tf_eip = 134575016, tf_cs = 31, tf_eflags = 66179,
tf_esp = -1077942984, tf_ss = 47}) at /usr/src/sys/i386/i386/trap.c:377
377 i = trap_pfault(&frame, TRUE, eva);
(kgdb) up
#10 0x80573a8 in ?? ()
(kgdb) up
#11 0x805a714 in ?? ()
(kgdb) q