NetBSD Problem Report #48165

From dennis@mistimed.ca  Fri Aug 30 19:56:28 2013
Return-Path: <dennis@mistimed.ca>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id A8F9D71E28
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 30 Aug 2013 19:56:28 +0000 (UTC)
Message-Id: <20130830183924.DFB5F1062FA@ts1.to.mistimed.ca>
Date: Fri, 30 Aug 2013 14:39:24 -0400 (EDT)
From: dennis@mistimed.ca
Reply-To: dennis@mistimed.ca
To: gnats-bugs@gnats.NetBSD.org
Subject: ethernet interface interrupt misconfigured(?) with ACPI
X-Send-Pr-Version: 3.95

>Number:         48165
>Category:       port-amd64
>Synopsis:       ethernet interface interrupt misconfigured(?) with ACPI
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-amd64-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug 30 20:00:00 +0000 2013
>Last-Modified:  Fri Aug 30 21:15:00 +0000 2013
>Originator:     Dennis Ferguson
>Release:        NetBSD 6.99.23: Thu Aug 29 19:42:00 EDT 2013
>Organization:
none
>Environment:
System: NetBSD ts1.to.mistimed.ca 6.99.23 NetBSD 6.99.23 (TEST) #2: Thu Aug 29 19:42:00 EDT 2013 dennis@ts1.to.mistimed.ca:/usr/obj/sys/arch/amd64/compile/TEST amd64
Architecture: x86_64
Machine: amd64
>Description:
I have an amd64 machine (a very cheap HP desktop), with an on-board
RealTek PCIe ethernet MAC chip, which was previously running a year-old
-current kernel of this vintage

    NetBSD 6.99.10 (GENERIC) #0: Tue Jul 31 13:49:09 EDT 2012

without problem.  Attempting to run an up-to-date -current GENERIC
kernel instead results in the ethernet interface failing to receive
hardware interrupts; a stream of

    re0: watchdog timeout

messages is emitted and traffic is moved through the interface only
when the watchdog timeout expires.  This problem only occurs when the
new kernel is booted normally, with ACPI enabled.  If the new kernel
is instead booted with ACPI disabled from the boot menu the ethernet
interface works fine.

The apparent difference between the working and non-working cases is
the interrupt wiring the kernel finds for the ethernet interface.  With
the old kernel, and with the new kernel with ACPI disabled, the interface
configures like this:

    pci5 at ppb4 bus 5
    pci5: i/o space, memory space enabled, rd/line, wr/inv ok
    re0 at pci5 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
    re0: interrupting at ioapic0 pin 17
    re0: Ethernet address ac:16:2d:10:20:27
    re0: using 256 tx descriptors

If I'm understanding what the machine's BIOS thinks the configuration
is correctly I'm pretty sure that ioapic pin 17 agrees with how BIOS
thinks the hardware is being initialized before booting.  With a new
kernel with ACPI enabled, however, the interrupt configuration reported
by the kernel changes to pin 16

    pci5 at ppb4 bus 5
    pci5: i/o space, memory space enabled, rd/line, wr/inv ok
    re0 at pci5 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
    re0: interrupting at ioapic0 pin 16
    re0: Ethernet address ac:16:2d:10:20:27
    re0: using 256 tx descriptors

and hardware interrupts are no longer delivered to the driver.  Other
devices in the machine configure the same way independent of ACPI being
enabled.  I've included the boot messages from the new kernel built with
the MPVERBOSE and INTRDEBUG options added to the GENERIC configuration,
with and without ACPI enabled.

I'm hoping this is enough information here for someone else to go on as
the next step for me, if left to my own resources, would be a bisection
search of the year to find the change which caused this.



================== Boot with ACPI enabled =========================
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.23 (TEST) #2: Thu Aug 29 19:42:00 EDT 2013
	dennis@ts1.to.mistimed.ca:/usr/obj/sys/arch/amd64/compile/TEST
total memory = 3982 MB
avail memory = 3850 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Hewlett-Packard p6-2128 ( )
mainbus0 (root)
mainbus0: scanning 0x9d800 to 0x9dbf0 for MP signature
mainbus0: scanning 0x9d400 to 0x9d7f0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xfccb0
mainbus0: MP config table at 0xfc970, 668 bytes long
cpu0 at mainbus0 apid 0cpu0: prelint0 0x700<vector=0x0,delmode=0x7,dest=0x0> 0x0<target=0x0>
cpu0: prelint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu0: timer0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu0: pcint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu0: lint0 0x700<vector=0x0,delmode=0x7,dest=0x0> 0x0<target=0x0>
cpu0: lint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu0: err0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
: Intel(R) Pentium(R) CPU G640 @ 2.80GHz, id 0x206a7
cpu0: idle lwp at 0xfffffe811f93f840, idle sp at 0xfffffe80d9ff5c50
cpu1 at mainbus0 apid 2: Intel(R) Pentium(R) CPU G640 @ 2.80GHz, id 0x206a7
cpu1: idle lwp at 0xfffffe811e5c38e0, idle sp at 0xfffffe80d90acc50
ioapic0 at mainbus0 apid 2: pa 0xfec00000, virtual wire mode, version 0x20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <HPQOEM,SLIC-CPC,01072009>, AslId <AMI ,00010013>
ioapic0: int9 0x8060<vector=0x60,delmode=0x0,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 9 level 6 to cpu0 slot 0 idt entry 96
mpacpi: found root PCI bus 0
mpacpi: found subordinate bus 0
mpacpi: found subordinate bus 0
mpacpi: found subordinate bus 0
mpacpi: found subordinate bus 0
mpacpi: found subordinate bus 0
mpacpi: found subordinate bus 0
mpacpi: 7 PCI busses
mpacpi: ISA interrupt override 0 -> 2 (0/0)
mpacpi: ISA interrupt override 9 -> 9 (1/3)
mpacpi: configuring PCI bus 0 int routing
mpacpi: configuring PCI bus 2 int routing
mpacpi: configuring PCI bus 3 int routing
mpacpi: configuring PCI bus 4 int routing
mpacpi: configuring PCI bus 5 int routing
mpacpi: configuring PCI bus 1 int routing
mpacpi: configuring PCI bus 5 int routing
mpacpi: PCI bus 5 int routing already done!
ioapic0: pin 2 attached to isa0 irq 0 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 1 attached to isa0 irq 1 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 3 attached to isa0 irq 3 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 4 attached to isa0 irq 4 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 5 attached to isa0 irq 5 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 6 attached to isa0 irq 6 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 7 attached to isa0 irq 7 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 8 attached to isa0 irq 8 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 9 attached to isa0 irq 9 (type 0x0<type=0x0> flags 0xd<pol=0x1=Act Hi,trig=0x3=Level>)
ioapic0: pin 10 attached to isa0 irq 10 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 11 attached to isa0 irq 11 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 12 attached to isa0 irq 12 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 13 attached to isa0 irq 13 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 14 attached to isa0 irq 14 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 15 attached to isa0 irq 15 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
local apic: pin 1 attached to NMI (type 0x1<type=0x1=NMI> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: pin 21 attached to pci0 device 31 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 31 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 31 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 31 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 20 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 23 attached to pci0 device 29 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 29 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 29 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 29 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 26 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 21 attached to pci0 device 26 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 26 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 26 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 22 attached to pci0 device 27 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 22 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 22 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 22 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci0 device 22 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 28 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci0 device 28 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 28 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 28 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 1 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci0 device 1 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 1 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 1 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 6 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 6 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci0 device 6 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 6 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 4 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci0 device 4 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci0 device 4 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci0 device 4 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci0 device 2 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci2 device 0 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci2 device 0 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci2 device 0 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci2 device 0 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci3 device 0 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci3 device 0 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci3 device 0 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci3 device 0 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci4 device 0 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci4 device 0 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci4 device 0 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci4 device 0 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci5 device 0 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci5 device 0 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci5 device 0 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci5 device 0 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 16 attached to pci1 device 0 INT_A (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 17 attached to pci1 device 0 INT_B (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 18 attached to pci1 device 0 INT_C (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
ioapic0: pin 19 attached to pci1 device 0 INT_D (type 0x0<type=0x0> flags 0xf<pol=0x3=Act Lo,trig=0x3=Level>)
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (H_EC, PNP0C09-1)acpiec0: unable to evaluate _GPE: AE_NOT_FOUND
TPMX (PNP0C01) at acpi0 not configured
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
CWDT (INT3F0D) at acpi0 not configured
SIO1 (PNP0C02) at acpi0 not configured
RMSC (PNP0C02) at acpi0 not configured
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (DD01, 0x0100): ACPI Display Output Device
acpiout1 at acpivga0 (DD02, 0x0400): ACPI Display Output Device
acpiout1: brightness levels: 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100
acpiout2 at acpivga0 (DD03, 0x0300): ACPI Display Output Device
acpiout3 at acpivga0 (DD04, 0x0301): ACPI Display Output Device
acpiout4 at acpivga0 (DD05, 0x0302): ACPI Display Output Device
acpiout5 at acpivga0 (DD06, 0x0303): ACPI Display Output Device
acpiout6 at acpivga0 (DD07, 0x0304): ACPI Display Output Device
acpiout7 at acpivga0 (DD08, 0x0305): ACPI Display Output Device
acpivga0: unknown output device acpiout0
acpivga0: unknown output device acpiout2
acpivga0: unknown output device acpiout3
acpivga0: unknown output device acpiout4
acpivga0: unknown output device acpiout5
acpivga0: unknown output device acpiout6
acpivga0: unknown output device acpiout7
acpivga0: connected output devices:
acpivga0:   0x0400 (acpiout1): Unknown Output Device, head 0
PDRC (PNP0C02) at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
MEM2 (PNP0C01) at acpi0 not configured
acpifan0 at acpi0 (FAN0, PNP0C0B-0): ACPI Fan
acpifan1 at acpi0 (FAN1, PNP0C0B-1): ACPI Fan
acpifan2 at acpi0 (FAN2, PNP0C0B-2): ACPI Fan
acpifan3 at acpi0 (FAN3, PNP0C0B-3): ACPI Fan
acpifan4 at acpi0 (FAN4, PNP0C0B-4): ACPI Fan
acpitz0 at acpi0 (TZ00)
acpitz0: active cooling level 0: 82.0C
acpitz0: active cooling level 1: 55.0C
acpitz0: active cooling level 2: 0.0C
acpitz0: active cooling level 3: 0.0C
acpitz0: active cooling level 4: 0.0C
acpitz0: levels: critical 103.0 C
acpitz1 at acpi0 (TZ01): cpu0 cpu1
acpitz1: levels: critical 103.0 C, passive 103.0 C, passive cooling
pci0 at mainbus0 bus 0: configuration mode 1
mainbus0: added to list as bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0100 (rev. 0x09)
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x0101 (rev. 0x09)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> x16 @ 5.0Gb/s
pci1 at ppb0 bus 1
ppb0: added to list as bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x1415 product 0xc308 (serial communications, interface 0x02) at pci1 dev 0 function 0 not configured
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0102 (rev. 0x09)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x8086 product 0x1c3a (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x1c2d (rev. 0x05)
ioapic0: int16 0xa070<vector=0x70,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 16 level 7 to cpu0 slot 1 idt entry 112
ehci0: interrupting at ioapic0 pin 16
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
ioapic0: int22 0xa071<vector=0x71,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 22 level 7 to cpu0 slot 2 idt entry 113
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: Realtek ALC662
hdafg0: DAC00 2ch: Speaker [Jack], HP Out [Jack]
hdafg0: ADC01 2ch: Line In [Jack], Mic In [Jack]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x1c10 (rev. 0xb5)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
pci2 at ppb1 bus 2
ppb1: added to list as bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: vendor 0x8086 product 0x1c12 (rev. 0xb5)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb2: link is x1 @ 2.5Gb/s
pci3 at ppb2 bus 3
ppb2: added to list as bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x1814 product 0x5390 (miscellaneous network) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 3: vendor 0x8086 product 0x1c16 (rev. 0xb5)
ppb3: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb3: link is x1 @ 2.5Gb/s
pci4 at ppb3 bus 4
ppb3: added to list as bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x1415 product 0xc308 (serial communications, interface 0x02) at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 5: vendor 0x8086 product 0x1c1a (rev. 0xb5)
ppb4: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb4: link is x1 @ 2.5Gb/s
pci5 at ppb4 bus 5
ppb4: added to list as bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci5 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
ioapic0: int16 0xb070<vector=0x70,delmode=0x0,pending,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 16 level 6 to cpu0 slot 1 idt entry 112
re0: interrupting at ioapic0 pin 16
re0: Ethernet address ac:16:2d:10:20:27
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x1c26 (rev. 0x05)
ioapic0: int23 0xa072<vector=0x72,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 23 level 7 to cpu0 slot 3 idt entry 114
ehci1: interrupting at ioapic0 pin 23
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x1c5c (rev. 0x05)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x1c02 (rev. 0x05)
ioapic0: int19 0xa061<vector=0x61,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 19 level 6 to cpu0 slot 4 idt entry 97
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 4 ports, 32 slots, CAP 0xc720ff43<EMS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 4
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x1c22 (rev. 0x05)
ioapic0: int18 0xa062<vector=0x62,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 18 level 6 to cpu0 slot 5 idt entry 98
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
ioapic0: int1 0x63<vector=0x63,delmode=0x0,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type edge pin 1 level 6 to cpu0 slot 6 idt entry 99
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   1 us, pow  1000 mW
acpicpu0: C2: FFH, lat  80 us, pow   500 mW
acpicpu0: C3: FFH, lat 104 us, pow   350 mW
acpicpu0: P0: FFH, lat  10 us, pow 65000 mW, 2800 MHz
acpicpu0: P1: FFH, lat  10 us, pow 61690 mW, 2700 MHz
acpicpu0: P2: FFH, lat  10 us, pow 58444 mW, 2600 MHz
acpicpu0: P3: FFH, lat  10 us, pow 55888 mW, 2500 MHz
acpicpu0: P4: FFH, lat  10 us, pow 52759 mW, 2400 MHz
acpicpu0: P5: FFH, lat  10 us, pow 50305 mW, 2300 MHz
acpicpu0: P6: FFH, lat  10 us, pow 47301 mW, 2200 MHz
acpicpu0: P7: FFH, lat  10 us, pow 44946 mW, 2100 MHz
acpicpu0: P8: FFH, lat  10 us, pow 42045 mW, 2000 MHz
acpicpu0: P9: FFH, lat  10 us, pow 39204 mW, 1900 MHz
acpicpu0: P10: FFH, lat  10 us, pow 37000 mW, 1800 MHz
acpicpu0: P11: FFH, lat  10 us, pow 34277 mW, 1700 MHz
acpicpu0: P12: FFH, lat  10 us, pow 32168 mW, 1600 MHz
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution
cpu0: interrupt masks:
IPL 0 mask 1ffff80 unmask fe00007f
IPL 1 mask 3ffff80 unmask fc00007f
IPL 2 mask 7ffff80 unmask f800007f
IPL 3 mask fffff80 unmask f000007f
IPL 4 mask 1fffff80 unmask e000007f
IPL 5 mask 3fffff80 unmask c000007f
IPL 6 mask 3ffffff3 unmask c000000c
IPL 7 mask 7fffffff unmask 80000000
IPL 8 mask ffffffff unmask 0
cpu0 source 0 is pin 9 from pic ioapic0 type 3 maxlevel 6
	handler 0xffffffff80488dbe level 6
	ioapic redir 0x8000
cpu0 source 1 is pin 16 from pic ioapic0 type 3 maxlevel 7
	handler 0xffffffff802b30cd level 7
	handler 0xffffffff80488dbe level 6
	ioapic redir 0xa000
cpu0 source 2 is pin 22 from pic ioapic0 type 3 maxlevel 7
	handler 0xffffffff8033c6e8 level 7
	ioapic redir 0xa000
cpu0 source 3 is pin 23 from pic ioapic0 type 3 maxlevel 7
	handler 0xffffffff802b30cd level 7
	ioapic redir 0xa000
cpu0 source 4 is pin 19 from pic ioapic0 type 3 maxlevel 6
	handler 0xffffffff80488dbe level 6
	ioapic redir 0xa000
cpu0 source 5 is pin 18 from pic ioapic0 type 3 maxlevel 6
	handler 0xffffffff80488dbe level 6
	ioapic redir 0xa000
cpu0 source 6 is pin 1 from pic ioapic0 type 2 maxlevel 6
	handler 0xffffffff80488dbe level 6
	ioapic redir 0x0
cpu0 source 25 is pin 0 from pic softintr_fakepic type 0 maxlevel 1
	handler 0x0 level 1
cpu0 source 26 is pin 0 from pic softintr_fakepic type 0 maxlevel 2
	handler 0x0 level 2
cpu0 source 27 is pin 0 from pic softintr_fakepic type 0 maxlevel 3
	handler 0x0 level 3
cpu0 source 28 is pin 0 from pic softintr_fakepic type 0 maxlevel 4
	handler 0x0 level 4
cpu0 source 29 is pin 0 from pic softintr_fakepic type 0 maxlevel 5
	handler 0x0 level 5
cpu0 source 30 is pin 0 from pic lapic type 0 maxlevel 7
	handler 0x0 level 7
cpu0 source 31 is pin 0 from pic lapic type 0 maxlevel 8
	handler 0x0 level 8
cpu1: interrupt masks:
IPL 0 mask 1ffffff unmask fe000000
IPL 1 mask 3ffffff unmask fc000000
IPL 2 mask 7ffffff unmask f8000000
IPL 3 mask fffffff unmask f0000000
IPL 4 mask 1fffffff unmask e0000000
IPL 5 mask 3fffffff unmask c0000000
IPL 6 mask 3fffffff unmask c0000000
IPL 7 mask 7fffffff unmask 80000000
IPL 8 mask ffffffff unmask 0
cpu1 source 25 is pin 0 from pic softintr_fakepic type 0 maxlevel 1
	handler 0x0 level 1
cpu1 source 26 is pin 0 from pic softintr_fakepic type 0 maxlevel 2
	handler 0x0 level 2
cpu1 source 27 is pin 0 from pic softintr_fakepic type 0 maxlevel 3
	handler 0x0 level 3
cpu1 source 28 is pin 0 from pic softintr_fakepic type 0 maxlevel 4
	handler 0x0 level 4
cpu1 source 29 is pin 0 from pic softintr_fakepic type 0 maxlevel 5
	handler 0x0 level 5
cpu1 source 30 is pin 0 from pic lapic type 0 maxlevel 7
	handler 0x0 level 7
cpu1 source 31 is pin 0 from pic lapic type 0 maxlevel 8
	handler 0x0 level 8
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu1: prelint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: prelint1 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: timer0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: pcint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: lint0 0x10700<vector=0x0,delmode=0x7,masked,dest=0x0> 0x0<target=0x0>
cpu1: lint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu1: err0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
timecounter: Timecounter "TSC" frequency 2793759000 Hz quality 3000
uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 4: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <Hitachi HDS721010CLA630>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus1: 1 targets
cd0 at atapibus0 drive 0: <hp      DVD A  DH16ACSH, 288216900082, JHD6> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ahcisata0:4:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhub2 at uhub0 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 4 ports with 4 removable, self powered
uhub3: 6 ports with 6 removable, self powered
umass0 at uhub3 port 6 configuration 1 interface 0
umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Multiple, Card  Reader, 1.00> disk removable
sd0: drive offline
uhidev0 at uhub2 port 1 configuration 1 interface 0
uhidev0: NOVATEK USB Keyboard, rev 1.10/1.04, addr 3, iclass 3/1
ukbd0 at uhidev0: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
uhidev1 at uhub2 port 1 configuration 1 interface 1
uhidev1: NOVATEK USB Keyboard, rev 1.10/1.04, addr 3, iclass 3/0
uhidev1: 2 report ids
uhid0 at uhidev1 reportid 1: input=1, output=0, feature=0
uhid1 at uhidev1 reportid 2: input=3, output=0, feature=0
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
============ End of boot with ACPI enabled ========================



=================== Boot with ACPI disabled =======================
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.99.23 (TEST) #1: Thu Aug 29 19:22:30 EDT 2013
	dennis@ts1.to.mistimed.ca:/usr/obj/sys/arch/amd64/compile/TEST
total memory = 3982 MB
avail memory = 3849 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Hewlett-Packard p6-2128 ( )
mainbus0 (root)
mainbus0: scanning 0x9d800 to 0x9dbf0 for MP signature
mainbus0: scanning 0x9d400 to 0x9d7f0 for MP signature
mainbus0: scanning 0xf0000 to 0xffff0 for MP signature
mainbus0: MP floating pointer found in bios at 0xfccb0
mainbus0: MP config table at 0xfc970, 668 bytes long
mainbus0: Intel MP Specification (Version 1.4) (SLIC-CPC       HPQOEM)
cpu0 at mainbus0 apid 0cpu0: prelint0 0x700<vector=0x0,delmode=0x7,dest=0x0> 0x0<target=0x0>
cpu0: prelint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu0: timer0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu0: pcint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu0: lint0 0x0<vector=0x0,delmode=0x0,dest=0x0> 0x0<target=0x0>
cpu0: lint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu0: err0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
: Intel(R) Pentium(R) CPU G640 @ 2.80GHz, id 0x206a7
cpu0: idle lwp at 0xfffffe811f940840, idle sp at 0xfffffe80d9ff5c50
cpu1 at mainbus0 apid 2: Intel(R) Pentium(R) CPU G640 @ 2.80GHz, id 0x206a7
cpu1: idle lwp at 0xfffffe811e617080, idle sp at 0xfffffe80d90a8c50
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type PCI   
mpbios: bus 3 is type PCI   
mpbios: bus 4 is type PCI   
mpbios: bus 5 is type PCI   
mpbios: bus 6 is type ISA   
ioapic0 at mainbus0 apid 2: pa 0xfec00000, virtual wire mode, version 0x20, 24 pins
ioapic0: int2 attached to isa0 irq 0 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int1 attached to isa0 irq 1 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int8 attached to isa0 irq 8 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int9 attached to isa0 irq 9 (type 0x0<type=0x0> flags 0xd<pol=0x1=Act Hi,trig=0x3=Level>)
ioapic0: int12 attached to isa0 irq 12 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int13 attached to isa0 irq 13 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int14 attached to isa0 irq 14 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int15 attached to isa0 irq 15 (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int21 attached to pci0 device 31 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 31 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 31 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 31 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 20 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int23 attached to pci0 device 29 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 29 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 29 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 29 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 26 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int21 attached to pci0 device 26 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 26 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 26 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int22 attached to pci0 device 27 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 22 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 22 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 22 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci0 device 22 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 28 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci0 device 28 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 28 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 28 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci2 device 0 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci2 device 0 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci2 device 0 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci2 device 0 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci3 device 0 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci3 device 0 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci3 device 0 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci3 device 0 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci4 device 0 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci4 device 0 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci4 device 0 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci4 device 0 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci5 device 0 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci5 device 0 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci5 device 0 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci5 device 0 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 1 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci0 device 1 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 1 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 1 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 6 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 6 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci0 device 6 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 6 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci1 device 0 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci1 device 0 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci1 device 0 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci1 device 0 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 4 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int17 attached to pci0 device 4 INT_B (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int18 attached to pci0 device 4 INT_C (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int19 attached to pci0 device 4 INT_D (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
ioapic0: int16 attached to pci0 device 2 INT_A (type 0x0<type=0x0> flags 0x0<pol=0x0,trig=0x0>)
local apic: int0 attached to ExtINT (type 0x3<type=0x3=ExtINT> flags 0x0<pol=0x0,trig=0x0>)
local apic: int1 attached to NMI (type 0x1<type=0x1=NMI> flags 0x0<pol=0x0,trig=0x0>)
mainbus0: MP WARNING: 164 bytes of extended entries not examined
pci0 at mainbus0 bus 0: configuration mode 1
mainbus0: added to list as bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: Intel Sandy Bridge Host Bridge (rev. 0x09)
ppb0 at pci0 dev 1 function 0: Intel product 0x0101 (rev. 0x09)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex> x16 @ 5.0Gb/s
pci1 at ppb0 bus 1
ppb0: added to list as bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
Oxford Semiconductor product 0xc308 (serial communications, interface 0x02) at pci1 dev 0 function 0 not configured
vga0 at pci0 dev 2 function 0: Intel Sandy Bridge Integrated Graphics Device (rev. 0x09)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation)
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
Intel 6 Series MEI (miscellaneous communications, revision 0x04) at pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: Intel 6 Series USB (rev. 0x05)
ioapic0: int16 0xa070<vector=0x70,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 16 level 7 to cpu0 slot 0 idt entry 112
ehci0: interrupting at ioapic0 pin 16
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
ioapic0: int22 0xa071<vector=0x71,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 22 level 7 to cpu0 slot 1 idt entry 113
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: Realtek ALC662
hdafg0: DAC00 2ch: Speaker [Jack], HP Out [Jack]
hdafg0: ADC01 2ch: Line In [Jack], Mic In [Jack]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
ppb1 at pci0 dev 28 function 0: Intel 6 Series PCIE (rev. 0xb5)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
pci2 at ppb1 bus 2
ppb1: added to list as bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: Intel 6 Series PCIE (rev. 0xb5)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb2: link is x1 @ 2.5Gb/s
pci3 at ppb2 bus 3
ppb2: added to list as bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
Ralink Technologies product 0x5390 (miscellaneous network) at pci3 dev 0 function 0 not configured
ppb3 at pci0 dev 28 function 3: Intel 6 Series PCIE (rev. 0xb5)
ppb3: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb3: link is x1 @ 2.5Gb/s
pci4 at ppb3 bus 4
ppb3: added to list as bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
Oxford Semiconductor product 0xc308 (serial communications, interface 0x02) at pci4 dev 0 function 0 not configured
ppb4 at pci0 dev 28 function 5: Intel 6 Series PCIE (rev. 0xb5)
ppb4: PCI Express 2.0 <Root Port of PCI-E Root Complex> x1 @ 5.0Gb/s
ppb4: link is x1 @ 2.5Gb/s
pci5 at ppb4 bus 5
ppb4: added to list as bus 5
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci5 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 0x06)
ioapic0: int17 0xa060<vector=0x60,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 17 level 6 to cpu0 slot 2 idt entry 96
re0: interrupting at ioapic0 pin 17
re0: Ethernet address ac:16:2d:10:20:27
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ehci1 at pci0 dev 29 function 0: Intel 6 Series USB (rev. 0x05)
ioapic0: int23 0xa072<vector=0x72,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 23 level 7 to cpu0 slot 3 idt entry 114
ehci1: interrupting at ioapic0 pin 23
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ichlpcib0 at pci0 dev 31 function 0: Intel H61 LPC (rev. 0x05)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
ahcisata0 at pci0 dev 31 function 2: Intel 6 Series AHCI (rev. 0x05)
ioapic0: int19 0xa061<vector=0x61,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 19 level 6 to cpu0 slot 4 idt entry 97
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 4 ports, 32 slots, CAP 0xc720ff43<EMS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 4
ichsmb0 at pci0 dev 31 function 3: Intel 6 Series SMBus Controller (rev. 0x05)
ioapic0: int18 0xa062<vector=0x62,delmode=0x0,actlo,level,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type level pin 18 level 6 to cpu0 slot 5 idt entry 98
ichsmb0: interrupting at ioapic0 pin 18
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
ioapic0: int1 0x63<vector=0x63,delmode=0x0,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type edge pin 1 level 6 to cpu0 slot 6 idt entry 99
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
ioapic0: int12 0x64<vector=0x64,delmode=0x0,dest=0x0> 0x0<target=0x0>
allocated pic ioapic0 type edge pin 12 level 6 to cpu0 slot 7 idt entry 100
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer0: attached to pcppi0
est0 at cpu0: Enhanced SpeedStep
coretemp0 at cpu0: thermal sensor, 1 C resolution
coretemp1 at cpu1: thermal sensor, 1 C resolution
cpu0: interrupt masks:
IPL 0 mask 1ffff00 unmask fe0000ff
IPL 1 mask 3ffff00 unmask fc0000ff
IPL 2 mask 7ffff00 unmask f80000ff
IPL 3 mask fffff00 unmask f00000ff
IPL 4 mask 1fffff00 unmask e00000ff
IPL 5 mask 3fffff00 unmask c00000ff
IPL 6 mask 3ffffff4 unmask c000000b
IPL 7 mask 7fffffff unmask 80000000
IPL 8 mask ffffffff unmask 0
cpu0 source 0 is pin 16 from pic ioapic0 type 3 maxlevel 7
	handler 0xffffffff802b3dbd level 7
	ioapic redir 0xa000
cpu0 source 1 is pin 22 from pic ioapic0 type 3 maxlevel 7
	handler 0xffffffff8033d3d8 level 7
	ioapic redir 0xa000
cpu0 source 2 is pin 17 from pic ioapic0 type 3 maxlevel 6
	handler 0xffffffff80489aae level 6
	ioapic redir 0xa000
cpu0 source 3 is pin 23 from pic ioapic0 type 3 maxlevel 7
	handler 0xffffffff802b3dbd level 7
	ioapic redir 0xa000
cpu0 source 4 is pin 19 from pic ioapic0 type 3 maxlevel 6
	handler 0xffffffff80489aae level 6
	ioapic redir 0xa000
cpu0 source 5 is pin 18 from pic ioapic0 type 3 maxlevel 6
	handler 0xffffffff80489aae level 6
	ioapic redir 0xa000
cpu0 source 6 is pin 1 from pic ioapic0 type 2 maxlevel 6
	handler 0xffffffff80489aae level 6
	ioapic redir 0x0
cpu0 source 7 is pin 12 from pic ioapic0 type 2 maxlevel 6
	handler 0xffffffff80489aae level 6
	ioapic redir 0x0
cpu0 source 25 is pin 0 from pic softintr_fakepic type 0 maxlevel 1
	handler 0x0 level 1
cpu0 source 26 is pin 0 from pic softintr_fakepic type 0 maxlevel 2
	handler 0x0 level 2
cpu0 source 27 is pin 0 from pic softintr_fakepic type 0 maxlevel 3
	handler 0x0 level 3
cpu0 source 28 is pin 0 from pic softintr_fakepic type 0 maxlevel 4
	handler 0x0 level 4
cpu0 source 29 is pin 0 from pic softintr_fakepic type 0 maxlevel 5
	handler 0x0 level 5
cpu0 source 30 is pin 0 from pic lapic type 0 maxlevel 7
	handler 0x0 level 7
cpu0 source 31 is pin 0 from pic lapic type 0 maxlevel 8
	handler 0x0 level 8
cpu1: interrupt masks:
IPL 0 mask 1ffffff unmask fe000000
IPL 1 mask 3ffffff unmask fc000000
IPL 2 mask 7ffffff unmask f8000000
IPL 3 mask fffffff unmask f0000000
IPL 4 mask 1fffffff unmask e0000000
IPL 5 mask 3fffffff unmask c0000000
IPL 6 mask 3fffffff unmask c0000000
IPL 7 mask 7fffffff unmask 80000000
IPL 8 mask ffffffff unmask 0
cpu1 source 25 is pin 0 from pic softintr_fakepic type 0 maxlevel 1
	handler 0x0 level 1
cpu1 source 26 is pin 0 from pic softintr_fakepic type 0 maxlevel 2
	handler 0x0 level 2
cpu1 source 27 is pin 0 from pic softintr_fakepic type 0 maxlevel 3
	handler 0x0 level 3
cpu1 source 28 is pin 0 from pic softintr_fakepic type 0 maxlevel 4
	handler 0x0 level 4
cpu1 source 29 is pin 0 from pic softintr_fakepic type 0 maxlevel 5
	handler 0x0 level 5
cpu1 source 30 is pin 0 from pic lapic type 0 maxlevel 7
	handler 0x0 level 7
cpu1 source 31 is pin 0 from pic lapic type 0 maxlevel 8
	handler 0x0 level 8
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
cpu1: prelint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: prelint1 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: timer0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: pcint0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
cpu1: lint0 0x10700<vector=0x0,delmode=0x7,masked,dest=0x0> 0x0<target=0x0>
cpu1: lint1 0x400<vector=0x0,delmode=0x4,dest=0x0> 0x0<target=0x0>
cpu1: err0 0x10000<vector=0x0,delmode=0x0,masked,dest=0x0> 0x0<target=0x0>
timecounter: Timecounter "TSC" frequency 2793861840 Hz quality 3000
uhub0 at usb0: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
ahcisata0 port 4: device present, speed: 1.5Gb/s
wd0 at atabus0 drive 0
wd0: <Hitachi HDS721010CLA630>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 931 GB, 1938021 cyl, 16 head, 63 sec, 512 bytes/sect x 1953525168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus1: 1 targets
cd0 at atapibus0 drive 0: <hp      DVD A  DH16ACSH, 288216900082, JHD6> cdrom removable
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
cd0(ahcisata0:4:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100) (using DMA)
uhub2 at uhub0 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 0x8087 product 0x0024, class 9/0, rev 2.00/0.00, addr 2
uhub3: single transaction translator
uhub2: 4 ports with 4 removable, self powered
uhub3: 6 ports with 6 removable, self powered
umass0 at uhub3 port 6 configuration 1 interface 0
umass0: Generic Mass Storage Device, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Multiple, Card  Reader, 1.00> disk removable
sd0: drive offline
uhub2: device problem, disabling port 1
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
============ End of boot with ACPI disabled =======================


>How-To-Repeat:
I've tried the same kernel on two machines but only this one has
a problem I've noticed.  The trouble may hence be somehow dependent
on the hardware.

>Fix:
I don't know.

>Audit-Trail:
From: Dennis Ferguson <dennis@mistimed.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-amd64/48165: ethernet interface interrupt misconfigured(?) with ACPI
Date: Fri, 30 Aug 2013 17:11:11 -0400

 --Apple-Mail=_1FF8151B-A05F-4757-A28D-B7530C654F74
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii

 It occurred to me to try the attached patch (after I sent the bug
 report, unfortunately).  I now can boot with ACPI enabled and get a
 working ethernet, though I'm not sure whether this is a fix or just covers
 up an underlying bug.

 Dennis Ferguson


 --Apple-Mail=_1FF8151B-A05F-4757-A28D-B7530C654F74
 Content-Disposition: attachment;
 	filename=mpacpi.patch
 Content-Type: application/octet-stream;
 	name="mpacpi.patch"
 Content-Transfer-Encoding: 7bit

 Index: sys/arch/x86/x86/mpacpi.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/x86/x86/mpacpi.c,v
 retrieving revision 1.97
 diff -u -r1.97 mpacpi.c
 --- sys/arch/x86/x86/mpacpi.c	25 Mar 2013 01:30:37 -0000	1.97
 +++ sys/arch/x86/x86/mpacpi.c	30 Aug 2013 21:08:58 -0000
 @@ -567,9 +567,11 @@

  	mpb = &mp_busses[mpr->mpr_bus];

 -	if (mpb->mb_name != NULL)
 +	if (mpb->mb_name != NULL) {
  		printf("mpacpi: PCI bus %d int routing already done!\n",
  		    mpr->mpr_bus);
 +		return (0);
 +	}

  	mpb->mb_intrs = NULL;
  	mpb->mb_name = "pci";

 --Apple-Mail=_1FF8151B-A05F-4757-A28D-B7530C654F74--

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.