Port-atari archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Question on the images in /miniroot



> This one boots quickly past "kbd0 at mainbus0" but then still gets stuck 
> after "scsibus0: waiting 2 seconds for devices to settle..."

Hmm, then there are some more hidden bugs which were risen by
some MI changes between 3.0 and 4.0.

It would be difficult to find them without tracking which changes
caused the problem, but could you try the following (yet other)
possible ones?
http://www.ceres.dti.ne.jp/~tsutsui/netbsd/netbsd-atari-BOOT-20080619.gz

---
Index: dev/kbd.c
===================================================================
RCS file: /cvsroot/src/sys/arch/atari/dev/kbd.c,v
retrieving revision 1.29
diff -u -r1.29 kbd.c
--- dev/kbd.c   11 Dec 2005 12:16:54 -0000      1.29
+++ dev/kbd.c   19 Jun 2008 13:45:52 -0000
@@ -420,6 +420,7 @@
                } else {
                        spl1();
                        kbdsoft(NULL, NULL);
+                       spl0();
                }
        }
 }
Index: dev/zs.c
===================================================================
RCS file: /cvsroot/src/sys/arch/atari/dev/zs.c,v
retrieving revision 1.51
diff -u -r1.51 zs.c
--- dev/zs.c    1 Oct 2006 20:31:50 -0000       1.51
+++ dev/zs.c    19 Jun 2008 13:45:53 -0000
@@ -585,7 +585,7 @@
        register struct zs_chanstate    *a;
 #define        b (a + 1)
        register volatile struct zschan *zc;
-       register int                    rr3, intflags = 0, v, i;
+       register int                    rr3, intflags = 0, v, i, rv;
 
        do {
            intflags &= ~4;
@@ -635,7 +635,9 @@
                if(BASEPRI(sr)) {
                        spl1();
                        zsshortcuts++;
-                       return(zssoft(sr));
+                       rv = zssoft(sr);
+                       spl0();
+                       return rv;
                }
                else if(!cb_scheduled) {
                        cb_scheduled++;
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index