nspierbundel / amlogic-common

amlogic common 3.0.50
Other
3 stars 5 forks source link

BUG: spinlock bad magic #2

Open vDorst opened 11 years ago

vDorst commented 11 years ago

Enabling extra spinlock checks to the kernel gives also this error.

[    6.300928@0] BUG: spinlock bad magic on CPU#0, swapper/1
[    6.300959@0]  lock: c0935744, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
[    6.308141@0] Backtrace:
[    6.310766@0] [<c003ae58>] (dump_backtrace+0x0/0x10c) from [<c059d568>] (dump_stack+0x18/0x1c)
[    6.319339@0]  r6:00000000 r5:c0719430 r4:c0935744 r3:c079ae04
[    6.325160@0] [<c059d550>] (dump_stack+0x0/0x1c) from [<c05a067c>] (spin_bug+0x94/0xa8)
[    6.333150@0] [<c05a05e8>] (spin_bug+0x0/0xa8) from [<c02c3a38>] (do_raw_spin_lock+0x160/0x178)
[    6.341820@0]  r6:e7882f00 r5:e7842000 r4:20000013
[    6.346601@0] [<c02c38d8>] (do_raw_spin_lock+0x0/0x178) from [<c05a4a9c>] (_raw_spin_lock_irqsave+0x18/0x20)
[    6.356409@0] [<c05a4a84>] (_raw_spin_lock_irqsave+0x0/0x20) from [<c02f51f4>] (uart_dtr_rts+0x20/0x78)
[    6.365777@0]  r4:c0935744 r3:80000000
[    6.369517@0] [<c02f51d4>] (uart_dtr_rts+0x0/0x78) from [<c02e6d3c>] (tty_port_block_til_ready+0x150/0x300)
[    6.379231@0]  r5:e7842000 r4:e7815000
[    6.382969@0] [<c02e6bec>] (tty_port_block_til_ready+0x0/0x300) from [<c02f7164>] (uart_open+0x138/0x1a0)
[    6.392516@0] [<c02f702c>] (uart_open+0x0/0x1a0) from [<c02dfeec>] (tty_open+0x1e0/0x4ec)
[    6.400670@0]  r8:00000001 r7:c07a48f0 r6:e7882f00 r5:00500001 r4:e7817800
[    6.407354@0] r3:00010004
[    6.410138@0] [<c02dfd0c>] (tty_open+0x0/0x4ec) from [<c00d5744>] (chrdev_open+0xc0/0x1b4)
[    6.418386@0] [<c00d5684>] (chrdev_open+0x0/0x1b4) from [<c00d00cc>] (__dentry_open.isra.13+0x140/0x2a8)
[    6.427839@0]  r7:e74466e0 r6:e7882f00 r5:00000000 r4:00000000
[    6.433660@0] [<c00cff8c>] (__dentry_open.isra.13+0x0/0x2a8) from [<c00d0fcc>] (nameidata_to_filp+0x48/0x54)
[    6.443470@0] [<c00d0f84>] (nameidata_to_filp+0x0/0x54) from [<c00dea64>] (do_last.isra.32+0x290/0x6ac)
[    6.452837@0]  r6:00000002 r5:00000000 r4:e7843f10 r3:00000000
[    6.458658@0] [<c00de7d4>] (do_last.isra.32+0x0/0x6ac) from [<c00df084>] (path_openat+0xc0/0x3a8)
[    6.467512@0] [<c00defc4>] (path_openat+0x0/0x3a8) from [<c00df460>] (do_filp_open+0x34/0x88)
[    6.476018@0] [<c00df42c>] (do_filp_open+0x0/0x88) from [<c00d10c4>] (do_sys_open+0xec/0x184)
[    6.484519@0]  r7:ffffff9c r6:00000000 r5:e7824000 r4:00000002
[    6.490340@0] [<c00d0fd8>] (do_sys_open+0x0/0x184) from [<c00d1180>] (sys_open+0x24/0x28)
[    6.498500@0] [<c00d115c>] (sys_open+0x0/0x28) from [<c0008a40>] (kernel_init+0xbc/0x148)
[    6.506660@0] [<c0008984>] (kernel_init+0x0/0x148) from [<c005efd4>] (do_exit+0x0/0x6e8)
[    6.514725@0]  r5:c0008984 r4:00000000