From owner-freebsd-stable Fri Nov 17 15:55:23 2000 Delivered-To: freebsd-stable@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id B7AFA37B4C5 for ; Fri, 17 Nov 2000 15:55:18 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eAHNtHQ08138; Fri, 17 Nov 2000 16:55:17 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id QAA78649; Fri, 17 Nov 2000 16:55:16 -0700 (MST) Message-Id: <200011172355.QAA78649@harmony.village.org> To: nate@yogotech.com (Nate Williams) Subject: Re: 4.2-BETA hangs on boot Cc: Steve Price , Mark.Andrews@nominum.com, stable@FreeBSD.ORG In-reply-to: Your message of "Fri, 17 Nov 2000 16:45:11 MST." <14869.49927.736257.730814@nomad.yogotech.com> References: <14869.49927.736257.730814@nomad.yogotech.com> <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> Date: Fri, 17 Nov 2000 16:55:16 -0700 From: Warner Losh Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <14869.49927.736257.730814@nomad.yogotech.com> Nate Williams writes: : 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. Most of the races have been mostly fixed. However, polling does open the window. : 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. This was more a "and lots of people have installed PAO3 and it doesn't seem to be a large problem" rather than any other statement. : 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. suspend/resume now detaches the cards on suspend, so polling shouldn't cause any races here. : 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. Agreed. We have to do something for this in NEWCARD or I will go insane. : (Steve, on a whim, is PnP turned *OFF* in your BIOS?) You are the second person to suggest this. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message