[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, 02 Nov 2005 20:02:09 -0800
with message-id <E1EXWIj-00009I-00@spohr.debian.org>
and subject line Bug#335601: fixed in yaird 0.0.11-11
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; 3 Nov 2005 04:06:30 +0000
>From katie@spohr.debian.org Wed Nov 02 20:06:30 2005
Return-path: <katie@spohr.debian.org>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
	id 1EXWIj-00009I-00; Wed, 02 Nov 2005 20:02:09 -0800
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-11
Message-Id: <E1EXWIj-00009I-00@spohr.debian.org>
Sender: Archive Administrator <katie@spohr.debian.org>
Date: Wed, 02 Nov 2005 20:02:09 -0800
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-11

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-11.diff.gz
  to pool/main/y/yaird/yaird_0.0.11-11.diff.gz
yaird_0.0.11-11.dsc
  to pool/main/y/yaird/yaird_0.0.11-11.dsc
yaird_0.0.11-11_powerpc.deb
  to pool/main/y/yaird/yaird_0.0.11-11_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,  2 Nov 2005 05:09:45 +0100
Source: yaird
Binary: yaird
Architecture: source powerpc
Version: 0.0.11-11
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: 333003 335154 335601 336450 336509 336566 336567 336585 336612 336636 336988
Changes: 
 yaird (0.0.11-11) unstable; urgency=low
 .
   * rename patches to be based on origin/use:
     + 0xxx: Grabbed from upstream development.
     + 1xxx: Possibly relevant for upstream adoption.
     + 2xxx: Only relevant for official Debian release.
     Add debian/patches/README documenting this new naming scheme.
   * Extend patch 1075 (ignore Apple IDE busses) to also ignore "mesh".
     Closes: bug#336988 (thanks to Beiad Dalton <andy@wolfsinger.com>).
   * Add patch 0078 to ignore optional fields in /etc/fstab. Closes:
     bug#336612, #336636, #336585, #336509 (thanks to A Costa
     <agcosta@gis.net> and others reporting the same issue).
   * Add patch 0080 to treat 4th field of /etc/fstab as optional too, and
     handle comma-separated fstypes like "ext3,ext2" and magic fstype
     "auto". Closes: bug#336566, #336567 (thanks to Alastair McKinstry
     <mckinstry@debian.org> and Srdjan <srdjan@paradise.net.nz>, and to
     Mattia Dongili <malattia@linux.it> for insisting about 4th field..).
   * Add patch 0084 to support compaq IDA arrays. Yet again closes:
     bug#335601 (thanks to Erich Schubert <erich@debian.org>).
   * Add patch 0085 fixing a bug in TREE command.
   * Add patches 2001 and 0086 to use getOutput and optGetOutput in
     various other functions.
   * Add patches 0090, 0091 and 0093 to add tryGetOutput function and
     OPTIONAL MODULE command, and use those to try loading fbcon module
     in Default.cfg. Closes: bug#333003, #336450, #335154 (thanks to
     Richard Burton <richardaburton@hotmail.com> and all others reporting
     and testing).
   * Add patch 0094 improving nfsroot-related comments in config file.
Files: 
 971370b260a535aac1485461239b909c 751 utils optional yaird_0.0.11-11.dsc
 a40fb44712779063a552bdaf36073729 22554 utils optional yaird_0.0.11-11.diff.gz
 cf752b4e30eab36cd716a12445e4cad7 171918 utils optional yaird_0.0.11-11_powerpc.deb

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

iD8DBQFDaYrVn7DbMsAkQLgRAmocAJ9mYXz+8RGn7r+T6Pjmdm4V+yaUOQCgpDZ4
+79t1azPOy2pFB99Y1PY3L4=
=3Lj8
-----END PGP SIGNATURE-----



Reply to: