NetBSD-Bugs archive

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

port-prep/54394: NetBSD 8.0 does not boot on an IBM RS/6000 43p



>Number:         54394
>Category:       port-prep
>Synopsis:       NetBSD 8.0 does not boot on an IBM RS/6000 43p
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-prep-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 21 15:25:00 +0000 2019
>Originator:     Ulrich Teichert
>Release:        8.0
>Organization:
>Environment:
NetBSD wehrle.nms.ulrich-teichert.org 8.0 NetBSD 8.0 (GENERIC) #0: Sun Jul  7 00:05:09 CEST 2019  ut@valdese:/home/ut/soft/netbsd/prep/usr/src/sys/arch/prep/compile/GENERIC prep
>Description:
my 43p was booting an old Linux install, but I could not boot an NetBSD
kernel. The machine was bombing out with an endless stream of errors like:
>> NetBSD/prep BOOT, Revision 1.9 (Tue Jul 17 14:59:51 UTC 2018)

INTRF
phase mismatch without command
selection timeout without command
unhandled scsi interrupt, sist=0xffff sstat1=0xff DSA=0xffffffff DSP=0x7f7e8fff
XXXXX: fatal error, need reset the bus...
INTRF
phase mismatch without command
selection timeout without command
unhandled scsi interrupt, sist=0xffff sstat1=0xff DSA=0xffffffff DSP=0x7f7e8fff
XXXXX: fatal error, need reset the bus...
INTRF
phase mismatch without command
selection timeout without command
>How-To-Repeat:
Try to boot an install kernel on a 43p.
>Fix:
With this simple patch:
Index: sys/arch/prep/stand/boot/boot.c
===================================================================
RCS file: /cvsroot/src/sys/arch/prep/stand/boot/boot.c,v
retrieving revision 1.20
diff -u -r1.20 boot.c
--- sys/arch/prep/stand/boot/boot.c     8 Aug 2014 19:45:48 -0000       1.20
+++ sys/arch/prep/stand/boot/boot.c     21 Jul 2019 14:52:47 -0000
@@ -46,8 +46,8 @@
 #include "sdvar.h"
 
 char *names[] = {
-       "sd(0,0,0)netbsd", "sd(0,0,0)onetbsd",
        "in()",
+       "sd(0,0,0)netbsd", "sd(0,0,0)onetbsd",
 };
 #define        NUMNAMES (sizeof (names) / sizeof (names[0]))
 
@@ -143,9 +143,9 @@
        printf("\n");
 
        /*
-        * Initialize siop@pci0 dev 16 func 0
+        * Initialize siop@pci0 dev 16 func 0 - EXPERIMENTAL, does not work for 43p at least
         */
-       siop_init(0, 16, 0);
+       /* siop_init(0, 16, 0); */
 
        for (;;) {
                name = names[n++];

I was able to get NetBSD installed on my box :-)



Home | Main Index | Thread Index | Old Index