lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 12 Jun 2008 15:59:24 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Mike Travis <travis@....com>
CC:	Ingo Molnar <mingo@...e.hu>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Thomas Gleixner <tglx@...utronix.de>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] x86: Add config option to setup early serial console

Mike Travis wrote:
> 
> We could.  My current debugging is in x86_64_start_kernel() almost at
> the start of the function (before the "Kernel alive" message).  The
> code is below.  (cut and pasted so no tabs)
> 
> One benefit of a startup option instead of a config option  is we rely
> on the standard distribution for the kernel and unless they set this
> option it won't do us much good.
> 
> (Maybe the failed attempts was trying to tell me something? ;-)
> 

The easiest way to get to something extremely early is to parse it out 
already in the setup code and pass in a flag in struct boot_params. 
Otherwise, the kernel command line is present in memory and can be 
copied or parsed in an ad hoc manner.  For i386 it is copied in place 
already in the assembly code -- for x86-64 it looks like we could 
trivially move copy_bootdata until just past clear_bss().

	-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ