Linux ATA/IDE development
 help / color / mirror / Atom feed
From: Eyal Lebedinsky <eyal@eyal.emu.id.au>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: list linux-ide <linux-ide@vger.kernel.org>
Subject: Re: Q: IDE->SATA adaptor
Date: Sat, 26 Nov 2005 23:32:58 +1100	[thread overview]
Message-ID: <438855FA.6050100@eyal.emu.id.au> (raw)
In-Reply-To: <20051126112844.GA10006@midnight.suse.cz>

Vojtech Pavlik wrote:
> On Sat, Nov 26, 2005 at 08:10:58PM +1100, Eyal Lebedinsky wrote:
>
>>I am still looking for a working setup for adding more SATA
>>disks to my machine. I acquired a small PCB that plugs into
>>the IDE socket on the mobo and provides two SATA sockets.
>>
>>It worked out of the box, except that it only does udma2. Not
>>what I want.
>>
>>If I try to set it to a higher mode I get the message
>>	hdc: Speed warnings UDMA 3/4/5 is not functional.
>>
>>After some digging into the ide code I identified the problem
>>as 'id->hw_config' being zero. In two places it is checked
>>before allowing higher udma modes. One bit seems to be related
>>to the 80c (which has no meaning here and should probably
>>be hardwired on the board) and the other I am not sure.
>
>
> What IDE controller are you using?

I do not think that it matters. ide0 sees its disks just
fine. ide1 had no problems in the past. It is only when the
adaptor is plugged in that this problem is seen. Nevertheless,
this is an ICH5:

0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (rev 02)

>>I patched ide-iops.c to not check hw_config in the two funcs
>>where it does so:
>>	eighty_ninty_three
>>	ide_ata66_check
>>
>>
>>BTW my .config says:
>>	CONFIG_BLK_DEV_IDEDMA=y
>>	CONFIG_IDEDMA_IVB=y
>>	CONFIG_IDEDMA_AUTO=y
>>
>>but the IVB is not enough here.
>>
>>
>>Does anyone know what is the correct way to get this adapter going without
>>a patch?
>
> I think specifying "ide0=ata66" on the kernel command line could help.

I added 'ide1=ata66' and it did not help. I also got the messages:

Kernel command line: BOOT_IMAGE=2.6.14.3 ro root=306 console=ttyS0,38400 console=tty0 irqpoll ide1=ata66 single
ide_setup: ide1=ata66 -- OBSOLETE OPTION, WILL BE REMOVED SOON!

-- 
Eyal Lebedinsky (eyal@eyal.emu.id.au) <http://samba.org/eyal/>
	attach .zip as .dat

      reply	other threads:[~2005-11-26 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-26  9:10 Q: IDE->SATA adaptor Eyal Lebedinsky
2005-11-26 11:28 ` Vojtech Pavlik
2005-11-26 12:32   ` Eyal Lebedinsky [this message]

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=438855FA.6050100@eyal.emu.id.au \
    --to=eyal@eyal.emu.id.au \
    --cc=linux-ide@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /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