Subject: kern/32094: pmap_unwire: wiring for pmap 0xcb109be0 va 0xbfbee000 didn't change!
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <ryoh@jaist.ac.jp>
List: netbsd-bugs
Date: 11/17/2005 05:31:00
>Number:         32094
>Category:       kern
>Synopsis:       pmap_unwire: wiring for pmap 0xcb109be0 va 0xbfbee000 didn't change!
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 17 05:31:00 +0000 2005
>Originator:     Ryo HAYASAKA
>Release:        NetBSD 3.99.11
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 3.99.11 NetBSD 3.99.11 (BONNIE) #578: Wed Nov 16 16:50:36 JST 2005 ryoh@bonnie.jaist.ac.jp:/sys/arch/i386/compile/BONNIE i386
Architecture: i386
Machine: i386
newfs.c:
     $NetBSD: newfs.c,v 1.18 2005/08/22 09:19:19 yamt Exp $
>Description:
"newfs_lfs -A" always causes "pmap_unwire: wiring for pmap 0xcb109be0 va
0xbfbee000 didn't change!" kernel error message.

pread() at line 125 in sbin/newfs_lfs/newfs.c is the point to cause this.

# newfs_lfs -A /dev/rwd0e
Floating point exception (core dumped)

Without "-A" option, it is OK.

# newfs_lfs /dev/rwd0e
Creating a version 2 LFS with roll-forward ident 0xdcf9571e
8063.0MB in 8063 segments of size 1048576
super-block backups (for fsck -b #) at:
16, 1650688, 3301376, 4952064, 6602752, 8253440, 9904128, 11554816, 13205504,
14856192.

>How-To-Repeat:
# newfs_lfs -A special
	
>Fix:
n/a