From owner-acpi-jp@jp.FreeBSD.org Tue Mar 25 21:43:51 2003
Received: (from daemon@localhost)
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) id h2PChpb74686;
	Tue, 25 Mar 2003 21:43:51 +0900 (JST)
	(envelope-from owner-acpi-jp@jp.FreeBSD.org)
Received: from dsl093-019-250.msp1.dsl.speakeasy.net (dsl093-019-250.msp1.dsl.speakeasy.net [66.93.19.250])
	by castle.jp.FreeBSD.org (8.11.6+3.4W/8.11.3) with SMTP/inet id h2PChm474291
	for <acpi-jp@jp.FreeBSD.org>; Tue, 25 Mar 2003 21:43:49 +0900 (JST)
	(envelope-from peter@jocose.org)
Received: (qmail 31659 invoked from network); 25 Mar 2003 12:42:25 -0000
Received: from unknown (HELO jocose.org) (10.0.0.198)
  by 0 with SMTP; 25 Mar 2003 12:42:25 -0000
Message-ID: <3E804ECB.1010202@jocose.org>
From: Peter Schultz <peter@jocose.org>
User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3b) Gecko/20030226
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: nate@root.org
CC: acpi-jp@jp.FreeBSD.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Reply-To: acpi-jp@jp.FreeBSD.org
Precedence: list
Date: Tue, 25 Mar 2003 06:42:51 -0600
X-Sequence: acpi-jp 2116
Subject: [acpi-jp 2116] Re: New acpica test dist
Sender: owner-acpi-jp@jp.FreeBSD.org
X-Originator: peter@jocose.org
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+030304

Hello.

 > http://www.root.org/~nate/freebsd/acpi-20030228+fix.diff.gz

I wanted to try your patch out right away to see if my ACPI issues would 
be fixed.  Alas, they were not.  While the machine will run fine with 
ACPI on, `halt -p' doesn't work and there are many error messages at 
boot.  Here is the dmesg output from my Tyan S1832DL:

Copyright (c) 1992-2003 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.0-CURRENT #0: Mon Mar 24 17:34:35 CST 2003
     admin@10.0.0.198:/usr/obj/usr/src/sys/MAXKERNEL
Preloaded elf kernel "/boot/kernel/kernel" at 0xc04cd000.
Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc04cd0a8.
Preloaded elf module "/boot/kernel/snd_emu10k1.ko" at 0xc04cd154.
Preloaded elf module "/boot/kernel/tdfx.ko" at 0xc04cd204.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc04cd2b0.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (350.80-MHz 686-class CPU)
   Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
 
Features=0x183fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 402587648 (383 MB)
avail memory = 385736704 (367 MB)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): apic id:  0, version: 0x00040011, at 0xfee00000
  cpu1 (AP):  apic id:  1, version: 0x00040011, at 0xfee00000
  io0 (APIC): apic id:  2, version: 0x00170011, at 0xfec00000
Allocating major#253 to "net"
Pentium Pro MTRR support enabled
Allocating major#252 to "pci"
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <TYANCP TYANTBLE> on motherboard
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
pcibios: BIOS version 2.10
acpi0: power button is handled as a fixed feature programming model.
Timecounter "ACPI-safe"  frequency 3579545 Hz
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
acpi_cpu0: <CPU> on acpi0
acpi_cpu1: <CPU> on acpi0
acpi_tz0: <thermal zone> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
IOAPIC #0 intpin 19 -> irq 2
IOAPIC #0 intpin 16 -> irq 5
IOAPIC #0 intpin 17 -> irq 9
IOAPIC #0 intpin 18 -> irq 10
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
drm0: <3dfx Voodoo3 3000> port 0xd800-0xd8ff mem 
0xf0000000-0xf1ffffff,0xfc000000-0xfdffffff irq 5 at device 0.0 on pci1
info: [drm] Initialized tdfx 1.0.0 20010216 on minor 0
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xffa0-0xffaf at device 
7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xef80-0xef9f irq 
2 at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Mouse, rev 1.00/1.20, addr 2, iclass 3/1
ums0: 3 buttons
Timecounter "PIIX"  frequency 3579545 Hz
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
fxp0: <Intel 82557/8/9 EtherExpress Pro/100(B) Ethernet> port 
0xef40-0xef5f mem 0xfea00000-0xfeafffff,0xfa5ff000-0xfa5fffff irq 5 at 
device 16.0 on pci0
fxp0: Ethernet address 00:a0:c9:10:bc:94
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xef20-0xef3f irq 9 at device 17.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
ahc0: <Adaptec 2940 Ultra2 SCSI adapter (OEM)> port 0xe800-0xe8ff mem 
0xfebff000-0xfebfffff irq 10 at device 18.0 on pci0
aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/253 SCBs
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-1284: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
     ACPI-0175: *** Error: Method execution failed 
[\\_SB_.PCI0.SBRG.PS2M._STA] (Node 0xc3249ca0), AE_AML_REGION_LIMIT
fdc0: cmd 3 failed at out byte 1 of 3
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <HEWLETT-PACKARD DESKJET 690C> MLC,PCL,PML
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
fdc0: cmd 3 failed at out byte 1 of 3
pmtimer0 on isa0
orm0: <Option ROMs> at iomem 0xcc000-0xd17ff,0xc0000-0xc9fff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
Allocating major#251 to "devstat"
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
acpi_cpu: throttling enabled, 8 steps (100% to 12.5%), currently 100.0%
ad0: 8063MB <IBM-DTTA-350840> [16383/16/63] at ata0-master UDMA33
acd0: CDROM <CD-ROM CDU701> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
SMP: AP CPU #1 Launched!
cd0 at ahc0 bus 0 target 4 lun 0
cd0: <PLEXTOR CD-R   PX-W4220T 1.04> Removable CD-ROM SCSI-2 device
cd0: 10.000MB/s transfers (10.000MHz, offset 8)
cd0: Attempt to query device size failed: NOT READY, Medium not present 
- tray closed
da0 at ahc0 bus 0 target 0 lun 0
da0: <SEAGATE ST39102LW 0004> Fixed Direct Access SCSI-2 device
da0: 40.000MB/s transfers (20.000MHz, offset 15, 16bit), Tagged Queueing 
Enabled
da0: 8683MB (17783240 512 byte sectors: 255H 63S/T 1106C)
Mounting root from ufs:/dev/da0s1a
ipfw2 initialized, divert disabled, rule-based forwarding enabled, 
default to deny, logging disabled

The good news is FreeBSD is doing better than Linux, my nic doesn't even 
work when I enable ACPI under that OS.  :-)

Thanks,
Pete...

