Re: 2.6.21-git4 Scheduler, NOHZ, VFS bugs

From: Andrew Morton
Date: Fri May 04 2007 - 14:03:03 EST


On Fri, 04 May 2007 18:20:51 +0200 Michal Piotrowski <michal.k.k.piotrowski@xxxxxxxxx> wrote:

> I ran this script tree times,
>
> #! /bin/sh
>
> for i in `find /sys/ -type f`
> do
> echo "wyÅwietlam $i"
> sudo cat $i > /dev/null
> done
>
> First run - scheduler bug
> Second run - NOHZ bug
> Third - VFS bug
>
> Hmmmm...
>
> [93298.252601] BUG: at /mnt/md0/devel/linux-git/kernel/sched.c:3241 add_preempt_count()
> [93298.260334] [<c0105039>] show_trace_log_lvl+0x1a/0x2f
> [93298.265507] [<c0105720>] show_trace+0x12/0x14
> [93298.269974] [<c01057d2>] dump_stack+0x16/0x18
> [93298.274434] [<c011d18a>] add_preempt_count+0x89/0x8b
> [93298.279501] [<c0126492>] irq_enter+0xd/0x2e
> [93298.283788] [<c0114c1e>] smp_apic_timer_interrupt+0x2a/0x84
> [93298.289458] [<c0104b2b>] apic_timer_interrupt+0x33/0x38
> [93298.294783] [<c0257b79>] show_uevent+0x58/0xcd
> [93298.299329] =======================
> [93390.468056] NOHZ: local_softirq_pending 22
> [93447.105850] NOHZ: local_softirq_pending 22
> [93450.332884] BUG: unable to handle kernel paging request at virtual address 3e343c0c
> [93450.340626] printing eip:
> [93450.343333] c018e2bc
> [93450.345520] *pde = 00000000
> [93450.348314] Oops: 0000 [#1]

Nice. What was the last file which it read before crashing?

Are you able to consistently crash it by reading just that file?
-
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/