Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Aug 2001 14:21:33 +0800
From:      June-Yen Huang <jihuang@gate.sinica.edu.tw>
To:        freebsd-mobile@freebsd.org
Cc:        Warner Losh <imp@harmony.village.org>
Subject:   Re: Fwd: Re: Booting hangs with 4.4-RC
Message-ID:  <200108300621.f7U6LtH28696@mail.iis.sinica.edu.tw>

next in thread | raw e-mail | index | archive | help
Warner Losh wrote:

> In message <200108291016.f7TAGDH13793@mail.iis.sinica.edu.tw> June-Yen
> Huang writes:
> :  <  pcic0 <YENTA PCI-CARDBUS Bridge> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108300621.f7U6LtH28696>