2007年4月19日 星期四

status of debian arm versatile qemu(4/19)

Applied my patches, I found
1. system work or kernel page error.
2. debian installation always work without kernel hang.
in that case, blue screen without anything.
3. I guess it is hardware model error.

But we need more systematic method to solve problem.

I try to debug by the follow steps.

First, I saw the kernel error in screen.
Because I use pyvnc2swf, I can saw all screen information in installation.

It show that

sym_evaluate_dp 0xa4/0x178
sym_compute_residual 0x78/0xe4
sym_interrupt 0xf0/0x18d8
sym53c8xx_intr 0x3c/0x6c
handle_IRQ_event 0x44/0x84

and then I use arm-elf-objdump -S to dump all of vmlinux > log
vmlinux has debug information, but vmlinuz not.
hence, you will get only assembly code if you dump vmlinuz.

and then you will find the memory error happen address in C code.


and then analysis these code
1. SYM_CONF_MAX_SG is 96. but (r0 = 0x1c8)
so that, some thing is wrong.

Another method is to enable debug mode in emulator,
and trace what happen inside. we can monitor all of transaction,
and find the problem.

for example above, we find the problem is happened in SCSI ISR.
Because of some mismatches, the ISR can not handle it correct.

沒有留言: