Navigation

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

    Call to undefined method altq_root_queue::SetAvailableBandwidth()

    2.3-RC Snapshot Feedback and Issues - ARCHIVED
    5
    5
    1496
    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.
    • AhnHEL
      AhnHEL last edited by

      Using a fresh install with a default setup, going into the Traffic Shaper and attempting to enable any Scheduler Type gets me:

      Fatal error: Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283 Call Stack: 0.0000 237600 1. {main}() /usr/local/www/firewall_shaper.php:0 PHP ERROR: Type: 1, File: /usr/local/www/firewall_shaper.php, Line: 283, Message: Call to undefined method altq_root_queue::SetAvailableBandwidth()

      Using the pfSense-CE-2.3-BETA-amd64-20160329-0150 ISO

      Crash report begins.  Anonymous machine information:

      amd64
      10.3-RELEASE
      FreeBSD 10.3-RELEASE #490 51f8df0(RELENG_2_3): Tue Mar 29 02:06:06 CDT 2016    root@pfs23-amd64-builder:/usr/home/pfsense/pfsense/tmp/obj/usr/home/pfsense/pfsense/tmp/FreeBSD-src/sys/pfSense

      Crash report details:

      PHP Errors:
      [29-Mar-2016 22:06:51 Etc/UTC] PHP Fatal error:  Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
      [29-Mar-2016 22:06:51 Etc/UTC] PHP Stack trace:
      [29-Mar-2016 22:06:51 Etc/UTC] PHP  1. {main}() /usr/local/www/firewall_shaper.php:0
      [29-Mar-2016 22:09:07 Etc/UTC] PHP Fatal error:  Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
      [29-Mar-2016 22:09:07 Etc/UTC] PHP Stack trace:
      [29-Mar-2016 22:09:07 Etc/UTC] PHP  1. {main}() /usr/local/www/firewall_shaper.php:0
      [29-Mar-2016 22:15:13 Etc/UTC] PHP Fatal error:  Call to undefined method altq_root_queue::SetAvailableBandwidth() in /usr/local/www/firewall_shaper.php on line 283
      [29-Mar-2016 22:15:13 Etc/UTC] PHP Stack trace:
      [29-Mar-2016 22:15:13 Etc/UTC] PHP  1. {main}() /usr/local/www/firewall_shaper.php:0

      AhnHEL (Angel)
      NYC

      4 *sense sites:
      Dell R210 II, Xeon 1230v2, 16GB RAM, 940/880 Mbps
      Dell R210 II, Xeon 1240v2, 8GB RAM, 940/880 Mbps
      Dell R210 II, Xeon 1220, 8GB RAM, 100/30 Mbps
      Dell 7010 Optiplex SFF, i5-3570, 16GB RAM, 100/30 Mbps

      1 Reply Last reply Reply Quote 0
      • J
        JorgeOliveira last edited by

        Seems code at https://github.com/pfsense/pfsense/blob/8ed6b8e33fe0e1ad310ad13c5281926cf87cf72f/src/usr/local/www/firewall_shaper.php#L264 could be removed from line 264 to 283 as underlying logic was changed.

        Maybe some more experienced could tell if that change is recommended or not.

        My views have absolutely no warranty express or implied. Always do your own research.

        1 Reply Last reply Reply Quote 0
        • Derelict
          Derelict LAYER 8 Netgate last edited by

          I think that's about the last known issue on track for 2.3 and it's being actively worked on:

          https://redmine.pfsense.org/issues/5721

          Might want to paste your feedback there. It's almost certainly related to the rework being done to the queue logic.

          Chattanooga, Tennessee, USA
          The pfSense Book is free of charge!
          DO NOT set a source port in a port forward or firewall rule unless you KNOW you need it!
          Do Not Chat For Help! NO_WAN_EGRESS(TM)

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

            Split this to its own thread since it's unrelated to the one where it was originally posted, and let Luiz know. He's working on #5721.

            1 Reply Last reply Reply Quote 0
            • L
              loos Netgate last edited by

              Fixed.  Jorge's suggestion was correct, code was changed but I missed this call before. Thanks!

              1 Reply Last reply Reply Quote 0
              • First post
                Last post