clone 777735 -1
reassign -1 qemu-system-x86
retile -1 setting unsupported timeout for i6300esb watchdog causes reset
thanks

Am 13.02.2015 um 08:55 schrieb Peter Colberg:
> On Fri, Feb 13, 2015 at 08:02:09AM +0100, Michael Biebl wrote:
>> Am 13.02.2015 um 07:44 schrieb Michael Biebl:
>>> I went on and looked what the watchdog package does. Interestingly, it
>>> clamps any timeout value to 254s, thus not hitting this issue.
>>> Apparently, i6300esb is able to deal with such a timeout.
>>>
>>> Peter, I therefore recommend you set
>>>
>>>  ShutdownWatchdogSec=254s
>>>
>>> in /etc/systemd/system.conf as well for the time being. This should be
>>> sufficient to workaround this issue for this buggy driver.
>>> Setting 256s, does indeed trigger the issue, which leads to the
>>> conclusion, that the driver is using a char to hold a time value (0-255).
>>
>> Actually, after a few more experiments, it turns out that for i6300esb,
>> the safe max value in my qemu VM is 549s. Setting it to 550s triggers
>> the reset.
> 
> In the linux-3.16.7-ckt4 source the range of the timeout value for
> the i6300esb is 1s < timeout < 2*1023s. In theory it should work
> with the default shutdown timeout of 10min.
> 
> For the ib700 the range is 0s <= timeout <= 30s, hence the error.
> 

I decided to clone this bug and assign it to qemu.
If the kernel is supposed to support such timeouts, this looks like a
hardware/qemu issue to me then.
While not supporting the timeout is one issue, the more important one
is, that this causes a hw reset and this needs to be fixed.

If this turns out to be indeed a kernel bug, please re-assign accordingly.

I'll keep this bug report against systemd open for new. Haven't decided
yet, if we apply some workarounds to systemd for this, like using a
"safer" default like 4min on shutdown, assuming that because the
watchdog package has been using 254 as max timeout in the past, drivers
are at least tested with that limit.


Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to