From owner-freebsd-mobile Wed Aug 29 23:24: 1 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail.iis.sinica.edu.tw (mail.iis.sinica.edu.tw [140.109.20.50]) by hub.freebsd.org (Postfix) with ESMTP id 46B4737B405 for ; Wed, 29 Aug 2001 23:23:55 -0700 (PDT) (envelope-from jihuang@gate.sinica.edu.tw) Received: from there (cdns15 [140.109.22.15]) by mail.iis.sinica.edu.tw (8.10.2/8.10.2) with SMTP id f7U6LtH28696; Thu, 30 Aug 2001 14:21:55 +0800 (CST) Message-Id: <200108300621.f7U6LtH28696@mail.iis.sinica.edu.tw> Content-Type: text/plain; charset="Big5" From: June-Yen Huang To: freebsd-mobile@freebsd.org Subject: Re: Fwd: Re: Booting hangs with 4.4-RC Date: Thu, 30 Aug 2001 14:21:33 +0800 X-Mailer: KMail [version 1.3] Cc: Warner Losh MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Warner Losh wrote: > In message <200108291016.f7TAGDH13793@mail.iis.sinica.edu.tw> June-Yen > Huang writes: > : < pcic0 irq 0 at device 7.0 on pci1 > > 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); > } > } > Thanks, this patch does fix the problem --- "Booting hangs when mount root filesystem" and result of `pciconf -l` on my machine here: -------------------------------------------------------------------------------------------------------------------- chip0@pci0:0:0: class=0x060000 card=0x14021043 chip=0x11308086 rev=0x11 hdr=0x00 none0@pci0:2:0: class=0x030000 card=0x14021043 chip=0x11328086 rev=0x11 hdr=0x00 pcib1@pci0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x03 hdr=0x01 isab0@pci0:31:0: class=0x060100 card=0x00000000 chip=0x244c8086 rev=0x03 hdr=0x00 atapci0@pci0:31:1: class=0x010180 card=0x14021043 chip=0x244a8086 rev=0x03 hdr=0x00 uhci0@pci0:31:2: class=0x0c0300 card=0x14021043 chip=0x24428086 rev=0x03 hdr=0x00 uhci1@pci0:31:4: class=0x0c0300 card=0x14021043 chip=0x24448086 rev=0x03 hdr=0x00 none1@pci0:31:5: class=0x040100 card=0x14631043 chip=0x24458086 rev=0x03 hdr=0x00 none2@pci0:31:6: class=0x070300 card=0x14661043 chip=0x24468086 rev=0x03 hdr=0x00 pcic-pci0@pci1:7:0: class=0x060700 card=0x14641043 chip=0xac41104c rev=0x02 hdr=0x02 none3@pci1:7:1: class=0x0c0010 card=0x14671043 chip=0x8017104c rev=0x02 hdr=0x00 fxp0@pci1:8:0: class=0x020000 card=0x30138086 chip=0x24498086 rev=0x03 hdr=0x00 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message