NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
The following reply was made to PR port-sparc64/46461; it has been noted by
GNATS.
From: Michael <macallan%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: port-sparc64/46461: Sun E450 drops to DDB on boot of 6.0_BETA
Date: Sat, 19 May 2012 17:33:53 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ouch, I think I see where the problem comes from.
That path is apparently never taken if the console is explicitly set =20
to another fb or a tty since in that case OF doesn't setup the =20
graphics hardware and drivers abort much earlier, which is why I never =20=
saw it. In your case OF sets it up, then decides it doesn't have a =20
keyboard and switches to ttya. I'll fix that, there's probably a bunch =20=
of other drivers which may get bitten by that :/
I'm fairly sure that used to work though, at least sbus and UPA =20
framebuffers are set up even if they're not the console.
Does this help:
@@ -326,11 +335,10 @@
defattr);
vcons_replay_msgbuf(&sc->sc_console_screen);
} else {
- - /*
- - * since we're not the console we can postpone the =
rest
- - * until someone actually allocates a screen for us
- - */
- - (*ri->ri_ops.allocattr)(ri, 0, 0, 0, &defattr);
+ if (sc->sc_console_screen.scr_ri.ri_rows =3D=3D 0) {
+ /* do some minimal setup to avoid weirdnesses =20=
later */
+ vcons_init_screen(&sc->vd, &sc-=20
>sc_console_screen, 1, &defattr);
+ }
?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: GPGTools - http://gpgtools.org
iQEVAwUBT7gRwcpnzkX8Yg2nAQIDQwgAhQCiD47boSEy+g9IQ+ct3fBfhPhElgvT
tuTwxNqOeadqJf8beDQRkGiq9o3KKurGRjhk19sjOqYbnIP9c6EER1t7HzpxfIvX
TgeAJ78CJ9/EX4qD1rjxipLnWtXmIEakixF5+9WGcfHSapbD+eJCfB/4VRb18Esf
WWZGzZfzWuOGsJRLd1KUPzj8UW+txTjF84kDDsyfwNclKhDmEGn0732aGrR5Sg06
shwK+nmSEL5wwWBqQSEavFfGwzKLHrcG7SkwH5OqoGzNzCknwBotTQT0QF24TXEK
DJEtwrsCz0sczDofJvxglPQMj48xlOKDsZajI7Uj/Nq8cfGm2p6W2w=3D=3D
=3DQ1cg
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index