NetBSD-Bugs archive

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

Re: port-sgimips/53378: Unable to Load RAMDISK kernel newer than NetBSD 6.1.5 on Sgi Indy.



The following reply was made to PR port-sgimips/53378; it has been noted by GNATS.

From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: nullnilaki%gmail.com@localhost, tsutsui%ceres.dti.ne.jp@localhost
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
 



Home | Main Index | Thread Index | Old Index