[ipxe-devel] lkrn command line issues
Michael Brown
mbrown at fensystems.co.uk
Wed Jan 18 00:10:24 UTC 2012
On Friday 13 Jan 2012 19:23:25 Dave Hansen wrote:
> On 01/10/2012 11:40 AM, Michael Brown wrote:
> > Is it possible that the cmdline is being overwritten by iPXE when it
> > installs its base-memory portions? What are the values of rm_cs and
> > rm_ds at the point of calling cmdline_init()?
>
> I assume you just mean printing them out like this:
>
> DBGC ( colour, "cmdline_init() rm_cs: %d 0x%x\n", rm_cs, rm_cs);
> DBGC ( colour, "cmdline_init() rm_ds: %d 0x%x\n", rm_ds, rm_ds);
>
> Here they are:
>
> cmdline_init() rm_cs: 39099 0x98bb
> cmdline_init() rm_ds: 39247 0x994f
> cmdline_phys: 99000
> cmdline_user: 80b28e10
> cmdline_user len: 2
> RUNTIME cmdline len: 2 too short
Thanks; that confirms the problem. The command line has been overwritten by
iPXE's real-mode code/data segments.
Should now be fixed:
http://git.ipxe.org/ipxe.git/commitdiff/f5bbe7e
Please let me know if it works for you.
Thanks,
Michael
More information about the ipxe-devel
mailing list