NetBSD Problem Report #49136

From www@NetBSD.org  Thu Aug 21 15:54:24 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 24806AE65B
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 21 Aug 2014 15:54:24 +0000 (UTC)
Message-Id: <20140821155422.B7893AE7A6@mollari.NetBSD.org>
Date: Thu, 21 Aug 2014 15:54:22 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@consolidated.net
To: gnats-bugs@NetBSD.org
Subject: wedge support breaks ccd using traditional device-path component names
X-Send-Pr-Version: www-1.0

>Number:         49136
>Notify-List:    jdbaker@consolidated.net
>Category:       kern
>Synopsis:       wedge support breaks ccd using traditional device-path component names
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Aug 21 15:55:00 +0000 2014
>Last-Modified:  Tue Jan 29 06:31:39 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/i386-7.99.1 after 18-Aug-2014 06:32 UTC
>Organization:
>Environment:
NetBSD faye 7.99.1 NetBSD 7.99.1 (FAYE) #1: Wed Aug 20 23:01:47 CDT 2014  sysop@verthandi.technoskunk.fur:/d0/build/current/obj/i386/sys/arch/i386/compile/FAYE i386

>Description:
Following the enabling of MBR/disklabel wedge support, "ccd" devices
configured with traditional device-path component names fail:

#
# /etc/ccd.conf
# Configuration file for concatenated disk devices
#

# ccd           ileave  flags   component devices
ccd0            32      none    /dev/wd0p /dev/wd1p

and subsequent attempts to access (such as the boot-time fsck)
report "device not configured" and eventually an unexpected
inconsistency causing multiuser boot to be aborted.
>How-To-Repeat:
On a system with a "ccd" device configured using traditional device
paths similar to that shown above, boot a kernel that has MBR/disklabel
wedge support enabled.
>Fix:
At this time, changing the components to "/dev/dkN" (as found in
'dmesg' output) appears to be the only way to achieve working "ccd"
devices:

#
# /etc/ccd.conf
# Configuration file for concatenated disk devices
#

# ccd           ileave  flags   component devices
ccd0            32      none    /dev/dk6 /dev/dk7

Interestingly, once configured, partitions on the "ccd" device are not
then associated with any "/dev/dkN" wedge devices.

It would be nice to have the old device names continue to work, and for
'ccdconfig' to grow "NAME=..." support.

>Release-Note:

>Audit-Trail:

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.