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: <4C9A3487.6080005@zytor.com>
Date:	Wed, 22 Sep 2010 09:53:27 -0700
From:	"H. Peter Anvin" <hpa@...or.com>
To:	Bjorn Helgaas <bjorn.helgaas@...com>
CC:	mingo@...hat.com, linux-kernel@...r.kernel.org, yinghai@...nel.org,
	just.for.lkml@...glemail.com, tglx@...utronix.de,
	hpa@...ux.intel.com, Feng Tang <feng.tang@...el.com>,
	Alan Cox <alan@...ux.intel.com>, greg@...ah.com
Subject: Re: Early console confusion

On 09/22/2010 09:44 AM, Bjorn Helgaas wrote:
>
> If we don't like "uart8250,io,0x3f8" (which I agree is awfully clunky),
> we could easily add something like "console=com1" which encapsulated
> the well-defined PC concept.

console=ttyS0 ... already works fine.

> It would be similar to "earlyprintk=ttyS0",
> and if it could be made *enough* like it, maybe "earlyprintk=ttyS0"
> could be dropped.
>
> I also see the recent "earlyprintk=hsu" patch from  Feng Tang, and I
> wonder whether that could be recast in the "console=hsu" style.  Like
> "com1", "hsu" is apparently enough to specifically identify a device.
>
> I think it's nicer to extend "console=" in ways that allow early
> devices, because then users don't have to mess with both "console="
> and "earlyprintk=".  The 8250_early driver has a reasonable model
> of switching from the early device to the real one automatically,
> so maybe something like this is all we would need:

console= is supported multiple times, and enabling console= shouldn't 
necessarily enable earlyprintk...

But yes, it's ugly and we have bass-ackwards compatibility problem...

	-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