* Re: SATA Cold Boot problems on >2.6.25 with NV
[not found] <fa.CVrJhjm3R8sjl5Z+EEIzYm7QtW0@ifi.uio.no>
@ 2008-08-29 14:44 ` Robert Hancock
2008-08-29 14:52 ` Tejun Heo
0 siblings, 1 reply; 3+ messages in thread
From: Robert Hancock @ 2008-08-29 14:44 UTC (permalink / raw)
To: linux-kernel, ide, Tejun Heo
(ccing linux-ide)
Tejun, another one of these reset issues?
Konstantin Kletschke wrote:
> Hello!
>
>
> I found to references regarding this problem in this list. Many Maxwell
> reported this and Tejo asked if his supposed fix helps out.
>
> Another reference by Jeff suggests bisecting a git commit. Since I am
> very unexperienced in the git stuff I hope it is okay to start another
> initial mail about this to ask
>
> 1.) What I should try out on the code to trace this further down
>
> 2.) I would extend this problem on >2.6.25 version of kernel.
>
> I have an "nForce3 250 chipset" on an Asrock K8Upgrade-NF3 Motherboard
>
> 00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
> 00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
> 00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
> 00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
> 00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
> 00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
> 00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
> 00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
> 00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
> 00:0a.0 IDE interface: nVidia Corporation CK8S Serial ATA Controller (v2.5) (rev a2)
> 00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
> 00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
> 00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
> 00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
> 00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
> 00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
> 01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200] (rev a1)
> 02:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
>
> While 2.6.25 works very fine I experienced this with 2.6.26_rc7 at first
> (I skipped versions between). Cold Boot yields into the described error,
> I sadly only have real screenshots of this:
>
> http://ludenkalle.de/sata
>
> After a reset the Kernel was not able to do anything useful with the
> SATA interface anymore (this description is a bit vague, IIRC it stuck
> immediately around "SATA Link down..."). Only powercycling helped out,
> then it booted with SATA.
>
> Now I have 2.6.27-rc3, same error but config netconsole enabled.
> Normal Boot:
>
> ata1: SATA link down (SStatus 0 SControl 300)
> ata2: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
> ata2.00: ATA-7: SAMSUNG HD753LJ, 1AA01106, max UDMA7
> ata2.00: 1465149168 sectors, multi 16: LBA48 NCQ (depth 0/32)
> ata2.00: configured for UDMA/133
> isa bounce pool size: 16 pages
> scsi 1:0:0:0: Direct-Access ATA SAMSUNG HD753LJ 1AA0 PQ: 0 ANSI: 5
> sd 1:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
> sd 1:0:0:0: [sda] 1465149168 512-byte hardware sectors (750156 MB)
> sd 1:0:0:0: [sda] Write Protect is off
> sd 1: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 1: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
> VFS: Mounted root (xfs filesystem) readonly.
> Freeing unused kernel memory: 220k freed
>
> Cold Boot:
>
> ata1: SATA link down (SStatus 0 SControl 300)
> ata2: link is slow to respond, please be patient (ready=0)
> ata2: COMRESET failed (errno=-16)
> ata2: link is slow to respond, please be patient (ready=0)
> ata2: COMRESET failed (errno=-16)
> ata2: link is slow to respond, please be patient (ready=0)
> ata2: COMRESET failed (errno=-16)
> ata2: limiting SATA link speed to 1.5 Gbps
> ata2: COMRESET failed (errno=-16)
> ata2: reset failed, giving up
> 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
> VFS: Cannot open root device "801" or unknown-block(8,1)
> Please append a correct "root=" boot option; here are the available partitions:
> Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,1)
>
> Hmn, thats it. Where should I poke into?
>
> Kind Regards, Konsti
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SATA Cold Boot problems on >2.6.25 with NV
2008-08-29 14:44 ` SATA Cold Boot problems on >2.6.25 with NV Robert Hancock
@ 2008-08-29 14:52 ` Tejun Heo
[not found] ` <20080829212146.GA4321@anita>
0 siblings, 1 reply; 3+ messages in thread
From: Tejun Heo @ 2008-08-29 14:52 UTC (permalink / raw)
To: Robert Hancock; +Cc: linux-kernel, ide, Peer Chen
Robert Hancock wrote:
> (ccing linux-ide)
>
> Tejun, another one of these reset issues?
Yeah, looks like it. I just sent the patch for #upstream-fixes and will
forward it to -stable once it gets into #upstream-fixes.
http://article.gmane.org/gmane.linux.ide/34077
Thanks.
--
tejun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: SATA Cold Boot problems on >2.6.25 with NV
[not found] ` <20080901174657.GA2114@anita>
@ 2008-09-02 4:35 ` Tejun Heo
0 siblings, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2008-09-02 4:35 UTC (permalink / raw)
To: linux-kernel, lists, IDE/ATA development list
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
(cc'ing linux-ide)
Konstantin Kletschke wrote:
> Am 2008-09-01 13:18 +0200 schrieb Tejun Heo:
>
>>> Hmn, to take my pants down entirely: What is this "EH"?
>> libata EH == libatata exception handling.
>
> Seems this stuff is kinda new since 2.6.25?
I think it's more circa 2.6.22 but in my memory terms, which sucks,
that's a lifetime before so I don't really remember. :-)
>> Can you please apply the attached patch and post the resulting dmesg?
>
> Of course. Patch applied, here is dmesg output, looks interesting now -
> but anything works fine so far.
Hmm... someone is scheduling EH incessantly without any error or action
set. Can you please try the attached patch?
--
tejun
[-- Attachment #2: debug --]
[-- Type: text/plain, Size: 1120 bytes --]
---
drivers/ata/libata-eh.c | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
Index: tree0/drivers/ata/libata-eh.c
===================================================================
--- tree0.orig/drivers/ata/libata-eh.c
+++ tree0/drivers/ata/libata-eh.c
@@ -671,6 +671,9 @@ static void ata_eh_set_pending(struct at
ap->pflags |= ATA_PFLAG_EH_PENDING;
+ ata_port_printk(ap, KERN_INFO, "XXX EH_SET_PENDING\n");
+ dump_stack();
+
if (!fastdrain)
return;
@@ -1077,6 +1080,11 @@ void ata_eh_about_to_do(struct ata_link
struct ata_eh_context *ehc = &link->eh_context;
unsigned long flags;
+ if (link)
+ ata_link_printk(link, KERN_INFO, "XXX about_to_do %x\n", action);
+ else if (dev)
+ ata_dev_printk(dev, KERN_INFO, "XXX about_to_do %x\n", action);
+
spin_lock_irqsave(ap->lock, flags);
ata_eh_clear_action(link, dev, ehi, action);
@@ -1890,8 +1898,8 @@ static void ata_eh_link_report(struct at
nr_failed++;
}
- if (!nr_failed && !ehc->i.err_mask)
- return;
+ //if (!nr_failed && !ehc->i.err_mask)
+ // return;
frozen = "";
if (ap->pflags & ATA_PFLAG_FROZEN)
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-09-02 4:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <fa.CVrJhjm3R8sjl5Z+EEIzYm7QtW0@ifi.uio.no>
2008-08-29 14:44 ` SATA Cold Boot problems on >2.6.25 with NV Robert Hancock
2008-08-29 14:52 ` Tejun Heo
[not found] ` <20080829212146.GA4321@anita>
[not found] ` <48B90F7F.8040308@kernel.org>
[not found] ` <20080830205143.GA9726@anita>
[not found] ` <48BBCF98.4070003@kernel.org>
[not found] ` <20080901174657.GA2114@anita>
2008-09-02 4:35 ` Tejun Heo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).