[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#335601: marked as done (compaq smart array controller support in yaird)



Your message dated Wed, 26 Oct 2005 02:17:44 -0700
with message-id <E1EUhPk-0004QF-00@spohr.debian.org>
and subject line Bug#335601: fixed in yaird 0.0.11-9
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 24 Oct 2005 21:55:40 +0000
>From konijn@banaan.xs4all.nl Mon Oct 24 14:55:40 2005
Return-path: <konijn@banaan.xs4all.nl>
Received: from smtp-vbr10.xs4all.nl [194.109.24.30] 
	by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
	id 1EUAI8-0002Oj-00; Mon, 24 Oct 2005 14:55:40 -0700
Received: from banaan.xs4all.nl (banaan.xs4all.nl [80.126.2.237])
	by smtp-vbr10.xs4all.nl (8.13.3/8.13.3) with ESMTP id j9OLtcNG043274
	for <submit@bugs.debian.org>; Mon, 24 Oct 2005 23:55:38 +0200 (CEST)
	(envelope-from konijn@banaan.xs4all.nl)
Received: (from konijn@localhost)
	by banaan.xs4all.nl (8.11.6/8.11.6) id j9OLtbe14108
	for submit@bugs.debian.org; Mon, 24 Oct 2005 23:55:37 +0200
Date: Mon, 24 Oct 2005 23:55:37 +0200
From: Erik van Konijnenburg <ekonijn@xs4all.nl>
To: submit@bugs.debian.org
Subject: compaq smart array controller support in yaird
Message-ID: <[🔎] 20051024235537.B12105@banaan.localdomain>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5.1i
X-Virus-Scanned: by XS4ALL Virus Scanner
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: yaird
Version: 0.0.11-6

Yaird 0.0.11 does not support the compaq smart array controller;
here's a patch for machines with the cciss driver,  a preview from 0.0.12.

This does not provide support for cpqarray; reports about those are welcome.

Beware: there's one report that the core patch in Plan.pm works; the
other bells and whistles here are untested so far.

--erik


diff -urN -x {arch} -x .arch-ids -x configure -x aclocal.m4 -x depcomp -x missing -x Makefile -x Makefile.in -x install-sh -x INSTALL p73/ChangeLog p74/ChangeLog
--- p73/ChangeLog	2005-10-24 23:51:03.000000000 +0200
+++ p74/ChangeLog	2005-10-24 23:50:57.000000000 +0200
@@ -2,6 +2,27 @@
 # arch-tag: automatic-ChangeLog--ekonijn@xs4all.nl--debian/yaird--devo--0.1
 #
 
+2005-10-22 15:03:19 GMT	Erik van Konijnenburg <ekonijn@xs4all.nl>	patch-74
+
+    Summary:
+      0.0.12 - preparing for ...
+    Revision:
+      yaird--devo--0.1--patch-74
+
+         * Add support for Compaq smartarray, SMART2 only,
+           no reports yet about Smart 5xxx, but should not be too complicated.
+           These drivers don't point to underlying hardware; no change
+           of doing generic detection, just look at name of block device,
+           then pick a hard-coded module
+         * add more quotes in config files.  This should be more robust
+           in the face of ! marks in smart-array device names.
+
+    modified files:
+     ChangeLog perl/KConfig.pm perl/Plan.pm
+     templates/Debian-initrd.cfg templates/Debian.cfg
+     templates/Fedora.cfg
+
+
 2005-10-13 20:44:53 GMT	Erik van Konijnenburg <ekonijn@xs4all.nl>	patch-73
 
     Summary:
diff -urN -x {arch} -x .arch-ids -x configure -x aclocal.m4 -x depcomp -x missing -x Makefile -x Makefile.in -x install-sh -x INSTALL p73/perl/KConfig.pm p74/perl/KConfig.pm
--- p73/perl/KConfig.pm	2005-10-24 23:51:03.000000000 +0200
+++ p74/perl/KConfig.pm	2005-10-24 23:50:57.000000000 +0200
@@ -192,6 +192,10 @@
 	'st' => 'CHR_DEV_ST',
 	'sr-mod' => 'BLK_DEV_SR',
 	'sg' => 'CHR_DEV_SG',
+
+	# Compaq Smart Array controllers
+	'cpqarray' => 'BLK_CPQ_DA',
+	'cciss' => 'BLK_CPQ_CISS_DA',
 };
 
 
diff -urN -x {arch} -x .arch-ids -x configure -x aclocal.m4 -x depcomp -x missing -x Makefile -x Makefile.in -x install-sh -x INSTALL p73/perl/Plan.pm p74/perl/Plan.pm
--- p73/perl/Plan.pm	2005-10-24 23:51:03.000000000 +0200
+++ p74/perl/Plan.pm	2005-10-24 23:50:57.000000000 +0200
@@ -426,6 +426,22 @@
 		return 1;
 	}
 
+	#
+	# compaq smart controllers in 2.6.13 also lack the hardware link.
+	# plan B: assume that a cciss is a cciss.
+	# complication: there's a discrepancy between /sys and /dev:
+	# /sys/block/cciss!c0d0 and /dev/cciss/c0d0, but this turns out
+	# to have no further consequences.
+	#
+	# note that there also exist /dev/ida/c0d0 devices with cpqarray
+	# underlying devices, but no reports about those so far.
+	#
+	if ($name =~ /^cciss!c\d+d\d+$/) {
+		ModProbe::addModules ($actions, [ "cciss" ]);
+		$actions->add("mkbdev", $device->yspecial, sysname => $name);
+		return 1;
+	}
+
 	return 0;
 }
 
diff -urN -x {arch} -x .arch-ids -x configure -x aclocal.m4 -x depcomp -x missing -x Makefile -x Makefile.in -x install-sh -x INSTALL p73/templates/Debian.cfg p74/templates/Debian.cfg
--- p73/templates/Debian.cfg	2005-10-24 23:51:03.000000000 +0200
+++ p74/templates/Debian.cfg	2005-10-24 23:50:57.000000000 +0200
@@ -217,8 +217,7 @@
 		# and already is suitably escaped.
 		SCRIPT "/init"
 		BEGIN
-			!/sbin/insmod '<TMPL_VAR NAME=target>' \
-			!	<TMPL_VAR NAME=optionList>
+			!/sbin/insmod '<TMPL_VAR NAME=target>' <TMPL_VAR NAME=optionList>
 		END SCRIPT
 	END TEMPLATE
 
@@ -360,8 +359,8 @@
 			!	<TMPL_IF NAME=isRoot>$ro</TMPL_IF> \
 			!	-t <TMPL_VAR NAME=fsType> \
 			!	<TMPL_VAR NAME=options> \
-			!	<TMPL_VAR NAME=device> \
-			!	<TMPL_VAR NAME=target>
+			!	'<TMPL_VAR NAME=device>' \
+			!	'<TMPL_VAR NAME=target>'
 		END SCRIPT
 	END TEMPLATE
 
diff -urN -x {arch} -x .arch-ids -x configure -x aclocal.m4 -x depcomp -x missing -x Makefile -x Makefile.in -x install-sh -x INSTALL p73/templates/Debian-initrd.cfg p74/templates/Debian-initrd.cfg
--- p73/templates/Debian-initrd.cfg	2005-10-24 23:51:03.000000000 +0200
+++ p74/templates/Debian-initrd.cfg	2005-10-24 23:50:57.000000000 +0200
@@ -382,8 +382,8 @@
 			!	<TMPL_IF NAME=isRoot>$ro</TMPL_IF> \
 			!	-t <TMPL_VAR NAME=fsType> \
 			!	<TMPL_VAR NAME=options> \
-			!	<TMPL_VAR NAME=device> \
-			!	<TMPL_VAR NAME=target>
+			!	'<TMPL_VAR NAME=device>' \
+			!	'<TMPL_VAR NAME=target>'
 		END SCRIPT
 	END TEMPLATE
 
diff -urN -x {arch} -x .arch-ids -x configure -x aclocal.m4 -x depcomp -x missing -x Makefile -x Makefile.in -x install-sh -x INSTALL p73/templates/Fedora.cfg p74/templates/Fedora.cfg
--- p73/templates/Fedora.cfg	2005-10-24 23:51:03.000000000 +0200
+++ p74/templates/Fedora.cfg	2005-10-24 23:50:57.000000000 +0200
@@ -232,8 +232,7 @@
 		# and already is suitably escaped.
 		SCRIPT "/init"
 		BEGIN
-			!/sbin/insmod '<TMPL_VAR NAME=target>' \
-			!	<TMPL_VAR NAME=optionList>
+			!/sbin/insmod '<TMPL_VAR NAME=target>' <TMPL_VAR NAME=optionList>
 		END SCRIPT
 	END TEMPLATE
 
@@ -380,8 +379,8 @@
 			!	<TMPL_IF NAME=isRoot>$ro</TMPL_IF> \
 			!	-t <TMPL_VAR NAME=fsType> \
 			!	<TMPL_VAR NAME=options> \
-			!	<TMPL_VAR NAME=device> \
-			!	<TMPL_VAR NAME=target>
+			!	'<TMPL_VAR NAME=device>' \
+			!	'<TMPL_VAR NAME=target>'
 		END SCRIPT
 	END TEMPLATE
 

---------------------------------------
Received: (at 335601-close) by bugs.debian.org; 26 Oct 2005 09:23:29 +0000
>From katie@spohr.debian.org Wed Oct 26 02:23:29 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EUhPk-0004QF-00; Wed, 26 Oct 2005 02:17:44 -0700
From: Jonas Smedegaard <dr@jones.dk>
To: 335601-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#335601: fixed in yaird 0.0.11-9
Message-Id: <E1EUhPk-0004QF-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Wed, 26 Oct 2005 02:17:44 -0700
Delivered-To: 335601-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: yaird
Source-Version: 0.0.11-9

We believe that the bug you reported is fixed in the latest version of
yaird, which is due to be installed in the Debian FTP archive:

yaird_0.0.11-9.diff.gz
  to pool/main/y/yaird/yaird_0.0.11-9.diff.gz
yaird_0.0.11-9.dsc
  to pool/main/y/yaird/yaird_0.0.11-9.dsc
yaird_0.0.11-9_powerpc.deb
  to pool/main/y/yaird/yaird_0.0.11-9_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 335601@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Jonas Smedegaard <dr@jones.dk> (supplier of updated yaird package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 26 Oct 2005 10:35:39 +0200
Source: yaird
Binary: yaird
Architecture: source powerpc
Version: 0.0.11-9
Distribution: unstable
Urgency: low
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Changed-By: Jonas Smedegaard <dr@jones.dk>
Description: 
 yaird      - Yet Another mkInitRD
Closes: 335264 335601
Changes: 
 yaird (0.0.11-9) unstable; urgency=low
 .
   * Really apply patch to ignore Apple IDE bus. Really closes:
     bug#335264 (thanks to Sven Luther <sven.luther@wanadoo.fr> and
     Michel Dänzer <daenzer@debian.org>).
   * Apply patch to support Compaq SMART2 Smart Arrays (except the
     changelog entry that does not match). Closes: bug#335601 (thanks to
     Erik van Konijnenburg <ekonijn@xs4all.nl>).
   * Update long description:
     + Still not supported, but dmraid _is_ in debian now.
     + Mention Compaq Smart Arrays as in need of testing.
Files: 
 9676f2d401f74a23df563c723fa7d802 749 utils optional yaird_0.0.11-9.dsc
 4cc788bf37863c9520d893cf2343e658 12149 utils optional yaird_0.0.11-9.diff.gz
 65cfccf3c0bfa478f40f7f60ea382a2d 168940 utils optional yaird_0.0.11-9_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFDX0cLn7DbMsAkQLgRArtCAKCVzLHegg8TmvPJxDuAJVp7V1YxtQCfbNr4
sD1GQMYPU+/cdAcFow38MN4=
=suQN
-----END PGP SIGNATURE-----



Reply to: