From owner-freebsd-stable Fri Nov 17 15:45:40 2000 Delivered-To: freebsd-stable@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id B933837B4C5 for ; Fri, 17 Nov 2000 15:45:30 -0800 (PST) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id QAA18654; Fri, 17 Nov 2000 16:45:13 -0700 (MST) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id QAA22581; Fri, 17 Nov 2000 16:45:12 -0700 (MST) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14869.49927.736257.730814@nomad.yogotech.com> Date: Fri, 17 Nov 2000 16:45:11 -0700 (MST) To: Warner Losh Cc: Steve Price , Mark.Andrews@nominum.com, stable@FreeBSD.ORG Subject: Re: 4.2-BETA hangs on boot In-Reply-To: <200011172237.PAA77876@harmony.village.org> References: <20001117162836.N62344@bonsai.knology.net> <20001116204344.B62344@bonsai.knology.net> <20001116195957.A62344@bonsai.knology.net> <200011170209.eAH297q51130@drugs.dv.isc.org> <200011172203.PAA77619@harmony.village.org> <200011172237.PAA77876@harmony.village.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ PCIC defaults to polling mode ] > There are six million brands of laptop in the world. To be honest, > this thread is basically the first one to say that there's something > wrong. PAO3 has done this for some time, if I understand thigns > correctly, and hasn't reported problems. FWIW, I switched *from* polling mode to IRQ mode in FreeBSD 2.2.X (can't remember) for two reasons: 1) suspend/resume works *much* more reliably. (However, I ended up rewriting the suspend/resume code anyway). 2) Too many folks complained that polling didn't work reliably. However, I believe the second was related to the fact that there were races in the polling code (which came from PAO), such that polling was *always* being done, regardless of whether or not the IRQ was being used. Finally, stating the 'PAO' has done it for some time is not (IMO) a great argument. In the past, PAO has done lots of things incorrectly, and that things worked at all was merely good luck. Polling 'should' work in all cases, although suspend/resume may not work reliably (races and such). If it doesn't work on Steve's laptop, something is messed up with the PCIC probing/setup, since it should work fine. The biggest advantage for supporting 'polling by default' is the fact that IRQ's are a precious commodity on newer hardware, and 'wasting' one just for insertion/removal events seems a waste. (Steve, on a whim, is PnP turned *OFF* in your BIOS?) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message