From owner-freebsd-current@freebsd.org Fri Aug 3 20:39:19 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47182104FE75 for ; Fri, 3 Aug 2018 20:39:19 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: from mail-yb0-x244.google.com (mail-yb0-x244.google.com [IPv6:2607:f8b0:4002:c09::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D590E7429B for ; Fri, 3 Aug 2018 20:39:18 +0000 (UTC) (envelope-from oliver.pinter@hardenedbsd.org) Received: by mail-yb0-x244.google.com with SMTP id s1-v6so3142232ybk.3 for ; Fri, 03 Aug 2018 13:39:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Z+IL9JdnrrlBHDhTsS+fGwRcjEY3HK2guGaHBs/DZXA=; b=T8cidlxObsjRNJSoi3tPUiIfFO1rg8KYUCaOyedPjlzQ3dAGUPqeL/yUvGNwB5IxCM V7/UUYl6ShZ4xdKaPZSkLt1+nD4XfEW5NnhZBQfdGCQIWlbC4ReNEoHmbqlrDOSGfKdQ 2Q9/fBg7g4QQ8GVMMlLxjDxZlBGsyqeL/glAp8s59ZnwTq5UQeshB4qXsxLPEOm+1RXh ni2tBhbIQe1AU6/uLen+S6X3E4KDHF9/iN3QtLbkZJe26QKtXASoyX+Rt4EeHn761pfh h28C+CbQNahlNMBsm2uFrBMFm+SooMr2nvDui/R9FEaQQKa/Q/ywvYCnhdkYhMpFlMHS vPvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Z+IL9JdnrrlBHDhTsS+fGwRcjEY3HK2guGaHBs/DZXA=; b=J9tcE/K8IuCYc6bVvx2U12XsRXubC9NjxoZdeCxTXQDiz/Spm/2PpIFmG7Z4ME4S39 aNFRDi4hqSU1awqUA/aJebhwxWeZmcdE7rNmO0FJ5tbKkkaZzHZ0LVVQ2HJHgmBy5CCx jgBr4IRxEeFFEvj0NU1yoZNkhSBZYJVY4r5ADFRNn9abAVk/6Nb5kl9AYxupmm5Nu1XC FFElp/qknoXQzf5Um9HJJ29I4MNFvo17wgGzU6D4JSrgMLymZrGmY4IdSG6TGAnPig0A AOvzTZ5jLkd7EJlznkUSZnTeqsaBOTP/nza+xXpccbyqwzUQtyWGRfcIxLnc6SvEeldv sucw== X-Gm-Message-State: AOUpUlGqjIKIiCLi43/7WlKRrZwMRu2qc9pmQlYHH2AZlH6/6LFwGC8Z TzxvzVwfavQa+lKEeYaPj3FZxMfwY7kX15+G8NpAKA== X-Google-Smtp-Source: AAOMgpd4A1WRekHeZZ40AHD60d+0j1cl1uEL2lFF/Su8C7zq3Kd3U6QZOEcekfk4z0vJyp80RilFGoAXIRVD7zH/GvQ= X-Received: by 2002:a25:3812:: with SMTP id f18-v6mr2886034yba.199.1533328758389; Fri, 03 Aug 2018 13:39:18 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a5b:bc5:0:0:0:0:0 with HTTP; Fri, 3 Aug 2018 13:39:17 -0700 (PDT) In-Reply-To: References: From: Oliver Pinter Date: Fri, 3 Aug 2018 22:39:17 +0200 Message-ID: Subject: Re: Linux process causes kernel panic To: Johannes Lundberg Cc: freebsd-current , kib@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 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: Fri, 03 Aug 2018 20:39:19 -0000 On 8/3/18, Johannes Lundberg wrote: > On Fri, Aug 3, 2018 at 9:34 PM Oliver Pinter > > wrote: > >> Hi! >> >> On 8/3/18, Johannes Lundberg wrote: >> > Hi >> > >> > After install new kernel+world built from today's checkout I keep >> > getting >> > the same crash over and over. Never had this problem before. The >> > previous >> > kernel was from 3 weeks ago. >> > >> > Looks familiar to anyone? >> >> Have you an Intel Broadwell or newer Intel CPU or an AMD CPU with SMAP >> support? >> > > This is Intel Broadwell, Core i5. The smapification of amd64/linux/linux_support.s is missing from the SMAP patch. CC kib@. > > >> > >> > Fatal trap 12: page fault while in kernel mode >> > cpuid = 0; apic id = 00 >> > fault virtual address = 0xfffe665c >> > fault code = supervisor write data, protection violation >> > instruction pointer = 0x20:0xffffffff82282db3 >> > stack pointer = 0x0:0xfffffe004c74c8c8 >> > frame pointer = 0x0:0xfffffe004c74c980 >> > 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 = 1579 (wcgrid_zika_vina_7.) >> > trap number = 12 >> > panic: page fault >> > cpuid = 0 >> > time = 1533327428 >> > KDB: stack backtrace: >> > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame >> > 0xfffffe004c74c580 >> > vpanic() at vpanic+0x1a3/frame 0xfffffe004c74c5e0 >> > panic() at panic+0x43/frame 0xfffffe004c74c640 >> > trap_fatal() at trap_fatal+0x35f/frame 0xfffffe004c74c690 >> > trap_pfault() at trap_pfault+0x62/frame 0xfffffe004c74c6e0 >> > trap() at trap+0x2ba/frame 0xfffffe004c74c7f0 >> > calltrap() at calltrap+0x8/frame 0xfffffe004c74c7f0 >> > --- trap 0xc, rip = 0xffffffff82282db3, rsp = 0xfffffe004c74c8c8, rbp = >> > 0xfffffe004c74c980 --- >> > futex_xchgl() at futex_xchgl+0x23/frame 0xfffffe004c74c980 >> > ia32_syscall() at ia32_syscall+0x29f/frame 0xfffffe004c74cab0 >> > int0x80_syscall_common() at int0x80_syscall_common+0x9c/frame 0x4000001 >> > Uptime: 7m29s >> > Dumping 411 out of 8056 >> > MB:..4%..12%..24%..32%..43%..51%..63%..74%..82%..94% >> > Dump complete >> > _______________________________________________ >> > 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" >> > >> >