From owner-freebsd-current@freebsd.org Wed Mar 29 08:41:01 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AB09CD228E2 for ; Wed, 29 Mar 2017 08:41:01 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 8152F6552E for ; Wed, 29 Mar 2017 08:41:01 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 809EDD228E0; Wed, 29 Mar 2017 08:41:01 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80328D228DD for ; Wed, 29 Mar 2017 08:41:01 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pg0-x243.google.com (mail-pg0-x243.google.com [IPv6:2607:f8b0:400e:c05::243]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 430346552B; Wed, 29 Mar 2017 08:41:01 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pg0-x243.google.com with SMTP id o123so1825157pga.1; Wed, 29 Mar 2017 01:41:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:mime-version:from:in-reply-to:date:cc:message-id:references :to; bh=2RaFU5SU8fH6ZWTUTUVkPFiWgf8msa8EJik8klwTdQA=; b=MtA4/Q+Fgv9Z6peO/a+PiGXgnxfOYsbYeW9xKlvJZHAL4h9NZ4nlzBRPHp5V77lHI7 fBxqdKYAB3CIaXhv4qnR26t+DxtRxK5D2Vi8Cuj5pRcs6A+8i7vLNeQ+UVvHaxzJZiKJ FMDJxVa5lM1P5xOkebMDVd8SbynWDyV9Slj9kbc73hZHHCnbsOYWmexEdHL5nCp8YdTK bDGMrEGJ/fhIdv0DZVWaQrDjwHpG8sSAaqdtNoI/NUuKrMSNA7eFR4BcahBNsyVcuE8B HSwq2LC51uE/5xzlvrjZ1qaDnvI+NJRy3Xx4xIcRUveLI4MBkDFINjnitjySW1C0LI8U WTyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:mime-version:from:in-reply-to:date:cc :message-id:references:to; bh=2RaFU5SU8fH6ZWTUTUVkPFiWgf8msa8EJik8klwTdQA=; b=jKI/GFlGGX1XUpLhEgTZG5ljuyj4ngMkCS+J8aBNCQzP8gxMRoIHP247Mx6qQFSIq1 cFWu7aSuXyjvFjLTO21Pb6FscpuJBh2mB1/HHOhRz2kdj9UImlIx5p9ACVRnycOtLFNN FMOQN8sukk1EyNV1bHXi6Zr/ExO6lTs01qX1B9zNOBY+NW1tDZd3mH5kGuDEJwQ5+llx qHeknV/tGJlcWuH4S5P2MrU/nhx4XhdPlaR38W7FoPvK9d0PdR9PpT1GL1ThMaIRK68/ D+XVOz3QY/iU50YfoSOXVAuzrvpKkUKPnVwrY6Un2StJVx+Qu6uTKn1gyGGhcDP3fHrN 4SFw== X-Gm-Message-State: AFeK/H1hz0O/3oqQhoe3Y/4aGAFxYAvwCOv7kGVhrnWD/1Jouivwf8Tr10s+huD2Vlp2vQ== X-Received: by 10.84.216.17 with SMTP id m17mr41067538pli.158.1490776860870; Wed, 29 Mar 2017 01:41:00 -0700 (PDT) Received: from pinklady.local (c-73-19-52-228.hsd1.wa.comcast.net. [73.19.52.228]) by smtp.gmail.com with ESMTPSA id 73sm12042627pfj.31.2017.03.29.01.40.59 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 29 Mar 2017 01:41:00 -0700 (PDT) Subject: Re: New syscons bugs: shutdown -r doesn't execute rc.d sequence and others Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: multipart/signed; boundary="Apple-Mail=_22CFF767-91DA-471A-9F92-DC70CBD6B99B"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail From: "Ngie Cooper (yaneurabeya)" In-Reply-To: <20170329190919.C26218@besplex.bde.org> Date: Wed, 29 Mar 2017 01:40:58 -0700 Cc: Andrey Chernov , bde@freebsd.org, current@freebsd.org Message-Id: <6E572F7D-8DA3-4801-B370-B7B63C664760@gmail.com> References: <7d5bbbf0-6908-185c-2ee0-29e0a4f60591@freebsd.org> <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> To: Bruce Evans X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2017 08:41:01 -0000 --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 wrote: >=20 > On Tue, 28 Mar 2017, Ngie Cooper wrote: >=20 >>> On Mar 28, 2017, at 21:40, Bruce Evans 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--