From owner-freebsd-current@freebsd.org Sun Dec 24 16:40:43 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 4C81CE9BEC7 for ; Sun, 24 Dec 2017 16:40:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2642E1336 for ; Sun, 24 Dec 2017 16:40:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mailman.ysv.freebsd.org (Postfix) id 2570CE9BEC0; Sun, 24 Dec 2017 16:40:43 +0000 (UTC) Delivered-To: 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 24F39E9BEBC for ; Sun, 24 Dec 2017 16:40:43 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22c.google.com (mail-io0-x22c.google.com [IPv6:2607:f8b0:4001:c06::22c]) (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 DD2471334 for ; Sun, 24 Dec 2017 16:40:42 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22c.google.com with SMTP id 14so22603667iou.2 for ; Sun, 24 Dec 2017 08:40:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=HaS5aqxsKLmcaAvrpDu0VnyyFZPYFMbwFBuCxWfaW10=; b=bp18QhQPzm1NatRD6scU+Aw9uu0vXYI2488NCGUm2fhU7tjmzH3A9HtTUcy/8yNV3p N6hALY68reaxo5X+R+fYsCUYRFwGZCDO33He2nvFYgGG6epANN7RTSGqwlhqNbUp9de0 hm+qVCc/0j50UgXptv6SFCJyNssNR0XZG/5Ge6ksAShWuPrzBTjbT3OAfG6JdrKtfezJ yQ3pLb7rdoOFIS/3Id2VtN8jpo4Dc0U56sbiE2TDE8+ZA1pRFklSEYtCZ0EDwR8sOOnk 7I8zYwvLSEg7FxlSqZuGe3MCsioArkhsjgX8+FTzH8R7KKuBQtDSDKiWmh9wAzmfEsma ikFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=HaS5aqxsKLmcaAvrpDu0VnyyFZPYFMbwFBuCxWfaW10=; b=PyaLU4BNW4AVv5mm3fazBBd0o+iMGnyVqfT+LRPYID0LT4BG/QoPmJVP/6FCln9ROM LXK6/F3YDu1FvugrHyDR8lPAkYjQdQ6NNlG5i2uEH3Mnatfz6Qo9PL2+8J2A2NFImmug hKGsV2Y3N7e+DLS7ftA0em8fMEgD7Mxs/Lm1o3V1SlqFQBlkphvBqIKZicjhpmHSxSmB 6x8Nq401T8c1WMKVw0SRjo2Xzmb043XbCweQsQvPzyTNOIP8HGE21LKonx/ymUsVnSyQ +APIqvweVgtHacnqGnthl6m9QbKz2BtaYqoCibBKUIWHvmBiL9R7vPE9c6wLuhWyK1EI r75Q== X-Gm-Message-State: AKGB3mJHGERxeMMc9oGcBSYzDejp2ieeyX8l2kNPXqXux4+7c2Q4m3dZ a9X39U6Qk6CN0MgcL3hGo7NL/TMcniw6z9CAZrtzSw== X-Google-Smtp-Source: ACJfBouADIuudC7GiyGmT8TRIPFV8giZJl9TQN1NgpJgor1UMQzH2TVjiTNEPPrZqnKTPef36IzCGuiGihvf+brSNKY= X-Received: by 10.107.142.145 with SMTP id q139mr8984886iod.63.1514133642236; Sun, 24 Dec 2017 08:40:42 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.108.204 with HTTP; Sun, 24 Dec 2017 08:40:41 -0800 (PST) X-Originating-IP: [2603:300b:6:5100:1052:acc7:f9de:2b6d] In-Reply-To: References: <20171224132710.GN1555@albert.catwhisker.org> From: Warner Losh Date: Sun, 24 Dec 2017 09:40:41 -0700 X-Google-Sender-Auth: fYpnM7JapulqFrGAL4CYxF-BEgY Message-ID: Subject: Re: Panic @ orm_identify+0x308 (kernel probes) after r327103 -> r327140 To: Dimitry Andric Cc: David Wolfskill , current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 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, 24 Dec 2017 16:40:43 -0000 On Sun, Dec 24, 2017 at 7:16 AM, Dimitry Andric wrote: > On 24 Dec 2017, at 14:27, David Wolfskill wrote: > > > > Had this on the laptop; fotunately, also got it on the build machine (as > > it's a lot easier to work with the serial console of the latter for > > this -- and it runs a GENERIC kernel): > ... > > Fatal trap 9: general protection fault while in kernel mode > > cpuid = 2; apic id = 02 > > instruction pointer = 0x20:0xffffffff81066968 > > stack pointer = 0x28:0xffffffff82286a90 > > frame pointer = 0x28:0xffffffff82286ad0 > > code segment = base 0x0, limit 0xfffff, type 0x1b > > = DPL 0, pres 1, long 1, def32 0, gran 1 > > processor eflags = interrupt enabled, resume, IOPL = 0 > > current process = 0 (swapper) > > [ thread pid 0 tid 100000 ] > > Stopped at orm_identify+0x308: movq (%r14),%rax > > db> bt > > Tracing pid 0 tid 100000 td 0xffffffff81e94340 > > orm_identify() at orm_identify+0x308/frame 0xffffffff82286ad0 > > bus_generic_probe() at bus_generic_probe+0x74/frame 0xffffffff82286b00 > > isa_probe_children() at isa_probe_children+0x19/frame 0xffffffff82286b50 > > mi_startup() at mi_startup+0x9c/frame 0xffffffff82286b70 > > btext() at btext+0x2c > > Since there is "isa" in the backtrace, I would consider r327120 ("Warn > when nonPNP ISA devices are attached in GENERIC that they are being > removed from GENERIC in 12") by Warner suspect... > > Specifically, this change: > https://svnweb.freebsd.org/base/head/sys/x86/isa/orm.c? > r1=327120&r2=327119&pathrev=327120 Yea, I just partially reverted it. It worked when I test booted it, but there must be something different in David's machine than mine that I hand't considered. Warner