Date: Mon, 22 Apr 2002 12:46:22 +0800 (KRAST) From: Eugene Grosbein <eugen@grosbein.pp.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: jlemon@FreeBSD.org Subject: kern/37330: [PATCH] le NIC driver still broken Message-ID: <200204220446.g3M4kMr34201@www.svzserv.kemerovo.su>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200204220446.g3M4kMr34201>