NetBSD Problem Report #53378

From www@NetBSD.org  Sun Jun 17 00:45:49 2018
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 83A5A7A272
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 17 Jun 2018 00:45:49 +0000 (UTC)
Message-Id: <20180617004547.BB7667A273@mollari.NetBSD.org>
Date: Sun, 17 Jun 2018 00:45:47 +0000 (UTC)
From: nullnilaki@gmail.com
Reply-To: nullnilaki@gmail.com
To: gnats-bugs@NetBSD.org
Subject: Unable to Load RAMDISK kernel newer than NetBSD 6.1.5 on Sgi Indy.
X-Send-Pr-Version: www-1.0

>Number:         53378
>Category:       port-sgimips
>Synopsis:       Unable to Load RAMDISK kernel newer than NetBSD 6.1.5 on Sgi Indy.
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    tsutsui
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 17 00:50:00 +0000 2018
>Closed-Date:    Fri Nov 16 15:30:01 +0000 2018
>Last-Modified:  Fri Nov 16 15:30:01 +0000 2018
>Originator:     Naruaki Etomi
>Release:        Newer than NetBSD 6.1.5
>Organization:
Japan
>Environment:
>> version
PROM Monitor SGI Version 5.3 Rev B10 R4X00/R5000 IP24 Feb 12, 1996 (BE)
>> hinv
                   System: IP22
                Processor: 180 Mhz R5000, with FPU
     Primary I-cache size: 32 Kbytes
     Primary D-cache size: 32 Kbytes
     Secondary cache size: 512 Kbytes
              Memory size: 192 Mbytes
                 Graphics: Indy 24-bit
                SCSI Disk: scsi(0)disk(1)
                    Audio: Iris Audio Processor: version A2 revision 4.1.0

>Description:
Unable to Load RAMDISK kernel newer than NetBSD 6.1.5 on Sgi Indy.
I guess that the RAMDISK kernel(netbsd-INSTALL32_IP2x.gz) is too large for Indy.

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

---------------------------------------------------------------------------

NetBSD 6.1.5
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
phys segment: 0x5e000 @ 0x8002000
adding 0x5e000 @ 0x8002000 to freelist 0
phys segment: 0x6b2000 @ 0x8060000
adding 0x8000 @ 0x8060000 to freelist 0
skipping 0x6aa000 @ 0x8068000 (kernel)
phys segment: 0x2e000 @ 0x8712000
adding 0x2e000 @ 0x8712000 to freelist 0
phys segment: 0xb800000 @ 0x8800000
adding 0xb800000 @ 0x8800000 to freelist 0
pmap_steal_memory: seg 0: 0x8002 0x8002 0x8060 0x8060
pmap_steal_memory: seg 0: 0x8031 0x8031 0x8060 0x8060
pmap_steal_memory: seg 0: 0x8033 0x8033 0x8060 0x8060
pmap_steal_memory: seg 0: too small for 905 pages
pmap_steal_memory: seg 1: 0x8060 0x8060 0x8068 0x8068
pmap_steal_memory: seg 1: too small for 905 pages
pmap_steal_memory: seg 2: 0x8712 0x8712 0x8740 0x8740
pmap_steal_memory: seg 2: too small for 905 pages
pmap_seal_memory: seg 3: 0x8800 0x8800 0x13ffe 0x13ffe
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.1.5 (INSTALL32_IP2x)
total memory = 192 MB
(768 KB reserved for ARCS)
avail memory = 180 MB
mainbus0 (root): SGI-IP22 [SGI, 690a5ae7], 1 processor
cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 with built-in FPU Rev. 1.0
cpu0: 48 TLB entries, 16MB max page size
...

---------------------------------------------------------------------------

NetBSD-7.0
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
  -

---------------------------------------------------------------------------

NetBSD-7.0.1
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
  -

---------------------------------------------------------------------------

NetBSD-7.0.2
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
  -

---------------------------------------------------------------------------

NetBSD-7.1
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
  -

---------------------------------------------------------------------------

NetBSD-7.1.1
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
  -

---------------------------------------------------------------------------

NetBSD-7.1.2
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 
Obtaining netbsd-INSTALL32_IP2x from server 
  -

---------------------------------------------------------------------------

NetBSD-8.0_RC1
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 

Cannot load bootp()netbsd-INSTALL32_IP2x.
Text start 0x8060000, size 0x777d40 doesn't fit in a FreeMemory area.
Unable to execute bootp()netbsd-INSTALL32_IP2x

---------------------------------------------------------------------------

NetBSD Current
>> bootp()netbsd-INSTALL32_IP2x
Obtaining netbsd-INSTALL32_IP2x from server 

Cannot load bootp()netbsd-INSTALL32_IP2x.
Text start 0x8060000, size 0x77c890 doesn't fit in a FreeMemory area.
Unable to execute bootp()netbsd-INSTALL32_IP2x

---------------------------------------------------------------------------

Of course, Just kernel(netbsd-GENERIC32_IP2x) load correctly.

NetBSD Current
>> bootp()netbsd-GENERIC32_IP2x
Obtaining netbsd-GENERIC32_IP2x from server 
Obtaining netbsd-GENERIC32_IP2x from server 
[   1.0000000] phys segment: 0x5e000 @ 0x8002000
[   1.0000000] adding 0x5e000 @ 0x8002000 to freelist 0
[   1.0000000] phys segment: 0x4d5000 @ 0x8060000
[   1.0000000] adding 0x8000 @ 0x8060000 to freelist 0
[   1.0000000] skipping 0x4cd000 @ 0x8068000 (kernel)
[   1.0000000] phys segment: 0x20b000 @ 0x8535000
[   1.0000000] adding 0x20b000 @ 0x8535000 to freelist 0
[   1.0000000] phys segment: 0xb800000 @ 0x8800000
[   1.0000000] adding 0xb800000 @ 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 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 8.99.19 (GENERIC32_IP2x) #0: Sun Jun 17 00:18:26 UTC 2018
[   1.0000000] 	naruaki@:/home/naruaki/obj.sgimips/sys/arch/sgimips/compile/GENERIC32_IP2x
[   1.0000000] total memory = 192 MB
[   1.0000000] (768 KB reserved for ARCS)
[   1.0000000 avail memory = 182 MB
[   1.0000000] WARNING: module error: sequencer: can't find builtin dependency `midi'
[   1.0000000] mainbus0 (root): SGI-IP22 [SGI, 690a5ae7], 1 processor
[   1.0000000] cpu0 at mainbus0: MIPS R5000 CPU (0x2321) Rev. 2.1 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
[   4.9049587] boot device: sq0
[   4.9362993] root on sq0
....
[   4.9655608] nfs_boot: trying DHCP/BOOTP
[   8.1415459] nfs_boot: BOOTP next-server: 192.168.1.11
[   8.2017307] nfs_boot: my_name=iris
[   8.2424765] nfs_boot: my_addr=192.168.1.33
[   8.2916335] nfs_boot: my_mask=255.255.255.0
[   8.3418278] nfs_boot: gateway=0.0.0.0
[  26.3857440] nfs_boot: timeout...

>How-To-Repeat:

>Fix:
netbsd-INSTALL32_IP2x have to lose weight...

>Release-Note:

>Audit-Trail:
From: David Brownlee <abs@absd.org>
To: gnats-bugs@netbsd.org
Cc: port-sgimips-maintainer@netbsd.org, gnats-admin@netbsd.org, 
	netbsd-bugs@netbsd.org
Subject: Re: port-sgimips/53378: Unable to Load RAMDISK kernel newer than
 NetBSD 6.1.5 on Sgi Indy.
Date: Mon, 18 Jun 2018 18:27:53 +0100

 Is this a limitation in the boot PROM rather than a NetBSD bootloader
 (the "doesn't fit in a FreeMemory area" doesn't seem familiar from the
 NetBSD source tree)?

 A couple of (probably very obvious) thoughts to give more breathing
 room would be to compress the kernel and then prepend code to
 decompress and execute, or have a generic option for any kernel to be
 able to process dhcp options 66/67 to specify a TFTP server and
 filename from which to load the ramdisk...

 David

From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
To: gnats-bugs@NetBSD.org
Cc: nullnilaki@gmail.com, tsutsui@ceres.dti.ne.jp
Subject: Re: port-sgimips/53378: Unable to Load RAMDISK kernel newer than NetBSD
	 6.1.5 on Sgi Indy.
Date: Sat, 23 Jun 2018 18:21:22 +0900

 > >Description:
 > Unable to Load RAMDISK kernel newer than NetBSD 6.1.5 on Sgi Indy.
 > I guess that the RAMDISK kernel(netbsd-INSTALL32_IP2x.gz) is too large for Indy.
  :
 > netbsd-INSTALL32_IP2x have to lose weight...

 It looks correct.

 NetBSD/sgimips 6.1.5:
 GENERIC32_IP2x 4770894 bytes
 INSTALL32_IP2x 7188376 bytes

 NetBSD/sgimips 7.1.2:
 GENERIC32_IP2x 5380191 bytes
 INSTALL32_IP2x 7707672 bytes

 ~8MB seems likely (IIRC NetBSD/arc had the similar problem around 8MB).

 A shrinked INSTALL32_IP2x kernel (~7MB) is loaded via bootp on my Indy:

 ---
 Index: sys/arch/sgimips/conf/INSTALL32_IP2x
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/sgimips/conf/INSTALL32_IP2x,v
 retrieving revision 1.9
 diff -u -p -d -r1.9 INSTALL32_IP2x
 --- sys/arch/sgimips/conf/INSTALL32_IP2x	4 Feb 2012 22:27:26 -0000	1.9
 +++ sys/arch/sgimips/conf/INSTALL32_IP2x	23 Jun 2018 09:14:06 -0000
 @@ -5,7 +5,7 @@
  # Pull in standard `install' config
  include 	"arch/sgimips/conf/GENERIC32_IP2x"

 -makeoptions	COPTS="-Os"
 +makeoptions	COPTS="-Os -mmemcpy"

  # Enable the hooks used for initializing the root memory-disk.
  options         MEMORY_DISK_HOOKS
 @@ -13,3 +13,60 @@ options         MEMORY_DISK_IS_ROOT     
  options         MEMORY_DISK_SERVER=0    # no userspace memory disk support
  options         MEMORY_DISK_ROOT_SIZE=6400 # size of memory disk in blocks (3200k)
  options         MEMORY_DISK_RBFLAGS=RB_SINGLE   # boot in single-user mode
 +
 +# shrink kernel since ARC BIOS seems to have 8MB limit
 +options 	FFS_NO_SNAPSHOT
 +
 +no options 	KTRACE
 +no options 	SYSVMSG
 +no options 	SYSVSEM
 +no options 	SYSVSHM
 +no options 	SYSCTL_INCLUDE_DESCR
 +no options 	COMPAT_15
 +no options 	COMPAT_16
 +no options 	COMPAT_20
 +no options 	COMPAT_30
 +no options 	COMPAT_40
 +no options 	COMPAT_LINUX
 +
 +no file-system	EXT2FS
 +no file-system	LFS
 +no file-system	NTFS
 +no file-system	FDESC
 +no file-system	KERNFS
 +no file-system	NULLFS
 +no file-system	OVERLAY
 +no file-system	PUFFS
 +no file-system	PROCFS
 +no file-system	UMAPFS
 +no file-system  UNION
 +no file-system  CODA
 +no file-system  TMPFS
 +
 +no options      QUOTA
 +no options      QUOTA2
 +no options      NFSSERVER
 +
 +no options      NETATALK
 +no options      PPP_FILTER
 +
 +no options      MIIVERBOSE
 +no options      SCSIVERBOSE
 +
 +no ch* at scsibus?
 +no ss* at scsibus?
 +no ses* at scsibus?
 +no uk* at scsibus?
 +
 +no ppbus*
 +no lpt*
 +
 +no pseudo-device ccd
 +no pseudo-device fss
 +no pseudo-device ipfilter
 +no pseudo-device bridge
 +no pseudo-device accf_data
 +no pseudo-device accf_http
 +no pseudo-device sequencer
 +no pseudo-device putter
 +no pseudo-device vcoda

 ---

 (Ah, we should not disable KERNFS which is used by
  distrib/sgimips/ramdisk/dot.profile? or /sbin/dmesg is enough?)

 ---

 System Maintenance Menu

 1) Start System
 2) Install System Software
 3) Run Diagnostics
 4) Recover System
 5) Enter Command Monitor

 Option? 5
 Command Monitor.  Type "exit" to return to the menu.
 >> bootp():
 Setting $netaddr to 192.168.20.39 (from server mirage)
 Obtaining  from server mirage
 Setting $netaddr to 192.168.20.39 (from server mirage)
 Obtaining  from server mirage
 phys segment: 0x5e000 @ 0x8002000
 adding 0x5e000 @ 0x8002000 to freelist 0
 phys segment: 0x607000 @ 0x8060000
 adding 0x8000 @ 0x8060000 to freelist 0
 skipping 0x5ff000 @ 0x8068000 (kernel)
 phys segment: 0xd9000 @ 0x8667000
 adding 0xd9000 @ 0x8667000 to freelist 0
 phys segment: 0xb800000 @ 0x8800000
 adding 0xb800000 @ 0x8800000 to freelist 0
 pmap_steal_memory: seg 0: 0x8002 0x8002 0x8060 0x8060
 pmap_steal_memory: seg 0: 0x8031 0x8031 0x8060 0x8060
 pmap_steal_memory: seg 0: 0x8033 0x8033 0x8060 0x8060
 pmap_steal_memory: seg 0: too small for 908 pages
 pmap_steal_memory: seg 1: 0x8060 0x8060 0x8068 0x8068
 pmap_steal_memory: seg 1: too small for 908 pages
 pmap_steal_memory: seg 2: 0x8667 0x8667 0x8740 0x8740
 pmap_steal_memory: seg 2: too small for 908 pages
 pmap_steal_memory: seg 3: 0x8800 0x8800 0x13ffe 0x13ffe
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
     2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 7.1_STABLE (INSTALL32_IP2x) #0: Sat Jun 23 18:03:05 JST 2018
 	tsutsui@mirage:/r/work/netbsd-7/src/sys/arch/sgimips/compile/INSTALL32_IP2x
 total memory = 192 MB
 (768 KB reserved for ARCS)
 avail memory = 181 MB
 kern.module.path=/stand/sgimips/7.1/modules
 mainbus0 (root): SGI-IP22 [SGI, 6909a9b2], 1 processor
 cpu0 at mainbus0: MIPS R5000 CPU (0x2310) Rev. 1.0 with built-in FPU Rev. 1.0
 cpu0: 48 TLB entries, 16MB max page size
 cpu0: 32KB/32B 2-way set-associative L1 instruction cache
 cpu0: 32KB/32B 2-way set-associative write-back L1 data cache
 cpu0: 512KB/32B direct-mapped write-through L2 data cache
 int0 at mainbus0 addr 0x1fbd9880
 int0: bus 75MHz, CPU 150MHz
 imc0 at mainbus0 addr 0x1fa00000: revision 3
 gio0 at imc0
 newport0 at gio0: SGI NG1 (board revision 1, cmap revision 5, xmap revision 5, vc2 revision 0), depth 24
 wsdisplay0 at newport0 kbdmux 1
 hpc0 at gio0: SGI HPC3 (onboard)
 zsc0 at hpc0 offset 0x59830
 zstty0 at zsc0 channel 1 (console i/o)
 zstty1 at zsc0 channel 0
 pckbc0 at hpc0 offset 0x59840
 sq0 at hpc0 offset 0x54000: SGI Seeq 80c03
 sq0: Ethernet address 08:00:69:09:a9:b2
 wdsc0 at hpc0 offset 0x44000: WD33C93B (20.0 MHz clock, BURST DMA, SCSI ID 0)
 wdsc0: microcode revision 0x0d, Fast SCSI
 scsibus0 at wdsc0: 8 targets, 8 luns per target
 haltwo0 at hpc0 offset 0x58000: HAL2 revision 4.1.0
 audio0 at haltwo0: half duplex, playback, capture
 pi1ppc0 at hpc0 offset 0x59800
 pi1ppc0: capabilities=0x8<PS2>
 pi1ppc0: child devices not configured
 panel0 at hpc0 offset 0x59850
 dsclock0 at mainbus0 addr 0x1fbe0000
 ioc0 at mainbus0 addr 0x1fbd9800: rev 0, machine Indy (Guinness), board rev 0
 scsibus0: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 1 lun 0: <IBM, DCAS-32160, S65A> disk fixed
 sd0: 2063 MB, 8188 cyl, 3 head, 172 sec, 512 bytes/sect x 4226725 sectors
 sd0: sync (100.00ns offset 12), 8-bit (10.000MB/s) transfers, tagged queueing
 boot device: sq0
 root on md0a dumps on md0b
 root file system type: ffs
 warning: no /dev/console
 pid 1(init): ABI set to O32 (e_flags=0x1007)
 Created mfs /dev (249856 byte, 416 inodes)
 tset: not found
 erase ^?, werase ^W, kill ^U, intr ^C

 mount: mount_kernfs not found for /kern

  NetBSD/sgimips 7.1_STABLE

  This menu-driven tool is designed to help you install NetBSD to a hard disk,
  or upgrade an existing NetBSD system, with a minimum of work.
  In the following menus type the reference letter (a, b, c, ...) to select an
  item, or type CTRL+N/CTRL+P to select the next/previous item.
  The arrow keys and Page-up/Page-down may also work.

  :

 ---
 Izumi Tsutsui

Responsible-Changed-From-To: port-sgimips-maintainer->tsutsui
Responsible-Changed-By: tsutsui@NetBSD.org
Responsible-Changed-When: Sun, 02 Sep 2018 08:38:43 +0000
Responsible-Changed-Why:
I'll handle this.


State-Changed-From-To: open->analyzed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sun, 02 Sep 2018 08:38:43 +0000
State-Changed-Why:
Also confirmed on 8.0.


From: "Izumi Tsutsui" <tsutsui@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53378 CVS commit: src/sys/arch/sgimips/conf
Date: Sun, 2 Sep 2018 08:51:54 +0000

 Module Name:	src
 Committed By:	tsutsui
 Date:		Sun Sep  2 08:51:54 UTC 2018

 Modified Files:
 	src/sys/arch/sgimips/conf: INSTALL32_IP2x

 Log Message:
 Disable misc options to shrink an INSTALL kernel for IP2x.

 The ARC BIOS on Indy seems to have ~8MB limit.
 Fixes PR port-sgimips/53378 from Naruaki Etomi.

 Should be pulled up to netbsd-7 and netbsd-8.


 To generate a diff of this commit:
 cvs rdiff -u -r1.9 -r1.10 src/sys/arch/sgimips/conf/INSTALL32_IP2x

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: analyzed->needs-pullups
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sun, 02 Sep 2018 09:23:59 +0000
State-Changed-Why:


State-Changed-From-To: needs-pullups->pending-pullups
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Sun, 09 Sep 2018 04:50:46 +0000
State-Changed-Why:
[pullup-8 #1017] [pullup-7 #1637]


From: "Martin Husemann" <martin@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/53378 CVS commit: [netbsd-7] src
Date: Tue, 30 Oct 2018 19:02:51 +0000

 Module Name:	src
 Committed By:	martin
 Date:		Tue Oct 30 19:02:51 UTC 2018

 Modified Files:
 	src/distrib/sgimips/instkernel [netbsd-7]: Makefile
 	src/sys/arch/sgimips/conf [netbsd-7]: INSTALL32_IP2x
 	src/sys/arch/sgimips/stand/boot [netbsd-7]: Makefile

 Log Message:
 Pull up following revision(s) (requested by tsutsui in ticket #1637):

 	sys/arch/sgimips/conf/INSTALL32_IP2x: revision 1.10
 	sys/arch/sgimips/stand/boot/Makefile: revision 1.20
 	distrib/sgimips/instkernel/Makefile: revision 1.13

 Disable misc options to shrink an INSTALL kernel for IP2x.

 The ARC BIOS on Indy seems to have ~8MB limit.

 Fixes PR port-sgimips/53378 from Naruaki Etomi.
 Should be pulled up to netbsd-7 and netbsd-8.

  -

 Use elf2ecoff(1) rather than objcopy(1) to generat ecoff for old machines.
 objcopy(1) was used instead of elf2ecoff(1) since Makefile rev 1.9:

  http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/sgimips/stand/boot/Makefile#rev1.9

 but it looks ELF binaries generated by recent binutils are too complicated
 to convert them to ecoff for old machines by objcopy(1).

 Reported by Naruaki Etomi in PR port-sgimips/53519.

 Should be pulled up to at least netbsd-8.

  -

 Use elf2ecoff(1) rather than objcopy(1) to generate ecoff kernel.

 Reported by Naruaki Etomi in PR port-sgimips/53518.
 Should be pulled up to netbsd-7 and netbsd-8.


 To generate a diff of this commit:
 cvs rdiff -u -r1.11 -r1.11.4.1 src/distrib/sgimips/instkernel/Makefile
 cvs rdiff -u -r1.9 -r1.9.22.1 src/sys/arch/sgimips/conf/INSTALL32_IP2x
 cvs rdiff -u -r1.19 -r1.19.30.1 src/sys/arch/sgimips/stand/boot/Makefile

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: pending-pullups->closed
State-Changed-By: tsutsui@NetBSD.org
State-Changed-When: Fri, 16 Nov 2018 15:30:01 +0000
State-Changed-Why:
Pullups complete.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.