NetBSD-Bugs archive

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

kern/44042: ACPI problem on Dell D520 (install media and recompiled kernel)



>Number:         44042
>Category:       kern
>Synopsis:       ACPI problem on Dell D520 (install media and recompiled kernel)
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 04 19:25:00 +0000 2010
>Originator:     Alan Bueno
>Release:        NetBSD-current
>Organization:
>Environment:
NetBSD amon-ereb.arda.net 5.99.39 NetBSD 5.99.39 (GENERIC) #0: Wed Sep 29 
09:16:35 BRT 2010  
root%amon-ereb.arda.net@localhost:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
Kernel broken due to (more or less) recent changes in acpi-related code.


**
** Working kernel (Installed system; September 29):
**

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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.39 (GENERIC) #0: Wed Sep 29 09:16:35 BRT 2010
        root%amon-ereb.arda.net@localhost:/usr/obj/sys/arch/i386/compile/GENERIC
total memory = 1014 MB
avail memory = 985 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Inc. Latitude D520                   
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1596MHz, id 0x10661
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20100528
acpi0: X/RSDT: OemId <DELL  , M07    ,27d7051c>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
acpiwmi0 at acpi0 (AMW0, pnp0c14-0): ACPI WMI Interface
wmidell0 at acpiwmi0: Dell WMI mappings
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat1 at acpi0 (BAT1, PNP0C0A-2): ACPI Battery
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
MB1 (PNP0C01) at acpi0 not configured
MB2 (PNP0C01) at acpi0 not configured
MB3 (PNP0C01) at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
pckbc2 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64,0x62,0x66 irq 1
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 2
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61,0x63,0x65,0x67
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
MB4 (PNP0C01) at acpi0 not configured
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
UAR1 (PNP0501) at acpi0 not configured
acpitz0 at acpi0 (THM): ACPI Thermal Zone
acpitz0: critical 126.0 C, passive cooling
apm0 at acpi0: Power Management spec V1.2
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc2 (aux slot)
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
attimer1: attached to pcppi1
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 0x8086 product 0x27a0 (rev. 0x03)
agp0 at pchb0: detected 7932k stolen memory
agp0: aperture at 0xd0000000, size 0x10000000
vga1 at pci0 dev 2 function 0: vendor 0x8086 product 0x27a2 (rev. 0x03)
wsdisplay0 at vga1 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
i915drm0 at vga1: Intel i945GM
i915drm0: AGP at 0xd0000000 256MB
i915drm0: Initialized i915 1.6.0 20080730
vendor 0x8086 product 0x27a6 (miscellaneous display, revision 0x03) at pci0 dev 
2 function 1 not configured
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 21
hdafg0 at hdaudio0: Sigmatel STAC9200
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: ADC01 2ch: Line In [Jack], Mic In [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz 88200Hz 96000Hz 192000Hz 16/16 20/32 24/32
audio0 at hdafg0: full duplex, playback, capture, independent
hdvsmfg at hdaudio0 not configured
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x01)
ppb0: disabling notification events
pci1 at ppb0 bus 11
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 28 function 1: vendor 0x8086 product 0x27d2 (rev. 0x01)
ppb1: disabling notification events
pci2 at ppb1 bus 12
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
wpi0 at pci2 dev 0 function 0: vendor 0x8086 product 0x4222 (rev. 0x02)
wpi0: interrupting at ioapic0 pin 17
wpi0: MoW2, address 00:1c:bf:73:d1:4a
wpi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wpi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wpi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x01)
uhci0: interrupting at ioapic0 pin 20
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x01)
uhci1: interrupting at ioapic0 pin 21
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x01)
uhci2: interrupting at ioapic0 pin 22
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x27cb (rev. 0x01)
uhci3: interrupting at ioapic0 pin 23
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x01)
ehci0: interrupting at ioapic0 pin 20
ehci0: EHCI version 1.0
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3
usb4 at ehci0: USB revision 2.0
ppb2 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xe1)
pci3 at ppb2 bus 2
pci3: i/o space, memory space enabled
bce0 at pci3 dev 0 function 0: Broadcom BCM4401-B0 10/100 Ethernet
bce0: interrupting at ioapic0 pin 17
bmtphy0 at bce0 phy 1: BCM4401 10/100 media interface, rev. 0
bmtphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bce0: Ethernet address 00:1c:23:a8:c7:a3
cbb0 at pci3 dev 1 function 0: vendor 0x1217 product 0x7135 (rev. 0x21)
fwohci0 at pci3 dev 1 function 4: vendor 0x1217 product 0x00f7 (rev. 0x02)
fwohci0: interrupting at ioapic0 pin 19
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 8.
fwohci0: EUI64 37:4f:c0:00:13:95:a5:a1
fwohci0: Phy 1394a available S400, 1 ports.
fwohci0: Link S400, max_rec 2048 bytes.
ieee1394if0 at fwohci0: IEEE1394 bus
fwip0 at ieee1394if0: IP over IEEE1394
fwohci0: Initiate bus reset
cbb0: cacheline 0x0 lattimer 0x40
cbb0: bhlc 0x824000
cbb0: interrupting at ioapic0 pin 19
cardslot0 at cbb0
cardbus0 at cardslot0: bus 3
pcmcia0 at cardslot0
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x27b9 (rev. 0x01)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpiobus at ichlpcib0 not configured
piixide0 at pci0 dev 31 function 2: Intel 82801GBM/GHM Serial ATA Controller 
(ICH7) (rev. 0x01)
piixide0: bus-master DMA support present
piixide0: primary channel wired to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel wired to compatibility mode
piixide0: secondary channel interrupting at ioapic0 pin 15
atabus1 at piixide0 channel 1
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x01)
ichsmb0: interrupting at ioapic0 pin 17
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
fwohci0: BUS reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
ieee1394if0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me)
ieee1394if0: bus manager 0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter online.
uhub0 at usb0: vendor 0x8086 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 0x8086 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 0x8086 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 0x8086 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 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
uhub5 at uhub4 port 2: vendor 0x413c product 0xa005, class 9/0, rev 2.00/50.18, 
addr 2
uhub5: multiple transaction translators
uhub5: 4 ports with 0 removable, self powered
wd0 at atabus0 drive 0: <ST980811AS>
wd0: drive supports 16-sector PIO transfers, LBA48 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 6 (Ultra/133)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
atapibus0 at atabus1: 2 targets
cd0 at atapibus0 drive 0: <TSSTcorp DVD+/-RW TS-L632D, , DE04> cdrom removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(piixide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
rum0 at uhub4 port 4
rum0: Ralink 802.11 bg WLAN, rev 2.00/0.01, addr 3
rum0: MAC/BBP RT2573 (rev 0x2573a), RF RT2528, address 00:0e:2e:4a:a1:09
rum0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
rum0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
Kernelized RAIDframe activated
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)




**
** Broken kernel (Install media (CD); October 31):
**

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010
    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.39 (GENERIC) #0: Sun Oct 31 01:44:53 UTC 2010
        
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201010310000Z-obj/home/bu
ilds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
total memory = 1014 MB
avail memory = 985 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
Dell Inc. Latitude D520
mainbus0 (root)
cpu0 at mainbus0 apid 0: Intel 686-class, 1596MHz, id 0x10661
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20100528
acpi0: X/RSDT: OemId <DELL  , M07    ,27d7051c>, AslId <ASL ,00000061>
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
CPU0 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
acpiwmi0 at acpi0 (AMW0, pnp0c14-0): ACPI WMI Interface
wmidell0 at acpiwmi0: Dell WMI mappings
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-1): ACPI Battery
acpibat1 at acpi0 (BAT1, PNP0C0A-2): ACPI Battery
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PBTN, PNP0C0C): ACPI Power Button
acpibut1 at acpi0 (SBTN, PNP0C0E): ACPI Sleep Button
MB1 (PNP0C01) at acpi0 not configured
MB2 (PNP0C01) at acpi0 not configured
MB3 (PNP0C01) at acpi0 not configured
pckbc1 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
pckbc2 at acpi0 (KBC, PNP0303) (kbd port): io 0x60,0x64,0x62,0x66 irq 1
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 2
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61,0x63,0x65,0x67
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
MB4 (PNP0C01) at acpi0 not configured
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13
npx1: reported by CPUID; using exception 16
hpet0 at acpi0 (HPET, PNP0103): mem 0xfed00000-0xfed003ff
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000
UAR1 (PNP0501) at acpi0 not configured
acpivga0 at acpi0 (VID): ACPI Display Adapter
acpiout0 at acpivga0 (TV, 0x0200): ACPI Display Output Device
acpiout1 at acpivga0 (CRT, 0x0100): ACPI Display Output Device
acpiout2 at acpivga0 (LCD, 0x0400): ACPI Display Output Device
acpiout2: brightness levels: 12 24 36 48 60 72 84 100
acpiout3 at acpivga0 (DVI, 0x0300): ACPI Display Output Device
acpivga0: connected output devices:
acpivga0:   0x0100 (acpiout1): Ext. Monitor, head 0, bios detect
acpivga0:   0x0200 (acpiout0): TV, head 0, bios detect
acpivga0:   0x0400 (acpiout2): Unknown Output Device, head 0, bios detect
acpivga0:   0x0300 (acpiout3): Unknown Output Device, head 0, bios detect
acpivga1 at acpi0 (VID2): ACPI Display Adapter
ACPI Warning for \_SB_.PCI0.VID2._DOD: Return Package has no elements (empty) (2
0100528/nspredef-572)
acpivga1: failed to evaluate \_SB_.PCI0.VID2._DOD: AE_BAD_DATA
uvm_fault(0xc0af2a00, 0xc09a4000, 2) -> 0xe
fatal page fault in supervisor mode
trap type 6 code 3 eip c0483f2e cs 8 eflags 10246 cr2 c09a4a49 ilevel 8
kernel: supervisor trap page fault, code=0
Stopped in pid 0.1 (system) at  netbsd:kern_free+0x5e:  movl    $0,0(%edi)
db{0}>


**
** Trace:
**

db{0}> trace
kern_free(c09a4a49,c0a328c0,c0c36a08,c0119553,cb500600,c09a47fa,c0c36a08,c011956
6,c09a4a49,c09a4a2c) at netbsd:kern_free+0x5e
AcpiOsFree(c09a4a49,c09a4a2c,c0c369e0,c1f86400,cb200798,0,c0c369f8,cb200798,c1f6
5b20,0) at netbsd:AcpiOsFree+0x14
acpidisp_init_odinfo(cb4efa90,c09a1f9b,c0a1f4bb,c0a1f4bb,c0a1f4bb,c0a1f4bb,cb200
7a4,c061d8c6,c0aef0ac,c0a31000) at netbsd:acpidisp_init_odinfo+0x1c6
acpidisp_vga_attach(cb4efa90,cb500600,c0c36ad4,c060f0bc,0,0,cb500600,c1f86400,cb
4ef898,0) at netbsd:acpidisp_vga_attach+0x12b
config_attach_loc(cb4efa90,c0a31000,0,c0c36ad4,c0115f80,0,c0c36ab8,c1f86400,cb4e
f898,0) at netbsd:config_attach_loc+0x17c
config_found_ia(cb4efa90,c09a21a2,c0c36ad4,c0115f80,c1f8c680,c01157b0,c0c36b1c,0
,a,c1f86400) at netbsd:config_found_ia+0x1f
acpi_rescan(cb4efa90,0,0,0,0,cb347dc0,c0c36b38,cb4ef898,c1f52300,c0a30f58) at ne
tbsd:acpi_rescan+0xd7
acpi_attach(cb347dc0,cb4efa90,c0c36bc0,c060f0bc,80,10,cb4efa90,cb347bc0,c09a22c8
,cb347dc0) at netbsd:acpi_attach+0x297
config_attach_loc(cb347dc0,c0a30f58,0,c0c36bc0,0,0,0,80,c0aae300,c0a3efe8) at ne
tbsd:config_attach_loc+0x17c
config_found_ia(cb347dc0,c09a22c8,c0c36bc0,0,20050624,50434146,74,c0b0d460,c0a3e
fe8,c0a3efec) at netbsd:config_found_ia+0x1f
mainbus_rescan(cb347dc0,c09a22c8,0,cb347dc0,8,5,0,0,c0c36c74,0) at netbsd:mainbu
s_rescan+0x1c4
mainbus_attach(0,cb347dc0,0,c060f0bc,0,c0a2f500,cb347dc0,0,c09a15d4,c3c000) at n
etbsd:mainbus_attach+0xa7
config_attach_loc(0,c0a2f500,0,0,0,c0a2f500,1,0,c09a15d4,c3c000) at netbsd:confi
g_attach_loc+0x17c
config_attach(0,c0a2f500,0,0,c0c34014,c34000,c0c36d08,c01d8375,c09a15d4,0) at ne
tbsd:config_attach+0x1d
config_rootfound(c09a15d4,0,c0c36d08,c01d8366,c1f43800,c0c34014,c0c36d38,c040f24
a,0,0) at netbsd:config_rootfound+0x27
cpu_configure(0,0,0,0,0,0,c0c36d48,c0c34014,c34000,c3c000) at netbsd:cpu_configu
re+0x25
main(0,c0100307,0,0,0,0,0,0,0,0) at netbsd:main+0x1fa
db{0}>


The same problem occur with kernel built from an updated source tree
(November 4).
>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index