Thread (2 messages) 2 messages, 2 authors, 2009-11-27

Re: md-mod.start_dirty_degraded=1 can't work in boot command parameters

From: Neil Brown <hidden>
Date: 2009-11-27 05:48:20

On Fri, 27 Nov 2009 11:50:31 +0800
hank peng [off-list ref] wrote:
kernel messages:

Jan 1 00:08:10 mcenter kernel: Command line: root=/dev/hda1 ro
console=tty0 vga=791 splash=silent md-mod.start_dirty_degraded=1
Jan 1 00:08:10 mcenter kernel: Kernel command line: root=/dev/hda1 ro
console=tty0 vga=791 splash=silent md-mod.start_dirty_degraded=1
Jan 1 00:08:10 mcenter kernel: Unknown boot option
`md-mod.start_dirty_degraded=1': ignoring

Then how to use this param in grub?
I think we should add __setup("start_dirty_degraded=", parse_func)  in
md.c, is it right?

That command line option works for me.
My only thought is that you have md compiled as a separate module rather
than compiled in to the kernel.  If that is the case you need to get
modprobe or insmod to pass in the parameter I think.

NeilBrown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help