[vdr] xineliboutput sxfe / xxmc / via / EPIA ML6000 : great !

Nicolas Huillard nicolas at huillard.net
Tue Nov 25 18:16:24 CET 2008


Frank Schmirler a écrit :
> On Tue, 25 Nov 2008 14:39:19 +0100, Nicolas Huillard wrote
>> I'd try to insert it on the PXE kernel command-line, but it's 
>> explicitely ignored by the kernel :
>> ml6000 kernel: Unknown boot option `via_rhine.avoid_D3=1': ignoring
>> ...or implicitely, when I just add "avoid_D3=1" (ie. PXE does not 
>> boot after the next shutdown)
> 
> You would use "via_rhine.avoid_D3=1" if the driver was builtin to the kernel.
> 
> When built as a module, it depends on how the modules are loaded.
> 
> In an initrd sometimes insmod is used. It accepts module options on the
> commandline (insmod via_rhine avoid_D3=1).
> 
> If modprobe is used, specify "options via-rhine avoid_D3=1" in
> /etc/modprobe.conf (or a file in /etc/modprobe.d/). You must do it in the
> /etc/ directory which is mounted by the time modprobe is executed (so probably
> inside of your initrd).

Thanks for the answer.

The solution I used is the following, using Debian etch tools :
* add a /etc/modprobe.d/via-rhine file in the running client filesystem
* it contains the said "options via-rhine avoid_D3=1" line (along with 
my usual 60% comments)
* then recreate the initrd on the client machine (the one which sees the 
new file) : update-initramfs -u -k 2.6.18-6-486
* don't forget to copy the initrd file in the tftp directory on the 
server, so the client can use it

I'll compile a fine-tuned kernel if I need to reduce boot time, but 
suspend-to-RAM could be much better.

-- 
NH



More information about the vdr mailing list