Bug#520286: ext2 module fails to recognize ext4 files with extents on big endian
Michel Dänzer
daenzer at debian.org
Wed Mar 18 17:41:47 UTC 2009
On Mit, 2009-03-18 at 18:26 +0100, Felix Zielcke wrote:
> Am Mittwoch, den 18.03.2009, 18:00 +0100 schrieb Michel Dänzer:
>
> > The function grub_ext2_read_block() doesn't take endianness into account
> > when checking the inode flags for EXT4_EXTENTS_FLAG, so the check doesn't
> > work properly on big endian. The attached patch fixes this, it was necessary
> > for loading and booting a Linux kernel from an ext4 filesystem on my PowerBook.
>
> Hi,
>
> it would be nice if you could write a ChangeLog entry for this and send
> your patch directly upstream to grub-devel at gnu.org, though you need to
> subscribe first.
Last time I tried this wasn't too pleasant an experience for me I'm
afraid (as a result I filed #516458, which was fixed with a different
patch, for which I thanked the author personally). The attached includes
a ChangeLog entry, but I'd appreciate if you or someone else could take
care of getting it integrated upstream.
Thanks,
--
Earthling Michel Dänzer | http://www.vmware.com
Libre software enthusiast | Debian, X and DRI developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grub2-ext4-endianness.diff
Type: text/x-patch
Size: 851 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-grub-devel/attachments/20090318/3de57eb3/attachment.bin
More information about the Pkg-grub-devel
mailing list