Opened 10 years ago

Closed 9 years ago

Last modified 6 years ago

#2531 closed defect (wontfix)

AR7 cpmac driver with inconsistent lock state

Reported by: sw Owned by: ejka
Priority: lowest Milestone:
Component: kernel Version:
Keywords: ar7 cpmac Cc:


With a debugging kernel (compiled with kernel + lock debugging),
the following error is shown during an NFS boot:

802.1Q VLAN Support v1.8 Ben Greear <>
All bugs added by David S. Miller <>
PHY: 0:1f - Link is Up - 100/Full
Sending DHCP requests .
[ INFO: inconsistent lock state ]
2.6.23 #1
inconsistent {hardirq-on-W} -> {in-hardirq-W} usage.
swapper/1 [HC1[1]:SC0[1]:HE0:SE0] takes:
 (&priv->lock){++..}, at: [<94162034>] cpmac_irq+0xac/0x5a0
{hardirq-on-W} state was registered at:
  [<940497a0>] __lock_acquire+0x5dc/0xe44
  [<9404a5c8>] lock_acquire+0x74/0xb0
  [<94226eb8>] _spin_lock+0x30/0x44
  [<94162548>] cpmac_adjust_link+0x20/0x204
  [<9415fccc>] phy_timer+0x3a4/0x4e8
  [<94030a74>] run_timer_softirq+0x138/0x1b0
  [<9402bbf8>] __do_softirq+0x84/0x11c
  [<9402bcf0>] do_softirq+0x60/0xdc
  [<94001fc0>] ret_from_irq+0x0/0x4
  [<940019fc>] r4k_wait+0x4/0xc
  [<940043d8>] cpu_idle+0x20/0x40
  [<942beddc>] start_kernel+0x49c/0x4d0
irq event stamp: 24843
hardirqs last  enabled at (24841): [<94080900>] __kmalloc_track_caller+0x244/0x2c8
hardirqs last disabled at (24843): [<940023c4>] handle_int+0x104/0x118
softirqs last  enabled at (24822): [<942d51dc>] ip_auto_config+0x374/0xefc
softirqs last disabled at (24842): [<9418eaa8>] dev_queue_xmit+0x128/0x4a0

other info that might help us debug this:
1 lock held by swapper/1:
 #0:  (_xmit_ETHER){-...}, at: [<9419f2bc>] __qdisc_run+0x60/0x2bc

stack backtrace:
Call Trace:
[<94008cac>] dump_stack+0x8/0x34
[<94047c7c>] print_usage_bug+0x154/0x174
[<940484bc>] mark_lock+0xf4/0x58c
[<94049728>] __lock_acquire+0x564/0xe44
[<9404a5c8>] lock_acquire+0x74/0xb0
[<94226eb8>] _spin_lock+0x30/0x44
[<94162034>] cpmac_irq+0xac/0x5a0
[<940546bc>] handle_IRQ_event+0x38/0xac
[<94056580>] handle_level_irq+0xd4/0x154
[<94000eec>] plat_irq_dispatch+0xa0/0x108
[<94001fc0>] ret_from_irq+0x0/0x4
[<9419f2d8>] __qdisc_run+0x7c/0x2bc
[<9418eb9c>] dev_queue_xmit+0x21c/0x4a0
[<942d5630>] ip_auto_config+0x7c8/0xefc
[<942be718>] kernel_init+0x104/0x32c
[<940044a0>] kernel_thread_helper+0x10/0x18

, OK
IP-Config: Got DHCP answer from, my address is

Attachments (0)

Change History (2)

comment:1 Changed 10 years ago by ejka

  • Milestone Kamikaze deleted
  • Owner changed from developers to ejka
  • Priority changed from normal to lowest
  • Status changed from new to assigned

not an issue, unless you are on smp

comment:2 Changed 9 years ago by florian

  • Resolution set to wontfix
  • Status changed from assigned to closed

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.