From owner-freebsd-stable@FreeBSD.ORG Mon May 3 20:04:25 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8E197106566C for ; Mon, 3 May 2010 20:04:25 +0000 (UTC) (envelope-from newroswell@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 671F98FC15 for ; Mon, 3 May 2010 20:04:25 +0000 (UTC) Received: by pxi11 with SMTP id 11so425397pxi.13 for ; Mon, 03 May 2010 13:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=76tfeaSDcEtrqz8iscVxtvEU9bBPzgJ6/wBVEAi5sHU=; b=KAzPRlTwWrwJqHBt1d+0KPbiZ3+tKrmJw8fGOtBrf2UtXGgXf6bCnBK2QUtcW292Iv x5TQRb7figpB7iW6pPChQ9X3bYal3afSuxE9Ztf86mtyaZAX8AqoNXfTvzBTRABoWpoP hVN9bPlRQ+MIXJ1OfITNmO51+jtrVnEljB2v8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RUBkB3AnrfB6Eae2MdlQSqTFD2E/cSCI0gEeEIixecnz/CDxkdNdBlrEmtYF/zaG5t 9tjhIw/H8T9XXZGdXRzuJuQh456iaoyYaHHw3uT4aNaZdkbB8IIsgvShjbD6+u/yNple ubSWkOK7A8Hyol1piE9UdFMuFx8Vc0NP1rLPo= MIME-Version: 1.0 Received: by 10.142.65.24 with SMTP id n24mr9599867wfa.302.1272915573790; Mon, 03 May 2010 12:39:33 -0700 (PDT) Received: by 10.142.230.11 with HTTP; Mon, 3 May 2010 12:39:33 -0700 (PDT) Date: Mon, 3 May 2010 12:39:33 -0700 Message-ID: From: Kevin Sanders To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: panic from sysctl with RELENG_8_0 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 May 2010 20:04:25 -0000 I'm seeing the following panic several times a week. It happens when we have a periodic script run that is doing a "sysctl -a | grep | sed" to fetch information we use for logging. I'm not sure if it panics in the same OID every time, but a little investigation with KGDB on the core file shows it had reached vm.vmtotal this time. Is it a known issue, hopefully with a fix (besides not doing a sysctl -a)? Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0xa0d0c90 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8058647e stack pointer = 0x28:0xffffff8077feb8c0 frame pointer = 0x28:0xffffff8077feb8e0 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 = 83436 (sysctl) Physical memory: 4078 MB Dumping 1701 MB: 1686 1670 1654 1638 1622 1606 1590 1574 1558 1542 1526 1510 1494 1478 1462 1446 1430 1414 1398 1382 1366 1350 1334 1318 1302 1286 1270 1254 1238 1222 1206 1190 1174 1158 1142 1126 1110 1094 1078 1062 1046 1030 1014 998 982 966 950 934 918 902 886 870 854 838 822 806 790 774 758 742 726 710 694 678 662 646 630 614 598 582 566 550 534 518 502 486 470 454 438 422 406 390 374 358 342 326 310 294 278 262 246 230 214 198 182 166 150 134 118 102 86 70 54 38 22 6 Reading symbols from /boot/kernel/accf_http.ko...Reading symbols from /boot/kernel/accf_http.ko.symbols...done. done. Loaded symbols for /boot/kernel/accf_http.ko Reading symbols from /boot/kernel/if_bridge.ko...Reading symbols from /boot/kernel/if_bridge.ko.symbols...done. done. Loaded symbols for /boot/kernel/if_bridge.ko Reading symbols from /boot/kernel/bridgestp.ko...Reading symbols from /boot/kernel/bridgestp.ko.symbols...done. done. Loaded symbols for /boot/kernel/bridgestp.ko Reading symbols from /boot/kernel/lsnet.ko...done. Loaded symbols for /boot/kernel/lsnet.ko Reading symbols from /boot/kernel/bpmod.ko...done. Loaded symbols for /boot/kernel/bpmod.ko #0 doadump () at pcpu.h:223 223 pcpu.h: No such file or directory. in pcpu.h (kgdb) #0 doadump () at pcpu.h:223 #1 0xffffffff801e2e6c in db_fncall (dummy1=Variable "dummy1" is not available. ) at /usr/src/sys/ddb/db_command.c:548 #2 0xffffffff801e311d in db_command (last_cmdp=0xffffffff80beb9a0, cmd_table=Variable "cmd_table" is not available. ) at /usr/src/sys/ddb/db_command.c:445 #3 0xffffffff801e7683 in db_script_exec ( scriptname=0xffffffff808e50d0 "kdb.enter.default", warnifnotfound=0) at /usr/src/sys/ddb/db_script.c:302 #4 0xffffffff801e777e in db_script_kdbenter (eventname=Variable "eventname" is not available. ) at /usr/src/sys/ddb/db_script.c:325 #5 0xffffffff801e53b4 in db_trap (type=Variable "type" is not available. ) at /usr/src/sys/ddb/db_main.c:228 #6 0xffffffff805c53d5 in kdb_trap (type=12, code=0, tf=0xffffff8077feb810) at /usr/src/sys/kern/subr_kdb.c:535 #7 0xffffffff8088316d in trap_fatal (frame=0xffffff8077feb810, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:847 #8 0xffffffff80883544 in trap_pfault (frame=0xffffff8077feb810, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:768 #9 0xffffffff80883f8f in trap (frame=0xffffff8077feb810) at /usr/src/sys/amd64/amd64/trap.c:494 #10 0xffffffff80869873 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:224 #11 0xffffffff8058647e in _mtx_lock_sleep (m=0xffffff0073898000, tid=18446742975565457184, opts=Variable "opts" is not available. ) at /usr/src/sys/kern/kern_mutex.c:369 #12 0xffffffff807eda6e in vmtotal (oidp=0xffffffff80bb52c0, arg1=Variable "arg1" is not available. ) at /usr/src/sys/vm/vm_meter.c:186 #13 0xffffffff8059ebf8 in sysctl_root (oidp=Variable "oidp" is not available. ) at /usr/src/sys/kern/kern_sysctl.c:1418 #14 0xffffffff8059fea1 in userland_sysctl (td=0x0, name=0xffffff8077febaa0, namelen=2, old=0x0, oldlenp=Variable "oldlenp" is not available. ) at /usr/src/sys/kern/kern_sysctl.c:1522 #15 0xffffffff805a007a in __sysctl (td=0xffffff005182e720, uap=0xffffff8077febbf0) at /usr/src/sys/kern/kern_sysctl.c:1448 #16 0xffffffff808837b6 in syscall (frame=0xffffff8077febc80) at /usr/src/sys/amd64/amd64/trap.c:984 #17 0xffffffff80869b51 in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:373 #18 0x000000080073d9dc in ?? ()