Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Apr 2020 20:10:36 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        freebsd-current@freebsd.org
Cc:        bsd-lists@BSDforge.com
Subject:   Re: Is sc(4) no longer supported in GENERIC?
Message-ID:  <20200403201036.50289ae6fef5b13fcff75f62@dec.sakura.ne.jp>
In-Reply-To: <8ce3e38fbc077efe224ad1454f696551@udns.ultimatedns.net>
References:  <CAPyFy2DgLd7pZp5DH-CTRH5o6_XQkhHBD%2Brx3m4YszYOOvXn2w@mail.gmail.com> <8ce3e38fbc077efe224ad1454f696551@udns.ultimatedns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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


-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200403201036.50289ae6fef5b13fcff75f62>