Re: 2.6.17-mm5 -- netconsole failed to send full trace
From: Andrew Morton
Date: Mon Jul 03 2006 - 15:25:12 EST
On Mon, 3 Jul 2006 07:04:05 -0700
"Miles Lane" <miles.lane@xxxxxxxxx> wrote:
> On 7/3/06, Andrew Morton <akpm@xxxxxxxx> wrote:
> > On Mon, 3 Jul 2006 01:31:36 -0700
> > "Miles Lane" <miles.lane@xxxxxxxxx> wrote:
> >
> > > I get a system lockup on my laptop every time I remove my Linksys USB
> > > 10/100 Ethernet adapter. Unfortunately, my laptop has no serial port,
> > > so debugging this kernel is difficult. I tried netconsole tonight,
> > > but only got:
> > >
> > > BUG: unable to handle kernel paging request at virtual address 6b6b6b6b
> >
> > Nice.
> >
> > > printing eip:
> > > c101a44d
> > > *pde = 00000000
> > > Oops: 0000 [#1]
> > > 4K_STACKS PREEMPT
> > > last sysfs file: /block/hda/hda9/stat
> > > Modules linked in: netconsole binfmt_misc i915 drm ipv6
> > > speedstep_centrino cpufreq_powersave cpufreq_performance
> > > cpufreq_conservative video thermal button nls_ascii nls_cp437 vfat fat
> > > nls_utf8 ntfs nls_base md_mod sr_mod sbp2 scsi_mod parport_pc lp
> > > parport rtl8150 snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_pcm_oss
> > > snd_mixer_oss snd_pcm snd_timer snd evdev soundcore ipw2200
> > > intel_agpc3 89 e5 53 fa 61 0b 01 1d 14 c1 c7 14 3c 00 00 00 b0 1a 00
> > > eb <8b> 8b 43 85 75
> > >
> > > What should I try now? I somehow doubt that I can make the kernel
> > > send info to a USB tty port.
> > >
> >
> > Can you get it to happen on the VGA console, make a record of the display?
> > (Digital photo is good).
> >
> >
>
OK, thanks. I uploaded that to
http://www.zip.com.au/~akpm/linux/patches/stuff/00003.jpg.
So we have a use-after-free in tasklet_action(), as a consequence of
unplugging a USB ethernet adapter.
The post-2.6.17 changes in drivers/usb/net/ are relatively modest, but
certainly enough to cause lifetime problems. Do you know whether mainline
has the same bug? And are you able to identify at which kernel version
this started to happen?
Thanks.
-
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/