[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: State of GRUB on PowerPC

From: Michel Dänzer
Subject: Re: State of GRUB on PowerPC
Date: Tue, 27 Jan 2009 08:19:41 +0100

I was able to reproduce Jordi's findings on my PowerBook G4. (Well,
except seems to get generated correctly and the search
command seems to work for me, maybe this is due to differences between
our OF device trees or something like that)

After some printf-style debugging over the weekend, the failure to load
some modules indeed turns out to be an hfs.mod bug: the problem is that
strncasecmp() doesn't match the HFS B-tree sort order, which in
particular breaks lookup of files with an underscore in their name. The
first attached patch fixes this using a lookup table from Linux

The failure to auto-load some modules like search was also caused by
this, the auto-loading process aborts after failing to load a module. It
might be better to continue auto-loading other modules anyway.

BTW, I also need the second attached patch to be able to boot my
self-built 32 bit kernels configured to support 2GB lowmem.
elf->ehdr.ehdr32.e_entry ends up as 0x70000000.

P.S. Please reconsider automatically rejecting posts from
non-subscribers. I co-moderate half a dozen mailing lists, only costs me
a couple of minutes a day thanks to a nice tool called 'listadmin'.

I probably won't be subscribed to this list for long, please keep me
CC'd on followups.

Earthling Michel Dänzer           |      
Libre software enthusiast         |          Debian, X and DRI developer

Attachment: grub2-hfs.diff
Description: Text Data

Attachment: grub2-ELF32_LOADMASK.diff
Description: Text Data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]