Subject: ACPI fdc
To: None <current-users@netbsd.org>
From: John Franklin <franklin@elfie.org>
List: current-users
Date: 01/05/2003 23:06:59
The ACPI stuff is looking good so far.  Of the currently supported
devices, the only one I can't get to initialize is the fdc which
complains "Error: Method execution failed" (see dmesg below for more
details.)

Oh, and shouldn't the mouse attach at pckbc0 (aux port) instead of the
aux slot of pckbc1?  Everything works, but that particular dmesg section
reads weird.

How hard would it be to get the USB controller to attach via ACPI?  I've
never been able to get the USB on this to work in MP mode except under
Win2K.  Others on this list have speculated that Windows may be
configuring it via ACPI.  I'd like to test this theory.

Thanks for making this work.

dmesg follows:

NetBSD 1.6L (DM.ACPI) #5: Sun Jan  5 13:15:33 EST 2003
    franklin@deathmitten:/usr/src2/sys/arch/i386/compile/DM.ACPI
total memory = 447 MB
avail memory = 323 MB
using 6144 buffers containing 111 MB of memory
BIOS32 rev. 0 found at 0xfb290
mainbus0 (root)
mainbus0: Intel MP Specification (Version 1.1) (OEM00000 PROD00000000)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium II (Klamath) (686-class), 267.30 MHz, id 0x633
cpu0: features 80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features 80fbff<PGE,MCA,CMOV,MMX>
cpu0: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu0: L2 cache 512 KB 32b/line 4-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: calibrating local timer
cpu0: apic clock running at 66 MHz
cpu0: 32 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: Intel Pentium II (Klamath) (686-class), 267.28 MHz, id 0x634
cpu1: features 80fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features 80fbff<PGE,MCA,CMOV,MMX>
cpu1: I-cache 16 KB 32b/line 4-way, D-cache 16 KB 32b/line 4-way
cpu1: L2 cache 512 KB 32b/line 4-way
cpu1: ITLB 32 4 KB entries 4-way, 2 4 MB entries fully associative
cpu1: DTLB 64 4 KB entries 4-way, 8 4 MB entries 4-way
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type ISA   
ioapic0 at mainbus0 apid 2 (I/O APIC)
ioapic0: pa 0xfec00000, version 11, 24 pins
...........................................................................acpi0
 at mainbus0
    ACPI-0369: *** Info: GPE Block0 defined as GPE0 to GPE15
acpi0: SCI interrupting at irq 9
acpi0: fixed-feature power button present
ACPI Object Type 0x0c at acpi0 not configured
ACPI Object Type 0x0c at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
PNP0C01 at acpi0 not configured
PNP0A03 at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C0F at acpi0 not configured
PNP0C02 at acpi0 not configured
PNP0000 at acpi0 not configured
PNP0200 at acpi0 not configured
PNP0100 at acpi0 not configured
PNP0B00 at acpi0 not configured
PNP0800 at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
fdc0 at acpi0 (PNP0700)
    ACPI-1286: *** Error: Method execution failed [\_SB_.PCI0.FDC0._CRS]
(Node 0
xc0baa0a0), AE_AML_UNINITIALIZED_LOCAL
    ACPI-0178: *** Error: Method execution failed [\_SB_.PCI0.FDC0._CRS]
(Node 0
xc0baa0a0), AE_AML_UNINITIALIZED_LOCAL
fdc0: ACPI: unable to get Current Resources: 12295
fdc0: unable to parse resources
com0 at acpi0 (PNP0501-1)
com0: io 0x3f8-0x3ff irq 4
com0: ns16550a, working fifo
com1 at acpi0 (PNP0501-2)
com1: io 0x2f8-0x2ff irq 3
com1: ns16550a, working fifo
lpt0 at acpi0 (PNP0401-1)
lpt0: io 0x378-0x37f,0x778-0x77b irq 7 drq 3
pckbc0 at acpi0 (PNP0F13): aux port
pckbc0: irq 12
pckbc1 at acpi0 (PNP0303): kbd port
pckbc1: io 0x60,0x64 irq 1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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: VIA Technologies VT82C691 (Apollo Pro) Host-PCI (rev. 0xc4)
agp0 at pchb0: aperture at 0xd0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: VIA Technologies VT82C598 (Apollo MVP3)
CPU-AGP B
ridge (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vga0 at pci1 dev 0 function 0: 3Dfx Interactive Banshee (rev. 0x03)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using
wskbd0
wsmux1: connecting to wsdisplay0
pcib0 at pci0 dev 7 function 0
pcib0: VIA Technologies VT82C596A (Apollo Pro) PCI-ISA Bridge (rev.
0x23)
pciide0 at pci0 dev 7 function 1: VIA Technologies VT82C596A (Apollo
Pro) ATA66 
controller
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd0 at pciide0 channel 0 drive 0: <QUANTUM FIREBALLlct10 15>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 14324 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 29336832
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 4 (Ultra/66) (using
DMA data 
transfers)
pciide0: secondary channel configured to compatibility mode
atapibus0 at pciide0 channel 1: 2 targets
cd0 at atapibus0 drive 0: <PCRW804, 4VO2026DG02855, 1.1> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2
pciide0: secondary channel interrupting at irq 15
cd0(pciide0:1:0): using PIO mode 4, DMA mode 2 (using DMA data
transfers)
uhci0 at pci0 dev 7 function 2: VIA Technologies VT83C572 USB Controller
(rev. 0
x11)
uhci0: interrupting at apic 2 int 19 (irq 5)
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA Technologies UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pchb1 at pci0 dev 7 function 3
pchb1: VIA Technologies product 0x3050 (rev. 0x30)
ex0 at pci0 dev 17 function 0: 3Com 3c905-TX 10/100 Ethernet (rev. 0x0)
ex0: interrupting at apic 2 int 17 (irq 11)
ex0: MAC address 00:60:97:6e:ab:e6
exphy0 at ex0 phy 24: 3Com internal media interface
exphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
eap0 at pci0 dev 20 function 0: Ensoniq CT5880 CT5880-C (rev. 0x02)
eap0: interrupting at apic 2 int 16 (irq 10)
eap0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D
audio0 at eap0: full duplex, mmap, independent
eap0: attaching secondary DAC
audio1 at eap0: full duplex, mmap, independent
midi0 at eap0: AudioPCI MIDI UART
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi1 at pcppi0: PC speaker
spkr0 at pcppi0
sysbeep0 at pcppi0
isapnp0 at isa0 port 0x279: ISA Plug 'n Play device support
isapnp0: no ISA Plug 'n Play devices found
ioapic0: enabling
usbd_new_device: addr=2, getting first desc failed
uhub_explore: usb_new_device failed, error=TIMEOUT
uhub0: device problem, disabling port 1


-- 
John Franklin
franklin@elfie.org
ICBM: 35°43'56"N 78°53'27"W