lkml.org 
[lkml]   [2009]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Rootfs in eMMC: Kernel panic ...Attempted to kill init!
On Mon, Jun 22, 2009 at 05:13:16PM +0100, Catalin Marinas wrote:
> Well, I get this kind of errors (with /sbin/init) every time I try ext2
> on CompactFlash (with pata_platform). You could try with USB as well on
> a RealView/EB+ARM11MPCore board.

Is USB now usable on the rev.B board I have?

> Could you or Sudeep clarify whether the driver uses DMA or PIO?

If I knew what this "eMMC" was...

> In my case (ext2 over pata_platform), there is no flush_dcache_page()
> call after the page was written with data from the CompactFlash (neither
> the driver nor the VFS layer do this and we used hardware tracing to
> double-check). When the page is mapped into user space,
> update_mmu_cache() is called but the page hasn't been marked as dirty
> and no D-cache flushing occurs. Calling flush_dcache_page() in
> mpage_end_io_read() works around this issue.

As already covered, there's no chance of adding such a call to the
generic kernel. It's the responsibility of the drivers to ensure that
data they read in hits the underlying page - in the same way that DMA
does.


\
 
 \ /
  Last update: 2009-06-22 18:51    [W:2.663 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site