Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2015 09:38:59 +0200
From:      Joel Dahl <joel@vnode.se>
To:        Sean Bruno <sbruno@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: Kernel panic with fresh current, probably nfs related
Message-ID:  <20150829073859.GA847@ymer.vnode.se>
In-Reply-To: <55DCC816.603@freebsd.org>
References:  <20150822115519.GA79434@ymer.vnode.se> <914810061.28949434.1440248260373.JavaMail.zimbra@uoguelph.ca> <55D8BEB6.7090202@freebsd.org> <20150824013636.GA1015@michelle.fasterthan.com> <55DB5FD8.1010308@freebsd.org> <20150825191006.GA89428@ymer.vnode.se> <55DCC816.603@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Aug 25, 2015 at 12:55:02PM -0700, Sean Bruno wrote:
> 
> 
> On 08/25/15 12:10, Joel Dahl wrote:
> >> > Seems to work. However, I cannot reproduce the user panic in the first
> >> > place.  What's the scenario that seems to work here?  NFS seems happy
> >> > with/without the patch so I'm not confident in anything we are doing her
> >> > e.
> > I see several patches here. Which one should I be using?
> 
> This:
> 
> Index: sys/dev/e1000/if_em.c
> ===================================================================
> --- sys/dev/e1000/if_em.c	(revision 287087)
> +++ sys/dev/e1000/if_em.c	(working copy)
> @@ -3044,7 +3044,7 @@ em_setup_interface(device_t dev, struct adapter *a
>  	if_setioctlfn(ifp, em_ioctl);
>  	if_setgetcounterfn(ifp, em_get_counter);
>  	/* TSO parameters */
> -	ifp->if_hw_tsomax = EM_TSO_SIZE;
> +	ifp->if_hw_tsomax = IP_MAXPACKET;
>  	ifp->if_hw_tsomaxsegcount = EM_MAX_SCATTER;
>  	ifp->if_hw_tsomaxsegsize = EM_TSO_SEG_SIZE;

Using this patch, my nfs server has survived several
installkernel/installworld cycles.

-- 
Joel



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