Date: Fri, 31 Mar 2017 00:06:30 +1100 (EST) From: Bruce Evans <brde@optusnet.com.au> To: Andrey Chernov <ache@freebsd.org> Cc: Bruce Evans <brde@optusnet.com.au>, "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com>, bde@freebsd.org, current@freebsd.org Subject: Re: New syscons bugs: shutdown -r doesn't execute rc.d sequence and others Message-ID: <20170330233711.O2881@besplex.bde.org> In-Reply-To: <74ff3f3b-3001-4bdd-1c4b-251a2c4a6f90@freebsd.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> <f35b6ae1-c668-0649-e327-f57811b1d71a@freebsd.org> <20170330150449.R1061@besplex.bde.org> <3534bbeb-9f73-4e37-8f89-c05dd9f89f8c@freebsd.org> <74ff3f3b-3001-4bdd-1c4b-251a2c4a6f90@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 30 Mar 2017, Andrey Chernov wrote: > On 30.03.2017 9:51, Andrey Chernov wrote: >> On 30.03.2017 8:53, Bruce Evans wrote: >> >>> The escape sequences in dmesg are very interesting. You should debug >>> those. >> >> I'll send you them a bit later. Since I don't want vt at all, I don't >> want to debug or fix it, let it die. > > Here it is: > kernel: allscreens_kbd cursor^[[=0A^[[=7F^[[=0G^[[=0H^[[=7Ividcontrol: > setting cursor type: Inappropriate ioctl for device > > It is caused by vidcontrol call which left from previous sc setup. This turns out to be uninteresting then. I think you have to configure something specially to get console messages in dmesg, but I get then in console.log, which also requires special configuration (turn this on in syslog.conf). In my configuration, vidcontrol only does ioctls in rc.d, so there are no escape sequences for vidcontrol in console.log, and only 1 error message (for changing the font to a syscons font). There should be more failures, but some ioctls are null instead of working. "vidcontrol show >/dev/console" works to show the colors and also to show that escape sequences end up in console.log. Bruce
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170330233711.O2881>