All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gene Heskett <gene.heskett@gmail.com>
To: Mark Lord <liml@rtr.ca>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Problem with ata layer in 2.6.24
Date: Mon, 28 Jan 2008 14:04:12 -0500	[thread overview]
Message-ID: <200801281404.12937.gene.heskett@gmail.com> (raw)
In-Reply-To: <479E24F7.4090502@rtr.ca>

On Monday 28 January 2008, Mark Lord wrote:
>Gene Heskett wrote:
>> Greeting;
>>
>> I had to reboot early this morning due to a freezeup, and I had a
>> bunch of these in the messages log:
>> ==============
>> Jan 27 19:42:11 coyote kernel: [42461.915961] ata1.00: exception Emask 0x0
>> SAct 0x0 SErr 0x0 action 0x2 frozen Jan 27 19:42:11 coyote kernel:
>> [42461.915973] ata1.00: cmd ca/00:08:b1:66:46/00:00:00:00:00/e8 tag 0 dma
>> 4096 out Jan 27 19:42:11 coyote kernel: [42461.915974]          res
>> 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout) Jan 27 19:42:11
>> coyote kernel: [42461.915978] ata1.00: status: { DRDY } Jan 27 19:42:11
>> coyote kernel: [42461.916005] ata1: soft resetting link Jan 27 19:42:12
>> coyote kernel: [42462.078216] ata1.00: configured for UDMA/100 Jan 27
>> 19:42:12 coyote kernel: [42462.078232] ata1: EH complete
>> Jan 27 19:42:12 coyote kernel: [42462.090700] sd 0:0:0:0: [sda] 390721968
>> 512-byte hardware sectors (200050 MB) Jan 27 19:42:12 coyote kernel:
>> [42462.114230] sd 0:0:0:0: [sda] Write Protect is off Jan 27 19:42:12
>> coyote kernel: [42462.115079] sd 0:0:0:0: [sda] Write cache: enabled, read
>> cache: enabled, doesn't support DPO or FUA
>> ===============
>> That one showed up about 2 hours ago, so I expect I'll be locked
>> up again before I've managed a 24 hour uptime.  This drive passed
>> a 'smartctl -t long /dev/sda' with flying colors after the reboot
>> this morning.
>>
>> Two instances were logged after I had rebooted to 2.6.24 from 2.6.24-rc8:
>>
>> Jan 24 20:46:33 coyote kernel: [    0.000000] Linux version 2.6.24
>> (root@coyote.coyote.den) (gcc version 4.1.2 20070925 (Red Hat 4.1.2-33))
>> #1 SMP Thu Jan 24 20:17:55 EST 2008
>> ----
>> Jan 27 02:28:29 coyote kernel: [193207.445158] ata1.00: exception Emask
>> 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jan 27 02:28:29 coyote kernel:
>> [193207.445170] ata1.00: cmd 35/00:08:f9:24:0a/00:00:17:00:00/e0 tag 0 dma
>> 4096 out Jan 27 02:28:29 coyote kernel: [193207.445172]          res
>> 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout) Jan 27 02:28:29
>> coyote kernel: [193207.445175] ata1.00: status: { DRDY } Jan 27 02:28:29
>> coyote kernel: [193207.445202] ata1: soft resetting link Jan 27 02:28:29
>> coyote kernel: [193207.607384] ata1.00: configured for UDMA/100 Jan 27
>> 02:28:29 coyote kernel: [193207.607399] ata1: EH complete
>> Jan 27 02:28:29 coyote kernel: [193207.609681] sd 0:0:0:0: [sda] 390721968
>> 512-byte hardware sectors (200050 MB) Jan 27 02:28:29 coyote kernel:
>> [193207.619277] sd 0:0:0:0: [sda] Write Protect is off Jan 27 02:28:29
>> coyote kernel: [193207.649041] sd 0:0:0:0: [sda] Write cache: enabled,
>> read cache: enabled, doesn't support DPO or FUA
>> Jan 27 02:30:06 coyote kernel: [193304.336929] ata1.00: exception Emask
>> 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen Jan 27 02:30:06 coyote kernel:
>> [193304.336940] ata1.00: cmd ca/00:20:69:22:a6/00:00:00:00:00/e7 tag 0 dma
>> 16384 out Jan 27 02:30:06 coyote kernel: [193304.336942]          res
>> 40/00:01:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout) Jan 27 02:30:06
>> coyote kernel: [193304.336945] ata1.00: status: { DRDY } Jan 27 02:30:06
>> coyote kernel: [193304.336972] ata1: soft resetting link Jan 27 02:30:06
>> coyote kernel: [193304.499210] ata1.00: configured for UDMA/100 Jan 27
>> 02:30:06 coyote kernel: [193304.499226] ata1: EH complete
>> Jan 27 02:30:06 coyote kernel: [193304.499714] sd 0:0:0:0: [sda] 390721968
>> 512-byte hardware sectors (200050 MB) Jan 27 02:30:06 coyote kernel:
>> [193304.499857] sd 0:0:0:0: [sda] Write Protect is off Jan 27 02:30:06
>> coyote kernel: [193304.502315] sd 0:0:0:0: [sda] Write cache: enabled,
>> read cache: enabled, doesn't support DPO or FUA
>>
>> None were logged during the time I was running an -rc7 or -rc8.
>>
>> The previous hits on this resulted in the udma speed being downgraded
>> till it was actually running in pio just before the freeze that
>> required the hardware reset button.
>>
>> I'll reboot to -rc8 right now and resume.  If its the drive, I should see
>> it. If not, then 2.6.24 is where I'll point the finger.
>
>..
>
>The only libata change I can see that could possibly affect your setup,
>is this one here, which went in sometime between -rc7 and -final:
>
>--- linux-2.6.24-rc7/drivers/ata/libata-eh.c    2008-01-06
> 16:45:38.000000000 -0500 +++ linux-2.6.24/drivers/ata/libata-eh.c       
> 2008-01-24 17:58:37.000000000 -0500 @@ -1733,11 +1733,15 @@
>                ehc->i.action &= ~ATA_EH_PERDEV_MASK;
>        }
>
>-       /* consider speeding down */
>+       /* propagate timeout to host link */
>+       if ((all_err_mask & AC_ERR_TIMEOUT) && !ata_is_host_link(link))
>+               ap->link.eh_context.i.err_mask |= AC_ERR_TIMEOUT;
>+
>
>It looks pretty innocent to me, though.
>If you want to try reverting just that change
>(comment out the two lines and rebuild),
>then that might provide useful information here.
>
>If -final is still b0rked even with those two lines changed back,
>then I suspect you're just "getting lucky" when switching between
>the -rc7/-rc8 kernel and the -final kernel.
>
>"Lucky" in a bad way, that is.
>
>The real test would be to rebuild the kernel without libata,
>and *with* the old IDE driver instead, and see if the problems persist.

I can do that, but going to this was pretty painfull, probably 5 or 6 reboots 
to get it right.

And so far no one has tried to comment on those 2 dmesg lines I've quoted a 
couple of times now, here's another:
[    0.000000] Nvidia board detected. Ignoring ACPI timer override.
[    0.000000] If you got timer trouble try acpi_use_timer_override
what the heck is that trying to tell me to do, in some sort of broken english?


>If you need help with that, then perhaps someone familiar with Fedora
>might be able to assist.
>
>Cheers



-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
I used to be disgusted, now I find I'm just amused.
		-- Elvis Costello

  parent reply	other threads:[~2008-01-28 19:04 UTC|newest]

Thread overview: 98+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-28  2:22 Problem with ata layer in 2.6.24 Gene Heskett
2008-01-28  3:19 ` Kasper Sandberg
2008-01-28  8:17 ` Mikael Pettersson
2008-01-28 12:03   ` Peter Zijlstra
2008-01-28 12:26     ` Mikael Pettersson
2008-01-28 12:45       ` Ingo Molnar
2008-01-28 12:54     ` Gene Heskett
2008-01-28 13:19       ` Gene Heskett
2008-01-28 13:57       ` Mikael Pettersson
2008-01-28 16:35         ` Gene Heskett
2008-01-28 16:50           ` Calvin Walton
2008-01-28 17:20             ` Zan Lynx
2008-01-28 17:30               ` Gene Heskett
2008-01-28 17:44                 ` Gene Heskett
2008-01-28 17:59                 ` Daniel Barkalow
2008-01-28 18:23                   ` Richard Heck
2008-01-28 18:53                     ` Andrey Borzenkov
2008-01-28 19:09                       ` Gene Heskett
2008-01-28 19:21                         ` Andrey Borzenkov
2008-01-28 19:31                           ` Gene Heskett
2008-01-28 20:00                       ` Richard Heck
2008-01-28 20:01                     ` Daniel Barkalow
2008-01-29  0:05                       ` Gene Heskett
2008-01-29  0:34                         ` Daniel Barkalow
2008-01-29  1:31                           ` Gene Heskett
2008-01-29  1:51                             ` Daniel Barkalow
2008-01-29  4:48                             ` Michal Jaegermann
2008-01-29 12:12                     ` Alan Cox
2008-01-29 14:30                       ` Gene Heskett
2008-01-29 14:51                       ` Gene Heskett
2008-01-29 15:47                         ` Alan Cox
2008-01-29 16:32                           ` Gene Heskett
2008-01-29 16:48                             ` Mikael Pettersson
2008-01-29 17:04                               ` Gene Heskett
2008-01-29 17:38                                 ` Daniel Barkalow
2008-01-29 17:44                                   ` Alan Cox
2008-01-29 18:12                                     ` Daniel Barkalow
2008-01-29 17:59                                   ` Gene Heskett
2008-01-29 18:54                                 ` Alan Cox
2008-01-29 22:41                                   ` Gene Heskett
2008-01-29 22:48                                     ` Alan Cox
2008-01-30  0:19                                     ` rgheck
2008-01-30  0:19                                     ` Mark Lord
2008-01-29 17:06                       ` rgheck
2008-01-29 17:12                         ` Alan Cox
2008-01-29 17:24                           ` rgheck
2008-01-29 17:40                             ` Alan Cox
2008-01-29 18:11                         ` Mark Lord
2008-01-29 18:28                           ` rgheck
2008-01-29 18:32                             ` Mark Lord
2008-01-29 18:14                       ` Daniel Barkalow
2008-01-29 18:46                         ` Alan Cox
2008-01-29 19:14                           ` Daniel Barkalow
2008-01-29 19:34                             ` Alan Cox
2008-01-28 16:56           ` Gene Heskett
2008-01-28 18:20             ` Mark Lord
2008-01-28 18:59               ` Gene Heskett
2008-01-28 20:43                 ` Mark Lord
2008-01-29  0:06                   ` Gene Heskett
2008-01-29  3:16                     ` Mark Lord
2008-01-29  4:07                       ` Gene Heskett
2008-01-28 17:06           ` Dave Neuer
2008-01-29  4:23           ` Kasper Sandberg
2008-01-29  4:49             ` Gene Heskett
2008-01-29  5:01               ` Kasper Sandberg
2008-02-02  7:13                 ` Tejun Heo
2008-01-28 14:44       ` Richard Heck
2008-01-28 17:01         ` Gene Heskett
2008-01-28 18:38       ` Mark Lord
2008-01-28 20:01         ` Alan Cox
2008-01-28 20:29           ` Mark Lord
2008-01-28 18:54 ` Mark Lord
2008-01-28 19:01   ` Mark Lord
2008-01-28 19:04   ` Gene Heskett [this message]
2008-01-28 20:22     ` Mark Lord
2008-01-28 20:32       ` Mark Lord
2008-01-29  0:10       ` Gene Heskett
2008-01-28 19:08 ` Jeff Garzik
2008-01-28 19:13   ` Gene Heskett
2008-01-29  6:41     ` Florian Attenberger
2008-01-29 15:04       ` Gene Heskett
2008-01-29 16:12         ` Mark Lord
2008-01-29 16:36           ` Gene Heskett
2008-01-29 18:09             ` Mark Lord
2008-01-29 16:50           ` rgheck
2008-01-29 16:58         ` Jeff Garzik
2008-01-29 17:12           ` Gene Heskett
2008-01-29 17:32             ` Jeff Garzik
2008-01-29 17:53               ` Gene Heskett
     [not found] <fa.YoSRdik0niRWE1jgfb9yTQPim5A@ifi.uio.no>
     [not found] ` <fa.fCSKKy5aVmh9IomaWmc+Y8P16+c@ifi.uio.no>
     [not found]   ` <fa.ebGd1717PgKMzHUmaQOLoLkFdsI@ifi.uio.no>
2008-01-29  0:19     ` Robert Hancock
2008-01-29  0:55       ` Gene Heskett
2008-01-29  1:31         ` Robert Hancock
2008-01-29  1:51           ` Gene Heskett
2008-01-29  2:20             ` Gene Heskett
2008-01-29  3:21               ` Mark Lord
  -- strict thread matches above, loose matches on Subject: below --
2008-01-29 17:42 Adam Turk
2008-01-29 17:55 ` Gene Heskett
2008-01-29 22:57   ` Adam Turk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200801281404.12937.gene.heskett@gmail.com \
    --to=gene.heskett@gmail.com \
    --cc=liml@rtr.ca \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.