Intel Baytrail-M NUC(DN2820FYKH) does not able to boot FreeBSD-CURRENT/amd64, because of its buggy ACPI table. It has two incorrect parameters on MADT: Type=Local APIC NMI ACPI CPU=1 LINT Pin=60 Flags={Polarity=active-hi, Trigger=0x2} <-- trigger value is incorrect. 2 is reserved Type=Local APIC NMI ACPI CPU=2 LINT Pin=61 Flags={Polarity=0x2, Trigger=level} <-- polarity value is incorrect. 2 is reserved Because of this, interrupt_trigger() panics with "Bogus Interrupt Trigger Mode". Also interrupt_polarity() panics with "Bogus Interrupt Polarity". I think this is BIOS bug, but we can do some workaround for the machine. Fix: Linux uses level trigger and low polarity if the value is 0x2(reserved). http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 We can do similar workaround, but with warning message. Patch attached with submission follows: How-To-Repeat: Boot -CURRENT on NUC.
State Changed From-To: open->closed Committed as revision 263795
A commit references this bug: Author: rodrigc Date: Mon Jun 23 22:31:28 UTC 2014 New revision: 267807 URL: http://svnweb.freebsd.org/changeset/base/267807 Log: MFC r263795: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with Linux-3.13.5. References: http://d.hatena.ne.jp/syuu1228/20140326 http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 Submitted by: syuu PR: 187966 Changes: _U stable/10/ stable/10/sbin/mount_nullfs/mount_nullfs.c stable/10/sys/x86/acpica/madt.c
A commit references this bug: Author: rodrigc Date: Mon Jun 23 22:37:49 UTC 2014 New revision: 267809 URL: http://svnweb.freebsd.org/changeset/base/267809 Log: MFC r263795: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with Linux-3.13.5. References: http://d.hatena.ne.jp/syuu1228/20140326 http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 Submitted by: syuu PR: 187966 Changes: _U stable/10/ stable/10/sys/x86/acpica/madt.c
A commit references this bug: Author: rodrigc Date: Tue Jun 24 15:28:09 UTC 2014 New revision: 267821 URL: http://svnweb.freebsd.org/changeset/base/267821 Log: MFC r263795: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with Linux-3.13.5. References: http://d.hatena.ne.jp/syuu1228/20140326 http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 Submitted by: syuu PR: 187966 Changes: _U stable/9/sys/ stable/9/sys/x86/acpica/madt.c
Can you try to get this committed in time for 9.3 ? Thanks!
A commit references this bug: Author: rodrigc Date: Mon Jun 30 23:39:13 UTC 2014 New revision: 268068 URL: http://svnweb.freebsd.org/changeset/base/268068 Log: MFC r267821: Strict value checking will cause problem. Bay trail DN2820FYKH is supported on Linux but does not work on FreeBSD. This behaviour is bug-compatible with Linux-3.13.5. References: http://d.hatena.ne.jp/syuu1228/20140326 http://lxr.linux.no/linux+v3.13.5/arch/x86/kernel/acpi/boot.c#L1094 Submitted by: syuu PR: 187966 Approved by: re (gjb) Changes: _U releng/9.3/sys/ releng/9.3/sys/x86/acpica/madt.c
This is fixed now, correct?
It appears this was accidentally reopened