Re: more cfq spinlock badness



On Tue, Jan 31, 2006 at 10:09:45AM +0100, Jens Axboe wrote:
> On Tue, Jan 31 2006, Dave Jones wrote:
> > Not seen this break for a while, but I just hit it again in 2.6.16rc1-git4.
> >
> > Dave
> >
> > BUG: spinlock bad magic on CPU#0, pdflush/1128
> > lock: ffff81003a219000, .magic: 00000000, .owner: <none>/-1, .owner_cpu: 0
> >
> > Call Trace: <ffffffff80206edc>{spin_bug+177} <ffffffff80207045>{_raw_spin_lock+25}
> > <ffffffff801fea4a>{cfq_exit_single_io_context+85} <ffffffff801ff9a6>{cfq_exit_io_context+24}
> > <ffffffff801f79b0>{exit_io_context+137} <ffffffff80135fbc>{do_exit+182}
> > <ffffffff8010ba49>{child_rip+15} <ffffffff80146087>{keventd_create_kthread+0}
> > <ffffffff8014629c>{kthread+0} <ffffffff8010ba3a>{child_rip+0}
> > Kernel panic - not syncing: bad locking
>
> Again, which devices have you used?

nothing special (Ie, no usb bits, just the onboard ata_piix SATA)

> Did it happen at shutdown, or?

whislt starting up a bunch of gnome panel applets.

> Did the ub bug get fixed

yes

> if you are using that? The bug above has in the
> past always been able to be explained by a driver destroying a structure
> embedding the queue lock before the queue is dead.

as there were no ub devices plugged in at the time, I think
Pete is off the hook for this one.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [opensuse] shutdown hangs after kernel update
    ... yesterday I updated the kernel using the opensuse-Updater. ... shutdown hangs after the message "Shutting down D-Bus daemon". ... the bug has been mysteriously closed as "Won't Fix". ... daemon" while in that bug all reported that it hangs after the final message. ...
    (SuSE)
  • Re: Problem: Kernel Panic/Oops on shutdown with 2.6.9 and Dell Optiplex SX280
    ... > Are you running some kind of sniffer tool on these machines. ... > into the shutdown scripts which may help the search. ... In fact there are 5 init scripts which could trigger the bug. ...
    (Linux-Kernel)
  • Re: Disable in X the restart/shutdown by user. How?
    ... I'm still a week behind in reading up on all the various mailinglists, ... too for displaying shutdown/reboot in the menu and on the logout box. ... (BTW: if anyone cares: the bug is in the FedoraDNA gdm theme; ... restart and shutdown the whole system. ...
    (Fedora)
  • Re: more cfq spinlock badness
    ... > nothing special (Ie, no usb bits, just the onboard ata_piix SATA) ... The bug above has in the ... >> embedding the queue lock before the queue is dead. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: Problem: Kernel Panic/Oops on shutdown with 2.6.9 and Dell Optiplex SX280
    ... I've applied your patch and thankfully the bug was triggered on the ... > It's interesting that this only happens during shutdown: ... Dec 2 17:03:22 kermit kernel: path: `' ... Dec 2 17:03:22 kermit kernel: device eth0 left promiscuous mode ...
    (Linux-Kernel)