Subject: kern/14948: raidframe "raidctl -u" and raid-autoconfig misbehavior
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wgstuken@nagler-company.com>
List: netbsd-bugs
Date: 12/14/2001 13:11:32
>Number:         14948
>Category:       kern
>Synopsis:       raidframe "raidctl -u" and raid-autoconfig misbehavior
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 14 02:12:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Wolfgang Stukenbrock
>Release:        netbsd 1.5.2 release
>Organization:
Dr. Nagler & Company GmbH
>Environment:
	
System: NetBSD test-s3 1.5.2 NetBSD 1.5.2 (NSW-Firewall) #2: Thu Nov 29 15:07:53 CET 2001 wgstuken@test-s4:/export/netbsd-1.5.2/usr/src/sys/arch/i386/compile/NSW-Firewall i386


>Description:
	After unconfiguring a raid device with raidctl -u the raiddevice is removed from the kernel, but the config data
	in the disk partition is not cleared. So the raiddevice is configured again after reboot.
>How-To-Repeat:
	Setup a raiddevice and a kernel with autoconfiguration, enable autoconfiguration for the raiddevice,
	unconfigure the raiddevice with raidctl -u and reboot the system.
>Fix:
	Reset autoconfig information in the RAID partitions when unconfiguring a raiddevice.
>Release-Note:
>Audit-Trail:
>Unformatted: