Skip site navigation (1)Skip section navigation (2)
Date:      05 Oct 2001 12:47:31 +0200
From:      Andreas Dobloug <andreasd@unik.no>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Fwd: Re: Booting hangs with 4.4-RC
Message-ID:  <yzpadz61hz0.fsf_-_@burugle.unik.no>
In-Reply-To: Terry Lambert's message of "Fri, 5 Oct 2001 09:54:35 GMT"
References:  <200108291942.f7TJgKn14330@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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