From owner-freebsd-current Sun Oct 11 00:33:43 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA27980 for freebsd-current-outgoing; Sun, 11 Oct 1998 00:33:43 -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 AAA27975 for ; Sun, 11 Oct 1998 00:33:41 -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 AAA10138; Sun, 11 Oct 1998 00:32:18 -0700 (PDT) Message-Id: <199810110732.AAA10138@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 23:39:01 PDT." <4.1.19981010233724.00a4b820@192.168.0.1> From: David Greenman Reply-To: dg@root.com Date: Sun, 11 Oct 1998 00:32:18 -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>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. -DG David Greenman Co-founder/Principal Architect, The FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message