NetBSD Problem Report #32580

From  Fri Jan 20 10:59:17 2006
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id 4E3B663B121
	for <>; Fri, 20 Jan 2006 10:59:16 +0000 (UTC)
Message-Id: <20060120105914.6C68DA5B6@arthur.invalid>
Date: Fri, 20 Jan 2006 10:59:14 +0000 (GMT)
Subject: sun3 miniroot kernel panics with blist_meta_fill: allocation too large
X-Send-Pr-Version: 3.95

>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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 20 11:00:00 +0000 2006
>Closed-Date:    Fri Jan 20 15:17:23 +0000 2006
>Last-Modified:  Fri Jan 20 15:17:23 +0000 2006
>Originator:     Nick Hudson
>Release:        NetBSD current as of 2006-01-19 10:32 GMT
NetBSD 3.99.15 (RAMDISK) #1: Fri Jan 20 10:22:53 GMT 2006
Architecture: m68k
Machine: sun3
	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
	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

	Try to install NetBSD/sun3 -current using tmesh using the miniroot.fs.
	No idea.


From: YAMAMOTO Takashi <>
Subject: PR/32580 CVS commit: src/sys/kern
Date: Fri, 20 Jan 2006 14:19:40 +0000 (UTC)

 Module Name:	src
 Committed By:	yamt
 Date:		Fri Jan 20 14:19:40 UTC 2006

 Modified Files:
 	src/sys/kern: subr_blist.c

 Log Message:
 blst_meta_fill: fix an assertion.  PR/32580 from Nick Hudson.

 To generate a diff of this commit:
 cvs rdiff -r1.8 -r1.9 src/sys/kern/subr_blist.c

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

State-Changed-From-To: open->feedback
State-Changed-When: Fri, 20 Jan 2006 14:21:33 +0000
please try subr_blist.c 1.9.

State-Changed-From-To: feedback->closed
State-Changed-When: Fri, 20 Jan 2006 15:17:23 +0000
yamt fixed it.


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.