NetBSD Problem Report #45628

From www@NetBSD.org  Fri Nov 18 06:55:30 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 621A063D6F8
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Nov 2011 06:55:30 +0000 (UTC)
Message-Id: <20111118065528.C54D863CD4E@www.NetBSD.org>
Date: Fri, 18 Nov 2011 06:55:28 +0000 (UTC)
From: marc@msys.ch
Reply-To: marc@msys.ch
To: gnats-bugs@NetBSD.org
Subject: acpicpu(4) changes between 5.99.55 and 5.99.56 break amd64
X-Send-Pr-Version: www-1.0

>Number:         45628
>Category:       kern
>Synopsis:       acpicpu(4) changes between 5.99.55 and 5.99.56 break amd64
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          feedback
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 18 07:00:00 +0000 2011
>Closed-Date:    
>Last-Modified:  Tue Dec 18 05:35:59 +0000 2012
>Originator:     Marc Balmer
>Release:        5.99.56
>Organization:
micro systems
>Environment:
NetBSD kiosk.vnode.ch 5.99.56 NetBSD 5.99.56 (GENERIC) #12: Thu Nov 17 20:02:09 CET 2011  root@amd64.vnode.ch:/usr/obj/amd64/sys/arch/amd64/compile/GENERIC amd64

>Description:
When acpicpu(4) is enabled in the kernel, the machine will stop booting when acpicpu(4) gets autoconfigured.  The screen goes blank and the machines just does nothing (or nothing visibly).

NetBSD 5.99.55 worked fine on this machine, the problem happens with 5.99.56.

Here is a dmesg (with acpicpu(4) disabled):

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011
    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 5.99.56 (GENERIC) #12: Thu Nov 17 20:02:09 CET 2011
        root@amd64.vnode.ch:/usr/obj/amd64/sys/arch/amd64/compile/GENERIC
total memory = 766 MB
avail memory = 726 MB
timecounter: Timecounters tick every 10.000 msec
userconf: configure system autoconfiguration:
uc> disable acpicpu
[192] acpicpu* disabled
uc> quit
Continuing...
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
IBM CORPORATION 4838720 (4838720)
mainbus0 (root)
cpu0 at mainbus0 apid 0: AMD Turion(tm) 64 X2 Mobile Technology TL-56, id 0x60f82
cpu1 at mainbus0 apid 1: AMD Turion(tm) 64 X2 Mobile Technology TL-56, id 0x60f82
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 3, 24 pins
ioapic1 at mainbus0 apid 3: pa 0xfecc0000, version 3, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <IBM   ,RSS     ,42302e31>, AslId <AWRD,00000000>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
PMIO (PNP0C02) at acpi0 not configured
BRCH (PNP0C02) at acpi0 not configured
BRCV (PNP0C02) at acpi0 not configured
SBRC (PNP0C02) at acpi0 not configured
SYSR (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
com2 at acpi0 (UAR1, PNP0501-1): io 0x3f8-0x3ff irq 4
com2: ns16550a, working fifo
com3 at acpi0 (UAR2, PNP0501-2): io 0x2f8-0x2ff irq 3
com3: ns16550a, working fifo
com4 at acpi0 (UAR4, PNP0501-4): io 0x2e8-0x2ef irq 6
com4: ns16550a, working fifo
com5 at acpi0 (UAR5, PNP0501-5): io 0x3a0-0x3a7 irq 7
com5: ns16550a, working fifo
com6 at acpi0 (UAR6, PNP0501-6): io 0x2a0-0x2a7 irq 5
com6: ns16550a, working fifo
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
SRCM (PNP0C02) at acpi0 not configured
EXPL (PNP0C02) at acpi0 not configured
MEM (PNP0C01) at acpi0 not configured
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
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: vendor 0x1106 product 0x0336 (rev. 0x00)
agp0 at pchb0: aperture at 0xd0000000, size 0x8000000
pchb1 at pci0 dev 0 function 1: vendor 0x1106 product 0x1336 (rev. 0x00)
pchb2 at pci0 dev 0 function 2: vendor 0x1106 product 0x2336 (rev. 0x00)
pchb3 at pci0 dev 0 function 3: vendor 0x1106 product 0x3336 (rev. 0x00)
pchb4 at pci0 dev 0 function 4: vendor 0x1106 product 0x4336 (rev. 0x00)
vendor 0x1106 product 0x5336 (interrupt system, interface 0x20) at pci0 dev 0 function 5 not configured
pchb5 at pci0 dev 0 function 7: vendor 0x1106 product 0x7336 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0xb188 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vga0 at pci1 dev 0 function 0: vendor 0x1106 product 0x3230 (rev. 0x11)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
ppb1 at pci0 dev 2 function 0: vendor 0x1106 product 0xa238 (rev. 0x00)
ppb1: PCI Express 1.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 3 function 0: vendor 0x1106 product 0xc238 (rev. 0x00)
pci3 at ppb2 bus 4
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
ath0 at pci3 dev 0 function 0: Atheros 5416
ath0: interrupting at ioapic1 pin 4
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: mac 12.10 phy 8.1 radio 12.0
viaide0 at pci0 dev 15 function 0: VIA Technologies VT8237S SATA Controller (rev. 0x00)
viaide0: bus-master DMA support present
viaide0: primary channel configured to native-PCI mode
viaide0: using ioapic0 pin 21 for native-PCI interrupt
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to native-PCI mode
atabus1 at viaide0 channel 1
viaide1 at pci0 dev 15 function 1
viaide1: VIA Technologies unknown VIA ATA controller
viaide1: bus-master DMA support present
viaide1: primary channel configured to compatibility mode
viaide1: primary channel interrupting at ioapic0 pin 14
atabus2 at viaide1 channel 0
viaide1: secondary channel configured to compatibility mode
viaide1: secondary channel ignored (disabled)
uhci0 at pci0 dev 16 function 0: vendor 0x1106 product 0x3038 (rev. 0xb0)
uhci0: interrupting at ioapic0 pin 20
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 16 function 1: vendor 0x1106 product 0x3038 (rev. 0xb0)
uhci1: interrupting at ioapic0 pin 22
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 16 function 2: vendor 0x1106 product 0x3038 (rev. 0xb0)
uhci2: interrupting at ioapic0 pin 21
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 16 function 3: vendor 0x1106 product 0x3038 (rev. 0xb0)
uhci3: interrupting at ioapic0 pin 23
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 16 function 4: vendor 0x1106 product 0x3104 (rev. 0x90)
ehci0: interrupting at ioapic0 pin 21
ehci0: interrupting at ioapic0 pin 21
ehci0: dropped intr workaround enabled
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
pcib0 at pci0 dev 17 function 0: vendor 0x1106 product 0x3372 (rev. 0x00)
pchb6 at pci0 dev 17 function 7: vendor 0x1106 product 0x287e (rev. 0x00)
pchb7 at pci0 dev 19 function 0: vendor 0x1106 product 0x337b (rev. 0x00)
ppb3 at pci0 dev 19 function 1: vendor 0x1106 product 0x337a (rev. 0x00)
pci4 at ppb3 bus 5
pci4: i/o space, memory space enabled
bge0 at pci4 dev 3 function 0: Broadcom BCM5705K Gigabit Ethernet
bge0: interrupting at ioapic0 pin 16
bge0: ASIC BCM5705 A3 (0x3003), Ethernet address 00:1a:64:2e:51:4c
bge0: setting short Tx thresholds
brgphy0 at bge0 phy 1: BCM5705 1000BASE-T media interface, rev. 2
brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
pchb8 at pci0 dev 24 function 0: vendor 0x1022 product 0x1100 (rev. 0x00)
pchb9 at pci0 dev 24 function 1: vendor 0x1022 product 0x1101 (rev. 0x00)
pchb10 at pci0 dev 24 function 2: vendor 0x1022 product 0x1102 (rev. 0x00)
pchb11 at pci0 dev 24 function 3: vendor 0x1022 product 0x1103 (rev. 0x00)
amdtemp0 at pchb11: AMD CPU Temperature Sensors (K8: core rev BH-G2, socket S1)
isa0 at pcib0
pci5 at mainbus0 bus 128
pci5: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
hdaudio0 at pci5 dev 1 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 17
hdafg0 at hdaudio0: VIA VT1708
hdafg0: pin 20 has wrong direction for 02
hdafg0: DAC00 4ch: Speaker [Jack]
hdafg0: DIG02 2ch: SPDIF Out [Jack]
hdafg0: ADC03 2ch: CD [Jack]
hdafg0: DIG-In04 2ch: SPDIF In [Jack]
hdafg0: ADC05 2ch: Mic In [Jack]
hdafg0: DAC06 2ch: Speaker [Jack]
hdafg0: 4ch/2ch 48000Hz PCM16*
audio0 at hdafg0: full duplex, playback, capture, independent
powernow0 at cpu0: AMD PowerNow!
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhub2 at usb2: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhub3 at usb3: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
uhub4 at usb4: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
viaide0 port 0: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0
wd0: <WD801ABYS-23C0A0 39M4503 42C0461IBM>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 76324 MB, 155072 cyl, 16 head, 63 sec, 512 bytes/sect x 156312576 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
ehci0: handing over low speed device on port 3 to uhci1
uhub5 at uhub4 port 5: vendor 0x0424 product 0x2502, class 9/0, rev 2.00/0.00, addr 2
uhub5: single transaction translator
uhub5: 2 ports with 2 removable, self powered
uhidev0 at uhub1 port 1 configuration 1 interface 0
uhidev0: vendor 0x0461 USB Optical Mouse, rev 2.00/2.00, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir
wsmouse0 at ums0 mux 0
uhidev1 at uhub5 port 2 configuration 1 interface 0
uhidev1: CHICONY HP Basic USB Keyboard, rev 1.10/3.00, addr 3, iclass 3/1
ukbd0 at uhidev1: 8 modifier keys, 6 key codes
wskbd1 at ukbd0 mux 1
wskbd1: connecting to wsdisplay0
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


Please note that this kernel has com* at acpi? enabled.

>How-To-Repeat:
Boot NetBSD
>Fix:
Disable acpicpu(4)

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: jruoho@NetBSD.org
State-Changed-When: Tue, 18 Dec 2012 05:35:59 +0000
State-Changed-Why:

Is this an issue with 6.0?



>Unformatted:

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.