Subject: Re: kern/34696: NetBSD-current (Oct 1, 2006) marks RAID1 parity as dirty and rebuilds it after reboot
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-bugs
Date: 10/02/2006 18:05:04
The following reply was made to PR kern/34696; it has been noted by GNATS.

From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: kern/34696: NetBSD-current (Oct 1, 2006) marks RAID1 parity as dirty and rebuilds it after reboot 
Date: Mon, 02 Oct 2006 12:01:33 -0600

 adam@netbsd.org writes:
 > >Number:         34696
 > >Category:       kern
 > >Synopsis:       NetBSD-current (Oct 1, 2006) marks RAID1 parity as dirty and
 >  rebuilds it after reboot
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    kern-bug-people
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Mon Oct 02 17:00:00 +0000 2006
 > >Originator:     Adam Ciarci?ski
 > >Release:        NetBSD-current
 > >Organization:
 > >Environment:
 > NetBSD ultra 4.99.3 NetBSD 4.99.3 (ULTRA) #0: Sun Oct  1 16:58:23 CEST 2006  
 > roo
 > t@mars:/usr/src/objdir.sparc64/sys/arch/sparc64/compile/ULTRA sparc64
 > >Description:
 > NetBSD-current (Oct 1, 2006) marks RAID1 (mirror) parity as dirty and rebuild
 > s it after reboot.
 > I am using it on sparc64 (Sun Netra t1 105) with 2 SCSI disks in RAID1.
 > 
 > There is no swap, and I have set no_swap=YES in /etc/rc.conf. Changing swapof
 > f to YES and NO does not help.
 > 
 > RAID is autoconfigured root partition. The system boots from the RAID.
 > 
 > RAID used to work correctly on NetBSD-current 3.99.x.
 > >How-To-Repeat:
 > Make RAID1 set, reboot and observe: raidctl -S raid0
 > >Fix:
 
 I can't replicate this on NetBSD-current i386.  
 
 What command are you using to reboot?  Are there any indications in 
 the shutdown messages about being unable to unmount / ?  I.e. does it 
 look like this:
 
 syncing disks... 3 3 3 done
 unmounting file systems...
 unmounting / (/dev/raid0a)... done
 rebooting...
 
 or something else?
 
 Thanks.
 
 Later...
 
 Greg Oster