Re: Xserve specs

2009-05-14 Thread Vladimir 'phcoder' Serbinenko
l mailing list >> >> Grub-devel@gnu.org >> >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> >> ___ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> >> ___ >> Grub-devel mailing list >> Grub-devel@gnu.org >> http://lists.gnu.org/mailman/listinfo/grub-devel >> >> > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: can't compile r220 because of setjmp.S

2009-05-16 Thread Vladimir 'phcoder' Serbinenko
___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: can't compile r220 because of setjmp.S

2009-05-16 Thread Vladimir 'phcoder' Serbinenko
ter -- Habbit > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] gfxpayload

2009-05-16 Thread Vladimir 'phcoder' Serbinenko
s the same syntax for xnu too. Just remember that current xnu loader support 32-bit modes only -- Regards Vladimir 'phcoder' Serbinenko diff --git a/commands/videotest.c b/commands/videotest.c index db7f704..6fe4b9b 100644 --- a/commands/videotest.c +++ b/commands/videotest.c @@ -30,8 +3

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-16 Thread Vladimir 'phcoder' Serbinenko
b-devel@gnu.org >>>> http://lists.gnu.org/mailman/listinfo/grub-devel >>>> >>>> >>> >>> >>> ___ >>> Grub-devel mailing list >>> Grub-deve

Re: [PATCH] Use common linker script for all i386-pc systems

2009-05-17 Thread Vladimir 'phcoder' Serbinenko
.long   __bss_end__ This variable isn't used at all. In my Apple's CC patch I just remove it -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] gfxpayload

2009-05-17 Thread Vladimir 'phcoder' Serbinenko
atch with fixed vga=0 and warning for users when using vga= > -- > Felix Zielcke > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phc

[PATCH] gracefully ignore inability to retrieve C/H/S on LBA disks

2009-05-17 Thread Vladimir 'phcoder' Serbinenko
Hello. Here is a workaround for buggy BIOSes not supplying C/H/S geometry -- Regards Vladimir 'phcoder' Serbinenko diff --git a/ChangeLog b/ChangeLog index f5bc28b..8ce8496 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,12 +1,5 @@ 2009-05-17 Vladimir Serbinenko - Not fail if

[PATCH] ata.mod under qemu

2009-05-18 Thread Vladimir 'phcoder' Serbinenko
egards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] ata.mod under qemu

2009-05-18 Thread Vladimir 'phcoder' Serbinenko
On Mon, May 18, 2009 at 7:59 PM, Vladimir 'phcoder' Serbinenko wrote: > Hello. While experimenting with ata.mod on qemu I noticed it doesn't > see the CD when it wasn't already initialised by bios. Just putting > the status check after identify check solves the proble

Re: [PATCH] ata.mod under qemu

2009-05-18 Thread Vladimir 'phcoder' Serbinenko
On Mon, May 18, 2009 at 7:59 PM, Vladimir 'phcoder' Serbinenko wrote: > On Mon, May 18, 2009 at 7:59 PM, Vladimir 'phcoder' Serbinenko > wrote: >> Hello. While experimenting with ata.mod on qemu I noticed it doesn't >> see the CD when it wasn't

Re: porting Grub to Xen

2009-05-18 Thread Vladimir 'phcoder' Serbinenko
; _______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Use common linker script for all i386-pc systems

2009-05-18 Thread Vladimir 'phcoder' Serbinenko
On Mon, May 18, 2009 at 11:13 PM, Christian Franke wrote: > Vladimir 'phcoder' Serbinenko wrote: >> >> Hello. >> >> On Sun, May 17, 2009 at 7:33 AM, Pavel Roskin <...> wrote: >> >>> >>> This allows us to remove checks for the l

Re: [PATCH] Make grub2 compile with Apple's gcc

2009-05-19 Thread Vladimir &#x27;phcoder' Serbinenko
that relocating behaviour differs between grub-mkimage and module loading. I made grub-mkimage to brehave the same way as grub2 module loading and this part of objconv patch isn't required anymore On Sun, May 17, 2009 at 1:14 PM, Vladimir 'phcoder' Serbinenko wrote: > Ident fi

[PATCH 1/18] Use more standard .asciz instead of .string

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Hello. Here begins series of patches to make grub2 compile with apple's toolchain. It's actually just a split of previous patch. As there were no opposition to previous patch I will commit this series soon if nobody opposes -- Regards Vladimir 'phcoder' Serbinenko diff

[PATCH 2/18] Fixes for grub-mkimage for efi

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Fix wrong assumptions -- Regards Vladimir 'phcoder' Serbinenko diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S index 8056731..9ccfbca 100644 --- a/boot/i386/pc/boot.S +++ b/boot/i386/pc/boot.S @@ -390,11 +390,11 @@ general_error: int $0x18 stop: jmp stop -notificat

[PATCH 3/18] start symbol

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Start symbol are required in for .S which are compiled to .img to satisfy the linker in Apple's toolchain (perhaps in other toolchains too). It shouldn't increase the size of .img -- Regards Vladimir 'phcoder' Serbinenko ___ Gru

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

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
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 -- Regards Vladimir 'phcoder' Serbinenko diff --git a/Makefile.in b/Makefile.in index cd79b0b..e00f9c3 100644 --- a/Makefile.in +++ b/Makefile.in @

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

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
This patch checks if cc is Apple's version and enables additional command line arguments if it is -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

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

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
To access an absolute address you need to do it through a label on Apple's cc -- Regards Vladimir 'phcoder' Serbinenko diff --git a/boot/i386/pc/boot.S b/boot/i386/pc/boot.S index fc31f5a..c22dccd 100644 --- a/boot/i386/pc/boot.S +++ b/boot/i386/pc/boot.S @@ -30,7 +30,11 @@ #d

Re: [PATCH 3/18] start symbol

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 4:42 PM, Vladimir 'phcoder' Serbinenko wrote: > Start symbol are required in for .S which are compiled to .img to > satisfy the linker in Apple's toolchain (perhaps in other toolchains > too). It shouldn't increase the size of .img > &g

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

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 4:45 PM, Vladimir 'phcoder' Serbinenko wrote: > This patch checks if cc is Apple's version and enables additional > command line arguments if it is > > -- > Regards > Vladimir 'phcoder' Serbinenko > -- Regards Vladimir &

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

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Unfortunately Apple's CC doesn't accept ebx to be clobbered. This patch makes inline assembly restore ebx -- Regards Vladimir 'phcoder' Serbinenko diff --git a/efiemu/runtime/efiemu.c b/efiemu/runtime/efiemu.c index 5887c48..f73f843 100644 --- a/efiemu/runtime/efiemu.c

[PATCH 8/18] Eliminate nested function in efiemu core

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Instead of adding -fnested-functions to efiemu core compilation I simply removed the only nested functions it had (made it static) -- Regards Vladimir 'phcoder' Serbinenko diff --git a/efiemu/runtime/efiemu.c b/efiemu/runtime/efiemu.c index f73f843..7118813 100644 --- a/efiemu/runtim

[PATCH 9/18] support small mcmodel when compiling 64-bit

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
This patch allows 64-bit grub2 to be compiled on older cc/gcc although with limitation that it can't access memory beyond 4-GiB -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.

[PATCH 11/18] Support objconv

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Apple's CC generates a Mach-O file but grub2 modules need to be ELF. Use objconv (available under GPL from http://www.agner.org/optimize/) to convert. The adjustments needed for objconv have already been incorporated to upstream -- Regards Vladimir 'phcoder' Serbinenko diff --

[PATCH 10/18] sections names in Mach-O

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Section names in Mach-O are of form "SEGMENT, SECTION". -- Regards Vladimir 'phcoder' Serbinenko diff --git a/efiemu/runtime/efiemu.c b/efiemu/runtime/efiemu.c index 7118813..189f502 100644 --- a/efiemu/runtime/efiemu.c +++ b/efiemu/runtime/efiemu.c @@ -40,18 +40,23

[PATCH 12/18] macho2img

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
I found no way to generate a raw image with apple's toolchain so wrote a converter from Mach-O to raw Thanks to Islam M. Ahmed Zaid for pointing me the options to simplify generated Mach-O. -- Regards Vladimir 'phcoder' Serbinenko diff --git a/conf/common.rmk b/conf/common.rm

[PATCH 14/18] Address with 32-bit register in trampolines when compiled with Apple's CC

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Workarounds unsupported feature in Apple's CC. Since trampolines switch to 32-bit mode anyway it should introduce no additional limitation -- Regards Vladimir 'phcoder' Serbinenko diff --git a/loader/i386/linux_trampoline.S b/loader/i386/linux_trampoline.S index eddaaf2..e2cd6

[PATH 13/18] Don't use aliases when compiled with Apple's CC

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Apple's toolchain has troubles handling aliases. Disable them when Apple's toolchain detected. -- Regards Vladimir 'phcoder' Serbinenko diff --git a/conf/common.rmk b/conf/common.rmk index 1b9a6cd..1d0427d 100644 --- a/conf/common.rmk +++ b/conf/common.rmk @@ -12

Re: [PATCH 9/18] support small mcmodel when compiling 64-bit

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 4:52 PM, Vladimir 'phcoder' Serbinenko wrote: > This patch allows 64-bit grub2 to be compiled on older cc/gcc although > with limitation that it can't access memory beyond 4-GiB > > -- > Regards > Vladimir 'phcoder' Serbinenko >

Re: [PATCH 9/18] support small mcmodel when compiling 64-bit

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 4:52 PM, Vladimir 'phcoder' Serbinenko wrote: > This patch allows 64-bit grub2 to be compiled on older cc/gcc although > with limitation that it can't access memory beyond 4-GiB > > -- > Regards > Vladimir 'phcoder' Serbinenko >

[PATCH 15/18] Disable lnxboot.img when building with Apple's CC

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko diff --git a/boot/i386/pc/lnxboot.S b/boot/i386/pc/lnxboot.S index 0db6826..f244fec 100644 --- a/boot/i386/pc/lnxboot.S +++ b/boot/i386/pc/lnxboot.S @@ -24,9 +24,15 @@ #include .file "lnxboot.S" + +#ifdef APPLE

[PATCH 16/18] Define asm symbol macros when compiling on Apple's CC

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko diff --git a/include/grub/symbol.h b/include/grub/symbol.h index ef19a73..68d9f00 100644 --- a/include/grub/symbol.h +++ b/include/grub/symbol.h @@ -28,7 +28,10 @@ # define EXT_C(sym) sym #endif -#if ! defined (__CYGWIN__) && ! de

[PATCH 17/18] Change '\b' to 8

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko diff --git a/include/grub/term.h b/include/grub/term.h index d12d0f0..3251e36 100644 --- a/include/grub/term.h +++ b/include/grub/term.h @@ -31,7 +31,7 @@ #define GRUB_TERM_NPAGE 3 #define GRUB_TERM_ESC '\e' #define GRUB_TER

[PATCH 18/18] Add nop block to workaround a bug in Apple's AS

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko diff --git a/kern/i386/pc/startup.S b/kern/i386/pc/startup.S index 6cdc79a..0a2a174 100644 --- a/kern/i386/pc/startup.S +++ b/kern/i386/pc/startup.S @@ -1120,6 +1120,16 @@ FUNCTION(grub_get_mmap_entry) xnosmap: xorl %ecx, %ecx +/* Apple'

Re: [PATCH] RFC: allow compilation without target libc

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
ba666..654508e 100644 > --- a/loader/multiboot_loader.c > +++ b/loader/multiboot_loader.c > @@ -17,7 +17,6 @@ >  *  along with GRUB.  If not, see <http://www.gnu.org/licenses/>. >  */ > > -#include >  #include >  #include >  #include > @@ -29,6 +28,7 @@ >  #include >  #include >  #include > +#include > >  grub_dl_t my_mod; > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] add true and false commands

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
useful only in normal mode. Perhaps putting them into normal.mod or sh.mod would make more sense? > > -- > Felix Zielcke > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/

Re: status grub2 port of grub-legasy map command

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
active: "active" isn't well-defined with grub2 and it will add unnecessary complexity > -- > Regards, > Pavel Roskin > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

[PATCH] fix scripting problems

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
Hello. This patch fixes a bunch of bugs in scripting engine -- Regards Vladimir 'phcoder' Serbinenko diff --git a/include/grub/script_sh.h b/include/grub/script_sh.h index 159da62..ab5bf43 100644 --- a/include/grub/script_sh.h +++ b/include/grub/script_sh.h @@ -77,11 +77,6

Re: [PATH 13/18] Don't use aliases when compiled with Apple's CC

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 11:48 PM, Pavel Roskin wrote: > On Sat, 2009-05-30 at 17:03 +0200, Vladimir 'phcoder' Serbinenko wrote: >> Apple's toolchain has troubles handling aliases. Disable them when >> Apple's toolchain detected. > > The patch does some ot

Re: [PATCH] fix scripting problems

2009-05-30 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 11:50 PM, Pavel Roskin wrote: > On Sat, 2009-05-30 at 23:43 +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. This patch fixes a bunch of bugs in scripting engine > > Please give a detailed description of the changes. It fixes the followin

Re: [PATCH 2/18] Fixes for grub-mkimage for efi

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 4:40 PM, Vladimir 'phcoder' Serbinenko wrote: > Fix wrong assumptions > Patch contained asciz patch in it > -- > Regards > Vladimir 'phcoder' Serbinenko > -- Regards Vladimir 'phcoder' Serbinenko diff --git a/util/i386/e

Re: [PATCH 1/18] Use more standard .asciz instead of .string

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, May 30, 2009 at 4:39 PM, Vladimir 'phcoder' Serbinenko wrote: > Hello. Here begins series of patches to make grub2 compile with > apple's toolchain. It's actually just a split of previous patch. As > there were no opposition to previous patch I will commit

Re: [PATCH] Faster text rendering by optimizing font glyph lookup

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
_ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: status grub2 port of grub-legasy map command

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
2009/5/31 Javier Martín : > El sáb, 30-05-2009 a las 17:28 +0200, Vladimir 'phcoder' Serbinenko > escribió: >> >> > I'm fine with the change from "const void" to "const char", but we need >> >> > to remove a preceding comment

Re: status grub2 port of grub-legasy map command

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
2009/5/31 Javier Martín : > El dom, 31-05-2009 a las 13:36 +0200, Vladimir 'phcoder' Serbinenko > escribió: >> 2009/5/31 Javier Martín : >> > El sáb, 30-05-2009 a las 17:28 +0200, Vladimir 'phcoder' Serbinenko >> > escribió: >> > Put

Re: status grub2 port of grub-legasy map command

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
o or wrong result) > > [0] http://www.ctyme.com/intr/int-13.htm > Thanks for a useful reference > -- > -- Lazy, Oblivious, Recurrent Disaster -- Habbit > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: status grub2 port of grub-legasy map command

2009-05-31 Thread Vladimir &#x27;phcoder' Serbinenko
osdrive is not required. > If this was reliable then yes but as it will never be user must be able to override it > -- > -- Lazy, Oblivious, Recurrent Disaster -- Habbit > > ___ > Grub-devel maili

Re: status grub2 port of grub-legasy map command

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
t; Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko diff --git a/commands/i386/pc/drivemap.c b/commands/i386/pc/drivemap.c index 98f4378..898fb51 100644 --- a/commands/i386/pc/drivemap.c +++ b/command

Re: [PATCH] support of hfsx ( case comparaison )

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
e offset into the physical disk for an embedded HFS+ filesystem (one inside a plain HFS wrapper). */ int embedded_offset; + int catalog_cmp_key; Where is this used? I see that you set it to a value but don't see you actually using it > Here is a updated patch. > > >

[PATCH] savedefault

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
Hello. Here is a long-awaited savedefault patch. Works correctly only if my scripting fix is applied -- Regards Vladimir 'phcoder' Serbinenko diff --git a/include/grub/menu.h b/include/grub/menu.h index 3bd25e8..bc04e43 100644 --- a/include/grub/menu.h +++ b/include/grub/menu.h @@ -

Re: Data loss at savannah.gnu.org

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
__ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] add true and false commands

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
On Mon, Jun 1, 2009 at 4:18 PM, Felix Zielcke wrote: > Am Samstag, den 30.05.2009, 17:14 +0200 schrieb Vladimir 'phcoder' > Serbinenko: >> On Wed, May 27, 2009 at 2:16 PM, Felix Zielcke wrote: >> > Hi, >> > >> > here's a simple patch whi

Re: background image support in for efi

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
land, with registration number SC005336. > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko __

Re: Data loss at savannah.gnu.org

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
On Mon, Jun 1, 2009 at 4:50 PM, Michael Gorven wrote: > On Monday 01 June 2009 16:22:12 Vladimir 'phcoder' Serbinenko wrote: >> I say we should go for git. It would safeguard us from possible future >> problems with savannah as we can easily switch between different git

Re: status grub2 port of grub-legasy map command

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
2009/6/1 Javier Martín : > El lun, 01-06-2009 a las 11:53 +0200, Vladimir 'phcoder' Serbinenko > escribió: >> > Hmm... from those docs, and accepting that we ignore TSRs, we need to >> > save %ah and %dl at handler entry, then check the saved %ah at exit, >>

[PATCH] Support BSD loading from unnested partition (e.g. on GPT)

2009-06-01 Thread Vladimir &#x27;phcoder' Serbinenko
Hello. Currently if BSD partition is unnested grub2 passes to bsd as if it was booting from 'a' partition. Here is a fix -- Regards Vladimir 'phcoder' Serbinenko diff --git a/loader/i386/bsd.c b/loader/i386/bsd.c index ab3a635..b329927 100644 --- a/loader/i386/bsd.c +++

Re: Data loss at savannah.gnu.org

2009-06-03 Thread Vladimir &#x27;phcoder' Serbinenko
_______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] support of hfsx ( case comparaison )

2009-06-03 Thread Vladimir &#x27;phcoder' Serbinenko
_uint32_t clump_size; // ignored We use /* Ignored. */ style of comments @@ -3106,7 +3112,6 @@ (freetype_libs): Likewise. * util/grub-mkfont.c: New file. - Bogus hunk > > -- > Michael Scherer > > ___ > Grub-devel mailing li

Re: porting Grub to Xen

2009-06-03 Thread Vladimir &#x27;phcoder' Serbinenko
> Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: multiboot take partial mmap

2009-06-03 Thread Vladimir &#x27;phcoder' Serbinenko
ub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: EFI and 32bit vs. 64bit

2009-06-03 Thread Vladimir &#x27;phcoder' Serbinenko
solution to solve this problem? > > -- > Felix Zielcke > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko _

Re: Homepage outdated

2009-06-03 Thread Vladimir &#x27;phcoder' Serbinenko
> Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] fix scripting problems

2009-06-04 Thread Vladimir &#x27;phcoder' Serbinenko
Commited On Sun, May 31, 2009 at 12:05 AM, Vladimir 'phcoder' Serbinenko wrote: > On Sat, May 30, 2009 at 11:50 PM, Pavel Roskin wrote: >> On Sat, 2009-05-30 at 23:43 +0200, Vladimir 'phcoder' Serbinenko wrote: >>> Hello. This patch fixes a bunch of bugs i

Re: status grub2 port of grub-legasy map command

2009-06-04 Thread Vladimir &#x27;phcoder' Serbinenko
>> I think the other >> part of the patch should be committed right now, though. > This might be a problem ;) (we still have no repository online:( ) Commited -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailin

Re: multiboot take partial mmap

2009-06-04 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jun 4, 2009 at 10:07 PM, Andrey Valyaev wrote: > On Четверг 04 июня 2009 03:18:15 Vladimir 'phcoder' Serbinenko wrote: >> > My kernel worked fine with grub-legacy. >> > But encounter problem. >> > kernel receive mmap up to 1meg... >> Be sur

Re: status grub2 port of grub-legasy map command

2009-06-05 Thread Vladimir &#x27;phcoder' Serbinenko
On Mon, Jun 1, 2009 at 11:45 PM, Vladimir 'phcoder' Serbinenko wrote: > 2009/6/1 Javier Martín : >> El lun, 01-06-2009 a las 11:53 +0200, Vladimir 'phcoder' Serbinenko >> escribió: >>> > Hmm... from those docs, and accepting that we ignore TSRs, we

Re: [PATCH] RFC: allow compilation without target libc

2009-06-05 Thread Vladimir &#x27;phcoder' Serbinenko
7 @@ >  #include >  #include >  #include > +#include > >  static grub_addr_t entry; >  extern grub_dl_t my_mod; > diff --git a/loader/multiboot_loader.c b/loader/multiboot_loader.c > index 11ba666..654508e 100644 > --- a/loader/multiboot_loader.

[PATCH] drivemap fixes

2009-06-05 Thread Vladimir &#x27;phcoder' Serbinenko
t.mod to platform-specific files but this inflexibility of build system is a subject for another patch -- Regards Vladimir 'phcoder' Serbinenko diff --git a/commands/i386/pc/drivemap.c b/commands/i386/pc/drivemap.c index 898fb51..92781a0 100644 --- a/commands/i386/pc/drivemap.c +++ b/c

Re: 'password' command in GRUB 2?

2009-06-05 Thread Vladimir &#x27;phcoder' Serbinenko
in question is whether we want something simple to use or something very extendable. My approach would be: http://lists.gnu.org/archive/html/grub-devel/2009-03/msg00156.html > Thanks, > > -- > Colin Watson                                       [cjwat...@ubuntu.com] > > > ____

Re: [PATCH] support of hfsx ( case comparaison )

2009-06-05 Thread Vladimir &#x27;phcoder' Serbinenko
___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] add a --disk-module option to grub-install

2009-06-05 Thread Vladimir &#x27;phcoder' Serbinenko
r i386-pc to >> make it easier for users to try out ata mod instead of biosdisk. > > Args I forgot the actual parsing of the option. > -- > Felix Zielcke > > ___ > Grub-devel mailing

Re: 2273 lines in 170 files consists of only space and tabulators

2009-06-06 Thread Vladimir &#x27;phcoder' Serbinenko
moves these spaces too I think we should remove them too as it's easier to maintain if style is the same as from ident >> >> Felix Zielcke > > > > _______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.or

Re: [PATCH] support of hfsx ( case comparaison )

2009-06-07 Thread Vladimir &#x27;phcoder' Serbinenko
son for users to have unicode characters in kernel names. And so getting it right is too much work for an almost zero benefit > > -- > Regards, > Pavel Roskin > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http

Re: [PATCH] savedefault

2009-06-07 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, Jun 7, 2009 at 9:50 AM, Felix Zielcke wrote: > Am Montag, den 01.06.2009, 12:48 +0200 schrieb Vladimir 'phcoder' > Serbinenko: >> Hello. Here is a long-awaited savedefault patch. Works correctly only >> if my scripting fix is applied > > What happens if

Re: [PATCH] savedefault

2009-06-07 Thread Vladimir &#x27;phcoder' Serbinenko
t; the same time, for example, we could write something like this: > > event add menu.select_check password > event add menu.commandline_check password > > password command is run when user tries to select the menu item or > enter command line. > > On Mon, Jun 1, 2009 at 6

Re: [PATCH] add drivemap support to 30_os-prober.in and use UUIDs

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
or doc strings, it is enough to write > an entry for the file, without mentioning the functions.  Just "Doc > fixes" is enough for the change log.' > > -- > Regards, > Pavel Roskin > > > ________

Re: [PATCH] drivemap fixes

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
__ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko diff --git a/ChangeLog b/ChangeLog index cb6fe3f..ff534ce 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,34 @@ +2009-06-0

Re: echo and hello bug

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
g list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] gracefully ignore inability to retrieve C/H/S on LBA disks

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
committed On Sun, May 17, 2009 at 3:34 PM, Vladimir 'phcoder' Serbinenko wrote: > Hello. Here is a workaround for buggy BIOSes not supplying C/H/S geometry > > -- > Regards > Vladimir 'phcoder' Serbinenko > --

Re: multiboot take partial mmap

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
On Fri, Jun 5, 2009 at 11:10 AM, Colin Watson wrote: > On Fri, Jun 05, 2009 at 03:24:09AM +0200, Vladimir 'phcoder' Serbinenko wrote: >> On Thu, Jun 4, 2009 at 10:07 PM, Andrey Valyaev wrote: >> > PS: latest svn revision (from 2243) failed with message: >> > &g

Re: [PATCH] hfs+ uuid

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, May 3, 2009 at 6:55 PM, Pavel Roskin wrote: > On Sun, 2009-05-03 at 12:42 +0200, Vladimir 'phcoder' Serbinenko wrote: >> This is a patch to support UUIDs on HFS+. MD5 code is copied from >> Michael Gorven's patch which is copied from libgcrypt nearly verbat

Re: [PATCH] hfs+ uuid

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
Attachement forgotten On Mon, Jun 8, 2009 at 10:50 PM, Vladimir 'phcoder' Serbinenko wrote: > On Sun, May 3, 2009 at 6:55 PM, Pavel Roskin wrote: >> On Sun, 2009-05-03 at 12:42 +0200, Vladimir 'phcoder' Serbinenko wrote: >>> This is a patch to support

Re: [PATCH] Link usb controller struct only when initialised

2009-06-08 Thread Vladimir &#x27;phcoder' Serbinenko
___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: echo and hello bug

2009-06-09 Thread Vladimir &#x27;phcoder' Serbinenko
> 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 -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel

[PATCH] probe command

2009-06-09 Thread Vladimir &#x27;phcoder' Serbinenko
Following Pavel's suggestion to make uuid command I implemented probe command similar to grub-probe -- Regards Vladimir 'phcoder' Serbinenko diff --git a/ChangeLog b/ChangeLog index 34c5bc1..f22780f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +2009-06-08 Vlad

Re: porting Grub to Xen

2009-06-09 Thread Vladimir &#x27;phcoder' Serbinenko
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

Re: [Fwd: [PATCH] Some pxe fixes.]

2009-06-09 Thread Vladimir &#x27;phcoder' Serbinenko
+          return -1; > +        } >       data->packet_number = 0; >       curr_file = file; >     } > @@ -246,8 +252,8 @@ >  } > >  static grub_err_t > -grub_pxefs_label (grub_device_t device __attribute ((unused)), > -  

Re: [PATCH] probe command

2009-06-09 Thread Vladimir &#x27;phcoder' Serbinenko
't have strong preference for one or other option but it can't say "pc" on both hd0 and hd0,1 P.S. could you improve & commit your target libc patch? > > -- > Regards, > Pavel Roskin > > > _______ > Grub-devel ma

Re: [PATCH] Re: grub-install --root-directory=/mnt /dev/sda1 fails

2009-06-09 Thread Vladimir &#x27;phcoder' Serbinenko
, 21:39 +0200 schrieb Felix Zielcke: >> Am Mittwoch, den 06.05.2009, 17:12 +0200 schrieb Vladimir 'phcoder' >> Serbinenko: >> > Don't we already have a function which transforms host directory into >> > grub >> > directory? AFAIR we have. >> &

Re: [PATCH] probe command

2009-06-10 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jun 9, 2009 at 11:48 PM, Pavel Roskin wrote: > On Tue, 2009-06-09 at 22:55 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> > --target=partmap doesn't work on whole disks. >> It was the intent. I'm norking on nested partitions and consider the >

Re: [PATCH] hfs+ uuid

2009-06-10 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jun 9, 2009 at 12:01 AM, Pavel Roskin wrote: > On Mon, 2009-06-08 at 22:50 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> Here is the improved patch. I deliberately ignored md5 comments >> because this part will be gone anyway whel Michael Gorven signs his &g

[PATCH] more scripting fixes

2009-06-10 Thread Vladimir &#x27;phcoder' Serbinenko
Hello. I discovered that the lines like echo \"hello\" and echo "a b" weren't parsed correctly. Here is a fix. I have tested it throughly yet -- Regards Vladimir 'phcoder' Serbinenko diff --git a/ChangeLog b/ChangeLog index 3eb4bfd..4b3bf75 100644 --- a/Chan

Re: grub-mkconfig fails on every non i386-pc because of gfxterm/vbe

2009-06-11 Thread Vladimir &#x27;phcoder' Serbinenko
Debian >> specific issue).  Setting defaults in grub-mkconfig should be done very >> carefully, as the numbered scripts treat those defaults as explicit >> requests by the user. > > So you would prefer something like the attached patch? > Though then we'll need to tell p

Re: [PATCH] drivemap fixes

2009-06-11 Thread Vladimir &#x27;phcoder' Serbinenko
Committed On Mon, Jun 8, 2009 at 1:40 PM, Vladimir 'phcoder' Serbinenko wrote: > On Mon, Jun 8, 2009 at 4:10 AM, Pavel Roskin wrote: >>  Also, it would be great >> if you specify, which exactly problems the patch fixes. > You missed that part because it was in the pr

Re: Warning free build achieved for most platforms

2009-06-11 Thread Vladimir &#x27;phcoder' Serbinenko
l@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] savedefault

2009-06-11 Thread Vladimir &#x27;phcoder' Serbinenko
Hello On Mon, Jun 8, 2009 at 9:37 AM, Bean wrote: > On Sun, Jun 7, 2009 at 10:51 PM, Vladimir 'phcoder' > Serbinenko wrote: >> Hello. Welcome back >> >> On Sun, Jun 7, 2009 at 11:35 AM, Bean wrote: >>> Hi, >>> >>> Actually, I'm

Re: [2290] 2009-06-10 Pavel Roskin

2009-06-11 Thread Vladimir &#x27;phcoder' Serbinenko
4.3.2 man page, '-nostdlib' usually requires > '-lgcc'. Try compiling but not linking using -c option. If it works you can commit it since we never do complete linking for target > > -- > Regards, > Christian Franke > > > > ___ >

Re: [2290] 2009-06-10 Pavel Roskin

2009-06-11 Thread Vladimir &#x27;phcoder' Serbinenko
On Thu, Jun 11, 2009 at 9:57 PM, Christian Franke wrote: > Vladimir 'phcoder' Serbinenko wrote: >>> >>> The link test in grub_PROG_TARGET_CC fails due to missing '__main' symbol >>> from libgcc. According to gcc 4.3.2 man page, '-nostdlib

<    1   2   3   4   5   6   7   8   9   10   >