kernel panic

Bug #1236444 reported by Dimitri John Ledkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-goldfish (Ubuntu)
Fix Released
Undecided
Tim Gardner
Saucy
Fix Released
Undecided
Tim Gardner
Trusty
Fix Released
Undecided
Tim Gardner

Bug Description

Unable to handle kernel paging request at virtual address c02fabe4
pgd = df940000
[c02fabe4] *pgd=1fffe801, *pte=002fa0cf, *ppte=002fa21e
Internal error: Oops: 81f [#1] PREEMPT ARM
Modules linked in:
CPU: 0 Tainted: G W (3.4.0-0-goldfish #6-Ubuntu)
PC is at __patch_text+0xc/0x24
LR is at __jump_label_update+0x3c/0x58
pc : [<c040770c>] lr : [<c009d040>] psr: 80000013
sp : dfb97f08 ip : 00000900 fp : 0000001d
r10: 00000004 r9 : 00000001 r8 : df7e3080
r7 : 00000001 r6 : c06132ac r5 : c05dab7c r4 : c0611fc8
r3 : c02fabe4 r2 : c05da064 r1 : ea00005b r0 : c02fabe4
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 1f940059 DAC: 00000015

PC: 0xc040768c:
768c e1a0200d ebf0463a e1a096ad e1a09689 e3a08000 eaf01a36 e281c01c e5923060
76ac e8ac6ff0 ee0d3f70 e3a04000 ee0d4f50 e592700c e59f8020 e5977200 e1a05000
76cc e282401c e59f0014 e3a01002 eb000554 e5887000 e1a00005 e894aff0 c05da048
76ec c0618aac e320f000 e320f000 e320f000 e320f000 e59f2018 e92d4008 e1a03000
770c e4831004 e1a01003 e5922010 e12fff32 e8bd8008 c05da064 eafffff5 e92d0fff
772c e1a0000d eb0000f7 e1a0e000 e8bd0fff e1a0f00e e92d4037 e1a04000 e5903014
774c e59f20b4 e1530002 3a000027 e59f20ac e1530002 3a000022 ea000023 e5930000
776c e1a01004 e28d3000 e5840030 e5a13034 eb0003e7 e3500001 0a000003 3a000018

LR: 0xc009cfc0:
cfc0 3a000002 93a00000 83a00001 e12fff1e e3e00000 e12fff1e e5903000 e5902004
cfe0 e3530000 e2020001 d3a03000 c3a03001 e1d32002 02233001 00000003 13a00001
d000 e12fff1e e92d40f8 e1a05000 e1a04001 e1a06002 e1a07003 ea000009 e5940000
d020 e3500000 0a000005 ebfe71c7 e3500000 0a000002 e1a00004 e1a01007 ebfdd4dd
d040 e284400c e1540006 28bd80f8 e5943008 e1550003 0afffff0 e8bd80f8 e92d47f0
d060 e1a05000 e5908004 e1a07001 ebff0067 e3a0a00c e3c88001 e5954008 e1a06000
d080 ea000008 e5943008 e1a00005 e5941004 e5932138 e5933134 e022329a e1a03007
d0a0 ebffffd7 e5944000 e3540000 1afffff4 e3560000 15962138 13a0100c 15963134

SP: 0xdfb97e88:
7e88 00000000 00000002 c05da554 dfa1cd02 00000000 dfb97ed4 00000008 dfb97ea8
7ea8 00000000 c040770c 80000013 ffffffff dfb97ef4 c0407298 c02fabe4 ea00005b
7ec8 c05da064 c02fabe4 c0611fc8 c05dab7c c06132ac 00000001 df7e3080 00000001
7ee8 00000004 0000001d 00000900 dfb97f08 c009d040 c040770c 80000013 ffffffff
7f08 c0611fc8 c009d040 00000001 c05dab7c 00000000 00000001 be87c5c0 c009d4a0
7f28 00000000 dfa1cdc0 00000001 c02ee918 00000000 00000000 be87c5cc df7e3080
7f48 00000001 00000004 0000001d 8d1c85d4 dfb96000 df7e3080 00000001 00000004
7f68 0000001d be87c5c0 dfb96000 00000000 be87c5c0 c02eafac 00000004 00000001

R0: 0xc02fab64:
ab64 e59c200a e0202002 e1811002 e1d320b0 e1dc30b0 e0223003 e1811003 ea000008
ab84 e3510000 1a000006 e5941018 e1a02007 e5950094 e3510000 05941094 ebfcd5a9
aba4 e1a01000 e2711001 e5858028 33a01000 e5851024 e5955000 e3550000 1affffd1
abc4 e1a01004 e1a00006 ebfff8c0 e1a01004 e8bd41f0 eaffffae e92d4037 e1a04000
abe4 e1a00000 ea000006 e1c420d8 e1921003 1a000003 e1a0000d ebf560e3 e1cd20d0
ac04 e1c420f8 e1a00000 ea000010 e5153008 e1a01004 e5150004 e12fff33 e4953008
ac24 e3530000 1afffff8 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004
ac44 e5933000 e3130002 0a000000 eb042dea e3a00001 eb043839 ebfcf1af e10f5000

R1: 0xe9ffffdb:
ffd8 ******** ******** ******** ******** ******** ******** ******** ********
fff8 ******** ******** ******** ******** ******** ******** ******** ********
0018 ******** ******** ******** ******** ******** ******** ******** ********
0038 ******** ******** ******** ******** ******** ******** ******** ********
0058 ******** ******** ******** ******** ******** ******** ******** ********
0078 ******** ******** ******** ******** ******** ******** ******** ********
0098 ******** ******** ******** ******** ******** ******** ******** ********
00b8 ******** ******** ******** ******** ******** ******** ******** ********
00d8 ******** ******** ******** ******** ******** ******** ******** ********

R2: 0xc05d9fe4:
9fe4 6f0565ba 31608756 fbbc260d 3ab7828b f06b23d0 ae0ec13c 64d26067 00000000
a004 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
a024 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
a044 00000000 8d1c85d4 c000ff58 ffffffff 00000009 0000b0d7 c0019230 c00191f4
a064 c0018fa0 c001904c c0019064 c0019064 c0019068 c0019068 c00190e4 c00191cc
a084 c00191dc c0019198 00000002 000005a1 00000001 00000000 00000000 00000000
a0a4 00000000 00000001 00000001 00000001 00000001 00000000 df818cc0 df818c40
a0c4 df818bc0 df818b40 df818ac0 df818a40 00000001 00005e37 c04fed68 c04fed7d

R3: 0xc02fab64:
ab64 e59c200a e0202002 e1811002 e1d320b0 e1dc30b0 e0223003 e1811003 ea000008
ab84 e3510000 1a000006 e5941018 e1a02007 e5950094 e3510000 05941094 ebfcd5a9
aba4 e1a01000 e2711001 e5858028 33a01000 e5851024 e5955000 e3550000 1affffd1
abc4 e1a01004 e1a00006 ebfff8c0 e1a01004 e8bd41f0 eaffffae e92d4037 e1a04000
abe4 e1a00000 ea000006 e1c420d8 e1921003 1a000003 e1a0000d ebf560e3 e1cd20d0
ac04 e1c420f8 e1a00000 ea000010 e5153008 e1a01004 e5150004 e12fff33 e4953008
ac24 e3530000 1afffff8 e1a0200d e3c23d7f e3c3303f e5932004 e2422001 e5832004
ac44 e5933000 e3130002 0a000000 eb042dea e3a00001 eb043839 ebfcf1af e10f5000

R4: 0xc0611f48:
1f48 00000000 00000000 00000000 00000000 c05536b5 00000000 c0612fb8 00000000
1f68 00000000 00000000 00000000 c05536c8 00000000 c0612fc4 00000000 00000000
1f88 00000000 00000000 c05536d8 00000000 c0612fd0 00000000 00000000 00000000
1fa8 00000000 00000000 c0406144 c0406310 c05da4f0 c00460e8 c004615c c05da4f0
1fc8 c02fabe4 c02fad58 c05dab7c c02f872c c02f8760 c05dab7c c02fc520 c02fca20
1fe8 c05dab7c c02f8220 c02f8578 c05dab7c c004a52c c004a4d8 c05e632c c004a4b4
2008 c004a4e0 c05e6338 c004b910 c004b918 c05e6350 c004b8bc c004b938 c05e635c
2028 c0405e68 c0405e6c c05e6380 c001db74 c001dd54 c0610084 c00d6e50 c00d6efc

R5: 0xc05daafc:
aafc c05daaf8 c05dab00 c05dab00 c05dae88 c05dae88 c05dab10 c05dab10 c05de868
ab1c c05de868 c05dab20 c05dab20 c05dab28 c05dab28 c05dab30 c05dab30 c05dab38
ab3c c05dab38 c05dab40 c05dab40 c05dab48 c05dab48 c05df2c8 c05df2c8 c05dab58
ab5c c05dab58 c05dab60 c05dab60 a7b36008 00000040 00000001 0000012c 000003e8
ab7c 00000000 c0611fc8 00000000 00000000 c04fd7e9 00000000 00000004 000001a4
ab9c 00000000 c00275bc 00000000 00000000 00000000 c04fd7f7 00000000 00000004
abbc 000001a4 00000000 c00275bc 00000000 00000000 00000000 c04fd805 00000000
abdc 00000004 000001a4 00000000 c00275bc 00000000 00000000 00000000 c0541674

R6: 0xc061322c:
322c c0394ef4 c076038c c03b16e0 c03b1840 c0760398 c03b0b70 c03b0cb8 c0760398
324c c03ad6c0 c03ada3c c0760398 c03a9054 c03a9114 c0760398 c03a7680 c03a7730
326c c0760398 c0394730 c039473c c0760398 c0394610 c03946b8 c0760398 c03c0220
328c c03c0234 c07603a4 c0395bb0 c0395bb8 c07603a4 c0394134 c03942f4 c07603a4
32ac 00000000 c04f750d c040d122 c04f735e c04f7431 0000012f 00000000 c04f750d
32cc c040d10d c04f735e c04f7457 00000103 00000000 c04f750d c040d13a c04f735e
32ec c04f74e7 00000153 00000000 c04f750d c040d249 c04f7736 c04f7511 00000033
330c 00000000 c04f750d c040d224 c04f7736 c04f757d 00000351 00000000 c04f750d

R8: 0xdf7e3000:
3000 df7b2040 df819308 00000080 df7e3080 0000000a ffffffff 00000000 00000001
3020 00000002 00000003 00000004 00000005 00000006 00000007 00000008 00000009
3040 ffffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3060 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3080 00000001 00000002 00000000 dfa64880 dfab5ec0 dfa1cdc0 c045dfc0 00000000
30a0 0000c1ff 00000000 00000000 00000000 ffffffff ffffffff c0656600 df861a00
30c0 df7e3160 dedee018 00002031 00000001 00000000 00000000 00000000 00000000
30e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Process dhclient (pid: 2224, stack limit = 0xdfb962e8)
Stack: (0xdfb97f08 to 0xdfb98000)
7f00: c0611fc8 c009d040 00000001 c05dab7c 00000000 00000001
7f20: be87c5c0 c009d4a0 00000000 dfa1cdc0 00000001 c02ee918 00000000 00000000
7f40: be87c5cc df7e3080 00000001 00000004 0000001d 8d1c85d4 dfb96000 df7e3080
7f60: 00000001 00000004 0000001d be87c5c0 dfb96000 00000000 be87c5c0 c02eafac
7f80: 00000004 00000001 00000000 00000000 00000004 be87c5bc b6f2d9a8 00000126
7fa0: c000e0c4 c000df20 00000004 be87c5bc 00000014 00000001 0000001d be87c5c0
7fc0: 00000004 be87c5bc b6f2d9a8 00000126 be87c784 b6c9d008 00000001 be87c5c0
7fe0: b6f2d9d4 be87c580 b6ef075f b6da4830 20000010 00000014 1fffb821 1fffbc21
[<c040770c>] (__patch_text+0xc/0x24) from [<c009d040>] (__jump_label_update+0x3c/0x58)
[<c009d040>] (__jump_label_update+0x3c/0x58) from [<c009d4a0>] (static_key_slow_inc+0x9c/0xa0)
[<c009d4a0>] (static_key_slow_inc+0x9c/0xa0) from [<c02ee918>] (sock_setsockopt+0x4c8/0x76c)
[<c02ee918>] (sock_setsockopt+0x4c8/0x76c) from [<c02eafac>] (sys_setsockopt+0x68/0xb8)
[<c02eafac>] (sys_setsockopt+0x68/0xb8) from [<c000df20>] (ret_fast_syscall+0x0/0x30)
Code: e320f000 e59f2018 e92d4008 e1a03000 (e4831004)
---[ end trace 031d9d208f22848a ]---
Kernel panic - not syncing: Fatal exception

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

This happens right after:
* Setting up X socket directories... [ OK ]

Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Changed in linux-goldfish (Ubuntu):
status: New → In Progress
Tim Gardner (timg-tpi)
Changed in linux-goldfish (Ubuntu Saucy):
assignee: nobody → Tim Gardner (timg-tpi)
Tim Gardner (timg-tpi)
Changed in linux-goldfish (Ubuntu Saucy):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-goldfish - 3.4.0-1.7

---------------
linux-goldfish (3.4.0-1.7) saucy; urgency=low

  [ John Johansen ]

  * SAUCE: apparmor: fix unix domain sockets to be mediated on connection
    - LP: #1208988
  * SAUCE: apparmor: allocate path lookup buffers during init
    - LP: #1208988
  * SAUCE: apparmor: fix memleak of the profile hash
    - LP: #1235523
  * SAUCE: apparmor: fix memleak of replacedby struct
    - LP: #1235973
  * SAUCE: apparmor: fix bad lock balance when introspecting policy
    - LP: #1235977

  [ Tim Gardner ]

  * [Config] Use gcc-4.6 for armhf
    - LP: #1236444
 -- Andy Whitcroft <email address hidden> Tue, 08 Oct 2013 11:06:06 +0100

Changed in linux-goldfish (Ubuntu Saucy):
status: Fix Committed → Fix Released
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
Download full text (10.3 KiB)

Attempted emulator boot with 3.4.0-1.8 built using gcc-4.8.
Fails to boot:

Begin: Running /scripts/init-bottom ... done.
init: ureadahead main process (377) terminated with status 5
init: could not import file '/init.carrier.rc' from '/init.rc'
init: cannot open '/initlogo.rle'
init: cannot find '/system/bin/surfaceflinger.disabled', disabling 'surfaceflinger'
init: cannot find '/system/bin/ubuntuappmanager.disabled', disabling 'ubuntuappmanager'
init: cannot find '/sbin/adbd', disabling 'adbd'
init: cannot find '/sbin/adbd', disabling 'adbd'
 * Starting AppArmor profiles * AppArmor not available as kernel LSM.
                                                                         [fail]
 * Setting up X socket directories... Unable to handle kernel paging request at virtual address c02f42a4
pgd = dc2a4000
[c02f42a4] *pgd=1fffe801, *pte=002f40cf, *ppte=002f421e
Internal error: Oops: 81f [#1] PREEMPT ARM
Modules linked in:
CPU: 0 Not tainted (3.4.0-1-goldfish #8-Ubuntu)
PC is at __patch_text+0x8/0x1c
LR is at __jump_label_update+0x4c/0x58
pc : [<c03ff088>] lr : [<c009b1f8>] psr: 80000013
sp : dc2f5f08 ip : 00000900 fp : 00000001
r10: c05cc048 r9 : 00000004 r8 : d2c93b00
r7 : 00000001 r6 : c060536c r5 : c05ccb74 r4 : c0604088
r3 : c02f42a4 r2 : c05cc064 r1 : ea000000 r0 : c02f42a4
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 1c2a4059 DAC: 00000015

PC: 0xc03ff008:
f008 ee010f10 e1a0200d ebf065f2 e1a096ad e1a09689 e3a08000 eaf03a96 e281c01c
f028 e5923060 e8ac6ff0 ee0d3f70 e3a04000 ee0d4f50 e592700c e59f8020 e5977200
f048 e1a05000 e282401c e59f0014 e3a01002 eb00053c e5887000 e1a00005 e894aff0
f068 c05cc048 c060ac6c e320f000 e320f000 e320f000 e320f000 e59f2010 e1a03000
f088 e4831004 e1a01003 e5922010 e12fff12 c05cc064 eafffff7 e92d0fff e1a0000d
f0a8 eb0000ee e1a0e000 e8bd0fff e1a0f00e e92d4037 e1a04000 e5903014 e59f20a4
f0c8 e1530002 3a000002 e59f209c e1530002 3a000001 e2135003 0a000001 e3e00015
f0e8 ea00001e e5930000 e1a01004 e28d3000 e5840030 e5a13034 eb0003ca e3500001

LR: 0xc009b178:
b178 e3e00000 e12fff1e e5903000 e5902004 e3530000 e2020001 d3a03000 c3a03001
b198 e1d32002 02233001 00000003 13a00001 e12fff1e e92d40f8 e1a05000 e1a04001
b1b8 e1a06002 e1a07003 e1540006 28bd80f8 e5943008 e1550003 1a00000a e5940000
b1d8 e3500000 0a000005 ebfe75f9 e3500000 0a000002 e1a00004 e1a01007 ebfddb08
b1f8 e284400c eaffffef e8bd80f8 e92d47f0 e1a05000 e5908004 e1a07001 ebff0315
b218 e5954008 e3c88001 e3a0900c e1a06000 e3540000 0a000009 e5943008 e1a00005
b238 e5941004 e5932138 e5933134 e0223299 e1a03007 ebffffd6 e5944000 eafffff3
b258 e3560000 15962138 13a0100c 15963134 059f201c 10223291 e3580000 08bd87f0

SP: 0xdc2f5e88:
5e88 2d98506a 00000000 c2a785b3 df2b0e40 00000000 df2b0e40 c05cc554 c05fcd3c
5ea8 df879c40 c03ff088 80000013 ffffffff dc2f5ef4 c03fec18 c02f42a4 ea000000
5ec8 c05cc064 c02f42a4 c0604088 c05ccb74 c060536c 00000001 d2c93b00 00000004
5ee8 c05cc048 00000001 00000900 dc2f5f08 c009b1f8 c03ff088 80000013 ffffffff
5f08 00000001 c05ccb74 00000000 00000001 beb475c0 c009b39...

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Dmitrijs - well then, it looks like we need to drag gcc-4.6 forward into Trusty. We'd likely have to do that for for the other Nexus platforms anyway.

Tim Gardner (timg-tpi)
Changed in linux-goldfish (Ubuntu Saucy):
status: Fix Released → In Progress
Tim Gardner (timg-tpi)
Changed in linux-goldfish (Ubuntu Saucy):
status: In Progress → Fix Committed
Changed in linux-goldfish (Ubuntu Trusty):
status: Fix Released → Fix Committed
Revision history for this message
Tim Gardner (timg-tpi) wrote :

This appeared to be a compiler version dependency. gcc-4.6 [armhf], gcc-4.7 [!armhf]

Changed in linux-goldfish (Ubuntu Trusty):
status: Fix Committed → Fix Released
Changed in linux-goldfish (Ubuntu Saucy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.