Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

kernel_execve locks

Altera_Forum
Honored Contributor II
1,014 Views

Hello all, 

 

I am trying to port a working linux under development board to a board designed with similar features. 

 

I use uboot, Linux 3.2.0-rc5 and jffs2 root filesystem (all these working on dev board). 

 

My problem is that linux locks after displaying "Freeing unused kernel memory", so I checked source code, added printk(s) and found that it was kernel_execve() that locks when trying to call init. 

 

I am not 100% sure my rootfs partition is well mounted, even if linux prints "VFS: Mounted root (jffs2 filesystem) on device 31:3." because I have write access and protection problems with uboot. 

 

Anyone has experienced similar problems?  

How can I be sure my rootfs is ok?  

Can I read my root fs inside the kernel? 

 

Regards 

eric
0 Kudos
0 Replies
Reply