From owner-freebsd-current@freebsd.org Sun Oct 1 22:12:10 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C3EBE2FCB8 for ; Sun, 1 Oct 2017 22:12:10 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0041.outbound.protection.outlook.com [104.47.33.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0E72E70FB5 for ; Sun, 1 Oct 2017 22:12:09 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQXPR0101MB0997.CANPRD01.PROD.OUTLOOK.COM (52.132.78.18) by YQXPR0101MB1479.CANPRD01.PROD.OUTLOOK.COM (52.132.81.153) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Sun, 1 Oct 2017 22:12:07 +0000 Received: from YQXPR0101MB0997.CANPRD01.PROD.OUTLOOK.COM ([fe80::7548:a72a:e054:70d5]) by YQXPR0101MB0997.CANPRD01.PROD.OUTLOOK.COM ([fe80::7548:a72a:e054:70d5%13]) with mapi id 15.20.0077.011; Sun, 1 Oct 2017 22:12:07 +0000 From: Rick Macklem To: "freebsd-current@freebsd.org" Subject: panic in AcpiOsGetTimer during boot. Thread-Topic: panic in AcpiOsGetTimer during boot. Thread-Index: AQHTOwGAIy8rz5AXN0ORsi5i7QtdWQ== Date: Sun, 1 Oct 2017 22:12:07 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQXPR0101MB1479; 6:GPa1kFrCK4FAAdSTn7jho6m564azDbWIzoU82gGke7yOT4/fwxAD+yHT9dR8/RC87Be+T4DMWZcU5USFCeJTpRsUPDO3KJbdgAmRa8bWHDeE2CchUSDCs/CySu90qZyg/uAfJzzH/IhslaYcKmMj9W9JQLV55UEW+MNgBBayURwDtd4d3ybRUhjz2nLBFw5ZyZ51WXCS6GyuKDoZtDqmJ/E5jXgeUjv96sWgi0noskyUe7db9NSWRdhdVkvUsSBYmx3+i86KDub5As63GuzuOgS6UkYfdm6k+zVhxQP66lM7tHVtga7g9P4yY9zaX9rq7DawkPRc8zxwmd/z2KH9og==; 5:ZXfQNK45XRZe10CebI7zslMZ7V0rju9reLWbGAkMz0onUrPn6cSMOofVEf62kzR5eVeRYxsu4m79FuAlIArV9PC0ECiNlqlOPKlEY3ucrHi1CuxBhX54RVY1kJ56AvgD6o44msge6l/6QmLwkvKmzA==; 24:Yr+aoCKsi+HnPVmBLm6niMLtXbhw5H2lsmRKJ+/o213g1WOOA4nXWDEe9CPf3vmZz/zHnbjuWgGJTkM72o30qol8tqXyiAgchboaps7BdH8=; 7:fPGGNAgztmdKGQEnHnQmdCablxRf1ORe+qSbywS3/5y9CGXT9Lvre+9M6zcCj/uNDbxWMwxnqvogmNY8AUURECBpSOoCSYG7Q9vzPEY3/jmAB9nTbi0l+x9wHxB4DoQ1NulpoUlZt5qsZEGpPHUAwnnE3k1CzCH/niyL5bhgd2qoaBonxPUoCM3YW032mxx/pt4Jnt6Oe5sS7i+9JIUP0lpAlJdyFFRvd1rka4wzRfc= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: b9aa40ee-e753-4bc2-4930-08d509197476 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:YQXPR0101MB1479; x-ms-traffictypediagnostic: YQXPR0101MB1479: x-exchange-antispam-report-test: UriScan:; x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(3002001)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(6041248)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123558100)(20161123560025)(20161123555025)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:YQXPR0101MB1479; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:YQXPR0101MB1479; x-forefront-prvs: 0447DB1C71 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6029001)(6009001)(346002)(376002)(189002)(199003)(13734003)(6436002)(33656002)(316002)(5250100002)(81166006)(53936002)(81156014)(68736007)(2351001)(105586002)(7696004)(101416001)(5890100001)(74316002)(5660300001)(25786009)(86362001)(478600001)(2501003)(786003)(106356001)(2900100001)(50986999)(6506006)(2906002)(14454004)(54356999)(3660700001)(114624004)(74482002)(3280700002)(55016002)(6916009)(305945005)(8936002)(97736004)(189998001)(9686003)(8676002)(5640700003)(102836003); DIR:OUT; SFP:1101; SCL:1; SRVR:YQXPR0101MB1479; H:YQXPR0101MB0997.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2017 22:12:07.4284 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR0101MB1479 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 22:12:10 -0000 Hi, I get the KASSERT panic in AcpiOsGetTimer() while booting a recent (2 day o= ld) kernel. When I delete the KASSERT(), the kernel boots and seems to work ok. (This is the AcpiOsGetTimer() in sys/dev/acpica/Osd/OsdSchedule.c. There al= so seems to be one of these functions under contrib.) Here is my dmesg after boot, if it helps indicate why this is called when "= cold" is still set. (I've marked where the dmesg ends when it Panics if the KASSE= RT() is enabled.) dmesg after booting: Copyright (c) 1992-2017 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 12.0-CURRENT #1: Sun Oct 1 09:48:42 EDT 2017 root@nfsv4-newerlap.rick.home:/sub1/sys.headsep30/amd64/compile/GENERIC= amd64 FreeBSD clang version 3.7.0 (tags/RELEASE_370/final 246257) 20150906 WARNING: WITNESS option enabled, expect reduced performance. VT(vga): resolution 640x480 CPU: Intel(R) Core(TM) i7-3610QM CPU @ 2.30GHz (2294.84-MHz K8-class CPU) Origin=3D"GenuineIntel" Id=3D0x306a9 Family=3D0x6 Model=3D0x3a Steppi= ng=3D9 Features=3D0xbfebfbff Features2=3D0x7fbae3bf AMD Features=3D0x28100800 AMD Features2=3D0x1 Structured Extended Features=3D0x281 XSAVE Features=3D0x1 VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID TSC: P-state invariant, performance statistics real memory =3D 17179869184 (16384 MB) avail memory =3D 16518905856 (15753 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: <_ASUS_ Notebook> FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads random: unblocking device. arc4random: no preloaded entropy cache ioapic0 irqs 0-23 on motherboard SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #4 Launched! **** dmesg ends here when in KASSERT() panics. SMP: AP CPU #5 Launched! SMP: AP CPU #2 Launched! Timecounter "TSC-low" frequency 1147419696 Hz quality 1000 random: entropy device external interface netmap: loaded module [ath_hal] loaded module_register_init: MOD_LOAD (vesa, 0xffffffff80f779d0, 0) error 19 random: registering fast source Intel Secure Key RNG random: fast provider: "Intel Secure Key RNG" kbd1 at kbdmux0 nexus0 vtvga0: on motherboard cryptosoft0: on motherboard acpi0: <_ASUS_ Notebook> on motherboard acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 atrtc0: port 0x70-0x77 irq 8 on acpi0 atrtc0: Warning: Couldn't map I/O. atrtc0: registered as a time-of-day clock, resolution 1.000000s Event timer "RTC" frequency 32768 Hz quality 0 attimer0: port 0x40-0x43,0x50-0x53 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xe000-0xe07f mem 0xf6000000-0xf6fff= fff,0xf0000000-0xf3ffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci= 1 vgapci0: Boot video device hdac0: mem 0xf7080000-0xf7083fff irq 17 at de= vice 0.1 on pci1 xhci0: mem 0xf7300000-0xf730ffff i= rq 16 at device 20.0 on pci0 xhci0: 32 bytes context size, 64-bit DMA usbus0: waiting for BIOS to give up control xhci0: Port routing mask set to 0xffffffff usbus0 on xhci0 usbus0: 5.0Gbps Super Speed USB v3.0 pci0: at device 22.0 (no driver attached) ehci0: mem 0xf7318000-0xf73183ff i= rq 16 at device 26.0 on pci0 usbus1: EHCI version 1.0 usbus1 on ehci0 usbus1: 480Mbps High Speed USB v2.0 hdac1: mem 0xf7310000-0xf7313fff irq 2= 2 at device 27.0 on pci0 pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 17 at device 28.1 on pci0 pci3: on pcib3 iwn0: mem 0xf7200000-0xf7201fff irq 17 at = device 0.0 on pci3 arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache arc4random: no preloaded entropy cache pcib4: irq 19 at device 28.3 on pci0 pci4: on pcib4 alc0: port 0xd000-0xd07f mem 0x= f7100000-0xf713ffff irq 19 at device 0.0 on pci4 alc0: 11776 Tx FIFO, 12032 Rx FIFO alc0: Using 1 MSI message(s). miibus0: on alc0 atphy0: PHY 0 on miibus0 atphy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FD= X, 1000baseT-FDX-master, auto, auto-flow alc0: Using defaults for TSO: 65518/35/2048 alc0: Ethernet address: 10:bf:48:23:08:56 ehci1: mem 0xf7317000-0xf73173ff i= rq 23 at device 29.0 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci1 usbus2: 480Mbps High Speed USB v2.0 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port 0xf070-0xf077,0xf060= -0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f mem 0xf7316000-0xf73167ff= irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich2: at channel 2 on ahci0 ahciem0: on ahci0 acpi_lid0: on acpi0 acpi_button0: on acpi0 acpi_tz0: on acpi0 acpi_acad0: on acpi0 battery0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 est0: on cpu0=