Port-sgimips archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: new kernel hangs on Indy R4000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Feb 25, 2009, at 5:57 PM, Frank Wille wrote:
Todays kernel hangs on my Indy:
[...]
dsclock0 at mainbus0 addr 0x1fbe0000
ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guiness),
board rev 0
[] <-- Here.
There is a white cursor now (which sometimes has some missing pixels).
The kernel from a few days ago, which fixed the position of the red
cursor
sprite, worked fine.
Is it a known problem, or should I debug it?
It's an Indy with R4000/100MHz and a 24 bit Newport.
With the cursor drawn incompletely?
I've seen that too, I found the cause yesterday. Apparently some IOC
initialization screws with newport's drawing engine. Here's what I did:
Index: ioc.c
===================================================================
RCS file: /cvsroot/src/sys/arch/sgimips/ioc/ioc.c,v
retrieving revision 1.7
diff -u -w -r1.7 ioc.c
- --- ioc.c 17 Oct 2007 19:57:05 -0000 1.7
+++ ioc.c 25 Feb 2009 23:16:46 -0000
@@ -140,10 +140,13 @@
IOC_WRITE_ENET_AUTO | IOC_WRITE_ENET_UTP |
IOC_WRITE_PC_UART2 | IOC_WRITE_PC_UART1);
+/* XXX: the firmware should have taken care of this already */
+#if 0
if (mach_subtype == MACH_SGI_IP22_GUINNESS) {
bus_space_write_4(sc->sc_iot, sc->sc_ioh, IOC_GCSEL,
0xff);
bus_space_write_4(sc->sc_iot, sc->sc_ioh, IOC_GCREG,
0xff);
}
+#endif
#if defined(BLINK)
ioc_blink(sc);
if it works for you and doesn't have any adverse side effects I'll
commit it.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSaXRpcpnzkX8Yg2nAQJbdgf/X24FSaOiriYyD0SM2T0AgY66t0lJva+e
DiDEuIQVeoqJRssjVC/AuxIMrzmHd/RMH/gZ57/Bx3o8xFerAv2jty/RwdQpwoyD
FFVv+hvEG1vycKqG3XIuoJkFhaMfmpTi2pun/r5g2Y/RAG1l2EvAsGKGF1pQPgFZ
dUAtvDNueNvIkRYXzw9DKeAm+571ItEcUQXWSV5I8djgSqCV6aIwHakEOwS50qnB
5BhtkkmxltOgdQa5vRiiLk0p8ijm4+hU9uA1IxenzkxH//E7ZCfoOKmMH6JpwAlV
n6WT6RntD0tLQK0n8CZ8Fqz63y25LbwL1pglg9BPB/RgakhckTiEEQ==
=Omoz
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index