Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    I386 pfsense - Development Env for patching re0 driver

    Scheduled Pinned Locked Moved Development
    3 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      markus12
      last edited by

      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!

      Markus :(

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        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!)

        Steve

        1 Reply Last reply Reply Quote 0
        • M
          markus12
          last edited by

          Thanks Steve, I will try a snapshot.

          Markus

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.