2 May 2004 13:12
pci_pool_free() bug ?!
Nguyen Dang Phuoc Dong <dong <at> sunyard.net.tw>
2004-05-02 11:12:43 GMT
2004-05-02 11:12:43 GMT
Hi folks, I'm testing usb camera on SH3-DSP platform (SH7727RP). Although this platform does not have PCI, but it support some API such as pci_pool_xxx(), pci_alloc_consistent(), pci_free_consistent(), ... My cam is OV511 with sensor OV7620. My kernel is 2.4.18 I use vidcat to test. It crashed after captured a few images. I could see some kernel messages: reserved instruction: 0180 PC : 8c00bd50 SP : 8c13beb8 SR : 400001f1 TEA : 295c31c0 Not tainted R0 : 00000018 R1 : 00000000 R2 : 00000005 R3 : 000000f0 R4 : 00000018 R5 : 00000040 R6 : 00000040 R7 : 8c17c0b0 R8 : 00000018 R9 : 8df2c210 R10 : 8c1f7fe0 R11 : ade6c600 R12 : 00000000 R13 : fffffffb R14 : adff0800 MACH: 00006fb5 MACL: 00053a64 GBR : cf224caf PR : 8c00bd3e Kernel panic: Aiee, killing interrupt handler! In interrupt handler - not syncing I use sh3-linux-objdump to check the kernel and I could find the bug is in pci_pool_free() function, the bug is caused by this instruction: 8c00bd50: 2d 41 shld r2,r1 Kernel also said "reserved instruction: 0180", I guessed that it is generated by a trap. But i'm not sure. I show you more detail below :) 8c00bd10 <pci_pool_free>:(Continue reading)
RSS Feed