Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2017 01:40:58 -0700
From:      "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        Andrey Chernov <ache@freebsd.org>, bde@freebsd.org, current@freebsd.org
Subject:   Re: New syscons bugs: shutdown -r doesn't execute rc.d sequence and others
Message-ID:  <6E572F7D-8DA3-4801-B370-B7B63C664760@gmail.com>
In-Reply-To: <20170329190919.C26218@besplex.bde.org>
References:  <7d5bbbf0-6908-185c-2ee0-29e0a4f60591@freebsd.org> <D9EAB41D-CE19-4225-8868-F4AFE461F903@gmail.com> <5587c798-d36c-9074-1060-30e206db5571@freebsd.org> <69af07a7-ec8f-9b7f-8b93-9ba148f30fec@freebsd.org> <8C24D1BA-1607-4C19-BA38-39256E82C7AF@gmail.com> <51045bee-a626-efb3-4b1e-0c3d36abb1ab@freebsd.org> <20170329132927.U882@besplex.bde.org> <20170329150903.T1156@besplex.bde.org> <8078CD32-2DFB-4296-BD92-29627A1B4559@gmail.com> <20170329190919.C26218@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_22CFF767-91DA-471A-9F92-DC70CBD6B99B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> On Mar 29, 2017, at 01:26, Bruce Evans <brde@optusnet.com.au> wrote:
>=20
> On Tue, 28 Mar 2017, Ngie Cooper wrote:
>=20
>>> On Mar 28, 2017, at 21:40, Bruce Evans <brde@optusnet.com.au> wrote:
>>>=20
>>>> On Wed, 29 Mar 2017, Bruce Evans wrote:
>>>>=20
>>>>> On Wed, 29 Mar 2017, Andrey Chernov wrote:
>>>>> ...
>>>>> Moreover, I can't enter KDB via Ctrl-Alt-ESC in the syscons only =
mode
>>>>> anymore - nothing happens. In the vt mode I can, but can't exit =
via "c"
>>>>> properly, all chars typed after "c" produce beep unless I switch =
to
>>>>> another screen and back.
>>>>> All it means that syscons becomes very broken now by itself and =
even
>>>>> damages the kernel operations.
>=20
> I found a bug in screen resizing (the console context doesn't get =
resized).
> This doesn't cause any keyboard problems.
>=20
>>>> ...
>>>> But I suspect it is a usb keyboard problem.  Syscons now does =
almost
>>>> correct locking for the screen, but not for the keyboard, and the =
usb
>>>> keyboard is especially fragile, especially in ddb mode.  Console =
input
>>>> is not used in normal operation except for checking for characters =
on
>>>> reboot.
>>>>=20
>>>> Try using vt with syscons unconfigured.  Syscons shouldn't be used =
when
>>>> vt is selected, but unconfigure it to be sure.  vt has different =
bugs
>>>> using the usb keyboard.  I haven't tested usb keyboards recently.
>>>=20
>>> ...
>>> I tested usb keyboards again.  They sometimes work, much the same as
>>> a few months ago after some fixes:
>>> ...
>>>=20
>>> The above testing is with a usb keyboard, no ps/2 keyboard, and no =
kbdmux.
>>> Other combinations and dynamic switching move the bugs around, and a
>>> serial console is needed to recover in cases where the bugs prevent =
any
>>> keyboard input.
>>=20
>> I filed a bug a few years ago about USB keyboards and usability in =
ddb. If you increase the timeout so the USB hubs have enough time to =
probe/attach, they will work.
>=20
> Is that for user mode or earlier?  ukb has some other fixes for ddb =
now, but
> of course it can't work before it finds the device.
>=20
> I recently found that usb boot drives sometimes don't have enough time =
to
> probe/attach before they are used in mountroot, and the mount -a =
prompt
> does locking that doesn't allow them enough time if they are not ready
> before it.  The usb maintainers already know about this.

Ah, I misremembered my filing the bug =E2=80=94 someone else did it: =
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D133989 (it happens =
at mountroot, for example, because of probing order being what it is).
-Ngie

--Apple-Mail=_22CFF767-91DA-471A-9F92-DC70CBD6B99B
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJY23MbAAoJEPWDqSZpMIYVH5sP/0RfNzM6K+QYb60C94VOT9YF
Yeo9hi5K5+G4gY2F2/CMhXQSgUby7xKYW+qXtmsJ9iJ+2mCQjQ5f5lMJwSuVqhXm
EH2KZ25B6dd1z2QyB2DClDqkMOS4M0daWjEyxjfSy4K43Y75M6ODw3JhlGKH5kUF
vo+iEQpOQXwFfYRU8SZJ7zvETPVf64618Ik/eI+7Hz2cIIzh6/y6sYFtxpvjJfvQ
I7gzdxaxFHNsa48rEzjznQnC+EYYuSSwwmUVlbJ+NMrMJZ8f0TX29mUKmH90iQDl
InNrCE4RGgUCdJANTzpIAeh+zqDpRkI57SdjHLD/JtQHo06KCAYpWXjxYOyp6A29
xM8i56mx1N9sYzQHviCcizwQB/nSJlXWlFZaKQJmKAnZAKPQhiyXeE6ylTg94qjH
kC2MwIMb6x+gJfMIte73iHf+Gl8jyOqE/TOsat5yyhe2DkvHxaZ489vFtvXwLmCu
S6NjsuqAIqKJXHzJI4wbXXX/TsMt7S2wLf664uzJuWXisWwgii1KGs6D3U2c68pO
OBv8p2cmI2vpVnZYb2TTuZ6/PkSiIDNuzDkZKyRd04FTUX6pzhKqtTBLQYHYLpwx
1l3rpgSXjZ+kEqrQNx3L2toel7n7zaadzhuCCimdmmRpIcJb2CoY70Gu0zoT000p
BklvdizL1V/w79XvArkr
=9CoP
-----END PGP SIGNATURE-----

--Apple-Mail=_22CFF767-91DA-471A-9F92-DC70CBD6B99B--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E572F7D-8DA3-4801-B370-B7B63C664760>