Kernel system call problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm porting Linux 2.6.12 to a MIPS 4KEC based SOC.
I have do some essential setup work, include CPU setup,
board setup, interrupt initialization, page table setup, etc.
In breaf, it can go through the kernel initialization code in " main.c"
until it try to open "/sbin/init " file, here is the source code:

if (execute_command)
        run_init_process(execute_command);

    run_init_process("/sbin/init");
    run_init_process("/etc/init");
    run_init_process("/bin/init");
    run_init_process("/bin/sh");

"run_init_process(execute_command);" calls "execve" which is a
 system call, then  the kernel stopped without any information.
In trap_init( ), kernel has already installed exception vector, now
I cann't find the problem, can anyone give me some advices?
Thank you very much!

YDQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux