This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

davinci:Modules linked in: dsplinkk cmemk [last unloaded: dsplinkk]

Hi,all
           I confront an error ,when I run an app(boa web service) on arm-side the err appears as paste below:
Unable to handle kernel NULL pointer dereference at virtual address 00000004
pgd = c1a60000
[00000004] *pgd=81a64031, *pte=00000000, *ppte=00000000
Internal error: Oops: 817 [#4] PREEMPT
Modules linked in: dsplinkk cmemk [last unloaded: dsplinkk]
CPU: 0    Tainted: G      D     (2.6.32-rc2-davinci1 #61)
PC is at __kprobes_text_end+0x770/0xa00
LR is at tcp_sendmsg+0x334/0xae4
pc : [<c02ed868>]    lr : [<c02965c4>]    psr: 00000013
sp : c1a5fd80  ip : 00000003  fp : c1a5fe14
r10: 00000001  r9 : c1a5e000  r8 : 00000000
r7 : 00000000  r6 : 000005b4  r5 : 00000004  r4 : fffffff2
r3 : 00000000  r2 : 000005b4  r1 : c22098ec  r0 : 401974cc
Flags: nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 0005317f  Table: 81a60000  DAC: 00000015
Process boa (pid: 1509, stack limit = 0xc1a5e270)
Stack: (0xc1a5fd80 to 0xc1a60000)
fd80: c22098ec 000005b4 c1c2e900 c36c5f80 000005b4 00000000 00000000 c02965c4 
fda0: c1a5fddc c1a5fdb0 c026b3f8 c1a5ff18 00000000 00000040 000005b4 000005b4 
fdc0: 0000177a 401974cf 000005b4 c36c5ff0 c1a5e000 00000000 c01d27fc 00000000 
fde0: 00000000 000005b4 00000001 c2f80480 c1a5fe88 00000001 c1a5ff18 c1a5fe38 
fe00: c1a5e000 00000001 c1a5fe7c c1a5fe18 c025b554 c02962a0 00000004 c00ab47c 
fe20: 00000020 00001d2e c2f80480 00000000 00000000 c1a5fe38 00000000 00000000 
fe40: c1a5ff18 00000001 00000000 00000000 00000040 c1a5fe88 c0045aec c1a5fe88 
fe60: c3f33980 c1a5ff70 00001d2e 00001d2e c1a5ff3c c1a5fe80 c009b1cc c025b47c 
fe80: 00000000 00000000 00000019 00000019 00000000 00000001 ffffffff c3f33980 
fea0: 00000000 00000000 00000000 00000000 c3027740 c0038f24 00000000 00000000 
fec0: c002a074 c3027740 c0056ae0 c1a5fecc c1a5fecc c1a5fee0 00000000 00000000 
fee0: c1a5fe18 00021108 00000001 00000000 00001d2e 00000000 00021108 000226ec 
ff00: 0002276c 00000000 00000000 c2f804a8 c1a5ff60 00000002 40196f1b 00001d2e 
ff20: c1a5fe20 c3f33980 40196f1b c1a5ff70 c1a5ff6c c1a5ff40 c009bcf0 c009b128 
ff40: c1a5ff80 0000004e c002b044 00000000 00000000 c3f33980 00001d2e 40196f1b 
ff60: c1a5ffa4 c1a5ff70 c009be48 c009bc30 00000000 00000000 00000000 00000000 
ff80: 00000000 000227f0 00000000 0001f734 00000004 c002b044 00000000 c1a5ffa8 
ffa0: c002aec0 c009be14 000227f0 00000000 00000007 40196f1b 00001d2e 00000001 
ffc0: 000227f0 00000000 0001f734 00000004 00000005 00022668 00000001 0000000a 
ffe0: 0001f72c be9b7c20 0000e5a0 400eeabc 60000010 00000007 e4b6d38b f61aa5af 
Backtrace: 
[<c0296290>] (tcp_sendmsg+0x0/0xae4) from [<c025b554>] (sock_aio_write+0xe8/0xf0)
[<c025b46c>] (sock_aio_write+0x0/0xf0) from [<c009b1cc>] (do_sync_write+0xb4/0x104)
 r8:00001d2e r7:00001d2e r6:c1a5ff70 r5:c3f33980 r4:c1a5fe88
[<c009b118>] (do_sync_write+0x0/0x104) from [<c009bcf0>] (vfs_write+0xd0/0x164)
 r6:c1a5ff70 r5:40196f1b r4:c3f33980
[<c009bc20>] (vfs_write+0x0/0x164) from [<c009be48>] (sys_write+0x44/0x70)
 r8:40196f1b r7:00001d2e r6:c3f33980 r5:00000000 r4:00000000
[<c009be04>] (sys_write+0x0/0x70) from [<c002aec0>] (ret_fast_syscall+0x0/0x28)
 r8:c002b044 r7:00000004 r6:0001f734 r5:00000000 r4:000227f0
Code: 00000000 00000000 e3e0400d e59b5004 (e5854000) 
Regards,
-David
  • David,

    It appears that this thread was moved to the BIOS forum by someone from a different forum, although I can't tell who or from where.  It also appears that this issue has nothing to do with BIOS, so I'm going to move it to the Linux forum in hopes that it will get a faster response there.  I would also comment that there may not be enough detail in your problem description to really help you, so if you can provide more detail about which products (and versions) you are using and what you are trying to do.

  • Hi,

            My platform is dm6467T with dvsdk3.1.  I try to run a "boa web service on arm-side" while the dsp-side do some codecs such as h.264. 

    Regards,

    -David

  • Not sure if I can help. Can you run "boa web service" successfully without the DSP codec running? Is this a custom board? I've had problems where things run okay if only the ARM is executing.

  • Hi,

        My application can run for about 3 minutes .Then it crashs for a moment,and give the error posted above, after that only the "boa process" was killed,other parts of the app(both arm-side and dsp-side)run normally.

    Regards,

    -David

  • To confirm, you can run the "boa web service" for 3 minutes WITHOUT the DSP codecs executing? Null pointer panics are usually very hard to diagnose. I fear you won't get much response on a TI forum for non-TI program like boa.

    Your kernel panic seems to be occuring in the network area. Maybe double check that you network is good.