Hi all! I try to update our kernel of our AM335x based board to a newer version (4.4.179). The new kernel builds and boots, but as soon as something from within the initramfs is executed, a kernel Oops occurs, e.g. modprobe (davinci_mdio requests a module) and /init can't be executed. The problem is, that I've no clue what's going wrong. Here is the kernel Oops of the modprobe: [ 1.155713] Internal error: Oops - undefined instruction: 0 [#1] SMP THUMB2 [ 1.163027] Modules linked in: [ 1.166238] CPU: 0 PID: 107 Comm: modprobe Not tainted 4.4.179 #6 [ 1.172625] Hardware name: Generic AM33XX (Flattened Device Tree) [ 1.179016] task: dc4386c0 ti: dc6f2000 task.ti: dc6f2000 [ 1.184690] PC is at ret_fast_syscall+0x2/0x54 [ 1.189356] LR is at SyS_brk+0xa7/0xf0 [ 1.193287] pc : [<c000d362>] lr : [<c00a3c37>] psr: 60000013 [ 1.193287] sp : dc6f3fa8 ip : 50c5387d fp : 00001000 [ 1.205327] r10: 00000000 r9 : dc6f2000 r8 : c000d544 [ 1.210804] r7 : 0000002d r6 : b6f470c0 r5 : 00010034 r4 : 00000008 [ 1.217648] r3 : 000a39bd r2 : ffff0001 r1 : 00000000 r0 : 000a6000 [ 1.224495] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 1.231977] Control: 50c5387d Table: 9c6f4019 DAC: 00000051 [ 1.238001] Process modprobe (pid: 107, stack limit = 0xdc6f2218) [ 1.244391] Stack: (0xdc6f3fa8 to 0xdc6f4000) [ 1.248961] 3fa0: 00000008 00010034 00000000 00000001 00000000 b6f75f38 [ 1.257541] 3fc0: 00000008 00010034 b6f470c0 0000002d 00000000 00000001 00000001 00001000 [ 1.266121] 3fe0: 00000001 bee68ddc b6f5d90c b6f5e748 20000010 00000000 00000000 00000000 [ 1.274708] Code: 00000000 00000000 00000000 b6720000 (1000f8d9) [ 1.281108] ---[ end trace dba2297921799880 ]--- And here the Oops of /init: [ 2.288500] Internal error: Oops - undefined instruction: 0 [#2] SMP THUMB2 [ 2.295812] Modules linked in: [ 2.299023] CPU: 0 PID: 1 Comm: init Tainted: G D 4.4.179 #6 [ 2.306139] Hardware name: Generic AM33XX (Flattened Device Tree) [ 2.312531] task: df047940 ti: df048000 task.ti: df048000 [ 2.318205] PC is at ret_fast_syscall+0x2/0x54 [ 2.322870] LR is at SyS_brk+0xa7/0xf0 [ 2.326801] pc : [<c000d362>] lr : [<c00a3c37>] psr: 60000013 [ 2.326801] sp : df049fa8 ip : 50c5387d fp : 00001000 [ 2.338840] r10: 00000000 r9 : df048000 r8 : c000d544 [ 2.344318] r7 : 0000002d r6 : b6f220c0 r5 : 00010034 r4 : 00000008 [ 2.351162] r3 : 000e8988 r2 : ffff0001 r1 : 00000000 r0 : 000ee000 [ 2.358008] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 2.365489] Control: 50c5387d Table: 9c7c4019 DAC: 00000051 [ 2.371512] Process init (pid: 1, stack limit = 0xdf048218) [ 2.377354] Stack: (0xdf049fa8 to 0xdf04a000) [ 2.381924] 9fa0: 00000008 00010034 00000000 00000001 00000000 b6f50f38 [ 2.390505] 9fc0: 00000008 00010034 b6f220c0 0000002d 00000000 00000001 00000001 00001000 [ 2.399085] 9fe0: 00000001 bece9e2c b6f3890c b6f39748 20000010 00000000 00000000 00000000 [ 2.407671] Code: 00000000 00000000 00000000 b6720000 (1000f8d9) [ 2.414063] ---[ end trace dba2297921799882 ]--- [ 2.419912] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b [ 2.419912] [ 2.429507] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b As you can see, the Oops are more or less identically. The PC address 0xc000d362 translates to arch/arm/kernel/entry-common.S:38 [0] and LR 0xc00a3c37 to mm/mmap.c:355 [1] Can someone give me an hint where I can start to look for the problem, please? Cheers, Thilo [0] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/arm/kernel/entry-common.S?h=v4.4.179#n38 [1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/mm/mmap.c?h=v4.4.179#n355
Attachment:
smime.p7s
Description: S/MIME cryptographic signature