From owner-freebsd-current@freebsd.org Sun Oct 20 03:07:57 2019 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 5C0CD174BAA for ; Sun, 20 Oct 2019 03:07:57 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: from mail-oi1-x231.google.com (mail-oi1-x231.google.com [IPv6:2607:f8b0:4864:20::231]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46wl7w1XTvz4DqP for ; Sun, 20 Oct 2019 03:07:55 +0000 (UTC) (envelope-from clay.daniels.jr@gmail.com) Received: by mail-oi1-x231.google.com with SMTP id 83so8405856oii.1 for ; Sat, 19 Oct 2019 20:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=8pdwFht5o0e1jngSKQ84b8V/UHstNb2n84KP+le0PM4=; b=JbrvtO6JmUomKo07pCPlfTm6Jcd76t+8Y9LQo3bxe0BrtbP53SSFOl+mMA4CZJSAJI RmOZEdE+Nc4Idh6JsMTs/dmbly506HWVBp2MtOcEFa3PDBkpe5BB8HVGuQvhnueLkKgs sJBPkdxhzWuE9Xf1Xeh2xEbmfoljNyZtE7IRce2pE2is8DU6R/uylNoJBsXgQfMW7G1V h3JJ451ory91QkbYDd+OKfXhtOEXSJiSaLEZGMfrqWFSI2pJQCFOawfFbgtaKsZDAaK+ oODXKg3PpUlLDP0fb7qrfQnYk0UVNDh8z2e9CtMNbErpKUqyB3aSbTFEjwWrFSAcvqfb QDAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=8pdwFht5o0e1jngSKQ84b8V/UHstNb2n84KP+le0PM4=; b=NT8ZSvsr9o5Ym3bUAZBeaX5i/+PVvOhcJWgAU5fPphypdV1CGbCGKKbKy6A6bIf5NY flnzG9Yc/fRGJ/POkCalOO0bXQDvZpVHWTvpyga+c/megpSy95QSLwRq1MSIsxSxXwuW BrqUP43VqSnJSVyB+mC8UhDwfYXfVErIL7ij17dfmgFYAf1voLe+zyRMb5GC38s3yrKu g3XSz1hcQkAmAK6G2jY9aaD9QvIoiIstDKsOOZhObvByYw4hTD1orIQwdu68jq7KUtBa CsUTDU3pLoadpB4U+Dj4fbiNlSeOooRpMIpoW1Bo/h3PN+Q8rvxkOwcb/CuHTlJoIwtx Yt/w== X-Gm-Message-State: APjAAAVhIyS01xJJKiBP/FIe9nZBnrl+vrDtcC6iy4SmhYh/qE6rWZ8Z GvpDangGdCF8Wr4hcruHnWTy3Di0wQ== X-Google-Smtp-Source: APXvYqw521/zomXtUdkG+P5qBv2lR+CXJO0m1m4nVXydwYkuTU8jBqKuVc7d29DVdLY4AE/RAA3lbg== X-Received: by 2002:aca:7249:: with SMTP id p70mr13041624oic.55.1571540874092; Sat, 19 Oct 2019 20:07:54 -0700 (PDT) Received: from ?IPv6:2600:1700:caa1:a280:d0f7:a64f:bffc:9536? ([2600:1700:caa1:a280:d0f7:a64f:bffc:9536]) by smtp.gmail.com with ESMTPSA id d9sm2877700ote.11.2019.10.19.20.07.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 19 Oct 2019 20:07:53 -0700 (PDT) Subject: Re: r353072 > r353427 > r353709 To: Evilham Cc: "freebsd-current@freebsd.org" References: <4948bdbf-f79c-482b-87f5-e0f72c527b19@yggdrasil.evilham.com> From: Clay Daniels Message-ID: Date: Sat, 19 Oct 2019 22:07:52 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.2 MIME-Version: 1.0 In-Reply-To: <4948bdbf-f79c-482b-87f5-e0f72c527b19@yggdrasil.evilham.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Rspamd-Queue-Id: 46wl7w1XTvz4DqP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=JbrvtO6J; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of claydanielsjr@gmail.com designates 2607:f8b0:4864:20::231 as permitted sender) smtp.mailfrom=claydanielsjr@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; TO_DN_EQ_ADDR_SOME(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (-9.02), ipnet: 2607:f8b0::/32(-2.46), asn: 15169(-2.09), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; IP_SCORE_FREEMAIL(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[1.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 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 Oct 2019 03:07:57 -0000 On 10/19/19 4:54 AM, Evilham wrote: > Have you seen the recent threads about this? > Particularly this with some steps that worked-for-me (tm): >  https://lists.freebsd.org/pipermail/freebsd-current/2019-October/074660.html > > -- > Evilham i looked at the patch  & made a file which says: diff --git a/linuxkpi/gplv2/src/linux_page.c b/linuxkpi/gplv2/src/linux_page.c index e2b85c45c..060ae85ed 100644 --- a/linuxkpi/gplv2/src/linux_page.c +++ b/linuxkpi/gplv2/src/linux_page.c @@ -239,7 +239,7 @@ retry:              page = vm_page_lookup(devobj, i);              if (page == NULL)                  continue; -            if (vm_page_sleep_if_busy(page, "linuxkpi")) +            if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL))                  goto retry;              cdev_pager_free_page(devobj, page);          } Not knowing much about patching, I decided to locate linux_page.c and did so on my install at: /usr/src/sys/compat/lynuxpki/common/src/linux_page.c I figured if it was just a one line change, good old vi would do the trick, but after carefully looking through my linux_page,c file, I found what I think is the section, and this is what it says (my handwritten transcription from the console screen of the freebsd computer to my linux workstation) --- retry:    page = vm_page_alloc_contig(NULL, 0, req       npages, 0, pmax, PAGE_SIZE, 0, VM_MEMATTR_DEFAULT);    if (page == NULL) {         if (flags & M_WAITOK) {            if (!vm_page_reclaim_config (req,                npages, 0, pmax, PAGE_SIZE, 0)) {                   vm_wait(NULL);           }           FLAGS &= ~M_WAITOK;           go to retry;        }         return (NULL)      } } --- Excuse the spacing. Anyway, I suspect I must have an updated version of linux_page.c but not sure. What I might do is go ahead and go to the /usr/ports/graphics/drm-kmod directory and make install clean, then load xorg and see what happens. I'm going to have a bite of super first. Clay