LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Closed Thread
  Search this Thread
Old 03-02-2009, 05:32 AM   #1
yigal_gold
LQ Newbie
 
Registered: Dec 2008
Posts: 8

Rep: Reputation: 0
kernel BUG in preempt_schedule_irq at kernel/sched.c:3114!


Hi all,
My system is a PPC running kernel 2.6.14.7 .
My application uses interrupts to collect bytes from the uart .
And I have to uarts running in parallel which signal to the same interrupt line . When I run only one uart at a time the system works fine . But when the 2 run symultaniously the system crashes as follows :

" kernel BUG in preempt_schedule_irq at kernel/sched.c:3114!
Oops: Exception in kernel mode, sig: 5 [#1]
PREEMPT
NIP: C02297A8 LR: C0004A40 SP: C0286170 REGS: c02860c0 TRAP: 0700 Tainted: P
MSR: 00029032 EE: 1 PR: 0 FP: 0 ME: 1 IR/DR: 11
TASK = c0265b00[0] 'swapper' THREAD: c0286000
Last syscall: 120
GPR00: 00000001 C0286170 C0265B00 00009032 00000000 00003032 00600084 C02B5594
GPR08: C0280000 C0286000 00000001 C026A200 512037AD 4377FFBF 0FFFD000 00000000
GPR16: 00000001 00000001 FFFFFFFF 007FFF00 0FFF7E68 00000000 00000002 0FBC62B0
GPR24: 00000000 00000000 40000000 007FFF7D 007FFF00 C02A0000 C0265B00 C02A28F0
Call trace: [c0004a40] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c] [c0004c7c]
Kernel panic - not syncing: Attempted to kill the idle task!
<0>Rebooting in 1 seconds..þ "

Does anyone have an idea why this is happening and what am I doing wrong ?



Thanks,
Yigal Goldberger .
 
Old 03-27-2009, 08:46 PM   #2
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Continue this here.
 
  


Closed Thread



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
kernel BUG in preempt_schedule_irq at kernel/sched.c:3114! yigal_gold Linux - Kernel 0 03-01-2009 06:44 AM
how to diagnose kernel BUG at kernel/exit.c:840! ? Helma Linux - Kernel 2 12-23-2007 01:47 AM
Architecture dependency of switch_to in /kernel/sched.c skie_knite007 Programming 0 02-19-2006 08:40 AM
Kernel 2.6 bug?!! oldi Slackware 1 05-30-2004 02:26 PM
a bug maybe in the new kernel 2.4.19? Frustin Linux - General 2 08-06-2002 04:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 01:53 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
Open Source Consulting | Domain Registration