Random reboot

Status
Not open for further replies.

tobiasbp

Patron
Joined
Dec 2, 2015
Messages
238
<div class="bbWrapper">Do you have a link to your bug report?<br /> <br /> Our issue sounds like the one in this thread:<br /> <a href="https://forums.freenas.org/index.php?threads/timer-interrupt-and-hard-reset.26356/" target="_blank" class="link link--external" rel="nofollow ugc noopener">https://forums.freenas.org/index.php?threads/timer-interrupt-and-hard-reset.26356/</a></div>
 

eroji

Contributor
Joined
Feb 2, 2015
Messages
140
<div class="bbWrapper"><a href="https://bugs.freenas.org/issues/12601" target="_blank" class="link link--external" rel="nofollow ugc noopener">https://bugs.freenas.org/issues/12601</a></div>
 

tobiasbp

Patron
Joined
Dec 2, 2015
Messages
238
<div class="bbWrapper">Could you try to disable watchdogd by adding:<br /> watchdogd_enable=&quot;NO&quot;<br /> <br /> as a tunable with type rc.conf?<br /> <br /> I don't want to restart my machine as I'm waiting to find out if upgrading the BIOS did solve the problem.</div>
 

eroji

Contributor
Joined
Feb 2, 2015
Messages
140
<div class="bbWrapper">I was given a rc.conf.local which blacklisted my motherboard model and I have that in place right now. No reboots so far.</div>
 

tobiasbp

Patron
Joined
Dec 2, 2015
Messages
238
<div class="bbWrapper"><a href="https://www.truenas.com/community/members/47001/" class="username" data-xf-init="member-tooltip" data-user-id="47001" data-username="@eroji">@eroji</a>: Can you share your new rc.conf.local?</div>
 

eroji

Contributor
Joined
Feb 2, 2015
Messages
140
<div class="bbWrapper">This is what I was provided with. So far so good. No reboots.</div>
 

Attachments

  • rc.conf.local.zip
    6.3 KB · Views: 582

tobiasbp

Patron
Joined
Dec 2, 2015
Messages
238
<div class="bbWrapper">Looking at you file, the new part is:<br /> <div class="bbCodeBlock bbCodeCode"><div class="type">Code:</div><pre>if /usr/local/sbin/dmidecode -s baseboard-product-name | grep -q X9DR3-F; then echo &quot;watchdogd_enable=\&quot;NO\&quot;&quot; else echo &quot;watchdogd_enable=\&quot;YES\&quot;&quot; fi</pre></div><br /> <br /> I'll update the code and try it on my boarc which returns:<br /> <br /> dmidecode -s baseboard-product-name<br /> X7DB8</div>
 

tobiasbp

Patron
Joined
Dec 2, 2015
Messages
238
<div class="bbWrapper">Having added the change above to /conf/base/etc/rc.conf.local, my machine reboots within a minute of booting.<br /> <br /> Any ideas? <br /> <br /> <a href="https://www.truenas.com/community/members/47001/" class="username" data-xf-init="member-tooltip" data-user-id="47001" data-username="@eroji">@eroji</a>: How did you apply the fix?</div>
 

tobiasbp

Patron
Joined
Dec 2, 2015
Messages
238
<div class="bbWrapper">Having read up on the subject here:<br /> <a href="https://koitsu.wordpress.com/2010/07/13/freebsd-and-hardwaresoftware-watchdogs/" target="_blank" class="link link--external" rel="nofollow ugc noopener">https://koitsu.wordpress.com/2010/07/13/freebsd-and-hardwaresoftware-watchdogs/</a><br /> <br /> I can see why my machine reboots with watchdogd disabled. Since I have watchdog disabled in BIOS, what reboots my machine would be the Intel ICHxx watchdog mentioned in the blog post above.<br /> <br /> My understanding is, that Intel ICHxx watchdog is controlled by the ichwd driver in FreeBSD. This is compiled in to the kernel on FreeNAS (So it cant be disabled).<br /> <br /> However, looking at the log i see:<br /> Dec 9 11:22:37 ultraman ichwd0 on isa0<br /> Dec 9 11:22:37 ultraman wbwd0: &lt;Winbond 83627HF/F/HG/G Rev. UD-A&gt; at port 0x2e-0x2f on isa0<br /> Dec 9 11:22:37 ultraman wbwd0: Before watchdog attach: Watchdog enabled. Scaling by 60s, timer at 5 (&lt;=300s left). CRF5 0x08 CRF7 0xc0<br /> <br /> So the Winbond watchdog is used (even though it is disabled in the BIOS)? <br /> <br /> Are both hardware watchdogs enabled? I get ean entry for ichwd and wbwd.<br /> <br /> Any ideas?</div>
 
Status
Not open for further replies.
Top