I386 pfsense - Development Env for patching re0 driver
Dear all, I am new to pfsense, I need to patch the re0 driver because my machine crashing with "re0: PHY write failed" from time to time.
I found a patch here http://freebsd.1045724.n5.nabble.com/re0-problem-td3964190.html, which seems to work…
And now I tried to use the dev env iso here http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso and followed the documentation.
Currently I successfully setup the .ova, the dev env, file from the pages above which is for amd64, but I need to patch and build for i386. Don't know how to set it up for i386 and to apply the patch...
Any help would be appreciated!
The patch listed in that thread is 3.5 years old. It may have worked at the time but that was against a much older version of if_re.c from FreeBSD 7.
If it was good code it will be in the 8.1-rel driver in pfSense 2.0.1. Since that time there have been significant changes to network drivers so that actual code may no longer be present.
There is no way you could apply that patch to 8.1-rel source code.
Have you tried one of the newer snapshots? They are based on 8.3 so have newer drivers, your problem may have already been fixed. :)
http://snapshots.pfsense.org/ (use for testing only!)
Thanks Steve, I will try a snapshot.