Re: GRUB on OLPC / XO

2008-01-12 Thread Robert Millan
some "weird" modifications to support Minix. Is this documented somewhere? On Sat, Jan 12, 2008 at 02:42:30PM +0100, Robert Millan wrote: > +void > +grub_exit (void) > +{ > + /* Trap to Open Firmware. */ > + /* FIXME. */ > + > + for (;;); > +} We used to

Re: (still ?) root on LVM problems

2008-01-12 Thread Robert Millan
unfortunately > it didn't work, just as in my previous tries :( I fixed some bugs affecting root-on-lvm, but not all. They aren't in CVS yet, though. Which reminds me this would be a good time to commit, since nobody objected to my last patch. -- Robert Millan I know my rights;

Re: [PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems

2008-01-12 Thread Robert Millan
Committed. On Thu, Jan 10, 2008 at 01:43:17PM +0100, Robert Millan wrote: > > New patch, a bit simpler (after giving it a though, I don't think the gained > speed is worth the extra complication) > > -- > Robert Millan > > I know my rights; I want my phone call

Re: (still ?) root on LVM problems

2008-01-12 Thread Robert Millan
On Sat, Jan 12, 2008 at 04:04:47PM +0100, Robert Millan wrote: > On Sat, Jan 12, 2008 at 03:01:38PM +0100, Jean-Christophe Haessig wrote: > > Hi, > > > > I had a peek at the ML lately and saw a few messages reporting some > > success in using GRUB2 as a bootlo

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables

2008-01-12 Thread Robert Millan
sday to look into them. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB on OLPC / XO

2008-01-12 Thread Robert Millan
On Sat, Jan 12, 2008 at 08:02:03AM -1000, Mitch Bradley wrote: > Robert Millan wrote: > >Some comments on things that need polishing. Some are more addressed at > >one > >of the two lists than the others, but feel free to join in either case. > > > >(also, if y

Re: GRUB on OLPC / XO

2008-01-12 Thread Robert Millan
ild with that patch, you get > physical addressing. > > I don't know what is "right", because this build configuration is not > for a real product, so the requirements are unclear. Ok, so for XO it is enabled? -- Robert Millan I know my rights; I want my phone call! Wh

Re: task tracker

2008-01-12 Thread Robert Millan
t Members are allowed to submit tasks and add comments. If you want to > configure fields, let me know. I keep a list of ideas on things that would be nice to have, mostly for prospective GSoC events. Should I dump it to the task tracker? -- Robert Millan I know my rights; I want my phone

Re: (still ?) root on LVM problems

2008-01-12 Thread Robert Millan
On Sat, Jan 12, 2008 at 10:29:43PM +0100, Jean-Christophe Haessig wrote: > Le samedi 12 janvier 2008 à 16:12 +0100, Robert Millan a écrit : > > > Try latest CVS. > > Done, but no success. > > > You'll still have to add "pc" (or "gpt") mo

Re: ata.mod hangs (Re: Some grub2 problems/questions)

2008-01-13 Thread Robert Millan
On Sat, Jan 12, 2008 at 04:14:38PM -0800, walt wrote: > > I'm happy to report that the ata module no longer hangs as I described > above. I'm guessing (just a guess) that this commit fixed it: > > 2008-01-10 Robert Millan <[EMAIL PROTECTED]> > * kern/devi

Re: (still ?) root on LVM problems

2008-01-13 Thread Robert Millan
On Sun, Jan 13, 2008 at 01:12:42AM +0100, Jean-Christophe Haessig wrote: > Le dimanche 13 janvier 2008 à 00:26 +0100, Robert Millan a écrit : > > > Try re-running grub-setup with verbose flag on, and see what it prints. > > orion:/test/grub2# /usr/local/sbin/grub-setup --verb

Re: Fwd: grub2: FTBFS on powerpc (__floatundisf in ls is not defined)

2008-01-13 Thread Robert Millan
On Wed, Dec 26, 2007 at 10:21:16AM +0100, Robert Millan wrote: > diff -ur grub2-1.95+20071101/include/grub/powerpc/libgcc.h > grub2-1.95+20071101.new/include/grub/powerpc/libgcc.h > --- grub2-1.95+20071101/include/grub/powerpc/libgcc.h 2007-07-21 > 23:32:24.0 + >

Re: (still ?) root on LVM problems

2008-01-13 Thread Robert Millan
On Sun, Jan 13, 2008 at 01:12:44PM +0100, Jean-Christophe Haessig wrote: > Le dimanche 13 janvier 2008 à 11:57 +0100, Robert Millan a écrit : > > > LVM doesn't reserve any space at the beginning of its partitions? Most > > filesystems do. > > I created a new emp

help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S)

2008-01-13 Thread Robert Millan
eax, EXT_C(grub_ieee1275_entry_fn)" but I don't know the equivalent. Furthermore, the code in crt0.S seems to be pushing arguments (up to 3 according to cmain.c) in a loop, which got me really confused. Anyone who is familiar with powerpc assembler could have a look? See attached patch. -- Rober

[PATCH] portable exit() in IEEE-1275

2008-01-13 Thread Robert Millan
This patch reimplements grub_exit() portably as a wrapper. The exit client service is defined in IEEE-1275. Anyway, just to be sure: Please, can someone test my patch to check it won't break on Apple, IBM... ? -- Robert Millan I know my rights; I want my phone call! What use is a

[PATCH] restrict parsing of `available'

2008-01-13 Thread Robert Millan
Another patch for i386-ieee1275. Again, I'd appreciate if someone can test it on PowerPC hardware. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) * kern/powerpc/ieee1275/openfw.c (grub_available_it

Re: Fwd: grub2: FTBFS on powerpc (__floatundisf in ls is not defined)

2008-01-13 Thread Robert Millan
On Sun, Jan 13, 2008 at 08:53:49PM +0100, Yoshinori K. Okuji wrote: > On Sunday 13 January 2008 13:19, Robert Millan wrote: > > This is becoming a nightmare. I think it's better if we just exclude > > symbols starting with __ from our checks. They aren't really mean

Re: [PATCH] restrict parsing of `available'

2008-01-13 Thread Robert Millan
On Sun, Jan 13, 2008 at 09:06:06PM +0100, Robert Millan wrote: > + grub_size_t available_size; Actually, this would be grub_ssize_t. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen

[PATCH] fix endianess in IEEE-1275 integer properties

2008-01-13 Thread Robert Millan
when appropiate). Again, some testing on Apple/IBM/Genesi hardware would be nice. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) diff -urp endianess.old/include/grub/ieee1275/ieee1275.h endianess/include/grub/iee

[PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Robert Millan
As subject says. Based on suggestions from Vesa. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) * normal/menu.c (run_menu): Move timeout message to a separate (local) function, print_timeout(). Use

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:20:39AM -0500, Pavel Roskin wrote: > On Sun, 2008-01-13 at 21:30 +0100, Robert Millan wrote: > > Integer properties are always in big endian. This (incomplete) patch is my > > suggested approach to deal with this. I'd like to receive input a

Re: [PATCH] portable exit() in IEEE-1275

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:17:37AM -0500, Pavel Roskin wrote: > > On Sun, 2008-01-13 at 20:45 +0100, Robert Millan wrote: > > This patch reimplements grub_exit() portably as a wrapper. The exit > > client service is defined in IEEE-1275. > > > > Anyway, just to be

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:32:39PM +0100, Yoshinori K. Okuji wrote: > On Monday 14 January 2008 15:10, Robert Millan wrote: > > As subject says. Based on suggestions from Vesa. > > Why do you want to use a nested function? No special reason; just to restrict the namespace u

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-14 Thread Robert Millan
On Mon, Jan 14, 2008 at 09:32:25PM +0100, Jordi Mallach wrote: > Hi Robert, > > On Mon, Jan 14, 2008 at 03:10:15PM +0100, Robert Millan wrote: > > + char *prelude = " The highlighted entry will be booted > > automatically in"; > > + gru

Re: [PATCH] Use getopt_long() instead of argp_parse() in grub-emu

2008-01-15 Thread Robert Millan
hen I > have the time to do this. > > -- > Marco > > > > _______ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -- Robert Millan I know my rights; I want my phon

Re: [PATCH] jpeg image reader

2008-01-15 Thread Robert Millan
n. > > I do not think these algorithms can be copyrighted and are in the > public domain? Can you check this? Only actual code can be copyrighted. Algorithms can only be patented. Copyright expires into public domain, but this is only theoretical since they reform copyright law every 20

Re: [PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 12:23:19PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > New patch, a bit simpler (after giving it a though, I don't think the gained > > speed is worth the extra complication) > > What does this patch fi

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-15 Thread Robert Millan
On Mon, Jan 14, 2008 at 11:49:30PM -0500, Pavel Roskin wrote: > Quoting Robert Millan <[EMAIL PROTECTED]>: > > >>> Again, some testing on Apple/IBM/Genesi hardware would be nice. > >> > >>It doesn't apply cleanly, > > > >It de

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:12:57PM +0100, Robert Millan wrote: > > Ok. Checked in the first one. I'll complete the second now. Here. Please can you test? -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak?

Re: GRUB on OLPC / XO

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 12:31:30PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > Hi, > > > I've been working for a few hours in a GRUB port to i386/OFW. There's > > quite a bit of things that need cleanup/fix before it can b

Re: [PATCH] jpeg image reader

2008-01-15 Thread Robert Millan
ain already. > AFAIK that's not uncommon for reference implementations. It shouldn't be. I wouldn't be too sure though. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) __

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:25:25PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Mon, Jan 14, 2008 at 09:32:39PM +0100, Yoshinori K. Okuji wrote: > >> On Monday 14 January 2008 15:10, Robert Millan wrote: > >> > As subjec

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:30:48PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > Integer properties are always in big endian. This (incomplete) patch is my > > suggested approach to deal with this. I'd like to receive input abou

Re: GRUB on OLPC / XO

2008-01-15 Thread Robert Millan
n native byte order? > > > > See my other mail about IEEE-1275 and endianess. > > Which subject? "[PATCH] fix endianess in IEEE-1275 integer properties" -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (a

Re: [PATCH] fix `lvm' and `raid' loading for grub-install/core.img and update-grub/grub.cfg problems

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:17:31PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Tue, Jan 15, 2008 at 12:23:19PM +0100, Marco Gerards wrote: > >> Robert Millan <[EMAIL PROTECTED]> writes: > >> > >> > New p

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:51:23PM +0100, Marco Gerards wrote: > > +void > > +print_timeout (int timeout, int offset, int second_stage) > > please make this function static. > > Otherwise, I do not see any problems. Committed. -- Robert Millan I know my rights; I w

Re: [PATCH] fix endianess in IEEE-1275 integer properties

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 09:41:19AM -0500, Pavel Roskin wrote: > Quoting Robert Millan <[EMAIL PROTECTED]>: > > >On Tue, Jan 15, 2008 at 01:12:57PM +0100, Robert Millan wrote: > >> > >>Ok. Checked in the first one. I'll complete the second now. >

Re: GRUB on OLPC / XO

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 01:06:43PM +0100, Robert Millan wrote: > > >/* Load pre-loaded modules and free the space. */ > > >grub_register_exported_symbols (); > > > - grub_load_modules (); > > > +// grub_load_modules (); > > > > Why? >

[PATCH] improve grub_mm_init_region() debug message

2008-01-15 Thread Robert Millan
This has bothered me for a while. By changing %u to %p this debug message becomes actually useful for checking offset problems. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) * kern/mm.c (grub_mm_init_region

[PATCH] Initial i386-ieee1275 support

2008-01-15 Thread Robert Millan
This patch adds initial i386-ieee1275 support. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) * configure.ac: Add `i386-ieee1275' to the list of supported targets. * conf/i386-ieee1275.rmk: New

Re: [PATCH] improve grub_mm_init_region() debug message

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 12:42:39PM -0500, Pavel Roskin wrote: > > On Tue, 2008-01-15 at 18:17 +0100, Robert Millan wrote: > > - grub_dprintf ("mem", "Using memory for heap: addr=%p, size=%u\n", > > addr, (unsigned int) size); > > + grub_dprintf ("

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables

2008-01-15 Thread Robert Millan
, or between 0xf and 0x10 at a 16 byte > boundary. > To find it, checking for the "LBIO"-signature (as is done already) should > be enough. Is the "LBIO" signature schedule to change due to CoreBoot rename? Should we check for another one as well? -- Rober

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-15 Thread Robert Millan
> BIOS calls), incl. how to configure the scancode set you want to have. > > Also, 0x01 is the scancode for ESC. I didn't look if there's a special > case for escapes, but a simple "\e" instead of "\0" at that code point > might help. Is there a way to

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 3/3: grub-mkimage should create streamable ELFs

2008-01-15 Thread Robert Millan
investing time in this: - I heard CoreBoot was deprecating ELF for size reasons. - On an earlier discussion (about boot issues on Apple hardware), Pavel proposed switching util/elf/grub-mkimage.c to use libbfd. This would solve a few problems automaticaly, including this one. --

Re: [PATCH] Initial i386-ieee1275 support

2008-01-15 Thread Robert Millan
New patch. Same thing, but includes halt, reboot and suspend commands. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) * configure.ac: Add `i386-ieee1275' to the list of supported targets. * conf/i386-iee

Re: [PATCH] Initial i386-ieee1275 support

2008-01-15 Thread Robert Millan
be) ieee1275 compliant? LinuxBIOS (now CoreBoot) is just the low level initialization. OpenBIOS is an implementation of IEEE-1275 that can be run on top of CoreBoot as payload. Our i386-linuxbios port makes GRUB run as payload directly, where it has to access hardware by itself, etc. -- Robert Mil

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-15 Thread Robert Millan
On Tue, Jan 15, 2008 at 06:36:40PM +, Patrick Georgi wrote: > Am Tue, 15 Jan 2008 19:06:25 +0100 schrieb Robert Millan: > > Is there a way to reproduce this problem without specific hardware? > > (with qemu or so) > qemu 0.9.0 exhibits this issue here (using coreboot v2 and

Re: [PATCH] Initial i386-ieee1275 support

2008-01-15 Thread Robert Millan
Committed. -- Robert Millan I know my rights; I want my phone call! What use is a phone call, if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S)

2008-01-15 Thread Robert Millan
Here's an incomplete (missing powerpc & sparc) version of the patch that would sanitize this function call. In the meantime i386 just puts the value in %ecx (third argument) to match what powerpc is doing. -- Robert Millan I know my rights; I want my phone call! What use is a phone

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Robert Millan
g (GRUB_IEEE1275_FLAG_BROKEN_COLORS); > +} > + } > } Please add a newline (and double-space indent) before '{'. > - /* Set the right fg and bg colors. */ > - grub_ofconsole_setcolorstate (GRUB_TERM_COLOR_NORMAL); > + if (! grub_ieee1275_test_flag (GRUB_IEEE1275_FL

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables

2008-01-16 Thread Robert Millan
On Tue, Jan 15, 2008 at 06:47:54PM +, Patrick Georgi wrote: > Am Tue, 15 Jan 2008 19:05:47 +0100 schrieb Robert Millan: > > Is the "LBIO" signature schedule to change due to CoreBoot rename? > > Should we check for another one as well? > I'm not sure if the r

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-16 Thread Robert Millan
ise. I'll wait a bit and see if nobody objects to it before committing. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * include/grub/i386/linuxbios/console.h: Add header protection. (grub_keyboard_contro

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 3/3: grub-mkimage should create streamable ELFs

2008-01-16 Thread Robert Millan
On Tue, Jan 15, 2008 at 06:42:20PM +, Patrick Georgi wrote: > Am Tue, 15 Jan 2008 19:09:19 +0100 schrieb Robert Millan: > > - I heard CoreBoot was deprecating ELF for size reasons. > Version 3 splits them up, yes. Version 2 will keep ELF. What do you mean "splits" ?

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-16 Thread Robert Millan
On Wed, Jan 16, 2008 at 02:46:41PM +0100, Robert Millan wrote: > > See attached patch. > > I don't like the way I had to hook initialisation in console.c, but solving > this properly would require some redesign (converting at_keyboard to a > module, and adding abstract

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Robert Millan
On Wed, Jan 16, 2008 at 01:22:48PM -0500, Pavel Roskin wrote: > > On Wed, 2008-01-16 at 11:40 +0100, Robert Millan wrote: > > On Wed, Jan 16, 2008 at 03:19:49AM -0500, Pavel Roskin wrote: > > > > > > The unresolved problem is that the "/memory/available" p

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables

2008-01-16 Thread Robert Millan
On Wed, Jan 16, 2008 at 08:39:09PM +0100, Uwe Hermann wrote: > On Wed, Jan 16, 2008 at 02:40:02PM +0100, Robert Millan wrote: > > + auto int check_signature (grub_linuxbios_table_header_t); > > + int check_signature (grub_linuxbios_table_header_t table_header) > > + { >

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-16 Thread Robert Millan
they aren't useful by themselves. They describe the layout of /memory/available. See kern/powerpc/ieee1275/openfw.c:grub_available_iterate() -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) _

nested functions used by multiboot2 loader corrupt stack

2008-01-16 Thread Robert Millan
incorrect images; specially not at this point. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) diff -x CVS -ur ../grub2/kern/elf.c ./kern/elf.c --- ../grub2/kern/elf.c 2007-07-22 01:32:26.0 +0200 +++ ./kern/elf.c

Re: nested functions used by multiboot2 loader corrupt stack

2008-01-17 Thread Robert Millan
rm__ (2))) so does this mean in one of the calls the caller and callee disagreed about how the third param is passed? Also, we have a lot of nested functions without this macro. How does one distinguish the ones that need it from the ones that don't? -- Robert Millan I know my rights; I

Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S)

2008-01-17 Thread Robert Millan
On Thu, Jan 17, 2008 at 02:54:33AM -0500, Pavel Roskin wrote: > Quoting Robert Millan <[EMAIL PROTECTED]>: > > >Here's an incomplete (missing powerpc & sparc) version of the patch that > >would sanitize this function call. > > I don't see why it needs

Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S)

2008-01-17 Thread Robert Millan
plus the lower 16 bits of the > grub_ieee1275_entry_fn address. > > A 32-bit constant cannot be loaded in one operation, since all PowerPC > commands are 32-bit, and it simply won't fit one command. I see.. -- Robert Millan I know my rights; I want my phone call! What use is a

Re: [PATCH] Running GRUB under qemu on PowerPC

2008-01-18 Thread Robert Millan
On Fri, Jan 18, 2008 at 12:07:31AM -0500, Pavel Roskin wrote: > > On Wed, 2008-01-16 at 23:51 +0100, Robert Millan wrote: > > On Wed, Jan 16, 2008 at 04:52:46PM -0500, Pavel Roskin wrote: > > > > > > It seems to me that Linux uses "#size-cells" and "

Re: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 2/4: Keyboard controller

2008-01-19 Thread Robert Millan
On Wed, Jan 16, 2008 at 05:21:00PM +0100, Robert Millan wrote: > On Wed, Jan 16, 2008 at 02:46:41PM +0100, Robert Millan wrote: > > > > See attached patch. > > > > I don't like the way I had to hook initialisation in console.c, but solving > > thi

Re: help with powerpc asm (moving grub_ieee1275_entry_fn initialization to crt0.S)

2008-01-19 Thread Robert Millan
On Thu, Jan 17, 2008 at 03:08:24PM -0500, Pavel Roskin wrote: > On Thu, 2008-01-17 at 20:11 +0100, Robert Millan wrote: > > > > Please feel free to integrate the PowerPC part of my patch into your > > > patch, as it indeed needs to be committed at once. > > >

Re: [PATCH] improve grub_mm_init_region() debug message

2008-01-19 Thread Robert Millan
On Tue, Jan 15, 2008 at 07:00:55PM +0100, Robert Millan wrote: > On Tue, Jan 15, 2008 at 12:42:39PM -0500, Pavel Roskin wrote: > > > > On Tue, 2008-01-15 at 18:17 +0100, Robert Millan wrote: > > > - grub_dprintf ("mem", "Using memory for heap: addr=%p, size

[PATCH] safety check in claim_heap()

2008-01-20 Thread Robert Millan
Hi! What do you think of adding this kind of checks? I know it's not a perfect safegard, but it can save your day in some situations (it helped me during i386/ieee1275 port, when link address was 0x10). -- Robert Millan I know my rights; I want my phone call! What use is a phone

[PATCH] fix deadlock when probing USB deives on i386-ieee1275

2008-01-20 Thread Robert Millan
Fix deadlock when probing USB deives on i386-ieee1275. Detailed explanation is in patch itself (C comment). Comments? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * disk/ieee1275/ofdisk.c

Re: [PATCH] memdisk plus lnxboot extension

2008-01-20 Thread Robert Millan
On Sun, Dec 30, 2007 at 02:48:24PM +0100, Robert Millan wrote: > On Sat, Dec 29, 2007 at 05:05:16PM +0800, Bean wrote: > > Hi, > > > > This patch is based on robert's memdisk patch. I also modify lnxboot > > so that it can load the memdisk using initrd. Changes: &

Re: embedding filesystems in core image (Re: moving ata initialisation to a command)

2008-01-20 Thread Robert Millan
On Wed, Jan 16, 2008 at 09:10:30PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Sat, Dec 22, 2007 at 01:24:53PM +0100, Yoshinori K. Okuji wrote: > >> On Saturday 22 December 2007 13:18, Robert Millan wrote: > >> > Here

Re: nested functions used by multiboot2 loader corrupt stack

2008-01-20 Thread Robert Millan
for other instances of this bug, and only found the equivalent 64-bit versions of the functions you fixed to be affected. Just committed a fix based on your patch (plus the 64-bit ones). -- Robert Millan I know my rights; I want my phone call! Wha

[PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-20 Thread Robert Millan
: http://grub.enbug.org/MultibootDraft#head-84d7c3521d0235f08f7fffaf35e2d06ced2f0a68 -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * conf/i386-ieee1275.rmk (kernel_elf_SOURCES): Add `machine/loader.h' and `m

Re: [PATCH] enable multiboot2 loader on i386-ieee1275

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 08:13:36AM +0100, Torsten Duwe wrote: > On Monday 21 January 2008, Robert Millan wrote: > > This makes multiboot2 work on i386-ieee1275. Tested both with elf32 and > > elf64 images. > > > grub2/loader/powerpc/ieee1275 >^^

Re: How to return control to GRUB

2008-01-21 Thread Robert Millan
hink it's really good as it is now. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB on OLPC / XO

2008-01-21 Thread Robert Millan
x27;s also be useful to protect our own stack, etc.. > > > > What do you think? > > At least some kind of check should be available. It could also be in > init.c. Yep. I concluded that there's nothing usefuly portable about having this in kern/, and proposed: [PATCH] s

[PATCH] abort when core.img is too big

2008-01-21 Thread Robert Millan
upper memory macro to avoid hardcoding its address for VGA stuff. Comments? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * conf/i386-pc.rmk (GRUB_MEMORY_MACHINE_LINK_ADDR): New variable. (kernel_img_LDFLAGS

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-21 Thread Robert Millan
user interface that the majority of users would be exposed to. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http:/

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-21 Thread Robert Millan
that much for a non-kernel feature. Anyway, I'd still prefer not bloating normal.mod with it. It's very good that users have choice of which features they want; why not preserve that philosophy? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if

Re: [PATCH] abort when core.img is too big

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 04:05:04PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > With the addition of memdisk, it is too easy for user to create an image > > big enough that would corrupt upper memory (starting with vga region). This >

[PATCH] memdisk + grub-mkrescue

2008-01-21 Thread Robert Millan
These two were predestined to get together.. attached patch for their wedding. Comments? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) * kern/i386/pc/init.c (make_install_device): When memdisk image is

Re: [PATCH] fix flickering timeout message for slow terminals (gfxterm)

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 05:52:50PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Mon, Jan 21, 2008 at 04:10:37PM +0100, Marco Gerards wrote: > >> > >> If done efficiently, code shouldn't get too big. Perhaps it is bett

Re: [PATCH] improve grub_mm_init_region() debug message

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 06:02:20PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > > On Tue, Jan 15, 2008 at 12:42:39PM -0500, Pavel Roskin wrote: > >> > >> On Tue, 2008-01-15 at 18:17 +0100, Robert Millan wrote: > >> >

Re: [PATCH] safety check in claim_heap()

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 07:07:37PM +0100, Marco Gerards wrote: > Robert Millan <[EMAIL PROTECTED]> writes: > > Hi, > > > What do you think of adding this kind of checks? I know it's not a > > perfect safegard, but it can save your day in some situations (it

Re: [PATCH] memdisk + grub-mkrescue

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 12:47:06PM -0500, Pavel Roskin wrote: > On Mon, 2008-01-21 at 17:52 +0100, Robert Millan wrote: > > These two were predestined to get together.. attached patch for their > > wedding. > > > > Comments? > > I really like the ability to

grub_cpio_find_file() finds unexisting files (Re: [PATCH] memdisk + grub-mkrescue)

2008-01-21 Thread Robert Millan
mat to figure this out. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: gfxterm / font from grub.cfg

2008-01-21 Thread Robert Millan
What happens if you run those commands manually? Do you see any error? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.or

Re: grub-mkimage: big core.img creating

2008-01-21 Thread Robert Millan
t;modules dir not initialized" This means your prefix variable is not set. How did you boot this image? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-dev

Re: [PATCH] improve grub_mm_init_region() debug message

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 06:42:42PM +0100, Marco Gerards wrote: > > Well, it is fine for me. If I need the size, I will bring this up > again. Feel free to commit the patch as suggested. Ok then. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… i

Re: Re: gfxterm / font from grub.cfg

2008-01-21 Thread Robert Millan
s is a known bug. But I thought it was fixed. Are you running the latest version? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list G

Re: [PATCH] memdisk plus lnxboot extension

2008-01-22 Thread Robert Millan
easy. They can do simple tasks like > replacing splash image without too much knowledge of grub2. > > 3. Multiple configuration > We can use the same core.img, but different initrd to start grub2 with > different configuration. I don't think these two make a big difference, but wel

Re: [PATCH] memdisk + grub-mkrescue

2008-01-22 Thread Robert Millan
*.lst file (I forgot which) which teaches it which dependencies each module has. In core.img build time I don't know, but it's probably the same. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] memdisk + grub-mkrescue

2008-01-22 Thread Robert Millan
ktop -r -J -o ${output_image} \ > + -map ${map_file} -hfs-bless ${boot_dir} ${iso_dir} Same here. Perhaps this should be mentioned in --help or something? In the future we could add --image-type= options for other platforms like i386-pc does with floppy/cdrom ? -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: Bug#461442: detection of other OSes in update-grub

2008-01-22 Thread Robert Millan
nt kinds of conversions between path, drive and device, some of which might even be impossible. Besides, perhaps it'd be cleaner to split this conversion to a separate tool, so that grub-probe only operates on devices, and the other tool converts paths to devices (but NOT necessarily devices to pa

Re: [PATCH] memdisk plus lnxboot extension

2008-01-22 Thread Robert Millan
is, when firmware has only a linux loader). It makes sense to me as a compatibility layer, yes. But it seems you want it as a general-purpose option; for that, why not make it saner like multiboot? I don't think it's a good idea to compromise our boot semantics because of the ones l

Re: [PATCH] memdisk plus lnxboot extension

2008-01-22 Thread Robert Millan
On Wed, Jan 23, 2008 at 01:17:43AM +0800, Bean wrote: > On Jan 23, 2008 12:51 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > > I don't like this very much. We don't have grub-mkimage options to > > concatenate > > it with boot.img, so why with lnxboot.img ? &

Re: `disk` level IO: how it works?

2008-01-22 Thread Robert Millan
physical disk) - all is OK > If I place FILE on (hd0,6) i get `out of partition` at grub_disk_read. Did you check if debug options give you anything useful? Try "set debug=disk", and maybe also "set debug=fs". What's the size of your disk, and your partitions? > P.

Re: UFS (FFS) support seems broken in grub2

2008-01-22 Thread Robert Millan
space after the comma ;-) -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] safety check in claim_heap()

2008-01-22 Thread Robert Millan
y, I do not care either way... I leave this up to you ;-) Ok, I checked that in. -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (as seen on /.) ___ Grub-devel mailing list

Re: [PATCH] fix deadlock when probing USB deives on i386-ieee1275

2008-01-22 Thread Robert Millan
On Sun, Jan 20, 2008 at 10:20:34PM +0100, Robert Millan wrote: > > Fix deadlock when probing USB deives on i386-ieee1275. Detailed explanation > is in patch itself (C comment). > > Comments? > > -- > Robert Millan > > I know my rights; I want my phone call! &

Re: [PATCH] memdisk + grub-mkrescue

2008-01-23 Thread Robert Millan
mage" that needs to be put on > the CD, so that's another possible image type. What I mean is that we have things like --image-type=prep|whatever. Although maybe it is confusing.. -- Robert Millan I know my rights; I want my phone call! W

Re: Grub2 Scripts

2008-01-23 Thread Robert Millan
On Wed, Jan 23, 2008 at 06:22:23AM +, Oleg Strikov wrote: > Hi, > where i can read about grub scripting language? Did you check in the wiki? http://grub.enbug.org/ -- Robert Millan I know my rights; I want my phone call! What use is a phone call… if you are unable to speak? (a

  1   2   3   4   5   6   7   8   9   10   >