Hello,<br>
<br>
I am triying to write a tty_driver under ppc. And I get a kernel panic.<br>
Can somebody explain me how finding the source of the error with a kernel panic trace : <br>
thanks<br>
<br>
Unable to handle kernel paging request for data at address 0x575555f9<br>
Faulting instruction address: 0xc0110ddc<br>
Oops: Kernel access of bad area, sig: 11 [#1]<br>
Modules linked in:<br>
NIP: c0110ddc LR: c011118c CTR: 00000000<br>
REGS: cf01bcb0 TRAP: 0300 Not tainted (2.6.26)<br>
MSR: 00009032 <EE,ME,IR,DR> CR: 44002022 XER: 20000000<br>
DAR: 575555f9, DSISR: 40000000<br>
TASK = cf01c000[1] 'swapper' THREAD: cf01a000<br>
GPR00: 0000000c cf01bd60 cf01c000 cf04c300 ffffffff cf01bdbc 00000000 c01d0000 <br>
GPR08: 00001249 fffffffc 00000000 cf000420 84002022 00000000 10000b00 007fff00 <br>
GPR16: 0fffa1d0 00000000 00000004 cf01bdbc 007ffec0 00000000 00000000 00800000 <br>
GPR24: 00000000 c01b7650 00000002 c01d0000 ffffffff ce4a6700 cf04c300 57555541 <br>
NIP [c0110ddc] init_dev+0x2bc/0x584<br>
LR [c011118c] tty_open+0xe8/0x3e0<br>
Call Trace:<br>
[cf01bd60] [cf01bd78] 0xcf01bd78 (unreliable)<br>
[cf01bdb0] [c011118c] tty_open+0xe8/0x3e0<br>
[cf01bde0] [c00742c8] chrdev_open+0x114/0x1b0<br>
[cf01be10] [c006fb5c] __dentry_open+0x190/0x2e8<br>
[cf01be40] [c006fdac] nameidata_to_filp+0x38/0x70<br>
[cf01be60] [c007bc60] do_filp_open+0x200/0x7d0<br>
[cf01bf10] [c00700b4] do_sys_open+0x74/0x114<br>
[cf01bf40] [c0003c94] init_post+0x34/0x258<br>
[cf01bf60] [c019ca64] kernel_init+0x258/0x270<br>
[cf01bff0] [c0011b3c] kernel_thread+0x44/0x60<br>
Instruction dump:<br>
7d808120 4e800020 7c832378 4bfa9ea9 7c7f1b79 418201f0 a81e0062 2f800001 <br>
409efd98 83ff00d0 2c1f0000 4182fd90 <801f00b8> 70090080 408201b0 801e0060 <br>
---[ end trace b7795a387aeb7786 ]---<br>
Kernel panic - not syncing: Attempted to kill init!<br>
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.<br>