On Thu, 02 May 2019 04:56:05 +0530, Pankaj Suryawanshi said:
> Please help me to decode the error messages and reason for this errors.
> [ 3205.818891] HwBinder:1894_6: page allocation failure: order:7,
> mode:0x14040c0(GFP_KERNEL|__GFP_COMP), nodemask=(null)
Order 7 - so it wants 2**7 contiguo
Hi All,
Please help me to decode the error messages and reason for this errors.
System Configuration
1. Kernel 4.14.65 For Android Pie.
2. RAM 2GB
As per my understanding its because of
i) I am out of memory or due to fragmentation.
I also tried to set /proc/sys/vm/min_freekbytes from 3MB to 64
Hey,
I'm trying to debug an issue on an embedded Linux (v4.4.107) where
repeatedly and quickly suspending (mem suspend) and resuming the system
causes one of the I2C controllers in the system to malfunction. I've run
out of ideas and would like to know if anyone recognizes my issue or can
pro
On Wed, May 01, 2019 at 03:18:51PM +0100, r...@metamail.co wrote:
> Hello and thanks,
>
> > >
> > > The pattern for the implementation is (AFAICT) right out of the book
> > >
> >
> > You are returning a "short" read, and then disallowing ppos to be set to a
> > non-zero value? That's a recipie
> my guess is your are not returning EOF (= 0). User space expects a return
> value of 0 (EOF) to terminate reading. But your code will always return
> sizeof("Hello world\n"). A fix would be to not only increment ppos, but also
> check if it's already behind your data.
>
> Regards,
>
> Martin
T