From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dmitry Baryshkov Subject: lockdep warning inside ide/bio Date: Wed, 1 Oct 2008 21:21:38 +0400 Message-ID: <20081001172138.GA17806@doriath.ww600.siemens.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from ey-out-2122.google.com ([74.125.78.27]:9984 "EHLO ey-out-2122.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752363AbYJARZY (ORCPT ); Wed, 1 Oct 2008 13:25:24 -0400 Received: by ey-out-2122.google.com with SMTP id 6so231825eyi.37 for ; Wed, 01 Oct 2008 10:25:22 -0700 (PDT) Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: linux-arm-kernel@lists.arm.linux.org.uk Cc: Mikael Pettersson , linux-ide@vger.kernel.org Hi, After 88c381bf09d7b3f2c2e8749150087aff2c434be4 soon after rootfs is mounted I'm getting the following lockdep trace (the machine in question is my tosa, booted from CF card with ide-cs driver). ------------[ cut here ]------------ WARNING: at /home/lumag/tosa-tree/kernel/lockdep.c:2195 trace_hardirqs_on_caller+0xf0/0x170() Modules linked in: [] (dump_stack+0x0/0x14) from [] (warn_on_slowpath+0x4c/0x84) [] (warn_on_slowpath+0x0/0x84) from [] (trace_hardirqs_on_caller+0xf0/0x170) r6:c0062a40 r5:00000001 r4:c381b080 [] (trace_hardirqs_on_caller+0x0/0x170) from [] (trace_hardirqs_on+0x14/0x18) r6:00000092 r5:00000000 r4:c3412b30 [] (trace_hardirqs_on+0x0/0x18) from [] (_spin_unlock_irq+0x30/0x60) [] (_spin_unlock_irq+0x0/0x60) from [] (__flush_dcache_aliases+0xec/0xf8) r4:c3412b50 [] (__flush_dcache_aliases+0x0/0xf8) from [] (flush_dcache_page+0x74/0x9c) [] (flush_dcache_page+0x0/0x9c) from [] (copy_to_high_bio_irq+0x64/0xb0) r5:c386d668 r4:c3a2b000 [] (copy_to_high_bio_irq+0x0/0xb0) from [] (__bounce_end_io_read+0x34/0x48) [] (__bounce_end_io_read+0x0/0x48) from [] (bounce_end_io_read_isa+0x1c/0x24) r6:c39b9658 r5:00000000 r4:c387f448 [] (bounce_end_io_read_isa+0x0/0x24) from [] (bio_endio+0x54/0x58) [] (bio_endio+0x0/0x58) from [] (req_bio_endio+0xac/0xd0) [] (req_bio_endio+0x0/0xd0) from [] (__end_that_request_first+0x1a0/0x2f0) r5:00011400 r4:c387f448 [] (__end_that_request_first+0x0/0x2f0) from [] (__blk_end_request+0x28/0x54) [] (__blk_end_request+0x0/0x54) from [] (__ide_end_request+0x94/0xc4) r5:c39ca0c0 r4:c39ca0c0 [] (__ide_end_request+0x0/0xc4) from [] (ide_end_request+0x68/0x88) r4:00011400 [] (ide_end_request+0x0/0x88) from [] (task_end_request+0x5c/0x70) r7:00000000 r6:c39b9658 r5:00000050 r4:c39ca0c0 [] (task_end_request+0x0/0x70) from [] (task_in_intr+0xa4/0xd4) r5:00000000 r4:c39ca0c0 [] (task_in_intr+0x0/0xd4) from [] (ide_intr+0x10c/0x184) r7:40000193 r6:c39ca0c0 r5:c3987938 r4:00000055 [] (ide_intr+0x0/0x184) from [] (handle_IRQ_event+0x2c/0x70) [] (handle_IRQ_event+0x0/0x70) from [] (handle_edge_irq+0xf8/0x180) r7:c0421314 r6:c3a328a0 r5:00000055 r4:c04212e4 [] (handle_edge_irq+0x0/0x180) from [] (pxa_gpio_demux_handler+0x94/0xe0) r8:c381d958 r7:c04400b0 r6:f2e00000 r5:00000fe0 r4:00000015 [] (pxa_gpio_demux_handler+0x0/0xe0) from [] (__exception_text_start+0x48/0x64) [] (__exception_text_start+0x0/0x64) from [] (__irq_svc+0x48/0xf0) Exception stack(0xc381d9b8 to 0xc381da00) d9a0: 00000001 c381b3d0 d9c0: 00000001 20000113 c042da70 c381da9c c08690d4 c381daa4 00000002 00000004 d9e0: c00756d0 c381da14 c381d9b0 c381da00 c00627e0 c03172bc 20000113 ffffffff r6:00000400 r5:f2d00000 r4:ffffffff [] (_spin_unlock_irq+0x0/0x60) from [] (generic_unplug_device+0x38/0x3c) r4:c3a30a80 [] (generic_unplug_device+0x0/0x3c) from [] (blk_unplug+0x1c/0x20) r4:c381da9c [] (blk_unplug+0x0/0x20) from [] (blk_backing_dev_unplug+0x14/0x18) [] (blk_backing_dev_unplug+0x0/0x18) from [] (block_sync_page+0x50/0x58) [] (block_sync_page+0x0/0x58) from [] (sync_page+0x4c/0x5c) [] (sync_page+0x0/0x5c) from [] (__wait_on_bit_lock+0x60/0x94) [] (__wait_on_bit_lock+0x0/0x94) from [] (__lock_page+0x68/0x78) [] (__lock_page+0x0/0x78) from [] (find_lock_page+0x64/0x94) r6:000000a2 r5:c3412b20 r4:c07fa480 [] (find_lock_page+0x0/0x94) from [] (filemap_fault+0x1cc/0x39c) r6:c3412b20 r5:00000000 r4:00000000 [] (filemap_fault+0x0/0x39c) from [] (__do_fault+0x54/0x428) [] (__do_fault+0x0/0x428) from [] (do_linear_fault+0x4c/0x54) [] (do_linear_fault+0x0/0x54) from [] (handle_mm_fault+0x118/0x310) [] (handle_mm_fault+0x0/0x310) from [] (__do_page_fault+0x78/0x108) [] (__do_page_fault+0x0/0x108) from [] (do_page_fault+0xa4/0x164) [] (do_page_fault+0x0/0x164) from [] (do_translation_fault+0x18/0x80) [] (do_translation_fault+0x0/0x80) from [] (do_DataAbort+0x3c/0xa0) r5:c0412620 r4:ffffffff [] (do_DataAbort+0x0/0xa0) from [] (__dabt_svc+0x4c/0x60) Exception stack(0xc381dd30 to 0xc381dd78) dd20: 000b2e28 000001d0 00000000 00000000 dd40: 000b2e28 000c38cc c3a2cc50 00000000 c39e9d08 00000000 c3a2cc88 c381dd8c dd60: 00000000 c381dd78 c00d1700 c0134788 20000013 ffffffff r8:c39e9d08 r7:00000000 r6:c3a2cc50 r5:c381dd64 r4:ffffffff [] (padzero+0x0/0x5c) from [] (load_elf_binary+0x974/0xce0) [] (load_elf_binary+0x0/0xce0) from [] (search_binary_handler+0xf8/0x2ac) [] (search_binary_handler+0x0/0x2ac) from [] (load_script+0x204/0x218) [] (load_script+0x0/0x218) from [] (search_binary_handler+0xf8/0x2ac) r6:c3a2cc88 r5:c04256a4 r4:00000000 [] (search_binary_handler+0x0/0x2ac) from [] (do_execve+0x138/0x1d0) [] (do_execve+0x0/0x1d0) from [] (kernel_execve+0x40/0x88) [] (kernel_execve+0x0/0x88) from [] (run_init_process+0x20/0x2c) r7:00000000 r6:00000000 r5:00000000 r4:c043fd14 [] (run_init_process+0x0/0x2c) from [] (init_post+0xa4/0x108) [] (init_post+0x0/0x108) from [] (kernel_init+0x78/0x90) r4:c043fd18 [] (kernel_init+0x0/0x90) from [] (do_exit+0x0/0x2dc) r4:00000000 ---[ end trace 574432789d45c513 ]--- -- With best wishes Dmitry