From owner-freebsd-mobile Fri Oct 5 3:40:38 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from odin.unik.no (odin.unik.no [193.156.96.7]) by hub.freebsd.org (Postfix) with ESMTP id 413A437B403 for ; Fri, 5 Oct 2001 03:40:32 -0700 (PDT) Received: from burugle.unik.no ([193.156.96.65]) by odin.unik.no with esmtp (Exim 3.22 #3) id 15pSOH-00004P-00 for freebsd-mobile@freebsd.org; Fri, 05 Oct 2001 12:39:37 +0200 Received: from andreasd by burugle.unik.no with local (Exim 3.31 #1) id 15pSVv-00006T-00 for freebsd-mobile@freebsd.org; Fri, 05 Oct 2001 12:47:31 +0200 To: freebsd-mobile@freebsd.org Subject: Re: Fwd: Re: Booting hangs with 4.4-RC References: <200108291942.f7TJgKn14330@harmony.village.org> From: Andreas Dobloug Date: 05 Oct 2001 12:47:31 +0200 In-Reply-To: Terry Lambert's message of "Fri, 5 Oct 2001 09:54:35 GMT" Message-ID: Lines: 47 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org In message <200108291942.f7TJgKn14330@harmony.village.org> Warner Losh wrote: > What kind of chip do you have? pciconf -l will tell you what the IDs > are. I'd love to know. > > Try this patch against the lastest -stable for the irq 0 problem. > > Warner > Index: pci_cfgreg.c > =================================================================== > RCS file: /home/imp/FreeBSD/CVS/src/sys/i386/isa/Attic/pci_cfgreg.c,v > retrieving revision 1.1.2.5 > diff -u -r1.1.2.5 pci_cfgreg.c > --- pci_cfgreg.c 2001/08/28 22:35:30 1.1.2.5 > +++ pci_cfgreg.c 2001/08/29 19:38:43 > @@ -325,7 +327,8 @@ > } > > /* look for the real PCI device that matches this table entry */ > - if ((irq = pci_cfgintr_search(pe, oe->pe_bus, oe->pe_device, j, pin)) != 255) > + irq = pci_cfgintr_search(pe, oe->pe_bus, oe->pe_device, j, pin); > + if (irq != 0 && irq != 255) > return(irq); > } > } I just upgraded from 4.3-R to 4.4-STABLE on my laptop and discovered the 'booting hangs' problem. I applied this patch to 4.4-STABLE of Fri Oct 5 12:09:02 CEST and it fixed the problem. Thanks! # pciconf -l chip0@pci0:0:0: class=0x060000 card=0x00000000 chip=0x71908086 rev=0x03 hdr=0x00 pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x71918086 rev=0x03 hdr=0x01 none0@pci0:4:0: class=0x040100 card=0x59381102 chip=0x89381102 rev=0x00 hdr=0x00 isab0@pci0:7:0: class=0x060100 card=0x00000000 chip=0x71108086 rev=0x02 hdr=0x00 atapci0@pci0:7:1: class=0x010180 card=0x00000000 chip=0x71118086 rev=0x01 hdr=0x00 none1@pci0:7:2: class=0x0c0300 card=0x00000000 chip=0x71128086 rev=0x01 hdr=0x00 chip1@pci0:7:3: class=0x068000 card=0x00000000 chip=0x71138086 rev=0x02 hdr=0x00 pcic0@pci0:10:0: class=0x060700 card=0x00000000 chip=0x68321217 rev=0x34 hdr=0x02 pcic1@pci0:10:1: class=0x060700 card=0x00000000 chip=0x68321217 rev=0x34 hdr=0x02 none2@pci1:0:0: class=0x030000 card=0xb797156d chip=0x4c4d1002 rev=0x64 hdr=0x00 -- Andreas Dobloug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message