Re: Is sc(4) no longer supported in GENERIC?

From: Chris <bsd-lists_at_BSDforge.com>
Date: Fri, 03 Apr 2020 09:16:58 -0700
On Fri, 3 Apr 2020 20:10:36 +0900 junchoon_at_dec.sakura.ne.jp said

> On Fri, 03 Apr 2020 01:25:18 -0700
> Chris <bsd-lists_at_BSDforge.com> wrote:
> 
> > On Thu, 2 Apr 2020 19:31:53 -0400 Ed Maste emaste_at_freebsd.org said
> > 
> > > On Thu, 2 Apr 2020 at 17:13, Chris <bsd-lists_at_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_at_dec.sakura.ne.jp>
Received on Fri Apr 03 2020 - 14:44:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC