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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 27 Nov 2009 11:50:31 +0800
hank peng <pengxihan@xxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux