NetBSD Problem Report #57654

From www@netbsd.org  Wed Oct 11 20:41:57 2023
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_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 33CC81A9238
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 11 Oct 2023 20:41:57 +0000 (UTC)
Message-Id: <20231011204155.20DFF1A923A@mollari.NetBSD.org>
Date: Wed, 11 Oct 2023 20:41:55 +0000 (UTC)
From: iwama@t3.rim.or.jp
Reply-To: iwama@t3.rim.or.jp
To: gnats-bugs@NetBSD.org
Subject: Indy R5000SC not supported after 9.1
X-Send-Pr-Version: www-1.0

>Number:         57654
>Category:       port-sgimips
>Synopsis:       Indy R5000SC not supported after 9.1
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sgimips-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 11 20:45:00 +0000 2023
>Originator:     Yoshihiko Iwama
>Release:        9.1
>Organization:
>Environment:
>Description:
My Indy with an R5000SC CPU cannot boot from the installation CD of 9.1 or later.

>> hinv
                   System: IP22
                Processor: 150 Mhz R5000, with FPU
     Primary I-cache size: 32 Kbytes
     Primary D-cache size: 32 Kbytes
     Secondary cache size: 512 Kbytes
              Memory size: 256 Mbytes
                 Graphics: Indy 24-bit
                SCSI Disk: scsi(0)disk(1)
                SCSI Disk: scsi(0)disk(2)
               SCSI CDROM: scsi(0)cdrom(6)
                    Audio: Iris Audio Processor: version A2 revision 4.1.0
>> version
PROM Monitor SGI Version 5.3 Rev B10 R4X00/R5000 IP24 Feb 12, 1996 (BE)
>> boot -f scsi(0)cdrom(6)rdisk(0)partition(8)ip2xboot

NetBSD/sgimips 9.3 Bootstrap, Revision 1.5 (Thu Aug  4 15:30:37 UTC 2022)

devopen: scsi(0)cdrom(6)rdisk(0)partition(0) type scsi file ip2x
6845776+112432=0x6a30d8
[   1.0000000] phys segment: 0xe000 @ 0x8002000
[   1.0000000] adding 0xe000 @ 0x8002000 to freelist 0
[   1.0000000] phys segment: 0x730000 @ 0x8010000
[   1.0000000] adding 0x58000 @ 0x8010000 to freelist 0
[   1.0000000] adding 0x3c000 @ 0x8704000 to freelist 0
[   1.0000000] phys segment: 0xf800000 @ 0x8800000
[   1.0000000] adding 0xf800000 @ 0x8800000 to freelist 0
(stop here)

This Indy can be booted from the installation CD of 9.0 or earlier.

>> boot -f scsi(0)cdrom(6)rdisk(0)partition(8)ip2xboot

NetBSD/sgimips 9.0 Bootstrap, Revision 1.5 (Fri Feb 14 00:06:28 UTC 2020)

devopen: scsi(0)cdrom(6)rdisk(0)partition(0) type scsi file ip2x
6829936+112368=0x69f2b8
[   1.0000000] phys segment: 0xe000 @ 0x8002000
[   1.0000000] adding 0xe000 @ 0x8002000 to freelist 0
[   1.0000000] phys segment: 0x730000 @ 0x8010000
[   1.0000000] adding 0x58000 @ 0x8010000 to freelist 0
[   1.0000000] adding 0x40000 @ 0x8700000 to freelist 0
[   1.0000000] phys segment: 0xf800000 @ 0x8800000
[   1.0000000] adding 0xf800000 @ 0x8800000 to freelist 0
[   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, 2020 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 (INSTALL32_IP2x) #0: Fri Feb 14 00:06:28 UTC 2020
[   1.0000000] 	mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/sgimips/compile/INSTALL32_IP2x
[   1.0000000] total memory = 256 MB
[   1.0000000] (768 KB reserved for ARCS)
[   1.0000000] avail memory = 243 MB
[   1.0000000] mainbus0 (root): SGI-IP22 [SGI, 6909ab88], 1 processor
[   1.0000000] cpu0 at mainbus0: MIPS R5000 CPU (0x2310) Rev. 1.0 with built-in FPU Rev. 1.0
[   1.0000000] cpu0: 48 TLB entries, 16MB max page size
[   1.0000000] cpu0: 32KB/32B 2-way set-associative L1 instruction cache
[   1.0000000] cpu0: 32KB/32B 2-way set-associative write-back L1 data cache
[   1.0000000] cpu0: 512KB/32B direct-mapped write-through L2 data cache
[   1.0000000] int0 at mainbus0 addr 0x1fbd9880
[   1.0000000] int0: bus 75MHz, CPU 150MHz
[   1.0000000] imc0 at mainbus0 addr 0x1fa00000: revision 3
[   1.0000000] gio0 at imc0
[   1.0000000] newport0 at gio0: SGI NG1 (board revision 4, cmap revision 7, xmap revision 7, vc2 revision 0), depth 8
[   1.0000000] wsdisplay0 at newport0 kbdmux 1
[   1.0000000] hpc0 at gio0: SGI HPC3 (onboard)
[   1.0000000] zsc0 at hpc0 offset 0x59830
[   1.0000000] zstty0 at zsc0 channel 1 (console i/o)
[   1.0000000] zstty1 at zsc0 channel 0
[   1.0000000] pckbc0 at hpc0 offset 0x59840
[   1.0000000] pckbd0 at pckbc0 (kbd slot)
[   1.0000000] wskbd0 at pckbd0 mux 1
[   1.0000000] pms0 at pckbc0 (aux slot)
[   1.0000000] wsmouse0 at pms0 mux 0
[   1.0000000] sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
[   1.0000000] sq0: Ethernet address 08:00:69:09:ab:88
[   1.0000000] wdsc0 at hpc0 offset 0x44000: WD33C93B (20.0 MHz clock, BURST DMA, SCSI ID 0)
[   1.0000000] wdsc0: microcode revision 0x0d, Fast SCSI
[   1.0000000] scsibus0 at wdsc0: 8 targets, 8 luns per target
[   1.0000000] haltwo0 at hpc0 offset 0x58000: HAL2 revision 4.1.0
[   1.0000000] audio0 at haltwo0: playback
[   1.0000000] audio0: slinear_be:16 2ch 48000Hz, blk 21ms for playback
[   1.0000000] spkr0 at audio0: PC Speaker (synthesized)
[   1.0000000] wsbell at spkr0 not configured
[   1.0000000] pi1ppc0 at hpc0 offset 0x59800
[   1.0000000] pi1ppc0: capabilities=0x8<PS2>
[   1.0000000] pi1ppc0: child devices not configured
[   1.0000000] button0 at hpc0 offset 0x59850
[   1.0000000] dsclock0 at mainbus0 addr 0x1fbe0000
[   1.0000000] ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guinness), board rev 0
[   1.0000030] scsibus0: waiting 2 seconds for devices to settle...
[   3.0690969] sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST52160N, 0285> disk fixed
[   3.1593397] sd0: 2069 MB, 6536 cyl, 4 head, 162 sec, 512 bytes/sect x 4238282 sectors
[   3.2534624] sd0: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
[   4.3460918] cd0 at scsibus0 target 6 lun 0: <PLEXTOR, CD-ROM PX-32TS, 1.02> cdrom removable
[   4.4481358] cd0: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
[  14.7807670] boot device: <unknown>
[  14.8233305] root on md0a dumps on md0b
[  14.8651394] root file system type: ffs
[  14.9132767] kern.module.path=/stand/sgimips/9.0/modules
Created mfs /dev (282624 byte, 480 inodes)
-sh: tset: not found
erase ^?, werase ^W, kill ^U, intr ^C
>How-To-Repeat:
Booting from the 9.1 or later installation CD always fails.
>Fix:
Among the differences between 9.0 and 9.1, I thought that PR/55139 was related. Therefore, I replaced the 3 files of this PR with the 9.0 ones and created an installation CD. I was able to successfully boot from this installation CD.

>> hinv
                   System: IP22
                Processor: 150 Mhz R5000, with FPU
     Primary I-cache size: 32 Kbytes
     Primary D-cache size: 32 Kbytes
     Secondary cache size: 512 Kbytes
              Memory size: 256 Mbytes
                 Graphics: Indy 24-bit
                SCSI Disk: scsi(0)disk(1)
               SCSI CDROM: scsi(0)cdrom(6)
                    Audio: Iris Audio Processor: version A2 revision 4.1.0
>> version
PROM Monitor SGI Version 5.3 Rev B10 R4X00/R5000 IP24 Feb 12, 1996 (BE)
>> boot -f scsi(0)cdrom(6)partition(8)ip2xboot

NetBSD/sgimips 9.1 Bootstrap, Revision 1.5 (Wed Oct 11 17:23:46 UTC 2023)

devopen: scsi(0)cdrom(6)partition(0) type scsi file ip2x
6840848+112416=0x6a1d88
[   1.0000000] phys segment: 0xe000 @ 0x8002000
[   1.0000000] adding 0xe000 @ 0x8002000 to freelist 0
[   1.0000000] phys segment: 0x730000 @ 0x8010000
[   1.0000000] adding 0x58000 @ 0x8010000 to freelist 0
[   1.0000000] adding 0x3e000 @ 0x8702000 to freelist 0
[   1.0000000] phys segment: 0xf800000 @ 0x8800000
[   1.0000000] adding 0xf800000 @ 0x8800000 to freelist 0
[   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, 2020 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.1 (INSTALL32_IP2x) #0: Thu Oct 12 02:53:53 JST 2023
[   1.0000000] 	iwama@netbsd-v.led.t3.rim.or.jp:/home/iwama/NetBSD-9.1-sgimips-indy/usr/obj/sys/arch/sgimips/compile/INSTALL32_IP2x
[   1.0000000] total memory = 256 MB
[   1.0000000] (768 KB reserved for ARCS)
[   1.0000000] avail memory = 243 MB
[   1.0000000] mainbus0 (root): SGI-IP22 [SGI, 6909ab88], 1 processor
[   1.0000000] cpu0 at mainbus0: MIPS R5000 CPU (0x2310) Rev. 1.0 with built-in FPU Rev. 1.0
[   1.0000000] cpu0: 48 TLB entries, 16MB max page size
[   1.0000000] cpu0: 32KB/32B 2-way set-associative L1 instruction cache
[   1.0000000] cpu0: 32KB/32B 2-way set-associative write-back L1 data cache
[   1.0000000] cpu0: 512KB/32B direct-mapped write-through L2 data cache
[   1.0000000] int0 at mainbus0 addr 0x1fbd9880
[   1.0000000] int0: bus 75MHz, CPU 150MHz
[   1.0000000] imc0 at mainbus0 addr 0x1fa00000: revision 3
[   1.0000000] gio0 at imc0
[   1.0000000] newport0 at gio0: SGI NG1 (board revision 4, cmap revision 7, xmap revision 7, vc2 revision 0), depth 8
[   1.0000000] wsdisplay0 at newport0 kbdmux 1
[   1.0000000] hpc0 at gio0: SGI HPC3 (onboard)
[   1.0000000] zsc0 at hpc0 offset 0x59830
[   1.0000000] zstty0 at zsc0 channel 1 (console i/o)
[   1.0000000] zstty1 at zsc0 channel 0
[   1.0000000] pckbc0 at hpc0 offset 0x59840
[   1.0000000] pckbd0 at pckbc0 (kbd slot)
[   1.0000000] wskbd0 at pckbd0 mux 1
[   1.0000000] pms0 at pckbc0 (aux slot)
[   1.0000000] wsmouse0 at pms0 mux 0
[   1.0000000] sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
[   1.0000000] sq0: Ethernet address 08:00:69:09:ab:88
[   1.0000000] wdsc0 at hpc0 offset 0x44000: WD33C93B (20.0 MHz clock, BURST DMA, SCSI ID 0)
[   1.0000000] wdsc0: microcode revision 0x0d, Fast SCSI
[   1.0000000] scsibus0 at wdsc0: 8 targets, 8 luns per target
[   1.0000000] haltwo0 at hpc0 offset 0x58000: HAL2 revision 4.1.0
[   1.0000000] audio0 at haltwo0: playback
[   1.0000000] audio0: slinear_be:16 2ch 48000Hz, blk 4096 bytes (21.3ms) for playback
[   1.0000000] spkr0 at audio0: PC Speaker (synthesized)
[   1.0000000] wsbell at spkr0 not configured
[   1.0000000] pi1ppc0 at hpc0 offset 0x59800
[   1.0000000] pi1ppc0: capabilities=0x8<PS2>
[   1.0000000] pi1ppc0: child devices not configured
[   1.0000000] button0 at hpc0 offset 0x59850
[   1.0000000] dsclock0 at mainbus0 addr 0x1fbe0000
[   1.0000000] ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guinness), board rev 0
[   1.0000030] scsibus0: waiting 2 seconds for devices to settle...
[   3.0692057] sd0 at scsibus0 target 1 lun 0: <SEAGATE, ST52160N, 0285> disk fixed
[   3.1543162] sd0: 2069 MB, 6536 cyl, 4 head, 162 sec, 512 bytes/sect x 4238282 sectors
[   3.2494836] sd0: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
[   4.3421162] cd0 at scsibus0 target 6 lun 0: <PLEXTOR, CD-ROM PX-32TS, 1.02> cdrom removable
[   4.4439505] cd0: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers
[  14.7765771] boot device: <unknown>
[  14.8191449] root on md0a dumps on md0b
[  14.8609477] root file system type: ffs
[  14.9090812] kern.module.path=/stand/sgimips/9.1/modules
Created mfs /dev (282624 byte, 480 inodes)
-sh: tset: not found
erase ^?, werase ^W, kill ^U, intr ^C

Is the change in PR/55139 a problem specific to the model I own?

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2023 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.