Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-18 Thread Vladimir 'phcoder' Serbinenko
On Sat, Jul 18, 2009 at 8:42 PM, Robert Millan wrote: > On Fri, Jul 17, 2009 at 06:41:59PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> Sometimes a media that can be partioned isn't really partioned. E.g. >> usb sticks. This is a patch to handle this situation. &

Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-18 Thread Vladimir 'phcoder' Serbinenko
On Sat, Jul 18, 2009 at 8:45 PM, Robert Millan wrote: > On Fri, Jul 17, 2009 at 05:51:40PM +0100, Colin Watson wrote: >> On Fri, Jul 17, 2009 at 06:41:59PM +0200, Vladimir 'phcoder' Serbinenko >> wrote: >> > Sometimes a media that can be partioned isn't

Re: [PATCH] Bug fix for LVM

2009-07-18 Thread Vladimir 'phcoder' Serbinenko
t;>> +      int is_lvm = 0; >>> +      int is_raid = 0; >> >> I think you can add const qualifier in the is_lvm one. >> >>> +      is_lvm = (dev->disk->dev->id == GRUB_DISK_DEVICE_LVM_ID); >>> +      is_raid |= (dev->disk->dev->id ==

Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-18 Thread Vladimir 'phcoder' Serbinenko
e DRM opt-in fallacy: "Your data belongs to us. We will decide when (and >  how) you may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > > > ___________ >

Re: [PATCH] enable buildable targets by default

2009-07-18 Thread Vladimir 'phcoder' Serbinenko
t;  how) you may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http:

Re: [PATCH] AFS fixes and improvements

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
On Sun, Jul 19, 2009 at 7:11 AM, Pavel Roskin wrote: > Quoting Vladimir 'phcoder' Serbinenko : > >> Update: added symlink support >> >> On Fri, Jul 17, 2009 at 9:30 PM, Vladimir 'phcoder' >> Serbinenko wrote: >>> >>> Hello.

Re: [PATCH] AFS fixes and improvements

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
l do. I use the publically-available image from > http://web.syllable.org/pages/get-Syllable.html#emulate >> -- >> Regards, >> Pavel Roskin >> >> >> ___ >> Grub-devel mailing list >> Grub-devel@gnu.org &g

Re: [PATCH] BFS support

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
On Sat, Jul 18, 2009 at 8:51 PM, Robert Millan wrote: > On Sat, Jul 18, 2009 at 12:59:45AM +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. Here is a patch to add BFS support to GRUB2. BFS is a >> filesystem which was originally developped by Be, Inc for their >>

Re: [PATCH 2/2] Disable lzo compression, lzma is doing its job just fine

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
evel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] AFS fixes and improvements

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
On Sun, Jul 19, 2009 at 10:10 PM, Pavel Roskin wrote: > On Sun, 2009-07-19 at 15:20 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> > -  if ((! dir->inode.stream.size) || >> > +  if ((dir->inode.stream.size == 0) || >> > >> > The later i

Re: [PATCH] AFS fixes and improvements

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
On Sun, Jul 19, 2009 at 9:56 PM, Pavel Roskin wrote: > On Sun, 2009-07-19 at 17:34 +0200, Vladimir 'phcoder' Serbinenko wrote: >> >> It's better to split fixes from the new features. >> Attached patches >> >> >> >> I don'

Re: [PATCH] AFS fixes and improvements

2009-07-19 Thread Vladimir 'phcoder' Serbinenko
       grub_dprintf ("gpt", "GPT entry %d: start=%lld, length=%lld\n", i, >                        (unsigned long long) part.start, > > > -- > Regards, > Pavel Roskin > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] AFS fixes and improvements

2009-07-20 Thread Vladimir 'phcoder' Serbinenko
On Sun, Jul 19, 2009 at 10:47 PM, Pavel Roskin wrote: > On Sun, 2009-07-19 at 22:40 +0200, Vladimir 'phcoder' Serbinenko wrote: >> > I prefer not to fix minor memory leaks by huge patches.  I have a patch, >> > I just wanted to look at the possibility to use grub_kza

Re: [PATCH] Clear out gfxterm's virtual text_buffer - fixes junk at end of lines

2009-07-20 Thread Vladimir 'phcoder' Serbinenko
spaces before '{' and '}'. Other than this patch is good. Committed > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] AFS fixes and improvements

2009-07-20 Thread Vladimir 'phcoder' Serbinenko
On Mon, Jul 20, 2009 at 8:34 PM, Pavel Roskin wrote: > On Mon, 2009-07-20 at 11:36 +0200, Vladimir 'phcoder' Serbinenko wrote: >> On Sun, Jul 19, 2009 at 10:47 PM, Pavel Roskin wrote: >> > I think we should release 1.97 first.  Sorry, I know that it's bad to >

Re: [PATCH] BFS support

2009-07-20 Thread Vladimir 'phcoder' Serbinenko
Committed On Sun, Jul 19, 2009 at 6:01 PM, Vladimir 'phcoder' Serbinenko wrote: > On Sat, Jul 18, 2009 at 8:51 PM, Robert Millan wrote: >> On Sat, Jul 18, 2009 at 12:59:45AM +0200, Vladimir 'phcoder' Serbinenko >> wrote: >>> Hello. Here is a

[PATCH] UUID support for UFS

2009-07-21 Thread Vladimir 'phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index 02d5af1..f7275bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2009-07-21 Vladimir Serbinenko + UUID suppo

[PATCH] Support FreeBSD in osdetect.lua

2009-07-21 Thread Vladimir 'phcoder' Serbinenko
Support FreeBSD on both UFS and ZFS. Requires my zfs.mod for zfs and my ufs uuid patch for UFS -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/util/osdetect.lua b/util/osdetect.lua index 38a9099..1d09500 100644

Re: [PATCH] UUID support for UFS

2009-07-21 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jul 21, 2009 at 7:14 PM, Pavel Roskin wrote: > On Tue, 2009-07-21 at 15:03 +0200, Vladimir 'phcoder' Serbinenko wrote: >> +      grub_sprintf (*uuid, "%08lx%08lx", >> +                   (unsigned long) grub_le_to_cpu32 (data->sblock.uuidhi),

Re: [PATCH] Support FreeBSD in osdetect.lua

2009-07-21 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jul 21, 2009 at 6:02 PM, Pavel Roskin wrote: > On Tue, 2009-07-21 at 15:45 +0200, Vladimir 'phcoder' Serbinenko wrote: >> Support FreeBSD on both UFS and ZFS. Requires my zfs.mod for zfs and >> my ufs uuid patch for UFS > >> +     grub.add_menu

Re: [PATCH] UUID support for UFS

2009-07-21 Thread Vladimir 'phcoder' Serbinenko
On Tue, Jul 21, 2009 at 11:31 PM, Pavel Roskin wrote: > On Tue, 2009-07-21 at 20:46 +0200, Javier Martín wrote: >> Vladimir 'phcoder' Serbinenko escribió: >> > On Tue, Jul 21, 2009 at 7:14 PM, Pavel Roskin wrote: >> >> On Tue, 2009-07-21 at 15:03 +0

Re: [PATCH] Support FreeBSD in osdetect.lua

2009-07-21 Thread Vladimir 'phcoder' Serbinenko
> Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: grub-0.97/VFS

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
ve a look at fs/fshelp.c? It's a generic module of library functions used by other filesystems and is somewhat similar to what you describe -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git _

Re: grub-0.97/btrfs: the files fsys_btrfs.c, btrfs.h

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
lready have such experience porting zfs from grub-solaris to grub2 > > -- > Felix Zielcke > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards

Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
ck free. These are supported too > > -- > Regards, > Pavel Roskin > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbi

Re: [PATCH] UUID support for UFS

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
On Wed, Jul 22, 2009 at 7:40 PM, Robert Millan wrote: > On Tue, Jul 21, 2009 at 03:03:34PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> +  grub_uint32_t uuidhi; >> +  grub_uint32_t uuidlow; >> [...] >> +      grub_sprintf (*uuid, "%08lx%

[RFC] Replace genmk.rb with GNU make construction

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
i386-pc build is untested 3) make clean fails because of command line is too long -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/Makefile.in b/Makefile.in index 25acce7..9d7ce62 100644 --- a/Makefile.in +++ b/Makefile

Re: [PATCH] Support FreeBSD in osdetect.lua

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinf

Re: [PATCH] Fix chainloding + Chainloading into logical partitions

2009-07-22 Thread Vladimir 'phcoder' Serbinenko
g it could be applied quickly. Could you test nestpart branch of my repository? > Thanks. > > -- > Jean-Pierre Flori > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > &g

Re: [PATCH] Fix chainloding + Chainloading into logical partitions

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
On Thu, Jul 23, 2009 at 2:04 AM, Pavel Roskin wrote: > On Thu, 2009-07-23 at 00:18 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> There is strictly no need to do this restructuration. The real bug is >> different fix would be setting dev->disk->partition to 0 be

Re: [PATCH 3/4] Change grub_file_seek() to return grub_err_t

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
grub_file_seek (macho->file, 0) != GRUB_ERR_NONE) >     goto fail; > >   if (grub_file_read (macho->file, &filestart, sizeof (filestart)) > @@ -316,8 +316,8 @@ grub_macho_file (grub_file_t file) > >       /* Load architecture description. */ >       narchs = grub_be_to_cpu32 (filestart.fat.nfat_arch); > -      if (grub_file_seek (macho->file, sizeof (struct grub_macho_fat_header)) > -         == (grub_off_t) -1) > +      if (grub_file_seek (macho->file, sizeof (struct > grub_macho_fat_header)) != > +         GRUB_ERR_NONE) >        goto fail; >       archs = grub_malloc (sizeof (struct grub_macho_fat_arch) * narchs); >       if (!archs) > diff --git a/loader/xnu_resume.c b/loader/xnu_resume.c > index 77f6887..998e61e 100644 > --- a/loader/xnu_resume.c > +++ b/loader/xnu_resume.c > @@ -103,7 +103,7 @@ grub_xnu_resume (char *imagename) >     } > >   /* Read image. */ > -  if (grub_file_seek (file, 0) == (grub_off_t)-1 > +  if (grub_file_seek (file, 0) != GRUB_ERR_NONE >       || grub_file_read (file, buf, hibhead.image_size) >       != (grub_ssize_t) hibhead.image_size) >     { > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH 2/3] Eliminate grub_dl_call_init()

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
*e) >  { > @@ -559,7 +552,8 @@ grub_dl_load_core (void *addr, grub_size_t size) > >   mod->ref_count = 1; > > -  grub_dl_call_init (mod); > +  if (mod->init) > +    (mod->init) (mod); > >   return mod; >  } > > > ________

Re: [PATCH 1/3] Don't initialize module before grub_dl_add() succeeds

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
it (mod); > > -  if (grub_dl_add (mod)) > -    { > -      grub_dl_unload (mod); > -      return 0; > -    } > +  mod->ref_count = 1; > + > +  grub_dl_call_init (mod); > >   return mod; >  } > > > ___ > Grub-devel mailing list >

[BUGFIX] Fix cut menuentry on failed boot

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
Hello. If syntax error in menu entry occurs it oftens results in the menu cut after first line. Here is the fix -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index a0780ab..8824f1c 10

[BUGFIX] Don't use DT_DIR: It doesn't work on non-ext* filesystems

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index a0780ab..16aab92 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-07-23 Vladimir Serbinenko + + * util/hostfs.c (grub_

[PATCH] zero-fill entry before asking BIOS for memory map

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
Hello. According to xen some BIOSes update only lower 32-bit in mmap entries. To workaround this and not get high values in memory map zero-fill before calling BIOS -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/C

[PATCH 2/2] SDL support

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
Hello. Here is already-discussed SDL support -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/Makefile.in b/Makefile.in index 25acce7..b9b9cda 100644 --- a/Makefile.in +++ b/Makefile.in @@ -95,12 +95,14 @@ endif

Fwd: [PATCH 1/2] Framebuffer split

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
Hello. Here is a framebuffer split which has already been discussed. This patch contains some code by Collin D Bennett in addition to my code. Sorry for compression but maillist server doesn't accept it otherwise -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: ht

Re: [PATCH] Check for the appropriate condition in types.h

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
azy, Oblivious, Recurrent Disaster -- Habbit > > _______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko Personal git repos

Re: [RFC, PATCH] C99 format specifiers for fixed-length integer types

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
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 Perso

Re: [PATCH] Check for the appropriate condition in types.h

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
to ensure that the target is below 4GiB (see my mm propositions for more on how to ensure it). But I'm ok with requirement of additional explicit cast in such cases as (grub_uint32_t) PTR_TO_UINT (x) > -- > Regards, > Pavel Roskin > > > ___________

Re: [RFC, PATCH] C99 format specifiers for fixed-length integer types

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
On Thu, Jul 23, 2009 at 10:16 PM, Pavel Roskin wrote: > On Thu, 2009-07-23 at 21:51 +0200, Vladimir 'phcoder' Serbinenko wrote: >> 2009/7/23 Javier Martín : >> > Here is a new version which also incorporates the C99 integer constant >> > macros. To avoid excess

Re: [PATCH 2/2] SDL support

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
On Thu, Jul 23, 2009 at 10:32 PM, Pavel Roskin wrote: > On Thu, 2009-07-23 at 11:49 +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. Here is already-discussed SDL support > > The patch refers to video/fb/video_fb.c, which is not included. Well it's PATCH 2/2 and

Re: [PATCH] zero-fill entry before asking BIOS for memory map

2009-07-23 Thread Vladimir 'phcoder' Serbinenko
On Thu, Jul 23, 2009 at 11:31 PM, Pavel Roskin wrote: > On Thu, 2009-07-23 at 11:38 +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. According to xen some BIOSes update only lower 32-bit in mmap >> entries. To workaround this and not get high values in memory map &g

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-24 Thread Vladimir 'phcoder' Serbinenko
Regards, > Pavel Roskin > > > ___________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [Fwd: Re: Bug#495949: grub-common: grub-probe segfaults]

2009-07-24 Thread Vladimir 'phcoder' Serbinenko
_________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-24 Thread Vladimir 'phcoder' Serbinenko
uments feel free to post them, as any sane person I'm ready to change my opinion in face of good arguments > > -- > Regards, > Pavel Roskin > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/ma

Re: [Fwd: Re: Bug#495949: grub-common: grub-probe segfaults]

2009-07-24 Thread Vladimir 'phcoder' Serbinenko
ore partitions are sane for install (e.g. sun_pc I recently implemented for solaris is) then I prefer to add them manually > > > -- > Regards, > Pavel Roskin > > > _______ > Grub-devel mailing list > Grub-devel@gnu.org > http:/

Re: [Fwd: Re: Bug#495949: grub-common: grub-probe segfaults]

2009-07-24 Thread Vladimir 'phcoder' Serbinenko
On Fri, Jul 24, 2009 at 10:56 PM, Pavel Roskin wrote: > On Fri, 2009-07-24 at 22:37 +0200, Vladimir 'phcoder' Serbinenko wrote: > >> Actualy I already fixed this in my patch for installing on >> partitionless devices. Since there were no oppositions I'll co

Re: [Fwd: Bug#503344: Grub-pc fails on IBM x3250 configured with RAID-1]

2009-07-25 Thread Vladimir 'phcoder' Serbinenko
__________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-07-25 Thread Vladimir 'phcoder' Serbinenko
On Fri, Jul 24, 2009 at 1:41 AM, Pavel Roskin wrote: > On Thu, 2009-07-23 at 11:52 +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. Here is a framebuffer split which has already been discussed. >> This patch contains some code by Collin D Bennett in addition

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-25 Thread Vladimir 'phcoder' Serbinenko
On Fri, Jul 24, 2009 at 11:03 PM, Pavel Roskin wrote: > On Fri, 2009-07-24 at 22:35 +0200, Vladimir 'phcoder' Serbinenko wrote: > This is still allowed: > > MBR  >  Ext >        Logical  <-/ AFAIK this isn't even possible since e->star

Re: [PATCH] DAC palette width retrieval

2009-07-25 Thread Vladimir &#x27;phcoder' Serbinenko
nfo->rsvd_mask_size + = width; Perhaps mode_info->rsvd_mask_size could be left at 0? I don't think index colors have any alpha -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Support FreeBSD in osdetect.lua

2009-07-25 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 Personal git repository: http://repo.or.cz/w/grub2/phcoder.git _

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-25 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 Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] DAC palette width retrieval

2009-07-25 Thread Vladimir &#x27;phcoder' Serbinenko
quot;Your data belongs to us. We will decide when (and >  how) you may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > > > _______ > Grub-devel mailing li

Re: Rotated menu on EFI?

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

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-25 Thread Vladimir &#x27;phcoder' Serbinenko
of such kind I will implement it and submit a patch and we'll see how really compact it is -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gn

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-25 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, Jul 26, 2009 at 12:35 AM, Vladimir 'phcoder' Serbinenko wrote: >> Links backwards between extended partition entries are more likely to be >> due to data corruption than due to buggy partitoning tools.  OK, if you >> want, let's support up to 10 backwar

Re: [PATCH] fix an infinite loop with a corrupted pc partition table

2009-07-25 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, Jul 26, 2009 at 12:58 AM, Vladimir 'phcoder' Serbinenko wrote: > On Sun, Jul 26, 2009 at 12:35 AM, Vladimir 'phcoder' > Serbinenko wrote: >>> Links backwards between extended partition entries are more likely to be >>> due to data corruption than

Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-26 Thread Vladimir &#x27;phcoder' Serbinenko
On Wed, Jul 22, 2009 at 7:46 PM, Pavel Roskin wrote: > On Wed, 2009-07-22 at 19:43 +0200, Vladimir 'phcoder' Serbinenko wrote: >> On Wed, Jul 22, 2009 at 7:36 PM, Pavel Roskin wrote: >> > On Wed, 2009-07-22 at 19:16 +0200, Robert Millan wrote: >> > boot.img

Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-26 Thread Vladimir &#x27;phcoder' Serbinenko
On Wed, Jul 22, 2009 at 7:22 PM, Robert Millan wrote: > On Sat, Jul 18, 2009 at 11:28:58PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> > I don't understand what you mean here. >> Let's take a common example of cdrom. Most of the users and developers &g

Re: Re[2]: 'password' command in GRUB 2?

2009-07-26 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 Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Re[2]: 'password' command in GRUB 2?

2009-07-26 Thread Vladimir &#x27;phcoder' Serbinenko
On Sun, Jul 26, 2009 at 6:20 PM, Vladimir 'phcoder' Serbinenko wrote: >>> If I remember correctly, I had improved on the first patch to include >>> most of the remarks. I'll have a look if I can find back the modified >>> patch, and send it to the list for

Re: [bug #27100] [REGRESSION] multiboot can't load freeldr.sys

2009-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
>  Message sent via/by Savannah >  http://savannah.gnu.org/ > > > > _______ > Bug-grub mailing list > bug-g...@gnu.org > http://lists.gnu.org/mailman/listinfo/bug-grub > -- Regards Vladimir 'phcoder' Serbine

[PATCH] Fix CPUID documentation and return values

2009-07-27 Thread Vladimir &#x27;phcoder' Serbinenko
artially based on original patch by Robert Millan -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index 752bde8..ab758eb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-07-27 Vla

[PATCH] Support Apple partition map with sector size different from 512 bytes.

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index 752bde8..1502765 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-28 Vladimir Serbinenko + + Support Apple partitio

Re: [PATCH] Support Apple partition map with sector size different from 512 bytes.

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
Reading specs revealed further problems. Here is a fix -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index 752bde8..2c46f76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2009-07-28

Re: [PATCH] Fix CPUID documentation and return values

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jul 28, 2009 at 8:15 PM, Robert Millan wrote: > On Tue, Jul 28, 2009 at 01:03:51AM +0200, Vladimir 'phcoder' Serbinenko wrote: >> Hello. CPUID command currently doesn't return a real grub_err_t and >> errors aren't set which doesn't fit in gru

Re: [PATCH] Support Apple partition map with sector size different from 512 bytes.

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jul 28, 2009 at 8:16 PM, Robert Millan wrote: > On Tue, Jul 28, 2009 at 12:40:32PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> --- a/partmap/apple.c >> +++ b/partmap/apple.c >> @@ -30,6 +30,7 @@ struct grub_apple_header >>    /* The magic number to

Re: Rotated menu on EFI?

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
w) you may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/ma

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jul 28, 2009 at 7:50 PM, Robert Millan wrote: > On Mon, Jul 27, 2009 at 12:06:17AM +0200, Vladimir 'phcoder' Serbinenko wrote: >> Removed parts which are purely moving code around (of course it will >> be restored on commit). > > This is not a full re

Re: Rotated menu on EFI?

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
I'm concerned > > Thanks > > Michal > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or

Re: [PATCH] Fix when installing on pationless but partionable medium

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jul 28, 2009 at 7:33 PM, Robert Millan wrote: > On Sun, Jul 26, 2009 at 03:54:41PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> +      for (i = 0; i < 4; i++) >> +     if (mbr.entries[i].flag & 0x7f) >> +       break; >> + >

Re: multiboot2

2009-07-28 Thread Vladimir &#x27;phcoder' Serbinenko
is would encourage creation of OS working on > all branches of i386 including coreboot What about reserving a tag which will contain a copy of smbios anchor and another for containing a copy of rsdp? > I think on many platforms it's possible to pass some number of parameters to >

Fwd: GRUB overwriting partition tables

2009-07-29 Thread Vladimir &#x27;phcoder' Serbinenko
-- Forwarded message -- From: René Herman Date: Wed, Jul 29, 2009 at 3:41 PM Subject: Re: GRUB overwriting partition tables To: Vladimir 'phcoder' Serbinenko On 07/29/2009 12:30 PM, Vladimir 'phcoder' Serbinenko wrote: >>  Device Boot    Start      

Re: GRUB overwriting partition tables

2009-07-29 Thread Vladimir &#x27;phcoder' Serbinenko
mber e.g. 1000 or 2000 isn't more difficult to remember than it starting at sector 1. 1000 sectors is only 500 KiB you probably won't miss them much but it gives grub2 enough space for a lot of things. > > Regards, > Rene > > > > > -- > Regards >

Re: [PATCH] Centralizing understanding of far pointers

2009-07-29 Thread Vladimir &#x27;phcoder' Serbinenko
e code will have to move from i386/pc/memory.h > to i386/memory.h. And what about x86_64? Put a memory.h in x86_64/memory.h which will include i386/memory.h -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git

Re: [PATCH] Support Apple partition map with sector size different from 512 bytes.

2009-07-29 Thread Vladimir &#x27;phcoder' Serbinenko
On Tue, Jul 28, 2009 at 11:10 PM, Vladimir 'phcoder' Serbinenko wrote: > On Tue, Jul 28, 2009 at 8:16 PM, Robert Millan wrote: >> On Tue, Jul 28, 2009 at 12:40:32PM +0200, Vladimir 'phcoder' Serbinenko >> wrote: >>> --- a/partmap/apple.c >>&g

Re: Patch to compile boot.img properly on OSX

2009-07-30 Thread Vladimir &#x27;phcoder' Serbinenko
S spilled into > the build system.  This will need to be cleaned up as well. > > -- > Regards, > Pavel Roskin > > > _______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.

[BUGFIX] Incorrect count of argument with rescue parser

2009-07-30 Thread Vladimir &#x27;phcoder' Serbinenko
This patch fixes the parsing of two strings like following ones: "echo 1 " was parsed into "echo", "1", "" "echo $root" was parsed into "echo" (variable just disappeared) -- Regards Vladimir 'phcoder' Serbinenko Perso

Re: [BUGFIX] Incorrect count of argument with rescue parser

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
On Fri, Jul 31, 2009 at 6:17 AM, Pavel Roskin wrote: > On Fri, 2009-07-31 at 00:46 +0200, Vladimir 'phcoder' Serbinenko wrote: >> This patch fixes the parsing of two strings like following ones: >> "echo 1 " was parsed into "echo", "1", &

Re: [PATCH] nested partitions

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
On Fri, Jul 31, 2009 at 9:58 AM, Marco Gerards wrote: > "Vladimir 'phcoder' Serbinenko" writes: > >> Rediff >> >> On Thu, Jun 11, 2009 at 5:51 PM, Vladimir 'phcoder' >> Serbinenko wrote: >>> Hello. Here is a first version

Re: Grub-devel Digest, Vol 65, Issue 108

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
y GRUB two is in version one dot ninety seven not version two dot ... ? > Because 2.0 is our first goal and now we're at (2.0 - 0.035) > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub

Re: grub-probe, but in reverse?

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
t; Asking for an input like "/dev/sda1" isn't a big change. Bug choice list is of course better > -- > Colin Watson                                       [cjwat...@ubuntu.com] > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://

[PATCH] Fix hexdump not to duplicate code with kern/partition.c

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
Splitted from nested partition patch -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index e553828..e987af6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-06-08 Vladimir

Re: [PATCH] nested partitions

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
On Fri, Jul 31, 2009 at 9:48 PM, Vladimir 'phcoder' Serbinenko wrote: >>> What makes this experimental and dangerous?  Can you send in a patch >>> that isn't? >> Only that I touch core size > *core functionality >> and when I submitted it, it was onl

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-07-31 Thread Vladimir &#x27;phcoder' Serbinenko
ve your data and not access it at all." > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git _

[RFC] Don't pass filename in multiboot command line

2009-08-01 Thread Vladimir &#x27;phcoder' Serbinenko
as first argument of multiboot/module command line E.g. multiboot /RPOOL/opensolaris/@/platform/i86pc/kernel /platform/i86pc/kernel -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index e553828..429bb7

Re: [PATCH] fix usability problem in FreeBSD loader

2009-08-01 Thread Vladimir &#x27;phcoder' Serbinenko
decide when (and >  how) you may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists

Re: [RFC] Don't pass filename in multiboot command line

2009-08-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 Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-01 Thread Vladimir &#x27;phcoder' Serbinenko
a belongs to us. We will decide when (and >  how) you may access your data; but nobody's threatening your freedom: we >  still allow you to remove your data and not access it at all." > > > ___ > Grub-devel mailing list > Grub-

Re: [RFC] Don't pass filename in multiboot command line

2009-08-01 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, Aug 1, 2009 at 5:05 PM, Robert Millan wrote: > On Sat, Aug 01, 2009 at 04:37:40PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> > I agree with this.  But please wait a few days to give everyone a chance >> > to read it. >> > >> > Regardin

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-01 Thread Vladimir &#x27;phcoder' Serbinenko
iver) ? > > Thanks > > Michal > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-01 Thread Vladimir &#x27;phcoder' Serbinenko
On Sat, Aug 1, 2009 at 5:10 PM, Vladimir 'phcoder' Serbinenko wrote: > Ok, I will try to split while keeping patch functional. Done >> -- >> Robert Millan >> >>  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and >>  how) yo

[PATCH] multiboot on EFI

2009-08-02 Thread Vladimir &#x27;phcoder' Serbinenko
-- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git diff --git a/ChangeLog b/ChangeLog index d7f219b..95ca160 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2009-08-02 Vladimir Serbinenko + + Multiboot support o

Re: [RFC] Don't pass filename in multiboot command line

2009-08-02 Thread Vladimir &#x27;phcoder' Serbinenko
mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Fwd: [PATCH 1/2] Framebuffer split

2009-08-02 Thread Vladimir &#x27;phcoder' Serbinenko
not access it at all." > > > _______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] nested partitions

2009-08-02 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 Personal git repository: http://repo.or.cz/w/grub2/phcoder.git ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] nested partitions

2009-08-02 Thread Vladimir &#x27;phcoder' Serbinenko
On Mon, Aug 3, 2009 at 12:17 AM, Robert Millan wrote: > On Fri, Jul 31, 2009 at 09:48:21PM +0200, Vladimir 'phcoder' Serbinenko wrote: >> >> The proble it doesn't solve is when 2 partition labels pretend to >> describe the same region. Solaris during install d

<    3   4   5   6   7   8   9   10   11   12   >