Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-21 Thread Robert Millan
On Wed, Feb 11, 2009 at 10:24:57AM +0100, Michel Dänzer wrote: > > So if the table is basicaly storing values that enumerate something, why are > > we using hex to represent them? Hex gives the impression they're an opaque > > sort of thing, like code, bitmasks or magic numbers. > > Your guess is

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-21 Thread Robert Millan
On Tue, Feb 10, 2009 at 11:50:18AM +0100, Jordi Mallach wrote: > On Tue, Feb 10, 2009 at 10:54:55AM +0100, Michel Dänzer wrote: > > > > Could you be more specific about what the table contents mean? > > BTW, let me point out again that this table including comment is a > > verbatim copy from the Li

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-11 Thread Michel Dänzer
On Tue, 2009-02-10 at 15:47 +0100, Robert Millan wrote: > On Tue, Feb 10, 2009 at 10:54:55AM +0100, Michel Dänzer wrote: > > > > Michel may know better, but I think it's the order of characters. > > > Those with the lower order go first in the sorted binary tree. Those > > > with the same or

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-10 Thread Robert Millan
On Tue, Feb 10, 2009 at 10:54:55AM +0100, Michel Dänzer wrote: > > >> +static unsigned char caseorder[256] = { > > >> + > > >> 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07,0x08,0x09,0x0A,0x0B,0x0C,0x0D,0x0E,0x0F, > > > > > > Could you be more specific about what the table contents mean? > > BTW

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-10 Thread Michel Dänzer
On Tue, 2009-02-10 at 13:06 +0100, Jordi Mallach wrote: > On Tue, Feb 10, 2009 at 11:50:18AM +0100, Jordi Mallach wrote: > > > BTW, let me point out again that this table including comment is a > > > verbatim copy from the Linux kernel fs/hfs/string.c . Sorry if I didn't > > > make this clear enoug

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-10 Thread Jordi Mallach
On Tue, Feb 10, 2009 at 11:50:18AM +0100, Jordi Mallach wrote: > > BTW, let me point out again that this table including comment is a > > verbatim copy from the Linux kernel fs/hfs/string.c . Sorry if I didn't > > make this clear enough in my original post. > Ugh, welcome our GPLv3 party. v2 member

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-10 Thread Jordi Mallach
On Tue, Feb 10, 2009 at 10:54:55AM +0100, Michel Dänzer wrote: > > > Could you be more specific about what the table contents mean? > BTW, let me point out again that this table including comment is a > verbatim copy from the Linux kernel fs/hfs/string.c . Sorry if I didn't > make this clear enough

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-10 Thread Michel Dänzer
On Mon, 2009-02-09 at 15:19 +0100, Robert Millan wrote: > On Sat, Feb 07, 2009 at 11:38:36PM -0500, Pavel Roskin wrote: > > Quoting Robert Millan : > > > > >On Tue, Jan 27, 2009 at 08:19:41AM +0100, Michel Dänzer wrote: > > >>+/* > > >>+ * unsigned char caseorder[] > > >>+ * > > >>+ * Defines the

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-10 Thread Michel Dänzer
On Sat, 2009-02-07 at 23:38 -0500, Pavel Roskin wrote: > Quoting Robert Millan : > > > On Tue, Jan 27, 2009 at 08:19:41AM +0100, Michel Dänzer wrote: > >> +/* > >> + * unsigned char caseorder[] > >> + * > >> + * Defines the lexical ordering of characters on the Macintosh > >> + * > >> + * Composit

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-09 Thread Robert Millan
On Sat, Feb 07, 2009 at 11:38:36PM -0500, Pavel Roskin wrote: > Quoting Robert Millan : > > >On Tue, Jan 27, 2009 at 08:19:41AM +0100, Michel Dänzer wrote: > >>+/* > >>+ * unsigned char caseorder[] > >>+ * > >>+ * Defines the lexical ordering of characters on the Macintosh > >>+ * > >>+ * Composit

Re: hfs patch (Re: State of GRUB on PowerPC)

2009-02-07 Thread Pavel Roskin
Quoting Robert Millan : On Tue, Jan 27, 2009 at 08:19:41AM +0100, Michel Dänzer wrote: +/* + * unsigned char caseorder[] + * + * Defines the lexical ordering of characters on the Macintosh + * + * Composition of the 'casefold' and 'order' tables from ARDI's code + * with the entry for 0x20 chan

hfs patch (Re: State of GRUB on PowerPC)

2009-02-07 Thread Robert Millan
On Tue, Jan 27, 2009 at 08:19:41AM +0100, Michel Dänzer wrote: > +/* > + * unsigned char caseorder[] > + * > + * Defines the lexical ordering of characters on the Macintosh > + * > + * Composition of the 'casefold' and 'order' tables from ARDI's code > + * with the entry for 0x20 changed to match t

Re: State of GRUB on PowerPC

2009-01-29 Thread Michel Dänzer
On Wed, 2009-01-28 at 21:57 -0500, Pavel Roskin wrote: > On Tue, 2009-01-27 at 08:19 +0100, Michel Dänzer wrote: > > I was able to reproduce Jordi's findings on my PowerBook G4. (Well, > > except device.map seems to get generated correctly and the search > > command seems to work for me, maybe this

Re: State of GRUB on PowerPC

2009-01-28 Thread Pavel Roskin
On Tue, 2009-01-27 at 08:19 +0100, Michel Dänzer wrote: > I was able to reproduce Jordi's findings on my PowerBook G4. (Well, > except device.map 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 somethi

Re: State of GRUB on PowerPC

2009-01-27 Thread Michel Dänzer
On Tue, 2009-01-27 at 18:54 +0200, Vesa Jääskeläinen wrote: > Michel Dänzer wrote: > > 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'. > >

Re: State of GRUB on PowerPC

2009-01-27 Thread Vesa Jääskeläinen
Michel Dänzer wrote: > 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'. grub-devel is a subscriber only list.

Re: State of GRUB on PowerPC

2009-01-26 Thread Michel Dänzer
I was able to reproduce Jordi's findings on my PowerBook G4. (Well, except device.map 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 weeke

Re: State of GRUB on PowerPC

2008-12-21 Thread Jordi Mallach
Hello, Just a little correction, I was really tired when I wrote this down the other day: On Fri, Dec 19, 2008 at 01:00:19AM +0100, Jordi Mallach wrote: > On the command-line, I copied the "search --fs-uuid --set" line from my > grub.cfg, and > 1) it printed "no such device" and errored out ($?=1

Re: State of GRUB on PowerPC

2008-12-19 Thread Manoel Rebelo Abranches
I'm working in a patch to make the install process better. I ĺl send it soon, once some license issues are resolved. On Fri, 2008-12-19 at 01:00 +0100, Jordi Mallach wrote: > Hello list, > > Many months after my last try, I've given GRUB2 a go on my G4-based Apple > laptop. > > For this, I used

State of GRUB on PowerPC

2008-12-18 Thread Jordi Mallach
Hello list, Many months after my last try, I've given GRUB2 a go on my G4-based Apple laptop. For this, I used Debian's 1st of December snapshot packaged to experimental. Thanks to daChaac, the IRC hero once again ;) the executive summary changed from "frustrating failure" to "works with quite a