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

    watchdog timer reset problem

    Scheduled Pinned Locked Moved Hardware
    20 Posts 3 Posters 1.4k 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.
    • S
      susamlicubuk @stephenw10
      last edited by

      @stephenw10 yes 2.6

      S 1 Reply Last reply Reply Quote 0
      • S
        susamlicubuk @susamlicubuk
        last edited by

        wbwd_load="YES" or wbwd_load="NO" in loader.conf did not work. but after the device is turned on

        When I run the command, kldunload wbwd.ko
        device did not power reset even though I waited for 15 minutes.

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

          Do you see the watchdog device in the boot log when the module is loaded?

          Something like:

          superio0: <Nuvoton NCT6776> at port 0x2e-0x2f on isa0
          wbwd0: <Nuvoton NCT6776 (0xc3/0x33) Watchdog Timer> at WDT ldn 0x08 on superio0
          
          S 1 Reply Last reply Reply Quote 0
          • S
            susamlicubuk @stephenw10
            last edited by

            @stephenw10
            wbwd0: <Winbond 83627DHG-P (0xb0/0x73) Watchdog Timer> at WDT ldn 0x08 on superio0
            wbwd0: Before watchdog attach: Watchdog enabled. Scaling by 60s, timer at 12 (<=720s left). CRF5 0x0a CRF7 0x00

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

              Mmm, OK well it appears to be the same as that on the Netgate fw-7551 which I dusted off:

              Feb 5 19:50:50 	kernel 		superio0: <Winbond 83627DHG-P> at port 0x2e-0x2f on isa0
              Feb 5 19:50:50 	kernel 		wbwd0: <Winbond 83627DHG-P (0xb0/0x73) Watchdog Timer> at WDT ldn 0x08 on superio0 
              

              Except yours looks to actually be doing something which implies the hardware is enabled in the BIOS.

              If you run: sysctl dev.wbwd.0.debug_verbose=1

              You should see output when it updates the timer.

              The Netgate variant doesn't have LAN-Bypass though since that makes no sense for a firewall.

              S 2 Replies Last reply Reply Quote 0
              • S
                susamlicubuk @stephenw10
                last edited by

                @stephenw10
                My device's bios is password protected :(
                If you can send me the bios factory rom, maybe I can update it with an eprom programmer device.
                maybe I can get other ethernets working too

                1 Reply Last reply Reply Quote 0
                • S
                  susamlicubuk @stephenw10
                  last edited by

                  @stephenw10
                  /sbin/kldunload /boot/kernel/wbwd.ko
                  This command solved my power reset problem
                  sysctl dev.wbwd.0.debug_verbose=1
                  This command does not give any output
                  Is there any way I can get ethernets working?

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

                    @susamlicubuk said in watchdog timer reset problem:

                    /sbin/kldunload /boot/kernel/wbwd.ko
                    This command solved my power reset problem

                    Then I would guess that when you unload the module it disables the watchdog. I would not expect that to at boot though since the module is not yet loaded.
                    However that does seem to prove it is the winbond watchdog that is resetting the hardware.

                    The verbose output will only show anything when the watchdog is running. It might show why it still reboots even though the module is loaded and running.

                    Disabling the lan-bypass almost certainly needs custom code. Possible but some effort required.

                    The Netgate BIOS likely wouldn't help you much since our variant had no bypass relays and only 4 ports (7551B). That has 6?
                    You might be able to use the standard Lanner BIOS for the 7551A if you can find it.

                    There might be some jumpers on the board for setting the relays permanently.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      susamlicubuk @stephenw10
                      last edited by

                      @stephenw10 yes 6 port

                      patient0P 1 Reply Last reply Reply Quote 0
                      • patient0P
                        patient0 @susamlicubuk
                        last edited by

                        @susamlicubuk i know that thread is a year old, but have you got the rest of the ethernet ports working?

                        While researching for a similar issue with another appliances I looked at the download you linked in the third post.

                        In that download there is a watchdog driver for linux and FreeBSD for resetting and bypass-ing the system.

                        Compiling it for pfSense will be complicated and I'm of no help with that. It's easier on plain Linux or FreeBSD, the driver itself looks quite simple but it's references FreeBSD 8. Not sure how easy it can be compiled for a current FreeBSD.

                        Have you tried compiling and using the driver and userland tools?

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