Em 21-12-2013 21:52, Adam Jensen escreveu:
> On 12/20/2013 09:05 AM, Giancarlo Razzolini wrote:
>> Em 19-12-2013 17:56, Adam Jensen escreveu:
>>> I've been using a KVM switch (USB keyboard and mouse) on a couple of
>>> machines recently and I noticed that when the Keyboard, Video, and
>>> Mouse connections are switched away from the OpenBSD machine, a USB
>>> disconnect is reported (as expected). When switched back, the keyboard
>>> and mouse are not reconnected (video is displayed, of course). Once
>>> the machine is in this state, I can continue to work with it through
>>> ssh but if the machine is "shutdown -hp" or "halt -p" it hangs during
>>> the "Syncing disks..." stage and stays there indefinitely (or until
>>> the power cable is pulled). The file-systems are not cleanly
>>> unmounted. This behavior occurs with an i386 machine and with an amd64
>>> machine.
>>>
>>> It seems like it might be a serious issue if the USB software stack is
>>> preventing a disk sync.
>>>
>> Do you have all patches on http://www.openbsd.org/errata54.html applied?
>> Specifically, I had random issues until I've applied this one:
>> http://ftp.openbsd.org/pub/OpenBSD/patches/5.4/common/003_vnode.patch
>>
>> Also, try enabling the ddb.panic sysctl flag, it might help debugging
>> the issue. A dmesg would help too.
>>
>
> I rebuilt the machines recently and I have not been able to reproduce
> the system hang during shutdown. The USB devices still don't reconnect
> after being disconnected but both machines have been powering down
> without any problems. So on the one hand, huzzah! It works. On the
> other hand, wtf?
>
KVM systems are at best a hack. I do not personally uses them, since
they have the tendency to not follow standards and ultimately breaking
things. Your dmesg doesn't show anything when you switch back to openbsd?

-- 
Giancarlo Razzolini
GPG: 4096R/77B981BC

Reply via email to