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

    Sanity check my xircom fix ….

    Scheduled Pinned Locked Moved Hardware
    9 Posts 4 Posters 3.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.
    • A
      apfusertoo
      last edited by

      Some background:  after FreeBSD 6.x, certain changes made xircom PCMCIA cards (among others) no longer functional in FreeBSD (and in turn, pfsense).

      Will this workaround / patch:

      http://forums.freebsd.org/showthread.php?t=2198

      work properly on pfsense 2.x ?  Basically I need to patch some files in /usr/src/sys/dev/cardbus and rebuild the kernel … is that a reasonable thing to be doing with pfsense ?

      If there's a better way to do this, I am all ears...

      1 Reply Last reply Reply Quote 0
      • W
        wallabybob
        last edited by

        Do you know the patch is still needed? (pfSense 2.0 snapshot builds are currently based on FreeBSD 8.1)

        1 Reply Last reply Reply Quote 0
        • A
          apfusertoo
          last edited by

          Yes, it is still needed.  Plain old FreeBSD 8.x still shows shows:

          cardbus0: Unable to allocate resource to read CIS.
          cardbus0: Unable to allocate resources for CIS

          and pfsense 2.x crashes immediately upon insertion.

          1 Reply Last reply Reply Quote 0
          • A
            apfusertoo
            last edited by

            Is it possible to get some "yay" or "nay" on the above process working ?

            I do this kind of thing all the time on plain old FreeBSD systems - I just want to make sure that the patching and recompiling operation that I have detailed above is a reasonable thing to be doing on a pfsense system.

            For instance, I don't even see the /usr/src directory when I log into the shell …

            Thanks!

            1 Reply Last reply Reply Quote 0
            • C
              cmb
              last edited by

              There is no source or compilers or anything else you need on the installs, you'll have to add your patch to the patch list and run the full build process. Or if you can just build it as a kernel module and copy it over that's definitely easier but not sure if that'll work for that specific scenario.

              1 Reply Last reply Reply Quote 0
              • A
                apfusertoo
                last edited by

                Hmmm…

                What if, during custom install, I choose the "developer" distro ?  Will that give me /usr/src and compilers and so on ?

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  No, that just gives you a debug kernel.

                  There is no option to get a compiler and other related tools (make, etc) on the firewall.

                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • A
                    apfusertoo
                    last edited by

                    @cmb:

                    There is no source or compilers or anything else you need on the installs, you'll have to add your patch to the patch list and run the full build process. Or if you can just build it as a kernel module and copy it over that's definitely easier but not sure if that'll work for that specific scenario.

                    Is there a wiki / HOWTO page on "the full build process" ?

                    I'm curious - does it bother anyone else that a fair number of PCMCIA cards just rotted out of FreeBSD ?  Support for xircom pcmcia cards was not dropped, and 'xe' is still part of FreeBSD … and yet, it has been broken since 6.x at least.

                    The same is true, apparently, of several other pcmcia adaptors.

                    Why was this allowed to happen ?

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      To make a builder system:
                      http://devwiki.pfsense.org/DevelopersBootStrapAndDevIso

                      As for why PCMCIA faded away, no idea. Probably because the hardware has somewhat faded away. Laptop hardware has a pretty short life no matter what OS it's running. Keeping that hardware around to make sure it works with the latest networking code can't be easy/cheap/fun for the FreeBSD developers. That's a question better asked on a FreeBSD mailing list/forum though.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

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