linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Denys Fedoryshchenko" <denys@visp.net.lb>
To: Robert Hancock <hancockr@shaw.ca>
Cc: linux-kernel@vger.kernel.org, ide <linux-ide@vger.kernel.org>,
	Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Subject: Re: SC1200 failure in 2.6.23 and 2.6.24-rc1-git10
Date: Thu, 8 Nov 2007 09:01:38 +0200	[thread overview]
Message-ID: <20071108065119.M10146@visp.net.lb> (raw)
In-Reply-To: <4732693B.1070509@shaw.ca>

You are right, seems no dma lines in adapter. hda=nodma helped, no errors 
anymore. I will try now also libata_dma_mask and will mail result. Btw there 
is no notes in Documentation/kernel-parameters.txt about it.

In any case it is complete board, WRAP.2C made by PCEngines in 2003. Kind of 
popular and mass produced, before was widely used by StarOS, probably known 
GPL violator, who didn't bother himself to supply patches, but at same time 
used it in his projects.

If it is valid for all board with this revision, maybe it is better to put it 
in some kind of fixup/quirk/black list, or how it is called?

On Wed, 07 Nov 2007 19:41:15 -0600, Robert Hancock wrote
> Denys wrote:
> > Finally i got full DMESG with 1GB card till end. Seems not readable too.
> >
> 
> ...
> 
> > ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x2 frozen
> > ata1.00: cmd c8/00:08:00:00:00/00:00:00:00:00/e0 tag 0 cdb 0x0 data 4096 
in
> >          res 40/00:00:00:00:00/00:00:00:00:00/00 Emask 0x4 (timeout)
> > ata1.00: status: { DRDY }
> > ata1: soft resetting link
> > ata1.00: configured for MWDMA1
> > sd 0:0:0:0: [sda] Result: hostbyte=0x00 driverbyte=0x08
> > sd 0:0:0:0: [sda] Sense Key : 0xb [current] [descriptor]
> > Descriptor sense data with sense descriptors (in hex):
> >         72 0b 00 00 00 00 00 0c 00 0a 80 00 00 00 00 00
> >         00 00 00 00
> > sd 0:0:0:0: [sda] ASC=0x0 ASCQ=0x0
> > end_request: I/O error, dev sda, sector 0
> > Buffer I/O error on device sda, logical block 0
> > ata1: EH complete
> 
> I'm guessing that your CF-to-IDE adapter doesn't have the correct 
> lines wired up for DMA to work properly, and the card indicates DMA 
> support, which libata tries to use but which doesn't work. It looks 
> like it never tried falling back to PIO after DMA failed. Seems like 
> a deficiency in the speed-down logic?
> 
> -- 
> Robert Hancock      Saskatoon, SK, Canada
> To email, remove "nospam" from hancockr@nospamshaw.ca
> Home Page: http://www.roberthancock.com/


--
Denys Fedoryshchenko
Technical Manager
Virtual ISP S.A.L.


  reply	other threads:[~2007-11-08  7:01 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <fa.FFqM2AneKZLH2d3/UIeCMjE/RLE@ifi.uio.no>
2007-11-08  1:41 ` SC1200 failure in 2.6.23 and 2.6.24-rc1-git10 Robert Hancock
2007-11-08  7:01   ` Denys Fedoryshchenko [this message]
     [not found] <20071101213013.M54162@visp.net.lb>
2007-11-07  6:15 ` Andrew Morton
2007-11-07 13:27   ` Denys Fedoryshchenko
2007-11-07 15:23     ` James Andrewartha
2007-11-07 16:06       ` Denys Fedoryshchenko
2007-11-07 19:12         ` Mark Lord
2007-11-07 21:22           ` Denys Fedoryshchenko
2007-11-07 22:31             ` Mark Lord
2007-11-07 22:54               ` Alan Cox
2007-11-07 21:36           ` Denys Fedoryshchenko
2007-11-07 23:20           ` Jeff Garzik
2007-11-07 23:24             ` Mark Lord
2007-11-07 23:49             ` Denys Fedoryshchenko
2007-11-08  0:01             ` Denys Fedoryshchenko
2007-11-08  0:30               ` Bartlomiej Zolnierkiewicz
2007-11-08  7:16                 ` Denys Fedoryshchenko
2007-11-08 10:48                   ` Alan Cox
2007-11-08 16:44                     ` Denys Fedoryshchenko
2007-11-08 17:31                       ` Jeff Garzik
2007-11-08 19:56                         ` Denys Fedoryshchenko
2007-11-08 22:40                           ` Alan Cox
2007-11-09  1:44                           ` Tejun Heo

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=20071108065119.M10146@visp.net.lb \
    --to=denys@visp.net.lb \
    --cc=bzolnier@gmail.com \
    --cc=hancockr@shaw.ca \
    --cc=linux-ide@vger.kernel.org \
    --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 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).