Subject: Re: Installing -current on Ultra 5 via miniroot (Was: X on Ultra5
To: Amadeus Stevenson <amadeus.stevenson@gmail.com>
From: Michael Lorenz <macallan@netbsd.org>
List: port-sparc64
Date: 04/16/2006 11:35:17
--Signature_Sun__16_Apr_2006_11_35_18_-0400_m2Mu1A_duq+AanbU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> After changing the symlink for /usr/X11R6/bin/X to XFree86 from Xsun
> (should this be changed in the sets?) everything is working great with
> the drivers you provided at
> ftp://ftp.netbsd.org/pub/NetBSD/misc/macallan/sparc/X11/ati_sparc.tar.gz

Good to know, I'll enable the ati drivers in regular sparc builds.

> Oh, how can I get more virtual screens with Stop-Fn? Stop-F2,3,4 etc.
> shows blank screens and not a login prompt.

Have a look at /etc/ttys - the virtual consoles are ttyE0 ... ttyEn,
there is probably only an entry for /dev/console.
To get login prompts on the additional screens add lines like these:
ttyE1   "/usr/libexec/getty std.9600"   xterm-color     on  secure
ttyE2   "/usr/libexec/getty std.9600"   xterm-color     on  secure
ttyE3   "/usr/libexec/getty std.9600"   xterm-color     on  secure

ttyE1 corresponds to Stop-F2 ( since there's no F0 ;) ) and so on

these lines don't exist in the NetBSD/sparc setup because NetBSD/sparc
still didn't switch to wscons, unlike sparc64. Mainly because we don't
have wscons-compliant drivers for all supported graphics hardware and I
can only write drivers for hardware I actually have access to. So wscons
is considered optional for now. Maybe we should have the entries in
/etc/ttys, probably commented out as a hint.

To get more screens have a look at /etc/wscons.conf, make sure the
terminal type set there matches the terminal type in /etc/ttys ( the
vt100 type provides a bit more than a standard vt100 would, like
colours and non-standard screen sizes, that's why I use the xterm-color
type. Plain vt100 would work of course. )

> I added wscons to rc.conf but it says the screens are already
> configured, but my /etc/ttys only has serial consoles... sorry for the
> dumb question.

No dumb question at all. The kernel usually creates one screen for the
console. It may be configured to create more which is kind of
superficial since etc/wscons.conf would take care of that - the message
should probably go away since it's no error if a screen already exists.

have fun
Michael

--Signature_Sun__16_Apr_2006_11_35_18_-0400_m2Mu1A_duq+AanbU
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBREJkPMpnzkX8Yg2nAQKq2gf+K1uA6QuOkRvdkOdSqqCZFYDmSEDpGU2k
LYOdC1w36GsNESav6QEeMCUiErE6ZCnFekL4Wre/FMwtY1LeoTzjrgeifEaVSvQs
akBsSY7AUh6dcn1NOE6R4YlPt7teV8O9YaMM4YOA5b6tUbZD9/G592SkoA1nzoip
LTz2DlxkvIhX1QQNbx4t1xbBLoejRyPPNapYJusXnCMIBEohTzyB0/+HQOcz2XkM
/cAeP9DBGgYWU82UOcTlJc6nL2wgCPABfoNqKqb0XnCYGpPRwin7cmfK03Dxy6e7
28aeMTdLbHP5+UtrJdyc+qauauZUOgLeoV5dthk1WhPhv4Hn5DGYbw==
=u4+7
-----END PGP SIGNATURE-----

--Signature_Sun__16_Apr_2006_11_35_18_-0400_m2Mu1A_duq+AanbU--