Re: 64 Bit Support?

2007-06-17 Thread Robert Millan
On Sun, Jun 17, 2007 at 02:16:41AM +0200, Jeroen Dekkers wrote: At Sun, 17 Jun 2007 17:11:44 -0600, David Broadfoot wrote: I am wondering if there is plans for Grub 2 to be able to be compiled and run in a 64 bit enviroment. I am a part of the Cross-LFS Dev. team, and Under the pure 64

Re: 64 Bit Support?

2007-06-17 Thread Stefan Reinauer
* Robert Millan [EMAIL PROTECTED] [070617 11:26]: On Sun, Jun 17, 2007 at 02:16:41AM +0200, Jeroen Dekkers wrote: At Sun, 17 Jun 2007 17:11:44 -0600, David Broadfoot wrote: I am wondering if there is plans for Grub 2 to be able to be compiled and run in a 64 bit enviroment. I am a part

Re: 64 Bit Support?

2007-06-17 Thread Jeroen Dekkers
At Sun, 17 Jun 2007 11:37:15 +0200, Stefan Reinauer wrote: * Robert Millan [EMAIL PROTECTED] [070617 11:26]: On Sun, Jun 17, 2007 at 02:16:41AM +0200, Jeroen Dekkers wrote: At Sun, 17 Jun 2007 17:11:44 -0600, David Broadfoot wrote: I am wondering if there is plans for Grub 2 to be

echo gives internal error with \n

2007-06-17 Thread adrian15
I've activated the echo command (also the pause command) which it is equivalent to the echo command... and have done some tests: grub pause fjfjl fjfjl grub pause fjfjl fjfjl grub pause -n \n error: Internal error grub pause \n error: Internal error grub pause -n \n \n grub pause -e \n grub

pause and echo patch

2007-06-17 Thread adrian15
I attach the proposal of patch and I comment some doubts that I have. diff -urN grub2_2007_05_31_original/commands/echo.c grub2_2007_05_31_pause/commands/echo.c --- grub2_2007_05_31_original/commands/echo.c 2007-06-11 11:53:26.0 +0200 +++ grub2_2007_05_31_pause/commands/echo.c

map command draft #2

2007-06-17 Thread adrian15
I attach the patch that makes grub2 to have a map command. The map command only modifies a vector. If we want true map in grub2 we need to hook some functions so that some bios calls ocurr. Meanwhile I think how to do it... here there is my patch and some questions and suggestions. diff -urN

Re: 64 Bit Support?

2007-06-17 Thread Stefan Reinauer
* Jeroen Dekkers [EMAIL PROTECTED] [070617 13:03]: Interesting would also be to boot pure 64bit kernels. I think some of the BSDs have their bootloader switch to 64bit long mode, so the kernel does not have to dot this anymore. Maybe grub could do the same thing. To enable long mode you

Self multiboot patch

2007-06-17 Thread Mikhail Vorozhtsov
Hi. Here is a patch for booting GRUB via itself with multiboot module. Tested on [http://grub.enbug.org/TestingOnX86]-alike floppy image and QEMU. BTW. When I'm trying to add some code/data before/in multiboot_entry in startup.S, GRUB hangs with Loading kernel message (even if it booted not

status update for grub 2 developments?

2007-06-17 Thread Vesa Jääskeläinen
Hi all! I think it would be wise to keep some kind of status updates from time to time so we can keep track on what people are doing (related to grub 2). If we continue with current situation we are long in 2010's before we have next release. I think it would also be important to coordinate more

Re: status update for grub 2 developments?

2007-06-17 Thread Robert Millan
On Sun, Jun 17, 2007 at 03:47:23PM +0300, Vesa Jääskeläinen wrote: Anyway. First of all I would like to hear if you are developing something above or something else, reply this e-mail and tell us about it, there is no reason that work should be duplicated. Especially if you are already

Re: 64 Bit Support?

2007-06-17 Thread Constantine Kousoulos
Stefan Reinauer wrote: The problem might be that Grub2 locks out existing operating systems, if it does not support switching to long mode itself. I read rumours only, so I might be completely wrong. Is anyone booting non-Linux OSes like FreeBSD, NetBSD, OpenBSD, OpenSolaris, etc with GRUB2

Re: 64 Bit Support?

2007-06-17 Thread Andrei E. Warkentin
Heh, UEFI x64 runs in long mode, and it has no problems doing things like that. To linearly map the first 4GB you need a whole of 24KB worth of page tables (using 2m pages). And the code to enter long mode directly from RM is pretty trivial. RM-16PM-LM. Andrei Evgenievich Warkentin [EMAIL

Re: 64 Bit Support?

2007-06-17 Thread Andrei E. Warkentin
I wouldn't go as far as saying it is overly complex. If all you want to do is linearly map the first 4GB (which is likely enough), you can just pre-build the like... 6 or 7 tables you need (with 2m pages) in an assembly source along with a 64-bit GDT and dummy IDT. Obviously at start-up

Re: 64 Bit Support?

2007-06-17 Thread Jeroen Dekkers
At Sun, 17 Jun 2007 12:29:43 -0700, Andrei E. Warkentin wrote: Heh, UEFI x64 runs in long mode, and it has no problems doing things like that. To linearly map the first 4GB you need a whole of 24KB worth of page tables (using 2m pages). And the code to enter long mode directly from RM is