From owner-freebsd-current@freebsd.org Sun Sep 20 08:05:44 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id AF3213FF91A for ; Sun, 20 Sep 2020 08:05:44 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from gmailer.gwdg.de (gmailer.gwdg.de [134.76.11.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BvKrR53z9z4DTj; Sun, 20 Sep 2020 08:05:43 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from excmbx-03.um.gwdg.de ([134.76.9.218] helo=email.gwdg.de) by mailer.gwdg.de with esmtp (GWDG Mailer) (envelope-from ) id 1kJuLt-00031z-3J; Sun, 20 Sep 2020 10:05:41 +0200 Received: from krabat.raven.hur (10.250.9.199) by EXCMBX-03.um.gwdg.de (134.76.9.218) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2044.4; Sun, 20 Sep 2020 10:05:40 +0200 Subject: Re: Fwd: Re: r365488 page faults on AMD Ryzen 9 3950X To: monochrome , CC: References: <69ff9432-fc8f-b0ab-8ad2-8e3daa77f8e1@twcny.rr.com> <1a88773b-d2fa-a790-c7e2-868d3884ba8b@twcny.rr.com> <865D6BF0-9F1E-4125-81D3-FB9A369FED8D@gwdg.de> <88af31d4-9ed9-172a-d48f-1780f19841e3@twcny.rr.com> From: Rainer Hurling Message-ID: <11d27d41-029a-d7f5-eccc-0ba3a3fcfe97@gwdg.de> Date: Sun, 20 Sep 2020 10:05:35 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <88af31d4-9ed9-172a-d48f-1780f19841e3@twcny.rr.com> Content-Type: text/plain; charset="utf-8" Content-Language: en-US Content-Transfer-Encoding: 8bit X-Originating-IP: [10.250.9.199] X-ClientProxiedBy: excmbx-14.um.gwdg.de (134.76.9.225) To EXCMBX-03.um.gwdg.de (134.76.9.218) X-Virus-Scanned: (clean) by clamav X-Rspamd-Queue-Id: 4BvKrR53z9z4DTj X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.45 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RWL_MAILSPIKE_VERYGOOD(0.00)[134.76.11.17:from]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; FREEFALL_USER(0.00)[rhurlin]; R_SPF_ALLOW(-0.20)[+ip4:134.76.10.0/23]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gwdg.de]; ARC_NA(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.03)[-1.030]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_MED(-0.20)[134.76.11.17:from]; NEURAL_HAM_SHORT(-0.87)[-0.869]; NEURAL_HAM_MEDIUM(-1.05)[-1.046]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:680, ipnet:134.76.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 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, 20 Sep 2020 08:05:44 -0000 Hi monochrome, back to keyboard, it tried newest CURRENT (r365920) on my box and even with newest sources the error occurs. After looking around somewhat more, I found some hints about Virtualbox kernel module having problems with r365488. Unfortunately, I am not able to find the thread again :( What seems to help as a workaround is to disable the loading of VirtualBox in /boot/loader.conf #vboxdrv_load="YES" and in /etc/rc.conf #vboxnet_enable="YES" #vboxguest_enable="YES" So probably, this page fault is not restricted to AMD Ryzen? HTH, Rainer Am 20.09.20 um 08:04 schrieb monochrome: > I have confirmed that r365487 is the last kernel that will boot on my > 2400G. These are the files changed between r365487 and r365488: > > U    sys/vm/phys_pager.c > U    sys/vm/vm_object.c > U    sys/vm/vm_object.h > U    sys/vm/vm_pager.h > > > > On 9/18/20 8:57 AM, Rainer Hurling wrote: >> Hi, >> I am AFK until Sunday, so can't investigate ATM. >> And no, I haven't solved it until now. Thanks for your report. >> Rainer >> >> Am 18. September 2020 00:38:31 MESZ schrieb monochrome >> : >>> >>> forgot you >>> >>> -------- Forwarded Message -------- >>> Subject: Re: r365488 page faults on AMD Ryzen 9 3950X >>> Date: Thu, 17 Sep 2020 17:03:49 -0400 >>> From: monochrome >>> To: freebsd-current@freebsd.org >>> >>> I am also having this problem. Have you resolved it? Mine is a Ryzen >>> 5 2400G >>> >>> On 9/12/20 5:22 AM, Rainer Hurling wrote: >>>> Since r365488 (and above until recent) my box breaks with the following >>>> error when starting: >>>> >>>> Fatal trap 12: page fault while in kernel mode >>>> cpuid = 31; apic id = 1f >>>> fault virtual address   = 0x0 >>>> fault code              = supervisor read data, page not present >>>> instruction pointer     = 0x20:0xffffffff808f452b >>>> stack pointer           = 0x28:0xffffffff81711800 >>>> frame pointer           = 0x28:0xffffffff81711800 >>>> 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) >>>> trap number             = 12 >>>> panic: page fault >>>> cpuid = 31 >>>> time = 1 >>>> >>>> >>>> >>>> Some infos about the system, the page fault occurs: >>>> >>>> CPU: AMD Ryzen 9 3950X 16-Core Processor             (3493.50-MHz >>>> K8-class CPU) >>>>     Origin="AuthenticAMD"  Id=0x870f10  Family=0x17  Model=0x71  >>>> Stepping=0 >>>> Features=0x178bfbff >>>> >>>> Features2=0x7ed8320b >>>> >>>>     AMD Features=0x2e500800 >>>>     AMD >>>> Features2=0x75c237ff >>>> >>>>     Structured Extended >>>> Features=0x219c91a9 >>>> >>>>     Structured Extended Features2=0x400004 >>>>     XSAVE Features=0xf >>>>     AMD Extended Feature Extensions ID >>>> EBX=0x108b657 >>>>     SVM: (disabled in BIOS) NP,NRIP,VClean,AFlush,DAssist,NAsids=32768 >>>>     TSC: P-state invariant, performance statistics >>>> real memory  = 68717379584 (65534 MB) >>>> avail memory = 66756149248 (63663 MB) >>>> Event timer "LAPIC" quality 600 >>>> >>>> >>>> #cat /etc/sysctl.conf >>>> security.bsd.map_at_zero=1 >>>> kern.module_path=/boot/kernel;/boot/modules;/usr/local/modules >>>> kern.evdev.rcpt_mask=6 >>>> kern.maxfiles=49312 >>>> kern.ipc.shm_allow_removed=1 >>>> kern.ipc.maxsockbuf=16777216 >>>> vfs.usermount=1 >>>> net.inet.tcp.rfc1323=1 >>>> net.inet.tcp.sack.enable=1 >>>> net.inet.tcp.sendbuf_auto=1 >>>> net.inet.tcp.recvbuf_auto=1 >>>> net.inet.tcp.sendbuf_max=16777216 >>>> net.inet.tcp.recvbuf_max=16777216 >>>> net.inet6.ip6.use_tempaddr=1 >>>> net.inet6.ip6.prefer_tempaddr=1 >>>> net.local.stream.recvspace=65536 >>>> net.local.stream.sendspace=65536 >>>> >>>> >>>> Please let me know, if I should provide more info or test something. >>>> Thanks in advance, >>>> Rainer >>>> _______________________________________________ >>>> 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" >>>> >>> _______________________________________________ >>> 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"