Cpu hogging and kernel panic message

Hi,

On our custom board using Apalis T30 processor we are running the below applications :

  1. Linux application
  2. Java based GUI application

a) When we run Linux application and check the CPU usage using top command, it is showing 93%.
b) When we run both Linux aplication and GUI application then CPU usage by
Linux application is 2% and
GUI application is 195%

and we are getting the below messages printed on the console :

[  276.938097] Pid: 577, comm:                 java
[  276.943025] CPU: 3    Not tainted  (3.1.10-g8e1745b-dirty #14)
[  276.948867] PC is at 0x41053e98
[  276.952006] LR is at 0x410542ec
[  276.955371] pc : [<41053e98>]    lr : [<410542ec>]    psr: 60070010
[  276.955375] sp : 537cc688  ip : 00000000  fp : 537cc758
[  276.966891] r10: 534a5400  r9 : 00000000  r8 : 486f6198
[  276.972121] r7 : 00002000  r6 : 00000001  r5 : 486f6188  r4 : 00000000
[  276.978644] r3 : 0000000a  r2 : 00000000  r1 : 53882bd8  r0 : 484512d0
[  276.985163] Flags: nZCv  IRQs on  FIQs on  Mode USER_32  ISA ARM  Segment user
[  276.992496] Control: 10c5387d  Table: a358c04a  DAC: 00000015
[  276.998330] [] (show_regs+0x0/0x58) from [] (__do_user_fault+0x64/0xac)
[  277.006667]  r5:00000000 r4:e6bd7ae0
[  277.010272] [] (__do_user_fault+0x0/0xac) from [] (do_page_fault+0x208/0x218)
[  277.019136]  r7:e6bd7ae0 r6:00000000 r5:00030001 r4:e3427fb0
[  277.024829] [] (do_page_fault+0x0/0x218) from [] (do_DataAbort+0x48/0xac)
[  277.033354] [] (do_DataAbort+0x0/0xac) from [] (__dabt_usr+0x38/0x40)
[  277.041531] Exception stack(0xe3427fb0 to 0xe3427ff8)
[  277.046573] 7fa0:                                     484512d0 53882bd8 00000000 0000000a
[  277.054745] 7fc0: 00000000 486f6188 00000001 00002000 486f6198 00000000 534a5400 537cc758
[  277.062951] 7fe0: 00000000 537cc688 410542ec 41053e98 60070010 ffffffff
[  277.069564]  r7:00002000 r6:ffffffff r5:60070010 r4:41053e98
[  277.075916] pgd = e358c000
[  277.078630] [00000000] *pgd=a6b59831, *pte=00000000, *ppte=00000000
[  277.084909] 

Kindly shed some light on this issue.

Thanks,
Shiva Shankar K.

HI @shivashankar

Could you provide the version of the hardware and software of your module?
What java version are you using? Is the module still responsible after these messages on the console when you are running your java application? What are the java and the linux applications doing? Please provide some more Information of your usecase? Thanks.

Hi Jask,

hardware version = V1.1
Java version = V1.8

Java application will receive click from external world(user) and then it would send it to Linux application
as per our custom protocol defined to exchange the packets.

Usecase :
Our system is a audio recording module.
GUI and Linux application are running on our board where GUI will receive click from user upon selecting the recording configurations. This configuration is packeted and sent to Linux application over TCP/IP socket connection.

Thanks,
Shiva Shankar K.

Could you provide the bsp version of your module ( uname -r )? Is the module still responsible after these messages on the console when you are running your java application? Could you provide the complete dmesg log? Thanks.

Firstly, I thank you for your instant reply.

uname -r gives 3.1.10-g8e1745b-dirty

Yes, the module is responsible.

please find below the complete log of the dmesg command attached here.

Thanks,
Shiva Shankar K.

Thanks for the Information. Your kernel has the tag dirty? What changes have you done to the kernel. Since the module is responsible could you post the dmesg log after the error arrives? Actually it is not a kernel panic, only the user java application is crashing.

Hi Jask,

We will post again, once I get this error message.

Thanks for the courtesy.
Shiva Shankar K.

Hi Jask,

We will post again, once I get this error message.

Thanks for the courtesy.
Shiva Shankar K.