From owner-freebsd-current Tue Oct 30 19:44:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by hub.freebsd.org (Postfix) with ESMTP id 0309437B405; Tue, 30 Oct 2001 19:44:32 -0800 (PST) Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.11.6/8.11.5) with ESMTP id f9V3fiW68215; Tue, 30 Oct 2001 22:41:49 -0500 (EST) (envelope-from mi@aldan.algebra.com) Message-Id: <200110310341.f9V3fiW68215@aldan.algebra.com> Date: Tue, 30 Oct 2001 22:41:41 -0500 (EST) From: Mikhail Teterin Subject: Re: ouch -- the second controller on Promise-66 is not detected! To: ache@nagual.pp.ru Cc: peter@wemm.org, current@freebsd.org, sos@freebsd.org In-Reply-To: <20011031035226.A42000@nagual.pp.ru> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii 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 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: ATA-5 disk at ata2-master ad6: 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