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

    Netgate Device ID changing on power loss

    Scheduled Pinned Locked Moved Hardware
    25 Posts 5 Posters 2.2k Views 4 Watching
    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.
    • provelsP Offline
      provels
      last edited by

      Are you bridging interfaces? If not, never mind.

      Peder

      MAIN - pfSense+ 25.07.1-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

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

        Hmm, it didn't disable it?

        Do you see the line as expected in /boot/loader.conf.local?

        Try running: usbconfig dump_device_desc

        That might show you what that device actually is.

        1 Reply Last reply Reply Quote 0
        • N Offline
          n1ck31 @provels
          last edited by n1ck31

          @provels Not intentionally, asrock has no options for it other than this network bond config which isn't the same thing.
          57143e11-76b1-46eb-9747-c1f8f3feffdf-image.png

          @stephenw10 Yep, I can see it there in the file, and nope it didn't disable it.

          This is the output of that command:

          I don't see it there... (yet its still in the system)

          /root: usbconfig dump_device_desc
          ugen1.1: <AMD XHCI root HUB> at usbus1, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SA                                                                                                  VE (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0300
            bDeviceClass = 0x0009  <HUB>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0003
            bMaxPacketSize0 = 0x0009
            idVendor = 0x0000
            idProduct = 0x0000
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <AMD>
            iProduct = 0x0002  <XHCI root HUB>
            iSerialNumber = 0x0000  <no string>
            bNumConfigurations = 0x0001
          
          ugen0.1: <AMD XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SA                                                                                                  VE (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0300
            bDeviceClass = 0x0009  <HUB>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0003
            bMaxPacketSize0 = 0x0009
            idVendor = 0x0000
            idProduct = 0x0000
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <AMD>
            iProduct = 0x0002  <XHCI root HUB>
            iSerialNumber = 0x0000  <no string>
            bNumConfigurations = 0x0001
          
          ugen2.1: <AMD XHCI root HUB> at usbus2, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SA                                                                                                  VE (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0300
            bDeviceClass = 0x0009  <HUB>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0003
            bMaxPacketSize0 = 0x0009
            idVendor = 0x0000
            idProduct = 0x0000
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <AMD>
            iProduct = 0x0002  <XHCI root HUB>
            iSerialNumber = 0x0000  <no string>
            bNumConfigurations = 0x0001
          
          ugen0.2: <American Megatrends Inc. Virtual Hub> at usbus0, cfg=0 md=HOST spd=HIG                                                                                                  H (480Mbps) pwr=SAVE (100mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0200
            bDeviceClass = 0x0009  <HUB>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0001
            bMaxPacketSize0 = 0x0040
            idVendor = 0x046b
            idProduct = 0xff01
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <American Megatrends Inc.>
            iProduct = 0x0002  <Virtual Hub>
            iSerialNumber = 0x0003  <serial>
            bNumConfigurations = 0x0001
          
          ugen0.3: <American Megatrends Inc. Virtual Ethernet> at usbus0, cfg=0 md=HOST sp                                                                                                  d=HIGH (480Mbps) pwr=ON (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0200
            bDeviceClass = 0x0002  <Communication device>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0000
            bMaxPacketSize0 = 0x0040
            idVendor = 0x046b
            idProduct = 0xffb0
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <American Megatrends Inc.>
            iProduct = 0x0002  <Virtual Ethernet>
            iSerialNumber = 0x0003  <1234567890>
            bNumConfigurations = 0x0002
          
          ugen0.4: <American Megatrends Inc. Virtual Keyboard and Mouse> at usbus0, cfg=0                                                                                                   md=HOST spd=LOW (1.5Mbps) pwr=ON (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0110
            bDeviceClass = 0x0000  <Probed by interface class>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0000
            bMaxPacketSize0 = 0x0008
            idVendor = 0x046b
            idProduct = 0xff10
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <American Megatrends Inc.>
            iProduct = 0x0002  <Virtual Keyboard and Mouse>
            iSerialNumber = 0x0000  <no string>
            bNumConfigurations = 0x0001
          
          ugen0.5: <American Megatrends Inc. Virtual Cdrom Device> at usbus0, cfg=0 md=HOS                                                                                                  T spd=HIGH (480Mbps) pwr=ON (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0200
            bDeviceClass = 0x0000  <Probed by interface class>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0000
            bMaxPacketSize0 = 0x0040
            idVendor = 0x046b
            idProduct = 0xff20
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <American Megatrends Inc.>
            iProduct = 0x0002  <Virtual Cdrom Device>
            iSerialNumber = 0x0003  <AAAABBBBCCCC1>
            bNumConfigurations = 0x0001
          
          ugen0.6: <American Megatrends Inc. Virtual HardDisk Device> at usbus0, cfg=0 md=                                                                                                  HOST spd=HIGH (480Mbps) pwr=ON (0mA)
          
            bLength = 0x0012
            bDescriptorType = 0x0001
            bcdUSB = 0x0200
            bDeviceClass = 0x0000  <Probed by interface class>
            bDeviceSubClass = 0x0000
            bDeviceProtocol = 0x0000
            bMaxPacketSize0 = 0x0040
            idVendor = 0x046b
            idProduct = 0xff31
            bcdDevice = 0x0100
            iManufacturer = 0x0001  <American Megatrends Inc.>
            iProduct = 0x0002  <Virtual HardDisk Device>
            iSerialNumber = 0x0003  <AAAABBBBCCCC3>
            bNumConfigurations = 0x0001
          
          

          EDIT: Nevermind, here it is:

          ugen0.3: <American Megatrends Inc. Virtual Ethernet> at usbus0, cfg=0 md=HOST sp                                                                                                  d=HIGH (480Mbps) pwr=ON (0mA)
          
          1 Reply Last reply Reply Quote 0
          • stephenw10S Offline
            stephenw10 Netgate Administrator
            last edited by

            Yup so it's a virtual device. If there's nothing in the BIOS then maybe something in the IPMI setup?

            How does it appear in the boot log when it attaches? You might need to try disabling cdce0 instead. If that's how it appears.

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

              @stephenw10 Nothing in both places. Only things I can disable are the virtual media devices & KBM emulation. No mention of any virtual network adapters at all.

              This is all thats mentioned of it in the boot log:

              uhub2: 6 ports with 6 removable, self powered
              uhub1: 6 ports with 6 removable, self powered
              uhub0: 22 ports with 22 removable, self powered
              Root mount waiting for: usbus0
              ugen0.2: <American Megatrends Inc. Virtual Hub> at usbus0
              uhub3 on uhub0
              uhub3: <7-port Hub> on usbus0
              uhub3: 5 ports with 5 removable, self powered
              Root mount waiting for: usbus0
              ugen0.3: <American Megatrends Inc. Virtual Ethernet> at usbus0
              Root mount waiting for: usbus0
              ugen0.4: <American Megatrends Inc. Virtual Keyboard and Mouse> at usbus0
              ukbd0 on uhub3
              ukbd0: <Keyboard Interface> on usbus0
              kbd2 at ukbd0
              
              
              Bob.DigB 1 Reply Last reply Reply Quote 0
              • Bob.DigB Offline
                Bob.Dig LAYER 8 @n1ck31
                last edited by Bob.Dig

                @n1ck31 Maybe try disabling the BMC with a jumper and see if this helps.


                Screenshot 2024-11-01 102940.png

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

                  It must list the device and the driver attaching to it in the boot log. Something like:

                  ugen0.3: <Realtek USB 10/100/1G/2.5G LAN> at usbus0
                  cdce0 on uhub0
                  cdce0: <CDC Communications Control> on usbus0
                  ue0: <USB Ethernet> on cdce0
                  ue0: Ethernet address: 00:e0:81:21:78:ea
                  

                  And if it does appear like that try adding to loader.conf.local: hint.cdce.0.disabled="1"

                  N 1 Reply Last reply Reply Quote 0
                  • N Offline
                    n1ck31 @Bob.Dig
                    last edited by

                    @Bob-Dig said in Netgate Device ID changing on power loss:

                    @n1ck31 Maybe try disabling the BMC with a jumper and see if this helps.


                    Screenshot 2024-11-01 102940.png

                    Although that probably will solve the issue, that negates the scalped price I paid for this board originally - if i were to go this route I'd just buy a regular consumer board and swap it out.

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

                      @stephenw10 said in Netgate Device ID changing on power loss:

                      It must list the device and the driver attaching to it in the boot log. Something like:

                      ugen0.3: <Realtek USB 10/100/1G/2.5G LAN> at usbus0
                      cdce0 on uhub0
                      cdce0: <CDC Communications Control> on usbus0
                      ue0: <USB Ethernet> on cdce0
                      ue0: Ethernet address: 00:e0:81:21:78:ea
                      

                      And if it does appear like that try adding to loader.conf.local: hint.cdce.0.disabled="1"

                      Here's the full log file

                      It seems that it's usbus0 on xhci0, so maybe disabling xhci0?

                      Copyright (c) 1992-2023 The FreeBSD Project.
                      Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
                      The Regents of the University of California. All rights reserved.
                      FreeBSD is a registered trademark of The FreeBSD Foundation.
                      FreeBSD 14.0-CURRENT amd64 1400094 #1 RELENG_2_7_2-n255948-8d2b56da39c: Wed Dec 6 20:45:47 UTC 2023
                      root@freebsd:/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/obj/amd64/StdASW5b/var/jenkins/workspace/pfSense-CE-snapshots-2_7_2-main/sources/FreeBSD-src-RELENG_2_7_2/amd64.amd64/sys/pfSense amd64
                      FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152)
                      VT(efifb): resolution 1024x768
                      CPU: AMD Ryzen 5 5600G with Radeon Graphics (3900.23-MHz K8-class CPU)
                      Origin="AuthenticAMD" Id=0xa50f00 Family=0x19 Model=0x50 Stepping=0
                      Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
                      Features2=0x7ef8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
                      AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
                      AMD Features2=0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,ADMSKX>
                      Structured Extended Features=0x219c97a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,PQE,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
                      Structured Extended Features2=0x40069c<UMIP,PKU,OSPKE,VAES,VPCLMULQDQ,RDPID>
                      Structured Extended Features3=0x10<FSRM>
                      XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
                      AMD Extended Feature Extensions ID EBX=0x191ef657<CLZERO,IRPerf,XSaveErPtr,RDPRU,WBNOINVD,IBPB,IBRS,STIBP,STIBP_ALWAYSON,PREFER_IBRS,SSBD>
                      SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
                      TSC: P-state invariant, performance statistics
                      real memory = 17179869184 (16384 MB)
                      avail memory = 15924834304 (15187 MB)
                      Event timer "LAPIC" quality 600
                      ACPI APIC Table: <ALASKA A M I >
                      FreeBSD/SMP: Multiprocessor System Detected: 12 CPUs
                      FreeBSD/SMP: 1 package(s) x 6 core(s) x 2 hardware threads
                      random: registering fast source Intel Secure Key RNG
                      random: fast provider: "Intel Secure Key RNG"
                      random: unblocking device.
                      ioapic0 <Version 2.1> irqs 0-23
                      ioapic1 <Version 2.1> irqs 24-55
                      Launching APs: 1 3 2 10 7 11 6 8 9 4 5
                      TCP_ratelimit: Is now initialized
                      wlan: mac acl policy registered
                      random: entropy device external interface
                      kbd1 at kbdmux0
                      WARNING: Device "spkr" is Giant locked and may be deleted before FreeBSD 14.0.
                      netgate0: <unknown hardware>
                      efirtc0: <EFI Realtime Clock>
                      efirtc0: registered as a time-of-day clock, resolution 1.000000s
                      smbios0: <System Management BIOS> at iomem 0xbcd72000-0xbcd7201e
                      smbios0: Version: 3.3, BCD Revision: 3.3
                      acpi0: <ALASKA A M I >
                      acpi0: Power Button (fixed)
                      cpu0: <ACPI CPU> on acpi0
                      attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
                      Timecounter "i8254" frequency 1193182 Hz quality 0
                      Event timer "i8254" frequency 1193182 Hz quality 100
                      atrtc0: <AT realtime clock> port 0x70-0x71 on acpi0
                      atrtc0: registered as a time-of-day clock, resolution 1.000000s
                      Event timer "RTC" frequency 32768 Hz quality 0
                      hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
                      Timecounter "HPET" frequency 14318180 Hz quality 950
                      Event timer "HPET" frequency 14318180 Hz quality 350
                      Event timer "HPET1" frequency 14318180 Hz quality 350
                      Event timer "HPET2" frequency 14318180 Hz quality 350
                      Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
                      acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
                      pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
                      pci0: <ACPI PCI bus> on pcib0
                      pci0: <base peripheral, IOMMU> at device 0.2 (no driver attached)
                      pcib1: <ACPI PCI-PCI bridge> at device 2.1 on pci0
                      pci1: <ACPI PCI bus> on pcib1
                      xhci0: <XHCI (generic) USB 3.0 controller> mem 0xfc6a0000-0xfc6a7fff irq 36 at device 0.0 on pci1
                      xhci0: 32 bytes context size, 64-bit DMA
                      usbus0 on xhci0
                      usbus0: 5.0Gbps Super Speed USB v3.0
                      ahci0: <AHCI SATA controller> mem 0xfc680000-0xfc69ffff irq 37 at device 0.1 on pci1
                      ahci0: AHCI v1.31 with 8 6Gbps ports, Port Multiplier supported
                      ahcich0: <AHCI channel> at channel 0 on ahci0
                      ahcich1: <AHCI channel> at channel 1 on ahci0
                      ahcich2: <AHCI channel> at channel 2 on ahci0
                      ahcich3: <AHCI channel> at channel 3 on ahci0
                      ahcich4: <AHCI channel> at channel 4 on ahci0
                      ahcich5: <AHCI channel> at channel 5 on ahci0
                      ahcich6: <AHCI channel> at channel 6 on ahci0
                      ahcich7: <AHCI channel> at channel 7 on ahci0
                      pcib2: <ACPI PCI-PCI bridge> irq 38 at device 0.2 on pci1
                      pci2: <ACPI PCI bus> on pcib2
                      pcib3: <ACPI PCI-PCI bridge> irq 36 at device 0.0 on pci2
                      pci3: <ACPI PCI bus> on pcib3
                      pcib4: <ACPI PCI-PCI bridge> irq 36 at device 0.0 on pci3
                      pci4: <ACPI PCI bus> on pcib4
                      vgapci0: <VGA-compatible display> port 0xf000-0xf07f mem 0xfb000000-0xfbffffff,0xfc000000-0xfc01ffff irq 36 at device 0.0 on pci4
                      vgapci0: Boot video device
                      pcib5: <ACPI PCI-PCI bridge> irq 37 at device 1.0 on pci2
                      pci5: <ACPI PCI bus> on pcib5
                      pcib6: <ACPI PCI-PCI bridge> irq 38 at device 2.0 on pci2
                      pci6: <ACPI PCI bus> on pcib6
                      pcib7: <ACPI PCI-PCI bridge> irq 39 at device 3.0 on pci2
                      pci7: <ACPI PCI bus> on pcib7
                      igc0: <Intel(R) Ethernet Controller I225-V> mem 0xfc300000-0xfc3fffff,0xfc400000-0xfc403fff irq 39 at device 0.0 on pci7
                      igc0: Using 1024 TX descriptors and 1024 RX descriptors
                      igc0: Using 4 RX queues 4 TX queues
                      igc0: Using MSI-X interrupts with 5 vectors
                      igc0: Ethernet address: 88:c9:b3:bf:75:60
                      igc0: netmap queues/slots: TX 4/1024, RX 4/1024
                      pcib8: <ACPI PCI-PCI bridge> irq 36 at device 4.0 on pci2
                      pci8: <ACPI PCI bus> on pcib8
                      nvme0: <Generic NVMe Device> mem 0xfc500000-0xfc503fff,0xfc504000-0xfc5040ff irq 36 at device 0.0 on pci8
                      pcib9: <ACPI PCI-PCI bridge> irq 36 at device 8.0 on pci2
                      pci9: <ACPI PCI bus> on pcib9
                      pcib10: <ACPI PCI-PCI bridge> at device 2.2 on pci0
                      pci10: <ACPI PCI bus> on pcib10
                      ix0: <Intel(R) X550-T2> mem 0xe0800000-0xe0bfffff,0xe0c04000-0xe0c07fff irq 40 at device 0.0 on pci10
                      ix0: Using 2048 TX descriptors and 2048 RX descriptors
                      ix0: Using 6 RX queues 6 TX queues
                      ix0: Using MSI-X interrupts with 7 vectors
                      ix0: allocated for 6 queues
                      ix0: allocated for 6 rx queues
                      ix0: Ethernet address: d0:50:99:de:c1:1b
                      ix0: PCI Express Bus: Speed 8.0GT/s Width x1
                      ix0: Option ROM V1-b1927-p0 eTrack 0x80000aee PHY FW V523
                      ix0: netmap queues/slots: TX 6/2048, RX 6/2048
                      ix1: <Intel(R) X550-T2> mem 0xe0400000-0xe07fffff,0xe0c00000-0xe0c03fff irq 41 at device 0.1 on pci10
                      ix1: Using 2048 TX descriptors and 2048 RX descriptors
                      ix1: Using 6 RX queues 6 TX queues
                      ix1: Using MSI-X interrupts with 7 vectors
                      ix1: allocated for 6 queues
                      ix1: allocated for 6 rx queues
                      ix1: Ethernet address: d0:50:99:de:c1:1c
                      ix1: PCI Express Bus: Speed 8.0GT/s Width x1
                      ix1: Option ROM V1-b1927-p0 eTrack 0x80000aee PHY FW V523
                      ix1: netmap queues/slots: TX 6/2048, RX 6/2048
                      pcib11: <ACPI PCI-PCI bridge> at device 8.1 on pci0
                      pci11: <ACPI PCI bus> on pcib11
                      vgapci1: <VGA-compatible display> port 0xe000-0xe0ff mem 0xd0000000-0xdfffffff,0xe0000000-0xe01fffff,0xfcb00000-0xfcb7ffff irq 38 at device 0.0 on pci11
                      hdac0: <ATI (0x1637) HDA Controller> mem 0xfcb88000-0xfcb8bfff irq 39 at device 0.1 on pci11
                      pci11: <encrypt/decrypt> at device 0.2 (no driver attached)
                      xhci1: <XHCI (generic) USB 3.0 controller> mem 0xfc900000-0xfc9fffff irq 37 at device 0.3 on pci11
                      xhci1: 64 bytes context size, 64-bit DMA
                      usbus1 on xhci1
                      usbus1: 5.0Gbps Super Speed USB v3.0
                      xhci2: <XHCI (generic) USB 3.0 controller> mem 0xfc800000-0xfc8fffff irq 38 at device 0.4 on pci11
                      xhci2: 64 bytes context size, 64-bit DMA
                      usbus2 on xhci2
                      usbus2: 5.0Gbps Super Speed USB v3.0
                      hdac1: <AMD Raven HDA Controller> mem 0xfcb80000-0xfcb87fff irq 36 at device 0.6 on pci11
                      pcib12: <ACPI PCI-PCI bridge> at device 8.2 on pci0
                      pci12: <ACPI PCI bus> on pcib12
                      ahci1: <AMD KERNCZ AHCI SATA controller> mem 0xfcc01000-0xfcc017ff irq 34 at device 0.0 on pci12
                      ahci1: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
                      ahcich8: <AHCI channel> at channel 0 on ahci1
                      ahci2: <AMD KERNCZ AHCI SATA controller> mem 0xfcc00000-0xfcc007ff irq 35 at device 0.1 on pci12
                      ahci2: AHCI v1.31 with 1 6Gbps ports, Port Multiplier supported with FBS
                      ahcich9: <AHCI channel> at channel 0 on ahci2
                      isab0: <PCI-ISA bridge> at device 20.3 on pci0
                      isa0: <ISA bus> on isab0
                      acpi_button0: <Power Button> on acpi0
                      uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
                      uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
                      orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 on isa0
                      hwpstate0: <Cool`n'Quiet 2.0> on cpu0
                      Timecounter "TSC-low" frequency 1949999786 Hz quality 1000
                      Timecounters tick every 1.000 msec
                      ZFS filesystem version: 5
                      ZFS storage pool version: features support (5000)
                      ugen1.1: <AMD XHCI root HUB> at usbus1
                      ugen2.1: <AMD XHCI root HUB> at usbus2
                      ugen0.1: <AMD XHCI root HUB> at usbus0
                      nvme0: Allocated 200MB host memory buffer
                      uhub0 on usbus1
                      uhub0: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus1
                      uhub1 on usbus2
                      uhub1: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus2
                      uhub2 on usbus0
                      uhub2: <AMD XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
                      hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
                      hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
                      pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
                      pcm1: <ATI R6xx (HDMI)> at nid 5 on hdaa0
                      pcm2: <ATI R6xx (HDMI)> at nid 7 on hdaa0
                      pcm3: <ATI R6xx (HDMI)> at nid 9 on hdaa0
                      Trying to mount root from zfs:pfSense/ROOT/default []...
                      nda0 at nvme0 bus 0 scbus10 target 0 lun 1
                      nda0: <WD Blue SN570 250GB 234110WD 22395T804226>
                      nda0: Serial Number 22395T804226
                      nda0: nvme version 1.4
                      nda0: 238475MB (488397168 512 byte sectors)
                      uhub1: 6 ports with 6 removable, self powered
                      uhub0: 6 ports with 6 removable, self powered
                      uhub2: 22 ports with 22 removable, self powered
                      Root mount waiting for: usbus0
                      ugen0.2: <American Megatrends Inc. Virtual Hub> at usbus0
                      uhub3 on uhub2
                      uhub3: <7-port Hub> on usbus0
                      uhub3: 5 ports with 5 removable, self powered
                      Root mount waiting for: usbus0
                      ugen0.3: <American Megatrends Inc. Virtual Ethernet> at usbus0
                      Root mount waiting for: usbus0
                      ugen0.4: <American Megatrends Inc. Virtual Keyboard and Mouse> at usbus0
                      ukbd0 on uhub3
                      ukbd0: <Keyboard Interface> on usbus0
                      kbd2 at ukbd0
                      CPU: AMD Ryzen 5 5600G with Radeon Graphics (3900.00-MHz K8-class CPU)
                      Origin="AuthenticAMD" Id=0xa50f00 Family=0x19 Model=0x50 Stepping=0
                      Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
                      Features2=0x7ef8320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,x2APIC,MOVBE,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C,RDRAND>
                      AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
                      AMD Features2=0x75c237ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT,TCE,Topology,PCXC,PNXC,DBE,PL2I,MWAITX,ADMSKX>
                      Structured Extended Features=0x219c97a9<FSGSBASE,BMI1,AVX2,SMEP,BMI2,ERMS,INVPCID,PQM,PQE,RDSEED,ADX,SMAP,CLFLUSHOPT,CLWB,SHA>
                      Structured Extended Features2=0x40069c<UMIP,PKU,OSPKE,VAES,VPCLMULQDQ,RDPID>
                      Structured Extended Features3=0x10<FSRM>
                      XSAVE Features=0xf<XSAVEOPT,XSAVEC,XINUSE,XSAVES>
                      AMD Extended Feature Extensions ID EBX=0x191ef657<CLZERO,IRPerf,XSaveErPtr,RDPRU,WBNOINVD,IBPB,IBRS,STIBP,STIBP_ALWAYSON,PREFER_IBRS,SSBD>
                      SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=32768
                      TSC: P-state invariant, performance statistics
                      
                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • stephenw10S Offline
                        stephenw10 Netgate Administrator @n1ck31
                        last edited by

                        You should disable the on-board audio, though I doubt it's connected to this issue:

                        hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
                        hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
                        pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
                        pcm1: <ATI R6xx (HDMI)> at nid 5 on hdaa0
                        pcm2: <ATI R6xx (HDMI)> at nid 7 on hdaa0
                        pcm3: <ATI R6xx (HDMI)> at nid 9 on hdaa0
                        

                        Ok the actual driver attachment looks to have happened after the bootlog completes but it should be in the main system log.

                        Yes, you could disable the usbus or root device completely but it would be better to disable just the Ethernet device if you can.

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

                          Try running: usbconfig -d ugen0.3 dump_all_config_desc

                          It looks like it has more than one config index, in which case we can force the other one which may make it fail to load.

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

                            @stephenw10 said in Netgate Device ID changing on power loss:

                            You should disable the on-board audio, though I doubt it's connected to this issue:

                            hdacc0: <ATI R6xx HDA CODEC> at cad 0 on hdac0
                            hdaa0: <ATI R6xx Audio Function Group> at nid 1 on hdacc0
                            pcm0: <ATI R6xx (HDMI)> at nid 3 on hdaa0
                            pcm1: <ATI R6xx (HDMI)> at nid 5 on hdaa0
                            pcm2: <ATI R6xx (HDMI)> at nid 7 on hdaa0
                            pcm3: <ATI R6xx (HDMI)> at nid 9 on hdaa0
                            

                            Ok the actual driver attachment looks to have happened after the bootlog completes but it should be in the main system log.

                            Yes, you could disable the usbus or root device completely but it would be better to disable just the Ethernet device if you can.

                            I'll look into disabling the audio, agreed, makes no sense having that on.

                            Here's the output of the command in your second comment:

                            /root: usbconfig -d ugen0.3 dump_all_con                                                                                                                                                fig_desc
                            ugen0.3: <American Megatrends Inc. Virtual Ethernet> at usbus0, cfg=0 md=HOST sp                                                                                                                                                d=HIGH (480Mbps) pwr=ON (0mA)
                            
                            
                             Configuration index 0
                            
                                bLength = 0x0009
                                bDescriptorType = 0x0002
                                wTotalLength = 0x0050
                                bNumInterfaces = 0x0002
                                bConfigurationValue = 0x0001
                                iConfiguration = 0x0000  <no string>
                                bmAttributes = 0x00c0
                                bMaxPower = 0x0000
                            
                                Interface 0
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0000
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0002  <Communication device>
                                  bInterfaceSubClass = 0x0002
                                  bInterfaceProtocol = 0x00ff
                                  iInterface = 0x0004  <RNDIS Notification Interface>
                            
                                  Additional Descriptor
                            
                                  bLength = 0x05
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x00
                                   RAW dump:
                                   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x05
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x01
                                   RAW dump:
                                   0x00 | 0x05, 0x24, 0x01, 0x00, 0x01
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x04
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x02
                                   RAW dump:
                                   0x00 | 0x04, 0x24, 0x02, 0x00
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x05
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x06
                                   RAW dump:
                                   0x00 | 0x05, 0x24, 0x06, 0x00, 0x01
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x0d
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x0f
                                   RAW dump:
                                   0x00 | 0x0d, 0x24, 0x0f, 0x05, 0x00, 0x00, 0x00, 0x00,
                                   0x08 | 0xea, 0x05, 0x00, 0x00, 0x00
                            
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0081  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0400
                                    bInterval = 0x0001
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                                Interface 1
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0001
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0002
                                  bInterfaceClass = 0x000a  <CDC-data>
                                  bInterfaceSubClass = 0x0000
                                  bInterfaceProtocol = 0x0000
                                  iInterface = 0x0006  <RNDIS Data Interface>
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0002  <OUT>
                                    bmAttributes = 0x0002  <BULK>
                                    wMaxPacketSize = 0x0200
                                    bInterval = 0x0000
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                                 Endpoint 1
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0083  <IN>
                                    bmAttributes = 0x0002  <BULK>
                                    wMaxPacketSize = 0x0200
                                    bInterval = 0x0000
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                            
                             Configuration index 1
                            
                                bLength = 0x0009
                                bDescriptorType = 0x0002
                                wTotalLength = 0x0050
                                bNumInterfaces = 0x0002
                                bConfigurationValue = 0x0002
                                iConfiguration = 0x0000  <no string>
                                bmAttributes = 0x00c0
                                bMaxPower = 0x0000
                            
                                Interface 0
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0000
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0001
                                  bInterfaceClass = 0x0002  <Communication device>
                                  bInterfaceSubClass = 0x0006
                                  bInterfaceProtocol = 0x0000
                                  iInterface = 0x0007  <CDC Notification Interface>
                            
                                  Additional Descriptor
                            
                                  bLength = 0x05
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x00
                                   RAW dump:
                                   0x00 | 0x05, 0x24, 0x00, 0x10, 0x01
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x05
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x01
                                   RAW dump:
                                   0x00 | 0x05, 0x24, 0x01, 0x00, 0x01
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x04
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x02
                                   RAW dump:
                                   0x00 | 0x04, 0x24, 0x02, 0x00
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x05
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x06
                                   RAW dump:
                                   0x00 | 0x05, 0x24, 0x06, 0x00, 0x01
                            
                            
                                  Additional Descriptor
                            
                                  bLength = 0x0d
                                  bDescriptorType = 0x24
                                  bDescriptorSubType = 0x0f
                                   RAW dump:
                                   0x00 | 0x0d, 0x24, 0x0f, 0x08, 0x00, 0x00, 0x00, 0x00,
                                   0x08 | 0xea, 0x05, 0x00, 0x00, 0x00
                            
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0081  <IN>
                                    bmAttributes = 0x0003  <INTERRUPT>
                                    wMaxPacketSize = 0x0400
                                    bInterval = 0x0001
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                                Interface 1
                                  bLength = 0x0009
                                  bDescriptorType = 0x0004
                                  bInterfaceNumber = 0x0001
                                  bAlternateSetting = 0x0000
                                  bNumEndpoints = 0x0002
                                  bInterfaceClass = 0x000a  <CDC-data>
                                  bInterfaceSubClass = 0x0000
                                  bInterfaceProtocol = 0x0000
                                  iInterface = 0x0009  <CDC Data Interface>
                            
                                 Endpoint 0
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0002  <OUT>
                                    bmAttributes = 0x0002  <BULK>
                                    wMaxPacketSize = 0x0200
                                    bInterval = 0x0000
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                                 Endpoint 1
                                    bLength = 0x0007
                                    bDescriptorType = 0x0005
                                    bEndpointAddress = 0x0083  <IN>
                                    bmAttributes = 0x0002  <BULK>
                                    wMaxPacketSize = 0x0200
                                    bInterval = 0x0000
                                    bRefresh = 0x0000
                                    bSynchAddress = 0x0000
                            
                            
                            1 Reply Last reply Reply Quote 0
                            • stephenw10S Offline
                              stephenw10 Netgate Administrator
                              last edited by

                              Hmm, both indexs include CDC data which will likely be the ue0 device. The logs just after boot should confirm that showing cdce though.

                              It feels like it should be possible to add a USB quirk to just stop that loading but I don't see an option for that:
                              https://man.freebsd.org/cgi/man.cgi?query=usb_quirk

                              Otherwise disabling cdce0 or the USB bus or controller should be possible.

                              1 Reply Last reply Reply Quote 0
                              • w0wW Offline
                                w0w
                                last edited by

                                I have an older ASRock Rack motherboard, and I also had my share of struggles with their BMC port sharing. On this motherboard, from what I found in my research, this virtual AMD port appears when instead of using a dedicated BMC port, you share this port for other purposes, or when you only have one cable connected to a certain port.

                                As far as I understand and remember, the settings for this behavior are not in the BIOS but in the BMC’s web interface. In the Configuration section, there should be several options for network, link configuration, and choosing between shared or dedicated. One of these options should disable this virtual interface, but I’m not entirely sure. The motherboard manual might provide more detailed descriptions of the BMC settings, but on my board, these settings are quite confusing, and the manual doesn’t cover all of them.

                                Overall, I had a similar idea—to have access to both the BIOS and everything else. But as usual, since their BMC relies on Java, which can’t be updated, it’s impossible to use their applets because the board is no longer supported. In the end, I connected a PiKVM to this board.

                                For anyone considering purchasing an ASRock Rack, I highly advise against it if you plan to use the board longer than its support period (typically 2-3 years), as the BMC might "turn into a pumpkin" after that.

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