Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Feb 2015 00:00:59 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 197535] [re] [panic] if_re (Realtek 8168) causes memory write after free and kernel panic
Message-ID:  <bug-197535-8-FhFP91dPgR@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-197535-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-197535-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197535

--- Comment #4 from Marius Strobl <marius@FreeBSD.org> ---
Created attachment 152990
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=152990&action=edit
re_cfgv2.diff

You could give this patch a try (note that the location of if_rlreg.h depends
on the version of FreeBSD). If fixes a couple of bugs, mainly in the area of
receiver configuration of newer chips. Given that these configuration bits got
repurposed and it's unknown what both the old and new bits do exactly in later
MACs, this patch might make a difference for you.
That said, generally your problem appears to be caused by a hardware defect of
some sort. For one, rev. 0x4c000000 chips are known to work at this time. Also,
the memory used for descriptors shouldn't suddenly go away and cause a page
fault when accessed. Moreover, the freed memory neither containing the expected
0xdeadc0de nor some random bits but just always all ones in your case is very
suspicious. Have you tested whether that piece of hardware works with Linux?

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-197535-8-FhFP91dPgR>