* md-mod.start_dirty_degraded=1 can't work in boot command parameters
@ 2009-11-27 3:50 hank peng
2009-11-27 5:48 ` Neil Brown
0 siblings, 1 reply; 2+ messages in thread
From: hank peng @ 2009-11-27 3:50 UTC (permalink / raw)
To: linux-raid
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?
--
The simplest is not all best but the best is surely the simplest!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: md-mod.start_dirty_degraded=1 can't work in boot command parameters
2009-11-27 3:50 md-mod.start_dirty_degraded=1 can't work in boot command parameters hank peng
@ 2009-11-27 5:48 ` Neil Brown
0 siblings, 0 replies; 2+ messages in thread
From: Neil Brown @ 2009-11-27 5:48 UTC (permalink / raw)
To: hank peng; +Cc: linux-raid
On Fri, 27 Nov 2009 11:50:31 +0800
hank peng <pengxihan@gmail.com> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-27 5:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 3:50 md-mod.start_dirty_degraded=1 can't work in boot command parameters hank peng
2009-11-27 5:48 ` Neil Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).