From owner-freebsd-current Sat Oct 10 23:39:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA24165 for freebsd-current-outgoing; Sat, 10 Oct 1998 23:39:19 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from pozo.pozo.com (pozo.pozo.com [207.201.8.18]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA24160 for ; Sat, 10 Oct 1998 23:39:17 -0700 (PDT) (envelope-from mantar@netcom.com) Received: from dual (DUAL [192.168.0.2]) by pozo.pozo.com (8.9.1/8.9.1) with SMTP id XAA00346; Sat, 10 Oct 1998 23:39:01 -0700 (PDT) (envelope-from mantar@netcom.com) Message-Id: <4.1.19981010233724.00a4b820@192.168.0.1> X-Sender: null@192.168.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sat, 10 Oct 1998 23:39:01 -0700 To: dg@root.com From: Manfred Antar Subject: Re: Version 1.56 of if_fxp.c causes fatal trap 12 Cc: current@FreeBSD.ORG In-Reply-To: <199810110610.XAA09234@implode.root.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 11:10 PM 10/10/98 -0700, David Greenman wrote: >>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) > I applied the patch to version 1.55 and just make an elf kernel It booted without a problem Thanks Manfred ============================== || mantar@netcom.com || || pozo@infinex.com || || Ph. (415) 681-6235 || ============================== To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message