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

    Issue with upgrade and install latest version

    Scheduled Pinned Locked Moved Hardware
    23 Posts 3 Posters 2.2k 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.
    • N
      naksu @stephenw10
      last edited by

      @stephenw10 said in Issue with upgrade and install latest version:

      usbconfig dump_device_desc

      Here is pastebin for that:

      https://pastebin.com/ThJSM1GF

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

        I only see one USB Ethernet device listed there

        ugen0.5: <Realtek USB 10/100/1000 LAN> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (64mA)
         
          bLength = 0x0012 
          bDescriptorType = 0x0001 
          bcdUSB = 0x0300 
          bDeviceClass = 0x0000  <Probed by interface class>
          bDeviceSubClass = 0x0000 
          bDeviceProtocol = 0x0000 
          bMaxPacketSize0 = 0x0009 
          idVendor = 0x0bda 
          idProduct = 0x8153 
          bcdDevice = 0x3000 
          iManufacturer = 0x0001  <Realtek>
          iProduct = 0x0002  <USB 10/100/1000 LAN>
          iSerialNumber = 0x0006  <000001000000>
          bNumConfigurations = 0x0002 
        

        This: https://usb-ids.gowdy.us/read/UD/0bda/8153

        That should be recognised by 2.5:
        https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_5_0/sys/dev/usb/usbdevs#L3983

        And supported by the ure(4) driver:
        https://github.com/pfsense/FreeBSD-src/blob/RELENG_2_5_0/sys/dev/usb/net/if_ure.c#L73

        Is it detected as a ure device in 2.6 or just cdce?

        Steve

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

          ...except that is appears ure(4) is not built in 2.6:

          [2.6.0-DEVELOPMENT][admin@26dev.stevew.lan]/root: kldstat -v | grep ure
          [2.6.0-DEVELOPMENT][admin@26dev.stevew.lan]/root: kldstat -v | grep axe
          		381 axe/miibus
          		380 uhub/axe
          

          Unlike, as an example, axe(4).
          But I expect it to be becasue:
          https://redmine.pfsense.org/issues/11125
          Only since 9 days ago though!

          Steve

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

            But looking at the actual diff file there it's created as a module, you need to load it.

            So do:

            [2.6.0-DEVELOPMENT][admin@26dev.stevew.lan]/root: kldload if_ure
            

            Then check it has loaded with:

            [2.6.0-DEVELOPMENT][admin@26dev.stevew.lan]/root: kldstat
            Id Refs Address                Size Name
             1   17 0xffffffff80200000  3ae8530 kernel
             2    1 0xffffffff83f19000     1000 cpuctl.ko
             3    1 0xffffffff83f1a000     2698 intpm.ko
             4    1 0xffffffff83f1d000      b40 smbus.ko
             5    1 0xffffffff83f1e000     8cd0 aesni.ko
             6    1 0xffffffff83f27000     3d00 if_ure.ko
            

            You will probably see it attach to the NIC immediately.

            If it works you can do:

            echo if_ure_load=YES >> /boot/loader.conf.local
            

            That will load the module at boot.

            Steve

            N 1 Reply Last reply Reply Quote 0
            • N
              naksu @stephenw10
              last edited by

              @stephenw10

              I have right now only 1 usb ethernet adapter connected (wan is from mb lan port).

              i have now latest 2.6.0.a.20210227.0100 updated today.

              Let's see if I can still install that 2.5 version and take the logs from it. In version 2.6 that usb ethernet would seem to work, but someone limits the speed pretty much.

              [2.6.0-DEVELOPMENT][admin@pfSense.home.int]/root: kldstat
              Id Refs Address Size Name
              1 10 0xffffffff80200000 3ae8530 kernel
              2 1 0xffffffff83f21000 1000 cpuctl.ko
              3 1 0xffffffff83f22000 3d00 if_ure.ko

              Its loaded allready i can see.

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

                Ok, looks to be loaded, yes.

                Do you see a ure0 device in the logs at all? Are you loading that module at boot?

                Steve

                N 1 Reply Last reply Reply Quote 0
                • N
                  naksu @stephenw10
                  last edited by naksu

                  @stephenw10

                  I would think it loaded the driver at boot because I didn’t have to load it manually.

                  Could the wrong driver affect the fact that it limits network traffic to a maximum of 500Mbps. I have a 1000Mbps lan network and in the previous version 2.4.5 everything worked perfectly.

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

                    Yes, it could. We have seen other cases where the cdce generic USB Ethernet driver performed significantly worse.
                    Check the logs for ure entries.

                    Or course if could just be a bad NIC. It's both USB and Realtek which both have bad reputations in FreeBSD/pfSense.

                    Steve

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      naksu @stephenw10
                      last edited by

                      @stephenw10

                      Ok thanks, i will check logs. What i have to find there that i can find logs for ure (or where)?

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

                        Any mention of ure in the system log or dmesg or /var/log/dmesg.boot (if you have not rebooted for a while).

                        Steve

                        N 1 Reply Last reply Reply Quote 1
                        • N
                          naksu @stephenw10
                          last edited by

                          @stephenw10

                          Here is pastebin:

                          https://pastebin.com/hsVEwz79

                          I can find

                          ure0 on uhub6
                          ure0: <Realtek USB 10/100/1000 LAN, class 0/0, rev 3.00/30.00, addr 4> on usbus0

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

                            Mmm, OK that looks to be working correctly.

                            So you could get >500Mbps though it in 2.4.5, even without that driver?

                            Steve

                            N 1 Reply Last reply Reply Quote 0
                            • N
                              naksu @stephenw10
                              last edited by

                              @stephenw10

                              Ok,

                              yes its limit my speed some reason , i have 1Gbit lan network and 200Mbps internet connection, download speed is only about 50Mbps from internet.

                              I try to install 2.4.5 back today and check what drivers that usb lan card will use, because 2.4.5, i get full speed from internet and lan to lan.

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                naksu @naksu
                                last edited by naksu

                                mmmm

                                I installed 2.4.5-p1 back and check, there is no ure.

                                [admin@pfSense.home.int]/root: kldstat
                                Id Refs Address Size Name
                                1 3 0xffffffff80200000 37191d8 kernel
                                2 1 0xffffffff83a21000 10c0 cpuctl.ko

                                And speed is normal, no limits.

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

                                  Hmm, not sure what that is then.

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