Subject: Re: Patch of latest ACPI CA(20021022) for NetBSD-current
To: Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>
From: MOCHIDUKI Tomomitsu <mochi@thn.ne.jp>
List: port-i386
Date: 11/05/2002 23:58:03
Hello, Kanaoka-san.

At Tue, 05 Nov 2002 21:52:57 +0900 (JST),
Masanori Kanaoka wrote:

> If possible,Would you please try next patch?
> 
> http://www.ann.hi-ho.ne.jp/~kanaoka/acpica-20021002+actypes.diff.gz
> 
>     % /usr/bin/md5 acpica-20021002+actypes.diff.gz 
>     MD5 (acpica-20021002+actypes.diff.gz) = 1af122e80c964efb710f76f776fd8030
> 
> It is based on acpi-unix-20021002.tar.gz. 
> Updating actypes.h and acglobal.h to acpi-unix-20021022 and resolving 
> some namespace conflict.

  I get this patch and building new kernel.
  This patch is "NO Problem".

Best Regards

------
NetBSD 1.6K (HILL2) #0: Tue Nov  5 23:46:01 JST 2002
    mochi@daiki:/local/src/NetBSD/current/ACPI/acpica-test/sys/arch/i386/compile/HILL2
total memory = 383 MB
avail memory = 351 MB
using 4935 buffers containing 19740 KB of memory
BIOS32 rev. 0 found at 0xfd820
PCI BIOS rev. 2.1 found at 0xfd94f
pcibios: config mechanism [1][x], special cycles [x][x], last bus 7
PCI IRQ Routing Table rev. 1.0 found at 0xfdee0, size 208 bytes (11 entries)
PCI Interrupt Router at 000:07:0 (Intel 82371FB PCI-to-ISA Bridge (PIIX))
------------------------------------------
  device vendor product pin PIRQ IRQ stage
------------------------------------------
000:07:2 0x8086 0x7112   D  0x03  11  0    already assigned
000:08:0 0x1180 0x0476   A  0x00  11  0    already assigned
000:08:1 0x1180 0x0476   B  0x01  11  0    already assigned
000:10:0 0x8086 0x1229   A  0x02  11  0    already assigned
000:10:1 0x11c1 0x045c   A  0x02  11  0    already assigned
000:11:0 0x1013 0x6005   A  0x00  11  0    already assigned
001:00:0 0x1002 0x4c4d   A  0x00  11  0    already assigned
------------------------------------------
PCI fixup examining 8086:7190
PCI fixup examining 8086:7191
PCI fixup examining 1002:4c4d
PCI bridge 0: primary 0, secondary 1, subordinate 1
PCI fixup examining 8086:7110
PCI fixup examining 8086:7111
PCI fixup examining 8086:7112
PCI fixup examining 8086:7113
PCI fixup examining 1180:476
PCI bridge 1: primary 0, secondary 2, subordinate 2
PCI fixup examining 1180:476
PCI bridge 2: primary 0, secondary 3, subordinate 3
PCI fixup examining 8086:1229
PCI fixup examining 11c1:45c
PCI fixup examining 1013:6005
PCI bus #3 is the last bus
[System BIOS Setting]-----------------------
  device vendor product
  register space address    size
--------------------------------------------
000:00:0 0x8086 0x7190 
	10h mem  0xf8000000 0x04000000
		[OK]
000:01:0 0x8086 0x7191 
		[OK]
000:07:0 0x8086 0x7110 
		[OK]
000:07:1 0x8086 0x7111 
	20h port 0x00001800 0x00000010
		[OK]
000:07:2 0x8086 0x7112 
	20h port 0x00001820 0x00000020
		[OK]
000:07:3 0x8086 0x7113 
		[OK]
000:08:0 0x1180 0x0476 
	10h mem  0x50000000 0x00001000
		[OK]
000:08:1 0x1180 0x0476 
	10h mem  0x50100000 0x00001000
		[OK]
000:10:0 0x8086 0x1229 
	10h mem  0xf4010000 0x00001000
	14h port 0x00001840 0x00000040
	18h mem  0xf4020000 0x00020000
		[OK]
000:10:1 0x11c1 0x045c 
	10h port 0x00001810 0x00000008
	14h mem  0xf4011000 0x00001000
		[OK]
000:11:0 0x1013 0x6005 
	10h mem  0xf4012000 0x00001000
	14h mem  0xf4000000 0x00010000
		[OK]
001:00:0 0x1002 0x4c4d 
	10h mem  0xf5000000 0x01000000
	14h port 0x00002000 0x00000100
	18h mem  0xf4100000 0x00001000
		[OK]
--------------------------[  0 devices bogus]
 Physical memory end: 0x17fec000
 PCI memory mapped I/O space start: 0x18000000
mainbus0 (root)
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Pentium III (Coppermine) Pentium III (686-class), 697.01 MHz
cpu0: features 387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR>
cpu0: features 387f9ff<PGE,MCA,CMOV,FGPAT,PSE36,PN,MMX>
cpu0: features 387f9ff<FXSR,SSE>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 256 KB 32b/line 8-way
cpu0: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu0: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
cpu0: serial number 0000-0686-0002-6228-7622-05D4
cpu0: 8 page colors
   tbget-0427: *** Error: UtAllocate: Could not allocate size 3E77E465
   tbget-0431: *** Error: Could not allocate table memory for [M^CM-DM-tM^?] length 3E77E435
   tbget-0371: *** Error: Could not copy override ACPI table, AE_NO_MEMORY
   tbget-0427: *** Error: UtAllocate: Could not allocate size 3E77E465
   tbget-0431: *** Error: Could not allocate table memory for [M^CM-DM-tM^?] length 3E77E435
   tbget-0371: *** Error: Could not copy override ACPI table, AE_NO_MEMORY
   tbget-0427: *** Error: UtAllocate: Could not allocate size 3E77E465
   tbget-0431: *** Error: Could not allocate table memory for [M^CM-DM-tM^?] length 3E77E435
   tbget-0371: *** Error: Could not copy override ACPI table, AE_NO_MEMORY
   tbget-0427: *** Error: UtAllocate: Could not allocate size 3E77E465
   tbget-0431: *** Error: Could not allocate table memory for [M^CM-DM-tM^?] length 3E77E435
   tbget-0371: *** Error: Could not copy override ACPI table, AE_NO_MEMORY
 tbxface-0198 [01] AcpiLoadTables        : ACPI Tables successfully acquired
Parsing Methods:........................................................................................................................................................................................................................................................dsobject-0194 [07] DsInitOneObject       : Region 0xc0aaaca8 [_TZ_] - Init failure, AE_BAD_PARAMETER
..................................................................................
Table [DSDT] - 1099 Objects with 50 Devices 330 Methods 20 Regions
ACPI Namespace successfully loaded at root 0xc0419c38
acpi0 at mainbus0
evxfevnt-0173 [02] AcpiEnable            : Transition to ACPI mode successful
acpi0: SCI interrupting at irq 9
acpi0: fixed-feature power button present
acpi_pci_fixup starts:
acpi0: fixing up PCI
acpi0: fixing up PCI
acpi0: fixing up PCI
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C01 at acpi0 not configured
acpilid0 at acpi0: ACPI Lid Switch
acpibut0 at acpi0: ACPI Sleep Button
PNP0A03 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0800 at acpi0 not configured
PNP0C04 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0303 at acpi0 not configured
IBM3780 at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0700 at acpi0 not configured
acpiec0 at acpi0: ACPI Embedded Controller
acpiec0: io 0x62,0x66
acpibat0 at acpi0: ACPI Battery
acpibat0: IBM Corporation  LION ThinkPad Battery 
acpibat0: Design 38.880Wh, Predicted 37.180Wh Warn 0.388Wh Low 0.001Wh
acpibat0: idle: 12.393V cap 35.970Wh (92%) rate 0.000W
acpiacad0 at acpi0: ACPI AC Adapter
acpiacad0: AC adapter connected
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Intel 82443BX Host Bridge/Controller (rev. 0x03)
agp0 at pchb0: aperture at 0xf8000000, size 0x4000000
ppb0 at pci0 dev 1 function 0: Intel 82443BX AGP Interface (rev. 0x03)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga1 at pci1 dev 0 function 0: ATI Technologies Rage Mobility (rev. 0x64)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: Intel 82371AB PCI-to-ISA Bridge (PIIX4) (rev. 0x02)
pciide0 at pci0 dev 7 function 1: Intel 82371AB IDE controller (PIIX4) (rev. 0x01)
pciide0: bus-master DMA support present
pciide0: primary channel wired to compatibility mode
wd0 at pciide0 channel 0 drive 0: <IBM-DJSA-220>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 19077 MB, 16383 cyl, 15 head, 63 sec, 512 bytes/sect x 39070080 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
pciide0: primary channel interrupting at irq 14
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
pciide0: secondary channel wired to compatibility mode
pciide0: disabling secondary channel (no drives)
uhci0 at pci0 dev 7 function 2: Intel 82371AB USB Host Controller (PIIX4) (rev. 0x01)
uhci0: interrupting at irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
Intel 82371AB Power Management Controller (PIIX4) (miscellaneous bridge, revision 0x03) at pci0 dev 7 function 3 not configured
cbb0 at pci0 dev 8 function 0: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
cbb1 at pci0 dev 8 function 1: Ricoh 5C476 PCI-CardBus bridge (rev. 0x80)
fxp0 at pci0 dev 10 function 0: i82550 Ethernet, rev 12
fxp0: interrupting at irq 11
fxp0: Ethernet address 00:03:47:74:44:d0
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
Lucent Technologies product 0x045c (serial communications, revision 0x01) at pci0 dev 10 function 1 not configured
clct0 at pci0 dev 11 function 0: Cirrus Logic CS4281 CrystalClear Audio Interface (rev. 0x01)
clct0: interrupting at irq 11
clct0: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Crystal Semi 3D
audio0 at clct0: full duplex, independent
isa0 at pcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
npx0 at isa0 port 0xf0-0xff: using exception 16
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
isapnp0: no ISA Plug 'n Play devices found
cbb0: interrupting at irq 11
cardslot0 at cbb0 slot 0 flags 0
cardbus0 at cardslot0: bus 2 device 0
pcmcia0 at cardslot0
cbb1: interrupting at irq 11
cardslot1 at cbb1 slot 1 flags 0
cardbus1 at cardslot1: bus 3 device 0
pcmcia1 at cardslot1
biomask edfd netmask edfd ttymask fdff
ACPI: WARNING: Callback scheduled before thread present.
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)