Skip to contentSkip to conversation

Possible regression in 3.7-rc3 on Marvell Kirkwood

DISCUSSION Andrew Lunn 2 participants 6 messages Nov 3, 2012 – Nov 4, 2012

lore
Share & tools
lore
#0 lore raw

Hi Josh

Are you not seeing a stack trace?

[   64.312377] BUG: scheduling while atomic: crond/151/0x40000300
[   79.771862] BUG: scheduling while atomic: swapper/0/0x40000500
[   81.826267] BUG: scheduling while atomic: swapper/0/0x40000500
[   90.330911] BUG: scheduling while atomic: swapper/0/0x40000500
        printk(KERN_ERR "BUG: scheduling while atomic: %s/%d/0x%08x\n",
                prev->comm, prev->pid, preempt_count());

        debug_show_held_locks(prev);
        print_modules();
        if (irqs_disabled())
                print_irqtrace_events(prev);
        dump_stack();
        add_taint(TAINT_WARN);

Andrew

#1 lore raw

I'll fire up with ignore log level to get the full traces and post those this afternoon. Given it will be a LOT of text, would you prefer I include them in the email, pastebin the output and provide links, or dump the log onto my webserver with a link?

Josh C

Quoted 20 lines · Andrew Lunn

Hi Josh

Are you not seeing a stack trace?

[   64.312377] BUG: scheduling while atomic: crond/151/0x40000300
[   79.771862] BUG: scheduling while atomic: swapper/0/0x40000500
[   81.826267] BUG: scheduling while atomic: swapper/0/0x40000500
[   90.330911] BUG: scheduling while atomic: swapper/0/0x40000500
        printk(KERN_ERR "BUG: scheduling while atomic: %s/%d/0x%08x\n",
                prev->comm, prev->pid, preempt_count());

        debug_show_held_locks(prev);
        print_modules();
        if (irqs_disabled())
                print_irqtrace_events(prev);
        dump_stack();
        add_taint(TAINT_WARN);

Andrew

#2 lore raw
Quoted 4 lines · Josh Coombs

I'll fire up with ignore log level to get the full traces and post those this afternoon. Given it will be a LOT of text, would you prefer I include them in the email, pastebin the output and provide links, or dump the log onto my webserver with a link?

Hi Josh

I'm kind of expecting they will all look very similar. By looking at what is common it might quick become clear where the lock is being taken which is causing the problem.

Anyway, i would suggest posting the first couple of traces to the list and a few more to me directly.

Andrew

#3 lore raw

As of now I can't reproduce, so I can only assume it was something with my config. Once I nail down exactly what triggers the behavior I'll post up. For now, ignore my suggestion that there is a regression.

Josh C

Quoted 16 lines · Andrew Lunn
Quoted 4 lines · Josh Coombs

I'll fire up with ignore log level to get the full traces and post those this afternoon. Given it will be a LOT of text, would you prefer I include them in the email, pastebin the output and provide links, or dump the log onto my webserver with a link?

Hi Josh

I'm kind of expecting they will all look very similar. By looking at what is common it might quick become clear where the lock is being taken which is causing the problem.

Anyway, i would suggest posting the first couple of traces to the list and a few more to me directly.

Andrew

#4 lore raw
Quoted 4 lines · Josh Coombs

As of now I can't reproduce, so I can only assume it was something with my config. Once I nail down exactly what triggers the behavior I'll post up. For now, ignore my suggestion that there is a regression.

O.K.

I also tried reproducing it. On my QNAP Kirkwood I made a fresh checkout of the kernel and built it. No problems.

If you do see it again, please let us know.

Thanks
Andrew

#5 lore raw

Will do, I'm half curious now if I managed to pull down a copy from git mid-commit or something, as I can't for the life of me make it flake out the way it was prior and I see there has been updates to 3.7-rc3 since it was released. (I always thought once cut, no more commits went to that branch.) Oh well, at least my build farm got a good workout.

Josh C

Quoted 15 lines · Andrew Lunn
Quoted 4 lines · Josh Coombs

As of now I can't reproduce, so I can only assume it was something with my config. Once I nail down exactly what triggers the behavior I'll post up. For now, ignore my suggestion that there is a regression.

O.K.

I also tried reproducing it. On my QNAP Kirkwood I made a fresh checkout of the kernel and built it. No problems.

If you do see it again, please let us know.

Thanks
Andrew