Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Apr 2007 00:30:19 -0400
From:      "Phillip N." <pneumann@gmail.com>
To:        Scott Long <scottl@samsco.org>
Cc:        scottl@freebsd.org, Jan Mikkelsen <janm@transactionware.com>, erich@areca.com.tw, FreeBSD Stable <freebsd-stable@freebsd.org>, Nikolas Britton <nikolas.britton@gmail.com>
Subject:   Re: Amd64 Unstable Areca
Message-ID:  <1176525019.1258.2.camel@localhost>
In-Reply-To: <460D94C5.3080604@samsco.org>
References:  <ef10de9a0703241853t2a06f651r3286423d3b1b5feb@mail.gmail.com> <000b01c76e82$9e6f5a10$0502a8c0@IBMA618C20271E> <ef10de9a0703242306s6d1806a6l5856d5b757db36a@mail.gmail.com> <46069F1E.6090008@samsco.org> <1175276716.1271.22.camel@localhost> <ef10de9a0703301509i52269f9t66cba068020d273e@mail.gmail.com> <460D8CC0.9060006@samsco.org> <ef10de9a0703301549l66b2965y1423ac16658a0d6d@mail.gmail.com> <460D94C5.3080604@samsco.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-lZhTdnsjLd+Q8gi6HV/Q
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Im getting the following on Releng_6 from Apr  4.

Is this related to the areca driver?

thanks.

--=-lZhTdnsjLd+Q8gi6HV/Q
Content-Disposition: attachment; filename=trace1.txt
Content-Type: text/plain; name=trace1.txt; charset=UTF-8
Content-Transfer-Encoding: 8bit

[root@worm /usr/obj/usr/src/sys/WORM]# kgdb kernel.debug /var/crash/vmcore.0 
[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:0xffffffff8046c33f
stack pointer           = 0x10:0xffffffffb776c790
frame pointer           = 0x10:0xffffffffa0cf1358
code segment            = base 0x0, limit 0xfffff, 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:0xffffffff805c67a0
stack pointer           = 0x10:0xffffffffb499d970
frame pointer           = 0x10:0xffffff0005e301f0
code segment            = base 0x0, limit 0xfffff, 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) bt
#0  doadump () at pcpu.h:172
#1  0x0000000000000004 in ?? ()
#2  0xffffffff804156d7 in boot (howto=260)
    at /usr/src/sys/kern/kern_shutdown.c:409
#3  0xffffffff80415d71 in panic (fmt=0xffffff0072a78980 "X�Kl")
    at /usr/src/sys/kern/kern_shutdown.c:565
#4  0xffffffff8063a0cf in trap_fatal (frame=0xffffff0072a78980, 
    eva=18446742976014820184) at /usr/src/sys/amd64/amd64/trap.c:668
#5  0xffffffff8063a44c in trap_pfault (frame=0xffffffffb776c6e0, usermode=0)
    at /usr/src/sys/amd64/amd64/trap.c:580
#6  0xffffffff8063a703 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  0xffffffff80622dab in calltrap ()
    at /usr/src/sys/amd64/amd64/exception.S:168
#8  0xffffffff8046c33f in vfs_setdirty (bp=0xffffffffa0cf1358) at atomic.h:139
#9  0xffffffff80470773 in bdwrite (bp=0xffffffffa0cf1358)
    at /usr/src/sys/kern/vfs_bio.c:963
---Type <return> to continue, or q <return> to quit---
#10 0xffffffff805a3514 in ffs_write (ap=0xffffffffb776ca30)
    at /usr/src/sys/ufs/ffs/ffs_vnops.c:772
#11 0xffffffff80691c4b in VOP_WRITE_APV (vop=0xffffffff808e5900, 
    a=0xffffffffb776ca30) at vnode_if.c:698
#12 0xffffffff8049137a in vn_write (fp=0xffffff004b7a7708, 
    uio=0xffffffffb776cb50, active_cred=0xffffff007d849d08, flags=0, 
    td=0xffffff0072a78980) at vnode_if.h:372
#13 0xffffffff80440d67 in dofilewrite (td=0xffffff0072a78980, fd=3, 
    fp=0xffffff004b7a7708, auio=0xffffffffb776cb50, offset=-1098265798384, 
    flags=0) at file.h:253
#14 0xffffffff804410d0 in kern_writev (td=0xffffff0072a78980, fd=3, 
    auio=0xffffffffb776cb50) at /usr/src/sys/kern/sys_generic.c:402
#15 0xffffffff804411c8 in write (td=0xffffffffa0cf1358, uap=0xffffff0072a78980)
    at /usr/src/sys/kern/sys_generic.c:326
#16 0xffffffff8063af81 in syscall (frame=
      {tf_rdi = 3, tf_rsi = 5382144, tf_rdx = 4096, tf_rcx = 0, tf_r8 = 1107186, tf_r9 = 5, tf_rax = 4, tf_rbx = 34371058720, tf_rbp = 4096, tf_r10 = 140737488345232, tf_r11 = 2, tf_r12 = 5382144, tf_r13 = 20, tf_r14 = 4279044, tf_r15 = 34371058720, tf_trapno = 22, tf_addr = 0, tf_flags = 20, tf_err = 2, tf_rip = 34369765036, tf_cs = 43, tf_rflags = 518, tf_rsp = 140737488345240, tf_ss = 35})
    at /usr/src/sys/amd64/amd64/trap.c:803
#17 0xffffffff80622f48 in Xfast_syscall ()
    at /usr/src/sys/amd64/amd64/exception.S:270
---Type <return> to continue, or q <return> to quit---
#18 0x000000080098feac in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) list *0xffffffff8046c33f
0xffffffff8046c33f is in vfs_setdirty (atomic.h:142).
137     static __inline int
138     atomic_cmpset_long(volatile u_long *dst, u_long exp, u_long src)
139     {
140             long res = exp;
141
142             __asm __volatile (
143             "       " __XSTRING(MPLOCKED) " "
144             "       cmpxchgq %2,%1 ;        "
145             "       setz    %%al ;          "
146             "       movzbq  %%al,%0 ;       "

--=-lZhTdnsjLd+Q8gi6HV/Q
Content-Disposition: attachment; filename=trace2.txt
Content-Type: text/plain; name=trace2.txt; charset=UTF-8
Content-Transfer-Encoding: 8bit

[root@worm /usr/obj/usr/src/sys/WORM]# kgdb kernel.debug /var/crash/vmcore.1 
[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 = 1; apic id = 01
fault virtual address   = 0x38
fault code              = supervisor write data, page not present
instruction pointer     = 0x8:0xffffffff8046c33f
stack pointer           = 0x10:0xffffffffb77f05e0
frame pointer           = 0x10:0xffffffffa128e8a0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 63443 (pkg_add)
trap number             = 12
panic: page fault
cpuid = 1
Uptime: 4d23h36m35s
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

Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01 1727
fault virtual address   = 0x38
fault code              = supervisor write data, page not present
instruction pointer     = 0x8:0xffffffff8046c33f
stack pointer           = 0x10:0xffffffffb499da30
frame pointer           = 0x10:0xffffffffa128e8a0
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 40 (syncer)
trap number             = 12
panic: page fault
cpuid = 1
 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 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) bt
#0  doadump () at pcpu.h:172
#1  0x0000000000000004 in ?? ()
#2  0xffffffff804156d7 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409
#3  0xffffffff80415d71 in panic (fmt=0xffffff0073287000 "�\226\237a") at /usr/src/sys/kern/kern_shutdown.c:565
#4  0xffffffff8063a0cf in trap_fatal (frame=0xffffff0073287000, eva=18446742975835772592) at /usr/src/sys/amd64/amd64/trap.c:668
#5  0xffffffff8063a44c in trap_pfault (frame=0xffffffffb77f0530, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:580
#6  0xffffffff8063a703 in trap (frame=
      {tf_rdi = -1591154528, tf_rsi = -1097579597824, tf_rdx = -1097369832344, tf_rcx = 3100, tf_r8 = 1, tf_r9 = -1097874059264, tf_rax = 4, tf_rbx = 4, tf_rbp = -1591154528, tf_r10 = 16384, tf_r11 = -1591154528, tf_r12 = 0, tf_r13 = -1591154528, tf_r14 = -1097898646560, tf_r15 = -1216411040, tf_trapno = 12, tf_addr = 56, tf_flags = 2105634, tf_err = 2, tf_rip = -2142846145, tf_cs = 8, tf_rflags = 66050, tf_rsp = -1216412176, tf_ss = 16})
    at /usr/src/sys/amd64/amd64/trap.c:353
#7  0xffffffff80622dab in calltrap () at /usr/src/sys/amd64/amd64/exception.S:168
#8  0xffffffff8046c33f in vfs_setdirty (bp=0xffffffffa128e8a0) at atomic.h:139
#9  0xffffffff80470773 in bdwrite (bp=0xffffffffa128e8a0) at /usr/src/sys/kern/vfs_bio.c:963
#10 0xffffffff8058b200 in ffs_update (vp=0x5c5d, waitfor=0) at /usr/src/sys/ufs/ffs/ffs_inode.c:126
#11 0xffffffff805adc02 in ufs_rename (ap=0xffffffffb77f0970) at /usr/src/sys/ufs/ufs/ufs_vnops.c:1072
#12 0xffffffff80691fa9 in VOP_RENAME_APV (vop=0xffffffff808e6480, a=0xffffffffb77f0970) at vnode_if.c:1200
#13 0xffffffff8048c36e in kern_rename (td=0xffffff003c2b79b0, from=0x0, to=0xffffff003ca857c0 "\002", pathseg=3078556256) at vnode_if.h:624
#14 0xffffffff8063af81 in syscall (frame=
      {tf_rdi = 5537872, tf_rsi = 140737488335328, tf_rdx = -1, tf_rcx = 2, tf_r8 = -2137868712, tf_r9 = 140737488069832, tf_rax = 128, tf_rbx = 5530464, tf_rbp = 140737488337424, tf_r10 = 140737488069744, tf_r11 = 140737488069456, tf_r12 = 140737488335328, tf_r13 = 140737488201072, tf_r14 = 140737488069984, tf_r15 = 131006, tf_trapno = 12, tf_addr = 140737488067680, tf_flags = 0, tf_err = 2, tf_rip = 34372487084, tf_cs = 43, tf_rflags = 582, tf_rsp = 140737488069976, tf_ss = 35}) at /usr/src/sys/amd64/amd64/trap.c:803
#15 0xffffffff80622f48 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:270
#16 0x0000000800c287ac in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) list *0xffffffff8046c33f
0xffffffff8046c33f is in vfs_setdirty (atomic.h:142).
137     static __inline int
138     atomic_cmpset_long(volatile u_long *dst, u_long exp, u_long src)
139     {
140             long res = exp;
141
142             __asm __volatile (
143             "       " __XSTRING(MPLOCKED) " "
144             "       cmpxchgq %2,%1 ;        "
145             "       setz    %%al ;          "
146             "       movzbq  %%al,%0 ;       "
(kgdb) 

--=-lZhTdnsjLd+Q8gi6HV/Q--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1176525019.1258.2.camel>