[PATCH] password command implementation

2007-08-05 Thread Julien RANC
Hi all, Here is my first patch for Grub2, so I hope it won't be too bad, and by advance, all my apologies for the probable errors ;-) So, please, comment gently... These 2 patch add support for the 'password' command, with the syntax I proposed in my mail from August 1st. Just a few remark

Re: New command dump

2007-08-05 Thread Hollis Blanchard
On 8/3/07, Bean <[EMAIL PROTECTED]> wrote: > Hi, > > I have written a new command dump, it can hex dump content of file or memory. > > usage: > > dump [-s skip] [-n length] { FILE | (mem) } > > The output look just like command hexdump. > > If you use (mem) as filename, it will dump physical memory

Re: grub-setup Segmentation fault

2007-08-05 Thread Magnus Granberg
>Could you try the attached patch? > >-- >Robert Millan > It did't fix the Segmentation fault :( It wasn't supposed to. Did you see what the patch is doing? -- Robert Millan grub-setup: info: prefix = /grub grub-setup: info: changing current directory to /dev/mapper grub-setup: info: 2 roo

updated regression diff (Re: another regression on Efika)

2007-08-05 Thread Robert Millan
On Mon, Jul 02, 2007 at 08:16:35PM +0200, Robert Millan wrote: > [...] I'm attaching a reverse diff of the commit, such that when applied > to HEAD makes GRUB work again (verified) [1]. This patch broke. I'm updating it to HEAD. Removed some cosmetical changes to make it less error-prone. --

Re: grub-setup Segmentation fault

2007-08-05 Thread Robert Millan
On Sat, Aug 04, 2007 at 08:13:21PM +0200, Magnus Granberg wrote: > >>boot_file=, core_file=0x805cb2a "core.img", > >> root=0x8067050 "vg-boot", dest=0x0, must_embed=1) > >>at util/i386/pc/grub-setup.c:223 > >> #2 0x0804a0bc in main (argc=Cannot access memory at address 0xb > >> ) at util/

Re: New command dump

2007-08-05 Thread Robert Millan
On Sat, Aug 04, 2007 at 11:21:24PM +0800, Bean wrote: > On 8/4/07, Robert Millan <[EMAIL PROTECTED]> wrote: > > On Fri, Aug 03, 2007 at 11:33:38PM +0800, Bean wrote: > > > Hi, > > > > > > I have written a new command dump, it can hex dump content of file or > > > memory. > > > > > > usage: > > > >