From owner-freebsd-current  Wed Jan 26 23:36:16 2000
Delivered-To: freebsd-current@freebsd.org
Received: from freebsd.dk (freebsd.dk [212.242.42.178])
	by hub.freebsd.org (Postfix) with ESMTP id 0FB7C1542B
	for <current@FreeBSD.ORG>; Wed, 26 Jan 2000 23:36:10 -0800 (PST)
	(envelope-from sos@freebsd.dk)
Received: (from sos@localhost)
	by freebsd.dk (8.9.3/8.9.1) id IAA33837;
	Thu, 27 Jan 2000 08:36:06 +0100 (CET)
	(envelope-from sos)
From: Soren Schmidt <sos@freebsd.dk>
Message-Id: <200001270736.IAA33837@freebsd.dk>
Subject: Re: My ATAPI CD not come ready
In-Reply-To: <388F73D0.80AD5C39@freenet.co.uk> from Alex at "Jan 26, 2000 10:23:12 pm"
To: ak@freenet.co.uk (Alex)
Date: Thu, 27 Jan 2000 08:36:06 +0100 (CET)
Cc: current@FreeBSD.ORG
X-Mailer: ELM [version 2.4ME+ PL54 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Sender: owner-freebsd-current@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

It seems Alex wrote:
> 
> OK - here's the part relevant to ata:
> 
> 
> ata-pci0: <Intel PIIX4 ATA-33 controller> port 0xfcf0-0xfcff at device
> 1.1 on pci0
> ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xfcf0
> ata0: mask=03 status0=50 status1=00
> ata0: mask=03 status0=50 status1=00
> ata0: devices = 0x1
> ata0 at 0x01f0 irq 14 on ata-pci0
> ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xfcf8
> ata1: mask=03 status0=00 status1=00
> ata1: mask=03 status0=00 status1=00
> ata1: devices = 0xc

Here it sees two devices, apparently you cdrom is reacting both on
master AND slave addresses :(
 
> ata1-slave: ata_command: timeout waiting for intr
> ata1-slave: identify failed

But when we try to talk to it it fails...

> ata0-master: success setting up UDMA2 mode on PIIX4 chip

But when we try to talk to it it fails...

> Any ideas?

I'll try to come up with a patch that solves this...

-Søren


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