David Rankin wrote:
-----Original Message----- From: Mike [mailto:mikedl@comcast.net]
On Thursday 31 January 2008, David C. Rankin wrote:
The YOU kernel failed to install on my box using software raid. Apparently the new kernel install does not handle /dev/mapper correctly.
Listmates, A patch that solved this issue for me is available at: https://bugzilla.novell.com/show_bug.cgi?id=357514 Issue: mkinitrd crashes on kernel update The problem is the resume device option. Mkinitrd reads that from the kernel command line, where something like "resume=/dev/sda5" appears to be written on. (see kernel cli parameter reference below) The patch to makes the resume device non-fatal. The file patched is /lib/mkinitrd/scripts/setup-storage.sh and the patch is: diff --git a/scripts/setup-storage.sh b/scripts/setup-storage.sh index 924723d..11add69 100644 --- a/scripts/setup-storage.sh +++ b/scripts/setup-storage.sh @@ -194,7 +194,10 @@ resolve_device() { local x="$2" local realrootdev="$2" - [ "$2" ] || exit 0 + # root device was already checked and non-existing + # non-root device is not fatal, but may not be + # shown to the following block resolver modules + [ -b "$realrootdev" ] || exit 0 case "$realrootdev" in LABEL=*|UUID=*) The problem relates to: resume Specify the partition device for the suspend image. resume=suspend_device "Tell the kernel which disk device contains the suspended kernel image. If the data on the image is a valid kernel image created by the software suspend subsystem, it will be loaded into memory and the kernel will run it instead of continuing on with the normal boot process. suspend_device is the kernel device name, which might be different from what userspace thinks the device name is, so be careful with this option." **Chapter 9: Kernel Boot Command-Line Parameter Reference 12437 Page 94-95 Friday, December 1, 2006 10:05 AM Hopefully this will help anyone else bitten by this bug. -- David C. Rankin, J.D., P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org