Bug 1392

Summary: qemumips: linux-yocto-rt_3.0 panics at boot
Product: [Build System, Metadata & Runtime] BSPs Reporter: Darren Hart <dvhart>
Component: bsps-runtimeAssignee: Bruce Ashfield <bruce.ashfield>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: Undecided CC: liming.wang, yp.kernel.watcher, yp.watcher
Version: unspecified   
Target Milestone: 1.1   
Hardware: x86   
OS: mips   
Whiteboard: pull request sent. (Aug 27, 2011)
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---
Bug Depends on: 1515    
Bug Blocks:    

Description Darren Hart 2011-08-22 10:32:51 UTC
Booting qemumips w/ linux-yocto-rt_3.0 using the "nographic" option results in the following panic:

Preemptible hierarchical RCU implementation.
NR_IRQS:256
CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 8012ed48, ra == 8012ed48
Oops[#1]:
Cpu 0
$ 0   : 00000000 8012ed48 00000000 00000001
$ 4   : 00000002 0000000f 00000000 806298cc
$ 8   : 00000000 00007fff 00000000 87c0a418
$12   : 80689d34 00000003 00000000 00000001
$16   : 00000000 10000000 8019d19c 00000002
$20   : 80700000 00000000 00000000 00000000
$24   : 00000000 00000800                  
$28   : 80688000 80689d38 80689d40 8012ed48
Hi    : 00000000
Lo    : 00000000
epc   : 8012ed48 try_to_wake_up+0x5c/0x1d4
    Not tainted
ra    : 8012ed48 try_to_wake_up+0x5c/0x1d4
Status: 10000002    KERNEL EXL 
Cause : 00800008
BadVA : 00000000
PrId  : 00019300 (MIPS 24Kc)
Modules linked in:
Process swapper (pid: 0, threadinfo=80688000, task=8068cd80, tls=00000000)
Stack : 00000001 87c03724 87c0a000 80689ea4 00000800 00000200 00000000 0000000f
        80690000 806298cc 80689d70 8012ef28 80689d78 8021433c 00000002 87c09000
        87c02680 80690000 80689d90 80162088 80711c3e 00000001 00000004 00000001
        80689da8 805aa420 0000000f 8019b23c 8068f1d0 ffffffff 00000000 00000000
        80689db8 80689db8 00000000 80199ea8 00000000 80689dcc 80689dcc 80692f74
        ...
Call Trace:
[<8012ed48>] try_to_wake_up+0x5c/0x1d4
	
	
Code: afc50014  0c04b168  afc60010 <8e020000> 8fc50014  00a21024  1440000b  8fc60010  30c60008 
Disabling lock debugging due to kernel taint
Kernel panic - not syncing: Attempted to kill the idle task!
Comment 1 Bruce Ashfield 2011-08-22 11:08:37 UTC
This is a risk, there may not be time before 1.1, but we'll try.
Comment 3 Liming Wang 2011-09-12 22:59:41 UTC
Hi Darren,

This bug has been fixed, please help us to verify this bug and mark it "verified fixed", thanks a lot!
Comment 4 Darren Hart 2011-09-22 12:03:04 UTC
Blocked on 1515
Comment 5 Darren Hart 2011-09-22 14:28:38 UTC
Manged to test with a workaround to 1515.