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

Bug#134233: marked as done (no support for cciss devices)



Your message dated Wed, 6 Mar 2002 08:26:53 -0800
with message-id <20020306162653.GB1099@catalonia>
and subject line fixed
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; 16 Feb 2002 13:51:46 +0000
>From dlipinski@gmx.de Sat Feb 16 07:51:46 2002
Return-path: <dlipinski@gmx.de>
Received: from mail.gmx.net [213.165.64.20] 
	by master.debian.org with smtp (Exim 3.12 1 (Debian))
	id 16c5FZ-0006in-00; Sat, 16 Feb 2002 07:51:37 -0600
Received: (qmail 27081 invoked by uid 0); 16 Feb 2002 13:51:06 -0000
Received: from p508707f6.dip0.t-ipconnect.de (HELO localhost.localdomain) (80.135.7.246)
  by mail.gmx.net (mp013-rz3) with SMTP; 16 Feb 2002 13:51:06 -0000
Subject: no support for cciss devices
From: Dirk Lipinski <dlipinski@gmx.de>
To: "submit@bugs.debian.org" <submit@bugs.debian.org>
Content-Type: multipart/mixed; boundary="=-4oMbZYF4Bxe21kJGYGAJ"
X-Mailer: Evolution/1.0.2 
Date: 16 Feb 2002 14:50:54 +0100
Message-Id: <1013867454.21662.33.camel@debian>
Mime-Version: 1.0
Delivered-To: submit@bugs.debian.org


--=-4oMbZYF4Bxe21kJGYGAJ
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Package: boot-floppies
Version: 3.0.19
Severity: wishlist 
Tags: patch 

This patch adds support for cciss devices (on Compaq Proliant servers).
See also at patch in bugreport #132864. This patch must be applied and
debootstrap must be rebuild.

--=-4oMbZYF4Bxe21kJGYGAJ
Content-Disposition: attachment; filename=boot-floppies_3.0.19.diff
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=ISO-8859-15

--- boot-floppies-3.0.19.orig/utilities/dbootstrap/bootconfig.c
+++ boot-floppies-3.0.19/utilities/dbootstrap/bootconfig.c
@@ -428,6 +428,7 @@
 #define DEV_SDA      "/dev/sda"
 #define DEV_RD_C0D0  "/dev/rd/c0d0"
 #define DEV_IDA_C0D0 "/dev/ida/c0d0"
+#define DEV_CCISS_C0D0 "/dev/cciss/c0d0"
=20
 /* part_disk_name: return name of partition's disk device, if available */
 char *part_disk_name(struct fdisk_partition *part)
@@ -441,6 +442,7 @@
   char *dname =3D part_disk_name(part);
   return dname && (strcmp(dname, DEV_SDA)      =3D=3D 0 ||
 		   strcmp(dname, DEV_RD_C0D0)  =3D=3D 0 ||
++                  strcmp(dname, DEV_CCISS_C0D0)  =3D=3D 0 ||
 		   strcmp(dname, DEV_IDA_C0D0) =3D=3D 0);
 }
=20
@@ -499,7 +501,12 @@
 {
   return strncmp(name, DEV_IDA_C0D0, strlen(DEV_IDA_C0D0) - 3) =3D=3D 0;
 }
-
+/* is_scsicciss: returns true if partition is on a SCSI disk (/dev/cciss/c=
*) */
+int is_scsicciss(const char *name)
+{
+  return strncmp(name, DEV_CCISS_C0D0, strlen(DEV_CCISS_C0D0) - 3) =3D=3D =
0;
+}
+ =20
 /* Return a string containing the name of the first existing IDE disk.  */
 char *first_ide_disk(void)
 {
@@ -2307,6 +2314,8 @@
     device =3D DEV_RD_C0D0;
   else if (is_scsiida(boot))=20
     device =3D DEV_IDA_C0D0;
+  else if (is_scsicciss(boot))
+    device =3D DEV_CCISS_C0D0;
   else=20
 #endif
   {
@@ -2390,6 +2399,7 @@
   else if (is_scsi(boot)) device =3D DEV_SDA;
   else if (is_scsird(boot)) device =3D DEV_RD_C0D0;
   else if (is_scsiida(boot)) device =3D DEV_IDA_C0D0;
+  else if (is_scsicciss(boot)) device =3D DEV_CCISS_C0D0;
   else {
     INFOMSG("couldn't determine drive type for new boot partition %s", boo=
t);
     device =3D inputBox(_("The attempt to deduce what your boot disk is fa=
iled.  "
--- boot-floppies-3.0.19.orig/utilities/libfdisk/fdisk.c
+++ boot-floppies-3.0.19/utilities/libfdisk/fdisk.c
@@ -569,6 +569,7 @@
     { 65 << 8, 112, 16 },	/* sdq      - sddx      */
     { 72 << 8, 128, 16 },	/* ida/c0d0 - ida/c7d15 */
     { 94 << 8,  26,  4 },	/* dasda    - dasdz     */
+    {104 << 8, 256, 16 },       /* cciss/c0d0 - cciss/c7d15 */
     {       0,   0,  0 }
 };
=20

--=-4oMbZYF4Bxe21kJGYGAJ--


---------------------------------------
Received: (at 132855-done) by bugs.debian.org; 6 Mar 2002 16:24:43 +0000
>From kraai@lafn.org Wed Mar 06 10:24:43 2002
Return-path: <kraai@lafn.org>
Received: from svfulraptor1.beckman.com (catalonia) [134.217.237.30] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16ieDa-0000Zj-00; Wed, 06 Mar 2002 10:24:42 -0600
Received: from kraai by catalonia with local (Exim 3.34 #1 (Debian))
	id 16ieFh-0000Iz-00
	for <132855-done@bugs.debian.org>; Wed, 06 Mar 2002 08:26:53 -0800
Date: Wed, 6 Mar 2002 08:26:53 -0800
From: Matt Kraai <kraai@debian.org>
To: 132855-done@bugs.debian.org
Subject: fixed
Message-ID: <20020306162653.GB1099@catalonia>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="i9LlY+UWpKt15+FH"
Content-Disposition: inline
User-Agent: Mutt/1.3.27i
Sender: Matt Kraai <kraai@lafn.org>
Delivered-To: 132855-done@bugs.debian.org


--i9LlY+UWpKt15+FH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Howdy,

Support for CCISS devices has been added to the necessary places
(dbootstrap, debootstrap, and makedev), and new boot-floppies
have been built, so this can be closed.

Please reopen if testing reveals that something is still
broken.

Matt

--i9LlY+UWpKt15+FH
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8hkNNfNdgYxVXvBARAuV0AJ0Yj7YdV8xgvLGuA0x1hMfExLGr5gCbBTO9
9RA+Fo7+s2GfoVSiy1YnYi8=
=FYzK
-----END PGP SIGNATURE-----

--i9LlY+UWpKt15+FH--



Reply to: