Date: Fri, 03 Apr 2020 09:16:58 -0700 From: Chris <bsd-lists@BSDforge.com> To: <junchoon@dec.sakura.ne.jp> Cc: <freebsd-current@freebsd.org> Subject: Re: Is sc(4) no longer supported in GENERIC? Message-ID: <357b35f69b6935268e829b95985abe1f@udns.ultimatedns.net> In-Reply-To: <20200403201036.50289ae6fef5b13fcff75f62@dec.sakura.ne.jp>
index | next in thread | previous in thread | raw e-mail
On Fri, 3 Apr 2020 20:10:36 +0900 junchoon@dec.sakura.ne.jp said
> On Fri, 03 Apr 2020 01:25:18 -0700
> Chris <bsd-lists@BSDforge.com> wrote:
>
> > On Thu, 2 Apr 2020 19:31:53 -0400 Ed Maste emaste@freebsd.org said
> >
> > > On Thu, 2 Apr 2020 at 17:13, Chris <bsd-lists@bsdforge.com> wrote:
> > > >
> > > > Ahem... I used the wrong syntax.
> > > > changing the entry to
> > > >
> > > > kern.vty=sc
> > > >
> > > > solved it! :)
> > >
> > > I'm glad it's working for you, but note that sc(4) is deprecated and
> > > has no ongoing effort behind it, so it would be best if we can
> > > identify and resolve the issue you encountered.
> > >
> > > The first thing you can try is vt(4) in text mode, by setting
> > > hw.vga.textmode=1
> > Attempting your suggestion returned:
> >
> > sysctl: unknown oid 'hw.vga.textmode'
>
> Hi.
> Have you tried via command line, /etc/sysctl.conf or /etc/rc.conf?
> If so, try setting it in /boot/loader.conf and reboot.
>
> hw.vga.textmode is tunable, so can be set only by loader.
Sigh... I'm afraid it was quite late last night when
I attempted this, and I took it out of context.
Yes. Adding the line to *loader.conf(5)* worked as intended.
Sorry for all the bother. :(
Thanks for your kind help. :)
--Chris
>
> % grep -r -n "hw.vga" /usr/src/sys/ | fgrep textmode
> /usr/src/sys/dev/vt/hw/vga/vt_vga.c:1298: * If
> "hw.vga.textmode" is not set and we're running on
> hypervisor,
> /usr/src/sys/dev/vt/hw/vga/vt_vga.c:1304:
> TUNABLE_INT_FETCH("hw.vga.textmode", &textmode);
> ^^^^^^^
>
>
> > Thanks for trying!
> >
> > I guess I should look into attempting to put some effort into sc(4)
> > and try to find out why it's being depreciated. If it's just lack
> > of commitment to it. I'll see if I can't take it on myself. :)
> >
> > Thanks again! :)
> >
> > --Chris
> >
> --
> Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?357b35f69b6935268e829b95985abe1f>
