watchdog timer reset problem
-
Ah, OK so both things then. The NICs are bypassed by default.
The wbwd driver will probably stop it resetting. The LAN-bypass would require something else.
-
@stephenw10 I tried this command
echo 'wbwd_load="YES"' >> /boot/loader.conf.local
It worked for 10 minutes and did a power reset. :( -
That only applies after rebooting since it's applied as a loader value via the boot loader. So I would expect to boot, run that command, the reboot to apply it.
I assume you have pfSense 2.6 installed on the device?
-
@stephenw10 yes 2.6
-
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. -
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
-
@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 -
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.
-
@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 -
@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? -
@susamlicubuk said in watchdog timer reset problem:
/sbin/kldunload /boot/kernel/wbwd.ko
This command solved my power reset problemThen 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.
-
@stephenw10 yes 6 port