Re: 2.6.18-rc4-mm1

Dave Jones
2006-08-14T20:57:25Z

On Mon, Aug 14, 2006 at 10:48:58PM +0200, Michal Piotrowski wrote:
>
> Hmmm... It looks a bit different without futex_handle_fault-always-fails.patch
>
> Aug 14 22:30:09 ltg01-fedora kernel: general protection fault: 0000 [#1]
> Aug 14 22:30:09 ltg01-fedora kernel: 4K_STACKS PREEMPT SMP
> Aug 14 22:30:09 ltg01-fedora kernel: last sysfs file: /devices/platform/i2c-9191/9191-0290/temp2_input
> Aug 14 22:30:09 ltg01-fedora kernel: Modules linked in: ipv6 w83627hf hwmon_vid hwmon i2c_isa af_packet ip_conntrack_netbios
> _ns ipt_REJECT xt_state ip_conntrack nfnetlink xt_tcpudp iptable_filter ip_tables x_tables cpufreq_userspace p4_clockmod spe
> edstep_lib binfmt_misc thermal processor fan container evdev snd_intel8x0 snd_ac97_codec snd_ac97_bus snd_seq_dummy snd_seq_
> oss snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss snd_pcm sk98lin skge snd_timer snd soundcore snd_pag
> e_alloc ide_cd i2c_i801 intel_agp agpgart cdrom rtc unix
> Aug 14 22:30:09 ltg01-fedora kernel: CPU: 0
> Aug 14 22:30:09 ltg01-fedora kernel: EIP: 0060:[<c0205249>] Not tainted VLI
> Aug 14 22:30:09 ltg01-fedora kernel: EFLAGS: 00010246 (2.6.18-rc4-mm1 #101)
> Aug 14 22:30:09 ltg01-fedora kernel: EIP is at __list_add+0x3d/0x7a

...

> 0xc0205249 is in __list_add (/usr/src/linux-mm/lib/list_debug.c:28).
> 23 if (unlikely(next->prev != prev)) {
> 24 printk("list_add corruption. next->prev should be %p, but was %p\n",
> 25 prev, next->prev);
> 26 BUG();
> 27 }
> 28 if (unlikely(prev->next != next)) {
> 29 printk("list_add corruption. prev->next should be %p, but was %p\n",
> 30 next, prev->next);
> 31 BUG();
> 32 }
>
> I'll revert debug-variants-of-linked-list-macros.patch

__list_add will still be dereferencing prev->next, so you should see exactly
the same gpf. Note that you're not triggering the BUG()'s here, you're hitting
some other fault just walking the list.

Dave

--