From uralmetal@gmail.com  Fri Nov 25 18:53:07 2005
Return-Path: <uralmetal@gmail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0611A16A41F
	for <bug-followup@freebsd.org>; Fri, 25 Nov 2005 18:53:07 +0000 (GMT)
	(envelope-from uralmetal@gmail.com)
Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.202])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E9E243D58
	for <bug-followup@freebsd.org>; Fri, 25 Nov 2005 18:53:06 +0000 (GMT)
	(envelope-from uralmetal@gmail.com)
Received: by zproxy.gmail.com with SMTP id z31so542187nzd
        for <bug-followup@freebsd.org>; Fri, 25 Nov 2005 10:53:06 -0800 (PST)
Received: by 10.65.240.5 with SMTP id s5mr8899946qbr;
        Fri, 25 Nov 2005 10:53:05 -0800 (PST)
Received: from test ( [213.140.109.154])
        by mx.gmail.com with ESMTP id a29sm102320qbd.2005.11.25.10.53.02;
        Fri, 25 Nov 2005 10:53:05 -0800 (PST)
Message-Id: <004c01c5f1f1$7b8e41a0$0300a8c0@test>
Date: Fri, 25 Nov 2005 23:53:05 +0500
From: "URAL METAL" <uralmetal@gmail.com>
To: <bug-followup@freebsd.org>
Subject: Compaq DL 360 ACPI boot problem

>Number:         89545
>Category:       i386
>Synopsis:       Compaq DL 360 ACPI will not boot with ACPI enabled
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jhb
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 25 19:00:10 GMT 2005
>Closed-Date:    Tue Jan 10 21:38:48 GMT 2006
>Last-Modified:  Sun Oct 22 20:40:24 GMT 2006
>Originator:     
>Release:        
>Organization:
>Environment:
>Description:
 
 I have same problem like in last message to you with Compaq DL360
 only  my system is 2 processors (1000 X 2). beast 6.0 RC1 was work on
 same server, just two days ago, install beast 6.0 RELEASE, so ... >
 boot was stopped in that point and> only 5sec. pwr button helps ... :-(
 ...
 ...
 ...
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 pci_link0: <ACPI PCI Link FAKE> on acpi0
 pci_link1: <ACPI PCI Link INA0> on acpi0
 ________________ that,s it
 
 Please, can you help me with this problem.
 
 I rebuild kernel, but same thing .. just no results.
 May be, ... I need some special options in kernel for ACPI ?
 
 Sergey
 
 
 
  URAL METAL
 
  uralmetal@gmail.com
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->linimon 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Nov 26 06:09:01 GMT 2005 
Responsible-Changed-Why:  
This is a misfiled followup; take it while I am waiting a response from 
the submitter indicating which PR it is a followup to. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89545 

From: Anders Nordby <anders@FreeBSD.org>
To: bug-followup@FreeBSD.org, uralmetal@gmail.com
Cc: jhb@FreeBSD.org
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Fri, 16 Dec 2005 10:02:07 +0100

 Hi,
 
 I can't find which PR this is supposed to be a follow up to either. But
 I'm having the same problems with my DL 360 server. If I set
 debug.acpi.disabled="pci_link pci", I can boot. But then FreeBSD doesn't
 see the RAID controller. So I have to run with ACPI disabled, but that
 means only using one of the CPUs. :-(
 
 How can I help out? Should I send any logs, dumps or anything?
 
 I'm copying John as he's the one most clued on ACPI I know. ;-)
 
 Cheers,
 
 -- 
 Anders.

From: John Baldwin <jhb@freebsd.org>
To: Anders Nordby <anders@freebsd.org>
Cc: bug-followup@freebsd.org, uralmetal@gmail.com
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Fri, 16 Dec 2005 15:34:38 -0500

 On Friday 16 December 2005 04:02 am, Anders Nordby wrote:
 > Hi,
 >
 > I can't find which PR this is supposed to be a follow up to either. But
 > I'm having the same problems with my DL 360 server. If I set
 > debug.acpi.disabled="pci_link pci", I can boot. But then FreeBSD doesn't
 > see the RAID controller. So I have to run with ACPI disabled, but that
 > means only using one of the CPUs. :-(
 >
 > How can I help out? Should I send any logs, dumps or anything?
 >
 > I'm copying John as he's the one most clued on ACPI I know. ;-)
 
 Actually, what I need is someone to add some printf's to the acpi_pci_link 
 code and figure out where it is hanging if at all possible.  There also 
 aren't any substantive changes (only a printf tweak) in between the start of 
 RELENG_6 and 6.0 in the pci_link code.  I'm curious if the problem persists 
 on today's RELENG_6 since I've MFC'd various fixes since the release.
 
 -- 
 John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org

[Adding to audit trail.  This was originally i386/88523 which the current
PR was a misfiled followup to.  I am trying to merge the two into one --
linimon]

Date: Sat, 5 Nov 2005 14:26:03 GMT
From: Edmund Craske <edmund@m00is.net>

FreeBSD 6.0-RELEASE #0: Sat Nov  5 13:18:15 GMT 2005     m00@pigeon.m00is.net:/usr/obj/usr/src/sys/GENERIC  i386

Upgrading from 5.4-RELEASE to 6.0-RELEASE on a Compaq DL360 (Mk1), system
does not finish booting after the new kernel is installed, unless ACPI is
disabled (which renders the 2nd CPU useless). Output on screen (typed manually):

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-RELEASE #0: Sat Nov  5 13:18:15 GMT 2005
    m00@pigeon.m00is.net:/usr/obj/usr/src/sys/GENERIC
ACPI APIC Table: <COMPAQ 00000083>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (996.85-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073725440 (1023 MB)
avail memory = 1041829888 (993 MB)
ioapic0: Changing APIC ID to 8
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-34 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <COMPAQ MICRO> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link FAKE> on acpi0
pci_link1: <ACPI PCI Link INAO> on acpi0

dmesg output from 5.4-RELEASE:

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.4-RELEASE-p6 #3: Sun Jul 31 02:54:33 BST 2005
    m00@pigeon.m00is.net:/usr/obj/usr/src/sys/SMP
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (996.85-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 1073725440 (1023 MB)
avail memory = 1041170432 (992 MB)
ACPI APIC Table: <COMPAQ 00000083>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  3
 cpu1 (AP): APIC ID:  0
ioapic0: Changing APIC ID to 8
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-34 on motherboard
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <COMPAQ MICRO> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc4000000-0xc4ffffff,0xc5000000-0xc5ffffff irq 19 at device 1.0 on pci0
ida0: drives=1 firm_rev=1.50
idad0: <Compaq Logical Drive> on ida0
idad0: 34727MB (71122560 sectors), blocksize=512
pci0: <display, VGA> at device 3.0 (no driver attached)
pci0: <base peripheral> at device 4.0 (no driver attached)
pcib1: <PCI-PCI bridge> at device 5.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <memory> at device 5.1 (no driver attached)
isab0: <PCI-ISA bridge> at device 15.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x2800-0x280f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pcib2: <ACPI Host-PCI bridge> on acpi0
pci3: <ACPI PCI bus> on pcib2
fxp0: <Intel 82559 Pro/100 Ethernet> port 0x4000-0x403f mem 0xc6e00000-0xc6efffff,0xc6fff000-0xc6ffffff irq 17 at device 4.0 on pci3
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:50:8b:e1:67:c7
fxp1: <Intel 82559 Pro/100 Ethernet> port 0x4040-0x407f mem 0xc6c00000-0xc6cfffff,0xc6dff000-0xc6dfffff irq 24 at device 5.0 on pci3
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:50:8b:e1:67:b2
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
sio0: type 16550A
orm0: <ISA Option ROMs> at iomem 0xee000-0xeffff,0xe8000-0xedfff,0xc8000-0xcbfff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounters tick every 10.000 msec
acd0: CDROM <CD-224E/9.0B> at ata1-master PIO4
SMP: AP CPU #1 Launched!
Mounting root from ufs:/dev/idad0s1a

Occurs on every boot unless ACPI is disabled.

From: Edmund Craske <edmund@m00is.net>
Date: Sat, 05 Nov 2005 16:56:28 +0000

 Of course, I was being stupid and not running an SMP kernel, which is
 why my 2nd CPU was not working when I booted, rather than it being
 because of a lack of ACPI, so I have the machine functioning with
 everything apart from ACPI now. But it is still an ACPI related bug!
 
 Ed
Responsible-Changed-From-To: linimon->freebsd-acpi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Dec 19 02:23:30 UTC 2005 
Responsible-Changed-Why:  
Now that I think I know what's going on with these PRs, merge in all the text 
from i386/88523 and assign to the proper mailing list. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89545 

From: Anders Nordby <anders@FreeBSD.org>
To: John Baldwin <jhb@freebsd.org>
Cc: bug-followup@freebsd.org, uralmetal@gmail.com
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Thu, 29 Dec 2005 22:34:15 +0100

 On Fri, Dec 16, 2005 at 03:34:38PM -0500, John Baldwin wrote:
 > Actually, what I need is someone to add some printf's to the acpi_pci_link 
 > code and figure out where it is hanging if at all possible.  There also 
 > aren't any substantive changes (only a printf tweak) in between the start of 
 > RELENG_6 and 6.0 in the pci_link code.  I'm curious if the problem persists 
 > on today's RELENG_6 since I've MFC'd various fixes since the release.
 
 Using a slightly modified version of John's pci_link_printf.patch (see
 http://people.freebsd.org/~anders/patches/pci_link_printf.patch-anders,
 I had to add dev argument to device_printf and a %d was missing) I get:
 
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 unknown: I/O range not supported
 pci_link0: <ACPI PCI Link FAKE> on acpi0
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 pci_link1: <ACPI PCI Link INA0> on acpi0
 attach started
 
 And there it hangs.
 
 I am using 6.0-RELEASE here. Haven't tested RELENG_6 yet.
 
 Cheers,
 
 -- 
 Anders.

From: Anders Nordby <anders@FreeBSD.org>
To: John Baldwin <jhb@freebsd.org>
Cc: bug-followup@freebsd.org, uralmetal@gmail.com
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Sat, 31 Dec 2005 13:27:28 +0100

 Hi,
 
 On Thu, Dec 29, 2005 at 10:34:15PM +0100, Anders Nordby wrote:
 > (..)
 
 For the record. I just tried using 6.0-STABLE as of december 30. It
 still hangs:
 
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 unknown: I/O range not supported
 
 But now it stops earlier, or at least it doesn't print the pci_link<n>:
 lines.
 
 Applying the printf patch then, I get:
 
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 unknown: I/O range not supported
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 attach started
 
 Phew, luckily acpi is a module, so I only need to recompile it instead
 of the whole kernel. I had ACPI problems with FreeBSD 6 on other Compaq
 servers as well, one DL 580. Once we get this solved for DL 360 I can try
 with the 580 (it is in production, so I can not easily take it down when
 I want -- but it would be nice to use both CPUs on it ;-)).
 
 Cheers,
 
 -- 
 Anders.

From: Anders Nordby <anders@FreeBSD.org>
To: John Baldwin <jhb@freebsd.org>
Cc: freebsd-acpi@freebsd.org, bug-followup@freebsd.org, uralmetal@gmail.com
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Tue, 3 Jan 2006 20:47:01 +0100

 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi,
 
 On Tue, Jan 03, 2006 at 09:24:43AM -0500, John Baldwin wrote:
 > Ok, looks like it is ACPI_SERIAL_BEGIN() it is hanging on.  Also, the reason 
 > you don't see the pritnf's in 6-stable is the devices are now marked quiet so 
 > they don't show up in dmesg by default anymore.  The problem is I must have 
 > forgotten to release the pci_link lock somewhere.  If you had INVARIANTS on 
 > it should have panic'd in sx_xlock.  As it is, I think this patch will fix 
 > the hangs on both 6.x and 7.0:
 > 
 > Index: acpi_pci_link.c
 > ===================================================================
 > RCS file: /usr/cvs/src/sys/dev/acpica/acpi_pci_link.c,v
 > retrieving revision 1.51
 > diff -u -r1.51 acpi_pci_link.c
 > --- acpi_pci_link.c     5 Dec 2005 19:50:00 -0000       1.51
 > +++ acpi_pci_link.c     3 Jan 2006 14:24:23 -0000
 > @@ -449,8 +449,10 @@
 >                 }
 >         }
 >         sc->pl_num_links = creq.count;
 > -       if (creq.count == 0)
 > +       if (creq.count == 0) {
 > +               ACPI_SERIAL_END(pci_link);
 >                 return (0);
 > +       }
 >         sc->pl_links = malloc(sizeof(struct link) * sc->pl_num_links,
 >             M_PCI_LINK, M_WAITOK | M_ZERO);
 
 I applied the patch on the same RELENG_6 installation I upgraded to the
 other day, which also has the printf patch. Using what you suggest above,
 I get further. But now I get a panic. Log attached.
 
 Cheers,
 
 -- 
 Anders.
 
 --oyUTqETQ0mS9luUI
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="anderstest.log"
 
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-STABLE #0: Sat Dec 31 02:04:34 UTC 2005
     root@anderstest:/usr/obj/usr/src/sys/SMP
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1130.46-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 671072256 (639 MB)
 avail memory = 647356416 (617 MB)
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 unknown: I/O range not supported
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 attach started
 pci_link1: calling _CRS
 pci_link1: _CRS returned AE_OK
 pci_link1: num_links = 1
 pci_link1: 1 links initialized after child links
 pci_link1: calling _CRS again
 pci_link1: _CRS returned AE_OK
 pci_link1: calling _PRS again
 pci_link1: _PRS returned AE_OK
 attach started
 pci_link2: calling _CRS
 pci_link2: _CRS returned AE_OK
 pci_link2: num_links = 1
 pci_link2: 1 links initialized after child links
 pci_link2: calling _CRS again
 pci_link2: _CRS returned AE_OK
 pci_link2: calling _PRS again
 pci_link2: _PRS returned AE_OK
 attach started
 pci_link3: calling _CRS
 pci_link3: _CRS returned AE_OK
 pci_link3: num_links = 1
 pci_link3: 1 links initialized after child links
 pci_link3: calling _CRS again
 pci_link3: _CRS returned AE_OK
 pci_link3: calling _PRS again
 pci_link3: _PRS returned AE_OK
 attach started
 pci_link4: calling _CRS
 pci_link4: _CRS returned AE_OK
 pci_link4: num_links = 1
 pci_link4: 1 links initialized after child links
 pci_link4: calling _CRS again
 pci_link4: _CRS returned AE_OK
 pci_link4: calling _PRS again
 pci_link4: _PRS returned AE_OK
 attach started
 pci_link5: calling _CRS
 pci_link5: _CRS returned AE_OK
 pci_link5: num_links = 1
 pci_link5: 1 links initialized after child links
 pci_link5: calling _CRS again
 pci_link5: _CRS returned AE_OK
 pci_link5: calling _PRS again
 pci_link5: _PRS returned AE_OK
 attach started
 pci_link6: calling _CRS
 pci_link6: _CRS returned AE_OK
 pci_link6: num_links = 1
 pci_link6: 1 links initialized after child links
 pci_link6: calling _CRS again
 pci_link6: _CRS returned AE_OK
 pci_link6: calling _PRS again
 pci_link6: _PRS returned AE_OK
 attach started
 pci_link7: calling _CRS
 pci_link7: _CRS returned AE_OK
 pci_link7: num_links = 1
 pci_link7: 1 links initialized after child links
 pci_link7: calling _CRS again
 pci_link7: _CRS returned AE_OK
 pci_link7: calling _PRS again
 pci_link7: _PRS returned AE_OK
 attach started
 pci_link8: calling _CRS
 pci_link8: _CRS returned AE_OK
 pci_link8: num_links = 1
 pci_link8: 1 links initialized after child links
 pci_link8: calling _CRS again
 pci_link8: _CRS returned AE_OK
 pci_link8: calling _PRS again
 pci_link8: _PRS returned AE_OK
 attach started
 pci_link9: calling _CRS
 pci_link9: _CRS returned AE_OK
 pci_link9: num_links = 1
 pci_link9: 1 links initialized after child links
 pci_link9: calling _CRS again
 pci_link9: _CRS returned AE_OK
 pci_link9: calling _PRS again
 pci_link9: _PRS returned AE_OK
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci_link6: BIOS IRQ 3 for 0.1.INTA is invalid
 panic: acpi_pci_link_add_reference: apparently invalid index 0
 cpuid = 0
 Uptime: 1s
 Automatic reboot in 15 seconds - press a key on the console to abort
 Rebooting...
 
 --oyUTqETQ0mS9luUI--

From: Anders Nordby <anders@FreeBSD.org>
To: John Baldwin <jhb@freebsd.org>
Cc: bug-followup@freebsd.org, uralmetal@gmail.com
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Tue, 3 Jan 2006 22:42:01 +0100

 Hi,
 
 On Tue, Jan 03, 2006 at 03:19:37PM -0500, John Baldwin wrote:
 > Your BIOS is busted.  It's trying to route an interrupt via the FAKE link 
 > device that doesn't have any interrupts available.  Can you post your ASL 
 > somewhere?
 
 I just updated to the latest BIOS from HP/Compaq. The latest one is from
 2002 however, this is a bit old (but still very useful) server.
 
 I just booted it with ACPI disabled, and ASL/DSDT using this command:
 
 # acpidump -t -d -o anderstest.dsdt > anderstest.asl
 
 You can download them from
 http://anders.fupp.net/test/anderstest.dsdt and
 http://anders.fupp.net/test/anderstest.asl.
 
 Cheers,
 
 -- 
 Anders.

From: Anders Nordby <anders@FreeBSD.org>
To: John Baldwin <jhb@freebsd.org>
Cc: bug-followup@freebsd.org, uralmetal@gmail.com
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Wed, 4 Jan 2006 17:36:21 +0100

 --ikeVEW9yuYc//A+q
 Content-Type: text/plain; charset=iso-8859-1
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 
 Hi,
 
 On Tue, Jan 03, 2006 at 05:06:26PM -0500, John Baldwin wrote:
 > It does reference 'FAKE' in one of the _PRT entries sadly.  You can try 
 > removing it and compiling a custom dsdt to work around it.  You could also 
 > beat up Compaq for the crap BIOS.  Do these machines have APICs on them?  
 > They'd probably be a lot happier with APIC enabled if so.
 > 
 >                 Package (0x04)
 >                 {
 >                     0x0004FFFF, 
 >                     0x00, 
 >                     FAKE, 
 >                     0x00
 >                 }, 
 
 I removed the section above, but if fails to compile:
 
 root@anderstest:~# iasl anderstest.asl-fixed 
 
 Intel ACPI Component Architecture
 ASL Optimizing Compiler / AML Disassembler version 20041119 [Dec 31
 2005]
 Copyright (C) 2000 - 2004 Intel Corporation
 Supports ACPI Specification Revision 2.0c
 
 Non-ASCII character: 0xD2 at offset 0xBB
 Non-ASCII character: 0xD2 at offset 0x189
 Non-ASCII character: 0xD2 at offset 0x7B3
 3 non-ASCII characters found in input file, appears to be binary
 Error    1082 - Invalid characters found in file anderstest.asl-fixed
 
 In the ASL, there is 0xD2 which is , used for Creator ID in the RSDT,
 FACP and SPCR sections. I changed that to just ASL like it looks like on
 my Dell laptop (Creator ID=ASL). Then I can compile. Booting with the
 custom dsdt, I get a page fault. Log attached.
 
 I will check to see if I can change anything useful in the BIOS
 tomorrow, but I doubt it. :-/
 
 Cheers,
 
 -- 
 Anders.
 
 --ikeVEW9yuYc//A+q
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="anderstest-v2.log"
 
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-STABLE #0: Sat Dec 31 02:04:34 UTC 2005
     root@anderstest:/usr/obj/usr/src/sys/SMP
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1130.46-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 671072256 (639 MB)
 avail memory = 647356416 (617 MB)
     ACPI-0377: *** Info: Table [SSDT] replaced by host OS
 ACPI: overriding DSDT/SSDT with custom table
     ACPI-0377: *** Info: Table [DSDT] replaced by host OS
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 attach started
 pci_link1: calling _CRS
 pci_link1: _CRS returned AE_OK
 pci_link1: num_links = 1
 pci_link1: 1 links initialized after child links
 pci_link1: calling _CRS again
 pci_link1: _CRS returned AE_OK
 pci_link1: calling _PRS again
 pci_link1: _PRS returned AE_OK
 attach started
 pci_link2: calling _CRS
 pci_link2: _CRS returned AE_OK
 pci_link2: num_links = 1
 pci_link2: 1 links initialized after child links
 pci_link2: calling _CRS again
 pci_link2: _CRS returned AE_OK
 pci_link2: calling _PRS again
 pci_link2: _PRS returned AE_OK
 attach started
 pci_link3: calling _CRS
 pci_link3: _CRS returned AE_OK
 pci_link3: num_links = 1
 pci_link3: 1 links initialized after child links
 pci_link3: calling _CRS again
 pci_link3: _CRS returned AE_OK
 pci_link3: calling _PRS again
 pci_link3: _PRS returned AE_OK
 attach started
 pci_link4: calling _CRS
 pci_link4: _CRS returned AE_OK
 pci_link4: num_links = 1
 pci_link4: 1 links initialized after child links
 pci_link4: calling _CRS again
 pci_link4: _CRS returned AE_OK
 pci_link4: calling _PRS again
 pci_link4: _PRS returned AE_OK
 attach started
 pci_link5: calling _CRS
 pci_link5: _CRS returned AE_OK
 pci_link5: num_links = 1
 pci_link5: 1 links initialized after child links
 pci_link5: calling _CRS again
 pci_link5: _CRS returned AE_OK
 pci_link5: calling _PRS again
 pci_link5: _PRS returned AE_OK
 attach started
 pci_link6: calling _CRS
 pci_link6: _CRS returned AE_OK
 pci_link6: num_links = 1
 pci_link6: 1 links initialized after child links
 pci_link6: calling _CRS again
 pci_link6: _CRS returned AE_OK
 pci_link6: calling _PRS again
 pci_link6: _PRS returned AE_OK
 attach started
 pci_link7: calling _CRS
 pci_link7: _CRS returned AE_OK
 pci_link7: num_links = 1
 pci_link7: 1 links initialized after child links
 pci_link7: calling _CRS again
 pci_link7: _CRS returned AE_OK
 pci_link7: calling _PRS again
 pci_link7: _PRS returned AE_OK
 attach started
 pci_link8: calling _CRS
 pci_link8: _CRS returned AE_OK
 pci_link8: num_links = 1
 pci_link8: 1 links initialized after child links
 pci_link8: calling _CRS again
 pci_link8: _CRS returned AE_OK
 pci_link8: calling _PRS again
 pci_link8: _PRS returned AE_OK
 attach started
 pci_link9: calling _CRS
 pci_link9: _CRS returned AE_OK
 pci_link9: num_links = 1
 pci_link9: 1 links initialized after child links
 pci_link9: calling _CRS again
 pci_link9: _CRS returned AE_OK
 pci_link9: calling _PRS again
 pci_link9: _PRS returned AE_OK
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address	= 0x1c
 fault code		= supervisor read, page not present
 instruction pointer	= 0x20:0xc0a6d69d
 stack pointer	        = 0x28:0xc0c20ba8
 frame pointer	        = 0x28:0xc0c20bc0
 code segment		= base 0x0, limit 0xfffff, type 0x1b
 			= DPL 0, pres 1, def32 1, gran 1
 processor eflags	= interrupt enabled, resume, IOPL = 0
 current process		= 0 (swapper)
 trap number		= 12
 panic: page fault
 cpuid = 0
 Uptime: 1s
 Automatic reboot in 15 seconds - press a key on the console to abort
 Rebooting...
 
 --ikeVEW9yuYc//A+q--

From: Anders Nordby <anders@FreeBSD.org>
To: John Baldwin <jhb@freebsd.org>
Cc: bug-followup@freebsd.org
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Thu, 5 Jan 2006 23:18:56 +0100

 On Wed, Jan 04, 2006 at 01:13:27PM -0500, John Baldwin wrote:
 >>  I will check to see if I can change anything useful in the BIOS
 >>  tomorrow, but I doubt it. :-/
 > Hmm, ok.  I'd really need to know what source file:line that page fault maps 
 > to (you can use gdb to find that if you have a kernel.debug).  OTOH, you can 
 > also try this patch which just prints a warning for bogus _PRT entries when 
 > we bump reference counts and only panics if we actually try to route an 
 > interrupt via the busted link device.  You can try this w/o the custom DSDT.
 > 
 > Index: acpi_pci_link.c
 > ===================================================================
 > RCS file: /usr/cvs/src/sys/dev/acpica/acpi_pci_link.c,v
 > retrieving revision 1.51
 > diff -u -r1.51 acpi_pci_link.c
 > --- acpi_pci_link.c     5 Dec 2005 19:50:00 -0000       1.51
 > +++ acpi_pci_link.c     4 Jan 2006 18:07:17 -0000
 > @@ -625,8 +625,11 @@
 >         /* Bump the reference count. */
 >         ACPI_SERIAL_BEGIN(pci_link);
 >         link = acpi_pci_link_lookup(dev, index);
 > -       if (link == NULL)
 > -               panic("%s: apparently invalid index %d", __func__, index);
 > +       if (link == NULL) {
 > +               device_printf(dev, "apparently invalid index %d\n", index);
 > +               ACPI_SERIAL_END(pci_link);
 > +               return;
 > +       }
 >         link->l_references++;
 >         if (link->l_routed)
 >                 pci_link_interrupt_weights[link->l_irq]++;
 > 
 > >  Fatal trap 12: page fault while in kernel mode
 > >  cpuid = 0; apic id = 00
 > >  fault virtual address	= 0x1c
 > >  fault code		= supervisor read, page not present
 > >  instruction pointer	= 0x20:0xc0a6d69d
 > 
 > Do a 'l *0xc0a6d69d' in 'gdb kernel.debug' if you can to see what this 
 > corresponds to.
 
 Still having
 http://people.freebsd.org/~anders/patches/pci_link_printf.patch-anders
 and http://people.freebsd.org/~anders/patches/pci_link_serial-end.patch
 applied, and with the custom DSDT running 6-STABLE as of december 30, I
 rebuilt my kernel with DDB and KDB. I get this trap:
 
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 
 
 Fatal trap 12: page fault while in kernel mode
 cpuid = 0; apic id = 00
 fault virtual address   = 0x1c
 fault code              = supervisor read, page not present
 instruction pointer     = 0x20:0xc0a8073d
 stack pointer           = 0x28:0xc0c20ba8
 frame pointer           = 0x28:0xc0c20bc0
 code segment            = base 0x0, limit 0xfffff, type 0x1b
                         = DPL 0, pres 1, def32 1, gran 1
 processor eflags        = interrupt enabled, resume, IOPL = 0
 current process         = 0 (swapper)
 [thread pid 0 tid 0 ]
 Stopped at      AcpiRsGetPciRoutingTableLength+0x2d:    movl
 0x1c(%eax),%ecx
 
 db> panic
 panic: from debugger
 cpuid = 0
 Uptime: 1s
 Automatic reboot in 15 seconds - press a key on the console to abort
 
 
 Running gdb, I get nothing I'm afraid:
 
 root@anderstest:~# gdb /usr/obj/usr/src/sys/ANDERSTEST/kernel.debug
 GNU gdb 6.1.1 [FreeBSD]
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "i386-marcel-freebsd"...
 (gdb) l *0xc0a8073d
 No source file for address 0xc0a8073d.
 
 Talking to you on chat, you suggested decrementing the outer package
 count outside of the FAKE package. Doing this, and booting with updated
 DSDT, the system boots, but without SMP (only one CPU detected):
 
 KDB: debugger backends: ddb
 KDB: current backend: ddb
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-STABLE #0: Thu Jan  5 20:06:32 UTC 2006
     root@anderstest:/usr/obj/usr/src/sys/ANDERSTEST
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1130.46-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 671072256 (639 MB)
 avail memory = 647356416 (617 MB)
     ACPI-0377: *** Info: Table [SSDT] replaced by host OS
 ACPI: overriding DSDT/SSDT with custom table
     ACPI-0377: *** Info: Table [DSDT] replaced by host OS
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 attach started
 pci_link1: calling _CRS
 pci_link1: _CRS returned AE_OK
 pci_link1: num_links = 1
 pci_link1: 1 links initialized after child links
 pci_link1: calling _CRS again
 pci_link1: _CRS returned AE_OK
 pci_link1: calling _PRS again
 pci_link1: _PRS returned AE_OK
 attach started
 pci_link2: calling _CRS
 pci_link2: _CRS returned AE_OK
 pci_link2: num_links = 1
 pci_link2: 1 links initialized after child links
 pci_link2: calling _CRS again
 pci_link2: _CRS returned AE_OK
 pci_link2: calling _PRS again
 pci_link2: _PRS returned AE_OK
 attach started
 pci_link3: calling _CRS
 pci_link3: _CRS returned AE_OK
 pci_link3: num_links = 1
 pci_link3: 1 links initialized after child links
 pci_link3: calling _CRS again
 pci_link3: _CRS returned AE_OK
 pci_link3: calling _PRS again
 pci_link3: _PRS returned AE_OK
 attach started
 pci_link4: calling _CRS
 pci_link4: _CRS returned AE_OK
 pci_link4: num_links = 1
 pci_link4: 1 links initialized after child links
 pci_link4: calling _CRS again
 pci_link4: _CRS returned AE_OK
 pci_link4: calling _PRS again
 pci_link4: _PRS returned AE_OK
 attach started
 pci_link5: calling _CRS
 pci_link5: _CRS returned AE_OK
 pci_link5: num_links = 1
 pci_link5: 1 links initialized after child links
 pci_link5: calling _CRS again
 pci_link5: _CRS returned AE_OK
 pci_link5: calling _PRS again
 pci_link5: _PRS returned AE_OK
 attach started
 pci_link6: calling _CRS
 pci_link6: _CRS returned AE_OK
 pci_link6: num_links = 1
 pci_link6: 1 links initialized after child links
 pci_link6: calling _CRS again
 pci_link6: _CRS returned AE_OK
 pci_link6: calling _PRS again
 pci_link6: _PRS returned AE_OK
 attach started
 pci_link7: calling _CRS
 pci_link7: _CRS returned AE_OK
 pci_link7: num_links = 1
 pci_link7: 1 links initialized after child links
 pci_link7: calling _CRS again
 pci_link7: _CRS returned AE_OK
 pci_link7: calling _PRS again
 pci_link7: _PRS returned AE_OK
 attach started
 pci_link8: calling _CRS
 pci_link8: _CRS returned AE_OK
 pci_link8: num_links = 1
 pci_link8: 1 links initialized after child links
 pci_link8: calling _CRS again
 pci_link8: _CRS returned AE_OK
 pci_link8: calling _PRS again
 pci_link8: _PRS returned AE_OK
 attach started
 pci_link9: calling _CRS
 pci_link9: _CRS returned AE_OK
 pci_link9: num_links = 1
 pci_link9: 1 links initialized after child links
 pci_link9: calling _CRS again
 pci_link9: _CRS returned AE_OK
 pci_link9: calling _PRS again
 pci_link9: _PRS returned AE_OK
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci_link6: BIOS IRQ 3 for 0.1.INTA is invalid
 pci0: <ACPI PCI bus> on pcib0
 ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc5000000-0xc5ffffff,0xc4000000-0xc4ffffff irq 10 at device 1.0 on pci0
 ida0: [GIANT-LOCKED]
 ida0: drives=1 firm_rev=1.50
 idad0: <Compaq Logical Drive> on ida0
 idad0: 17359MB (35553120 sectors), blocksize=512
 pci0: <display, VGA> at device 3.0 (no driver attached)
 pci0: <base peripheral> at device 4.0 (no driver attached)
 pcib1: <PCI-PCI bridge> at device 5.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 pci0: <memory> at device 5.1 (no driver attached)
 isab0: <PCI-ISA bridge> at device 15.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2800-0x280f at device 15.1 on pci0
 ata0: <ATA channel 0> on atapci0
 ata1: <ATA channel 1> on atapci0
 pcib2: <ACPI Host-PCI bridge> on acpi0
 pci_link7: BIOS IRQ 7 for 3.5.INTA is invalid
 pci3: <ACPI PCI bus> on pcib2
 fxp0: <Intel 82559 Pro/100 Ethernet> port 0x4000-0x403f mem 0xc6fff000-0xc6ffffff,0xc6e00000-0xc6efffff irq 5 at device 4.0 on pci3
 miibus0: <MII bus> on fxp0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:02:a5:e8:41:4d
 fxp1: <Intel 82559 Pro/100 Ethernet> port 0x4040-0x407f mem 0xc6dff000-0xc6dfffff,0xc6c00000-0xc6cfffff irq 9 at device 5.0 on pci3
 miibus1: <MII bus> on fxp1
 inphy1: <i82555 10/100 media interface> on miibus1
 inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp1: Ethernet address: 00:02:a5:e8:41:ca
 acpi_tz0: <Thermal Zone> on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: model IntelliMouse, device ID 3
 fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A, console
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff on isa0
 ppc0: parallel port not found.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timestray irq7
 counter "TSC" frequency 1130457848 Hz quality 800
 Timecounters tick every 1.000 msec
 acd0: CDROM <CD-224E/9.0C> at ata1-master PIO4
 Trying to mount root from ufs:/dev/idad0s1a
 Loading configuration files.
 kernel dumps on /dev/idad0s1b
 Entropy harvesting: interrupts ethernet point_to_point kickstart.
 swapon: adding /dev/idad0s1b as swap device
 Starting file system checks:
 /dev/idad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
 /dev/idad0s1a: clean, 6576911 free (12431 frags, 820560 blocks, 0.2% fragmentation)
 Setting hostname: anderstest.
 fxp0: link state changed to UP
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 	inet6 ::1 prefixlen 128 
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
 	inet 127.0.0.1 netmask 0xff000000 
 fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEXf,MULTICAST> mtu x1500
 	options=8p<VLAN_MTU>
 	ine1t6 fe80::202:a5f:f:fee8:414d%fxp0  prefixlen 64 telntative scopeid i0x1 
 	inet 192.n168.120.37 netmaksk 0xffffff00 br oadcast 192.168.s120.255
 	ether t00:02:a5:e8:41:4ad
 	media: Ethertnet 100baseTX <feull-duplex>
 	st atus: active
 cadd net default:h gateway 192.168a.120.1
 Additionnal routing optiogns:.
 Starting deevd.
 d to DOWN
 hw.acpi.cpu.cx_lowest: C1 -> C1
 Mounting NFS file systems:.
 Creating and/or trimming log files:.
 Starting syslogd.
 Checking for core dump on /dev/idad0s1b...
 savecore: no dumps found
 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
 Starting local daemons:.
 Updating motd.
 Configuring syscons: blanktime.
 Starting sshd.
 Initial i386 initialization:.
 Additional ABI support:.
 Starting cron.
 Local package initialization:.
 Additional TCP options:.
 Starting background file system checks in 60 seconds.
 
 Thu Jan  5 23:12:07 UTC 2006
 
 FreeBSD/i386 (anderstest) (ttyd0)
 
 login: 
 
 Trying your latest patch to acpi_pci_link (http://people.freebsd.org/~anders/patches/pci_link_no-panic-print-bogus-prt-entries.patch),
 and disabling the custom DSDT,
 the system boots. But again without SMP (only one CPU launched):
 
 KDB: debugger backends: ddb
 KDB: current backend: ddb
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 	The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-STABLE #0: Thu Jan  5 20:06:32 UTC 2006
     root@anderstest:/usr/obj/usr/src/sys/ANDERSTEST
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel(R) Pentium(R) III CPU family      1133MHz (1130.46-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x6b1  Stepping = 1
   Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 671072256 (639 MB)
 avail memory = 647356416 (617 MB)
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 attach started
 pci_link1: calling _CRS
 pci_link1: _CRS returned AE_OK
 pci_link1: num_links = 1
 pci_link1: 1 links initialized after child links
 pci_link1: calling _CRS again
 pci_link1: _CRS returned AE_OK
 pci_link1: calling _PRS again
 pci_link1: _PRS returned AE_OK
 attach started
 pci_link2: calling _CRS
 pci_link2: _CRS returned AE_OK
 pci_link2: num_links = 1
 pci_link2: 1 links initialized after child links
 pci_link2: calling _CRS again
 pci_link2: _CRS returned AE_OK
 pci_link2: calling _PRS again
 pci_link2: _PRS returned AE_OK
 attach started
 pci_link3: calling _CRS
 pci_link3: _CRS returned AE_OK
 pci_link3: num_links = 1
 pci_link3: 1 links initialized after child links
 pci_link3: calling _CRS again
 pci_link3: _CRS returned AE_OK
 pci_link3: calling _PRS again
 pci_link3: _PRS returned AE_OK
 attach started
 pci_link4: calling _CRS
 pci_link4: _CRS returned AE_OK
 pci_link4: num_links = 1
 pci_link4: 1 links initialized after child links
 pci_link4: calling _CRS again
 pci_link4: _CRS returned AE_OK
 pci_link4: calling _PRS again
 pci_link4: _PRS returned AE_OK
 attach started
 pci_link5: calling _CRS
 pci_link5: _CRS returned AE_OK
 pci_link5: num_links = 1
 pci_link5: 1 links initialized after child links
 pci_link5: calling _CRS again
 pci_link5: _CRS returned AE_OK
 pci_link5: calling _PRS again
 pci_link5: _PRS returned AE_OK
 attach started
 pci_link6: calling _CRS
 pci_link6: _CRS returned AE_OK
 pci_link6: num_links = 1
 pci_link6: 1 links initialized after child links
 pci_link6: calling _CRS again
 pci_link6: _CRS returned AE_OK
 pci_link6: calling _PRS again
 pci_link6: _PRS returned AE_OK
 attach started
 pci_link7: calling _CRS
 pci_link7: _CRS returned AE_OK
 pci_link7: num_links = 1
 pci_link7: 1 links initialized after child links
 pci_link7: calling _CRS again
 pci_link7: _CRS returned AE_OK
 pci_link7: calling _PRS again
 pci_link7: _PRS returned AE_OK
 attach started
 pci_link8: calling _CRS
 pci_link8: _CRS returned AE_OK
 pci_link8: num_links = 1
 pci_link8: 1 links initialized after child links
 pci_link8: calling _CRS again
 pci_link8: _CRS returned AE_OK
 pci_link8: calling _PRS again
 pci_link8: _PRS returned AE_OK
 attach started
 pci_link9: calling _CRS
 pci_link9: _CRS returned AE_OK
 pci_link9: num_links = 1
 pci_link9: 1 links initialized after child links
 pci_link9: calling _CRS again
 pci_link9: _CRS returned AE_OK
 pci_link9: calling _PRS again
 pci_link9: _PRS returned AE_OK
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci_link6: BIOS IRQ 3 for 0.1.INTA is invalid
 pci_link0: apparently invalid index 0
 pci0: <ACPI PCI bus> on pcib0
 ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc5000000-0xc5ffffff,0xc4000000-0xc4ffffff irq 10 at device 1.0 on pci0
 ida0: [GIANT-LOCKED]
 ida0: drives=1 firm_rev=1.50
 idad0: <Compaq Logical Drive> on ida0
 idad0: 17359MB (35553120 sectors), blocksize=512
 pci0: <display, VGA> at device 3.0 (no driver attached)
 pci0: <base peripheral> at device 4.0 (no driver attached)
 pcib1: <PCI-PCI bridge> at device 5.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 pci0: <memory> at device 5.1 (no driver attached)
 isab0: <PCI-ISA bridge> at device 15.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2800-0x280f at device 15.1 on pci0
 ata0: <ATA channel 0> on atapci0
 ata1: <ATA channel 1> on atapci0
 pcib2: <ACPI Host-PCI bridge> on acpi0
 pci_link7: BIOS IRQ 7 for 3.5.INTA is invalid
 pci3: <ACPI PCI bus> on pcib2
 fxp0: <Intel 82559 Pro/100 Ethernet> port 0x4000-0x403f mem 0xc6fff000-0xc6ffffff,0xc6e00000-0xc6efffff irq 5 at device 4.0 on pci3
 miibus0: <MII bus> on fxp0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:02:a5:e8:41:4d
 fxp1: <Intel 82559 Pro/100 Ethernet> port 0x4040-0x407f mem 0xc6dff000-0xc6dfffff,0xc6c00000-0xc6cfffff irq 9 at device 5.0 on pci3
 miibus1: <MII bus> on fxp1
 inphy1: <i82555 10/100 media interface> on miibus1
 inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp1: Ethernet address: 00:02:a5:e8:41:ca
 acpi_tz0: <Thermal Zone> on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 psm0: <PS/2 Mouse> irq 12 on atkbdc0
 psm0: [GIANT-LOCKED]
 psm0: model IntelliMouse, device ID 3
 fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A, console
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff on isa0
 ppc0: parallel port not found.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x100>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounter "TSC" frequency 1130457669 Hz quality 800
 Timecoustray irq7
 nters tick every 1.000 msec
 acd0: CDROM <CD-224E/9.0C> at ata1-master PIO4
 [-- itannord@localhost attached -- Thu Jan  5 22:55:37 2006]
 [-- itannord@localhost detached -- Thu Jan  5 22:55:46 2006]
 Trying to mount root from ufs:/dev/idad0s1a
 Loading configuration files.
 kernel dumps on /dev/idad0s1b
 Entropy harvesting: interrupts ethernet point_to_point kickstart.
 swapon: adding /dev/idad0s1b as swap device
 Starting file system checks:
 /dev/idad0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS
 /dev/idad0s1a: clean, 6576928 free (12408 frags, 820565 blocks, 0.2% fragmentation)
 Setting hostname: anderstest.
 fxp0: link state changed to UP
 lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 	inet6 ::1 prefixlen 128 
 	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 
 	inet 127.0.0.1 netmask 0xff000000 
 fxp0: flags=8843<UP,BROADCASTf,RUNNING,SIMPLEXx,MULTICAST> mtu p1500
 	options=81<VLAN_MTU>
 	ine:t6 fe80::202:a5f f:fee8:414d%fxp0l prefixlen 64 teintative scopeid n0x1 
 	inet 192.k168.120.37 netma sk 0xffffff00 brsoadcast 192.168.t120.255
 	ether a00:02:a5:e8:41:4td
 	media: Etherenet 100baseTX <f ull-duplex>
 	stcatus: active
 hadd net default:a gateway 192.168n.120.1
 Additiongal routing optioens:.
 Starting ddevd.
  to DOWN
 hw.acpi.cpu.cx_lowest: C1 -> C1
 Mounting NFS file systems:.
 Creating and/or trimming log files:.
 Starting syslogd.
 Checking for core dump on /dev/idad0s1b...
 savecore: no dumps found
 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib
 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
 Starting local daemons:.
 Updating motd.
 Configuring syscons: blanktime.
 Starting sshd.
 Initial i386 initialization:.
 Additional ABI support:.
 Starting cron.
 Local package initialization:.
 Additional TCP options:.
 Starting background file system checks in 60 seconds.
 
 Thu Jan  5 22:55:59 UTC 2006
 
 FreeBSD/i386 (anderstest) (ttyd0)
 
 login: 
 
 How can I get SMP running? This worked in 5.x and 4.x, I believe.
 
 Regards,
 
 -- 
 Anders.
State-Changed-From-To: open->patched 
State-Changed-By: jhb 
State-Changed-When: Fri Jan 6 16:15:09 UTC 2006 
State-Changed-Why:  
Fixes committed to HEAD.  Apparently from other chat with Anders the 
SMP was a red herring as the boxes in question are SMP capable but only 
have one CPU in the box.  Will MFC in a week or so. 


Responsible-Changed-From-To: freebsd-acpi->jhb 
Responsible-Changed-By: jhb 
Responsible-Changed-When: Fri Jan 6 16:15:09 UTC 2006 
Responsible-Changed-Why:  
Fixes committed to HEAD.  Apparently from other chat with Anders the 
SMP was a red herring as the boxes in question are SMP capable but only 
have one CPU in the box.  Will MFC in a week or so. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89545 

From: Niek Dekker <niekdekker@gmail.com>
To: freebsd-acpi@freebsd.org
Cc: John Baldwin <jhb@FreeBSD.org>,  bug-followup@freebsd.org
Subject: Re: i386/89545: Compaq DL 360 ACPI will not boot with ACPI enabled
Date: Sat, 07 Jan 2006 14:55:03 +0100

 This is a multi-part message in MIME format.
 --------------070401030602030508000309
 Content-Type: text/plain; charset=us-ascii; format=flowed
 Content-Transfer-Encoding: 7bit
 
 John,
 
 I've done the following on my Compaq 360DL:
 Upgraded the BIOS to latest version.
 Applied your patches as of
 http://people.freebsd.org/~anders/patches/pci_link_serial-end.patch
 http://people.freebsd.org/~anders/patches/pci_link_printf.patch-anders
 to acpi_pci_link.c and recompiled acpi.ko
 and now my system starts fine with acpi enabled.
 
 Now there is a delay of app. 20 seconds at the point where acd0 (CDrom) 
 is detected, but otherwise no problem has yet occurred.
 
 I also compiled a custom kernel earlier for other reasons, which had no 
 negative or positive effects on the acpi problem.
 
 Many thanks for the patches.
 
 I attach the output of dmesg.boot as wel as sysctl hw.acpi, you may want 
 to have a look at it to see if there is anything unusual.
 
 Thanks,
 Niek
 
 =============
 dmesg.boot:
 
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
     The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-RELEASE #0: Sat Jan  7 12:46:50 CET 2006
     root@server.localnet:/usr/src/sys/i386/compile/DL360DIGITEKST
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: Intel Pentium III (996.85-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
   
 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 671072256 (639 MB)
 avail memory = 651653120 (621 MB)
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: Power Button (fixed)
 pci_link0: <ACPI PCI Link FAKE> on acpi0
 attach started
 pci_link0: calling _CRS
 pci_link0: _CRS returned AE_OK
 pci_link0: num_links = 0
 pci_link1: <ACPI PCI Link INA0> on acpi0
 attach started
 pci_link1: calling _CRS
 pci_link1: _CRS returned AE_OK
 pci_link1: num_links = 1
 pci_link1: 1 links initialized after child links
 pci_link1: calling _CRS again
 pci_link1: _CRS returned AE_OK
 pci_link1: calling _PRS again
 pci_link1: _PRS returned AE_OK
 pci_link2: <ACPI PCI Link INA1> on acpi0
 attach started
 pci_link2: calling _CRS
 pci_link2: _CRS returned AE_OK
 pci_link2: num_links = 1
 pci_link2: 1 links initialized after child links
 pci_link2: calling _CRS again
 pci_link2: _CRS returned AE_OK
 pci_link2: calling _PRS again
 pci_link2: _PRS returned AE_OK
 pci_link3: <ACPI PCI Link ITR0> on acpi0
 attach started
 pci_link3: calling _CRS
 pci_link3: _CRS returned AE_OK
 pci_link3: num_links = 1
 pci_link3: 1 links initialized after child links
 pci_link3: calling _CRS again
 pci_link3: _CRS returned AE_OK
 pci_link3: calling _PRS again
 pci_link3: _PRS returned AE_OK
 pci_link4: <ACPI PCI Link ITR1> on acpi0
 attach started
 pci_link4: calling _CRS
 pci_link4: _CRS returned AE_OK
 pci_link4: num_links = 1
 pci_link4: 1 links initialized after child links
 pci_link4: calling _CRS again
 pci_link4: _CRS returned AE_OK
 pci_link4: calling _PRS again
 pci_link4: _PRS returned AE_OK
 pci_link5: <ACPI PCI Link ITR2> on acpi0
 attach started
 pci_link5: calling _CRS
 pci_link5: _CRS returned AE_OK
 pci_link5: num_links = 1
 pci_link5: 1 links initialized after child links
 pci_link5: calling _CRS again
 pci_link5: _CRS returned AE_OK
 pci_link5: calling _PRS again
 pci_link5: _PRS returned AE_OK
 pci_link6: <ACPI PCI Link ITR3> on acpi0
 attach started
 pci_link6: calling _CRS
 pci_link6: _CRS returned AE_OK
 pci_link6: num_links = 1
 pci_link6: 1 links initialized after child links
 pci_link6: calling _CRS again
 pci_link6: _CRS returned AE_OK
 pci_link6: calling _PRS again
 pci_link6: _PRS returned AE_OK
 pci_link7: <ACPI PCI Link ITR4> on acpi0
 attach started
 pci_link7: calling _CRS
 pci_link7: _CRS returned AE_OK
 pci_link7: num_links = 1
 pci_link7: 1 links initialized after child links
 pci_link7: calling _CRS again
 pci_link7: _CRS returned AE_OK
 pci_link7: calling _PRS again
 pci_link7: _PRS returned AE_OK
 pci_link8: <ACPI PCI Link INB0> on acpi0
 attach started
 pci_link8: calling _CRS
 pci_link8: _CRS returned AE_OK
 pci_link8: num_links = 1
 pci_link8: 1 links initialized after child links
 pci_link8: calling _CRS again
 pci_link8: _CRS returned AE_OK
 pci_link8: calling _PRS again
 pci_link8: _PRS returned AE_OK
 pci_link9: <ACPI PCI Link INB1> on acpi0
 attach started
 pci_link9: calling _CRS
 pci_link9: _CRS returned AE_OK
 pci_link9: num_links = 1
 pci_link9: 1 links initialized after child links
 pci_link9: calling _CRS again
 pci_link9: _CRS returned AE_OK
 pci_link9: calling _PRS again
 pci_link9: _PRS returned AE_OK
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci_link0: apparently invalid index 0
 pci0: <ACPI PCI bus> on pcib0
 ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 
 0xc5000000-0xc5ffffff,0xc4000000-0xc4ffffff irq 5 at device 1.0 on pci0
 ida0: [GIANT-LOCKED]
 ida0: drives=1 firm_rev=1.42
 idad0: <Compaq Logical Drive> on ida0
 idad0: 17359MB (35553120 sectors), blocksize=512
 pci0: <display, VGA> at device 3.0 (no driver attached)
 pci0: <base peripheral> at device 4.0 (no driver attached)
 pcib1: <PCI-PCI bridge> at device 5.0 on pci0
 pci1: <PCI bus> on pcib1
 pci1: <display, VGA> at device 0.0 (no driver attached)
 pci0: <memory> at device 5.1 (no driver attached)
 isab0: <PCI-ISA bridge> at device 15.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <ServerWorks ROSB4 UDMA33 controller> port 
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2800-0x280f at device 15.1 on pci0
 ata0: <ATA channel 0> on atapci0
 ata1: <ATA channel 1> on atapci0
 pcib2: <ACPI Host-PCI bridge> on acpi0
 pci3: <ACPI PCI bus> on pcib2
 fxp0: <Intel 82559 Pro/100 Ethernet> port 0x4000-0x403f mem 
 0xc6fff000-0xc6ffffff,0xc6e00000-0xc6efffff irq 9 at device 4.0 on pci3
 miibus0: <MII bus> on fxp0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: Ethernet address: 00:02:a5:8b:3a:89
 fxp1: <Intel 82559 Pro/100 Ethernet> port 0x4040-0x407f mem 
 0xc6dff000-0xc6dfffff,0xc6c00000-0xc6cfffff irq 10 at device 5.0 on pci3
 miibus1: <MII bus> on fxp1
 inphy1: <i82555 10/100 media interface> on miibus1
 inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp1: Ethernet address: 00:02:a5:8b:3a:88
 acpi_tz0: <Thermal Zone> on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 
 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff on isa0
 ppc0: parallel port not found.
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 Timecounter "TSC" frequency 996847535 Hz quality 800
 Timecounters tick every 1.000 msec
 acd0: CDROM <CD-224E/9.0C> at ata1-master PIO4
 Trying to mount root from ufs:/dev/idad0s1a
 
 =================
 sysctl hw.acpi:
 
 server# sysctl 
 hw.acpi                                                                                                                                     
 ~
 hw.acpi.supported_sleep_state: S4 S5
 hw.acpi.power_button_state: S5
 hw.acpi.sleep_button_state: S4
 hw.acpi.lid_switch_state: NONE
 hw.acpi.standby_state: S1
 hw.acpi.suspend_state: S3
 hw.acpi.sleep_delay: 1
 hw.acpi.s4bios: 0
 hw.acpi.verbose: 0
 hw.acpi.reset_video: 1
 hw.acpi.cpu.cx_supported: C1/0
 hw.acpi.cpu.cx_lowest: C1
 hw.acpi.cpu.cx_usage: 100.00%
 hw.acpi.thermal.min_runtime: 0
 hw.acpi.thermal.polling_rate: 10
 hw.acpi.thermal.tz0.temperature: 8.3C
 hw.acpi.thermal.tz0.active: -1
 hw.acpi.thermal.tz0.thermal_flags: 0
 hw.acpi.thermal.tz0._PSV: 9.8C
 hw.acpi.thermal.tz0._HOT: -1
 hw.acpi.thermal.tz0._CRT: 31.3C
 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
 ============================================================
 
 
 
 
 
 John Baldwin schreef:
 
 >Synopsis: Compaq DL 360 ACPI will not boot with ACPI enabled
 >
 >State-Changed-From-To: open->patched
 >State-Changed-By: jhb
 >State-Changed-When: Fri Jan 6 16:15:09 UTC 2006
 >State-Changed-Why: 
 >Fixes committed to HEAD.  Apparently from other chat with Anders the
 >SMP was a red herring as the boxes in question are SMP capable but only
 >have one CPU in the box.  Will MFC in a week or so.
 >
 >
 >Responsible-Changed-From-To: freebsd-acpi->jhb
 >Responsible-Changed-By: jhb
 >Responsible-Changed-When: Fri Jan 6 16:15:09 UTC 2006
 >Responsible-Changed-Why: 
 >Fixes committed to HEAD.  Apparently from other chat with Anders the
 >SMP was a red herring as the boxes in question are SMP capable but only
 >have one CPU in the box.  Will MFC in a week or so.
 >
 >http://www.freebsd.org/cgi/query-pr.cgi?pr=89545
 >_______________________________________________
 >freebsd-acpi@freebsd.org mailing list
 >http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
 >To unsubscribe, send any mail to "freebsd-acpi-unsubscribe@freebsd.org"
 >
 >  
 >
 
 --------------070401030602030508000309
 Content-Type: text/html; charset=us-ascii
 Content-Transfer-Encoding: 7bit
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
 <head>
   <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
   <title></title>
 </head>
 <body bgcolor="#ffffff" text="#000000">
 <font face="Courier New">John,<br>
 <br>
 I've done the following on my Compaq 360DL:<br>
 Upgraded the BIOS to latest version.<br>
 Applied your patches as of<br>
 <a class="moz-txt-link-freetext" href="http://people.freebsd.org/~anders/patches/pci_link_serial-end.patch">http://people.freebsd.org/~anders/patches/pci_link_serial-end.patch</a><br>
 <a class="moz-txt-link-freetext" href="http://people.freebsd.org/~anders/patches/pci_link_printf.patch-anders">http://people.freebsd.org/~anders/patches/pci_link_printf.patch-anders</a><br>
 to acpi_pci_link.c and recompiled acpi.ko<br>
 and now my system starts fine with acpi enabled.<br>
 <br>
 </font><font face="Courier New">Now there is a delay of app. 20 seconds
 at the point where acd0 (CDrom) is detected, but otherwise no problem
 has yet occurred.</font><br>
 <font face="Courier New"><br>
 I also compiled a custom kernel earlier for other reasons, which had no
 negative or positive effects on the acpi problem.</font><br>
 <font face="Courier New"><br>
 Many thanks for the patches.<br>
 <br>
 I attach the output of dmesg.boot as wel as sysctl hw.acpi, you may
 want to have a look at it to see if there is anything unusual.<br>
 <br>
 Thanks,<br>
 Niek<br>
 <br>
 =============<br>
 dmesg.boot:<br>
 <br>
 Copyright (c) 1992-2005 The FreeBSD Project.<br>
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994<br>
 &nbsp;&nbsp;&nbsp; The Regents of the University of California. All rights reserved.<br>
 FreeBSD 6.0-RELEASE #0: Sat Jan&nbsp; 7 12:46:50 CET 2006<br>
 &nbsp;&nbsp;&nbsp; <a class="moz-txt-link-abbreviated" href="mailto:root@server.localnet:/usr/src/sys/i386/compile/DL360DIGITEKST">root@server.localnet:/usr/src/sys/i386/compile/DL360DIGITEKST</a><br>
 Timecounter "i8254" frequency 1193182 Hz quality 0<br>
 CPU: Intel Pentium III (996.85-MHz 686-class CPU)<br>
 &nbsp; Origin = "GenuineIntel"&nbsp; Id = 0x68a&nbsp; Stepping = 10<br>
 &nbsp;
 Features=0x383f9ff&lt;FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE&gt;<br>
 real memory&nbsp; = 671072256 (639 MB)<br>
 avail memory = 651653120 (621 MB)<br>
 npx0: [FAST]<br>
 npx0: &lt;math processor&gt; on motherboard<br>
 npx0: INT 16 interface<br>
 acpi0: &lt;COMPAQ MICRO&gt; on motherboard<br>
 acpi0: Power Button (fixed)<br>
 pci_link0: &lt;ACPI PCI Link FAKE&gt; on acpi0<br>
 attach started<br>
 pci_link0: calling _CRS<br>
 pci_link0: _CRS returned AE_OK<br>
 pci_link0: num_links = 0<br>
 pci_link1: &lt;ACPI PCI Link INA0&gt; on acpi0<br>
 attach started<br>
 pci_link1: calling _CRS<br>
 pci_link1: _CRS returned AE_OK<br>
 pci_link1: num_links = 1<br>
 pci_link1: 1 links initialized after child links<br>
 pci_link1: calling _CRS again<br>
 pci_link1: _CRS returned AE_OK<br>
 pci_link1: calling _PRS again<br>
 pci_link1: _PRS returned AE_OK<br>
 pci_link2: &lt;ACPI PCI Link INA1&gt; on acpi0<br>
 attach started<br>
 pci_link2: calling _CRS<br>
 pci_link2: _CRS returned AE_OK<br>
 pci_link2: num_links = 1<br>
 pci_link2: 1 links initialized after child links<br>
 pci_link2: calling _CRS again<br>
 pci_link2: _CRS returned AE_OK<br>
 pci_link2: calling _PRS again<br>
 pci_link2: _PRS returned AE_OK<br>
 pci_link3: &lt;ACPI PCI Link ITR0&gt; on acpi0<br>
 attach started<br>
 pci_link3: calling _CRS<br>
 pci_link3: _CRS returned AE_OK<br>
 pci_link3: num_links = 1<br>
 pci_link3: 1 links initialized after child links<br>
 pci_link3: calling _CRS again<br>
 pci_link3: _CRS returned AE_OK<br>
 pci_link3: calling _PRS again<br>
 pci_link3: _PRS returned AE_OK<br>
 pci_link4: &lt;ACPI PCI Link ITR1&gt; on acpi0<br>
 attach started<br>
 pci_link4: calling _CRS<br>
 pci_link4: _CRS returned AE_OK<br>
 pci_link4: num_links = 1<br>
 pci_link4: 1 links initialized after child links<br>
 pci_link4: calling _CRS again<br>
 pci_link4: _CRS returned AE_OK<br>
 pci_link4: calling _PRS again<br>
 pci_link4: _PRS returned AE_OK<br>
 pci_link5: &lt;ACPI PCI Link ITR2&gt; on acpi0<br>
 attach started<br>
 pci_link5: calling _CRS<br>
 pci_link5: _CRS returned AE_OK<br>
 pci_link5: num_links = 1<br>
 pci_link5: 1 links initialized after child links<br>
 pci_link5: calling _CRS again<br>
 pci_link5: _CRS returned AE_OK<br>
 pci_link5: calling _PRS again<br>
 pci_link5: _PRS returned AE_OK<br>
 pci_link6: &lt;ACPI PCI Link ITR3&gt; on acpi0<br>
 attach started<br>
 pci_link6: calling _CRS<br>
 pci_link6: _CRS returned AE_OK<br>
 pci_link6: num_links = 1<br>
 pci_link6: 1 links initialized after child links<br>
 pci_link6: calling _CRS again<br>
 pci_link6: _CRS returned AE_OK<br>
 pci_link6: calling _PRS again<br>
 pci_link6: _PRS returned AE_OK<br>
 pci_link7: &lt;ACPI PCI Link ITR4&gt; on acpi0<br>
 attach started<br>
 pci_link7: calling _CRS<br>
 pci_link7: _CRS returned AE_OK<br>
 pci_link7: num_links = 1<br>
 pci_link7: 1 links initialized after child links<br>
 pci_link7: calling _CRS again<br>
 pci_link7: _CRS returned AE_OK<br>
 pci_link7: calling _PRS again<br>
 pci_link7: _PRS returned AE_OK<br>
 pci_link8: &lt;ACPI PCI Link INB0&gt; on acpi0<br>
 attach started<br>
 pci_link8: calling _CRS<br>
 pci_link8: _CRS returned AE_OK<br>
 pci_link8: num_links = 1<br>
 pci_link8: 1 links initialized after child links<br>
 pci_link8: calling _CRS again<br>
 pci_link8: _CRS returned AE_OK<br>
 pci_link8: calling _PRS again<br>
 pci_link8: _PRS returned AE_OK<br>
 pci_link9: &lt;ACPI PCI Link INB1&gt; on acpi0<br>
 attach started<br>
 pci_link9: calling _CRS<br>
 pci_link9: _CRS returned AE_OK<br>
 pci_link9: num_links = 1<br>
 pci_link9: 1 links initialized after child links<br>
 pci_link9: calling _CRS again<br>
 pci_link9: _CRS returned AE_OK<br>
 pci_link9: calling _PRS again<br>
 pci_link9: _PRS returned AE_OK<br>
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000<br>
 acpi_timer0: &lt;24-bit timer at 3.579545MHz&gt; port 0x240-0x243 on
 acpi0<br>
 cpu0: &lt;ACPI CPU&gt; on acpi0<br>
 pcib0: &lt;ACPI Host-PCI bridge&gt; on acpi0<br>
 pci_link0: apparently invalid index 0<br>
 pci0: &lt;ACPI PCI bus&gt; on pcib0<br>
 ida0: &lt;Compaq Integrated Array controller&gt; port 0x2000-0x20ff mem
 0xc5000000-0xc5ffffff,0xc4000000-0xc4ffffff irq 5 at device 1.0 on pci0<br>
 ida0: [GIANT-LOCKED]<br>
 ida0: drives=1 firm_rev=1.42<br>
 idad0: &lt;Compaq Logical Drive&gt; on ida0<br>
 idad0: 17359MB (35553120 sectors), blocksize=512<br>
 pci0: &lt;display, VGA&gt; at device 3.0 (no driver attached)<br>
 pci0: &lt;base peripheral&gt; at device 4.0 (no driver attached)<br>
 pcib1: &lt;PCI-PCI bridge&gt; at device 5.0 on pci0<br>
 pci1: &lt;PCI bus&gt; on pcib1<br>
 pci1: &lt;display, VGA&gt; at device 0.0 (no driver attached)<br>
 pci0: &lt;memory&gt; at device 5.1 (no driver attached)<br>
 isab0: &lt;PCI-ISA bridge&gt; at device 15.0 on pci0<br>
 isa0: &lt;ISA bus&gt; on isab0<br>
 atapci0: &lt;ServerWorks ROSB4 UDMA33 controller&gt; port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2800-0x280f at device 15.1 on pci0<br>
 ata0: &lt;ATA channel 0&gt; on atapci0<br>
 ata1: &lt;ATA channel 1&gt; on atapci0<br>
 pcib2: &lt;ACPI Host-PCI bridge&gt; on acpi0<br>
 pci3: &lt;ACPI PCI bus&gt; on pcib2<br>
 fxp0: &lt;Intel 82559 Pro/100 Ethernet&gt; port 0x4000-0x403f mem
 0xc6fff000-0xc6ffffff,0xc6e00000-0xc6efffff irq 9 at device 4.0 on pci3<br>
 miibus0: &lt;MII bus&gt; on fxp0<br>
 inphy0: &lt;i82555 10/100 media interface&gt; on miibus0<br>
 inphy0:&nbsp; 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto<br>
 fxp0: Ethernet address: 00:02:a5:8b:3a:89<br>
 fxp1: &lt;Intel 82559 Pro/100 Ethernet&gt; port 0x4040-0x407f mem
 0xc6dff000-0xc6dfffff,0xc6c00000-0xc6cfffff irq 10 at device 5.0 on pci3<br>
 miibus1: &lt;MII bus&gt; on fxp1<br>
 inphy1: &lt;i82555 10/100 media interface&gt; on miibus1<br>
 inphy1:&nbsp; 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto<br>
 fxp1: Ethernet address: 00:02:a5:8b:3a:88<br>
 acpi_tz0: &lt;Thermal Zone&gt; on acpi0<br>
 atkbdc0: &lt;Keyboard controller (i8042)&gt; port 0x60,0x64 irq 1 on
 acpi0<br>
 atkbd0: &lt;AT Keyboard&gt; irq 1 on atkbdc0<br>
 kbd0 at atkbd0<br>
 atkbd0: [GIANT-LOCKED]<br>
 fdc0: &lt;floppy drive controller&gt; port 0x3f2-0x3f5 irq 6 drq 2 on
 acpi0<br>
 fdc0: [FAST]<br>
 fd0: &lt;1440-KB 3.5" drive&gt; on fdc0 drive 0<br>
 sio0: &lt;Standard PC COM port&gt; port 0x3f8-0x3ff irq 4 flags 0x10 on
 acpi0<br>
 sio0: type 16550A<br>
 pmtimer0 on isa0<br>
 orm0: &lt;ISA Option ROMs&gt; at iomem
 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff on isa0<br>
 ppc0: parallel port not found.<br>
 sc0: &lt;System console&gt; at flags 0x100 on isa0<br>
 sc0: VGA &lt;16 virtual consoles, flags=0x300&gt;<br>
 sio1: configured irq 3 not in bitmap of probed irqs 0<br>
 sio1: port may not be enabled<br>
 vga0: &lt;Generic ISA VGA&gt; at port 0x3c0-0x3df iomem 0xa0000-0xbffff
 on isa0<br>
 Timecounter "TSC" frequency 996847535 Hz quality 800<br>
 Timecounters tick every 1.000 msec<br>
 acd0: CDROM &lt;CD-224E/9.0C&gt; at ata1-master PIO4<br>
 Trying to mount root from ufs:/dev/idad0s1a<br>
 <br>
 =================<br>
 sysctl hw.acpi:<br>
 <br>
 server# sysctl
 hw.acpi&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 ~<br>
 hw.acpi.supported_sleep_state: S4 S5<br>
 hw.acpi.power_button_state: S5<br>
 hw.acpi.sleep_button_state: S4<br>
 hw.acpi.lid_switch_state: NONE<br>
 hw.acpi.standby_state: S1<br>
 hw.acpi.suspend_state: S3<br>
 hw.acpi.sleep_delay: 1<br>
 hw.acpi.s4bios: 0<br>
 hw.acpi.verbose: 0<br>
 hw.acpi.reset_video: 1<br>
 hw.acpi.cpu.cx_supported: C1/0<br>
 hw.acpi.cpu.cx_lowest: C1<br>
 hw.acpi.cpu.cx_usage: 100.00%<br>
 hw.acpi.thermal.min_runtime: 0<br>
 hw.acpi.thermal.polling_rate: 10<br>
 hw.acpi.thermal.tz0.temperature: 8.3C<br>
 hw.acpi.thermal.tz0.active: -1<br>
 hw.acpi.thermal.tz0.thermal_flags: 0<br>
 hw.acpi.thermal.tz0._PSV: 9.8C<br>
 hw.acpi.thermal.tz0._HOT: -1<br>
 hw.acpi.thermal.tz0._CRT: 31.3C<br>
 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1<br>
 ============================================================<br>
 <br>
 <br>
 <br>
 <br>
 </font><br>
 John Baldwin schreef:
 <blockquote cite="mid200601061617.k06GHPUe003519@freefall.freebsd.org"
  type="cite">
   <pre wrap="">Synopsis: Compaq DL 360 ACPI will not boot with ACPI enabled
 
 State-Changed-From-To: open-&gt;patched
 State-Changed-By: jhb
 State-Changed-When: Fri Jan 6 16:15:09 UTC 2006
 State-Changed-Why: 
 Fixes committed to HEAD.  Apparently from other chat with Anders the
 SMP was a red herring as the boxes in question are SMP capable but only
 have one CPU in the box.  Will MFC in a week or so.
 
 
 Responsible-Changed-From-To: freebsd-acpi-&gt;jhb
 Responsible-Changed-By: jhb
 Responsible-Changed-When: Fri Jan 6 16:15:09 UTC 2006
 Responsible-Changed-Why: 
 Fixes committed to HEAD.  Apparently from other chat with Anders the
 SMP was a red herring as the boxes in question are SMP capable but only
 have one CPU in the box.  Will MFC in a week or so.
 
 <a class="moz-txt-link-freetext" href="http://www.freebsd.org/cgi/query-pr.cgi?pr=89545">http://www.freebsd.org/cgi/query-pr.cgi?pr=89545</a>
 _______________________________________________
 <a class="moz-txt-link-abbreviated" href="mailto:freebsd-acpi@freebsd.org">freebsd-acpi@freebsd.org</a> mailing list
 <a class="moz-txt-link-freetext" href="http://lists.freebsd.org/mailman/listinfo/freebsd-acpi">http://lists.freebsd.org/mailman/listinfo/freebsd-acpi</a>
 To unsubscribe, send any mail to <a class="moz-txt-link-rfc2396E" href="mailto:freebsd-acpi-unsubscribe@freebsd.org">"freebsd-acpi-unsubscribe@freebsd.org"</a>
 
   </pre>
 </blockquote>
 </body>
 </html>
 
 --------------070401030602030508000309--

From: ravi pina <ravi@cow.org>
To: John Baldwin <jhb@FreeBSD.org>
Cc: freebsd-acpi@freebsd.org, bug-followup@freebsd.org
Subject: Re: i386/89545: Compaq DL 360 ACPI will not boot with ACPI enabled
Date: Sat, 7 Jan 2006 15:27:30 -0500

 --AqsLC8rIMeq19msA
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 i manually applied pci_link_printf.patch-anders to 6.0-STABLE
 and my SMP compiled kernel boots fine.  i thought it is
 noteworthy that the system pauses for >60s at line
 
    ioapic0: routing intpin 24 (PCI IRQ 24) to cluster 0
 
 of the attached boot -v log.  this may be normal behavior, 
 but this is the first successful SMP+ACPI boot in 6.0 for me.
 i have also attached a sysctl output.
 
 thanks,
 
 -r
 
 -- 
 +++ATH
 7MN; {{{
 
 --AqsLC8rIMeq19msA
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="boot.log"
 
 Copyright (c) 1992-2005 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD 6.0-STABLE #0: Sat Jan  7 14:12:22 EST 2006 ravi@happy.cow.org:/usr/obj/usr/src/sys/NEU-COW
 Preloaded elf kernel "/boot/kernel/kernel" at 0xc0aa4000.
 Preloaded elf module "/boot/kernel/acpi.ko" at 0xc0aa4194.
 MP Configuration Table version 1.4 found at 0xc00fbeca
 Table 'FACP' at 0x3fffc040
 Table 'APIC' at 0x3fffc100
 MADT: Found table at 0x3fffc100
 APIC: Using the MADT enumerator.
 MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
 SMP: Added CPU 0 (AP)
 MADT: Found CPU APIC ID 1 ACPI ID 1: disabled
 MADT: Found CPU APIC ID 2 ACPI ID 2: disabled
 MADT: Found CPU APIC ID 3 ACPI ID 3: enabled
 SMP: Added CPU 3 (AP)
 ACPI APIC Table: <COMPAQ 00000083>
 Calibrating clock(s) ... i8254 clock: 1193107 Hz
 CLK_USE_I8254_CALIBRATION not specified - using default frequency
 Timecounter "i8254" frequency 1193182 Hz quality 0
 Calibrating TSC clock ... TSC clock: 996849346 Hz
 CPU: Intel Pentium III (996.85-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 real memory  = 1073725440 (1023 MB)
 Physical memory chunk(s):
 0x0000000000001000 - 0x000000000009efff, 647168 bytes (158 pages)
 0x0000000000100000 - 0x00000000003fffff, 3145728 bytes (768 pages)
 0x0000000000c28000 - 0x000000003edc3fff, 1041874944 bytes (254364 pages)
 avail memory = 1041620992 (993 MB)
 APIC ID: physical 0, logical 0:0
 APIC ID: physical 3, logical 0:1
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  3
 cpu1 (AP): APIC ID:  0
 bios32: Found BIOS32 Service Directory header at 0xc00ffee0
 bios32: Entry = 0xf0000 (c00f0000)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xf0000+0x94
 Other BIOS signatures found:
 APIC: CPU 0 has ACPI ID 3
 APIC: CPU 1 has ACPI ID 0
 MADT: Found IO APIC ID 8, Interrupt 0 at 0xfec00000
 ioapic0: Changing APIC ID to 8
 ioapic0: Routing external 8259A's -> intpin 0
 ioapic0: intpin 0 -> ExtINT (edge, high)
 ioapic0: intpin 1 -> ISA IRQ 1 (edge, high)
 ioapic0: intpin 2 -> ISA IRQ 2 (edge, high)
 ioapic0: intpin 3 -> ISA IRQ 3 (edge, high)
 ioapic0: intpin 4 -> ISA IRQ 4 (edge, high)
 ioapic0: intpin 5 -> ISA IRQ 5 (edge, high)
 ioapic0: intpin 6 -> ISA IRQ 6 (edge, high)
 ioapic0: intpin 7 -> ISA IRQ 7 (edge, high)
 ioapic0: intpin 8 -> ISA IRQ 8 (edge, high)
 ioapic0: intpin 9 -> ISA IRQ 9 (edge, high)
 ioapic0: intpin 10 -> ISA IRQ 10 (edge, high)
 ioapic0: intpin 11 -> ISA IRQ 11 (edge, high)
 ioapic0: intpin 12 -> ISA IRQ 12 (edge, high)
 ioapic0: intpin 13 -> ISA IRQ 13 (edge, high)
 ioapic0: intpin 14 -> ISA IRQ 14 (edge, high)
 ioapic0: intpin 15 -> ISA IRQ 15 (edge, high)
 ioapic0: intpin 16 -> PCI IRQ 16 (level, low)
 ioapic0: intpin 17 -> PCI IRQ 17 (level, low)
 ioapic0: intpin 18 -> PCI IRQ 18 (level, low)
 ioapic0: intpin 19 -> PCI IRQ 19 (level, low)
 ioapic0: intpin 20 -> PCI IRQ 20 (level, low)
 ioapic0: intpin 21 -> PCI IRQ 21 (level, low)
 ioapic0: intpin 22 -> PCI IRQ 22 (level, low)
 ioapic0: intpin 23 -> PCI IRQ 23 (level, low)
 ioapic0: intpin 24 -> PCI IRQ 24 (level, low)
 ioapic0: intpin 25 -> PCI IRQ 25 (level, low)
 ioapic0: intpin 26 -> PCI IRQ 26 (level, low)
 ioapic0: intpin 27 -> PCI IRQ 27 (level, low)
 ioapic0: intpin 28 -> PCI IRQ 28 (level, low)
 ioapic0: intpin 29 -> PCI IRQ 29 (level, low)
 ioapic0: intpin 30 -> PCI IRQ 30 (level, low)
 ioapic0: intpin 31 -> PCI IRQ 31 (level, low)
 ioapic0: intpin 32 -> PCI IRQ 32 (level, low)
 ioapic0: intpin 33 -> PCI IRQ 33 (level, low)
 ioapic0: intpin 34 -> PCI IRQ 34 (level, low)
 lapic: Routing NMI -> LINT1
 MADT: Forcing active-low polarity and level trigger for SCI
 ioapic0: intpin 9 polarity: low
 ioapic0: intpin 9 trigger: level
 ioapic0 <Version 1.1> irqs 0-34 on motherboard
 cpu0 BSP:
 ID: 0x03000000   VER: 0x00040011 LDR: 0x02000000 DFR: 0x0fffffff
 lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
 timer: 0x000100ef therm: 0x00000000 err: 0x000100f0 pcm: 0x00010000
 wlan: <802.11 Link Layer>
 random: <entropy source, Software, Yarrow>
 nfslock: pseudo-device
 io: <I/O>
 mem: <memory>
 Pentium Pro MTRR support enabled
 null: <null device, zero device>
 npx0: [FAST]
 npx0: <math processor> on motherboard
 npx0: INT 16 interface
 acpi0: <COMPAQ MICRO> on motherboard
 acpi0: [MPSAFE]
 acpi0: Power Button (fixed)
 pci_open(1):	mode 1 addr port (0x0cf8) is 0x00000000
 pci_open(1a):	mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:	device 0 [class=060000] [hdr=80] is there (id=00091166)
 pcibios: BIOS version 2.10
 AcpiOsDerivePciId: bus 0 dev 0 func 0
 unknown: I/O range not supported
 AcpiOsDerivePciId: bus 0 dev 0 func 1
 pci_link1: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link1: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link1: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link2: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link2: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link2: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link3: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link3: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link3: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link4: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0    5   N     0  5 10 11 15
 pci_link4: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0    5   N     0  5 10 11 15
 pci_link4: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link5: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link5: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link5: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link6: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0    3   N     0  5 10 11 15
 pci_link6: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link6: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link7: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0    7   N     0  5 10 11 15
 pci_link7: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link7: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link8: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link8: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link8: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link9: Links after initial probe:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link9: Links after initial validation:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 pci_link9: Links after disable:
 Index  IRQ  Rtd  Ref  IRQs
 0  255   N     0  5 10 11 15
 ACPI timer: 0/3 1/1 0/3 0/3 0/3 0/7 0/16777185 1/1 0/16777156 0/15 -> 2
 Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x240-0x243 on acpi0
 cpu0: <ACPI CPU> on acpi0
 cpu1: <ACPI CPU> on acpi0
 pcib0: <ACPI Host-PCI bridge> on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pci0: physical bus=0
 found->	vendor=0x1166, dev=0x0009, revid=0x06
 bus=0, slot=0, func=0
 class=06-00-00, hdrtype=0x00, mfdev=1
 cmdreg=0x0107, statreg=0x0200, cachelnsz=8 (dwords)
 lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1166, dev=0x0009, revid=0x06
 bus=0, slot=0, func=1
 class=06-00-00, hdrtype=0x00, mfdev=1
 cmdreg=0x0107, statreg=0x0200, cachelnsz=8 (dwords)
 lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 found->	vendor=0x1000, dev=0x0010, revid=0x02
 bus=0, slot=1, func=0
 class=01-04-00, hdrtype=0x00, mfdev=0
 cmdreg=0x0157, statreg=0x0210, cachelnsz=8 (dwords)
 lattimer=0xc0 (5760 ns), mingnt=0x1e (7500 ns), maxlat=0x08 (2000 ns)
 intpin=a, irq=3
 powerspec 2  supports D0 D3  current D0
 map[10]: type 4, range 32, base 00002000, size  8, enabled
 map[14]: type 1, range 32, base c5000000, size 24, enabled
 map[18]: type 1, range 32, base c4000000, size 24, enabled
 pcib0: matched entry for 0.1.INTA
 pcib0: slot 1 INTA hardwired to IRQ 19
 found->	vendor=0x1002, dev=0x4756, revid=0x7a
 bus=0, slot=3, func=0
 class=03-00-00, hdrtype=0x00, mfdev=0
 cmdreg=0x0087, statreg=0x0290, cachelnsz=8 (dwords)
 lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x00 (0 ns)
 powerspec 1  supports D0 D3  current D0
 map[10]: type 3, range 32, base c2000000, size 24, enabled
 map[14]: type 4, range 32, base 00002400, size  8, enabled
 map[18]: type 1, range 32, base c3fff000, size 12, enabled
 found->	vendor=0x0e11, dev=0xa0f0, revid=0x00
 bus=0, slot=4, func=0
 class=08-80-00, hdrtype=0x00, mfdev=0
 cmdreg=0x0143, statreg=0x0200, cachelnsz=0 (dwords)
 lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 intpin=a, irq=255
 map[10]: type 4, range 32, base 00001800, size  8, enabled
 map[14]: type 1, range 32, base c3ffef00, size  8, enabled
 found->	vendor=0x1166, dev=0x0200, revid=0x51
 bus=0, slot=15, func=0
 class=06-01-00, hdrtype=0x00, mfdev=1
 cmdreg=0x0007, statreg=0x0200, cachelnsz=0 (dwords)
 lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 map[90]: type 4, range 32, base 00000000, size  4, enabled
 found->	vendor=0x1166, dev=0x0211, revid=0x00
 bus=0, slot=15, func=1
 class=01-01-8a, hdrtype=0x00, mfdev=1
 cmdreg=0x0145, statreg=0x0200, cachelnsz=0 (dwords)
 lattimer=0x40 (1920 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
 map[20]: type 4, range 32, base 00002800, size  4, enabled
 ida0: <Compaq Integrated Array controller> port 0x2000-0x20ff mem 0xc5000000-0xc5ffffff,0xc4000000-0xc4ffffff irq 19 at device 1.0 on pci0
 ida0: Reserved 0x1000000 bytes for rid 0x14 type 3 at 0xc5000000
 ida0: [GIANT-LOCKED]
 ida0: drives=1 firm_rev=1.50
 idad0: <Compaq Logical Drive> on ida0
 idad0: 34727MB (71122560 sectors), blocksize=512
 pci0: <display, VGA> at device 3.0 (no driver attached)
 pci0: <base peripheral> at device 4.0 (no driver attached)
 isab0: <PCI-ISA bridge> at device 15.0 on pci0
 isa0: <ISA bus> on isab0
 atapci0: <ServerWorks ROSB4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2800-0x280f at device 15.1 on pci0
 atapci0: Reserved 0x10 bytes for rid 0x20 type 4 at 0x2800
 ata0: <ATA channel 0> on atapci0
 atapci0: Reserved 0x8 bytes for rid 0x10 type 4 at 0x1f0
 atapci0: Reserved 0x1 bytes for rid 0x14 type 4 at 0x3f6
 ata0: reset tp1 mask=03 ostat0=60 ostat1=70
 ata0: stat0=0x20 err=0x20 lsb=0x20 msb=0x20
 ata0: stat1=0x30 err=0x30 lsb=0x30 msb=0x30
 ata0: reset tp2 stat0=20 stat1=30 devices=0x0
 ata0: [MPSAFE]
 ata1: <ATA channel 1> on atapci0
 atapci0: Reserved 0x8 bytes for rid 0x18 type 4 at 0x170
 atapci0: Reserved 0x1 bytes for rid 0x1c type 4 at 0x376
 ata1: reset tp1 mask=03 ostat0=50 ostat1=01
 ata1: stat0=0x00 err=0x01 lsb=0x14 msb=0xeb
 ata1: stat1=0x01 err=0x04 lsb=0x14 msb=0xeb
 ata1: reset tp2 stat0=00 stat1=01 devices=0x4<ATAPI_MASTER>
 ata1: [MPSAFE]
 pcib1: <ACPI Host-PCI bridge> on acpi0
 pci3: <ACPI PCI bus> on pcib1
 pci3: physical bus=3
 found->	vendor=0x8086, dev=0x1229, revid=0x08
 bus=3, slot=4, func=0
 class=02-00-00, hdrtype=0x00, mfdev=0
 cmdreg=0x0157, statreg=0x0290, cachelnsz=8 (dwords)
 lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
 intpin=a, irq=5
 powerspec 2  supports D0 D1 D2 D3  current D0
 map[10]: type 1, range 32, base c6fff000, size 12, enabled
 map[14]: type 4, range 32, base 00003000, size  6, enabled
 map[18]: type 1, range 32, base c6e00000, size 20, enabled
 pcib1: matched entry for 3.4.INTA
 pcib1: slot 4 INTA hardwired to IRQ 17
 found->	vendor=0x8086, dev=0x1229, revid=0x08
 bus=3, slot=5, func=0
 class=02-00-00, hdrtype=0x00, mfdev=0
 cmdreg=0x0157, statreg=0x0290, cachelnsz=8 (dwords)
 lattimer=0x40 (1920 ns), mingnt=0x08 (2000 ns), maxlat=0x38 (14000 ns)
 intpin=a, irq=7
 powerspec 2  supports D0 D1 D2 D3  current D0
 map[10]: type 1, range 32, base c6dff000, size 12, enabled
 map[14]: type 4, range 32, base 00003040, size  6, enabled
 map[18]: type 1, range 32, base c6c00000, size 20, enabled
 pcib1: matched entry for 3.5.INTA
 pcib1: slot 5 INTA hardwired to IRQ 24
 fxp0: <Intel 82559 Pro/100 Ethernet> port 0x3000-0x303f mem 0xc6fff000-0xc6ffffff,0xc6e00000-0xc6efffff irq 17 at device 4.0 on pci3
 fxp0: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc6fff000
 fxp0: using memory space register mapping
 fxp0: PCI IDs: 8086 1229 0e11 b134 0008
 fxp0: Dynamic Standby mode is disabled
 miibus0: <MII bus> on fxp0
 inphy0: <i82555 10/100 media interface> on miibus0
 inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp0: bpf attached
 fxp0: Ethernet address: 00:02:a5:e8:a9:62
 fxp0: [MPSAFE]
 fxp1: <Intel 82559 Pro/100 Ethernet> port 0x3040-0x307f mem 0xc6dff000-0xc6dfffff,0xc6c00000-0xc6cfffff irq 24 at device 5.0 on pci3
 fxp1: Reserved 0x1000 bytes for rid 0x10 type 3 at 0xc6dff000
 fxp1: using memory space register mapping
 fxp1: PCI IDs: 8086 1229 0e11 b134 0008
 fxp1: Dynamic Standby mode is disabled
 miibus1: <MII bus> on fxp1
 inphy1: <i82555 10/100 media interface> on miibus1
 inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 fxp1: bpf attached
 fxp1: Ethernet address: 00:02:a5:e8:a9:61
 fxp1: [MPSAFE]
 acpi_tz0: <Thermal Zone> on acpi0
 psmcpnp0: <PS/2 mouse port> irq 12 on acpi0
 atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 atkbd: the current kbd controller command byte 0065
 atkbd: keyboard ID 0x41ab (2)
 kbd0 at atkbd0
 kbd0: atkbd0, AT 101/102 (2), config:0x0, flags:0x3d0000
 atkbd0: [GIANT-LOCKED]
 psm0: current command byte:0065
 psm0: failed to reset the aux device.
 fdc0: <floppy drive controller> port 0x3f2-0x3f5 irq 6 drq 2 on acpi0
 fdc0: ic_type 90 part_id 73
 fdc0: [MPSAFE]
 fdc0: [FAST]
 fd0: <1440-KB 3.5" drive> on fdc0 drive 0
 sio0: irq maps: 0x8001 0x8011 0x8001 0x8001
 sio0: <Standard PC COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 sio0: type 16550A
 ex_isa_identify()
 ata: ata0 already exists; skipping it
 ata: ata1 already exists; skipping it
 atkbdc: atkbdc0 already exists; skipping it
 fdc: fdc0 already exists; skipping it
 sio: sio0 already exists; skipping it
 pnp_identify: Trying Read_Port at 203
 pnp_identify: Trying Read_Port at 243
 pnp_identify: Trying Read_Port at 283
 pnp_identify: Trying Read_Port at 2c3
 pnp_identify: Trying Read_Port at 303
 pnp_identify: Trying Read_Port at 343
 pnp_identify: Trying Read_Port at 383
 pnp_identify: Trying Read_Port at 3c3
 PNP Identify complete
 unknown: status reg test failed ff
 unknown: status reg test failed ff
 unknown: Failed Intstat Reg Test
 unknown: status reg test failed ff
 Jan  7 15:01:56 happy last message repeated 2 times
 sc: sc0 already exists; skipping it
 vga: vga0 already exists; skipping it
 isa_probe_children: disabling PnP devices
 isa_probe_children: probing non-PnP devices
 pmtimer0 on isa0
 orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xe8000-0xedfff,0xee000-0xeffff on isa0
 adv0: not probed (disabled)
 aha0: not probed (disabled)
 aic0: not probed (disabled)
 bt0: not probed (disabled)
 cs0: not probed (disabled)
 ed0: not probed (disabled)
 fe0: not probed (disabled)
 ie0: not probed (disabled)
 lnc0: not probed (disabled)
 ppc0: parallel port not found.
 ppc0: <Parallel port> failed to probe at irq 7 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
 sio1: configured irq 3 not in bitmap of probed irqs 0
 sio1: port may not be enabled
 sio1: irq maps: 0x8001 0x8001 0x8001 0x8001
 sio1: probe failed test(s): 0 1 2 4 6 7 9
 sio1 failed to probe at port 0x2f8-0x2ff irq 3 on isa0
 sio2: not probed (disabled)
 sio3: not probed (disabled)
 sn0: not probed (disabled)
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
 vt0: not probed (disabled)
 isa_probe_children: probing PnP devices
 Device configuration finished.
 procfs registered
 lapic: Divisor 2, Frequency 66456460 hz
 Timecounter "TSC" frequency 996849346 Hz quality -100
 Timecounters tick every 1.000 msec
 lo0: bpf attached
 GEOM: new disk idad0
 ata1-master: pio=PIO4 wdma=WDMA2 udma=UNSUPPORTED cable=40 wire
 acd0: setting PIO4 on ServerWorks ROSB4 chip
 acd0: <CD-224E/9.0C> CDROM drive at ata1 as master
 acd0: read 4134KB/s (4134KB/s), 512KB buffer, PIO4
 acd0: Reads: CDR, CDDA stream
 acd0: Writes:
 acd0: Audio: play, 256 volume levels
 acd0: Mechanism: ejectable tray, unlocked
 acd0: Medium: no/blank disc
 ATA PseudoRAID loaded
 SMP: AP CPU #1 Launched!
 cpu1 AP:
 ID: 0x00000000   VER: 0x00040011 LDR: 0x01000000 DFR: 0x0fffffff
 lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
 timer: 0x000200ef therm: 0x00000000 err: 0x00010000 pcm: 0x00010000
 ioapic0: routing intpin 1 (ISA IRQ 1) to cluster 0
 ioapic0: routing intpin 4 (ISA IRQ 4) to cluster 0
 ioapic0: routing intpin 6 (ISA IRQ 6) to cluster 0
 ioapic0: routing intpin 9 (ISA IRQ 9) to cluster 0
 ioapic0: routing intpin 13 (ISA IRQ 13) to cluster 0
 ioapic0: routing intpin 14 (ISA IRQ 14) to cluster 0
 ioapic0: routing intpin 15 (ISA IRQ 15) to cluster 0
 ioapic0: routing intpin 17 (PCI IRQ 17) to cluster 0
 ioapic0: routing intpin 19 (PCI IRQ 19) to cluster 0
 ioapic0: routing intpin 24 (PCI IRQ 24) to cluster 0
 Trying to mount root from ufs:/dev/idad0s1a
 start_init: trying /sbin/init
 Jan  7 15:01:56 happy savecore: no dumps found
 Jan  7 15:01:56 happy named[453]: starting BIND 9.3.1 -u bind -t /var/named
 Jan  7 15:01:56 happy named[453]: command channel listening on 127.0.0.1#953
 Jan  7 15:01:56 happy named[453]: command channel listening on ::1#953
 Jan  7 15:01:56 happy named[453]: zone 0.0.127.IN-ADDR.ARPA/IN: loading master file master/localhost.rev: file not found
 Jan  7 15:01:56 happy named[453]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA/IN: loading master file master/localhost-v6.rev: file not found
 Jan  7 15:01:57 happy named[453]: running
 Accounting enabled
 Linux ELF exec handler installed
 
 
 --AqsLC8rIMeq19msA
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="sysctl.out"
 
 happy# sysctl hw.acpi
 hw.acpi.supported_sleep_state: S4 S5
 hw.acpi.power_button_state: S5
 hw.acpi.sleep_button_state: S4
 hw.acpi.lid_switch_state: NONE
 hw.acpi.standby_state: S1
 hw.acpi.suspend_state: S3
 hw.acpi.sleep_delay: 1
 hw.acpi.s4bios: 0
 hw.acpi.verbose: 1
 hw.acpi.reset_video: 1
 hw.acpi.cpu.cx_supported: C1/0
 hw.acpi.cpu.cx_lowest: C1
 hw.acpi.cpu.cx_usage: 100.00%
 hw.acpi.thermal.min_runtime: 0
 hw.acpi.thermal.polling_rate: 10
 hw.acpi.thermal.tz0.temperature: 8.3C
 hw.acpi.thermal.tz0.active: -1
 hw.acpi.thermal.tz0.passive_cooling: 1
 hw.acpi.thermal.tz0.thermal_flags: 0
 hw.acpi.thermal.tz0._PSV: 9.8C
 hw.acpi.thermal.tz0._HOT: -1
 hw.acpi.thermal.tz0._CRT: 31.3C
 hw.acpi.thermal.tz0._ACx: -1 -1 -1 -1 -1 -1 -1 -1 -1 -1
 
 
 --AqsLC8rIMeq19msA--
State-Changed-From-To: patched->closed 
State-Changed-By: jhb 
State-Changed-When: Tue Jan 10 21:37:40 UTC 2006 
State-Changed-Why:  
Fixes merged to RELENG_6. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=89545 

From: Anders Nordby <anders@FreeBSD.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: i386/89545: Compaq DL 360 ACPI boot problem
Date: Sun, 22 Oct 2006 22:35:54 +0200

 Hi,
 
 Just a small followup to this PR. I could get SMP working on my DL 360
 server by changing OS selection to Linux in the system configuration
 (need to boot off an older SmartStart CD to be able to do this).
 
 I can't access find any way to access advanced settings or any advanced
 mode in the configuration, like I've done on other Proliant servers. But
 the OS profile change in the system configuration, I can see that the
 CPU has the feature APIC:
 
 CPU: Intel Pentium III (797.48-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 
 Before that, I could not:
 
 CPU: Intel Pentium III (797.48-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x683  Stepping = 3
 Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
 
 With the APIC feature being there, two CPUs are detected:
 
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  3
  cpu1 (AP): APIC ID:  0
 
 Cheers,
 
 -- 
 Anders.
>Unformatted:
