Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760921AbYBLPP1 (ORCPT ); Tue, 12 Feb 2008 10:15:27 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756940AbYBLPPS (ORCPT ); Tue, 12 Feb 2008 10:15:18 -0500 Received: from pentafluge.infradead.org ([213.146.154.40]:46315 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755675AbYBLPPQ (ORCPT ); Tue, 12 Feb 2008 10:15:16 -0500 Date: Tue, 12 Feb 2008 07:14:52 -0800 From: Arjan van de Ven To: Ingo Molnar Cc: linux-kernel@vger.kernel.org, Linus Torvalds , Mark Lord , Jeff Garzik , Alan Cox , Tejun Heo Subject: Re: [ata crash] Re: Linux 2.6.25-rc1 Message-ID: <20080212071452.5c58ae6d@laptopd505.fenrus.org> In-Reply-To: <20080212081816.GA17820@elte.hu> References: <20080212081816.GA17820@elte.hu> Organization: Intel X-Mailer: Claws Mail 3.2.0 (GTK+ 2.12.5; i386-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3918 Lines: 76 On Tue, 12 Feb 2008 09:18:16 +0100 Ingo Molnar wrote: > > hm, ata_port_wait_eh() started crashing on a testsystem (8-way box): > > [ 39.324116] Calling initcall 0xc09f41eb: legacy_init+0x0/0x888() > [ 39.331868] BUG: unable to handle kernel NULL pointer dereference > at 000000e4 [ 39.338811] IP: [] ata_port_wait_eh+0x77/0xa2 > [ 39.344115] *pde = 00000000 > [ 39.347778] Oops: 0000 [#1] SMP > [ 39.350769] > [ 39.350769] Pid: 1, comm: swapper Not tainted (2.6.25-rc1 #5) > [ 39.350769] EIP: 0060:[] EFLAGS: 00010246 CPU: 1 > [ 39.350769] EIP is at ata_port_wait_eh+0x77/0xa2 > [ 39.350769] EAX: f72e5d9c EBX: f7340000 ECX: c035eb18 EDX: 00000000 > [ 39.350769] ESI: f73424f0 EDI: 00000246 EBP: f7c63efc ESP: f7c63edc > [ 39.350769] DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 > [ 39.350769] Process swapper (pid: 1, ti=f7c62000 task=f7c60000 > task.ti=f7c62) [ 39.350769] Stack: 00000000 f7c60000 c012fd31 > f7c63ee8 f7c63ee8 f7340000 f73 [ 39.350769] f7c63f18 > c049c4b1 f72e5d9c 00000000 f7340000 00810001 000 > [ 39.350769] c09f4a60 00000000 00000000 c0b79a9c 00000001 > 00000001 000 [ 39.350769] Call Trace: [ 39.350769] > [] ? autoremove_wake_function+0x0/0x30 [ 39.350769] > [] ? ata_host_detach+0x4c/0x13b [ 39.350769] > [] ? legacy_init+0x875/0x888 [ 39.350769] [] ? > getnstimeofday+0x35/0xc0 [ 39.350769] [] ? > kernel_init+0x12a/0x277 [ 39.350769] [] ? > do_early_param+0x34/0x6f [ 39.350769] [] ? > kernel_init+0x0/0x277 [ 39.350769] [] ? > kernel_thread_helper+0x7/0x10 [ 39.350769] ======================= > [ 39.350769] Code: e8 82 0f 21 00 8b 43 08 e8 28 2c 21 00 89 c7 f6 > 43 10 03 8 [ 39.350769] EIP: [] > ata_port_wait_eh+0x77/0xa2 SS:ESP 0068:f7c63edc[ 39.350793] > ---[ end trace 07a6e399b623c9d0 ]--- [ 39.354119] Kernel panic - > not syncing: Attempted to kill init! > > no particular commit stands out at me - so i Cc:-ed various PATA > folks. Config attached [it's randconfig generated so might have weird > option combinations in it]. [ Note: the box uses BLK_CPQ_DA as its > primary storage, ATA is just a CDROM side-thing - so it was never > heavily tested here. It never crashed the bootup before though. ] > > On a second attempt to boot the same bzImage, another ATA related > weirdness showed up: > > [ 8.226144] Calling initcall 0xc09f3d8e: isapnp_init+0x0/0xf() > [ 8.232017] Bad IO access at port 0x0 (outb(val,port)) > [ 8.232799] ------------[ cut here ]------------ > [ 8.232799] WARNING: at lib/iomap.c:44 bad_io_access+0x2f/0x34() > [ 8.232799] Pid: 1, comm: swapper Not tainted 2.6.25-rc1 #5 > [ 8.232799] [] warn_on_slowpath+0x3c/0x4c > [ 8.232799] [] ? serial8250_console_write+0x0/0x14e > [ 8.232799] [] ? __call_console_drivers+0x56/0x63 > [ 8.232799] [] ? _spin_unlock_irqrestore+0x15/0x21 > [ 8.232799] [] ? release_console_sem+0x1c1/0x1c9 > [ 8.232799] [] ? print_trailer+0x6e/0xfc > [ 8.232799] [] ? check_object+0x10b/0x181 > [ 8.232799] [] ? printk+0x15/0x17 > [ 8.232799] [] bad_io_access+0x2f/0x34 > [ 8.232799] [] iowrite8+0x31/0x34 > [ 8.232799] [] ata_bmdma_freeze+0x1d/0x30 btw this one was featured in the weekly bug top 10.. it's a rather popular thing to happen. -- If you want to reach me at my work email, use arjan@linux.intel.com For development, discussion and tips for power savings, visit http://www.lesswatts.org -- 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/