Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 22:41:41 -0500 (EST)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        ache@nagual.pp.ru
Cc:        peter@wemm.org, current@freebsd.org, sos@freebsd.org
Subject:   Re: ouch -- the second controller on Promise-66 is not detected!
Message-ID:  <200110310341.f9V3fiW68215@aldan.algebra.com>
In-Reply-To: <20011031035226.A42000@nagual.pp.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On 31 Oct, Andrey A. Chernov wrote:
> On Tue, Oct 30, 2001 at 19:37:27 -0500, Mikhail Teterin wrote:
>> Alright, alright, what  do I do now? I did NOT  wire any ata devices,

> Ask Soren to fix ATA driver in the way I describe below:
> 
>> > Giving more details:
>> > ATA code must test wired slot,  and, if it is busy, increase number
>> > to next free slot and give it to bus code afterwards.
> 
>   or 
> 
> Try to wire device in question using your hints to proper place.

Perfect, and how would I do that? You saw the ata-part of my hints file.
How do I modify it?

	hint.ata.0.at="isa"
	hint.ata.0.port="0x1F0"
	hint.ata.0.irq="14"
	hint.ata.1.at="isa"
	hint.ata.1.port="0x170"
	hint.ata.1.irq="15"

From dmesg:

	ata-: ata2 already exists, using ata3 instead	<-- bogus -mi
	ata2: iobase=0x1c30 altiobase=0x1c26 bmaddr=0x1080
	ata2: mask=03 ostat0=50 ostat2=00
	ata2-master: ATAPI probe 00 00
	ata2-slave: ATAPI probe 00 00
	ata2: mask=03 stat0=50 stat1=00
	ata2-master: ATA probe 01 a5
	ata2: devices=01
	ata2: at 0x1c30 on atapci0
	ata3: iobase=0x1c28 altiobase=0x1c22 bmaddr=0x1088
	ata3: mask=03 ostat0=50 ostat2=00
	ata3-master: ATAPI probe 00 00
	ata3-slave: ATAPI probe 00 00
	ata3: mask=03 stat0=50 stat1=00
	ata3-master: ATA probe 01 a5
	ata3: devices=01
	ata3: at 0x1c28 on atapci0
	ad4: <QUANTUM FIREBALLP LM30.0/A35.0700> ATA-5 disk at ata2-master
	ad6: <QUANTUM FIREBALLP LM30.0/A35.0700> ATA-5 disk at ata3-master

it seems, that the ports are should be:

	hint.ata.2.port="0x1c30"
	hint.ata.3.port="0x1c28"
	
What about IRQs? Or should I just remove the hints for ata-[01]?
 
> (Comment about current situation: not detected ATA device in some rare
> cases is lesser evil than kernel  panic, even without any device, with
> pure console)

Well, it always happens to me :) . I don't think it is _so_ rare -- just
add a Promise card (popular hardware) to any computer...

	-mi



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110310341.f9V3fiW68215>