[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: parted fat bug on ARM platform
From: |
Andrew Clausen |
Subject: |
Re: parted fat bug on ARM platform |
Date: |
Tue, 8 Mar 2005 01:11:10 +1100 |
User-agent: |
Mutt/1.3.28i |
Hi Lennert,
On Mon, Mar 07, 2005 at 08:31:49PM +0100, Lennert Buytenhek wrote:
> Compiling parted 1.6.15 for ARM (armv4b) seems to work, but on
> startup it says:
>
> A bug has been detected in GNU parted. Please email a bug
> report to address@hidden containing the version (1.6.15)
> and the following message:GNU parted was miscompiled: the FAT
> boot sector should be 512 bytes. FAT support will be disabled.
>
> This patch fixes that. Note that even with this patch, unaligned
> accesses are not guaranteed to work on the ARM ("anything can happen",
> an unaligned read can return any value including garbage), so you
> can still trash your file systems if you're not careful.
Does gcc work around the problem? (i.e. does it do the necessary
bit-bashing based on aligned reads only?)
Thanks for the patch.
Cheers,
Andrew