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]
Message-ID: <20100802185410.GE5544@lenovo>
Date:	Mon, 2 Aug 2010 22:54:10 +0400
From:	Cyrill Gorcunov <gorcunov@...il.com>
To:	"H. Peter Anvin" <hpa@...or.com>
Cc:	Yinghai Lu <yinghai@...nel.org>, Ingo Molnar <mingo@...e.hu>,
	Thomas Gleixner <tglx@...utronix.de>,
	Pekka Enberg <penberg@...helsinki.fi>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -v3 2/2] x86: more early console output from
	compressed/misc.c

On Mon, Aug 02, 2010 at 11:38:57AM -0700, H. Peter Anvin wrote:
> On 08/02/2010 10:49 AM, Cyrill Gorcunov wrote:
> > On Mon, Aug 02, 2010 at 02:18:39AM -0700, Yinghai Lu wrote:
> >>
> >> will get
> >>
> >> |Decompressing Linux... Parsing ELF... done.
> >> |Booting the kernel.
> >>
> >> in serial console.
> >>
> >> reuse code from arch/x86/boot/
> >> and we can use printf if needed
> >>
...
> > 
> > It seems eventually we just add ~80 lines of code in compare with what we had before,
> > just to print "Decompressing..." by serial line. Not sure Yinghai if it worth
> > it. Though having printf that early might be quite useful for those who debugging
> > or developing new compressors/decompressors. If it would be small non-intrusive
> > patch I would both hands for it but now I simply don't know (to be fair mine
> > proposal based on your initial patch not better either ;)
> > 
> 
> Decompressing... is one thing, and if it was only that, I'd just suggest
> killing off the console I/O in boot/compressed.  Getting an error
> message out when there is a decompression failure is another thing.
> 
> Processing the command line a novo is somewhat painful, but it does deal
> better with bootloaders that use the 32-bit entry point by necessity
> (kexec, EFI) or due to sheer stupidity (Grub2).
> 
> As such, I think it's a worthwhile addition, as long as the source code
> can be cleanly shared with the boot/ directory.
> 
> 	-hpa
> 

ok, fair enough, I just don't like nesting *.c inclusion you know but seems
it would be the only more-less clean way here.

	-- Cyrill
--
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