From owner-freebsd-bugs@FreeBSD.ORG Thu Dec 20 18:10:03 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5713316A419 for ; Thu, 20 Dec 2007 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C85F13C44B for ; Thu, 20 Dec 2007 18:10:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBKIA3LF048820 for ; Thu, 20 Dec 2007 18:10:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBKIA39T048819; Thu, 20 Dec 2007 18:10:03 GMT (envelope-from gnats) Resent-Date: Thu, 20 Dec 2007 18:10:03 GMT Resent-Message-Id: <200712201810.lBKIA39T048819@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Manolis Kiagias Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C72E216A417 for ; Thu, 20 Dec 2007 18:04:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id AD36A13C447 for ; Thu, 20 Dec 2007 18:04:50 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBKI4Ri6068308 for ; Thu, 20 Dec 2007 18:04:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBKI4RgT068307; Thu, 20 Dec 2007 18:04:27 GMT (envelope-from nobody) Message-Id: <200712201804.lBKI4RgT068307@www.freebsd.org> Date: Thu, 20 Dec 2007 18:04:27 GMT From: Manolis Kiagias To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: kern/118897: Kernel Panic acquiring IP address from DHCP server on newly enabled netcard X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Dec 2007 18:10:03 -0000 >Number: 118897 >Category: kern >Synopsis: Kernel Panic acquiring IP address from DHCP server on newly enabled netcard >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 20 18:10:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Manolis Kiagias >Release: 6.3-RC1 >Organization: >Environment: FreeBSD pegasus.dyndns.org 6.3-RC1-p1 FreeBSD 6.3-RC1-p1 #2: Sun Dec 2 19:48:21 EET 2007 root@pegasus.dyndns.org:/usr/obj/usr/src/sys/PEGASUS i386 >Description: Machine has a broadcom network card shown as bfe0. At boot, the card is not enabled (commented out) in rc.conf Driver attaches normally. After editing rc.conf to enable the line: ifconfig_bfe0="DHCP" and running: /etc/rc.d/netif restart there is a kernel panic while getting an address from DHCP server (a linksys home router). panic: page fault fault virtual address = 0x104 fault code = supervisor read, page not present instruction pointer = 0x20:0xc052417d stack pointer = 0x28:0xe71ffbec frame pointer = 0x28:0xe71ffbf8 code segment = base 0x0 limit 0xfffff type 0x1b =DPL 0, pres 1, def32 1, gran 1 =resume, IOPL=0 =971 (ifconfig) =12 >How-To-Repeat: The symptom is repeatable every time. Use the procedure mentioned above. The symptom does not occur if you reboot after enabling the card in rc.conf. In this case the card is assigned an IP and subsequent runs of netif have no undesirable effects. >Fix: None that I know. Only workaround is to reboot after enabling the rc.conf entry. >Release-Note: >Audit-Trail: >Unformatted: