Re: Getting rid of alignment faults in userspace

2011-06-18 Thread Nicolas Pitre
On Sat, 18 Jun 2011, Arnaud Patard wrote: > Dave Martin writes: > Hi, > > > Hi all, > > > > I've recently become aware that a few packages are causing alignment > > faults on ARM, and are relying on the alignment fixup emulation code in > > the kernel in order to work. > > > > Such faults are ve

Re: Getting rid of alignment faults in userspace

2011-06-18 Thread Nicolas Pitre
On Sat, 18 Jun 2011, Nicolas Pitre wrote: > int main(int argc, char * argv[]) > { > char buf[8]; > void *v = &buf[1]; > unsigned int *p = (unsigned int *)v; > > strcpy(buf, "abcdefg"); > > printf("*%p = 0x%08x\n", p,

Re: Getting rid of alignment faults in userspace

2011-06-18 Thread Nicolas Pitre
On Sat, 18 Jun 2011, Arnd Bergmann wrote: > On Friday 17 June 2011, Nicolas Pitre wrote: > > On Fri, 17 Jun 2011, Arnd Bergmann wrote: > > > On Friday 17 June 2011 14:10:11 Dave Martin wrote: > > > > > > > As part of the general effort to make open

Re: Getting rid of alignment faults in userspace

2011-06-18 Thread Nicolas Pitre
On Sat, 18 Jun 2011, Paul Brook wrote: > > > > char buf[8]; > > > > void *v = &buf[1]; > > > > unsigned int *p = (unsigned int *)v; > > > > > > This does not (reliably) do what you expect. The compiler need not align > > > buf. > > > > Printing the value of p should clarify th

Re: Getting rid of alignment faults in userspace

2011-06-17 Thread Nicolas Pitre
On Fri, 17 Jun 2011, Paul Brook wrote: > > >> There is still going to be a small cost even in hardware fixup so this > > >> is very much worth solving despite it's "becoming invisible" because the > > >> chips are hiding / solving it already. > > > > > > But I believe that h/w feature is turned o

Re: Getting rid of alignment faults in userspace

2011-06-17 Thread Nicolas Pitre
On Fri, 17 Jun 2011, Arnd Bergmann wrote: > On Friday 17 June 2011 14:10:11 Dave Martin wrote: > > > As part of the general effort to make open source on ARM better, I think > > it would be great if we can disable the alignment fixups (or at least > > enable logging) and work with upstreams to g

Re: UBIFS fails & crashes on SheevaPlug

2009-07-24 Thread Nicolas Pitre
On Thu, 23 Jul 2009, e...@gulp.u--3.com wrote: > I also get messages like this on boot: > > [4.42] uncorrectable error : <3>uncorrectable error : > <3>end_request: I/O error, dev mtdblock0, sector 0 > [4.43] Buffer I/O error on device mtdblock0, logical block 0 > [4.44] u

Re: SheevaPlug

2009-03-17 Thread Nicolas Pitre
On Tue, 17 Mar 2009, Lennert Buytenhek wrote: > On Tue, Mar 17, 2009 at 11:17:47AM +0100, Laurent GUERBY wrote: > > > > > just seen your SheevaPlug blog entry > > > > http://www.cyrius.com/journal/debian/kirkwood/sheevaplug/nslu2-killer > > > > > > > > Do you have meassured power consumption num

Re: non-working coreutils and findutils in arm chroot, running armel kernel

2008-03-27 Thread Nicolas Pitre
ntil weekend > until I can test it.. I'll let you test it, but otherwise: Acked-by: Nicolas Pitre <[EMAIL PROTECTED]> Nicolas -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]