From owner-freebsd-current Thu Jun 21 14:20:41 2001 Delivered-To: freebsd-current@freebsd.org Received: from alpo.whistle.com (s206m1.whistle.com [207.76.206.1]) by hub.freebsd.org (Postfix) with ESMTP id 1CD4F37B401 for ; Thu, 21 Jun 2001 14:20:39 -0700 (PDT) (envelope-from mark@whistle.com) Received: from [207.76.207.129] (PBG4.whistle.com [207.76.207.129]) by alpo.whistle.com (8.9.1a/8.9.1) with ESMTP id OAA89133; Thu, 21 Jun 2001 14:18:35 -0700 (PDT) Mime-Version: 1.0 X-Sender: mark@207.76.206.1 Message-Id: In-Reply-To: <20010618234717K.matusita@jp.FreeBSD.org> References: <20010618141337.L728@tao.org.uk> <20010618141337.L728@tao.org.uk> <20010618091710.A72197@peitho.fxp.org> <20010618234717K.matusita@jp.FreeBSD.org> Date: Thu, 21 Jun 2001 14:18:31 -0700 To: Makoto MATSUSHITA , current@FreeBSD.ORG From: Mark Peek Subject: Re: Problems with ata probing twice. Content-Type: text/plain; charset="us-ascii" ; format="flowed" Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG At 11:47 PM +0900 6/18/01, Makoto MATSUSHITA wrote: >(from dmesg output) >atapci0: port 0xf000-0xf00f at device >7.1 on pci0 >ata0: at 0x1f0 irq 14 on atapci0 >ata1: at 0x170 irq 15 on atapci0 This looks right to me. One main PIIX4 ATA controller with two independent IDE channels (usually referred to as a Primary and a Secondary IDE controller). Usually the PC BIOS will allow you to turn on/off these channels independently. Does your bios allow you to turn off the Secondary? >I've tried to figure out what's going on with atacontrol(8), and got: > >ushi % sudo atacontrol info ata0 >Master slot: ad0: ATA/ATAPI rev 5 >Slave slot: no device present >ushi % sudo atacontrol info ata1 >Master slot: ad0: ATA/ATAPI rev 5 >Slave slot: no device present > >Apparantly, the kernel attaches same bus/HDD _twice_. I don't think the HDD is being detected twice. Try this instead: % sudo atacontrol info 0 % sudo atacontrol info 1 Mark To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message