Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934217AbXEESEz (ORCPT ); Sat, 5 May 2007 14:04:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S934216AbXEESEy (ORCPT ); Sat, 5 May 2007 14:04:54 -0400 Received: from ug-out-1314.google.com ([66.249.92.168]:54424 "EHLO ug-out-1314.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934217AbXEESEw (ORCPT ); Sat, 5 May 2007 14:04:52 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding:from; b=o6vcJsRUItOokdSj9TMYNJwDZpGhWe1s4dq2Tuq6cSUQ7AEmlMQ9NDBVFDDBdgriHkWoCH0lu3dBLurRCY7/ljMyz7LCCKfSln1wahD6ZHzktQhooOpW2BRNXiIEWTOgsItOKStPuRWx7Y6Se/nGEfutDI8wew0w2fDNl9mSMUI= Message-ID: <463CC746.7050402@googlemail.com> Date: Sat, 05 May 2007 20:04:54 +0200 User-Agent: Thunderbird 1.5.0.10 (X11/20070302) MIME-Version: 1.0 To: Kay Sievers CC: Andrew Morton , Ingo Molnar , Thomas Gleixner , viro@ftp.linux.org.uk, linux-ext4@vger.kernel.org, LKML , Greg Kroah-Hartman , Linus Torvalds Subject: random bug generator (was: 2.6.21-git4 Scheduler, NOHZ, VFS bugs) References: <463B5D63.2030109@googlemail.com> <20070504110158.d2808170.akpm@linux-foundation.org> <6bffcb0e0705050625m6bb05dc0ne0864ec2dba19256@mail.gmail.com> In-Reply-To: <6bffcb0e0705050625m6bb05dc0ne0864ec2dba19256@mail.gmail.com> X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 8bit From: Michal Piotrowski Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2845 Lines: 84 Hi, Michal Piotrowski napisa?(a): > On 04/05/07, Andrew Morton wrote: >> On Fri, 04 May 2007 18:20:51 +0200 Michal Piotrowski >> 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] [] show_trace_log_lvl+0x1a/0x2f >> > [93298.265507] [] show_trace+0x12/0x14 >> > [93298.269974] [] dump_stack+0x16/0x18 >> > [93298.274434] [] add_preempt_count+0x89/0x8b >> > [93298.279501] [] irq_enter+0xd/0x2e >> > [93298.283788] [] smp_apic_timer_interrupt+0x2a/0x84 >> > [93298.289458] [] apic_timer_interrupt+0x33/0x38 >> > [93298.294783] [] 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? > > Random files, random bugs (usually it starts with a slab corruption). > > git-bisect will give an answer. So this is a random bug generator... git-bisect bad 16574dccd8f62dc1b585325f8a6a0aab10047ed8 is first bad commit commit 16574dccd8f62dc1b585325f8a6a0aab10047ed8 Author: Kay Sievers Date: Fri Apr 6 01:40:38 2007 +0200 Driver core: make uevent-environment available in uevent-file This allows sysfs to show the environment variables that are available if the uevent happens. This lets userspace not have to cache all of this information as the kernel already knows it. Signed-off-by: Kay Sievers Signed-off-by: Greg Kroah-Hartman :040000 040000 34152258985968083c04ab003ced54d73e92a790 c3301e8cd7705c293817c6747b3cc59d6cbf14bb M drivers http://www.stardust.webpages.pl/files/tbf/bitis-gabonica/2.6.21-git4/git-config Regards, Michal -- Michal K. K. Piotrowski Kernel Monkeys (http://kernel.wikidot.com/start) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/