[FEATURE REQUEST] firewire IEEE 1394 (ohci) module

2011-11-13 Thread Robert
I'd like to boot from Grub into Firewire IEEE 1394 (ohci) ;-) Robert PS: USB UHCI modules do already exist, but they seem to not work properly (v1.98) ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo

Re: [FEATURE REQUEST] firewire IEEE 1394 (ohci) module

2011-11-14 Thread Robert
Vladimir 'φ-coder/phcoder' Serbinenko wrote: On 14.11.2011 00:55, Robert wrote: I'd like to boot from Grub into Firewire IEEE 1394 (ohci) ;-) That's one thing we don't risk having soon. Few people even have such hardware (my laptop has no firewire connector at all).

Re: [FEATURE REQUEST] firewire IEEE 1394 (ohci) module

2011-11-14 Thread Robert
Robert wrote: (as far as Linux is concerned, currently I help me using FiWi by loading the Linux kernel&initrd from another device, which needs special updates etc.) Note: I remember the first installation of Grub into the internal HD MBR while installing Debian 6 on Firewire: Where wa

Chaining to the MBR on a second hard disk

2007-08-28 Thread Robert
have been tried. The closest I have come is to loop back to GRUB on the first disk. Using (hd0) and (hd1) both loop back to GRUB on the first disk. Any comments or suggestions would be appreciated. Thanks, Robert H. ___ Grub-devel mailing list Grub

GRUB PXE not requesting formatted configs automatically

2022-02-25 Thread Robert LeBlanc
messages from `net.c` and only `disk.c` saying that `Opening 'tftp,192.168.100.10' failed`. I'm at a loss here and hope someone can shed some light since my searching is turning up empty. Thank you, Robert LeBlanc [1] https://www.gnu.org/software/grub/manual/grub/grub.htm

Re: GRUB PXE not requesting formatted configs automatically

2022-03-02 Thread Robert LeBlanc
-default_gnulib_url=git://git.sv.gnu.org/gnulib +default_gnulib_url=https://git.savannah.gnu.org/git/gnulib.git usage() { cat <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741464 Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Fri, Fe

Comparable syslinux kernel command in GRUB2?

2022-03-13 Thread Robert LeBlanc
ux_source. At this point I'm trying to understand how "kernel" in syslinux is able to load the ESXi kernel, but GRUB is not. This is the first thing that I can't get GRUB to do so I'm assuming it's an issue with me and I need more enlightenment. This is the ESX

Display MAC in theme

2022-04-06 Thread Robert LeBlanc
theme. Can someone provide a pointer here? + label { id = "host_mac" left = 0% top = 100%-25 color = "white" align = "left" text = "${net_default_mac}" Thank you. Robert LeBlanc PGP Fingerprint

[PATCH v2] lsefimmap: support persistent memory and other UEFI 2.5 features

2015-12-17 Thread Robert Elliott
This should accompany 76ce1de740 Translate UEFI persistent memory type 1. Add a string for the EfiPersistentMemory type 14 that was added in UEFI 2.5. 2. Decode the memory attributes that were added in UEFI 2.5: * NV (non-volatile) * MORE_RELIABLE (higher reliable, e.g., mirrored memory i

[PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-17 Thread Robert LeBlanc
igned-off-by: Robert LeBlanc --- grub-core/disk/mdraid1x_linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grub-core/disk/mdraid1x_linux.c b/grub-core/disk/mdraid1x_linux.c index 7cc80d3..cc7350c 100644 --- a/grub-core/disk/mdraid1x_linux.c +++ b/grub-core/disk/mdraid1x_li

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-18 Thread Robert LeBlanc
o } So if an error occurs when checking one type of metadata, it does not try the other types to see if they exist. This patch fixes that. I hope that clears things up, let me know if you have additional questions. ---- Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-18 Thread Robert LeBlanc
On Fri, Nov 18, 2016 at 10:31 AM, Andrei Borzenkov wrote: > 18.11.2016 19:49, Robert LeBlanc пишет: >> Based on debug info, GRUB is requesting to read the end of the drive >> to read the mdadm 1.0 superblock and gets the following message: >> >> kern/disk.c:421

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-18 Thread Robert LeBlanc
Do you want this with or without my patch? Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Fri, Nov 18, 2016 at 11:15 AM, Andrei Borzenkov wrote: > 18.11.2016 21:06, Robert LeBlanc пишет: >> On Fri, Nov 18, 2016 at 10:31 AM, Andrei

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-18 Thread Robert LeBlanc
start at 5244928KiB - Total size 976896KiB Partition md/123,gpt2: No known filesystem detected - Partition start at 2048KiB - Total size 5242880KiB Partition md/123,gpt1: No known filesystem detected - Partition start at 1024KiB - Total size 1024KiB grub> ---- Robert

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-19 Thread Robert LeBlanc
On Sat, Nov 19, 2016 at 1:59 AM, Andrei Borzenkov wrote: > biosdisk mdraid1x Here is the screenshot of the output. ---- Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 ___ Grub-devel mailing list G

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-19 Thread Robert LeBlanc
This is on super micro and KVM. You can replicate it on a VM. Sent from a mobile device, please excuse any typos. On Nov 19, 2016 11:40 AM, "Andrei Borzenkov" wrote: > 19.11.2016 20:57, Robert LeBlanc пишет: > > On Sat, Nov 19, 2016 at 1:59 AM, Andrei Borzenkov > wrote:

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-19 Thread Robert LeBlanc
The super micro is iSCSI boot off Intel adapters. KVM is SCSI disks. Sent from a mobile device, please excuse any typos. On Nov 19, 2016 7:47 PM, "Robert LeBlanc" wrote: > This is on super micro and KVM. You can replicate it on a VM. > > Sent from a mobile device, plea

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-11-22 Thread Robert LeBlanc
+dfsg-3+b1 amd64QEMU Full virtualization on x86 hardware -------- Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Sat, Nov 19, 2016 at 11:53 PM, Andrei Borzenkov wrote: > 20.11.2016 05:47, Robert LeBlanc пишет: >&g

Re: Fails to build with GCC from Debian Sid/unstable: `/usr/bin/ld: -r and -pie may not be used together`

2016-11-28 Thread Robert LeBlanc
I just did CC="/usr/bin/gcc -no-pie" ./configure and got around the issue. This is from memory so it may not be 100% correct. -------- Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Sat, Nov 26, 2016 at 9:48 AM, Paul Menzel wrote: &

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2016-12-06 Thread Robert LeBlanc
What is the verdict on getting the RAID detection fixed? Thanks, Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Tue, Nov 22, 2016 at 12:00 PM, Robert LeBlanc wrote: > Andrei, > > I sent a VM that displays the problem. It bounced

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-01-11 Thread Robert LeBlanc
Can we get this fix merged in? Thanks Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Thu, Nov 17, 2016 at 1:09 PM, Robert LeBlanc wrote: > When a mdadm RAID array is on a drive larger than 2TB, the array is not > able to be detected

Re: [PATCH] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-01-24 Thread Robert LeBlanc
OK, I'll rework the patch and resubmit it. Thanks for the feedback. Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Tue, Jan 24, 2017 at 2:57 AM, Vladimir 'phcoder' Serbinenko wrote: > This fix is buggy as you don't r

[PATCH v2] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-01-24 Thread Robert LeBlanc
tions from the front of the drive/partition without having to determine the data offset, since the data for metadata 1.0 starts at sector 0. Signed-off-by: Robert LeBlanc --- grub-core/disk/mdraid1x_linux.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/grub-core

[PATCH v3] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-01-25 Thread Robert LeBlanc
limit. This won't cause issues with 1.0 metadata because GRUB is able to read the partitions from the front of the drive/partition without having to determine the data offset, since the data for metadata 1.0 starts at sector 0. Signed-off-by: Robert LeBlanc --- grub-core/disk/mdraid1x_li

Re: [PATCH v3] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-02-06 Thread Robert LeBlanc
On Wed, Jan 25, 2017 at 3:02 PM, Robert LeBlanc wrote: > Changes in v3: > - Fix to return if not out of range instead of breaking out of the > loop. > > Changes in v2: > - Only continue checking for other metadata versions if we get an out > of range error and r

Re: [PATCH v3] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-02-24 Thread Robert LeBlanc
On Wed, Jan 25, 2017 at 3:02 PM, Robert LeBlanc wrote: > Changes in v3: > - Fix to return if not out of range instead of breaking out of the > loop. > > Changes in v2: > - Only continue checking for other metadata versions if we get an out > of range error and r

Menu for booting BTRFS snapshots

2017-03-02 Thread Robert LeBlanc
shot config and that is what is selected). It doesn't matter if load_env is before or after configfile. Other than this, it works as expected. I don't think I can use chainload because it is a 'directory' on the btrfs file system. Any ideas on how to accomplish what I want? Tha

Re: Menu for booting BTRFS snapshots

2017-03-03 Thread Robert LeBlanc
session open to the server to select the correct snapshot kernel. Right now everything through 'rxe-boot grub menu' is working. Now I just need to get the right kernel for the snapshot selected. Running `load_env -f /snaps/rxe-boot/grub2/grubenv` in the 'RXE Snapshot' menuentry is not enough. I hope that helps clarify things. Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Menu for booting BTRFS snapshots

2017-03-03 Thread Robert LeBlanc
se see my reply to Jordan which should have those details. Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/grub-devel

Re: Menu for booting BTRFS snapshots

2017-03-04 Thread Robert LeBlanc
On Sat, Mar 4, 2017 at 3:37 AM, Andrei Borzenkov wrote: > Отправлено с iPhone > >> 4 марта 2017 г., в 4:02, Robert LeBlanc написал(а): >> >> >> menuentry 'RXE Snapshot' { >> load_env -f /snaps/rxe-boot/grub2/grubenv >> configfile /s

Re: [PATCH v3] disk/mdraid1x: Fix >2TB RAID detection with BIOS

2017-03-16 Thread Robert LeBlanc
ping Robert LeBlanc PGP Fingerprint 79A2 9CA4 6CC4 45DD A904 C70E E654 3BB2 FA62 B9F1 On Fri, Feb 24, 2017 at 10:01 AM, Robert LeBlanc wrote: > On Wed, Jan 25, 2017 at 3:02 PM, Robert LeBlanc wrote: >> Changes in v3: >> - Fix to return if not out of r

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

  1   2   3   4   5   6   7   8   9   10   >