NetBSD Problem Report #40427

From tn@catvmics.ne.jp  Sun Jan 18 09:42:02 2009
Return-Path: <tn@catvmics.ne.jp>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 90CD563B8BA
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 18 Jan 2009 09:42:02 +0000 (UTC)
Message-Id: <20090118075519.6B8BF13877@lethe.iv.dyndns.org>
Date: Sun, 18 Jan 2009 16:55:19 +0900 (JST)
From: nakayama@netbsd.org
Reply-To: nakayama@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: Cannot configure RAIDframe device with pre-5.99.6 raidctl
X-Send-Pr-Version: 3.95

>Number:         40427
>Category:       kern
>Synopsis:       Cannot configure RAIDframe device with pre-5.99.6 raidctl
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 18 09:45:00 +0000 2009
>Closed-Date:    Tue May 01 04:43:52 +0000 2018
>Last-Modified:  Tue May 01 04:43:52 +0000 2018
>Originator:     Takeshi Nakayama
>Release:        NetBSD 5.99.7 20090118
>Organization:
Private
>Environment:
System: NetBSD lethe 5.99.7 NetBSD 5.99.7 (LETHE) #7: Sat Jan 17 16:50:48 JST 2009 takeshi@lethe:/sys/arch/i386/compile/LETHE i386
Architecture: i386
Machine: i386
>Description:
	Pre-5.99.6 raidctl binary cannot configure the RAIDframe device.

>How-To-Repeat:
	# raidctl -c /etc/raid0.conf raid0
	dk_lookup on device:  failed!
	RAIDFRAME: failed rf_ConfigureDisks with 2
	raidctl: ioctl (RAIDFRAME_CONFIGURE) failed: No such file or directory

>Fix:
	Provide compat ioctl, since struct RF_Config_s in raidframevar.h
	contains dev_t which has changed to 64-bit after christos-time_t merge.

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: nakayama@NetBSD.org
State-Changed-When: Tue, 01 May 2018 04:43:52 +0000
State-Changed-Why:
It was fixed by christos shortly after being reported.
rev 1.1 of src/sys/dev/raidframe/rf_compat50.c


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.