Skip site navigation (1)Skip section navigation (2)
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 3 Apr 2020 20:10:36 +0900 junchoon@dec=2Esakura=2Ene=2Ejp said

> On Fri, 03 Apr 2020 01:25:18 -0700
> Chris <bsd-lists@BSDforge=2Ecom> wrote:
>=20
> > On Thu, 2 Apr 2020 19:31:53 -0400 Ed Maste emaste@freebsd=2Eorg said
> >=20
> > > On Thu, 2 Apr 2020 at 17:13, Chris <bsd-lists@bsdforge=2Ecom> wrote:
> > > >
> > > > Ahem=2E=2E=2E I used the wrong syntax=2E
> > > > changing the entry to
> > > >
> > > > kern=2Evty=3Dsc
> > > >
> > > > solved it! :)
> > >=20
> > > 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=2E
> > >=20
> > > The first thing you can try is vt(4) in text mode, by setting
> > > hw=2Evga=2Etextmode=3D1
> > Attempting your suggestion returned:
> >=20
> > sysctl: unknown oid 'hw=2Evga=2Etextmode'
>=20
> Hi=2E
> Have you tried via command line, /etc/sysctl=2Econf or /etc/rc=2Econf?
> If so, try setting it in /boot/loader=2Econf and reboot=2E
>=20
> hw=2Evga=2Etextmode is tunable, so can be set only by loader=2E
Sigh=2E=2E=2E I'm afraid it was quite late last night when
I attempted this, and I took it out of context=2E

Yes=2E Adding the line to *loader=2Econf(5)* worked as intended=2E

Sorry for all the bother=2E :(

Thanks for your kind help=2E :)

--Chris
>=20
> % grep -r -n "hw=2Evga" /usr/src/sys/ | fgrep textmode
> /usr/src/sys/dev/vt/hw/vga/vt_vga=2Ec:1298:=09 * If
> "hw=2Evga=2Etextmode" is not set and we're running on
> hypervisor,
> /usr/src/sys/dev/vt/hw/vga/vt_vga=2Ec:1304:
> TUNABLE_INT_FETCH("hw=2Evga=2Etextmode", &textmode);
> ^^^^^^^
>=20
>=20
> > Thanks for trying!
> >=20
> > I guess I should look into attempting to put some effort into sc(4)
> > and try to find out why it's being depreciated=2E If it's just lack
> > of commitment to it=2E I'll see if I can't take it on myself=2E :)
> >=20
> > Thanks again! :)
> >=20
> > --Chris
> >=20
> --=20
> Tomoaki AOKI    <junchoon@dec=2Esakura=2Ene=2Ejp>





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