Subject: Re: MPACPI fix (for those who had trouble with it, urgent!)
To: Takayoshi Kochi <kochi@NetBSD.org>
From: Alicia da Conceicao <alicia@engine.ca>
List: current-users
Date: 05/07/2004 06:20:24
> > Are you sure about that?  "ioapic" requires either MPACPI or MPBIOS.
> > And without ioapic, the NetBSD kernel is unable to get the proper
> > interrupts for PCI devices, like the auich audio.  (And I need the
> > auich audio to hear my MP3 tunes!)
> Ah, I dug my old mail archive and found your mail (around last
> December) containing dmesg, and yes, you have ioapic.
> But I think it's pretty rare that a laptop uses ioapic even nowadays.
> MPBIOS/MPACPI may be misnomer.
> BTW, could you try disabling MPACPI/MPBIOS and enable all PCIBIOS_*
> and ACPI_PCI_FIXUP?

Hi Takayoshi:

When I disable MPACPI/MPBIOS and enable all PCIBIOS_* and ACPI_PCI_FIXUP
options including PCIBIOS_ADDR_FIXUP, then NetBSD has a kernel panic
during boot, especially with the cardbus/pcmcia stuff.

And if I disable MPACPI/MPBIOS and enable all PCIBIOS_* and ACPI_PCI_FIXUP
options except for PCIBIOS_ADDR_FIXUP, then NetBSD is unable to get the
proper interupts for PCI devices like the internal auich audio.

So I need MPACPI enabled to get PCI devices like the internal auich audio
to work, and I need to disable PCIBIOS_ADDR_FIXUP to get the kernel to
boot without a panic.
 
> What I heard was old generation of Interlink XP (MP-XP7210 or something).
> And your one seems a newer one, maybe better than that.
> Sorry for scattering false rumors.

No sweat.  I heard bad stuff about the older models.  The JVC-Victor
Interlink are actually made in Tawain by ASUS, which is now selling them
there for a lot cheaper, in the rest of Asia outside of Japan:

http://taiwan.asus.com.tw/prog/spec.asp?m=S200N%20Series&langs=01

But the XP7210/S200N has completely different hardware than the earlier
models.

Just in case you are interested, I appended boot messages from my laptop
running a current kernel.  Note that I have replaced the useless Intel
Centrino Wi/Fi card with a useable Atheros mini-pci type 3b (IIIb) card
that works great under NetBSD.  If you noticed anything that I might have
misconfigured, please let me know.

Alicia.

============================================================================
NetBSD 2.0E (LUNA) #0: Thu May  6 06:45:27 EDT 2004
        rt@luna.engine.ca:/usr/src/sys/arch/i386/compile/LUNA
total memory = 758 MB
avail memory = 748 MB
mainbus0 (root)
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: Intel Pentium M (Banias) (686-class), 1000.08 MHz, id 0x695
cpu0: features a7e9fbbf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR>
cpu0: features a7e9fbbf<PGE,MCA,CMOV,PAT,CFLUSH,DS,ACPI,MMX>
cpu0: features a7e9fbbf<FXSR,SSE,SSE2,TM,SBF>
cpu0: features2 180<TM2,EST>
cpu0: "Intel(R) Pentium(R) M processor 1000MHz"
cpu0: using thermal monitor 2
cpu0: Enhanced SpeedStep running at 1000 MHz (1004 mV)
cpu0: Enhanced SpeedStep frequencies available (MHz): 1000 900 800 600
cpu0: calibrating local timer
cpu0: apic clock running at 100 MHz
ioapic0 at mainbus0 apid 1 (I/O APIC)
ioapic0: pa 0xfec00000, version 20, 24 pins
ioapic0: misconfigured as apic 0
ioapic0: remapped to apic 1
acpi0 at mainbus0
acpi0: using Intel ACPI CA subsystem version 20040211
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,08000307>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
ACPI Object Type 'Processor' (0x0c) at acpi0 not configured
acpi: activated PNP0C0F
acpi: activated PNP0C0F
acpi: activated PNP0C0F
PNP0A03 [PCI Bus] at acpi0 not configured
PNP0000 [AT Interrupt Controller] at acpi0 not configured
PNP0200 [AT DMA Controller] at acpi0 not configured
PNP0100 [AT Timer] at acpi0 not configured
PNP0B00 [AT Real-Time Clock] at acpi0 not configured
pckbc0 at acpi0 (PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pckbc1 at acpi0 (PNP0F03): aux port
pckbc1: irq 12
PNP0800 [AT-style speaker sound] at acpi0 not configured
npx0 at acpi0 (PNP0C04)
npx0: io 0xf0-0xff irq 13
npx0: using exception 16
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
acpiec0 at acpi0 (PNP0C09): ACPI Embedded Controller
acpiec0: io 0x62,0x66
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
PNP0C02 [Plug and Play motherboard register resources] at acpi0 not configured
acpiacad0 at acpi0 (ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (PNP0C0A-0): ACPI Battery (Control Method)
acpibat1 at acpi0 (PNP0C0A-1): ACPI Battery (Control Method)
PNP0C01 [System Board] at acpi0 not configured
acpibut0 at acpi0 (PNP0C0C): ACPI Power Button
acpilid0 at acpi0 (PNP0C0D): ACPI Lid Switch
ATK0100 at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
PNP0C0F [PCI interrupt link device] at acpi0 not configured
acpitz0 at acpi0: ACPI Thermal Zone
acpitz0: unable to get polling interval; using default of 30.0s
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: 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: Intel 82855GM Host-to-Hub Controller (rev. 0x02)
agp0 at pchb0: detected 8060k stolen memory
agp0: aperture at 0xf0000000, size 0x8000000
Intel 82855GM GMCH Memory Controller (miscellaneous system, revision 0x02) at pci0 dev 0 function 1 not configured
Intel 82855GM GMCH Configuration Process (miscellaneous system, revision 0x02) at pci0 dev 0 function 3 not configured
vga0 at pci0 dev 2 function 0: Intel 82855GM GMCH Integrated Graphics Device (rev. 0x02)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
Intel 82855GM GMCH Integrated Graphics Device (miscellaneous display, revision 0x02) at pci0 dev 2 function 1 not configured
uhci0 at pci0 dev 29 function 0: Intel 82801DB/DBM USB UHCI Controller #1 (rev. 0x03)
uhci0: interrupting at ioapic0 pin 16 (irq 5)
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
uhci1 at pci0 dev 29 function 1: Intel 82801DB/DBM USB UHCI Controller #2 (rev. 0x03)
uhci1: interrupting at ioapic0 pin 19 (irq 4)
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 29 function 2: Intel 82801DB/DBM USB UHCI Controller #3 (rev. 0x03)
uhci2: interrupting at ioapic0 pin 18 (irq 7)
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 29 function 7: Intel 82801DB/DBM USB EHCI Controller (rev. 0x03)
ehci0: interrupting at ioapic0 pin 23 (irq 3)
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
ppb0 at pci0 dev 30 function 0: Intel 82801BAM Hub-to-PCI Bridge (rev. 0x83)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
cbb0 at pci1 dev 3 function 0: Ricoh 5C475 PCI-CardBus bridge (rev. 0xb8)
cbb0: NOT USED because of unconfigured interrupt
fwohci0 at pci1 dev 3 function 1: Ricoh 5C551 PCI-CardBus bridge/Firewire (rev. 0x00)
fwohci0: interrupting at ioapic0 pin 18 (irq 7)
fwohci0: OHCI 1.0, 00:e0:18:00:03:10:e5:11, 400Mb/s, 2048 max_rec, 4 ir_ctx, 4 it_ctx
ath0 at pci1 dev 5 function 0
ath0: interrupting at ioapic0 pin 18 (irq 7)
ath0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
fxp0 at pci1 dev 8 function 0: Intel PRO/100 VM (MOB) Network Controller, rev 131
fxp0: interrupting at ioapic0 pin 20 (irq 5)
fxp0: Ethernet address 00:80:88:03:51:55
inphy0 at fxp0 phy 1: i82562EM 10/100 media interface, rev. 0
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ichlpcib0 at pci0 dev 31 function 0
ichlpcib0: Intel 82801DB ISA Bridge (rev. 0x03)
ichlpcib0: TCO (watchdog) timer configured.
piixide0 at pci0 dev 31 function 1
piixide0: Intel 82801DBM IDE Controller (ICH4-M) (rev. 0x03)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel ignored (disabled)
auich0 at pci0 dev 31 function 5: i82801DB/DBM (ICH4/ICH4M) AC-97 Audio
auich0: interrupting at ioapic0 pin 17 (irq 0)
auich0: ac97: Analog Devices AD1885 codec; headphone, Analog Devices Phat Stereo
auich0: ac97: ext id 1<VRA>
Intel 82801DB/DBM AC97 Modem Controller (modem communications, revision 0x03) at pci0 dev 31 function 6 not configured
isa0 at ichlpcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
ioapic0: enabling
auich0: measured ac97 link rate at 48702 Hz, will use 48000 Hz
audio0 at auich0: full duplex, mmap, independent
IPsec: Initialized Security Association Processing.
fw0 at fwohci0: 00:e0:18:00:03:10:e5:11:0a:02:ff:ff:f0:01:00:00
wd0 at atabus0 drive 0: <IC25N040ATMR04-0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 38154 MB, 77520 cyl, 16 head, 63 sec, 512 bytes/sect x 78140160 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
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)
============================================================================