rpi/dwc2 kernel panics

Andre Heider a.heider at gmail.com
Wed Feb 12 13:52:05 EST 2014


Hi guys,

I just tried today's Linus' master (45f7fdc2ff) with usb-linus (3635c7e2d5)
merged on top to give the latest dwc2 fixes another try.
Unfortunately I'm getting various crashes on system startup. Kernel boots
fine, dwc2 and the integrated smsc95xx are detected, but somewhere in the
init sequence the system panics.

Hard to say when exactly, but it looks like it's happening upon setting
up the usb ethernet adapter (with dhcp in my case).

It doesn't crash on every boot, maybe 3 in 10 times. And it doesn't seem to
crash when booting with "nousb", at least not so far.

Do the traces below ring any bell?

Thanks,
Andre

[    4.299074] Unable to handle kernel paging request at virtual address e313002c
[    4.311206] pgd = d7a4c000
[    4.318606] [e313002c] *pgd=00000000
[    4.326872] Internal error: Oops: 5 [#1] ARM
[    4.335802] CPU: 0 PID: 41 Comm: systemd-cgroups Not tainted 3.14.0-rc2-rpi+ #33
[    4.347972] task: d7a24000 ti: d7a1e000 task.ti: d7a1e000
[    4.358101] PC is at inode_permission+0x18/0x54
[    4.367294] LR is at unix_find_other+0x54/0x1c0
[    4.376423] pc : [<c00e4680>]    lr : [<c033c1c0>]    psr: 20000013
[    4.376423] sp : d7a1fe80  ip : d7a1fe90  fp : d7a1fe8c
[    4.397063] r10: 00000000  r9 : d7a1e000  r8 : c04fc488
[    4.406784] r7 : d7a1ff04  r6 : 00000002  r5 : e3130010  r4 : 00000000
[    4.417816] r3 : c00e6c60  r2 : 00000004  r1 : 00000002  r0 : e3130010
[    4.428785] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    4.440448] Control: 00c5387d  Table: 17a4c008  DAC: 00000015
[    4.450734] Process systemd-cgroups (pid: 41, stack limit = 0xd7a1e1b8)
[    4.461869] Stack: (0xd7a1fe80 to 0xd7a20000)
[    4.470656] fe80: d7a1febc d7a1fe90 c033c1c0 c00e4674 d79fbb40 c02b9d50 c00e538c c00e6c60
[    4.483433] fea0: c033d80c d79fbb40 d7558580 0000001e d7a1fef4 d7a1fec0 c033e904 c033c178
[    4.496224] fec0: c000ea24 d7a1fecc c000ea24 0000001e 0000001d d7558580 0000001d c04dc00c
[    4.509034] fee0: bead9c84 c000ea24 d7a1ffa4 d7a1fef8 c02b7c74 c033e86c d79fbb40 00000000
[    4.521849] ff00: 00000000 722f0001 732f6e75 65747379 6a2f646d 6e72756f 732f6c61 656b636f
[    4.534715] ff20: c00d0074 c00f4314 fffffff7 d7a1ff78 d7a1ff7c 00000000 d7a1ff54 2b00f9de
[    4.547651] ff40: c00f4314 00000001 00000004 d7558580 00000007 bead9c60 d7a1e000 00000000
[    4.560624] ff60: d7a1ffa4 d7a1ff70 c02b8118 c02bb9b4 00000004 d7a1ff80 00000000 00000000
[    4.573643] ff80: c01df21c 2b00f9de bead9c86 b6f86f10 00016010 0000011b 00000000 d7a1ffa8
[    4.586697] ffa0: c000e800 c02b7c00 bead9c86 b6f86f10 00000000 bead9c84 0000001d 00000000
[    4.599704] ffc0: bead9c86 b6f86f10 00016010 0000011b 00000000 00000000 b6f87000 00000000
[    4.612690] ffe0: 00000000 bead9c7c 0000a1c4 b6ea07ac 40000010 00000000 17ffd821 17ffdc21
[    4.625747] [<c00e4680>] (inode_permission) from [<c033c1c0>] (unix_find_other+0x54/0x1c0)
[    4.638971] [<c033c1c0>] (unix_find_other) from [<c033e904>] (unix_dgram_connect+0xa4/0x1e0)
[    4.652398] [<c033e904>] (unix_dgram_connect) from [<c02b7c74>] (SyS_connect+0x80/0xbc)
[    4.665441] [<c02b7c74>] (SyS_connect) from [<c000e800>] (ret_fast_syscall+0x0/0x30)
[    4.678194] Code: e24cb004 e52de004 e8bd4000 e3110002 (e590201c) 
[    4.689255] ---[ end trace 4cdca67b25fe5ac6 ]---



note the corrupt process name on this one:

[    9.242673] Unable to handle kernel paging request at virtual address e313002c
[    9.254126] pgd = d7b38000
[    9.260862] [e313002c] *pgd=00000000
[    9.268450] Internal error: Oops: 5 [#1] ARM
[    9.276689] CPU: 0 PID: 154 Comm: (ystemctl) Not tainted 3.14.0-rc2-rpi+ #33
[    9.287829] task: d7b3eec0 ti: d6040000 task.ti: d6040000
[    9.297317] PC is at inode_permission+0x18/0x54
[    9.305991] LR is at unix_find_other+0x54/0x1c0
[    9.314686] pc : [<c00e4680>]    lr : [<c033c1c0>]    psr: 20000013
[    9.314686] sp : d6041e68  ip : d6041e78  fp : d6041e74
[    9.334610] r10: 00000000  r9 : 0000001e  r8 : d759b2c0
[    9.344132] r7 : 7fffffff  r6 : 00000001  r5 : e3130010  r4 : 00000000
[    9.355028] r3 : c00e6c60  r2 : 00000004  r1 : 00000002  r0 : e3130010
[    9.365886] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    9.377401] Control: 00c5387d  Table: 17b38008  DAC: 00000015
[    9.387548] Process (ystemctl) (pid: 154, stack limit = 0xd60401b8)
[    9.398222] Stack: (0xd6041e68 to 0xd6042000)
[    9.406954] 1e60:                   d6041ea4 d6041e78 c033c1c0 c00e4674 7fffffff d759b2c0
[    9.419738] 1e80: c00e538c c00e6c60 c02ba5f4 d7ae2000 d7ae2d20 d7a40300 d6041ef4 d6041ea8
[    9.432623] 1ea0: c033db90 c033c178 c04dc00c d6041ec4 c04fc488 d6041efc d6041f04 0000001d
[    9.445525] 1ec0: c04dc00c fffffff4 c000ea24 d759b2c0 0000001d c04dc00c beda2404 c000ea24
[    9.458411] 1ee0: d6040000 00000000 d6041fa4 d6041ef8 c02b7c74 c033daa4 d6041f24 00000000
[    9.471280] 1f00: 00000000 722f0001 732f6e75 65747379 6a2f646d 6e72756f 732f6c61 756f6474
[    9.484200] 1f20: c00d0074 c00dd310 c04dce60 d759b2c0 00000000 d759b2c0 d6041f7c d6041f48
[    9.497087] 1f40: c02b69c0 c00dd430 d780d470 d76433b8 00000000 00000004 c05005f4 c00f40dc
[    9.509904] 1f60: d6041f7c d6041f70 c00f40dc c00f4078 d6041fa4 d6041f80 c02b76d0 c00f40b0
[    9.522799] 1f80: b6f575a8 748dd720 01bc9088 00000001 000ec0b0 0000011b 00000000 d6041fa8
[    9.535745] 1fa0: c000e800 c02b7c00 01bc9088 00000001 00000003 beda2404 0000001d 00000000
[    9.548708] 1fc0: 01bc9088 00000001 000ec0b0 0000011b 00000007 01bc92a0 00000001 beda2406
[    9.561666] 1fe0: 00000000 beda23c4 0004102c b6e1291c 40000010 00000003 f9ee5179 50bc83b8
[    9.574703] [<c00e4680>] (inode_permission) from [<c033c1c0>] (unix_find_other+0x54/0x1c0)
[    9.587965] [<c033c1c0>] (unix_find_other) from [<c033db90>] (unix_stream_connect+0xf8/0x414)
[    9.601552] [<c033db90>] (unix_stream_connect) from [<c02b7c74>] (SyS_connect+0x80/0xbc)
[    9.614682] [<c02b7c74>] (SyS_connect) from [<c000e800>] (ret_fast_syscall+0x0/0x30)
[    9.627448] Code: e24cb004 e52de004 e8bd4000 e3110002 (e590201c)
[    9.638608] ---[ end trace 59f9c4779f47d982 ]---
[    9.648283] Kernel panic - not syncing: Fatal exception



[   21.097122] Unable to handle kernel paging request at virtual address e313002c
[   21.108895] pgd = d7a60000
[   21.115916] [e313002c] *pgd=00000000
[   21.123753] Internal error: Oops: 5 [#1] ARM
[   21.132205] CPU: 0 PID: 43 Comm: systemd-journal Not tainted 3.14.0-rc2-rpi+ #33
[   21.143907] task: d7a25540 ti: d7a1e000 task.ti: d7a1e000
[   21.153536] PC is at inode_permission+0x18/0x54
[   21.162203] LR is at unix_find_other+0x54/0x1c0
[   21.170855] pc : [<c00e4680>]    lr : [<c033c1c0>]    psr: 20000013
[   21.170855] sp : d7a1fcd8  ip : d7a1fce8  fp : d7a1fce4
[   21.190645] r10: 00000000  r9 : d7a1fdd0  r8 : 00000000
[   21.199986] r7 : 00000030  r6 : 00000002  r5 : e3130010  r4 : 00000000
[   21.210641] r3 : c00e6c60  r2 : 00000004  r1 : 00000002  r0 : e3130010
[   21.221319] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[   21.232676] Control: 00c5387d  Table: 17a60008  DAC: 00000015
[   21.242601] Process systemd-journal (pid: 43, stack limit = 0xd7a1e1b8)
[   21.253445] Stack: (0xd7a1fcd8 to 0xd7a20000)
[   21.262034] fcc0:                                                       d7a1fd14 d7a1fce8
[   21.274618] fce0: c033c1c0 c00e4674 d7a1fd14 00000000 c00e538c c00e6c60 00000030 00000000
[   21.287271] fd00: d79c3b40 d7a3a540 d7a1fd94 d7a1fd18 c033ecc0 c033c178 d7a1fd74 d7a1fd4c
[   21.299957] fd20: c000859c d7a1fe60 c04fc488 00000030 00000000 0000001e d7570420 d7a1fe9c
[   21.312664] fd40: 00000081 d7a13015 00000003 ffffff98 d7a1fd74 d7804280 00000000 00000001
[   21.325498] fd60: 00000000 00000000 d7a1fd84 d7570420 00000030 d7a1ff5c d7a25540 d7a1ff5c
[   21.338408] fd80: 00004040 00000030 d7a1fe2c d7a1fd98 c02b6c4c c033ea8c 00000000 00000000
[   21.351345] fda0: 00000000 d7a1fdd0 d7a25540 00000000 00000000 00000000 00000000 00000000
[   21.364252] fdc0: 00000000 00000000 00000000 00000000 d7a1fe60 d7a1fe3c d7a1fe9c 00000030
[   21.377119] fde0: d7570420 d7a1fe9c d7a1fd54 d7a1ff5c d7a1fe9c d7570420 d7a1ff5c d7a1fe3c
[   21.390016] fe00: 00000028 00000000 d7a1ff5c d7a1fe7c 00000018 d7a1fe7c 00000000 d7570420
[   21.402873] fe20: d7a1ff4c d7a1fe30 c02b6e08 c02b6bd8 00000000 d7a1fe3c d7a1fe5c bee5b874
[   21.415763] fe40: 00000004 bee5b88c 00000010 01e87c28 00000007 bee5b87c 00000005 01e8ab30
[   21.428632] fe60: 00000010 d761a220 a92b595d 00000009 d7a13015 c00e6248 00000000 00000018
[   21.441554] fe80: 00000001 00000002 00000001 00000000 00000000 00000000 c00564b8 722f0001
[   21.454563] fea0: 732f6e75 65747379 6a2f646d 6e72756f 732f6c61 6f6c7379 d7a10067 c00dfcc4
[   21.467575] fec0: 0000b302 00000000 00000000 000001b5 000081a4 00000001 00000000 00000000
[   21.480590] fee0: 00000000 00000000 00000000 00000000 00000905 00000000 00001000 00000000
[   21.493581] ff00: 00000008 c00f4314 fffffff7 d7a1ff58 d7a1ff54 00004000 bee5b760 b356c731
[   21.506641] ff20: c000ea24 d7570420 00004000 bee5b760 00000128 c000ea24 d7a1e000 00000000
[   21.519694] ff40: d7a1ff94 d7a1ff50 c02b82d0 c02b6c74 00000001 00000000 fffffff7 d7a1fe9c
[   21.532718] ff60: 0000001d d7a1fe3c 00000005 d7a1fe7c 00000018 00004040 52c8336d bee5ba18
[   21.545779] ff80: bee5bb90 bee5b760 d7a1ffa4 d7a1ff98 c02b830c c02b8280 00000000 d7a1ffa8
[   21.558916] ffa0: c000e800 c02b8300 bee5ba18 bee5bb90 00000005 bee5b760 00004000 bee5b77c
[   21.572072] ffc0: bee5ba18 bee5bb90 bee5b760 00000128 0003d020 00000001 bee5b84c 00000005
[   21.585258] ffe0: 00000000 bee5b744 0000e048 b6d60b1c 60000010 00000005 17ffd821 17ffdc21
[   21.598552] [<c00e4680>] (inode_permission) from [<c033c1c0>] (unix_find_other+0x54/0x1c0)
[   21.612030] [<c033c1c0>] (unix_find_other) from [<c033ecc0>] (unix_dgram_sendmsg+0x240/0x4d0)
[   21.625864] [<c033ecc0>] (unix_dgram_sendmsg) from [<c02b6c4c>] (sock_sendmsg+0x80/0x9c)
[   21.639251] [<c02b6c4c>] (sock_sendmsg) from [<c02b6e08>] (___sys_sendmsg.part.31+0x1a0/0x244)
[   21.653197] [<c02b6e08>] (___sys_sendmsg.part.31) from [<c02b82d0>] (__sys_sendmsg+0x5c/0x80)
[   21.667081] [<c02b82d0>] (__sys_sendmsg) from [<c02b830c>] (SyS_sendmsg+0x18/0x1c)
[   21.680022] [<c02b830c>] (SyS_sendmsg) from [<c000e800>] (ret_fast_syscall+0x0/0x30)
[   21.693136] Code: e24cb004 e52de004 e8bd4000 e3110002 (e590201c) 
[   21.704552] ---[ end trace b322384ad364f87c ]---
[   21.714413] Kernel panic - not syncing: Fatal exception



[    8.726479] Unable to handle kernel paging request at virtual address e3130074
[    8.738006] pgd = d7be4000
[    8.744802] [e3130074] *pgd=00000000
[    8.752464] Internal error: Oops: 5 [#1] ARM
[    8.760847] CPU: 0 PID: 142 Comm: mount Not tainted 3.14.0-rc2-rpi+ #33
[    8.771675] task: d7b0b300 ti: d601e000 task.ti: d601e000
[    8.781250] PC is at mutex_lock+0x1c/0x44
[    8.789334] LR is at __schedule+0x28c/0x3ac
[    8.797586] pc : [<c0356380>]    lr : [<c0354ee4>]    psr: 40000013
[    8.797586] sp : d601fec8  ip : d601fe18  fp : d601fedc
[    8.817322] r10: 00000400  r9 : d7bbe700  r8 : d7bbe1e0
[    8.826645] r7 : 00000008  r6 : d601ff28  r5 : d601ff28  r4 : e3130074
[    8.837271] r3 : d601e000  r2 : 00000001  r1 : 00000000  r0 : 00000001
[    8.847907] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[    8.859207] Control: 00c5387d  Table: 17be4008  DAC: 00000015
[    8.869182] Process mount (pid: 142, stack limit = 0xd601e1b8)
[    8.879316] Stack: (0xd601fec8 to 0xd6020000)
[    8.887977] fec0:                   00000001 c00e6c60 d601fefc d601fee0 c00f6078 c0356370
[    8.900686] fee0: d7bd0960 d7bd0970 d601ff28 00000008 d601ff1c d601ff00 c00f6244 c00f605c
[    8.913468] ff00: 00000008 d7bd0970 c04ec128 c04e211c d601ff6c d601ff20 c00f79bc c00f6228
[    8.926286] ff20: 00fa38d0 00000000 c00e538c c00e6c60 c00b4770 c00b4538 00fa38d0 d601ff80
[    8.939132] ff40: d781e000 00000000 d781e000 c0ed0400 00fa38d0 c000ea24 d601e000 00000000
[    8.951982] ff60: d601ffa4 d601ff70 c00f7c70 c00f71d4 00000000 d601ff80 c003905c d7bbe700
[    8.964854] ff80: d7bbe1e0 00000000 00000000 00023548 c0ed0400 00000015 00000000 d601ffa8
[    8.977750] ffa0: c000e800 c00f7be8 00000000 00023548 00fa38d0 00fa38e8 00fa38f8 c0ed0400
[    8.990661] ffc0: 00000000 00023548 c0ed0400 00000015 bee37b7c 00000000 00000000 00fa38f8
[    9.003573] ffe0: b6de91d0 bee37af8 0000c6f8 b6de91e0 60000010 00fa38d0 2188963a 37859e24
[    9.016577] [<c0356380>] (mutex_lock) from [<c00f6078>] (lock_mount+0x28/0x19c)
[    9.028706] [<c00f6078>] (lock_mount) from [<c00f6244>] (do_add_mount+0x28/0xe4)
[    9.040861] [<c00f6244>] (do_add_mount) from [<c00f79bc>] (do_mount+0x7f4/0x84c)
[    9.053035] [<c00f79bc>] (do_mount) from [<c00f7c70>] (SyS_mount+0x94/0xc8)
[    9.064857] [<c00f7c70>] (SyS_mount) from [<c000e800>] (ret_fast_syscall+0x0/0x30)
[    9.077232] Code: e52de004 e8bd4000 e1a04000 ebfffb97 (e1943f9f) 
[    9.088059] ---[ end trace 2806bce483fe5f82 ]---
[    9.097338] Kernel panic - not syncing: Fatal exception



More information about the linux-rpi-kernel mailing list