Mailinglist Archive: opensuse-bugs (15702 mails)
| < Previous | Next > |
[Bug 150569] Yast bootloader update adds resume=/dev/ md0 when raid autorun is done after resume
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Sun, 5 Aug 2007 01:01:59 -0600 (MDT)
- Message-id: <20070805070159.DB19ECC792@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=150569#c3
Guido Einig <geinig@xxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |geinig@xxxxxx
--- Comment #3 from Guido Einig <geinig@xxxxxx> 2007-08-05 01:01:58 MST ---
I've had the same problem with my HW-RAID (OpenSuse 10.2). After s2disk and
restarting I got the following message: "resume device
/dev/mapper/isw_bcjcfejhjc_Volume0_part6 not found (ignoring)".
I made the following changes to /sbin/mkinitrd an created an new initrd:
I moved the following text block:
if [ -n "$need_dmraid" ] ; then
cat_linuxrc <<-EOF
|/sbin/dmraid -a y -p
|/sbin/udevsettle --timeout=\$udev_timeout
EOF
fi
Old position: line 2658, behind:
if [ -n "$need_mdadm" ]; then
..
fi
cat_linuxrc <<-'EOF'
|# Wait for udev to settle
|/sbin/udevsettle --timeout=$udev_timeout
|# Check for a resume device
|udev_discover_resume
EOF
if [ -n "$need_mdadm" ]; then
..
fi
New position: line 2596, before above block.
Now RAID-partitions get searched before the accessing the resume device. I
don't know if it's the best solution, but it works for me.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
Guido Einig <geinig@xxxxxx> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |geinig@xxxxxx
--- Comment #3 from Guido Einig <geinig@xxxxxx> 2007-08-05 01:01:58 MST ---
I've had the same problem with my HW-RAID (OpenSuse 10.2). After s2disk and
restarting I got the following message: "resume device
/dev/mapper/isw_bcjcfejhjc_Volume0_part6 not found (ignoring)".
I made the following changes to /sbin/mkinitrd an created an new initrd:
I moved the following text block:
if [ -n "$need_dmraid" ] ; then
cat_linuxrc <<-EOF
|/sbin/dmraid -a y -p
|/sbin/udevsettle --timeout=\$udev_timeout
EOF
fi
Old position: line 2658, behind:
if [ -n "$need_mdadm" ]; then
..
fi
cat_linuxrc <<-'EOF'
|# Wait for udev to settle
|/sbin/udevsettle --timeout=$udev_timeout
|# Check for a resume device
|udev_discover_resume
EOF
if [ -n "$need_mdadm" ]; then
..
fi
New position: line 2596, before above block.
Now RAID-partitions get searched before the accessing the resume device. I
don't know if it's the best solution, but it works for me.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |