Re: Software RAID and Fakeraid

2010-12-02 Thread Phillip Susi
On 12/02/2010 08:36 PM, Neil Brown wrote: If the array uses 0.90 or 1.0 metadata and comprises whole-disks (not partitions), and if the array is RAID1, then each device (except for the very end) contains exactly the same data as the whole array. If you install grub to the array, then it will be i

Re: Another error building grub-emu (gnulib/error.c)

2010-12-02 Thread Seth Goldberg
This is because on Solaris, struct option cannot be conditionally excluded from the header. So, on such systems, the host's getopt.h should not be included. --S Quoting Seth Goldberg, who wrote the following on Thu, 2 Dec 2010: /usr/gcc/4.3/bin/gcc -DHAVE_CONFIG_H -I. -I../../grub-cor

Another error building grub-emu (gnulib/error.c)

2010-12-02 Thread Seth Goldberg
/usr/gcc/4.3/bin/gcc -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=I386_EMU -DGRUB_FILE=\"gnulib/error.c\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../include -I../grub-core/gnulib -I../../grub-core/gnulib

Re: Error building grub-emu (gnulib/progname.c)

2010-12-02 Thread Seth Goldberg
Adding: #if __STDC_VERSION__ >= 199901L _GL_FUNCDECL_SYS (mempcpy, void *, (void *restrict __dest, void const *restrict __src, size_t __n) _GL_ARG_NONNULL ((1, 2))); #else _GL_FUNCDECL_SYS (mempcpy, void *, (void *__dest, v

Re: Error building grub-emu (gnulib/progname.c)

2010-12-02 Thread Seth Goldberg
Trying that led to a number of other build failures (in grub-core/fs), so this needs to be better thought out. --S Quoting Seth Goldberg, who wrote the following on Thu, 2 Dec 2010: Hi, While trying to build grub-emu, I hit this: /usr/gcc/4.3/bin/gcc -DHAVE_CONFIG_H -I. -I../../grub-co

Error building grub-emu (gnulib/progname.c)

2010-12-02 Thread Seth Goldberg
Hi, While trying to build grub-emu, I hit this: /usr/gcc/4.3/bin/gcc -DHAVE_CONFIG_H -I. -I../../grub-core -I.. -Wall -W -I../../include -I../include -DGRUB_MACHINE_EMU=1 -DGRUB_MACHINE=I386_EMU -DGRUB_FILE=\"gnulib/progname.c\" -I. -I../../grub-core -I.. -I../.. -I../../include -I../inclu

Re: Software RAID and Fakeraid

2010-12-02 Thread Phillip Susi
On 11/30/2010 5:25 PM, Neil Brown wrote: > My feeling is that grub just needs to be a bit more careful. > > If the members of the md array are partitions, then installing itself in the > boot blocks of the devices holding those partitions always makes sense. > > If the members of the md array are

Re: Need --divide flag for assembly of startup.S on some platforms

2010-12-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12/02/2010 10:29 PM, Colin Watson wrote: > On Thu, Dec 02, 2010 at 01:15:10PM -0800, Seth Goldberg wrote: > >> When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms >> chokes on this line: >> >>movl$((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx >

Re: Need --divide flag for assembly of startup.S on some platforms

2010-12-02 Thread Seth Goldberg
On 12/ 2/10 01:29 PM, Colin Watson wrote: On Thu, Dec 02, 2010 at 01:15:10PM -0800, Seth Goldberg wrote: When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms chokes on this line: movl$((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx Because on non

Re: Need --divide flag for assembly of startup.S on some platforms

2010-12-02 Thread Colin Watson
On Thu, Dec 02, 2010 at 01:15:10PM -0800, Seth Goldberg wrote: > When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms > chokes on this line: > >movl$((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx > > Because on non i386-linux targets, '/' is used as a

Need --divide flag for assembly of startup.S on some platforms

2010-12-02 Thread Seth Goldberg
Hi, When assembling grub-core/kern/i386/pc/startup.S, gas on some platforms chokes on this line: movl$((LOCAL(bypass_table_end) - LOCAL(bypass_table)) / 2), %ecx Because on non i386-linux targets, '/' is used as a comment delimiter for compatibility purposes. This can be overr

grub-extras legal and technical status (was Re: ZFS imported into GRUB)

2010-12-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12/02/2010 07:24 PM, KESHAV P.R. wrote: > What about other grub-extras? > > This has nothing to do with ZFS import. Please don't try to jump in at remotely similar point to advance your general ideas but start a new thread. > Lua is under MIT license. Although I am not well versed in all thes

Re: ZFS imported into GRUB

2010-12-02 Thread Robert Millan
2010/12/2 KESHAV P.R. : > What about other grub-extras? We have analyzed those on a case-by-case basis. grub-extras is a collection of 3rd party add-ons to GRUB. These don't necessarily need to be made part of GRUB, but they're useful in certain situations and this is why the grub-extras project

Re: ZFS imported into GRUB

2010-12-02 Thread KESHAV P.R.
What about other grub-extras? Lua is under MIT license. Although I am not well versed in all these licensing/legal issues, isn't MIT license compatible with GPL. gPXE/Etherboot is under GPL2. 915resolution and ntldr-img (which is grub4dos functionality - right?) are under GPL3 (COPYING files in

Re: BtrFS available in experimental

2010-12-02 Thread Vladimir 'φ-coder/phcoder' Serbinenko
On 12/01/2010 04:51 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Hello, all. It seems incresingly unpractical to assume that btrfs legal > issues will be resolved. So I using this specification : > https://btrfs.wiki.kernel.org/index.php/User:Wtachi/On-disk_Format > implemented a reader. I h

ZFS imported into GRUB

2010-12-02 Thread Robert Millan
Hi, Following our new strategy with regard to Oracle code, we (GRUB maintainers) have decided to grant an exception to our usual policy and import ZFS code from grub-extras into official GRUB. Our usual policy is to require copyright assignment for all new code, so that FSF can use it to defend u