Is sc(4) no longer supported in GENERIC?
Tomoaki AOKI
junchoon at dec.sakura.ne.jp
Fri Apr 3 11:50:44 UTC 2020
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>
More information about the freebsd-current
mailing list