LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2010, 05:19 PM   #1
Lobinho
Member
 
Registered: May 2010
Distribution: Ubuntu
Posts: 72

Rep: Reputation: 18
"Kernel panic" message (or something worst...)


Hi,

I'm using kernel 2.6.32.2 on a micro 2440 board from FriendlyARM (ARM9 processor) and got a strange error two times today. I don't know how to solve that, it seems too advanced to me.
The problem occurs when my program is running... On my program I have a lot of classes and variables. The program don't have any memory leak and I guess is everything right with the code, so I don't know how to start to find a solution.

Any suggestion??

Thanks in advance.

Code:
------------[ cut here ]------------
WARNING: at kernel/rcutree.c:1275 __rcu_process_callbacks+0x440/0x4cc()
Modules linked in:
Backtrace: 
[<c0036278>] (dump_backtrace+0x0/0x10c) from [<c03a3fcc>] (dump_stack+0x18/0x1c)
 r7:00000000 r6:c00779e0 r5:c046c8f4 r4:000004fb
[<c03a3fb4>] (dump_stack+0x0/0x1c) from [<c004cb54>] (warn_slowpath_common+0x4c/0x80)
[<c004cb08>] (warn_slowpath_common+0x0/0x80) from [<c004cba0>] (warn_slowpath_null+0x18/0x1c)
 r7:00000009 r6:c04e51e0 r5:c04e5178 r4:c05404f4
[<c004cb88>] (warn_slowpath_null+0x0/0x1c) from [<c00779e0>] (__rcu_process_callbacks+0x440/0x4cc)
[<c00775a0>] (__rcu_process_callbacks+0x0/0x4cc) from [<c0077a98>] (rcu_process_callbacks+0x2c/0x38)
[<c0077a6c>] (rcu_process_callbacks+0x0/0x38) from [<c0052204>] (__do_softirq+0x90/0x120)
 r5:00000001 r4:00000024
[<c0052174>] (__do_softirq+0x0/0x120) from [<c00522dc>] (irq_exit+0x48/0x50)
[<c0052294>] (irq_exit+0x0/0x50) from [<c0031048>] (asm_do_IRQ+0x48/0x8c)
[<c0031000>] (asm_do_IRQ+0x0/0x8c) from [<c0031b04>] (__irq_svc+0x24/0xa0)
Exception stack(0xc3a8bd68 to 0xc3a8bdb0)
bd60:                   33a40000 000000c0 00000000 ec0000c0 c39a7780 c3abe900
bd80: c3afd180 00000000 00000000 c3abf690 c3abf500 c3a8bdfc 00000000 c3a8bdb0
bda0: c03a4804 c003ae70 a0000013 ffffffff
 r7:00000000 r6:00004000 r5:f4000000 r4:ffffffff
[<c03a456c>] (schedule+0x0/0x3e4) from [<c03a4a94>] (_cond_resched+0x44/0x58)
[<c03a4a50>] (_cond_resched+0x0/0x58) from [<c004e934>] (put_files_struct+0xc0/0xe0)
 r5:000000ff r4:00000000
[<c004e874>] (put_files_struct+0x0/0xe0) from [<c004e97c>] (exit_files+0x28/0x2c)
[<c004e954>] (exit_files+0x0/0x2c) from [<c004fe58>] (do_exit+0xe4/0x62c)
[<c004fd74>] (do_exit+0x0/0x62c) from [<c00503e4>] (do_group_exit+0x44/0xc4)
[<c00503a0>] (do_group_exit+0x0/0xc4) from [<c005af84>] (get_signal_to_deliver+0x19c/0x35c)
 r5:00000009 r4:c3a8a000
[<c005ade8>] (get_signal_to_deliver+0x0/0x35c) from [<c0034a08>] (do_notify_resume+0x9c/0x578)
[<c003496c>] (do_notify_resume+0x0/0x578) from [<c0031f68>] (work_pending+0x1c/0x20)
---[ end trace ac1c73b2e53ff009 ]---
Unable to handle kernel paging request at virtual address 00089688
pgd = c0004000
[00089688] *pgd=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/devices/platform/s3c2410-ohci/usb1/1-1/1-1.1/1-1.1:1.0/host9/target9:0:0/9:0:0:0/block/sda/dev
Modules linked in:
CPU: 0    Tainted: G        W   (2.6.32.2-FriendlyARM #2)
PC is at __rcu_process_callbacks+0x4c/0x4cc
LR is at add_taint+0x3c/0x58
pc : [<c00775ec>]    lr : [<c004caec>]    psr: a0000093
sp : c3a8bcb8  ip : a0000013  fp : c3a8bce4
r10: c04e50e4  r9 : 0000000a  r8 : c3a8a000
r7 : 00000009  r6 : c04e51e0  r5 : c04e5178  r4 : c05404f4
r3 : a0000093  r2 : 403b777c  r1 : a0000013  r0 : 00089684
Flags: NzCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: c000717f  Table: 33af0000  DAC: 00000015
Process myProgram (pid: 3922, stack limit = 0xc3a8a270)
Stack: (0xc3a8bcb8 to 0xc3a8c000)
bca0:                                                       0000001b c04e5068
bcc0: c04e5178 40000100 00000009 c3a8a000 0000000a c053dcc0 c3a8bcfc c3a8bce8
bce0: c0077a98 c00775b0 00000024 00000001 c3a8bd34 c3a8bd00 c0052204 c0077a7c
bd00: c04e3e68 c04e08a8 0000001e 0000001e c04f0710 00000000 00000000 00000000
bd20: c3abf690 c3abf500 c3a8bd44 c3a8bd38 c00522dc c0052184 c3a8bd64 c3a8bd48
bd40: c0031048 c00522a4 ffffffff f4000000 00004000 00000000 c3a8bdfc c3a8bd68
bd60: c0031b04 c0031010 33a40000 000000c0 00000000 ec0000c0 c39a7780 c3abe900
bd80: c3afd180 00000000 00000000 c3abf690 c3abf500 c3a8bdfc 00000000 c3a8bdb0
bda0: c03a4804 c003ae70 a0000013 ffffffff c3a8bde4 c3a8bdc0 fffeb1ca ffffffff
bdc0: fffa49d3 ffffffff c3a15a80 c3a8a000 c3a15a80 c3a8a000 000000ff c3a15a88
bde0: 0000000c c3a15a80 08430000 00000000 c3a8be14 c3a8be00 c03a4a94 c03a457c
be00: 00000000 000000ff c3a8be3c c3a8be18 c004e934 c03a4a60 0000000b 00000009
be20: c3a8bee0 c3a57000 c3abf500 00000000 c3a8be4c c3a8be40 c004e97c c004e884
be40: c3a8be6c c3a8be50 c004fe58 c004e964 c3a8a000 00000000 0000001b c3a8a000
be60: c3a8be84 c3a8be70 c00503e4 c004fd84 c3a8a000 00000009 c3a8bec4 c3a8be88
be80: c005af84 c00503b0 00000028 00000000 c3a8bfb0 c3a8bf60 c005224c c00320c8
bea0: c3a8bfb0 00000000 c3a8a000 00000001 c3a8a000 c3a8bee0 c3a8bfac c3a8bec8
bec0: c0034a08 c005adf8 c3a8bee4 c3a8bed8 c00522dc c0052184 c3a8bf04 c3a8bee8
bee0: 00000009 00000000 00000000 00000000 00000000 c053f200 c3a8bf7c c3abef38
bf00: c3abf238 c3abf230 c04e11b0 004c4b40 c3a8bf44 c3a8bf20 c0065e90 c003f44c
bf20: c3b5a01c c3abf500 00000015 004c4b40 00000000 c3abf690 c3a8bf5c c3a8bf48
bf40: c0065f7c c0065e4c c3afd180 c3abf200 c3a8bfac c3a8bf60 c03a4840 c0049084
bf60: c3a8bf80 0000004e 00007984 00000000 00025f93 00000000 4bd0ede8 c3a8a000
bf80: c6ebed67 00000000 c1cc8a09 00000000 0000004e c00320c8 c3a8a000 00000000
bfa0: 00000000 c3a8bfb0 c0031f68 c003497c 00000000 00000000 00000000 00000000
bfc0: 00000000 c1cc8a09 00000000 0000004e 00000000 4bd0eddc 4c5fc505 c1cc8a09
bfe0: 00037608 4bd0e060 4005a680 4036842c 60000010 4bd0ede8 305d4031 305d4431
 
Old 07-27-2010, 09:12 PM   #2
AwesomeMachine
Senior Member
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,120

Rep: Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549Reputation: 549
It looks like a stack overflow, probably because the kernel is configured to use a RCU tree. Try to reconfigure the kernel with a simple RCU.
 
Old 07-28-2010, 03:21 AM   #3
resetreset
Senior Member
 
Registered: Mar 2008
Location: Cyberspace
Distribution: Dynebolic, Ubuntu 10.10
Posts: 1,340

Rep: Reputation: 62
I have no clue about the above discussion, but could you tell me what a "RCU tree" is?
 
Old 07-28-2010, 07:21 AM   #4
Lobinho
Member
 
Registered: May 2010
Distribution: Ubuntu
Posts: 72

Original Poster
Rep: Reputation: 18
Thanks AwesomeMachine, I will try to use your suggestion.

Hey resetreset, I think this will be helpful to you and me:
http://www.rdrop.com/users/paulmck/RCU/whatisRCU.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "taints kernel" message even after having "Dual BSD/GPL" license nikhil_no_1 Linux - Kernel 3 12-06-2010 01:29 PM
"Kernel panic: VFS: Unable to mount root fs" - Kernel fails to boot linux Freedom Seeker Linux - General 11 11-12-2006 08:48 PM
Common problems explained: "kernel panic - not syncing", "unable to mount..." sundialsvcs Linux - Newbie 2 03-01-2006 01:17 PM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 01:49 PM
"kernel panic!......" message is seen (slightly different problem than the 1s here) neonair Linux - General 4 03-05-2004 01:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration