Sometimes you pull the video cable out, when the loopback demo runs. The kernel will crash. If you don’t pull out the video cable out, the video runs ok and kernel is ok too.
Sometimes it show the bug information as bellow, Sometime it show nothing and crash. We think the bug has relation with the vpif module. But we have no method to resolve it.
When we use TVP7002, TVP5147 and SIL9135, it kernel never crash when you pull the video cable out.
Alignment trap: init (1) PC=0x400989c0 Instr=0x29084238 Address=0x00000023 FSR 0x801
Alignment trap: init (1) PC=0x400989c0 Instr=0x29084238 Address=0x00000023 FSR 0x801
Alignment trap: init (1) PC=0x400989c0 Instr=0x29084238 Address=0x00000023 FSR 0x801
Alignment trap: init (1) PC=0x400989c0 Instr=0x29084238 Address=0x00000023 FSR 0x801
Alignment trap: init (1) PC=0x400989c0 Instr=0x29084238 Address=0x00000023 FSR 0x801
Alignment trap: init (1) PC=0x400989c0 Instr=0x29084238 Address=0x00000023 FSR 0x801
Unable to handle kernel paging request at virtual address 80100800
pgd = c0010000
[80100800] *pgd=00000000
Internal error: Oops: 0 [#1]
David Bian:
From the log, it's memory access issue, check your drivers.
When plug the video cables, you may need take care of the buffers management, especially the DMA operation, add some detect & reset logic may help you.