Subject: port-sun3/32580: sun3 miniroot kernel panics with blist_meta_fill: allocation too large
To: None <port-sun3-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <nick.hudson@dsl.pipex.com>
List: netbsd-bugs
Date: 01/20/2006 11:00:00
>Number:         32580
>Category:       port-sun3
>Synopsis:       sun3 miniroot kernel panics with blist_meta_fill: allocation too large
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    port-sun3-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 20 11:00:00 +0000 2006
>Originator:     Nick Hudson
>Release:        NetBSD current as of 2006-01-19 10:32 GMT
>Organization:
n/a
>Environment:
NetBSD 3.99.15 (RAMDISK) #1: Fri Jan 20 10:22:53 GMT 2006
        nick@arthur:/usr/obj/sun3/usr/src-current/sys/arch/sun3/compile/RAMDISK
Architecture: m68k
Machine: sun3
>Description:
	The miniroot RAMDISK kernel panics when trying to remounting root rw:

	>b sd(,,1) -s
	Boot: sd(0,0,1) -s
	>> NetBSD/sun3 ufsboot [1.12]
	ufsboot: trying netbsd
	open netbsd: No such file or directory
	ufsboot: trying netbsd.old
	open netbsd.old: No such file or directory
	ufsboot: trying netbsd.sun3
	994184+68364 [100400+87965]=0x131990
	starting program at 0x4000
	console is ttya
	Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
    	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 3.99.15 (INSTALL) #1: Fri Jan 20 10:21:05 GMT 2006
        	nick@arthur:/usr/obj/sun3/usr/src-current/sys/arch/sun3/compile/INSTALL
	Model: sun3 160
	fpu: mc68881
	total memory = 8192 KB
	avail memory = 6936 KB
	mainbus0 (root)
	obio0 at mainbus0
	zsc0 at obio0 addr 0x0 ipl 6: (softpri 3)
	kbd0 at zsc0 channel 0: baud rate 1200
	zsc0:  channel 1 not configured
	zsc1 at obio0 addr 0x20000 ipl 6: (softpri 3)
	zstty0 at zsc1 channel 0 (console i/o)
	zstty1 at zsc1 channel 1
	eeprom0 at obio0 addr 0x40000
	clock0 at obio0 addr 0x60000 ipl 5
	memerr0 at obio0 addr 0x80000 ipl 7: (ECC memory)
	intreg0 at obio0 addr 0xa0000
	vme0 at mainbus0: (A16/D16)
	vme1 at mainbus0: (A16/D32)
	vme2 at mainbus0: (A24/D16)
	si0 at vme2 addr 0x200000 ipl 2 vect 0x40: options=0xf
	scsibus0 at si0: 8 targets, 8 luns per target
	vme3 at mainbus0: (A24/D32)
	vme4 at mainbus0: (A32/D16)
	vme5 at mainbus0: (A32/D32)
	enabling interrupts
	scsibus0: waiting 2 seconds for devices to settle...
	sd0 at scsibus0 target 0 lun 0: <TME, DISK, 0000> disk fixed
	sd0: fabricating a geometry
	sd0: 1024 MB, 1024 cyl, 64 head, 32 sec, 512 bytes/sect x 2097152 sectors
	sd0: async, 8-bit transfers
	st0 at scsibus0 target 4 lun 0: <EMULEX, MT-02 QIC, 0000> tape removable
	st0: density code 5, 512-byte blocks, write-protected
	st0: async, 8-bit transfers
	boot device: sd0b
	root on sd0b dumps on sd0b
	sd0: fabricating a geometry
	sd0: fabricating a geometry
	root file system type: ffs
	Enter pathname of shell or RETURN for /bin/sh:
	intr ^C kill ^U erase ^? werase ^W newcrt
	To install NetBSD, enter the command:  install
	Otherwise, enter the command:  halt
	# install
	
	Welcome to the NetBSD/sun3 39915 installation program.
	
	This program is designed to help you put NetBSD on your disk,
	in a simple and rational way.  You'll be asked several questions,
	and it would probably be useful to have your disk's hardware
	manual, the installation notes, and a calculator handy.
	
	As with anything which modifies your disk's contents, this
	program can cause SIGNIFICANT data loss, and you are advised
	to make sure your data is backed up before beginning the
	installation process.
	
	Default answers are displayed in brackets after the questions.
	You can hit Control-C at any time to quit, but if you do so at a
	prompt, you may have to hit return.  Also, quitting in the middle of
	installation may leave your system in an inconsistent state.
	
	Proceed with installation? [n] y
	Cool!  Let's get to it...
	Remounting root read-write...
	panic: blist_meta_fill: allocation too large
	syncing disks... done

>How-To-Repeat:
	Try to install NetBSD/sun3 -current using tmesh using the miniroot.fs.
>Fix:
	No idea.