[loongson-dev] Re: kernel boot panic

2011-12-08 Thread 李晖
hi, the latest information, by add printk to the do_ri function in traps.c, I found that the kernel panic after execute he simulate_sync function, the do_ri function was called more than seven hundreds of times. asmlinkage void do_ri(struct pt_regs *regs) { unsigned int __user *epc = (uns

[loongson-dev] Re: kernel boot panic

2011-12-07 Thread 李晖
By the way, the kernel and android file system located on my U-disk,if this affect! As the kernel can not recognize the SATA hardware, even the scsi device support, scsi disk support SCSI low-level drivers Serial ATA and Parallel ATA are build into the kernel. Can you send me the .config to me

[loongson-dev] Re: kernel boot panic

2011-12-07 Thread 李晖
hi, zhangfxI rebuild the android file system by using the cross- compile toolchain you give to me(in an other post you give me the link), I encounter the libwebcore.so ld problem again, by replace it with the libwebcore.so I compile succeed early and recompile it again, I succeed build the andr

[loongson-dev] Re: kernel boot panic

2011-12-04 Thread 李晖
hi, zhangfx, for the first question, you have explained very clearly, I understand it right now! for the second question, I will try your advise and will feedback then! thank you for your patient and detailed reply! andy On 12月4日, 下午4时00分, "Fuxin Zhang" wrote: > > hi, zhangfx, > > I

Re: [loongson-dev] Re: kernel boot panic

2011-12-04 Thread Fuxin Zhang
> hi, zhangfx, > I followed your advice by adding printf to the do_ri function and > found that when the kernel init the system, this function was called > hundreds of times and then the kernel panic, so it means that there > are illegal instruction exist, but why do_ri will be called so many >

[loongson-dev] Re: kernel boot panic

2011-12-03 Thread 李晖
hi, zhangfx, I followed your advice by adding printf to the do_ri function and found that when the kernel init the system, this function was called hundreds of times and then the kernel panic, so it means that there are illegal instruction exist, but why do_ri will be called so many times?

Re: [loongson-dev] Re: kernel boot panic

2011-12-02 Thread zhangfx
2,yes李晖 编写:hi, zhangfx, thank you for your reply, I added printf to the init.c file of android file system code (system/core/init/init.c), and found that the kernel panic after the "open_devnull_stdio" is called, so I think the kernle panic in that function, I will check the exact point the err

[loongson-dev] Re: kernel boot panic

2011-12-02 Thread 李晖
hi, zhangfx, thank you for your reply, I added printf to the init.c file of android file system code (system/core/init/init.c), and found that the kernel panic after the "open_devnull_stdio" is called, so I think the kernle panic in that function, I will check the exact point the error arise.