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

Bug#271899: ia64 won't boot stage 2 from a SMART raid controller



Package: initrd-tools

The second stage of the install fails with a

   Kernel Panic: Attempted to kill init

because pivot_root fails because the real root filesystem
is not mounted.

This occurs when the real root filesystem is located on an
HP SMART Raid controller (cciss).  The following patch
fixes the device path name so that it can be properly
recognized when looking for the controller in sysfs.

Note that this patch also applies to other disk devices
with paths of the devfs form:

  /dev/xzy/<controller-target-lun>

Patch as an attachment.

Jim
-- 
*************
Jim Lieb			Wild Open Source Inc.
lieb@wildopensource.com		Cell: 831.295.9317
Office: 831.421.0883            Fax:  831.421.0885
diff -Naur initrd-tools-0.1.74/debian/changelog initrd-tools-0.1.75/debian/changelog
--- initrd-tools-0.1.74/debian/changelog	2004-08-27 11:42:24.000000000 -0700
+++ initrd-tools-0.1.75/debian/changelog	2004-09-14 16:42:08.000000000 -0700
@@ -1,3 +1,10 @@
+initrd-tools (0.1.75) unstable; urgency=low
+
+  * Jim Lieb
+    - fix try_name in init to recognize sysfs names for CCISS and friends
+
+ -- Jim Lieb <lieb@wildopensource.com>  Tue, 9 Sep 2004 16:40:00 -0700
+
 initrd-tools (0.1.74) unstable; urgency=high
 
   * Joshua Kwan
diff -Naur initrd-tools-0.1.74/init initrd-tools-0.1.75/init
--- initrd-tools-0.1.74/init	2004-08-11 05:17:12.000000000 -0700
+++ initrd-tools-0.1.75/init	2004-09-15 15:28:49.000000000 -0700
@@ -87,7 +87,7 @@
 	IFS=/
 	set -f
 	set +f ${root#/dev/}
-	IFS=.
+	IFS=!
 	root=$*
 	unset IFS
 	try_name "$root" && return

Reply to: