Chng Tiak-Jung wrote:
> 
> Romain Vignes wrote:
> > I have encountered a strange behaviour when booting Linux from a doc2000
> > : the kernel params defined in the 'lilo.conf' file (append="...") are
> > not passed to the kernel at boot time.
> 
> I believe you are using the DOC2000 according to the way that
> M-Systems has described. If that is so, I think you are using
> a customized version of lilo.
> 
> I vaguely remembered it was mentioned somewhere that after
> you have applied the patch to lilo, the 'append=' will no
> longer work correctly.
> 
> My solution is to "hard-code" these parameters into the
> kernel and recompile kernel each time when I want to change
> them.

Thanks for your solution. It is quite easy to implement and it works
great.

If someone else is concerned, here is the solution :

If you want to hard-code some kernel parameters, just add the following
line at the beginning of the parse_options() routine (file init/main.c,
near line 1115) :

        checksetup(param_str);

Replace the 'param_str' arg with the same param string you would have
used in the lilo.conf file.

In my case, I have added the following lines :

        checksetup("console=ttyS0,9600n8");     /* Serial console */
        checksetup("ether=0,0x220,eth0");       /* Ethernet config */
begin:vcard 
n:Vignes;Romain
tel;work:+33 4 67 63 64 99
x-mozilla-html:TRUE
org:eProcess
version:2.1
email;internet:[EMAIL PROTECTED]
title:Project Manager
adr;quoted-printable:;;Les Athamantes (Bat. 2)=0D=0A740, avenue des Apothicaires;Montpellier;;34196;France
x-mozilla-cpt:;-20352
fn:Romain Vignes
end:vcard

Reply via email to