Re: [PATCH] memdisk plus lnxboot extension

2008-01-21 Thread Bean
On Jan 21, 2008 7:24 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > 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 ca

Re: [PATCH] memdisk + grub-mkrescue

2008-01-21 Thread Pavel Roskin
On Mon, 2008-01-21 at 22:06 +0100, Robert Millan wrote: > 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? > >

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

2008-01-21 Thread Pavel Roskin
On Mon, 2008-01-21 at 22:09 +0100, Robert Millan wrote: > On Mon, Jan 21, 2008 at 12:47:06PM -0500, Pavel Roskin wrote: > > > > I've tested the patch, and it seems to be OK, although I was surprised > > to see an empty menu on startup. Perhaps a command line would be more > > appropriate in abse

Re: Re: gfxterm / font from grub.cfg

2008-01-21 Thread Robert Millan
On Tue, Jan 22, 2008 at 12:05:49AM +, Oleg Strikov wrote: > > It's my fault! I've forgotten `insmod font` command first, but.. > Mb i do not understand grub cfg processing procedure...but i think that we > should print out smth like `command not found` if it is so? This is a known bug. But

Re: Re: gfxterm / font from grub.cfg

2008-01-21 Thread Oleg Strikov
> > > >Good day! > >> Can i use something like > >> > >> font (hd0,1)/... > >> set gfxmode=800x600 > >> terminal gfxterm > >> > >> from my grub.cfg file? > >> > >> When i do that i get empty menu without menuentries >>and :( gfxterm > > >What happens if you run those commands manually? Do >you see

Re: grub-mkimage: big core.img creating

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 08:56:16PM +, Oleg Strikov wrote: > Good day! > I wanna create full core.img without any additional *.mod dependencies. > I do it with: > grub-mkimage -o image [BIG MODULES LIST] > All is OK > > But when i load grub2 i get something like > "modules dir not initialized"

Re: gfxterm / font from grub.cfg

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 08:59:35PM +, Oleg Strikov wrote: > Good day! > Can i use something like > > font (hd0,1)/... > set gfxmode=800x600 > terminal gfxterm > > from my grub.cfg file? > > When i do that i get empty menu without menuentries and :( gfxterm What happens if you run those comm

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

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 12:47:06PM -0500, Pavel Roskin wrote: > > I've tested the patch, and it seems to be OK, although I was surprised > to see an empty menu on startup. Perhaps a command line would be more > appropriate in absence of grub.cfg? I wanted to send a new mail about this, and then

Re: [PATCH] safety check in claim_heap()

2008-01-21 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > 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 si

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 add more things than just modules > (e

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 helped > > me during i386/ieee1275 por

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… if you are u

gfxterm / font from grub.cfg

2008-01-21 Thread Oleg Strikov
Good day! Can i use something like font (hd0,1)/... set gfxmode=800x600 terminal gfxterm from my grub.cfg file? When i do that i get empty menu without menuentries and :( gfxterm ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailm

grub-mkimage: big core.img creating

2008-01-21 Thread Oleg Strikov
Good day! I wanna create full core.img without any additional *.mod dependencies. I do it with: grub-mkimage -o image [BIG MODULES LIST] All is OK But when i load grub2 i get something like "modules dir not initialized" or "[some module function] not found" Should i enum modules in [BIG MODULES L

Re: How to return control to GRUB

2008-01-21 Thread Fabian Greffrath
Thanks you for your replies! Am Montag, den 21.01.2008, 16:07 +0100 schrieb Marco Gerards: > Personally, I never used it and don't care that much :-) You are right, it's good as it is now. I just liked the idea to make the game return to GRUB and I guessed there was an easy way to implement this

netboot/UNDI status

2008-01-21 Thread Douglas Ward
I was wondering if any work has been completed on netboot for gurb2. I'm most interested in a UNDI driver as my current setup using gpxe and pxelinux. pxelinux does a fine job but I have always preferred grub. ___ Grub-devel mailing list Grub-devel@gnu.

Re: Wrong prefix

2008-01-21 Thread Mathias Hällman
device.map does not get overwritten, no. And nothing changes when I edit it. One thing I discovered when confirming this though, is that the devices seem to jump around depending on what hdd I've selected to boot from in bios. grub-mkdevicemap takes my 4 sata's as (hd0-3) and my 1 ide as (hd4). Wh

Re: [PATCH] safety check in claim_heap()

2008-01-21 Thread Marco Gerards
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 helped > me during i386/ieee1275 port, when link address was 0x10). If this fixes the i386-ieee1275 port, th

Re: Wrong prefix

2008-01-21 Thread Marco Gerards
"Mathias Hällman" <[EMAIL PROTECTED]> writes: Hi, > I got the latest version of grub2 from the cvs repository, built it, > and installed it. Then I edited grub.cfg and ran grub-install > succesfully. > Now when I boot, the prefix is wrong. It is always set to > (hd0,6)/grub, while I want it to be

Wrong prefix

2008-01-21 Thread Mathias Hällman
Hi I got the latest version of grub2 from the cvs repository, built it, and installed it. Then I edited grub.cfg and ran grub-install succesfully. Now when I boot, the prefix is wrong. It is always set to (hd0,6)/grub, while I want it to be set to (hd1,6)/grub. I have also tried editing devices.map

Re: [PATCH] memdisk + grub-mkrescue

2008-01-21 Thread Pavel Roskin
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 add more things than just modules (especially grub.cfg and fonts). Is that the main motivation for your patch? O

Re: [PATCH] improve grub_mm_init_region() debug message

2008-01-21 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > 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] 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: > >> > - grub_dprintf ("mem", "Using memory for heap: a

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 better > >> to integrate this into normal.mod?

Re: [PATCH] improve grub_mm_init_region() debug message

2008-01-21 Thread Marco Gerards
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: >> > - grub_dprintf ("mem", "Using memory for heap: addr=%p, size=%u\n", >> > addr, (unsigned int) size); >> > + grub_dprintf (

[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 prese

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

2008-01-21 Thread Marco Gerards
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 better >> to integrate this into normal.mod? I wouldn't mind a few extra KB >> there for such a feature. > > I don't th

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 > > happens at roughly ~600 kiB

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

2008-01-21 Thread Robert Millan
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 better > to integrate this into normal.mod? I wouldn't mind a few extra KB > there for such a feature. I don't think code size matters that much for a non-kernel fea

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

2008-01-21 Thread Marco Gerards
Pavel Roskin <[EMAIL PROTECTED]> writes: > On Mon, 2008-01-21 at 11:33 +0100, Marco Gerards wrote: >> Jordi Mallach <[EMAIL PROTECTED]> writes: >> >> > On Tue, Jan 15, 2008 at 12:18:55AM +0100, Robert Millan wrote: >> >> Is this better? >> >> + char *msg = " The highlighted entry will be b

Re: How to return control to GRUB

2008-01-21 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > On Mon, Jan 21, 2008 at 12:06:25PM +0100, Marco Gerards wrote: >> >> An alternative solution is, if the license for the game is GPLv3, >> making it a GRUB 2 module ;-) > > I thought about that, but note that this would undermine GRUB invaders > usabilit

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

2008-01-21 Thread Marco Gerards
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 > happens at roughly ~600 kiB memdisk size. > > This patch adds a check in grub-mkimage to prevent thi

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

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 09:18:19AM -0500, Pavel Roskin wrote: > > But I still think it would be an overkill. Even the Linux kernel > doesn't offer any translation for its boot messages. But Linux has no user interface. Well, other than cmdline params, dmesg and such, but no real user interface

[PATCH] abort when core.img is too big

2008-01-21 Thread Robert Millan
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 happens at roughly ~600 kiB memdisk size. This patch adds a check in grub-mkimage to prevent this. I did also take the opportunity to reuse the up

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

2008-01-21 Thread Pavel Roskin
On Mon, 2008-01-21 at 11:33 +0100, Marco Gerards wrote: > Jordi Mallach <[EMAIL PROTECTED]> writes: > > > On Tue, Jan 15, 2008 at 12:18:55AM +0100, Robert Millan wrote: > >> Is this better? > >> + char *msg = " The highlighted entry will be booted automatically > >> in %ds."; > >> +

Re: GRUB on OLPC / XO

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 11:24:52AM +0100, Marco Gerards wrote: > > > > _start: 0x1, _end: 0x1f804 > > Using memory for heap: addr=0x10, end=0x40 > > Using memory for heap: addr=0x2000, end=0x9 > > Welcome to GRUB! > > > > See how our core image and the second heap chunk overlap. I'

Re: How to return control to GRUB

2008-01-21 Thread Robert Millan
On Mon, Jan 21, 2008 at 12:06:25PM +0100, Marco Gerards wrote: > > An alternative solution is, if the license for the game is GPLv3, > making it a GRUB 2 module ;-) I thought about that, but note that this would undermine GRUB invaders usability as a multiboot test case. Honestly, I think it's r

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 >^^ > > #elif defined(__i386__) >

Re: How to return control to GRUB

2008-01-21 Thread Marco Gerards
Fabian Greffrath <[EMAIL PROTECTED]> writes: Hi, > I take care of the Debian package 'grub-invaders'. This is a multiboot > compliant kernel-game that resembles Space Invaders, but I guess you > knew that already. > > One thing that annoys me about the game is, that you cannot return to > the GRU

Re: hfs breakage

2008-01-21 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: Hi Bean, Thanks for picking this one up! [...] >> Moreover, if I mount the image as loop in Linux and remove files "grub" >> and "grub.cfg", "ls" in grub-emu will go into infinite loop and print >> "ofboot.b pc.mod raid.mod reboot.mod reiserfs.mod search.mod sfs

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

2008-01-21 Thread Marco Gerards
Jordi Mallach <[EMAIL PROTECTED]> writes: > On Tue, Jan 15, 2008 at 12:18:55AM +0100, Robert Millan wrote: >> Is this better? >> + char *msg = " The highlighted entry will be booted automatically in >> %ds."; >> + char *msg_end = grub_strchr (msg, '%'); >> + >> + grub_printf

Re: GRUB on OLPC / XO

2008-01-21 Thread Marco Gerards
Robert Millan <[EMAIL PROTECTED]> writes: > 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? >>

Re: [PATCH] jpeg image reader

2008-01-21 Thread Marco Gerards
Bean <[EMAIL PROTECTED]> writes: Hi, > i finish converting the idct and color code, now it should be ok. If you are 100% sure all code is yours and there are no legal issues, feel free to commit it. Your code looks good to me :-) -- Marco ___ Grub