From owner-freebsd-stable Fri Nov 17 16: 7:19 2000 Delivered-To: freebsd-stable@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 22F0237B4C5 for ; Fri, 17 Nov 2000 16:07:13 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id eAI06wB09150; Fri, 17 Nov 2000 16:06:58 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200011180001.eAI01hG22641@drugs.dv.isc.org> Date: Fri, 17 Nov 2000 16:07:40 -0800 (PST) From: John Baldwin To: Mark.Andrews@nominum.com Subject: Re: 4.2-BETA hangs on boot Cc: stable@FreeBSD.org, Panagiotis Astithas , Steve Price , Blaz Zupan Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 18-Nov-00 Mark.Andrews@nominum.com wrote: > >> >> On 17-Nov-00 Blaz Zupan wrote: >> > On Fri, 17 Nov 2000, John Baldwin wrote: >> >> > Ok, then it is the same as leaving the "irq" part out alltogether. >> >> >> >> Not entirely. IRQ 0 is actually the clock. I think it is there to allow >> >> you >> >> to edit the IRQ during the kernel config to set it to IRQ 10 if you need >> >> t >> o. >> > >> > Ok, so could this be the problem? I've been removing the "irq" part on the >> > pccard line on all our boxes (and we have about 100 installations) and >> > neve >> r >> > had a problem with it. I've never tried setting it to "irq 0". >> >> Removing it should be fine. I think it is more of a hack to allow an irq >> setting to be there for the kernel config to pick up on and let the user >> edit >> . >> :) > > Which is all great and good except that it is not mentioned > in UPDATING and the release notes lie (irq 0 != poll mode). Uh.. No. *sigh* The code checks to see if the specified irq passed in is 0 (since 0 can never be a valid irq, it is used as a magic cookie) and the device goes into polling mode if it is. So both no irq and an irq of 0 provide polling mode. Does that make sense? -- John Baldwin -- http://www.FreeBSD.org/~jhb/ PGP Key: http://www.baldwin.cx/~john/pgpkey.asc "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message