NetBSD Problem Report #54394
From www@netbsd.org Sun Jul 21 15:23:56 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 9772C7A16F
for <gnats-bugs@gnats.NetBSD.org>; Sun, 21 Jul 2019 15:23:56 +0000 (UTC)
Message-Id: <20190721152355.831557A1D3@mollari.NetBSD.org>
Date: Sun, 21 Jul 2019 15:23:55 +0000 (UTC)
From: lists@ulrich-teichert.de
Reply-To: lists@ulrich-teichert.de
To: gnats-bugs@NetBSD.org
Subject: NetBSD 8.0 does not boot on an IBM RS/6000 43p
X-Send-Pr-Version: www-1.0
>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: martin
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jul 21 15:25:00 +0000 2019
>Closed-Date:
>Last-Modified: Sun Sep 08 21:00:32 +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 :-)
>Release-Note:
>Audit-Trail:
From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54394 CVS commit: src/sys/arch/prep/stand/boot
Date: Tue, 3 Sep 2019 14:18:33 +0000
Module Name: src
Committed By: martin
Date: Tue Sep 3 14:18:32 UTC 2019
Modified Files:
src/sys/arch/prep/stand/boot: Makefile boot.c
Log Message:
PR 54394: do not compile in experimental SCSI support by default,
#ifdef it out as it breaks some machines. Based on a patch by
Ulrich Teichert, with #ifdef instead of comments suggested by nonaka@.
To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/sys/arch/prep/stand/boot/Makefile
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/prep/stand/boot/boot.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Responsible-Changed-From-To: port-prep-maintainer->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Tue, 03 Sep 2019 14:21:48 +0000
Responsible-Changed-Why:
I commited the requested changes
State-Changed-From-To: open->feedback
State-Changed-By: martin@NetBSD.org
State-Changed-When: Tue, 03 Sep 2019 14:21:48 +0000
State-Changed-Why:
This should be fixed in -current, can you please verify it works for you now?
From: Ulrich Teichert <lists@ulrich-teichert.de>
To: gnats-bugs@netbsd.org
Cc: martin@netbsd.org, port-prep-maintainer@netbsd.org, netbsd-bugs@netbsd.org,
gnats-admin@netbsd.org, lists@ulrich-teichert.de
Subject: Re: Re: port-prep/54394 (NetBSD 8.0 does not boot on an IBM RS/6000 43p)
Date: Sun, 8 Sep 2019 21:07:54 +0200 (CEST)
Hi,
sorry that it took so long, but -current doesn't compile - or at least
I was too stupid to get it to compile. But to me it seems broken, because
some directories have been removed.
Anyway, I've build the changes on top of 8.1 (which worked) and on top
of 9-BETA, where booting stops at:
0 > boot net:
LOAD: Waiting 60 seconds for Spanning Tree
BOOTP R = 1 BOOTP S = 2
FILE: net.fs
Load Addr=0x600000 Max Size=0x10000000
FINAL Packet Count = 4093 Final File Size = 2095588 bytes.
>> NetBSD/prep BOOT, Revision 1.9 (Sun Sep 8 16:46:42 UTC 2019)
Boot:
Loading in()
No such device - Configured devices are:
sd
in memory kernel
3875588+164300 [216144+206853]=0x441d38
start=0x100000
[ 1.0000000] Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
[ 1.0000000] 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017,
[ 1.0000000] 2018, 2019 The NetBSD Foundation, Inc. All rights reserved.
[ 1.0000000] Copyright (c) 1982, 1986, 1989, 1991, 1993
[ 1.0000000] The Regents of the University of California. All rights reserved.
[ 1.0000000] NetBSD 9.0_BETA (WEHRLE-2) #0: Sun Sep 8 20:31:12 CEST 2019
[ 1.0000000] ut@ahranli-bsd.nms.ulrich-teichert.org:/home/ut/soft/netbsd/usr/src/sys/arch/prep/compile/WEHRLE-2
[ 1.0000000] Model: IBM Model 7042/7043 (ED)
[ 1.0000000] total memory = 512 MB
[ 1.0000000] avail memory = 493 MB
[ 1.0000000] OpenPIC Version 1.1: Supports 4 CPUs and 16 interrupt sources.
and then the display shows the error code F051. I'll continue to investigate
that failure, but I doubt that the committed change has something to do with it.
CU,
Uli
State-Changed-From-To: feedback->open
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 08 Sep 2019 21:00:32 +0000
State-Changed-Why:
feedback provided
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.