From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Beregalov Subject: next-20090522: kernel hungs at boot (async, libata/scsi) Date: Sun, 24 May 2009 15:43:32 +0400 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-bw0-f174.google.com ([209.85.218.174]:42777 "EHLO mail-bw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752103AbZEXLnc (ORCPT ); Sun, 24 May 2009 07:43:32 -0400 Sender: linux-next-owner@vger.kernel.org List-ID: To: linux-next , linux-ide@vger.kernel.org, linux-scsi@vger.kernel.org Hi Host has pata_amd (ata1,2) and pata_pdc2027x (ata3,4). It cannot add ata2 and ata4. bus: 'pci': driver_probe_device: matched device 0000:00:09.0 with driver pata_amd bus: 'pci': really_probe: probing driver pata_amd with device 0000:00:09.0 pata_amd 0000:00:09.0: version 0.4.1 pata_amd 0000:00:09.0: setting latency timer to 64 scsi0 : pata_amd device: 'host0': device_add bus: 'scsi': add device host0 device: 'host0': device_add scsi1 : pata_amd device: 'host1': device_add bus: 'scsi': add device host1 device: 'host1': device_add ata1: PATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xf000 irq 14 ata2: PATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xf008 irq 15 driver: '0000:00:09.0': driver_bound: bound to device 'pata_amd' bus: 'pci': really_probe: bound device 0000:00:09.0 to driver pata_amd bus: 'pci': add driver pata_pdc2027x bus: 'pci': driver_probe_device: matched device 0000:01:08.0 with driver pata_pdc2027x bus: 'pci': really_probe: probing driver pata_pdc2027x with device 0000:01:08.0 pata_pdc2027x 0000:01:08.0: version 1.0 ACPI: PCI Interrupt Link [APC1] enabled at IRQ 16 pata_pdc2027x 0000:01:08.0: PCI INT A -> Link[APC1] -> GSI 16 (level, high) -> IRQ 16 pata_pdc2027x 0000:01:08.0: PLL input clock 16686 kHz scsi2 : pata_pdc2027x device: 'host2': device_add bus: 'scsi': add device host2 device: 'host2': device_add ata1.00: ATA-7: ST3250823A, 3.02, max UDMA/100 ata1.00: 488397168 sectors, multi 16: LBA48 ata1: nv_mode_filter: 0x3f39f&0x3f01f->0x3f01f, BIOS=0x3f000 (0xc600c600) ACPI=0x3f01f (20:600:0x13) scsi3 : pata_pdc2027x device: 'host3': device_add bus: 'scsi': add device host3 device: 'host3': device_add ata3: PATA max UDMA/100 mmio m65536@0xed040000 cmd 0xed0417c0 irq 16 ata4: PATA max UDMA/100 mmio m65536@0xed040000 cmd 0xed0415c0 irq 16 driver: '0000:01:08.0': driver_bound: bound to device 'pata_pdc2027x' bus: 'pci': really_probe: bound device 0000:01:08.0 to driver pata_pdc2027x ata1.00: configured for UDMA/100 ata3.00: ATA-7: ST3250823A, 3.03, max UDMA/100 ata3.00: 488397168 sectors, multi 16: LBA48 ata3.00: configured for UDMA/100 INFO: task swapper:1 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. swapper D c0586e00 5492 1 0 0x00000000 f704ff3c 00000046 c014eca4 c0586e00 00000296 f7050000 f7050284 e41d1a0a 00000003 00000001 f7050284 f704ff3c c0144247 f704ff60 c0586e6c 00000000 f704ff80 c014456d f7050000 f7050000 c044fb85 c06eb6e0 00000005 c014eca4 Call Trace: [] ? trace_hardirqs_on_caller+0x124/0x180 [] ? lowest_in_progress+0x37/0x70 [] async_synchronize_cookie_domain+0xbd/0x150 [] ? _spin_unlock_irqrestore+0x55/0x70 [] ? trace_hardirqs_on_caller+0x124/0x180 [] ? autoremove_wake_function+0x0/0x40 [] async_synchronize_cookie+0xd/0x10 [] async_synchronize_full+0x18/0x40 [] wait_for_device_probe+0x68/0x70 [] ? autoremove_wake_function+0x0/0x40 [] prepare_namespace+0x18/0x17c [] ? sys_access+0x20/0x30 [] kernel_init+0xd8/0xf1 [] ? kernel_init+0x0/0xf1 [] kernel_thread_helper+0x7/0x10 no locks held by swapper/1. INFO: task async/0:500 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. async/0 D c0586e00 7380 500 2 0x00000000 f7103ed4 00000046 c014eca4 c0586e00 00000292 f72a0000 f72a0284 5b573649 00000001 00000003 f72a0284 f7103ed4 c0144247 f7103ef8 c06ec3c0 00000000 f7103f18 c014456d f7103f20 c034ca95 00000002 f70ed9cc 00000005 22222222 Call Trace: [] ? trace_hardirqs_on_caller+0x124/0x180 [] ? lowest_in_progress+0x37/0x70 [] async_synchronize_cookie_domain+0xbd/0x150 [] ? scsi_alloc_target+0x275/0x2c0 [] ? autoremove_wake_function+0x0/0x40 [] async_synchronize_full_domain+0x15/0x20 [] __scsi_add_device+0xb2/0xe0 [] ? async_synchronize_cookie_domain+0x2d/0x150 [] ata_scsi_scan_host+0x103/0x180 [] async_port_probe+0x91/0xc0 [] async_thread+0xd0/0x230 [] ? schedule+0x37d/0x4c0 [] ? trace_hardirqs_on+0xb/0x10 [] ? default_wake_function+0x0/0x10 [] ? async_thread+0x0/0x230 [] kthread+0x43/0x80 [] ? kthread+0x0/0x80 [] kernel_thread_helper+0x7/0x10 1 lock held by async/0/500: #0: (&shost->scan_mutex){+.+...}, at: [] __scsi_add_device+0x6e/0xe0 INFO: task async/1:502 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. async/1 D c0586e00 7488 502 2 0x00000000 f6aeff24 00000046 c014eca4 c0586e00 00000292 f72a2920 f72a2ba4 5b0bdd4d 00000001 00000001 f72a2ba4 f6aeff24 c0144247 f6aeff48 c0586e6c 00000000 f6aeff68 c014456d f6aeff34 f72a2920 c0108981 00000000 00000002 f6aeff48 Call Trace: [] ? trace_hardirqs_on_caller+0x124/0x180 [] ? lowest_in_progress+0x37/0x70 [] async_synchronize_cookie_domain+0xbd/0x150 [] ? sched_clock+0x21/0x70 [] ? put_lock_stats+0xd/0x30 [] ? autoremove_wake_function+0x0/0x40 [] async_synchronize_cookie+0xd/0x10 [] async_port_probe+0xa1/0xc0 [] async_thread+0xd0/0x230 [] ? schedule+0x37d/0x4c0 [] ? trace_hardirqs_on+0xb/0x10 [] ? default_wake_function+0x0/0x10 [] ? async_thread+0x0/0x230 [] kthread+0x43/0x80 [] ? kthread+0x0/0x80 [] kernel_thread_helper+0x7/0x10 no locks held by async/1/502. INFO: task async/2:509 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. async/2 D c0586e00 7604 509 2 0x00000000 f72abf24 00000046 c014eca4 c0586e00 00000292 f71cd240 f71cd4c4 71cf4cd4 00000001 00000001 f71cd4c4 f72abf24 c0144247 f72abf48 c0586e6c 00000000 f72abf68 c014456d 00000292 f72abf38 c014ed0b f72abf48 00000003 00000292 Call Trace: [] ? trace_hardirqs_on_caller+0x124/0x180 [] ? lowest_in_progress+0x37/0x70 [] async_synchronize_cookie_domain+0xbd/0x150 [] ? trace_hardirqs_on+0xb/0x10 [] ? autoremove_wake_function+0x0/0x40 [] async_synchronize_cookie+0xd/0x10 [] async_port_probe+0x85/0xc0 [] async_thread+0xd0/0x230 [] ? schedule+0x37d/0x4c0 [] ? trace_hardirqs_on+0xb/0x10 [] ? default_wake_function+0x0/0x10 [] ? async_thread+0x0/0x230 [] kthread+0x43/0x80 [] ? kthread+0x0/0x80 [] kernel_thread_helper+0x7/0x10 no locks held by async/2/509. INFO: task async/3:511 blocked for more than 120 seconds. "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. async/3 D c0586e00 7604 511 2 0x00000000 f7163f24 00000046 c014eca4 c0586e00 00000292 f70a9490 f70a9714 5b5d68ff 00000001 00000001 f70a9714 f7163f24 c0144247 f7163f48 c0586e6c 00000000 f7163f68 c014456d f7163f34 f70a9490 c0108981 00000000 00000004 f7163f48 Call Trace: [] ? trace_hardirqs_on_caller+0x124/0x180 [] ? lowest_in_progress+0x37/0x70 [] async_synchronize_cookie_domain+0xbd/0x150 [] ? sched_clock+0x21/0x70 [] ? put_lock_stats+0xd/0x30 [] ? autoremove_wake_function+0x0/0x40 [] async_synchronize_cookie+0xd/0x10 [] async_port_probe+0xa1/0xc0 [] async_thread+0xd0/0x230 [] ? schedule+0x37d/0x4c0 [] ? trace_hardirqs_on+0xb/0x10 [] ? default_wake_function+0x0/0x10 [] ? async_thread+0x0/0x230 [] kthread+0x43/0x80 [] ? kthread+0x0/0x80 [] kernel_thread_helper+0x7/0x10 no locks held by async/3/511.