Project

General

Profile

Actions

Bug #2414

open

Lenovo S10 acpi freeze (not new)

Added by davshao about 12 years ago. Updated over 3 years ago.

Status:
In Progress
Priority:
Normal
Assignee:
-
Category:
Other
Target version:
Start date:
08/28/2012
Due date:
% Done:

0%

Estimated time:

Description

The Lenovo S10 is a netbook that apparently uses an Intel 945 express chipset.
I can't say any recent update has broken booting when acpi is enabled: acpi has never functioned for DragonFly.

Using master through 859bc3f7658630c523bbad944a2b95089f48de46 tcp: RFC3517bis is now officially RFC6675

Locks up after booting with acpi enabled at:

cryptosoft0: <software crypto> [attached!] on motherboard
acpi0.nexus0.root0
acpi0: <LENOVO CB-01> [tentative on motherboard]
ndepotmags=6 x mag_cap=22 for Acpi-Namespace
ndepotmags=6 x mag_cap=22 for Acpi-State
ndepotmags=6 x mag_cap=22 for Acpi-Parse
ndepotmags=6 x mag_cap=22 for Acpi-ParseExt
ndepotmags=6 x mag_cap=22 for Acpi-Operand
IOAPIC: irq9, gsi 9 edge/high -> level/low

Here are some pieces from dmesg after booting with acpi disabled:

ACPI SDT: RSDP not in EBDA
ACPI SDT: RSDP in BIOS mem
ACPI FADT: SCI irq 9, level/low
MPTABLE: warning duplicated PCI int entry for bus 0, dev 29, pin 0
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
...
CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40c39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE>
AMD Features=0x100000<NX>
AMD Features2=0x1<LAHF>
...
ACPI MADT: LAPIC address 0xfee00000, flags 0x1
ACPI MADT: BSP apic id 0
ACPI MADT: cpu id 0, apic id 0
ACPI MADT: cpu id 1, apic id 1
lapic: divisor index 0, frequency 66500312 Hz
SMP: CPU0 apic_initialize():
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
SMP: Waiting APs LAPIC initialization
SMP: CPU1 apic_initialize():
lint0: 0x00010000 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
ACPI MADT: warning invalid intsrc irq 9 trig, level
ACPI MADT: IOAPIC addr 0xfec00000, apic id 2, gsi base 0
ACPI MADT: INTSRC irq 0 > gsi 2 edge/high
...
IOAPIC: irq 9, gsi 9 -> cpu0 (sci)
IOAPIC: irq 9 -> gsi 9 edge/high
...
IOAPIC: legacy irq max 24
...
ELCR Found. ISA IRQs programmed as:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
E E E L E L E E E E L L E E E E
MPTABLE: 0:28 INTA -> IOAPIC 0.17
MPTABLE: 0:27 INTA -> IOAPIC 0.22
MPTABLE: 0:29 INTB -> IOAPIC 0.19
MPTABLE: 0:2 INTA -> IOAPIC 0.16
MPTABLE: 0:28 INTB -> IOAPIC 0.16
MPTABLE: 0:28 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTA -> IOAPIC 0.23
MPTABLE: 0:29 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTD -> IOAPIC 0.16
MPTABLE: 0:31 INTB -> IOAPIC 0.19
MPTABLE: 2:0 INTA -> IOAPIC 0.16
...
BITS within APICID: logical_CPU_bits: 1; core_bits: 0
CPU Topology: cores_per_chip: 1; threads_per_core: 2; chips_per_package: 1;
Start scheduler helpers on cpus:
cpu0 - HyperThreading available. Core siblings: cpu0 cpu1
cpu1 - HyperThreading available. Core siblings: cpu0 cpu1
start dummy scheduler helpers on cpus: 0 1
...
IOAPIC: rman cpu0 0 - 1
IOAPIC: rman cpu0 3 - 95
IOAPIC: rman cpu0 97 - 191
IOAPIC: rman cpu1 24 - 95
IOAPIC: rman cpu1 97 - 191
npx0.nexus0.root0
npx0: <math processor> [tentative] on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
npx0: <math processor> [attached!] on motherboard
cryptosoft0.nexus0.root0
cryptosoft0: <software crypto> [tentative] on motherboard
crypto: assign cryptosoft0 driver id 0, flags 234881024
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
...
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
cryptosoft0: <software crypto> [attached!] on motherboard
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fa04
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=27ac8086)
pcibios: BIOS version 3.00
$PIR: checksum failed!
pcib0.legacy0.nexus0.root0
pcib0: <MPTABLE Host-PCI bridge> [tentative] pcibus 0 on motherboard
pci0.pcib0.legacy0.nexus0.root0
pci0: <PCI bus> [tentative] on pcib0
pci0: domain=0, physical bus=0
found
> vendor=0x8086, dev=0x27ac, revid=0x03
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27ae, revid=0x03
domain=0, bus=0, slot=2, func=0
...
agp0: <Intel 945GME SVGA controller> [attached!] on vgapci0
...
usb0: <Intel 82801G (ICH7) USB controller> [tentative] on uhci0

Actions #1

Updated by sepherosa about 12 years ago

On Wed, Aug 29, 2012 at 6:58 AM, David Shao via Redmine
<> wrote:

Issue #2414 has been reported by David Shao.

----------------------------------------
Bug #2414: Lenovo S10 acpi freeze (not new)
http://bugs.dragonflybsd.org/issues/2414

Author: David Shao
Status: New
Priority: Normal
Assignee:
Category:
Target version:

The Lenovo S10 is a netbook that apparently uses an Intel 945 express chipset.
I can't say any recent update has broken booting when acpi is enabled: acpi has never functioned for DragonFly.

Using master through 859bc3f7658630c523bbad944a2b95089f48de46 tcp: RFC3517bis is now officially RFC6675

Locks up after booting with acpi enabled at:

cryptosoft0: <software crypto> [attached!] on motherboard
acpi0.nexus0.root0
acpi0: <LENOVO CB-01> [tentative on motherboard]
ndepotmags=6 x mag_cap=22 for Acpi-Namespace
ndepotmags=6 x mag_cap=22 for Acpi-State
ndepotmags=6 x mag_cap=22 for Acpi-Parse
ndepotmags=6 x mag_cap=22 for Acpi-ParseExt
ndepotmags=6 x mag_cap=22 for Acpi-Operand
IOAPIC: irq9, gsi 9 edge/high -> level/low

Looks like it is caused by SCI trigger/polarity testing. Could you
put following into /boot/loader.conf and try boot w/ acpi:
hw.acpi.sci.trigger="level"
hw.acpi.sci.polarity="high"

Best Regards,
sephe

Here are some pieces from dmesg after booting with acpi disabled:

ACPI SDT: RSDP not in EBDA
ACPI SDT: RSDP in BIOS mem
ACPI FADT: SCI irq 9, level/low
MPTABLE: warning duplicated PCI int entry for bus 0, dev 29, pin 0
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
...
CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40c39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE>
AMD Features=0x100000<NX>
AMD Features2=0x1<LAHF>
...
ACPI MADT: LAPIC address 0xfee00000, flags 0x1
ACPI MADT: BSP apic id 0
ACPI MADT: cpu id 0, apic id 0
ACPI MADT: cpu id 1, apic id 1
lapic: divisor index 0, frequency 66500312 Hz
SMP: CPU0 apic_initialize():
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
SMP: Waiting APs LAPIC initialization
SMP: CPU1 apic_initialize():
lint0: 0x00010000 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
ACPI MADT: warning invalid intsrc irq 9 trig, level
ACPI MADT: IOAPIC addr 0xfec00000, apic id 2, gsi base 0
ACPI MADT: INTSRC irq 0 > gsi 2 edge/high
...
IOAPIC: irq 9, gsi 9 -> cpu0 (sci)
IOAPIC: irq 9 -> gsi 9 edge/high
...
IOAPIC: legacy irq max 24
...
ELCR Found. ISA IRQs programmed as:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
E E E L E L E E E E L L E E E E
MPTABLE: 0:28 INTA -> IOAPIC 0.17
MPTABLE: 0:27 INTA -> IOAPIC 0.22
MPTABLE: 0:29 INTB -> IOAPIC 0.19
MPTABLE: 0:2 INTA -> IOAPIC 0.16
MPTABLE: 0:28 INTB -> IOAPIC 0.16
MPTABLE: 0:28 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTA -> IOAPIC 0.23
MPTABLE: 0:29 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTD -> IOAPIC 0.16
MPTABLE: 0:31 INTB -> IOAPIC 0.19
MPTABLE: 2:0 INTA -> IOAPIC 0.16
...
BITS within APICID: logical_CPU_bits: 1; core_bits: 0
CPU Topology: cores_per_chip: 1; threads_per_core: 2; chips_per_package: 1;
Start scheduler helpers on cpus:
cpu0 - HyperThreading available. Core siblings: cpu0 cpu1
cpu1 - HyperThreading available. Core siblings: cpu0 cpu1
start dummy scheduler helpers on cpus: 0 1
...
IOAPIC: rman cpu0 0 - 1
IOAPIC: rman cpu0 3 - 95
IOAPIC: rman cpu0 97 - 191
IOAPIC: rman cpu1 24 - 95
IOAPIC: rman cpu1 97 - 191
npx0.nexus0.root0
npx0: <math processor> [tentative] on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
npx0: <math processor> [attached!] on motherboard
cryptosoft0.nexus0.root0
cryptosoft0: <software crypto> [tentative] on motherboard
crypto: assign cryptosoft0 driver id 0, flags 234881024
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
...
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
cryptosoft0: <software crypto> [attached!] on motherboard
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fa04
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=27ac8086)
pcibios: BIOS version 3.00
$PIR: checksum failed!
pcib0.legacy0.nexus0.root0
pcib0: <MPTABLE Host-PCI bridge> [tentative] pcibus 0 on motherboard
pci0.pcib0.legacy0.nexus0.root0
pci0: <PCI bus> [tentative] on pcib0
pci0: domain=0, physical bus=0
found
> vendor=0x8086, dev=0x27ac, revid=0x03
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27ae, revid=0x03
domain=0, bus=0, slot=2, func=0
...
agp0: <Intel 945GME SVGA controller> [attached!] on vgapci0
...
usb0: <Intel 82801G (ICH7) USB controller> [tentative] on uhci0

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

Actions #2

Updated by sepherosa about 12 years ago

On Wed, Aug 29, 2012 at 6:58 AM, David Shao via Redmine
<> wrote:

Issue #2414 has been reported by David Shao.

----------------------------------------
Bug #2414: Lenovo S10 acpi freeze (not new)
http://bugs.dragonflybsd.org/issues/2414

Author: David Shao
Status: New
Priority: Normal
Assignee:
Category:
Target version:

The Lenovo S10 is a netbook that apparently uses an Intel 945 express chipset.
I can't say any recent update has broken booting when acpi is enabled: acpi has never functioned for DragonFly.

Using master through 859bc3f7658630c523bbad944a2b95089f48de46 tcp: RFC3517bis is now officially RFC6675

Locks up after booting with acpi enabled at:

cryptosoft0: <software crypto> [attached!] on motherboard
acpi0.nexus0.root0
acpi0: <LENOVO CB-01> [tentative on motherboard]
ndepotmags=6 x mag_cap=22 for Acpi-Namespace
ndepotmags=6 x mag_cap=22 for Acpi-State
ndepotmags=6 x mag_cap=22 for Acpi-Parse
ndepotmags=6 x mag_cap=22 for Acpi-ParseExt
ndepotmags=6 x mag_cap=22 for Acpi-Operand
IOAPIC: irq9, gsi 9 edge/high -> level/low

Here are some pieces from dmesg after booting with acpi disabled:

ACPI SDT: RSDP not in EBDA
ACPI SDT: RSDP in BIOS mem
ACPI FADT: SCI irq 9, level/low

Grr, I didn't notice that you have forced the SCI to level/low. It is
probably wrong for your box. And I believe if you want to force it on
this box, it should be set to leve/high; you probably just let the
code do the SCI trigger/polarity testing (by not setting polarity and
trigger).

After all, I will augment the SCI trigger/polarity testing code a
little bit to test the ACPI MADT interrupt overriden preferred
trigger/polarity first.

MPTABLE: warning duplicated PCI int entry for bus 0, dev 29, pin 0
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
...
CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40c39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE>
AMD Features=0x100000<NX>
AMD Features2=0x1<LAHF>
...
ACPI MADT: LAPIC address 0xfee00000, flags 0x1
ACPI MADT: BSP apic id 0
ACPI MADT: cpu id 0, apic id 0
ACPI MADT: cpu id 1, apic id 1
lapic: divisor index 0, frequency 66500312 Hz
SMP: CPU0 apic_initialize():
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
SMP: Waiting APs LAPIC initialization
SMP: CPU1 apic_initialize():
lint0: 0x00010000 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
ACPI MADT: warning invalid intsrc irq 9 trig, level
ACPI MADT: IOAPIC addr 0xfec00000, apic id 2, gsi base 0
ACPI MADT: INTSRC irq 0 > gsi 2 edge/high
...
IOAPIC: irq 9, gsi 9 -> cpu0 (sci)
IOAPIC: irq 9 -> gsi 9 edge/high
...
IOAPIC: legacy irq max 24
...
ELCR Found. ISA IRQs programmed as:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
E E E L E L E E E E L L E E E E
MPTABLE: 0:28 INTA -> IOAPIC 0.17
MPTABLE: 0:27 INTA -> IOAPIC 0.22
MPTABLE: 0:29 INTB -> IOAPIC 0.19
MPTABLE: 0:2 INTA -> IOAPIC 0.16
MPTABLE: 0:28 INTB -> IOAPIC 0.16
MPTABLE: 0:28 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTA -> IOAPIC 0.23
MPTABLE: 0:29 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTD -> IOAPIC 0.16
MPTABLE: 0:31 INTB -> IOAPIC 0.19
MPTABLE: 2:0 INTA -> IOAPIC 0.16
...
BITS within APICID: logical_CPU_bits: 1; core_bits: 0
CPU Topology: cores_per_chip: 1; threads_per_core: 2; chips_per_package: 1;
Start scheduler helpers on cpus:
cpu0 - HyperThreading available. Core siblings: cpu0 cpu1
cpu1 - HyperThreading available. Core siblings: cpu0 cpu1
start dummy scheduler helpers on cpus: 0 1
...
IOAPIC: rman cpu0 0 - 1
IOAPIC: rman cpu0 3 - 95
IOAPIC: rman cpu0 97 - 191
IOAPIC: rman cpu1 24 - 95
IOAPIC: rman cpu1 97 - 191
npx0.nexus0.root0
npx0: <math processor> [tentative] on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
npx0: <math processor> [attached!] on motherboard
cryptosoft0.nexus0.root0
cryptosoft0: <software crypto> [tentative] on motherboard
crypto: assign cryptosoft0 driver id 0, flags 234881024
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
...
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
cryptosoft0: <software crypto> [attached!] on motherboard
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fa04
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=27ac8086)
pcibios: BIOS version 3.00
$PIR: checksum failed!
pcib0.legacy0.nexus0.root0
pcib0: <MPTABLE Host-PCI bridge> [tentative] pcibus 0 on motherboard
pci0.pcib0.legacy0.nexus0.root0
pci0: <PCI bus> [tentative] on pcib0
pci0: domain=0, physical bus=0
found
> vendor=0x8086, dev=0x27ac, revid=0x03
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27ae, revid=0x03
domain=0, bus=0, slot=2, func=0
...
agp0: <Intel 945GME SVGA controller> [attached!] on vgapci0
...
usb0: <Intel 82801G (ICH7) USB controller> [tentative] on uhci0

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

Actions #3

Updated by davshao about 12 years ago

Lenovo S10 still locks up same place. Here are parts of a verbose dmesg from FreeBSD 9.1 RC1:

MP Configuration Table version 1.4 found at 0xc009fc71
Table 'FACP' at 0x3f6e1d4d
Table 'HPET' at 0x3f6e1e41
Table 'MCFG' at 0x3f6e1e79
Table 'TCPA' at 0x3f6e1eb5
Table 'TMOR' at 0x3f6e1ee7
Table 'APIC' at 0x3f6e1f0d
APIC: Found table at 0x3f6e1f0d
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
SMP: Added CPU 1 (AP)
...
ACPI: RSDP 0xf7a50 00024 (v02 PTLTD )
ACPI: XSDT 0x3f6da0f4 0007C (v01 LENOVO CB-01 06040000 LTP 00000000)
ACPI: FACP 0x3f6e1d4d 000F4 (v03 INTEL CALISTGA 06040000 ALAN 00000001)
ACPI: DSDT 0x3f6db2ee 069EB (v01 INTEL CALISTGA 06040000 INTL 20061109)
ACPI: FACS 0x3f6e2fc0 00040
ACPI: HPET 0x3f6e1e41 00038 (v01 INTEL CALISTGA 06040000 LOHR 0000005A)
ACPI: MCFG 0x3f6e1e79 0003C (v01 INTEL CALISTGA 06040000 LOHR 0000005A)
ACPI: TCPA 0x3f6e1eb5 00032 (v01 PTLTD CALISTGA 06040000 PTL 00000001)
ACPI: TMOR 0x3f6e1ee7 00026 (v01 PTLTD 06040000 PTL 00000003)
ACPI: APIC 0x3f6e1f0d 00068 (v01 PTLTD ? APIC 06040000 LTP 00000000)
ACPI: BOOT 0x3f6e1f75 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: ASF! 0x3f6e1f9d 00063 (v16 CETP CETP 06040000 PTL 00000001)
ACPI: SSDT 0x3f6da70c 0025F (v01 PmRef Cpu0Tst 00003000 INTL 20050624)
ACPI: SSDT 0x3f6da666 000A6 (v01 PmRef Cpu1Tst 00003000 INTL 20050624)
ACPI: SSDT 0x3f6da170 004F6 (v02 PmRef CpuPm 00003000 INTL 20050624)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Routing external 8259A's -> intpin 0
lapic0: Routing NMI -> LINT1
lapic0: LINT1 trigger: edge
lapic0: LINT1 polarity: high
lapic1: Routing NMI -> LINT1
lapic1: LINT1 trigger: edge
lapic1: LINT1 polarity: high
MADT: Interrupt override: source 0, irq 2
ioapic0: Routing IRQ 0 -> intpin 2
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic0 <Version 2.0> irqs 0-23 on motherboard
cpu0 BSP:
ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000100ef therm: 0x00000200 err: 0x000000f0 pmc: 0x00010400
wlan: <802.11 Link Layer>
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
random: <entropy source, Software, Yarrow>
nfslock: pseudo-device
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
Pentium Pro MTRR support enabled
VESA: INT 0x10 vector 0xc000:0x0014
...
null: <null device, zero device>
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
acpi0: <LENOVO CB-01> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
pcibios: BIOS version 3.00
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
acpi0: Power Button (fixed)
acpi0: wakeup code va 0xd9301000 pa 0x9e000
hpet0: vendor 0x8086, rev 0x1, 14318180Hz 64bit, 3 timers, legacy route
hpet0: t0: irqs 0x00f00000 (0), 64bit, periodic
hpet0: t1: irqs 0x00f00000 (0)
hpet0: t2: irqs 0x00f00800 (0)
Timecounter "HPET" frequency 14318180 Hz quality 950
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 49
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
cpu0: Processor \\_PR_.CPU0 (ACPI ID 0) -> APIC ID 0
cpu0: <ACPI CPU> on acpi0
ACPI: SSDT 0x3f6dafd5 00245 (v02 PmRef Cpu0Ist 00003000 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 00245 (v02 PmRef Cpu0Ist 00003000 INTL 20050624)
ACPI: SSDT 0x3f6da96b 005E5 (v02 PmRef Cpu0Cst 00003001 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 005E5 (v02 PmRef Cpu0Cst 00003001 INTL 20050624)
cpu1: Processor \\_PR_.CPU1 (ACPI ID 1) -> APIC ID 1
cpu1: <ACPI CPU> on acpi0
ACPI: SSDT 0x3f6db21a 000D4 (v02 PmRef Cpu1Ist 00003000 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 000D4 (v02 PmRef Cpu1Ist 00003000 INTL 20050624)
ACPI: SSDT 0x3f6daf50 00085 (v02 PmRef Cpu1Cst 00003000 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 00085 (v02 PmRef Cpu1Cst 00003000 INTL 20050624)
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)
ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 50
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 51
Event timer "i8254" frequency 1193182 Hz quality 100
ACPI timer: 1/3 1/3 1/3 1/3 1/3 1/3 1/3 1/3 1/3 1/3 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0

Actions #4

Updated by sepherosa about 12 years ago

On Sat, Sep 1, 2012 at 9:24 AM, David Shao via Redmine
<> wrote:

Issue #2414 has been updated by David Shao.

Lenovo S10 still locks up same place. Here are parts of a verbose dmesg from FreeBSD 9.1 RC1:

Could you show me where does it locks up?

And could you test booting the box w/ hw.pci.mcfg="0" in /boot/loader.conf?

Best Regards,
sephe

MP Configuration Table version 1.4 found at 0xc009fc71
Table 'FACP' at 0x3f6e1d4d
Table 'HPET' at 0x3f6e1e41
Table 'MCFG' at 0x3f6e1e79
Table 'TCPA' at 0x3f6e1eb5
Table 'TMOR' at 0x3f6e1ee7
Table 'APIC' at 0x3f6e1f0d
APIC: Found table at 0x3f6e1f0d
APIC: Using the MADT enumerator.
MADT: Found CPU APIC ID 0 ACPI ID 0: enabled
SMP: Added CPU 0 (AP)
MADT: Found CPU APIC ID 1 ACPI ID 1: enabled
SMP: Added CPU 1 (AP)
...
ACPI: RSDP 0xf7a50 00024 (v02 PTLTD )
ACPI: XSDT 0x3f6da0f4 0007C (v01 LENOVO CB-01 06040000 LTP 00000000)
ACPI: FACP 0x3f6e1d4d 000F4 (v03 INTEL CALISTGA 06040000 ALAN 00000001)
ACPI: DSDT 0x3f6db2ee 069EB (v01 INTEL CALISTGA 06040000 INTL 20061109)
ACPI: FACS 0x3f6e2fc0 00040
ACPI: HPET 0x3f6e1e41 00038 (v01 INTEL CALISTGA 06040000 LOHR 0000005A)
ACPI: MCFG 0x3f6e1e79 0003C (v01 INTEL CALISTGA 06040000 LOHR 0000005A)
ACPI: TCPA 0x3f6e1eb5 00032 (v01 PTLTD CALISTGA 06040000 PTL 00000001)
ACPI: TMOR 0x3f6e1ee7 00026 (v01 PTLTD 06040000 PTL 00000003)
ACPI: APIC 0x3f6e1f0d 00068 (v01 PTLTD ? APIC 06040000 LTP 00000000)
ACPI: BOOT 0x3f6e1f75 00028 (v01 PTLTD $SBFTBL$ 06040000 LTP 00000001)
ACPI: ASF! 0x3f6e1f9d 00063 (v16 CETP CETP 06040000 PTL 00000001)
ACPI: SSDT 0x3f6da70c 0025F (v01 PmRef Cpu0Tst 00003000 INTL 20050624)
ACPI: SSDT 0x3f6da666 000A6 (v01 PmRef Cpu1Tst 00003000 INTL 20050624)
ACPI: SSDT 0x3f6da170 004F6 (v02 PmRef CpuPm 00003000 INTL 20050624)
MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000
ioapic0: Routing external 8259A's -> intpin 0
lapic0: Routing NMI -> LINT1
lapic0: LINT1 trigger: edge
lapic0: LINT1 polarity: high
lapic1: Routing NMI -> LINT1
lapic1: LINT1 trigger: edge
lapic1: LINT1 polarity: high
MADT: Interrupt override: source 0, irq 2
ioapic0: Routing IRQ 0 -> intpin 2
MADT: Interrupt override: source 9, irq 9
ioapic0: intpin 9 trigger: level
ioapic0 <Version 2.0> irqs 0-23 on motherboard
cpu0 BSP:
ID: 0x00000000 VER: 0x00050014 LDR: 0x00000000 DFR: 0xffffffff
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
timer: 0x000100ef therm: 0x00000200 err: 0x000000f0 pmc: 0x00010400
wlan: <802.11 Link Layer>
snd_unit_init() u=0x00ff8000 [512] d=0x00007c00 [32] c=0x000003ff [1024]
feeder_register: snd_unit=-1 snd_maxautovchans=16 latency=5 feeder_rate_min=1 feeder_rate_max=2016000 feeder_rate_round=25
random: <entropy source, Software, Yarrow>
nfslock: pseudo-device
kbd: new array size 4
kbd1 at kbdmux0
mem: <memory>
Pentium Pro MTRR support enabled
VESA: INT 0x10 vector 0xc000:0x0014
...
null: <null device, zero device>
hptrr: RocketRAID 17xx/2xxx SATA controller driver v1.2
acpi0: <LENOVO CB-01> on motherboard
PCIe: Memory Mapped configuration base @ 0xe0000000
pcibios: BIOS version 3.00
ioapic0: routing intpin 9 (ISA IRQ 9) to lapic 0 vector 48
acpi0: Power Button (fixed)
acpi0: wakeup code va 0xd9301000 pa 0x9e000
hpet0: vendor 0x8086, rev 0x1, 14318180Hz 64bit, 3 timers, legacy route
hpet0: t0: irqs 0x00f00000 (0), 64bit, periodic
hpet0: t1: irqs 0x00f00000 (0)
hpet0: t2: irqs 0x00f00800 (0)
Timecounter "HPET" frequency 14318180 Hz quality 950
ioapic0: routing intpin 20 (PCI IRQ 20) to lapic 0 vector 49
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 440
Event timer "HPET2" frequency 14318180 Hz quality 440
cpu0: Processor \\_PR_.CPU0 (ACPI ID 0) -> APIC ID 0
cpu0: <ACPI CPU> on acpi0
ACPI: SSDT 0x3f6dafd5 00245 (v02 PmRef Cpu0Ist 00003000 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 00245 (v02 PmRef Cpu0Ist 00003000 INTL 20050624)
ACPI: SSDT 0x3f6da96b 005E5 (v02 PmRef Cpu0Cst 00003001 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 005E5 (v02 PmRef Cpu0Cst 00003001 INTL 20050624)
cpu1: Processor \\_PR_.CPU1 (ACPI ID 1) -> APIC ID 1
cpu1: <ACPI CPU> on acpi0
ACPI: SSDT 0x3f6db21a 000D4 (v02 PmRef Cpu1Ist 00003000 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 000D4 (v02 PmRef Cpu1Ist 00003000 INTL 20050624)
ACPI: SSDT 0x3f6daf50 00085 (v02 PmRef Cpu1Cst 00003000 INTL 20050624)
ACPI: Dynamic OEM Table Load:
ACPI: SSDT 0 00085 (v02 PmRef Cpu1Cst 00003000 INTL 20050624)
atrtc0: <AT realtime clock> port 0x70-0x77 irq 8 on acpi0
atrtc0: Warning: Couldn't map I/O.
atrtc0: registered as a time-of-day clock (resolution 1000000us, adjustment 0.500000000s)
ioapic0: routing intpin 8 (ISA IRQ 8) to lapic 0 vector 50
Event timer "RTC" frequency 32768 Hz quality 0
attimer0: <AT timer> port 0x40-0x43,0x50-0x53 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
ioapic0: routing intpin 2 (ISA IRQ 0) to lapic 0 vector 51
Event timer "i8254" frequency 1193182 Hz quality 100
ACPI timer: 1/3 1/3 1/3 1/3 1/3 1/3 1/3 1/3 1/3 1/3 -> 10
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0
acpi_ec0: <Embedded Controller: GPE 0x17> port 0x62,0x66 on acpi0

----------------------------------------
Bug #2414: Lenovo S10 acpi freeze (not new)
http://bugs.dragonflybsd.org/issues/2414

Author: David Shao
Status: New
Priority: Normal
Assignee:
Category:
Target version:

The Lenovo S10 is a netbook that apparently uses an Intel 945 express chipset.
I can't say any recent update has broken booting when acpi is enabled: acpi has never functioned for DragonFly.

Using master through 859bc3f7658630c523bbad944a2b95089f48de46 tcp: RFC3517bis is now officially RFC6675

Locks up after booting with acpi enabled at:

cryptosoft0: <software crypto> [attached!] on motherboard
acpi0.nexus0.root0
acpi0: <LENOVO CB-01> [tentative on motherboard]
ndepotmags=6 x mag_cap=22 for Acpi-Namespace
ndepotmags=6 x mag_cap=22 for Acpi-State
ndepotmags=6 x mag_cap=22 for Acpi-Parse
ndepotmags=6 x mag_cap=22 for Acpi-ParseExt
ndepotmags=6 x mag_cap=22 for Acpi-Operand
IOAPIC: irq9, gsi 9 edge/high -> level/low

Here are some pieces from dmesg after booting with acpi disabled:

ACPI SDT: RSDP not in EBDA
ACPI SDT: RSDP in BIOS mem
ACPI FADT: SCI irq 9, level/low
MPTABLE: warning duplicated PCI int entry for bus 0, dev 29, pin 0
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
MPTABLE: warning duplicated PCI int entry for bus 0, dev 31, pin 1
...
CPU: Intel(R) Atom(TM) CPU N270 @ 1.60GHz (1596.02-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x106c2 Stepping = 2
Features=0xbfe9fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Features2=0x40c39d<SSE3,DTES64,MON,DS_CPL,EST,TM2,SSSE3,xTPR,PDCM,MOVBE>
AMD Features=0x100000<NX>
AMD Features2=0x1<LAHF>
...
ACPI MADT: LAPIC address 0xfee00000, flags 0x1
ACPI MADT: BSP apic id 0
ACPI MADT: cpu id 0, apic id 0
ACPI MADT: cpu id 1, apic id 1
lapic: divisor index 0, frequency 66500312 Hz
SMP: CPU0 apic_initialize():
lint0: 0x00010700 lint1: 0x00000400 TPR: 0x00000000 SVR: 0x000001ff
SMP: Waiting APs LAPIC initialization
SMP: CPU1 apic_initialize():
lint0: 0x00010000 lint1: 0x00010400 TPR: 0x00000000 SVR: 0x000001ff
ACPI MADT: warning invalid intsrc irq 9 trig, level
ACPI MADT: IOAPIC addr 0xfec00000, apic id 2, gsi base 0
ACPI MADT: INTSRC irq 0 > gsi 2 edge/high
...
IOAPIC: irq 9, gsi 9 -> cpu0 (sci)
IOAPIC: irq 9 -> gsi 9 edge/high
...
IOAPIC: legacy irq max 24
...
ELCR Found. ISA IRQs programmed as:
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
E E E L E L E E E E L L E E E E
MPTABLE: 0:28 INTA -> IOAPIC 0.17
MPTABLE: 0:27 INTA -> IOAPIC 0.22
MPTABLE: 0:29 INTB -> IOAPIC 0.19
MPTABLE: 0:2 INTA -> IOAPIC 0.16
MPTABLE: 0:28 INTB -> IOAPIC 0.16
MPTABLE: 0:28 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTA -> IOAPIC 0.23
MPTABLE: 0:29 INTC -> IOAPIC 0.18
MPTABLE: 0:29 INTD -> IOAPIC 0.16
MPTABLE: 0:31 INTB -> IOAPIC 0.19
MPTABLE: 2:0 INTA -> IOAPIC 0.16
...
BITS within APICID: logical_CPU_bits: 1; core_bits: 0
CPU Topology: cores_per_chip: 1; threads_per_core: 2; chips_per_package: 1;
Start scheduler helpers on cpus:
cpu0 - HyperThreading available. Core siblings: cpu0 cpu1
cpu1 - HyperThreading available. Core siblings: cpu0 cpu1
start dummy scheduler helpers on cpus: 0 1
...
IOAPIC: rman cpu0 0 - 1
IOAPIC: rman cpu0 3 - 95
IOAPIC: rman cpu0 97 - 191
IOAPIC: rman cpu1 24 - 95
IOAPIC: rman cpu1 97 - 191
npx0.nexus0.root0
npx0: <math processor> [tentative] on motherboard
npx0: INT 16 interface
Using XMM optimized bcopy/copyin/copyout
npx0: <math processor> [attached!] on motherboard
cryptosoft0.nexus0.root0
cryptosoft0: <software crypto> [tentative] on motherboard
crypto: assign cryptosoft0 driver id 0, flags 234881024
crypto: cryptosoft0 registers alg 1 flags 0 maxoplen 0
...
crypto: cryptosoft0 registers alg 17 flags 0 maxoplen 0
cryptosoft0: <software crypto> [attached!] on motherboard
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fa04
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=27ac8086)
pcibios: BIOS version 3.00
$PIR: checksum failed!
pcib0.legacy0.nexus0.root0
pcib0: <MPTABLE Host-PCI bridge> [tentative] pcibus 0 on motherboard
pci0.pcib0.legacy0.nexus0.root0
pci0: <PCI bus> [tentative] on pcib0
pci0: domain=0, physical bus=0
found
> vendor=0x8086, dev=0x27ac, revid=0x03
domain=0, bus=0, slot=0, func=0
class=06-00-00, hdrtype=0x00, mfdev=0
cmdreg=0x0106, statreg=0x2090, cachelnsz=0 (dwords)
lattimer=0x00 (0 ns), mingnt=0x00 (0 ns), maxlat=0x00 (0 ns)
found-> vendor=0x8086, dev=0x27ae, revid=0x03
domain=0, bus=0, slot=2, func=0
...
agp0: <Intel 945GME SVGA controller> [attached!] on vgapci0
...
usb0: <Intel 82801G (ICH7) USB controller> [tentative] on uhci0

--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

--
Tomorrow Will Never Die

Actions #5

Updated by tuxillo over 10 years ago

  • Description updated (diff)
  • Category set to Other
  • Target version set to 3.9.x

Hi,

Does it work with latest/freshest/newest master?
Is it still possible to provide feedback to Sephe?

Cheers,
Antonio Huete

Actions #6

Updated by davshao over 10 years ago

This bug report may be merged with

http://bugs.dragonflybsd.org/issues/2653

"Timer DELAY hangs boot on Lenovo S10 Intel Atom N270 with acpi enabled"

bug report 2653 providing a "fix" for the issue(s) that involves commenting out certain DELAYs. The reason a patch has not been submitted is that I have not figured out a satisfactory replacement for these DELAYs.

Actions #7

Updated by tuxillo almost 10 years ago

  • Status changed from New to In Progress
  • Target version changed from 3.9.x to 4.2
  • Parent task set to #2653
Actions #8

Updated by tuxillo over 3 years ago

  • Parent task deleted (#2653)
Actions #9

Updated by tuxillo over 3 years ago

  • Target version changed from 4.2 to 6.0

Parent was #2653, now removed. Need to verify if this is solved or we close it.

Actions

Also available in: Atom PDF