From owner-freebsd-current@FreeBSD.ORG Wed Jan 30 14:18:58 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FA4D16A419 for ; Wed, 30 Jan 2008 14:18:58 +0000 (UTC) (envelope-from gkozyrev@gmail.com) Received: from an-out-0708.google.com (an-out-0708.google.com [209.85.132.250]) by mx1.freebsd.org (Postfix) with ESMTP id 2DBA713C4EA for ; Wed, 30 Jan 2008 14:18:56 +0000 (UTC) (envelope-from gkozyrev@gmail.com) Received: by an-out-0708.google.com with SMTP id c14so70201anc.13 for ; Wed, 30 Jan 2008 06:18:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=IFQVYmBNV3pDpyWnFawrmwH4SNTs6437R9Wa5Uha8zM=; b=v2lHpRa25QDg2jDdNYtgMvd47jOQd8Htn5XQ2UrtzFyFgpFcenrjM9M7rh4ezgiEGwnd+/snmlyDgxugDmaAnZek/uBv94gBM/vdfCLKgmbDNySmL7YL3qYOKYIFzFX+nOtRLsWXxNecXYmEuRIsibL70RUM6vkH7xImwGQfeeY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QsuY2jDukvE7LC8GBcJeveZUuPjJzbiaOlnYJPH25HM2SghVfllB3wOkD1wWzssSPL/t9+IYMw/Qf9Gj9wqIpu2EN762q8h1AtdoUgaCjG9B/kakLRbmPJyuw2GSaV36P9+4Lspj18Zp7SfKf2FhAVCCrWLwmG7rFhD3rrQDAMo= Received: by 10.100.210.9 with SMTP id i9mr1549373ang.96.1201701063724; Wed, 30 Jan 2008 05:51:03 -0800 (PST) Received: by 10.100.10.14 with HTTP; Wed, 30 Jan 2008 05:51:03 -0800 (PST) Message-ID: Date: Wed, 30 Jan 2008 15:51:03 +0200 From: "Gleb Kozyrev" To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: general protection fault in in_ifadown X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2008 14:18:58 -0000 Hi Fatal trap 9: general protection fault while in kernel mode instruction pointer = 0x8:0xffffffff8056679f stack pointer = 0x10:0xffffffffb4c2a950 frame pointer = 0x10:0xffffffffb4c2a9a0 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 = 11612 (ifconfig) trap number = 9 panic: general protection fault KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a panic() at panic+0x17e trap_fatal() at trap_fatal+0x26f trap() at trap+0x21a calltrap() at calltrap+0x8 --- trap 0x9, rip = 0xffffffff8056679f, rsp = 0xffffffffb4c2a950, rbp = 0xffffffffb4c2a9a0 --- in_ifadown() at in_ifadown+0x1f in_control() at in_control+0x7f0 ifioctl() at ifioctl+0xea kern_ioctl() at kern_ioctl+0xa3 ioctl() at ioctl+0xf9 syscall() at syscall+0x1ce Xfast_syscall() at Xfast_syscall+0xab --- syscall (54, FreeBSD ELF64, ioctl), rip = 0x6a2fac, rsp = 0x7fffffffe348, rbp = 0x7fffffffedc1 --- FreeBSD 7.0-PRERELEASE #0: Mon Jan 7 19:20:49 EET 2008 Could this be fixed since then? Happened when playing with dhclient, maybe there were more instances of it than there should be :) Just before the crash it said: Corrupt lease file - possible data loss! kgdb: (kgdb) bt #0 doadump () at pcpu.h:194 #1 0xffffffff8048b220 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:409 #2 0xffffffff8048b5f1 in panic (fmt=0x1
) at /usr/src/sys/kern/kern_shutdown.c:563 #3 0xffffffff807878af in trap_fatal (frame=0x9, eva=Variable "eva" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:724 #4 0xffffffff807884da in trap (frame=0xffffffffb4c2a8a0) at /usr/src/sys/amd64/amd64/trap.c:526 #5 0xffffffff80770ffe in calltrap () at /usr/src/sys/amd64/amd64/exception.S:169 #6 0xffffffff8056679f in in_ifadown (ifa=0xffffff003bf5a600, delete=1) at /usr/src/sys/netinet/in_rmx.c:389 #7 0xffffffff805604f0 in in_control (so=Variable "so" is not available. ) at /usr/src/sys/netinet/in.c:474 #8 0xffffffff8051db2a in ifioctl (so=0xffffff002b085000, cmd=2149607705, data=0xffffff000142b800 "volia", td=0xffffff000d6149f0) at /usr/src/sys/net/if.c:1888 #9 0xffffffff804c48b3 in kern_ioctl (td=0xffffff000d6149f0, fd=3, com=2149607705, data=0xffffff000142b800 "volia") at file.h:266 #10 0xffffffff804c4b19 in ioctl (td=0xffffff000d6149f0, uap=0xffffffffb4c2abe0) at /usr/src/sys/kern/sys_generic.c:570 #11 0xffffffff80787e0e in syscall (frame=0xffffffffb4c2ac70) at /usr/src/sys/amd64/amd64/trap.c:852 #12 0xffffffff8077120b in Xfast_syscall () at /usr/src/sys/amd64/amd64/exception.S:290 #13 0x00000000006a2fac in ?? () Previous frame inner to this frame (corrupt stack?) kernconf: include GENERIC options INCLUDE_CONFIG_FILE # Include this file in kernel nooption SMP # Symmetric MultiProcessor Kernel nocpu I486_CPU nocpu I586_CPU nooption SCHED_4BSD options SCHED_ULE device crypto # core crypto support options IPSEC # New IPsec (cannot define w/ IPSEC) options LIBALIAS # Libalias library, performing NAT options IPFIREWALL # ipfw options IPFIREWALL_VERBOSE # enable logging to syslogd(8) options IPFIREWALL_FORWARD # Packet destination changes options IPFIREWALL_NAT # ipfw kernel NAT support options GEOM_JOURNAL # Journaling options KDB # Compile with kernel debugger related code. options DDB # Enable the ddb debugger backend. options KDB_TRACE # Print a stack trace of the current thread on the console for a panic. options ALT_BREAK_TO_DEBUGGER # Break via "CR ~ ^b" options INVARIANTS # Enable calls of extra sanity checking options INVARIANT_SUPPORT # Extra sanity checks of internal structures, required by INVARIANTS options WITNESS # Enable checks to detect deadlocks and cycles options WITNESS_SKIPSPIN # Don't run witness on spinlocks for speed nodevice umass # Disks/Mass storage - Requires scbus and da device ucom # USB serial support device uplcom # USB support for Prolific PL-2303 serial adapters -- With best regards, Gleb Kozyrev.