i386/89545: Compaq DL 360 ACPI will not boot with ACPI enabled

Niek Dekker niekdekker at gmail.com
Sat Jan 7 05:55:16 PST 2006


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 at 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 at freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-acpi
>To unsubscribe, send any mail to "freebsd-acpi-unsubscribe at freebsd.org"
>
>  
>


More information about the freebsd-acpi mailing list