Subject: port-sparc/8212: installboot(8) thinks that a hyperSPARC/90mhz is a sun4c
To: None <gnats-bugs@gnats.netbsd.org>
From: None <windsor@warthog.com>
List: netbsd-bugs
Date: 08/16/1999 15:20:50
>Number:         8212
>Category:       port-sparc
>Synopsis:       installboot(8) thinks that a hyperSPARC/90mhz is a sun4c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-sparc-maintainer (NetBSD/sparc Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Aug 16 15:20:01 1999
>Last-Modified:
>Originator:     Rob Windsor
>Organization:
Nose Pickers Anonymous
>Release:        1.4J as of 19990810
>Environment:
hyperSPARC/90mhz (Sun Sparc 20)
>Description:
	installboot(8) announces that the karch is sun4c, which it isn't.

	This does not appear to break the boot blocks, though (at least, it
	still boots), therefore, this is more of a cosmetic fix request.

	: birky:/usr/mdec; sudo ./binstall -v ffs /
	Inspecting "/dev/sd1a on / type ffs (local)"
	Boot device: /dev/rsd1a
	Target: //boot
	1842+1 records in
	1842+1 records out
	58968 bytes transferred in 1 secs (58968 bytes/sec)
	/usr/mdec/installboot -v //boot /usr/mdec/bootxx /dev/rsd1a
	boot: //boot
	proto: /usr/mdec/bootxx
	device: /dev/rsd1a
-->	architecture: sun4c
	/usr/mdec/bootxx: entry point 0x340000
	/usr/mdec/bootxx: a.out header left on
	proto bootblock size 7680
	room for 256 filesystem blocks at 0x341858
	//boot: block numbers: 832 848 864 880 896 912 928 9852 


	: birky:/usr/mdec; sysctl hw.machine 
	hw.machine = sparc
	: birky:/usr/mdec; sysctl hw.model  
	hw.model = RT620/625 @ 90 MHz, on-chip FPU

>How-To-Repeat:
	run binstall(8) or installboot(8) on a hyperSPARC-equipped machine

>Fix:
	update src/sys/arch/sparc/stand/installboot/installboot.c

>Audit-Trail:
>Unformatted:
>System:	NetBSD birky 1.4J NetBSD 1.4J (BIRKY) #3: Tue Aug 10 10:10:02 CDT 1999 windsor@birky:/usr/src/sys/arch/sparc/compile/BIRKY sparc