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

From: Tomoaki AOKI <junchoon_at_dec.sakura.ne.jp>
Date: Fri, 3 Apr 2020 20:10:36 +0900
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.

% 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
> 
> 
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


-- 
Tomoaki AOKI    <junchoon_at_dec.sakura.ne.jp>
Received on Fri Apr 03 2020 - 09:50:44 UTC

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