From owner-freebsd-current@FreeBSD.ORG Sun Mar 21 03:33:40 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A9BA16A4CE for ; Sun, 21 Mar 2004 03:33:40 -0800 (PST) Received: from spider.deepcore.dk (cpe.atm2-0-53484.0x50a6c9a6.abnxx9.customer.tele.dk [80.166.201.166]) by mx1.FreeBSD.org (Postfix) with ESMTP id 137FD43D2F for ; Sun, 21 Mar 2004 03:33:39 -0800 (PST) (envelope-from sos@DeepCore.dk) Received: from DeepCore.dk (sos.deepcore.dk [194.192.25.130]) by spider.deepcore.dk (8.12.11/8.12.10) with ESMTP id i2LBXJWF067646; Sun, 21 Mar 2004 12:33:34 +0100 (CET) (envelope-from sos@DeepCore.dk) Message-ID: <405D7D7F.3090209@DeepCore.dk> Date: Sun, 21 Mar 2004 12:33:19 +0100 From: =?ISO-8859-1?Q?S=F8ren_Schmidt?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040126 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Putinas Piliponis References: <405B9DCD.9040907@6by9.org> <0a0c01c40e90$2d86e070$32cba1cd@science1> <000401c40f33$86ce9210$1e64a8c0@spotripoli.local> In-Reply-To: <000401c40f33$86ce9210$1e64a8c0@spotripoli.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-mail-scanned: by DeepCore Virus & Spam killer v1.4 cc: current@freebsd.org Subject: Re: system lockup - ata spurious interrupts - somehow updated X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Mar 2004 11:33:40 -0000 Putinas Piliponis wrote: > As for me, it looks what ata code is not correctly handling more then one > ata controller. If I set in bios compatible mode, and I have only P-ATA+ > S-ATA, everything works fine, I can boot in verbose mode, no spurious > interrupts at all. If I set in bios as bios default Enchanced mode for > S-ATA > then I still can boot in verbose mode, I see plenty of spurious interrupts > on ata2 and ata3 controllers, but system is still continues booting. If > I set > enchanced > mode for S-ATA + P-ATA I cannot boot either in verbose mode or either in > normal mode. System gets stuck forever ( or at least for long time ) > after I > see: > "Mounting root from ufs:ad8s3a". > and if I boot then in verbose mode, I see nonstopable spurious > interrupts on > ata2, ata3, ata4 and ata5. > > This is also could explain, why 5.2.1 is still stable with 4 ide drives, > and continuesly freezing or panicing with 6 ( or more I guess ) ide drives. > and as well why for some people configuration is working, either they use > 4 drives not on all different channels, but some of them maybe on same > channel ( again my guess ). ATA works just fine with any number of controllers (however your HW may not), my main test box has 16 channels in it and that still works :) Now, the above is more likely an interrupt setup/routing problem of sorts, if you get spurious interrupts *something* is yanking the interrupt line, but ATA knows that it hasn't requested anything and spits out the "spurious" warning. That said, the ICH5 support is written "blindfolded" as I do not have any such HW here in the lab. So if there is a problem with ATA on those, someone with the HW and enough kernel clue should look into it (or someone could land the needed HW in my lab, which could also bring support for the SW RAID on intel's)... -- -Søren