Re: sys/1386/i386/mptable.c rev 1.239 breaks boot.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 4 Feb 2005 16:24:10 -0500
On Friday 04 February 2005 04:38 am, Ian FREISLICH wrote:
> John Baldwin wrote:
> > On Monday 31 January 2005 07:01 am, Ian FREISLICH wrote:
> > > Hi
> > >
> > > I have a dual pII machine that doesn't boot with 1.239 of
> > > sys/1386/i386/mptable.c.  It boots with this patch backed out.
> > > Does anyone have any ideas beyond backing out this patch?
> > >
> > > revision 1.239
> > > date: 2005/01/18 20:27:24;  author: jhb;  state: Exp;  lines: +7 -1
> > > If a valid ELCR was found, consult it for the trigger mode of ISA
> > > interrupts that have a trigger mode of conforming.  This fixes problems
> > > on some older machines that still route PCI devices via ISA interrupts
> > > when using an I/O APIC.
> > >
> > > This seems to be a case of breaking, rather than fixing older
> > > machines.  It's highly reproduceable.  I mailed the author of this
> > > commit over a week ago, but have not had a response yet :(.  This
> > > is definitely a show-stopper, for me at least.
> >
> > It did fix other boxes. :(  Can you provide a verbose dmesg?
>
> I've included both a working and broken kernel verbose boot.

Ok, short answer is you have a busted MP Table as it is incomplete.  You can 
try disabling USB as a hack for one to test if that fixes your problem.  I 
would be interested in seeing your mptable output.

> pcib0: unable to route slot 7 INTD
> found-> vendor=0x8086, dev=0x7112, revid=0x01
>         bus=0, slot=7, func=2
>         class=0c-03-00, hdrtype=0x00, mfdev=0
>         cmdreg=0x0005, statreg=0x0280, cachelnsz=0 (dwords)
>         lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
>         intpin=d, irq=11
>         map[90]: type 4, range 32, base 00005000, size  4, enabled

This is your USB controller and is what has the problem FWIW.  Note the 
message from pcib0 about being unable to route an interrupt.  Let me know if 
just disabling USB is enough to fix the problem for now.  If it is we can go 
from there.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Fri Feb 04 2005 - 21:12:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:27 UTC