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 26, 2009, at 3:44 PM, Frank Wille wrote:

Michael wrote:

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.

Yes. Works fine!

Alright, I'll commit.

Next problem:
Did anybody manage to mount a file system with recent kernels? NFS- mounting a root file system with GENERIC_IP2x failed. Same problem with the internal
disk image of the INSTALL_IP2x kernel:
[...]
boot device: sq0
root on md0a dumps on md0b
no file system for md0 (dev 0x200)
cannot mount root, error = 79

Works here, that's how I installed NetBSD on my Indy.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSadyL8pnzkX8Yg2nAQI6oAgAlLkBpDAJibeyq6JmKsZ4MOhg33Iekddg
3B94fXuFikQq6sc1pHFY7CvevnJyB/Cke6vuuYPbqkABj8qVUfl0Shd4BkOvDiRN
1bgD+guxgamhOZ9bp8F3b7Ialc+3k0WAlzlw9byoCbwvQHn7wLpqxPp0W8fhjKiy
uwVlXY8DdqQk22v4qNa/HDOcDz2knlR9mZVa5x0NNTFFudRq0wCsne1o/wRo3Y4Y
qBlzvPYo9d4r5wbQ9pcbLzAYh9iGb/SBNccUyd00LujHO8zxf1dqfgJIUo94aRnV
kQAWxF9yYYhq2Sc2nEZqeGEVI5kSLlmKCS+u9SaYJPvMWGQ/xLwL0Q==
=iHdH
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index