From owner-freebsd-current Sat Oct 10 23:11:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA22449 for freebsd-current-outgoing; Sat, 10 Oct 1998 23:11:41 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from implode.root.com (implode.root.com [198.145.90.17]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA22442 for ; Sat, 10 Oct 1998 23:11:37 -0700 (PDT) (envelope-from root@implode.root.com) Received: from implode.root.com (localhost [127.0.0.1]) by implode.root.com (8.8.5/8.8.5) with ESMTP id XAA09234; Sat, 10 Oct 1998 23:10:14 -0700 (PDT) Message-Id: <199810110610.XAA09234@implode.root.com> To: Manfred Antar cc: current@FreeBSD.ORG Subject: Re: Version 1.56 of if_fxp.c causes fatal trap 12 In-reply-to: Your message of "Sat, 10 Oct 1998 22:25:59 PDT." <4.1.19981010213916.00a48a70@192.168.0.1> From: David Greenman Reply-To: dg@root.com Date: Sat, 10 Oct 1998 23:10:14 -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >With a very current elf kernel (SMP) built with version 1.56 if_fxp.c >causes the break to debugger right when doing the ifconfig part of rc.conf. >with an aout (SMP) kernel there is no problem. >with an elf (No SMP) there is no problem > >The instruction pointer is 0x8:0xf015b820 >current process = 62 (ifconfig) >Stopped at m_freem+0x1c: movswl 0x10(%esi),%eax >closest I can get with nm is f015b804 T m_freem > >With version 1.55 there is no problems with any of the above configurations >The motherboard is an Intel PR440FX with 2 200mhz-ppro and built in eithernet Please apply the attached patch and let me know if it fixes the problem for you. Thanks. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project Index: if_fxp.c =================================================================== RCS file: /home/ncvs/src/sys/pci/if_fxp.c,v retrieving revision 1.55 diff -c -r1.55 if_fxp.c *** if_fxp.c 1998/08/04 08:53:12 1.55 --- if_fxp.c 1998/10/11 06:08:30 *************** *** 641,646 **** --- 641,647 ---- M_DEVBUF, M_NOWAIT); if (sc->cbl_base == NULL) goto fail; + bzero(sc->cbl_base, sizeof(struct fxp_cb_tx) * FXP_NTXCB); sc->fxp_stats = malloc(sizeof(struct fxp_stats), M_DEVBUF, M_NOWAIT); if (sc->fxp_stats == NULL) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message