Re: porting Grub to Xen

2009-06-16 Thread Ferenc Wagner
"Vladimir 'phcoder' Serbinenko" writes: > On Fri, Jun 5, 2009 at 9:37 PM, Ferenc Wagner wrote: >> "Vladimir 'phcoder' Serbinenko" writes: >> Neither have I, but xen-devel says MiniOS is BSD, and should be acceptable for Grub. >>> >>> If it's under MIT or new BSD license it is. However

Re: [PATCH] Remove root drive support

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
Hello On Tue, Jun 16, 2009 at 2:15 AM, Pavel Roskin wrote: > On Tue, 2009-06-16 at 01:41 +0200, Vladimir 'phcoder' Serbinenko wrote: > > > I successfully tested this patch in qemu with both grub-mkrescue and > > multiboot load grub2-by-grub2. As I see root drive was always set to > > 0xFF and so

Re: [PATCH 4/18] Simplify sed script and make awk script more robust

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 2:59 AM, Pavel Roskin wrote: > On Sat, 2009-05-30 at 16:44 +0200, Vladimir 'phcoder' Serbinenko wrote: > > sed on apple's platform is more limited here is workaround. awk needs > > a check not to make module depend on itself in some cases > > Sorry for not being able to re

Re: [PATCH 5/18] Check if cc is from apple toolchain

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 3:20 AM, Pavel Roskin wrote: > On Sat, 2009-05-30 at 16:47 +0200, Vladimir 'phcoder' Serbinenko wrote: > > > +dnl check if our compiler is apple cc > > +dnl because it requires numerous workarounds > > +AC_DEFUN(grub_apple_cc, > > We don't use lowercase names for macros.

Re: [PATCH 6/18] define asm constant for absolute memory access

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 3:28 AM, Pavel Roskin wrote: > On Sat, 2009-05-30 at 16:46 +0200, Vladimir 'phcoder' Serbinenko wrote: > > +#ifdef APPLE_CC > > +#define MSG(x) x ## _abs = ABS(x); movw $x ## _abs, %si; call message > > +#else > > #define MSG(x) movw $ABS(x), %si; call message > > +#endif

Re: [PATCH 7/18] Don't clobber ebx/rbx in inline assembly when compiling with Apple's CC

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 3:32 AM, Pavel Roskin wrote: > On Sat, 2009-05-30 at 16:49 +0200, Vladimir 'phcoder' Serbinenko wrote: > > +#ifdef APPLE_CC > >__asm__ __volatile__ ("xorl %%eax, %%eax\n\t" > > -"cpuid":::"%rax", "%rbx", "%rcx", "%rdx"); > > Why do we need prepr

Re: echo and hello bug

2009-06-16 Thread James Jarvis
Vladimir 'phcoder' Serbinenko wrote: tried this module list in grub-mkimage on 2282 but it hung! I think you have a problem with you building system. If you want ping me (phcoder) on IRC and I'll compile for you Shamed me into looking deeper! I discover that by listing hello and echo fi

Extra Screen?

2009-06-16 Thread BandiPat
Hi all, An odd screen started to show up from build svn2235 that I had not seen before when starting my computers. Just after the Loading Grub2 & Welcome to Grub2 comments, there appears a 4 or 5 line text screen mentioning something about Bash. It only appears for a brief few seconds, then

Re: Extra Screen?

2009-06-16 Thread Felix Zielcke
Am Dienstag, den 16.06.2009, 11:18 -0400 schrieb BandiPat: > Hi all, > An odd screen started to show up from build svn2235 that I had not seen > before when starting my computers. Just after the Loading Grub2 & > Welcome to Grub2 comments, there appears a 4 or 5 line text screen > mentioning so

Re: echo and hello bug

2009-06-16 Thread Felix Zielcke
Am Dienstag, den 16.06.2009, 15:09 +0100 schrieb James Jarvis: > Anyway, whilst looking through the code I did spot a semantic error, > fix > shown in this patch: Thanks, just commited it. -- Felix Zielcke ___ Grub-devel mailing list Grub-devel@gnu.

Re: echo and hello bug

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 4:09 PM, James Jarvis wrote: > Vladimir 'phcoder' Serbinenko wrote: > >> tried this module list in grub-mkimage on 2282 but it hung! >>> >>> >> I think you have a problem with you building system. If you want ping >> me (phcoder) on IRC and I'll compile for you >> >> > Sha

Re: [PATCH] Remove root drive support

2009-06-16 Thread Pavel Roskin
On Tue, 2009-06-16 at 12:30 +0200, Vladimir 'phcoder' Serbinenko wrote: > I think we could implement partition addressing by a contained > filename. > As long as GRUB can read the filesystem at all, it should be > able to > read filenames. > Otherwise the fi

A strange occurrence

2009-06-16 Thread David A. Cobb
This isn't a development question, but I'm hoping the list's knowledge of GRUB will help me understand it. Running Ubuntu 9.04, everything up-to-date, package "grub-pc" version 1.96+ GRUB-2 was installed after having GRUB 0.9x running for years. The installation involved letting GRUB chainloa

Re: A strange occurrence

2009-06-16 Thread Felix Zielcke
Am Dienstag, den 16.06.2009, 14:20 -0400 schrieb David A. Cobb: > This isn't a development question, but I'm hoping the list's knowledge > of GRUB will help me understand it. > > Running Ubuntu 9.04, everything up-to-date, package "grub-pc" version 1.96+ > GRUB-2 was installed after having GRUB 0

Re: A strange occurrence

2009-06-16 Thread BandiPat
David A. Cobb wrote: This isn't a development question, but I'm hoping the list's knowledge of GRUB will help me understand it. Running Ubuntu 9.04, everything up-to-date, package "grub-pc" version 1.96+ GRUB-2 was installed after having GRUB 0.9x running for years. The installation involved

Re: A strange occurrence

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 9:38 PM, BandiPat wrote: > David A. Cobb wrote: > >> This isn't a development question, but I'm hoping the list's knowledge of >> GRUB will help me understand it. >> >> Running Ubuntu 9.04, everything up-to-date, package "grub-pc" version >> 1.96+ >> GRUB-2 was installed

Re: A strange occurrence

2009-06-16 Thread BandiPat
Vladimir 'phcoder' Serbinenko wrote: Here's what you do from a root shell: dd if=/dev/zero of=/dev/sdx bs=446 count=1 (the "x" is the letter of your installed drive, "a" "b" ) Also, for the "bs" number, never use more than "446" as anything larger will overwrite your partitio

Re: A strange occurrence

2009-06-16 Thread Felix Zielcke
Am Dienstag, den 16.06.2009, 15:59 -0400 schrieb BandiPat: > Vladimir 'phcoder' Serbinenko wrote: > > > Here's what you do from a root shell: > > dd if=/dev/zero of=/dev/sdx bs=446 count=1 > > (the "x" is the letter of your installed drive, "a" "b" ) > > Also, for the "bs" number,

Re: how to boot Xen Dom0 in Grub2 SVN trunk

2009-06-16 Thread uzer cheg
Pavel, patched Grub2 i386 loads Xen Dom0. Honestly speaking it loads partially. Now I got new error message (XEN) elf_init: not an EL binary ... Panic on CPU 0 I tried Xen 3.2.1 and Xen 3.4. Unfortunately I do not have right CPU on my testing PC. I think it's old Pentium without VT support. Hope

Re: how to boot Xen Dom0 in Grub2 SVN trunk

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jun 16, 2009 at 11:07 PM, uzer cheg wrote: > Pavel, patched Grub2 i386 loads Xen Dom0. > Honestly speaking it loads partially. > Now I got new error message > (XEN) elf_init: not an EL binary > ... > Panic on CPU 0 > > I tried Xen 3.2.1 and Xen 3.4. > > Unfortunately I do not have right C

Re: A strange occurrence

2009-06-16 Thread BandiPat
Felix Zielcke wrote: You'd only need to look at the wikipedia MBR page for this: http://en.wikipedia.org/wiki/Master_boot_record --- And where were you when I needed all this data! ;-) I did all kinds of searches, but didn't find this info. As I mentioned, I found the 512 bytes firs

Re: how to boot Xen Dom0 in Grub2 SVN trunk

2009-06-16 Thread uzer cheg
Thank you for advice. It's certainly what I planned to do tomorrow.Vladimir, I'm going to test Grub2 on mu Xserve is case of successful Xen Dom0 on Bios PC. As I see posted modmem.diff and posted before efiboot.diff both contains patches for loader/i386/multiboot.c Which code is actual for my EFI

Fw: gettext support

2009-06-16 Thread Carles Pina i Estany
Hello, Last January I sent a patch to add gettext support. When I had time, the list was not very, and afterwards I didn't have time. Hopefully from now on and during next weeks I will have some time to follow up the discussion, make changes, etc. (not exactly everyday but I will be able to do,

Re: Fw: gettext support

2009-06-16 Thread Vladimir 'phcoder' Serbinenko
Hello. Welcome back and your work is appreciated. I will look at the patch later (In couple minutes I go to sleep) On Tue, Jun 16, 2009 at 11:47 PM, Carles Pina i Estany wrote: > > Hello, > > Last January I sent a patch to add gettext support. When I had time, the > list was not very, and afterwa

[PATCH] Fix up grub-mkimage help2man output

2009-06-16 Thread Colin Watson
grub-mkimage's help2man output is messed up for a couple of targets; option lines in help text need to start with two spaces for help2man to recognise them as options rather than as flowing text. Most of GRUB gets this right, but a few places don't. Index: ChangeLog ===

Re: [PATCH] Fix up grub-mkimage help2man output

2009-06-16 Thread Felix Zielcke
Am Mittwoch, den 17.06.2009, 00:19 +0100 schrieb Colin Watson: > > grub-mkimage's help2man output is messed up for a couple of targets; > option lines in help text need to start with two spaces for help2man > to > recognise them as options rather than as flowing text. Most of GRUB > gets > this ri