Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 1998 23:39:01 -0700
From:      Manfred Antar <mantar@netcom.com>
To:        dg@root.com
Cc:        current@FreeBSD.ORG
Subject:   Re: Version 1.56 of if_fxp.c causes fatal trap 12 
Message-ID:  <4.1.19981010233724.00a4b820@192.168.0.1>
In-Reply-To: <199810110610.XAA09234@implode.root.com>
References:  <Your message of "Sat, 10 Oct 1998 22:25:59 PDT."             <4.1.19981010213916.00a48a70@192.168.0.1>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.1.19981010233724.00a4b820>