Re: grub2-1.96.src.rpm

2008-04-28 Thread Lubomir Kundrak
What would be of most help to you would be not to install any random crap that you'll find around the net. -- Lubomir Kundrak (Red Hat Security Response Team) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-18 Thread Lubomir Kundrak
erent architectures more uniform to simplify maintenance. > > Here. Unfortunately I can't test it as I have no ieee1275 at hand currently. > > Anyone? I have an OLPC XO machine borrowed now. I will test that this evening. -- Lubomir Kundrak (Red Hat Security Response Team) ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: [PATCH] Fix file name transformations (mostly)

2008-04-17 Thread Lubomir Kundrak
On Thu, 2008-04-17 at 15:20 -0400, Pavel Roskin wrote: > On Thu, 2008-04-17 at 13:49 +0200, Lubomir Kundrak wrote: > > > > As for /boot/grub, we are not installing anything there on "make > > > install". I don't think it should be transformed. But we co

Re: [PATCH] Extend the code to ignore junk files

2008-04-17 Thread Lubomir Kundrak
On Tue, 2008-04-15 at 14:32 -0400, Chris Knadle wrote: > On Tuesday 15 April 2008, Robert Millan wrote: > > On Tue, Apr 15, 2008 at 12:22:48AM +0200, Lubomir Kundrak wrote: > > > --- grub-1.96.orig/util/update-grub_lib.in2008-04-15 > > > 00:16:12.0 >

Re: [PATCH] Preserve build IDs

2008-04-17 Thread Lubomir Kundrak
On Tue, 2008-04-15 at 15:04 -0400, Pavel Roskin wrote: > On Tue, 2008-04-15 at 15:35 +0200, Robert Millan wrote: > > On Tue, Apr 15, 2008 at 12:41:50AM +0200, Lubomir Kundrak wrote: > > > This will make Fedora packagers have good sleep. I think we discussed > > &g

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-17 Thread Lubomir Kundrak
On Tue, 2008-04-15 at 15:01 -0400, Pavel Roskin wrote: > On Tue, 2008-04-15 at 00:30 +0200, Lubomir Kundrak wrote: > > These are pretty self-explainable. I think I tried to sumbit these > > changes with the serial debugging patch year and some months ago and I > > was told

Re: [PATCH] Make gdb debugging a bit less painful

2008-04-17 Thread Lubomir Kundrak
On Tue, 2008-04-15 at 15:38 +0200, Robert Millan wrote: > On Tue, Apr 15, 2008 at 12:30:40AM +0200, Lubomir Kundrak wrote: > > diff -rup grub-1.95.orig/kern/main.c grub-1.95/kern/main.c > > --- grub-1.95.orig/kern/main.c 2007-01-29 15:31:36.0 +0100 > > +++

Re: [PATCH] Fix file name transformations (mostly)

2008-04-17 Thread Lubomir Kundrak
On Tue, 2008-04-15 at 15:19 -0400, Pavel Roskin wrote: > On Tue, 2008-04-15 at 00:12 +0200, Lubomir Kundrak wrote: > > Hi, > > > > Attaching the patch that fixes ./configure's --program-transform-name > > option. Tested with --program-transform-name=s,grub,grub2,

Re: [PATCH] Fix file name transformations (mostly)

2008-04-17 Thread Lubomir Kundrak
On Tue, 2008-04-15 at 15:33 +0200, Robert Millan wrote: > On Tue, Apr 15, 2008 at 12:12:28AM +0200, Lubomir Kundrak wrote: > > diff -urp grub-1.96.orig/util/update-grub.in grub-1.96/util/update-grub.in > > --- grub-1.96.orig/util/update-grub.in 2008-03-16 17:52:32.0

[PATCH] Preserve build IDs

2008-04-14 Thread Lubomir Kundrak
-04-15 Lubomir Kundrak <[EMAIL PROTECTED]> * aclocal.m4 (grub_PROG_OBJCOPY_ABSOLUTE): take only .text section into account, newer toolchains generate unique build ids * configure.ac: remove the test for --build-id=none acceptance, we want build ids to bre pre

[PATCH] Make gdb debugging a bit less painful

2008-04-14 Thread Lubomir Kundrak
These are pretty self-explainable. I think I tried to sumbit these changes with the serial debugging patch year and some months ago and I was told to sign the copyright assignment. I have already done that now. :) 2008-04-15 Lubomir Kundrak <[EMAIL PROTECTED]> * kern/main.c (gru

[PATCH] Extend the code to ignore junk files

2008-04-14 Thread Lubomir Kundrak
Self-explainable. Make update-grub ignore rpm leftover files and VIM swap files. 2008-04-15 Lubomir Kundrak <[EMAIL PROTECTED]> * util/update-grub.in: replace the junk file switch with unconditional call to grub_file_is_not_garbage * util/update-grub_

[PATCH] Fix file name transformations (mostly)

2008-04-14 Thread Lubomir Kundrak
ad of hardcoding in include/grub/util/misc.h. Should be fairly trivial though. 2008-04-15 Lubomir Kundrak <[EMAIL PROTECTED]> * Makefile.in: Honor program name transformations. * util/grub.d/00_header.in: Honor program name transformations. * util/grub.d/10_linux.in: Ho

Re: [PATCH] Fix for linker build ID in Fedora 8

2007-11-26 Thread Lubomir Kundrak
On Mon, 2007-11-26 at 07:35 -0500, Pavel Roskin wrote: > Hello! > > On Mon, 2007-11-26 at 11:28 +0100, Lubomir Kundrak wrote: > > > > I attach the patch I use. The first hunk is basically the same as yours, > > > the second one is self-explanatory. > >

Re: [PATCH] Fix for linker build ID in Fedora 8

2007-11-26 Thread Lubomir Kundrak
On Sun, 2007-11-25 at 23:26 +0100, Lubomir Kundrak wrote: > Hi, > > Thanks for the patch! > > On Fri, 2007-11-23 at 22:07 -0500, Pavel Roskin wrote: > > Hello! > > Here's an alternate patch for the issue that appeared on Fedora 8. The > > linker adds a &qu

Re: [PATCH] Fix for linker build ID in Fedora 8

2007-11-25 Thread Lubomir Kundrak
r debuginfo package. They're basically okay in *.exec files, so why not just leave them out of *.img-s, which don't contain any debugging information anyways. I attach the patch I use. The first hunk is basically the same as yours, the second one is self-explanatory. Regards, -- Lubomi

[PATCH] Make "make dist" create proper tarballs again

2007-11-18 Thread Lubomir Kundrak
I did not attach DISTLIST patch. I believe that file should be removed and added to .cvsignore. -- Lubomir Kundrak (Red Hat Security Response Team) Index: ChangeLog === RCS file: /sources/grub/grub2/ChangeLog,v retrieving revision

Re: [PATCH] [UPDATE 2] More enhanced GNU GRUB program name transformations

2007-02-14 Thread Lubomir Kundrak
Hi, On Tue, 2007-02-13 at 13:16 -0600, Hollis Blanchard wrote: > On Tue, 2007-02-13 at 17:30 +0100, Lubomir Kundrak wrote: > > Hi Hollis, > > > > On Mon, 2007-02-12 at 19:01 -0600, Hollis Blanchard wrote: > > > On Mon, 2007-02-12 at 00:20 -0600, Jerone Young wrote:

Re: [PATCH] [UPDATE 2] More enhanced GNU GRUB program name transformations

2007-02-13 Thread Lubomir Kundrak
Hi Hollis, On Mon, 2007-02-12 at 19:01 -0600, Hollis Blanchard wrote: > On Mon, 2007-02-12 at 00:20 -0600, Jerone Young wrote: > > > > This patch is derived from the patch sent earlier by Lubomir Kundrak. > > What this patch adds is for library directories and directori

Re: Boot my own Operative System

2007-02-13 Thread Lubomir Kundrak
. [1] http://www.gnu.org/software/grub/manual/multiboot/multiboot.html [2] http://www.gnu.org/software/grub/manual/multiboot/html_node/Example-OS-code.html#Example-OS-code > Many thanks to all, Best Regards, > Mariano Warm Regards, -- Lubomir Kundrak

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-26 Thread Lubomir Kundrak
On Pi, 2007-01-26 at 12:58 +0100, Yoshinori K. Okuji wrote: > On Thursday 25 January 2007 12:25, Lubomir Kundrak wrote: > > I've noticed, that GRUB 2 uses argp in grub-emu [1], whereas other > > utilities use getopt_long [2]. Wouldn't it be nice to make this > > co

Re: [PATCH] Making use of argp in GRUB utilities

2007-01-25 Thread Lubomir Kundrak
Forgot to attache the file. Here is it. On Št, 2007-01-25 at 12:25 +0100, Lubomir Kundrak wrote: > I find the "GNU way," argp, approach more elegant, as demonstrated by a > patch to util/i386/pc/grub-mkimage.c. Seeing a patch with more minuses > than pluses is a good sig

[PATCH] Making use of argp in GRUB utilities

2007-01-25 Thread Lubomir Kundrak
There's a standalone libargp package [3] that is available for package systems of all major operating systems, including NetBSD and FreeBSD, so the only disadvantage is addding a dependency there. [3] http://www.lysator.liu.se/~nisse/misc/ Regards, -- Lubomir Kundrak (Red H

[PATCH] GNU GRUB program name transformations

2007-01-25 Thread Lubomir Kundrak
ies against current CVS snapshot to this message. Regards, -- Lubomir Kundrak (Red Hat Security Response Team) diff -urp grub2.orig/Makefile.in grub2/Makefile.in --- grub2.orig/Makefile.in 2007-01-25 05:03:31.0 +0100 +++ grub2/Makefile.in 2007-01-25 05:09:07.0 +0100 @@ -52,6 +5

Re: Problem with diskless boot

2006-07-07 Thread Lubomir Kundrak
; Any help welcome, > > Rainer > > > > > ___________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel -- 4.3 BSD UNIX #1: Fri Jun 6 19:55:29 PDT 1986 Would you like to pla

Re: Remote debugging GRUB over a serial line

2006-05-25 Thread Lubomir Kundrak
: (real_idt, prot_idt) (real_to_prot, prot_to_real): Preservation of protected mode IDT in real mode calls -- o Lubomir Kundrak *O*<[EMAIL PROTECTED]>, http://skosi.org/~lkundrak/ (_)SKOSI -- Slovak OpenSource Init

Re: Remote debugging GRUB over a serial line

2006-05-23 Thread Lubomir Kundrak
Message-ID: <[EMAIL PROTECTED]> > Subject: Re: Remote debugging GRUB over a serial line > > Lubomir Kundrak <[EMAIL PROTECTED]> writes: > > Hi Lubomir, > > > For those who are interested, here's gdb remote stub > > for debugging over serial line. >

Remote debugging GRUB over a serial line

2006-05-22 Thread Lubomir Kundrak
ebugging to the howto http://netbsd.sk/~lkundrak/misc/grub2-gdb/howto.html -- o Lubomir Kundrak *O*<[EMAIL PROTECTED]>, http://skosi.org/~lkundrak/ (_)SKOSI -- Slovak OpenSource Initiative ___ Grub-devel mailing list Gr

Re: Debugging GRUB2 with GDB and QEMU

2006-05-19 Thread Lubomir Kundrak
On Thu, May 18, 2006 at 08:35:25AM -0500, Hollis Blanchard wrote: > > On Thu, 2006-05-18 at 14:27 +0200, Lubomir Kundrak wrote: > > On Sat, May 13, 2006 at 06:38:26AM +0200, Yoshinori K. Okuji wrote: > > > > On i386 GCC generates full stack frames even with -O optiza

Re: Debugging GRUB2 with GDB and QEMU

2006-05-18 Thread Lubomir Kundrak
i386 GCC generates full stack frames even with -O optizations. It only omits frame pointer on architectures on which it doesn't interfere with debugging. I started a small HOWTO recently, so here is it: [1]. Enjoy :o) [1] http://NetBSD.sk/~lkundrak/misc/grub2-gdb/howto.html > > Okuj

Re: Debugging GRUB2 with GDB and QEMU

2006-05-14 Thread Lubomir Kundrak
in GRUB. If it has > something to do with the aliases you mention at the bottom of your > message, could you elaborate a little more or direct me in the right > direction? > > Thanks > > David Johnson > > Lubomir Kundrak wrote: > >I wrote some GDB macros that m

Debugging GRUB2 with GDB and QEMU

2006-05-12 Thread Lubomir Kundrak
to be defined. So, you'll probably have to add something like .globl main main = codestart to assembly language sources or malloc() __attribute__ ((alias("grub_malloc"))); to C files. I hope this will be useful to at least some of you. Best regards! Lubo. -- o Lubomir K

Re: [patch] strncpy misuse in ufs.c]

2006-04-11 Thread Lubomir Kundrak
)+); /* Skip the first slash. */ if (name[0] == '/') On Tue, Apr 11, 2006 at 02:08:22PM +0200, Lubomir Kundrak wrote: > X-Original-To: [EMAIL PROTECTED] > Delivered-To: [EMAIL PROTECTED] > Date: Tue, 11 Apr 2006 14:08:22 +0200 > From: Lubomir Kundrak <[EMAIL PROTECTED]&

[patch] strncpy misuse in ufs.c]

2006-04-11 Thread Lubomir Kundrak
(fpath, path, grub_strlen (path)+1); /* Skip the first slash. */ if (name[0] == '/') regards, lubo -- o Lubomir Kundrak *O*<[EMAIL PROTECTED]>, http://skosi.org/~lkundrak/ (_)SKOSI -- Slovak OpenSource Initiative

Re: Rewrite of grub-mkdevicemap

2006-02-06 Thread Lubomir Kundrak
> On Thursday 02 February 2006 14:31, Lubomir Kundrak wrote: >> I am currently working on BSD port of GRUB, so I first need >> the basic utilities to work. I decided to rewrite >> grub-mkdevicemap, because the old version was hard to modify, >> and actually didn't

Re: booting grub, loading kernels and unloading kernels question

2006-02-06 Thread Lubomir Kundrak
works like you hoped it would. > > -- > Marco > > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > -

Re: serial line - file interface

2006-02-06 Thread Lubomir Kundrak
e layer. Actually, the purpose > of > "net" devices in GRUB 2 is to support all non-disk devices. > > Okuji > > > ___ > Grub-devel mailing list > Grub-devel@gnu.org > http://list

Rewrite of grub-mkdevicemap

2006-02-02 Thread Lubomir Kundrak
BSD 5, 6, DragonFly and Linux. Please note, that this won't actually build on non-glibc systems, unless standalone argp and patch for it from here http://lists.gnu.org/archive/html/grub-devel/2005-11/msg00162.html is included. Changelog entry and uuencoded source file is bellow 2006-01-0

Re: grub boot device list?

2006-01-19 Thread Lubomir Kundrak
> Hi group, > > Is there a way of getting a list of the devices that grub sees that > can be > boot device?? > > In other word: root (hd?,?) I'd use a tab completion feature. Tha means, that you when you press while typing the name of the disk, you are provided with list of possibilities. li

Re: grub2 compilation error on CentOS 4.2

2005-12-07 Thread Lubomir Kundrak
> I was trying to compile today's grub2 CVS version, and ran into the > following problem: > > host% gmake > gcc [...] -c -o grub_emu-normal_lexer.o normal/lexer.c > normal/lexer.c: In function `grub_script_yylex': > normal/lexer.c:89: error: called object is not a function > normal/lexer.c:90: err

[PATCH] NetBSD/i386 port

2005-11-30 Thread Lubomir Kundrak
ECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ @@ -31,7 +32,7 @@ pkgdatadir=${datadir}/${PACKAGE_TARNAME}/${host_cpu}-${host_vendor} grub_setup=${sbindir}/grub-setup -grub_mkimage=${sbindir}/grub-mkimage +grub_mkimage=${bindir}/grub-mkimage grub_mkdevice