From owner-freebsd-current@freebsd.org Mon Oct 2 02:21:35 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 1920AE33E98 for ; Mon, 2 Oct 2017 02:21:35 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-yw0-f176.google.com (mail-yw0-f176.google.com [209.85.161.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC70176DF6 for ; Mon, 2 Oct 2017 02:21:34 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-yw0-f176.google.com with SMTP id u205so2836640ywa.5 for ; Sun, 01 Oct 2017 19:21:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:reply-to:in-reply-to:references :from:date:message-id:subject:to:cc; bh=Fe/T2dZdIsiBo+iSfWpW5vRken5fLEbfiQvrIpi6ikc=; b=rVRevncNApzqG94Lqf71LpCiE8m0M6LHH70T+kQvSqLZWL6ApqmwtAgAT3n67vT5YA Zg5bQsMnHwXDDOFYnBDhLfFDEBspmP1CcCaphy62BAIi1cTlLuc0Vp5XR9zkURAIlmru 2nUWF61d62e1OgU2zL/XT7Sji5J/RDgQaBt/mAfmfJYnasuM/plQMlG4dJ3OSf3KfLAY Pl8oVgGZhtrw6PvqmHaRspWjrIlsLrai+VFEQUwW74gC8EIuDRCBNYSmI2+5dsskvysi wUuybA/0nFOjnLFAevNmKItzCmoIa5TvIftlWYCwgB/+iCgGlIN1Jn4TPiRIvdr2aVLP 70Yg== X-Gm-Message-State: AHPjjUh3dhWUsNmDWh/DL1kvOSh3D0ZDwx/Z4u7TCTGblr8wHcUrZvd3 DJ8fxHat177wq+f9MAsfcrEFNyJK X-Received: by 10.129.85.88 with SMTP id j85mr11481163ywb.214.1506910887800; Sun, 01 Oct 2017 19:21:27 -0700 (PDT) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com. [209.85.223.175]) by smtp.gmail.com with ESMTPSA id g84sm3975565ywg.100.2017.10.01.19.21.26 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 01 Oct 2017 19:21:27 -0700 (PDT) Received: by mail-io0-f175.google.com with SMTP id v36so3694602ioi.1 for ; Sun, 01 Oct 2017 19:21:26 -0700 (PDT) X-Google-Smtp-Source: AOwi7QCNXx9cYD+bh40TbEZWvAT1nZzr8fgpsD5Bln1EK4rCnQoSKYrmvhtvoYWKJIIdjRTUWAddOY02QWuSBYiyuyk= X-Received: by 10.107.11.102 with SMTP id v99mr20687814ioi.260.1506910886280; Sun, 01 Oct 2017 19:21:26 -0700 (PDT) MIME-Version: 1.0 Reply-To: cem@freebsd.org Received: by 10.2.137.79 with HTTP; Sun, 1 Oct 2017 19:21:25 -0700 (PDT) In-Reply-To: References: From: Conrad Meyer Date: Sun, 1 Oct 2017 19:21:25 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: panic in AcpiOsGetTimer during boot. To: Rick Macklem Cc: "freebsd-current@freebsd.org" Content-Type: text/plain; charset="UTF-8" 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 02:21:35 -0000 Hey Rick, Are you running into the same issue reported on this svn-src thread? https://lists.freebsd.org/pipermail/svn-src-all/2017-September/151775.html I believe jkim has reverted the change in a subsequent revision (r324136). 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 ok. > (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 KASSERT() > 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="GenuineIntel" Id=0x306a9 Family=0x6 Model=0x3a Stepping=9 > Features=0xbfebfbff > Features2=0x7fbae3bf > AMD Features=0x28100800 > AMD Features2=0x1 > Structured Extended Features=0x281 > XSAVE Features=0x1 > VT-x: PAT,HLT,MTF,PAUSE,EPT,UG,VPID > TSC: P-state invariant, performance statistics > real memory = 17179869184 (16384 MB) > avail memory = 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-0xf6ffffff,0xf0000000-0xf3ffffff,0xf4000000-0xf5ffffff irq 16 at device 0.0 on pci1 > 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 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 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,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 > _______________________________________________ > 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"