DEBUG_LOCKS_WARN_ON(1) / lockdep.c:3134 lockdep_init_map+0x1e8/0x1f0

Peter Zijlstra peterz at infradead.org
Wed Jan 4 21:12:08 AEDT 2017


On Tue, Jan 03, 2017 at 06:11:20PM -0800, Christian Kujau wrote:
> Hi,
> 
> booting v4.10-rc2 on this PowerPC G4 machine prints the following early 
> on, but then continues to boot and the machine is running fine so far:
> 
> 
> BUG: key ef0ba7d0 not in .data!
> DEBUG_LOCKS_WARN_ON(1)
> ------------[ cut here ]------------
> WARNING: CPU: 0 PID: 1 at 
> /usr/local/src/linux-git/kernel/locking/lockdep.c:3134 lockdep_init_map+0x1e8/0x1f0
> Modules linked in:
> CPU: 0 PID: 1 Comm: swapper Not tainted 4.10.0-rc2 #4
> task: ef04aa60 task.stack: ef042000
> NIP: c005eb78 LR: c005eb78 CTR: 00000000
> REGS: ef043d70 TRAP: 0700   Not tainted  (4.10.0-rc2)
> MSR: 02029032 <VEC,EE,ME,IR,DR,RI>
>   CR: 48000022  XER: 20000000
> GPR00: c005eb78 ef043e20 ef04aa60 00000016 00000001 c0068b24 00000000 00000001 
> GPR08: 00000000 00000000 00004ead 000000d6 28000024 00000000 c00047f0 00000000 
> GPR16: 00000000 00000000 c08b9280 effedfa0 c078d6ac c1070000 c078eddc c078ee14 
> GPR24: c078ed24 c078ee24 00000002 ef085a00 00000000 c08b0000 ef0ba7d0 ef0ba7b4 
> NIP [c005eb78] lockdep_init_map+0x1e8/0x1f0
> LR [c005eb78] lockdep_init_map+0x1e8/0x1f0
> Call Trace:
> [ef043e20] [c005eb78] lockdep_init_map+0x1e8/0x1f0 (unreliable)
> [ef043e40] [c083adb4] kw_i2c_add+0xc0/0x134


Commit 9e607f72748d ("i2c_powermac: shut up lockdep warning") it utter
crap and should never have been merged.

/me glares at mpe, why do you merge things that state: 'its unclear
why, just make it go-away' wrt to locking?




More information about the Linuxppc-dev mailing list