Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755100AbYJGGET (ORCPT ); Tue, 7 Oct 2008 02:04:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751197AbYJGGEJ (ORCPT ); Tue, 7 Oct 2008 02:04:09 -0400 Received: from mail.ku-gbr.de ([81.3.11.18]:45851 "EHLO ku-gbr.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750914AbYJGGEI (ORCPT ); Tue, 7 Oct 2008 02:04:08 -0400 Date: Tue, 7 Oct 2008 08:04:00 +0200 From: Konstantin Kletschke To: linux-kernel@vger.kernel.org Subject: Re: SATA Cold Boot problems on >2.6.25 with NV Message-ID: <20081007060357.GA16761@anita.doom> Mail-Followup-To: linux-kernel@vger.kernel.org References: <48D89C85.2080104@panasas.com> <20080924084846.GA2094@anita> <48DA0A2C.8010008@kernel.org> <48E890B9.6050307@gmail.com> <48E8947A.5020608@kernel.org> <48E89839.5030307@panasas.com> <48E899F9.9040206@kernel.org> <20081006211906.GA31148@anita.doom> <20081006212307.GA881@anita.doom> <48EAB535.8010203@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48EAB535.8010203@kernel.org> User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4295 Lines: 105 Am 2008-10-07 10:02 +0900 schrieb Tejun Heo: > Hmm... strange. Can you please try the attached patch? It's basically > the same with a bit more debug information. No Problem. I had difficulties to cold boot the machine today, I had to powercycle a lot. Then I applied the patch and it bootet immediately: sata_nv 0000:00:0a.0: version 3.5 ACPI: PCI Interrupt Link [LTID] enabled at IRQ 21 sata_nv 0000:00:0a.0: PCI INT A -> Link[LTID] -> GSI 21 (level, low) -> IRQ 21 sata_nv 0000:00:0a.0: setting latency timer to 64 scsi0 : sata_nv scsi1 : sata_nv ata1: SATA max UDMA/133 cmd 0xf80 ctl 0xf00 bmdma 0xd800 irq 21 ata2: SATA max UDMA/133 cmd 0xe80 ctl 0xe00 bmdma 0xd808 irq 21 ata1: hard resetting link XXX CLASSIFY 01:00:00 ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1.00: ATA-7: SAMSUNG HD753LJ, 1AA01106, max UDMA7 ata1.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 0/32) ata1.00: configured for UDMA/133 ata1: EH complete ata2: hard resetting link ata2: SATA link down (SStatus 0 SControl 300) ata2: EH complete isa bounce pool size: 16 pages scsi 0:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 > sd 0:0:0:0: [sda] Attached SCSI disk PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 TCP cubic registered NET: Registered protocol family 17 XFS mounting filesystem sda1 Ending clean XFS mount for filesystem: sda1 VFS: Mounted root (xfs filesystem) readonly. Freeing unused kernel memory: 220k freed Then I switched off and smoked a cigarette, booting then lasted a bit longer: ata1: link is slow to respond, please be patient (ready=0) ata1: SRST failed (errno=-16) ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1: link online but device misclassified, retrying ata1: hard resetting link ata1: link is slow to respond, please be patient (ready=0) ata1: SRST failed (errno=-16) ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1: link online but device misclassified, retrying ata1: hard resetting link XXX CLASSIFY 01:00:00 ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300) ata1.00: ATA-7: SAMSUNG HD753LJ, 1AA01106, max UDMA7 ata1.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 0/32) ata1.00: configured for UDMA/133 ata1: EH complete ata2: hard resetting link ata2: SATA link down (SStatus 0 SControl 300) ata2: EH complete isa bounce pool size: 16 pages scsi 0:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sd 0:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 > sd 0:0:0:0: [sda] Attached SCSI disk PNP: No PS/2 controller found. Probing ports directly. serio: i8042 KBD port at 0x60,0x64 irq 1 serio: i8042 AUX port at 0x60,0x64 irq 12 TCP cubic registered NET: Registered protocol family 17 XFS mounting filesystem sda1 Ending clean XFS mount for filesystem: sda1 VFS: Mounted root (xfs filesystem) readonly. Freeing unused kernel memory: 220k freed Konsti -- GPG KeyID EF62FCEF Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF -- 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/