From owner-freebsd-current Sun Oct 11 00:56:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA29650 for freebsd-current-outgoing; Sun, 11 Oct 1998 00:56:58 -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 AAA29645 for ; Sun, 11 Oct 1998 00:56:54 -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 AAA00289; Sun, 11 Oct 1998 00:56:38 -0700 (PDT) (envelope-from mantar@netcom.com) Message-Id: <4.1.19981011005524.00a54420@192.168.0.1> X-Sender: null@192.168.0.1 X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Sun, 11 Oct 1998 00:56:39 -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: <199810110732.AAA10138@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 12:32 AM 10/11/98 -0700, David Greenman wrote: >>>>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 > > Actually, I wanted you to apply it to rev 1.56. We already know that rev >1.55 works okay for you. Alternatively, you can just update to -current (rev >1.57 of if_fxp.c) since I've already committed the fix. > I was wondering if that's what you wanted. Anyway rev. 1.57 works fine 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