From owner-freebsd-bugs Sun Apr 21 21:50:10 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 89B0F37B420 for ; Sun, 21 Apr 2002 21:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g3M4o1H83721; Sun, 21 Apr 2002 21:50:01 -0700 (PDT) (envelope-from gnats) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by hub.freebsd.org (Postfix) with ESMTP id F1D1037B417; Sun, 21 Apr 2002 21:46:26 -0700 (PDT) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.11.6/8.11.6) id g3M4kMr34201; Mon, 22 Apr 2002 12:46:22 +0800 (KRAST) (envelope-from eugen) Message-Id: <200204220446.g3M4kMr34201@www.svzserv.kemerovo.su> Date: Mon, 22 Apr 2002 12:46:22 +0800 (KRAST) From: Eugene Grosbein To: FreeBSD-gnats-submit@FreeBSD.org Cc: jlemon@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/37330: [PATCH] le NIC driver still broken Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 37330 >Category: kern >Synopsis: [PATCH] le NIC driver still broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Apr 21 21:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Eugene Grosbein >Release: FreeBSD 4.5-STABLE i386 >Organization: Svyaz Service >Environment: System: 4.5-STABLE FreeBSD 4.5-STABLE #1: Thu Apr 18 11:45:04 KRAST 2002 DEC DE203 isa NIC >Description: le NIC driver is still broken in STABLE: ifconfig produces kernel panic. It's due to uninitialized ifp->if_init. >How-To-Repeat: build kernel with le0, boot it and try to configure interface. You'll get kernel panic. >Fix: Apply this patch to src/sys/i386/isa and get revived system. --- if_le.c.orig Mon Feb 4 10:44:06 2002 +++ if_le.c Mon Apr 22 11:53:00 2002 @@ -346,6 +346,7 @@ ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; ifp->if_output = ether_output; ifp->if_ioctl = le_ioctl; + ifp->if_init = sc->if_init; ifp->if_type = IFT_ETHER; ifp->if_addrlen = 6; ifp->if_hdrlen = 14; Eugene Grosbein >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message