Race with ip=dhcp bootparameter in ip_rcv_finish on am335x
From: Alexander Aring <alex.aring@gmail.com>
Date: 2015-09-23 10:30:01
Hi, I am using am335x (beaglebone white) with "ip=dhcp" inside my bootparameters. It seems there exists some race, rarely it boots fine and often it crashed with following messages: First (Without successful dhcp ip assign and is very rarely): [ 6.249083] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 6.398943] . [ 7.400822] Unable to handle kernel paging request at virtual address 7402a8c8 [ 7.408419] pgd = c0004000 [ 7.411351] [7402a8c8] *pgd=00000000 [ 7.415121] Internal error: Oops: 5 [#1] SMP ARM [ 7.419968] Modules linked in: [ 7.423197] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G W 4.2.0-11195-ge81be90 #124 [ 7.432118] Hardware name: Generic AM33XX (Flattened Device Tree) [ 7.438509] task: c0a996c8 ti: c0a92000 task.ti: c0a92000 [ 7.444189] PC is at ip_route_input_noref+0x620/0xeb4 [ 7.449491] LR is at trace_hardirqs_on_caller+0xb0/0x1e8 [ 7.455055] pc : [<c054b49c>] lr : [<c008e198>] psr: 20000113 [ 7.455055] sp : c0a93c70 ip : 0000000f fp : ffffff8f [ 7.467072] r10: c0b35c80 r9 : 00000000 r8 : ce5f9400 [ 7.472543] r7 : ce5ef000 r6 : 00000000 r5 : ce615640 r4 : ce5ffd40 [ 7.479378] r3 : 7402a8c0 r2 : 00000001 r1 : c0549f74 r0 : ce5ffd40 [ 7.486216] Flags: nzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment none [ 7.493686] Control: 10c5387d Table: 80004019 DAC: 00000051 [ 7.499699] Process swapper/0 (pid: 0, stack limit = 0xc0a92218) [ 7.505989] Stack: (0xc0a93c70 to 0xc0a94000) [ 7.510561] 3c60: 00000000 00000000 c054afa4 00000000 [ 7.519131] 3c80: 00000000 c0b56080 00000000 00000000 00000000 00070044 00000004 00000000 [ 7.527705] 3ca0: 7402a8c0 0000012d 00000000 00000004 00000000 00000000 c0586298 00000000 [ 7.536278] 3cc0: 00000000 00000000 0102a8c0 7402a8c0 cfba6c34 00000000 c0a996c8 ce615640 [ 7.544852] 3ce0: c0551310 ce61b850 c07c6b10 c0b560b8 c0a95744 00000000 00000000 c0550668 [ 7.553422] 3d00: ce5ef000 c0a5ed00 60000113 c0090d44 00000001 ce615640 c04f85d0 00000050 [ 7.561996] 3d20: ce61b800 ce5ef000 c0a95744 00000000 00000000 c0551310 00000001 00000000 [ 7.570563] 3d40: c04f85d0 ce000140 ce638100 00000050 ce61b800 cfba6b10 ce61b99a ce61b99a [ 7.579135] 3d60: c0a82730 c0a92000 ce61b850 c0a5ed94 00000100 0102a8c0 c0a996c8 c0a9791c [ 7.587709] 3d80: ce5ef000 ce5ef048 00000008 ce615640 ce5ef05c ce6156ec ce615640 c04f85d0 [ 7.596289] 3da0: c0ad3f0c 00000000 c0a92000 ce5ef054 00000000 c04fb4e8 60000113 ce615640