Re: tg3 kernel bug in 2.6.18-mm3 and 2.6.19-rc2-mm2

From: Andrew Morton
Date: Sun Oct 22 2006 - 02:37:11 EST


On Sat, 21 Oct 2006 12:38:14 -0700 (PDT)
David Miller <davem@xxxxxxxxxxxxx> wrote:

> From: Norbert Preining <preining@xxxxxxxx>
> Date: Sat, 21 Oct 2006 15:22:39 +0200
>
> > [<c010469d>] dump_stack+0x12/0x14
> > [<c0141cb3>] softlockup_tick+0xaa/0xc1
> > [<c0129bad>] update_process_times+0x3b/0x5e
> > [<c01362a1>] handle_update_profile+0x14/0x1e
> > [<c0115956>] smp_apic_timer_interrupt+0x49/0x5b
> > [<c0103998>] apic_timer_interrupt+0x28/0x30
> > DWARF2 unwinder stuck at apic_timer_interrupt+0x28/0x30
> > Leftover inexact backtrace:
> > [<c01d03af>] delay_tsc+0xb/0x13
> > [<c01d03e0>] __delay+0x6/0x7
>
> It's OOPS'ing by softlockup'ing in udelay() and then we get a corrupt
> backtrace.

The unwinder-based backtrace is screwed up (yet again) but the old-style
backtrace is there, in all its messy glory.

Weeding out the crap, I think it's this:

[<c01d03af>] delay_tsc+0xb/0x13
[<c01d03e0>] __delay+0x6/0x7
[<c022c240>] _tw32_flush+0x3f/0x51
[<c022da97>] tg3_switch_clocks+0x8f/0x93

<I assume tg3_init_hw() got inlined>

[<c0237673>] tg3_open+0x250/0x520
[<c02d3263>] dev_open+0x2b/0x62
[<c02d1dd8>] dev_change_flags+0x47/0xe4
[<c0307fcc>] devinet_ioctl+0x252/0x556
[<c02d2e5a>] dev_ifsioc+0x113/0x38d
[<c02d29c4>] dev_load+0x24/0x4b
[<c02c9265>] sock_ioctl+0x19e/0x1c2

It's strange that the post-2.6.19-rc2 changes triggered this - that code
won't have run yet.

Norbert, are you really sure?
-
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/