login
Header Space

 
 

vmlinuz resume=/dev/md0 borks swap ( unlike /dev/sda1 )

Previous thread: [PATCH] Remove superfluous include of string.h from percpu.h. by Robert P. J. Day on Saturday, March 15, 2008 - 5:02 am. (1 message)

Next thread: [PATCH] change the type of Unichrome display adapter (PCI ID=1106:3108) by Németh Márton on Saturday, March 15, 2008 - 7:34 am. (2 messages)
To: <linux-kernel@...>
Date: Saturday, March 15, 2008 - 4:47 am

I'm not subscribed
( tried that once, and couldn't use that e-mail account again, due to swamping )
so please cc me to replies, if you feel I might help further. . .

circumstance:
openSUSE 10.3 x86_64 ( on an X2 ), 4GB RAM, 4GB swap ( some apps do go bonkers, sometimes ) on /dev/md0 ( raid-1 /dev/sda1 /dev/sdb1 )


/boot/grub/menu.lst

# Modified by YaST2. Last modification on Fri Mar 14 17:02:28 EDT 2008
default 0
timeout 8
gfxmenu (hd0,2)/boot/message
##YaST - activate

###Don't change this comment - YaST2 identifier: Original name: linux###
title openSUSE 10.3 - 2.6.22.17-0.1
    root (hd0,2)
#kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/md2 vga=0x375 dma resume=/dev/md0 splash=verbose showopts
    kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/md2 vga=0x375 dma splash=verbose showopts
    initrd /boot/initrd-2.6.22.17-0.1-default

###Don't change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe -- openSUSE 10.3 - 2.6.22.17-0.1
    root (hd0,2)
    kernel /boot/vmlinuz-2.6.22.17-0.1-default root=/dev/md2 vga=ask showopts ide=nodma apm=off acpi=off noresume edd=off  3
    initrd /boot/initrd-2.6.22.17-0.1-default


I couldn't get swap to activate on /dev/md0
when the "resume=..." bit was in there, and
I couldn't get mdadm to stop /dev/md0
( btw, the manpage for mdadm is wrong, at least in syntax, on opensuse 10.3 )
it complained that the thing was still in use, but nothing in /etc/fstab was identified as being on it
( I'd commented-out the swap line, to minimize complexity ), and I couldn't find anything else that seemed to be using it.

lsof | grep md0
md0_raid1 2283 root cwd DIR 9,2 4096 2 /
md0_raid1 2283 root rtd DIR 9,2 4096 2 /
md0_raid1 2283 root txt unknown /proc/2283/exe

Then removing that "resume=..." from grub's menu.lst bit fixed swap.
/dev/md0 /could/ be activated as swap, then, and /dev/md0 behaved as a normal raid device, being stoppable &amp; runnable.

I *need* this machine to be redundant-everything, very-ve...
Previous thread: [PATCH] Remove superfluous include of string.h from percpu.h. by Robert P. J. Day on Saturday, March 15, 2008 - 5:02 am. (1 message)

Next thread: [PATCH] change the type of Unichrome display adapter (PCI ID=1106:3108) by Németh Márton on Saturday, March 15, 2008 - 7:34 am. (2 messages)
speck-geostationary