Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-04-01 Thread Robert Millan
On Wed, Apr 01, 2009 at 10:04:44AM -0400, Pavel Roskin wrote: > On Wed, 2009-04-01 at 15:23 +0200, Robert Millan wrote: > > On Mon, Mar 30, 2009 at 05:51:22PM -0400, Pavel Roskin wrote: > > > > > > If we are circumventing the standard Linux bootloader, perhaps we should > > > communicate this to t

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-04-01 Thread Pavel Roskin
On Wed, 2009-04-01 at 15:23 +0200, Robert Millan wrote: > On Mon, Mar 30, 2009 at 05:51:22PM -0400, Pavel Roskin wrote: > > > > If we are circumventing the standard Linux bootloader, perhaps we should > > communicate this to the Linux developers. > > This is not circumvention. We're using a 32-bi

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-04-01 Thread Robert Millan
On Tue, Mar 31, 2009 at 01:06:25AM +0900, Yoshinori K. Okuji wrote: > I don't know any reliable way. Some candidates: > > - The ramdisk max value. On 32-bit, initrd may not be loaded onto over 2GB. > This is hard to change in Linux, so we can expect that this will not change. > On 64-bit, curren

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-04-01 Thread Robert Millan
On Mon, Mar 30, 2009 at 05:51:22PM -0400, Pavel Roskin wrote: > On Tue, 2009-03-31 at 01:06 +0900, Yoshinori K. Okuji wrote: > > On Monday 30 March 2009 23:35:52 phcoder wrote: > > > I confirm. I suppose that this check and message is bypassed with 32-bit > > > loading mode. IMO grub2 should provid

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-03-30 Thread Pavel Roskin
On Tue, 2009-03-31 at 01:06 +0900, Yoshinori K. Okuji wrote: > On Monday 30 March 2009 23:35:52 phcoder wrote: > > I confirm. I suppose that this check and message is bypassed with 32-bit > > loading mode. IMO grub2 should provide an equivlent of this check. We > > already have cpuid code. Does any

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-03-30 Thread Yoshinori K. Okuji
On Monday 30 March 2009 23:35:52 phcoder wrote: > Pavel Roskin wrote: > > On Sat, 2009-03-28 at 13:53 +0100, Robert Millan wrote: > >>> Here's a patch to rename `linux' to `linux16' and build the 32-bit > >>> loader as simply `linux'. > >> > >> Committed. > > > > Just for your information. With th

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-03-30 Thread phcoder
Pavel Roskin wrote: On Sat, 2009-03-28 at 13:53 +0100, Robert Millan wrote: Here's a patch to rename `linux' to `linux16' and build the 32-bit loader as simply `linux'. Committed. Just for your information. With the old loader, booting an x86_64 kernel in qemu emulating i386 would result in

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-03-30 Thread Pavel Roskin
On Sat, 2009-03-28 at 13:53 +0100, Robert Millan wrote: > > Here's a patch to rename `linux' to `linux16' and build the 32-bit loader as > > simply `linux'. > > Committed. Just for your information. With the old loader, booting an x86_64 kernel in qemu emulating i386 would result in a kernel me

Re: [PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-03-28 Thread Robert Millan
On Sun, Mar 22, 2009 at 05:00:32PM +0100, Robert Millan wrote: > On Sat, Mar 21, 2009 at 06:50:56PM +0100, Robert Millan wrote: > > On Wed, Mar 18, 2009 at 02:09:11PM +0100, phcoder wrote: > > > IMO linux16 for pc/linux.c would better reflect the difference with > > > normal 'linux' command. > >

[PATCH] build 32-bit Linux loader as `linux', rename legacy loader to `linux16'

2009-03-22 Thread Robert Millan
On Sat, Mar 21, 2009 at 06:50:56PM +0100, Robert Millan wrote: > On Wed, Mar 18, 2009 at 02:09:11PM +0100, phcoder wrote: > > IMO linux16 for pc/linux.c would better reflect the difference with > > normal 'linux' command. > > I'm fine with that. Does anyone object to the proposed rename? > > N