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

    Run0 device hangs/reboots pfsense box when active

    Scheduled Pinned Locked Moved General pfSense Questions
    28 Posts 6 Posters 7.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.
    • W
      wallabybob
      last edited by

      @DiskWizard:

      I know, now it is the time to assign the WiFi interface as OPTx, but what are the next steps.

      Pretty much what I described in my previous reply but you don't need to remove the OPTx interface from the bridge.

      1 Reply Last reply Reply Quote 0
      • S
        selui
        last edited by

        @wallabybob:

        Is the wireless mode of the run0 device Access Point or Infrastructure? If I recall correctly, Infrastructure mode is broken in the FreeBSD 8.x (x =1 or 3, probably others as well) driver for run devices.

        Hi all, I'm new here! Got the same problem with run0.

        My device is a Linksys WUSB100:

        run0: <cisco-linksys 0="" 2="" llc="" linksys="" wusb100="" rangeplus="" wireless="" usb="" adapter,="" class="" 0,="" rev="" 2.00="" 1.01,="" addr="">on usbus3
        run0: MAC/BBP RT2860 (rev 0x0102), RF RT2720 (MIMO 1T2R), address 00:1e:e5:df:5e:84
        run0: firmware RT2870 loaded</cisco-linksys> 
        

        As you say, there is a bug in the Ralink driver in FreeBSD 8.x that has been patched in further versions. More info here and here. So I don't think that removing the interface from the bridge would make sense.

        There are some updated versions of this driver, where new devices has been added, but the bug seems not to have been fixed.

        I'm currently trying to get a build environment where I can mix up the (latest?) version of if_run.c with the patched one. Just following these instructions and stealing some sleep time  ;D. Since  there is not too much documentation, I have decided to join the forum and will try to get success with your help.

        Thank you all

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

          @selui:

          There are some updated versions of this driver, where new devices has been added, but the bug seems not to have been fixed.

          Where are the updated versions that don't have the bug fixed?

          1 Reply Last reply Reply Quote 0
          • S
            selui
            last edited by

            @wallabybob:

            @selui:

            There are some updated versions of this driver, where new devices has been added, but the bug seems not to have been fixed.

            Where are the updated versions that don't have the bug fixed?

            Here is the latest one for 8.3 dated on 03-2012.

            The bug "page fault caused by referring freed node" detected on 2011 seems not to be fixed in that version. Look at run_drain_fifo starting at line 2226 and compare with the same function on this version at line 2242.

            Please, let me know if I'm going wrong…

            Thanks!

            1 Reply Last reply Reply Quote 0
            • D
              DiskWizard
              last edited by

              Ah, exactly as I thought - it is not a configuration problem, but the driver related.

              1. GA-N3150M-D3P 8Gb RAM

              2. GA-C1037EN-EU 4GB RAM

              • 2,5 SATA III Solid State Drive SLIM S60
              1 Reply Last reply Reply Quote 0
              • S
                selui
                last edited by

                I hope I got it!

                [2.1-RC1][root@pfsense.ibernetica.com]/root(3): uname -a
                FreeBSD pfsense.ibernetica.com 8.3-RELEASE-p10 FreeBSD 8.3-RELEASE-p10 #1: Thu Sep  5 14:04:16 CEST 2013     root@freebsd.ibernetica.com:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8  amd64
                [[/code]
                
                I've just patched the driver, built and installed my fixed kernel. Now testing...  ;D
                
                1 Reply Last reply Reply Quote 0
                • D
                  DiskWizard
                  last edited by

                  Whoa man, you almost make my day  ;D

                  1. GA-N3150M-D3P 8Gb RAM

                  2. GA-C1037EN-EU 4GB RAM

                  • 2,5 SATA III Solid State Drive SLIM S60
                  1 Reply Last reply Reply Quote 0
                  • D
                    DiskWizard
                    last edited by

                    Since it is the driver from Akinori Furukoshi it should be configured in different way thru wlan0 device. Gonna make some digging in that way.

                    1. GA-N3150M-D3P 8Gb RAM

                    2. GA-C1037EN-EU 4GB RAM

                    • 2,5 SATA III Solid State Drive SLIM S60
                    1 Reply Last reply Reply Quote 0
                    • M
                      MaxPF
                      last edited by

                      I had nothing but problems when I used a Ralink usb adapter. My Alix box would constantly reboot randomly. Once I removed it and used an external AP everything went back to normal.

                      1 Reply Last reply Reply Quote 0
                      • D
                        DiskWizard
                        last edited by

                        Well, I understand you, but the question is - should we continue to try the driver or abandon it as non-useable ? I think I'll contact the author for some clarification.
                        Thank you for your answer.

                        1. GA-N3150M-D3P 8Gb RAM

                        2. GA-C1037EN-EU 4GB RAM

                        • 2,5 SATA III Solid State Drive SLIM S60
                        1 Reply Last reply Reply Quote 0
                        • M
                          MaxPF
                          last edited by

                          @DiskWizard:

                          Well, I understand you, but the question is - should we continue to try the driver or abandon it as non-useable ? I think I'll contact the author for some clarification.
                          Thank you for your answer.

                          Sorry, my comment came out the wrong way, but reading this thread reminded me all the frustration that thing caused me ;) . If the problem is in fact a buggy driver, it would be great if it could be fixed and eventually included in 2.1. The Ralink USB adapters are a very cheap and easy way to add wifi to Alix and similar hardware.

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by

                            @MaxPF:

                            The Ralink USB adapters are a very cheap and easy way to add wifi to Alix and similar hardware.

                            No offense, but adding something like this to your Alix is about zillion times better than using some Ralink USB junk.

                            1 Reply Last reply Reply Quote 0
                            • P
                              phil.davis
                              last edited by

                              @doktornotor:

                              @MaxPF:

                              The Ralink USB adapters are a very cheap and easy way to add wifi to Alix and similar hardware.

                              No offense, but adding something like this to your Alix is about zillion times better than using some Ralink USB junk.

                              +1 - I have a couple of Alix in remote places with an Atheros WiFi card inside. The card is a bit more expensive than a separate WiFi box, but it saves power for a separate box… Can be simpler for remote/small office installs.

                              As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                              If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                              1 Reply Last reply Reply Quote 0
                              • D
                                DiskWizard
                                last edited by

                                Oh, yeah ! Finally !!!
                                The reply from the author of the driver

                                Hello,

                                This bug was fixed about a couple of years ago.
                                http://www.freebsd.org/cgi/query-pr.cgi?pr=153938&cat=

                                But, it did not backported to FreeBSD 8.* If pfsense does not use
                                freebsd 9.0 or newer release, the patch need to be applied manually to
                                pfsense's src tree.

                                AK

                                1. GA-N3150M-D3P 8Gb RAM

                                2. GA-C1037EN-EU 4GB RAM

                                • 2,5 SATA III Solid State Drive SLIM S60
                                1 Reply Last reply Reply Quote 0
                                • D
                                  DiskWizard
                                  last edited by

                                  P.S. Maybe someone will open a ticket for the issue ?

                                  1. GA-N3150M-D3P 8Gb RAM

                                  2. GA-C1037EN-EU 4GB RAM

                                  • 2,5 SATA III Solid State Drive SLIM S60
                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    phil.davis
                                    last edited by

                                    You can open a ticket yourself on RedMine. However, if it is already fixed in FreeBSD 9 and later, then it will just fix itself for pfSense 2.2 on FreeBSD 10.

                                    As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                    If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

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