NetBSD-Bugs archive

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

kern/42937: hpet at acpi disappeared in recent current kernel



>Number:         42937
>Category:       kern
>Synopsis:       hpet at acpi disappeared in recent current kernel on Fujistu 
>FM-V LOOX P70WN (Lifebook)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 08 21:25:00 +0000 2010
>Originator:     Ryo ONODERA
>Release:        NetBSD 5.99.24
>Organization:
        
>Environment:
System: NetBSD hydrogen.elements.tetera.org 5.99.24 NetBSD 5.99.24 
(BRIGHTGIRL7) #3: Tue Mar 9 05:53:48 JST 2010 
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/BRIGHTGIRL7
 i386
Architecture: i386
Machine: i386
>Description:
The dmesg in 2007 (See http://gnats.netbsd.org/36838) has following lines.

hpet0 at acpi0 (HPET, PNP0103)
hpet0: mem 0xfed00000-0xfed003ff
hpet0: Found 64-bits HPET, will only use lowest 32-bits
timecounter: Timecounter "hpet0" frequency 14318179 Hz quality 2000

But current kernel does not detect hpet.

I apply following patch to src/sys/dev/acpi/hpet_acpi.c and get dmesg.
I will include it in this message.

The value of aa->aa_node->ad_type is assumed to be ACPI_TYPE_DEVICE (0x06),
but in my kernel the value is 0x0d (ACPI_TYPE_THERMAL).

--- hpet_acpi.c.orig    2010-03-09 05:39:41.000000000 +0900
+++ hpet_acpi.c 2010-03-09 05:53:09.000000000 +0900
@@ -65,8 +65,10 @@
 {
        struct acpi_attach_args *aa = aux;
 
-       if (aa->aa_node->ad_type != ACPI_TYPE_DEVICE)
+       if (aa->aa_node->ad_type != ACPI_TYPE_DEVICE) {
+               aprint_verbose("Not ACPI Device from hpet_acpi_match(), 
aa->aa_node->ad_type = %04x\n", aa->aa_node->ad_type);
                return 0;
+       }
 
        return acpi_match_hid(aa->aa_node->ad_devinfo, hpet_acpi_ids);
 }


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.24 (BRIGHTGIRL7) #3: Tue Mar  9 05:53:48 JST 2010
        
root%hydrogen.elements.tetera.org@localhost:/usr/obj/sys/arch/i386/compile/BRIGHTGIRL7
total memory = 1013 MB
avail memory = 985 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
FUJITSU FMVLP70WN ( )
mainbus0 (root)
Parsing all Control Methods:
Table [DSDT](id 0001) - 807 Objects with 62 Devices 197 Methods 29 Regions
Parsing all Control Methods:
Table [SSDT](id 0002) - 13 Objects with 0 Devices 4 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0003) - 5 Objects with 0 Devices 3 Methods 0 Regions
Parsing all Control Methods:
Table [SSDT](id 0004) - 1 Objects with 0 Devices 1 Methods 0 Regions
 tbxface-0601 [02] TbLoadNamespace       : ACPI Tables successfully acquired
evxfevnt-0184 [02] Enable                : Transition to ACPI mode successful
cpu0 at mainbus0 apid 0: Intel 686-class, 1197MHz, id 0x6ec
ioapic0 at mainbus0 apid 1: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20090730
acpi0: X/RSDT: OemId <FUJ   ,PC      ,01130000>, AslId <FUJ ,00000100>
evxfevnt-0170 [02] Enable                : System is already in ACPI mode
evgpeblk-1129 [04] EvCreateGpeBlock      : GPE 00 to 1F [_GPE] 4 regs on int 0x9
Completing Region/Field/Buffer/Package 
initialization:.............................................................................
Initialized 23/29 Regions 0/0 Fields 31/31 Buffers 23/23 Packages (835 nodes)
Initializing Device/Processor/Thermal objects by executing _INI methods:Parsing 
all Control Methods:
Table [SSDT](id 003A) - 35 Objects with 0 Devices 14 Methods 6 Regions
........
Executed 8 _INI methods requiring 7 _STA executions (examined 68 objects)
evgpeblk-1234 [03] EvInitializeGpeBlock  : Found 9 Wake, Enabled 4 Runtime GPEs 
in this block
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 24-bit timer
acpi0: HID PNP0C02 found in scope \_SB_ level 1
       STA 0xffffffff
acpi0: HID PNP0A08 found in scope \_SB_ level 1
       ADR 0x0000000000000000
       STA 0xffffffff
acpi0: HID PNP0C02 found in scope \_SB_ level 2
       STA 0x0000000f
acpi0: HID IFX0102 found in scope \_SB_ level 3
       UID 1
       STA 0x00000000
acpi0: HID FUJ02E6 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID FUJ02BF found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID FUJ02B1 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID FUJ02E1 found in scope \_SB_ level 3
       STA 0x00000000
acpi0: HID PNP0C09 found in scope \_SB_ level 3
       STA 0xffffffff
acpi0: HID PNP0200 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0100 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0000 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0B00 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0800 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0C04 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0320 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0F13 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID INT0800 found in scope \_SB_ level 3
       STA 0x00000000
acpi0: HID PNP0103 found in scope \_SB_ level 3
       STA 0x0000000f
acpi0: HID PNP0501 found in scope \_SB_ level 3
       UID 1
       STA 0x00000000
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 1
       STA 0x0000000b
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 2
       STA 0x0000000b
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 3
       STA 0x0000000b
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 4
       STA 0x0000000b
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 5
       STA 0x0000000b
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 6
       STA 0x00000009
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 7
       STA 0x0000000b
acpi0: HID PNP0C0F found in scope \_SB_ level 3
       UID 8
       STA 0x0000000b
acpi0: HID FUJ02E3 found in scope \_SB_ level 1
       STA 0x0000000f
acpi0: HID PNP0C0D found in scope \_SB_ level 1
       STA 0xffffffff
acpi0: HID PNP0C0C found in scope \_SB_ level 1
       STA 0x0000000f
acpi0: HID ACPI0003 found in scope \_SB_ level 1
       STA 0x0000000f
acpi0: HID PNP0C0A found in scope \_SB_ level 1
       UID 1
       STA 0x0000001f
acpi0: HID PNP0C0E found in scope \_SB_ level 1
       STA 0x00000000
DIGI (FUJ02E6) at acpi0 not configured
BTNS (FUJ02BF) at acpi0 not configured
FJEX (FUJ02B1) at acpi0 not configured
acpiec0 at acpi0 (EC, PNP0C09): io 0x62,0x66
attimer1 at acpi0 (TIME, PNP0100): io 0x40-0x43 irq 0
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61
midi0 at pcppi1: PC speaker
sysbeep0 at pcppi1
npx1 at acpi0 (MATH, PNP0C04): io 0xf0-0xfe irq 13
npx1: reported by CPUID; using exception 16
pckbc1 at acpi0 (KBC, PNP0320) (kbd port): io 0x60,0x64 irq 1
pckbc2 at acpi0 (PS2M, PNP0F13) (aux port): irq 12
FEXT (FUJ02E3) at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button
acpiacad0 at acpi0 (AC, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (CMB1, PNP0C0A-1): ACPI Battery
ACPI Warning for \_SB_.CMB1._BIF: Converted Buffer to expected String at index 
9 (20090730/nsrepair-215)
acpibat0: battery info: Fujitsu LION 1 CP240502 
Not ACPI Device from hpet_acpi_match(), aa->aa_node->ad_type = 000d
acpitz0 at acpi0 (TZ00): critical 100.0C passive 95.0C, passive cooling
Not ACPI Device from hpet_acpi_match(), aa->aa_node->ad_type = 000d
acpitz1 at acpi0 (TZ01): critical 100.0C passive 95.0C, passive cooling
apm0 at acpi0: Power Management spec V1.2
attimer1: attached to pcppi1
pckbd0 at pckbc1 (kbd slot)
pckbc1: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc1 (aux slot)
pckbc1: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
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 0xe0000000, 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
drm at vga1 not configured
vendor 0x8086 product 0x27a6 (miscellaneous display, revision 0x03) at pci0 dev 
2 function 1 not configured
azalia0 at pci0 dev 27 function 0: Generic High Definition Audio Controller
azalia0: interrupting at ioapic0 pin 17
azalia0: host: 0x8086/0x27d8 (rev. 2), HDA rev. 1.0
ppb0 at pci0 dev 28 function 0: vendor 0x8086 product 0x27d0 (rev. 0x02)
ppb0: disabling notification events
pci1 at ppb0 bus 2
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
mskc0 at pci1 dev 0 function 0, Yukon-2 EC Ultra rev. A1 (0x2): ioapic0 pin 16
msk0 at mskc0 port A: Ethernet address 00:17:42:3d:72:02
makphy0 at msk0 phy 0: Marvell 88E1149 Gigabit PHY, rev. 1
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ppb1 at pci0 dev 28 function 2: vendor 0x8086 product 0x27d4 (rev. 0x02)
ppb1: disabling notification events
pci2 at ppb1 bus 5
pci2: no spaces enabled!
uhci0 at pci0 dev 29 function 0: vendor 0x8086 product 0x27c8 (rev. 0x02)
uhci0: interrupting at ioapic0 pin 23
usb0 at uhci0: USB revision 1.0
uhci1 at pci0 dev 29 function 1: vendor 0x8086 product 0x27c9 (rev. 0x02)
uhci1: interrupting at ioapic0 pin 20
usb1 at uhci1: USB revision 1.0
uhci2 at pci0 dev 29 function 2: vendor 0x8086 product 0x27ca (rev. 0x02)
uhci2: interrupting at ioapic0 pin 18
usb2 at uhci2: USB revision 1.0
uhci3 at pci0 dev 29 function 3: vendor 0x8086 product 0x27cb (rev. 0x02)
uhci3: interrupting at ioapic0 pin 16
usb3 at uhci3: USB revision 1.0
ehci0 at pci0 dev 29 function 7: vendor 0x8086 product 0x27cc (rev. 0x02)
ehci0: interrupting at ioapic0 pin 23
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. 0xe2)
pci3 at ppb2 bus 8
pci3: i/o space, memory space enabled
cbb0 at pci3 dev 3 function 0: vendor 0x1180 product 0x0476 (rev. 0x8d)
sdhc0 at pci3 dev 3 function 1: vendor 0x1180 product 0x0822 (rev. 0x13)
sdhc0: interrupting at ioapic0 pin 17
sdmmc0 at sdhc0
cbb0: cacheline 0x0 lattimer 0x40
cbb0: bhlc 0x824000
cbb0: interrupting at ioapic0 pin 16
cardslot0 at cbb0
cardbus0 at cardslot0: bus 9
pcmcia0 at cardslot0
ichlpcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x27b9 (rev. 0x02)
timecounter: Timecounter "ichlpcib0" frequency 3579545 Hz quality 1000
ichlpcib0: 24-bit timer
ichlpcib0: TCO (watchdog) timer configured.
gpio0 at ichlpcib0: 64 pins
piixide0 at pci0 dev 31 function 1: Intel 82801GB/GR IDE Controller (ICH7) 
(rev. 0x02)
piixide0: bus-master DMA support present
piixide0: primary channel configured to compatibility mode
piixide0: primary channel interrupting at ioapic0 pin 14
atabus0 at piixide0 channel 0
piixide0: secondary channel configured to compatibility mode
piixide0: secondary channel ignored (disabled)
ichsmb0 at pci0 dev 31 function 3: vendor 0x8086 product 0x27da (rev. 0x02)
ichsmb0: interrupting at ioapic0 pin 19
iic0 at ichsmb0: I2C bus
isa0 at ichlpcib0
com0 at isa0 port 0x220-0x227 irq 4: ns16550a, working fifo
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
timecounter: Timecounter "TSC" frequency 1197105570 Hz quality 3000
acpiacad0: AC adapter online.
azalia0: codec[0]: Sigmatel STAC9228X (rev. 2.1), HDA rev. 1.0
azalia0: codec[1]: 0x11c1/0x1040 (rev. 2.0), HDA rev. 1.0
azalia0: codec[1]: No support for modem function groups
azalia0: codec[1] has no audio function groups
audio0 at azalia0: full duplex, playback, capture, independent
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
ugen0 at uhub2 port 1
ugen0: AuthenTec Fingerprint Sensor, rev 1.10/6.21, addr 2
wd0 at atabus0 drive 0: <TOSHIBA MK6006GAH>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 57231 MB, 116280 cyl, 16 head, 63 sec, 512 bytes/sect x 117210240 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
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
ubt0 at uhub2 port 2
ubt0: vendor 0x0c24 product 0x000f, rev 2.00/19.15, addr 3
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)


>How-To-Repeat:
Boot NetBSD/i386 current on LOOX P70WN, and run dmesg command.

>Fix:
I have no idea.
Please fix it.





Home | Main Index | Thread Index | Old Index