Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965034AbWL2KDN (ORCPT ); Fri, 29 Dec 2006 05:03:13 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965052AbWL2KDN (ORCPT ); Fri, 29 Dec 2006 05:03:13 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]:27860 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S965034AbWL2KDM (ORCPT ); Fri, 29 Dec 2006 05:03:12 -0500 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:x-enigmail-version:content-type:content-transfer-encoding; b=PtGN7Mb8Xn80ZFfgEpY8NES/mCUjMUejWNCtL+hqUYhjSYk9CS5ImAGLwJvQXSrGD+lpXD56VL3QDQdFMRpejI5LX2XeI1rq/pyj1M2zWqxGF71AMTg5TxDMt7mWl4uWc5vaMt4yT4uQBtl3I5gGc1ttm9Z6Z1JfyeKj9+YpElg= Message-ID: <4594E7EB.3020505@gmail.com> Date: Fri, 29 Dec 2006 11:03:00 +0059 From: Jiri Slaby User-Agent: Thunderbird 2.0a1 (X11/20060724) MIME-Version: 1.0 To: Miles Lane CC: Andrew Morton , LKML , Ingo Molnar Subject: Re: 2.6.20-rc2-mm1 -- BUG: at arch/i386/mm/highmem.c:50 kmap_atomic() References: In-Reply-To: X-Enigmail-Version: 0.94.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3638 Lines: 89 Miles Lane wrote: > On 12/18/06, Jiri Slaby wrote: >> Miles Lane wrote: >> > On 12/18/06, Jiri Slaby wrote: >> >> Miles Lane wrote: >> >> > Sorry, I am not finding who maintains highmem. Please forward. >> >> > >> >> > WARNING (1) at arch/i386/mm/highmem.c:41 kmap_atomic() >> >> > [] dump_trace+0x68/0x1d2 >> >> > [] show_trace_log_lvl+0x18/0x2c >> >> > [] show_trace+0xf/0x11 >> >> > [] dump_stack+0x12/0x14 >> >> > [] kmap_atomic+0x6f/0x1ca >> >> > [] ntfs_end_buffer_async_read+0x25d/0x2ca [ntfs] >> >> > [] end_bio_bh_io_sync+0x2c/0x37 >> >> > [] bio_endio+0x5a/0x62 >> >> > [] __end_that_request_first+0x145/0x3ab >> >> > [] ide_end_request+0x80/0xd8 >> >> > [] ide_dma_intr+0x55/0x9a >> >> > [] ide_intr+0x182/0x1f2 >> >> > [] handle_IRQ_event+0x1a/0x3f >> >> > [] handle_edge_irq+0xc6/0x11c >> >> > [] do_IRQ+0x57/0x71 >> >> > [] common_interrupt+0x23/0x28 >> >> > [] acpi_processor_idle+0x1cc/0x36c [processor] >> >> > [] cpu_idle+0x3e/0x6c >> >> > [] start_kernel+0x2fa/0x2fe >> >> > ======================= >> >> >> >> Reported yet, you might see it here: >> >> http://lkml.org/lkml/2006/12/15/222 >> > >> > It is certainly very similar, and probably has the same root cause. >> > Though, the trace isn't an exact match. So, who should look into >> > this? >> >> The trace needn't be the same. The problem was, that kmap_atomic >> didn't know >> KM_BIO_SRC_IRQ which is called (twice) from >> ntfs_end_buffer_async_read. It >> doesn't matter who called this ntfs function and why. Oh sorry, my fault -- it does matter now: hardirq/softirq path. > With 2.6.20-rc2-mm1 I am seeing: > > BUG: at arch/i386/mm/highmem.c:50 kmap_atomic() > [] kmap_atomic+0x8e/0x18b > [] ntfs_end_buffer_async_read+0x25d/0x2ca [ntfs] > [] end_bio_bh_io_sync+0x0/0x37 > [] end_bio_bh_io_sync+0x2c/0x37 > [] bio_endio+0x5a/0x62 > [] scsi_delete_timer+0xb/0x1b > [] __end_that_request_first+0x145/0x3ab > [] as_put_io_context+0x43/0x4e > [] scsi_end_request+0x1d/0xb6 > [] scsi_io_completion+0xf5/0x2ba > [] do_timer+0x4fc/0x70c > [] sd_rw_intr+0x15d/0x186 [sd_mod] > [] scsi_softirq_done+0x20/0xce > [] scsi_finish_command+0x3f/0x43 > [] blk_done_softirq+0x4a/0x55 > [] __do_softirq+0x35/0x75 > [] do_softirq+0x22/0x26 > [] irq_exit+0x29/0x62 > [] do_IRQ+0x67/0x81 > [] common_interrupt+0x23/0x28 > [] acpi_processor_idle+0x1cc/0x36c [processor] > [] acpi_processor_idle+0x0/0x36c [processor] > [] cpu_idle+0x44/0x77 > [] start_kernel+0x2f9/0x2fd > [] unknown_bootoption+0x0/0x202 Yes, me too. But type != KM_BIO_SRC_IRQ && type != KM_BIO_DST_IRQ) { line appeared in in_irq() part in this kernel. This is OK for some cases -- when it's called through hardirq path. softirq remains unresolved. regards, -- http://www.fi.muni.cz/~xslaby/ Jiri Slaby faculty of informatics, masaryk university, brno, cz e-mail: jirislaby gmail com, gpg pubkey fingerprint: B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E - 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/