From owner-freebsd-current@freebsd.org Mon Oct 2 11:58:02 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 F168AE3D7B3 for ; Mon, 2 Oct 2017 11:58:02 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0061.outbound.protection.outlook.com [104.47.33.61]) (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 7ED7D653AA; Mon, 2 Oct 2017 11:58:01 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQXPR0101MB0997.CANPRD01.PROD.OUTLOOK.COM (52.132.78.18) by YQXPR0101MB1511.CANPRD01.PROD.OUTLOOK.COM (52.132.82.10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Mon, 2 Oct 2017 11:57:59 +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; Mon, 2 Oct 2017 11:57:59 +0000 From: Rick Macklem To: "cem@freebsd.org" CC: "freebsd-current@freebsd.org" Subject: Re: panic in AcpiOsGetTimer during boot. Thread-Topic: panic in AcpiOsGetTimer during boot. Thread-Index: AQHTOwGAIy8rz5AXN0ORsi5i7QtdWaLP1EeAgACgepY= Date: Mon, 2 Oct 2017 11:57:59 +0000 Message-ID: References: , In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; YQXPR0101MB1511; 6:+t4+EI8zgsmR0PgcO59As/Ej19oiR3TfpDBYDKdvCfoPPY/3ijsmLKVxUsDzM7othmmdsMbKSlWzAH4x/h2Us6IXdNRQu10DDtPODrMOxo8H2FEDai5FqOy2u6mRLBCWKEMJOkf1LE4z+7qkrdDJQ+QN+09K37wUwVPbUpBjW7X+BxnW2+dhaCU/pi+ZV201G2ILUyCM1bW855fCjF09rd9PDEu3R9aNqJdzp9lcmeKczgqP2KB1hj0zw3pFJiHeRqdGhyZrOxJWqYoXos422nP8C+1YmHgpBDOb5koDRt3kXWhfWJZLMa5rlJF5rpLkM+C9dhVChBqQiU+jF8bnbQ==; 5:h6Nv8AY8LUFALCb5XpFH5VuazsW8bA5GC9HojBzF5AjLRqVCMiDY6MND/JRZM3dR5MdKGe3CT7Dy1Cu9P3eht705xRCtDtsFiydCN/97LQj7Qlv63Ej/srdgUrZJs2pbgJs18MTdunU1VPZ0LeM39bwmNHufrlpx8CeWN9b1EGo=; 24:f1qfFsr+whlg+ckwZGWiLn3OxuNDw5JzhN7vH2rbxtYxJAvDvOyT3qQs2rpEs4ss9OLN2kzFlTErDwnGVyyFdad0PqxcC/6VRJqAP13nOFs=; 7:SYxKv7Hjyl9MUaKMESx+j0NWqjHeO9tHB3tGk0PHaYxfr+nGpuJF+bo3Mcl6DPmV7RdkSWxDMO/muME5Z+bYi7YjC/NALVyeyRfwRGIwmCCQ7wX5fsnlSINu4xI+w/PfVs9wb+yfi2e4I2P3ecGF2FKypTthCxUpfTntvj+gUH74/Qn+dMWtRIo9Oc1tTT2VgoG7o5WsuMKEYoK0mN0qv81tmhVev7MYxegsI9zQulY= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: 4eecae0e-365d-4fbb-eb8f-08d5098cd3a2 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:YQXPR0101MB1511; x-ms-traffictypediagnostic: YQXPR0101MB1511: x-exchange-antispam-report-test: UriScan:(75325880899374); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(3002001)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(6041248)(20161123562025)(20161123555025)(201703131423075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123564025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:YQXPR0101MB1511; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:YQXPR0101MB1511; x-forefront-prvs: 0448A97BF2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(6029001)(346002)(376002)(24454002)(189002)(377454003)(13734003)(199003)(229853002)(55016002)(54356999)(25786009)(5660300001)(3660700001)(9686003)(14454004)(74482002)(33656002)(76176999)(6436002)(50986999)(6306002)(786003)(1730700003)(2900100001)(8676002)(81156014)(450100002)(53936002)(2906002)(81166006)(3280700002)(8936002)(4326008)(97736004)(316002)(6506006)(5250100002)(102836003)(2501003)(86362001)(5890100001)(105586002)(2351001)(305945005)(2950100002)(114624004)(106356001)(6916009)(5640700003)(478600001)(7696004)(189998001)(68736007)(966005)(101416001)(6246003)(53546010)(74316002); DIR:OUT; SFP:1101; SCL:1; SRVR:YQXPR0101MB1511; 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) authentication-results: spf=none (sender IP is ) smtp.mailfrom=rmacklem@uoguelph.ca; 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: 02 Oct 2017 11:57:59.2753 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR0101MB1511 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: Mon, 02 Oct 2017 11:58:03 -0000 Conrad Meyer wrote: > Are you running into the same issue reported on this svn-src thread? > https://lists.freebsd.org/pipermail/svn-src-all/2017-September/151775.htm= l Yep, same panic(). > I believe jkim has reverted the change in a subsequent revision (r324136)= . I'll try a post-r324136 kernel. If it still panics, I'll post again. Thanks, rick > Best, > Conrad On Sun, Oct 1, 2017 at 3:12 PM, Rick Macklem wrote: > Hi, > > I get the KASSERT panic in AcpiOsGetTimer() while booting a recent (2 day= old) > kernel. When I delete the KASSERT(), the kernel boots and seems to work o= k. > (This is the AcpiOsGetTimer() in sys/dev/acpica/Osd/OsdSchedule.c. There = also > 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 KAS= SERT() > 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/GENER= IC 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 Step= ping=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-0xf6f= fffff,0xf0000000-0xf3ffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on p= ci1 > vgapci0: Boot video device > hdac0: mem 0xf7080000-0xf7083fff irq 17 at = device 0.1 on pci1 > xhci0: mem 0xf7300000-0xf730ffff= irq 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= irq 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= 22 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 a= t 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 = 0xf7100000-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-= FDX, 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= irq 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,0xf0= 60-0xf063,0xf050-0xf057,0xf040-0xf043,0xf020-0xf03f mem 0xf7316000-0xf73167= ff 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 > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= "