Skip site navigation (1)Skip section navigation (2)
Date:      Fri,  8 Oct 2004 08:41:52 -0700 (PDT)
From:      Kevin Oberman <oberman@es.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/72450: ASUS P5A fails to start properly with ACPI black-listed
Message-ID:  <20041008154152.848A636498@kzin.es.net>
Resent-Message-ID: <200410081550.i98FoOpW043164@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         72450
>Category:       i386
>Synopsis:       ASUS P5A fails to start properly with ACPI black-listed
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 08 15:50:24 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 5.3-BETA7 i386
>Organization:
>Environment:
System: FreeBSD kzin.es.net 5.3-BETA7 FreeBSD 5.3-BETA7 #56: Thu Oct 7 14:54:07 PDT 2004 oberman@kzin.es.net:/usr/obj/usr/src/sys/KZIN i386


	
>Description:
Without ACPI, interrupts are not correctly mapped by $PIR for the ASUS
P5A. This leaves the system with most PCI devices inoperable. ACPI is
black-listed due to a failure in the timer portion of the ACPI
code. This causes the clock to run a double speed. But, other than
this, the system runs correctly with ACPI.

Here are the ACPI dump and dmesg for the system:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 5.3-BETA7 #56: Thu Oct  7 14:54:07 PDT 2004
    oberman@kzin.es.net:/usr/obj/usr/src/sys/KZIN
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD-K6(tm) 3D+ Processor (451.02-MHz 586-class CPU)
  Origin = "AuthenticAMD"  Id = 0x591  Stepping = 1
  Features=0x8021bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,PGE,MMX>
  AMD Features=0x80000800<SYSCALL,3DNow!>
real memory  = 100646912 (95 MB)
avail memory = 92938240 (88 MB)
K6-family MTRR support enabled (2 registers)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P5A> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU (3 Cx states)> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Ali M1541 host to AGP bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
pci0: <bridge, PCI-unknown> at device 3.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
pcm0: <AudioPCI ES1373-8> port 0xd800-0xd83f irq 6 at device 9.0 on pci0
pcm0: <Cirrus Logic CS4297A AC97 Codec>
pcm0: [GIANT-LOCKED]
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xd400-0xd47f mem 0xde000000-0xde00007f irq 10 at device 11.0 on pci0
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
xl0: Ethernet address: 00:50:da:80:4b:43
atapci0: <AcerLabs Aladdin UDMA33 controller> port 0xd000-0xd00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 15.0 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
ppc0 port 0x778-0x77b,0x378-0x37b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/7 bytes threshold
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
pmtimer0 on isa0
fdc0: cannot allocate I/O port (6 ports)
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 451024338 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 13031MB <FUJITSU MPE3136AT/ED-90-06> [26476/16/63] at ata0-master UDMA33
ad2: 13029MB <Maxtor 91366U4/RA530JN0> [26473/16/63] at ata1-master UDMA33
acd0: DVDROM <COMPAQ DVD-ROM SD-M1002/2757> at ata1-slave PIO3
cd0 at ata1 bus 0 target 1 lun 0
cd0: <COMPAQ DVD-ROM SD-M1002 2757> Removable CD-ROM SCSI-0 device 
cd0: 11.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Mounting root from ufs:/dev/ad0s1a

/*
  RSD PTR: OEM=ASUS, ACPI_Rev=1.0x (0)
	RSDT=0x05ffc000, cksum=161
 */
/*
  RSDT: Length=44, Revision=1, Checksum=96,
	OEMID=ASUS, OEM Table ID=P5A, OEM Revision=0x58582e31,
	Creator ID=ASUS, Creator Revision=0x31303030
	Entries={ 0x05ffc080, 0x05ffc040 }
 */
/*
  FACP: Length=116, Revision=1, Checksum=32,
	OEMID=ASUS, OEM Table ID=P5A, OEM Revision=0x58582e31,
	Creator ID=ASUS, Creator Revision=0x31303030
 	FACS=0x5fff000, DSDT=0x5ffc100
	INT_MODEL=PIC
	Preferred_PM_Profile=Unspecified (0)
	SCI_INT=9
	SMI_CMD=0xb1, ACPI_ENABLE=0xa1, ACPI_DISABLE=0xa0, S4BIOS_REQ=0x0
	PSTATE_CNT=0x0
	PM1a_EVT_BLK=0xec00-0xec03
	PM1a_CNT_BLK=0xec04-0xec05
	PM2_CNT_BLK=0xec30-0xec30
	PM_TMR_BLK=0xec08-0xec0b
	GPE0_BLK=0xec18-0xec1b
	GPE1_BLK=0xec1c-0xec1f, GPE1_BASE=16
	P_LVL2_LAT=90 us, P_LVL3_LAT=900 us
	FLUSH_SIZE=0, FLUSH_STRIDE=0
	DUTY_OFFSET=1, DUTY_WIDTH=0
	DAY_ALRM=13, MON_ALRM=0, CENTURY=0
	IAPC_BOOT_ARCH=
	Flags={WBINVD,PROC_C1,SLP_BUTTON,RTC_S4}
 */
/*
  FACS:	Length=64, HwSig=0x00000000, Firm_Wake_Vec=0x00000000
	Global_Lock=
	Flags=
	Version=0
 */
/*
  DSDT: Length=9206, Revision=1, Checksum=35,
	OEMID=ASUS, OEM Table ID=P5A, OEM Revision=0x1000,
	Creator ID=MSFT, Creator Revision=0x1000001
 */
/*
  BOOT: Length=40, Revision=1, Checksum=111,
	OEMID=ASUS, OEM Table ID=P5A, OEM Revision=0x58582e31,
	Creator ID=ASUS, Creator Revision=0x31303030
 */

>How-To-Repeat:
	Boot up the system.
>Fix:
Patch acpi_quirks to allow for disabling of only the modules that are
actually failing in ACPI by expanding the possible quirk values to
include one for a broken timer. (njl has already provided a patch
which resolved the problem for me.)


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041008154152.848A636498>