Kernel panic with fresh current, probably nfs related
Joel Dahl
joel at vnode.se
Sat Aug 29 07:39:03 UTC 2015
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
More information about the freebsd-current
mailing list