Re: Panic on 6.2 AMD

2007-04-09 Thread Phillip N.
I have a similar problem, maybe its the same

RAM is checked. they look fine.

tips welcome :)


(SMP kernel from Wed Apr 4 17:42:46 GMT)




El lun, 09-04-2007 a las 13:51 -0400, Michael R. Wayne escribió:
> Nobody has any ideas on this one?

> >fault code  = supervisor read, page not present


[GDB will not be able to debug user-mode threads: /usr/lib/libthread_db.so: 
Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [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 "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 0; apic id = 00
fault virtual address   = 0x38
fault code  = supervisor write data, page not present
instruction pointer = 0x8:0x8046c33f
stack pointer   = 0x10:0xb776c790
frame pointer   = 0x10:0xa0cf1358
code segment= base 0x0, limit 0xf, type 0x1b
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 1793 (bmon)
trap number = 12
panic: page fault
cpuid = 0
Uptime: 1d19h58m47s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (156 pages) ... ok
  chunk 1: 2047MB (524016 pages) 2031 2015 1999 1983 1967 1951 1935 1919 1903 
1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 1679 1663 1647 
1631 1615 1599 1583 1567

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0xa2
fault code  = supervisor write data, page not present
instruction pointer = 0x8:0x805c67a0
stack pointer   = 0x10:0xb499d970
frame pointer   = 0x10:0xff0005e301f0
code segment= base 0x0, limit 0xf, type 0x1b 1551
= DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process = 40 (syncer)
trap number = 12
 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 
1295 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 
1039 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 
735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 
415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 
95 79 63 47 31 15

#0  doadump () at pcpu.h:172
172 __asm __volatile("movq %%gs:0,%0" : "=r" (td));
(kgdb) list *0x805c67a0
0x805c67a0 is in vm_object_pip_add (/usr/src/sys/vm/vm_object.c:281).
276 void
277 vm_object_pip_add(vm_object_t object, short i)
278 {
279
280 VM_OBJECT_LOCK_ASSERT(object, MA_OWNED);
281 object->paging_in_progress += i;
282 }
283
284 void
285 vm_object_pip_subtract(vm_object_t object, short i)
(kgdb) bt
#0  doadump () at pcpu.h:172
#1  0x0004 in ?? ()
#2  0x804156d7 in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:409
#3  0x80415d71 in panic (fmt=0xff0072a78980 "X�Kl") at 
/usr/src/sys/kern/kern_shutdown.c:565
#4  0x8063a0cf in trap_fatal (frame=0xff0072a78980, 
eva=18446742976014820184) at /usr/src/sys/amd64/amd64/trap.c:668
#5  0x8063a44c in trap_pfault (frame=0xb776c6e0, usermode=0) at 
/usr/src/sys/amd64/amd64/trap.c:580
#6  0x8063a703 in trap (frame=
  {tf_rdi = -1597041832, tf_rsi = -1097588045440, tf_rdx = -1097405784824, 
tf_rcx = 4, tf_r8 = -1098265798384, tf_r9 = -1098676372624, tf_rax = 4, tf_rbx 
= 4, tf_rbp = -1597041832, tf_r10 = -1097492439552, tf_r11 = -1097588045440, 
tf_r12 = 0, tf_r13 = -1597041832, tf_r14 = -1098676373072, tf_r15 = 
-1597041832, tf_trapno = 12, tf_addr = 56, tf_flags = -2142769062, tf_err = 2, 
tf_rip = -2142846145, tf_cs = 8, tf_rflags = 66050, tf_rsp = -1216952416, tf_ss 
= 16}) at /usr/src/sys/amd64/amd64/trap.c:353
#7  0x80622dab in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:168
#8  0x8046c33f in vfs_setdirty (bp=0xa0cf1358) at atomic.h:139
#9  0x80470773 in bdwrite (bp=0xa0cf1358) at 
/usr/src/sys/kern/vfs_bio.c:963
#10 0x805a3514 in ffs_write (ap=0xb776ca30) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:772
#11 0x80691c4b in VOP_WRITE_APV (vop=0x808e5900, 
a=0xb776ca30) at vnode_if.c:698
#12 0x8049137a in vn_write (fp=0xff004b7a7708, 
uio=0xb776cb50, active_cred=0xff007d849d08, flags=0, 
td=0xff0072a78980) at vnode_if.h:372
#13 0x80440d67 in dofilewrite (td=0xff0072a78980, fd=3, 
fp=0xff004b7a7708,

Re: Panic on 6.2 AMD

2007-04-09 Thread Michael R. Wayne
Nobody has any ideas on this one?

> uname:
>FreeBSD 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2
> 
> conf file:
>include GENERIC
>ident   MsenWeb
>options QUOTA   # Add quotas
>options SMP # Support multiple processors
>makeoptions DEBUG=-g
> 
> 
> Console messages (via serial port):
>cpuid = 0; apic id = 00
>fault virtual address   = 0x18c
>fault code  = supervisor read, page not present
>instruction pointer = 0x8:0x803eead7
>stack pointer   = 0x10:0xa54e9b60
>frame pointer   = 0x10:0x4
>code segment= base 0x0, limit 0xf, type 0x1b
>  = DPL 0, pres 1, long 1, def32 0, gran 1
>processor eflags= resume, IOPL = 0
>current process = 5 (thread taskq)
>trap number = 12
>panic: page fault
>cpuid = 0
>Uptime: 9d11h33m44s
> 
> info file:
>Dump header from device /dev/twed0s1b
>  Architecture: amd64
>  Architecture Version: 2
>  Dump Length: 1073184768B (1023 MB)
>  Blocksize: 512
>  Dumptime: Thu Apr  5 15:41:03 2007
>  Hostname: ww8.msen.com
>  Magic: FreeBSD Kernel Dump
>  Version String: FreeBSD 6.2-RELEASE-p2 #0: Wed Mar 14 09:38:47 EST 2007
>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/WW8
>  Panic String: page fault
>  Dump Parity: 2156304966
>  Bounds: 13
>  Dump Status: good
> 
> gdb:
>[GDB will not be able to debug user-mode threads: 
> /usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
>GNU gdb 6.1.1 [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 "amd64-marcel-freebsd".
> 
>Unread portion of the kernel message buffer:
>kernel trap 12 with interrupts disabled
> 
> 
>Fatal trap 12: page fault while in kernel mode
>cpuid = 0; apic id = 00
>fault virtual address   = 0x18c
>fault code  = supervisor read, page not present
>instruction pointer = 0x8:0x803eead7
>stack pointer   = 0x10:0xa54e9b60
>frame pointer   = 0x10:0x4
>code segment= base 0x0, limit 0xf, type 0x1b
>  = DPL 0, pres 1, long 1, def32 0, gran 1
>processor eflags= resume, IOPL = 0
>current process = 5 (thread taskq)
>trap number = 12
>panic: page fault
>cpuid = 0
>Uptime: 9d11h33m44s
>Dumping 1023 MB (2 chunks)
>  chunk 0: 1MB (151 pages) ... ok
>  chunk 1: 1023MB (261856 pages) 1007 991 975twe0: completion event for 
> nonbusy command
> 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 
> 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 
> 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 
> 47 31 15
> 
>#0  doadump () at pcpu.h:172
>172 __asm __volatile("movq %%gs:0,%0" : "=r" (td));
>(kgdb) list *0x803eead7
>0x803eead7 is in _mtx_lock_sleep 
> (/usr/src/sys/kern/kern_mutex.c:548).
>543  * If the current owner of the lock is executing 
> on another
>544  * CPU, spin instead of blocking.
>545  */
>546 owner = (struct thread *)(v & MTX_FLAGMASK);
>547 #ifdef ADAPTIVE_GIANT
>548 if (TD_IS_RUNNING(owner)) {
>549 #else
>550 if (m != &Giant && TD_IS_RUNNING(owner)) {
>551 #endif
>552 turnstile_release(&m->mtx_object);
>(kgdb) backtrace
>#0  doadump () at pcpu.h:172
>#1  0x0004 in ?? ()
>#2  0x803f9067 in boot (howto=260) at 
> /usr/src/sys/kern/kern_shutdown.c:409
>#3  0x803f9701 in panic (fmt=0xff003dbb6260 "???=") at 
> /usr/src/sys/kern/kern_shutdown.c:565
>#4  0x8061a1ef in trap_fatal (frame=0xff003dbb6260, 
> eva=18446742975233640112) at /usr/src/sys/amd64/amd64/trap.c:660
>#5  0x8061a716 in trap (frame=
>{tf_rdi = 108, tf_rsi = -1098475937184, tf_rdx = 6, tf_rcx = 
> 3221225730, tf_r8 = -1521574640, tf_r9 = -1098687417816, tf_rax = 1, tf_rbx = 
> -1099181396776, tf_rbp = 4, tf_r10 = -2138022504, tf_r11 = 0, tf_r12 = 
> -1098475937184, tf_r13 = 4, tf_r14 = 1, tf_r15 = 20, tf_trapno = 12, tf_addr 
> = 396, tf_flags = -1099181396776, tf_err = 0, tf_rip = -2143360297, tf_cs = 
> 8, tf_rflags = 65538, tf_rsp = -1521575056, tf_ss = 16}) at 
> /usr/src/sys/amd64/amd64/trap.c:238
>#6  0x80