Re: kernel init exception

2010-06-30 Thread wilbur.chan
2010/7/1 Segher Boessenkool : >> Maybe it was caused by floating exception.I found that,system received >> a program check exception,the reason for it was REASON_ILLEGAL. >> >> I also use show_regs to print the NIP in exception,it seemed that >> ,this exception was caused by 'vmhaddshs' instruction

Re: kernel init exception

2010-06-30 Thread Segher Boessenkool
Maybe it was caused by floating exception.I found that,system received a program check exception,the reason for it was REASON_ILLEGAL. I also use show_regs to print the NIP in exception,it seemed that ,this exception was caused by 'vmhaddshs' instruction in user mode of init process . Is vmhadds

Re: kernel init exception

2010-06-30 Thread wilbur.chan
Hi, David, Segher, Maybe it was caused by floating exception.I found that,system received a program check exception,the reason for it was REASON_ILLEGAL. I also use show_regs to print the NIP in exception,it seemed that ,this exception was caused by 'vmhaddshs' instruction in user mode of init p

Re: kernel init exception

2010-06-29 Thread David Gibson
On Tue, Jun 29, 2010 at 06:51:16PM +0200, Segher Boessenkool wrote: > >why there generated a signal 4 in init process? > > That's SIGILL; sounds like you compiled init with the wrong (sub-)arch > or cpu flags. Or it's been corrupted during load. -- David Gibson| I'll have

Re: kernel init exception

2010-06-29 Thread Segher Boessenkool
why there generated a signal 4 in init process? That's SIGILL; sounds like you compiled init with the wrong (sub-)arch or cpu flags. Segher ___ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev

kernel init exception

2010-06-29 Thread wilbur.chan
We are porting linux 2.6.21.7 to a powerpc e500mc board , p4080. But something is wrong when loading init file: log: free init memory... init has generated signal 4 but has no handler for it I found it print in _exception ---> if (is_init(current)) {