Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757463AbXK3V6l (ORCPT ); Fri, 30 Nov 2007 16:58:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756238AbXK3V62 (ORCPT ); Fri, 30 Nov 2007 16:58:28 -0500 Received: from nf-out-0910.google.com ([64.233.182.184]:19297 "EHLO nf-out-0910.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755916AbXK3V6Z (ORCPT ); Fri, 30 Nov 2007 16:58:25 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=a1cpfKdbhD01/KcyrqMhZEBmdJZ6SdaR3R0FZO1dnEMC0xyC5sZ8T2wJqsl3Abv561ZE133COj9NAoLrrQAKHE/EMcBvF9jCdftS7To3rmoyFCsCkGcmoPgUTqsbKeGMUzcbGcLgSuGuc7w4EN4jOfejuZMs/t++6e1p+vRMH6o= Message-ID: <5a4c581d0711301358j12514debs2803736f70725b2c@mail.gmail.com> Date: Fri, 30 Nov 2007 22:58:23 +0100 From: "Alessandro Suardi" To: "Meelis Roos" Subject: Re: ata4294967295: failed to start port (errno=-19) Cc: "Alan Cox" , "Linux Kernel list" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071128200716.14eccfdd@the-village.bc.nu> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2638 Lines: 66 On Nov 30, 2007 1:34 PM, Meelis Roos wrote: > > Can you stick a stack trace in at that point ? That would help diagnose > > it a great deal quicker. > > Finally done - found out hard way that BUG() is too bad and > dump_st5ack() suits me better. > > libata version 3.00 loaded. > Pid: 661, comm: modprobe Not tainted 2.6.24-rc3 #3 > [] ata_host_start+0xf0/0x140 [libata] > [] ata_pci_init_one+0xee/0x2a0 [libata] > [] sysfs_create_link+0x77/0x100 > [] pacpi_init_one+0x17/0x20 [pata_acpi] > [] pci_device_probe+0x56/0x80 > [] driver_probe_device+0x87/0x190 > [] klist_next+0x51/0xb0 > [] __driver_attach+0x76/0x80 > [] bus_for_each_dev+0x3a/0x60 > [] driver_attach+0x16/0x20 > [] __driver_attach+0x0/0x80 > [] bus_add_driver+0x8b/0x1e0 > [] __pci_register_driver+0x4c/0x90 > [] sys_init_module+0x121/0x1550 > [] vma_prio_tree_insert+0x1f/0x50 > [] ata_std_prereset+0x0/0x160 [libata] > [] do_mmap_pgoff+0x298/0x320 > [] syscall_call+0x7/0xb > [] packet_setsockopt+0xf0/0x3b0 > ======================= > ata4294967295: failed to start port (errno=-19) Mine is slightly different - I just put dump_stack(); before the ata_port_printk in libata-core.c: PCI: Setting latency timer of device 0000:00:1f.2 to 64 Pid: 364, comm: insmod Not tainted 2.6.24-rc3-git5 #5 [] show_trace_log_lvl+0x1a/0x2f [] show_trace+0x12/0x14 [] dump_stack+0x6a/0x70 [] ata_host_start+0xb0/0x122 [] ata_pci_init_one+0xd3/0x252 [] pacpi_init_one+0x1c/0x1e [pata_acpi] [] pci_device_probe+0x39/0x5b [] driver_probe_device+0xe8/0x168 [] __driver_attach+0x74/0xab [] bus_for_each_dev+0x36/0x5b [] driver_attach+0x19/0x1b [] bus_add_driver+0x73/0x1aa [] driver_register+0x67/0x6c [] __pci_register_driver+0x56/0x83 [] pacpi_init+0x17/0x19 [pata_acpi] [] sys_init_module+0x1278/0x1391 [] sysenter_past_esp+0x5f/0xa5 ======================= ata4294967295: failed to start port (errno=-19) --alessandro "Damaged people are dangerous. They know they can survive." (Anna Barton/Juliette Binoche, 'Damage') - 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/