NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/41351: ACPI quirk for ASUS CUV4X-D



>Number:         41351
>Category:       kern
>Synopsis:       ACPI quirk for ASUS CUV4X-D
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 05 01:00:00 +0000 2009
>Originator:     Pierre Pronchery
>Release:        5.0
>Organization:
>Environment:
NetBSD pinge.defora.lan 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #1: Mon May  4 
02:27:54 CEST 2009  
khorben%kwarx.defora.lan@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
Much like my ASUS CUR-DLS board in PR #40471, the ASUS CUV4X-D mainboard fails 
to boot a stock NetBSD 5.0 kernel. It gets stuck at:

cpu0 at mainbus0 apid3

The BIOS was updated with the latest version within the last 6 months, I doubt 
there ever was any update since then.

Linux manages to boot on this mainboard most of the time (not always). When it 
fails it gets stuck at "ENABLING IOAPIC".

Anyway, here is the current dmesg, with the patch below and vesafb:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    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.0_STABLE (GENERIC) #1: Mon May  4 02:27:54 CEST 2009
        
khorben%kwarx.defora.lan@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
multiboot: Information structure flags: 0x000007e7
multiboot: Boot loader: GNU GRUB 0.97
multiboot: Command line: /netbsd.gz
multiboot: 639 KB lower memory, 1047536 KB upper memory
multiboot: Symbol table at 0xc0b653f4, length 509152 bytes
multiboot: String table at 0xc0be18d4, length 491626 bytes
total memory = 1023 MB
avail memory = 994 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
System Manufacturer System Name (System Version)
mainbus0 (root)
ACPI: BIOS implementation in listed as broken:
ACPI: X/RSDT: OemId <ASUS  ,CUV4X-D ,30303031>, AslId <MSFT,31313031>
ACPI: not used. set acpi_force_load to use anyway.
mainbus0: Intel MP Specification (Version 1.1) (OEM00000 PROD00000000)
cpu0 at mainbus0 apid 3: Intel 686-class, 1004MHz, id 0x68a
mpbios: bus 0 is type PCI   
mpbios: bus 1 is type PCI   
mpbios: bus 2 is type ISA   
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
vesabios0 at mainbus0: version 2.0, ATI Technologies Inc. V280
vesafb0 at vesabios0: VESA frame buffer
vesafb0: fb 640x480x8 @0xd8000000
vesafb0: 300 Kb memory reported, 1 screens possible
vesafb0: one screen, so hardware scrolling not possible
vesafb0: VBE/PM 1.0
wsdisplay0 at vesafb0 kbdmux 1: console (fb, vt100 emulation)
wsmux1: connecting to wsdisplay0
text at vesabios0 not configured
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: vendor 0x1106 product 0x0691 (rev. 0xc4)
agp0 at pchb0 (v2): aperture at 0xe0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0x8598 (rev. 0x00)
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled
vendor 0x1002 product 0x5960 (VGA display, revision 0x01) at pci1 dev 0 function
 0 not configured
vendor 0x1002 product 0x5940 (miscellaneous display, revision 0x01) at pci1 dev 
0 function 1 not configured
pcib0 at pci0 dev 4 function 0
pcib0: vendor 0x1106 product 0x0686 (rev. 0x40)
viaide0 at pci0 dev 4 function 1
viaide0: VIA Technologies VT82C686A (Apollo KX133) ATA100 controller
viaide0: bus-master DMA support present
viaide0: primary channel configured to compatibility mode
viaide0: primary channel interrupting at ioapic0 pin 14
atabus0 at viaide0 channel 0
viaide0: secondary channel configured to compatibility mode
viaide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at viaide0 channel 1
uhci0 at pci0 dev 4 function 2: vendor 0x1106 product 0x3038 (rev. 0x16)
uhci0: interrupting at ioapic0 pin 5
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 4 function 3: vendor 0x1106 product 0x3038 (rev. 0x16)
uhci1: interrupting at ioapic0 pin 5
usb1 at uhci1: USB revision 1.0
pchb1 at pci0 dev 4 function 4
pchb1: vendor 0x1106 product 0x3057 (rev. 0x40)
vr0 at pci0 dev 11 function 0: VIA VT6105 (Rhine III) 10/100 Ethernet
vr0: interrupting at ioapic0 pin 10
vr0: Ethernet address: 00:40:f4:7c:c5:34
ukphy0 at vr0 phy 1: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0002c6, model 0x0034, rev. 4
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
emuxki0 at pci0 dev 13 function 0: vendor 0x1102 product 0x0002 (audio multimedi
a, revision 0x08)
emuxki0: interrupting at ioapic0 pin 6
emuxki0: ac97: Crystal CS4297A codec; headphone, 20 bit DAC, 18 bit ADC, Crystal
 Semi 3D
emuxki0: ac97: ext id 200<AMAP>
audio0 at emuxki0: full duplex, mmap, independent
joy0 at pci0 dev 13 function 1: vendor 0x1102 product 0x7002 (rev 0x08)
joy0: joystick not connected
isa0 at pcib0
lpt0 at isa0 port 0x378-0x37b irq 7
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer0 at isa0 port 0x40-0x43: AT Timer
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0-0xff
npx0: reported by CPUID; using exception 16
attimer0: attached to pcppi0
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
wd0 at atabus0 drive 0: <WDC WD800BB-00JHC0>
wd0: drive supports 16-sector PIO transfers, LBA addressing
wd0: 76319 MB, 155061 cyl, 16 head, 63 sec, 512 bytes/sect x 156301488 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus0 drive 1: <WDC WD400EB-00CPF0>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd1(viaide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 1: <HL-DT-STDVD-ROM GDR8164B, , 0L06> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(viaide0:1:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex
boot device: wd0
root on wd0a dumps on wd0b
root file system type: ffs
wsdisplay0: screen 1 added (fb, vt100 emulation)
wsdisplay0: screen 2 added (fb, vt100 emulation)
wsdisplay0: screen 3 added (fb, vt100 emulation)
wsdisplay0: screen 4 added (fb, vt100 emulation)
/dev/wd0i: file system not clean; please fsck(8)
Accounting started

>How-To-Repeat:
Boot NetBSD 5.0 GENERIC on an ASUS CUV4X-D board.
>Fix:
Adding the following quirk to sys/dev/acpi/acpi_quirks.c:

        { ACPI_SIG_FADT, "ASUS  ", 0x30303031, AQ_LTE, "CUV4X-D ",
          ACPI_QUIRK_BROKEN },

(I can't generate a proper diff atm, as anoncvs.netbsd.org seems to be down)



Home | Main Index | Thread Index | Old Index