Skip site navigation (1)Skip section navigation (2)
Date:      14 Oct 2019 04:16:01 +0800
From:      =?utf-8?Q?Shirley_=EF=BC=A3eeso?= <ceeso@vip.163.com>
To:        "Stable" <stable@freebsd.org>
Subject:   Stable, How to choose/pick the Knives?
Message-ID:  <20191014041600616.ceeso@vip.163.com>

next in thread | raw e-mail | index | archive | help
Dear Stable,=0D=0A=0D=0AHow are you? I hope this mail finds you w=
ell.=0D=0A=0D=0ACeeso Limited based in Hong Kong.Over ten years t=
o produce hardware blades and accessories for customers.Use the C=
raftsman Spirit do every detail well.=0D=0A=0D=0AWebsite:http://w=
ww.yhenry.com/.=0D=0AWe are the direct factory with a complete se=
t of equipments and machines, all of them are automatic and impor=
ted from overseas, which make sure high sharpness, up to now, we =
have more than 20000 types of blades, we have all kinds of standa=
rd blades that is needed in market such as ZUND, ESKO,Eacom,Atom,=
 Aristo,Elitron,Teseo,Gerber,Axyz industrial blade http://shop.ce=
esohk.com, as well as the utility knife, rotary cutter, PCB blade=
...and etc, also we can customize according to your request. And =
since being in this industry for more than 10 years, we have big =
advantage in price.=0D=0A=0D=0AKindly feel free to let me know if=
 you have any request about the blade, we shall offer you the bes=
t price from direct factory.=0D=0A=0D=0ABest regards,=0D=0AShrley=
 Liu=0D=0A10/14/2019 04:16:00=0D=0A=20
From owner-freebsd-stable@freebsd.org  Sun Oct 13 21:43:01 2019
Return-Path: <owner-freebsd-stable@freebsd.org>
Delivered-To: freebsd-stable@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 3800CB7353
 for <freebsd-stable@mailman.nyi.freebsd.org>;
 Sun, 13 Oct 2019 21:43:01 +0000 (UTC)
 (envelope-from ctuffli@gmail.com)
Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com
 [IPv6:2607:f8b0:4864:20::341])
 (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 46rwCm1JQ4z4bCZ
 for <freebsd-stable@freebsd.org>; Sun, 13 Oct 2019 21:42:59 +0000 (UTC)
 (envelope-from ctuffli@gmail.com)
Received: by mail-ot1-x341.google.com with SMTP id s22so12235636otr.6
 for <freebsd-stable@freebsd.org>; Sun, 13 Oct 2019 14:42:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=1abdtL6/NA5VGo0A135MWWXXvyXVAUyel8nDhApUQ74=;
 b=rkMoUueuAn6lW5JimdzXUOnkrF1wPtthEP7go1aacIQbGST/8GsXY0RNUcQLkyvNUQ
 yz+Ersg6M/LFr4CrFQpfuwR72A1gcyRe5Ds+8U/MWKWhIjMrGX5FQ/lJpdtEro5HdZhG
 brWgJHr3nw92PtBEqbkSu7U3/nXpRFKcaDOlLRy04Vi+C66+eJh+LMLhkvNw6ziEZEYq
 bcF3Yk3CLMfHAbkw9V8dYLLR5fwDFvw0jW9QNFBRSnR8IX0sudHv2FZS5dQyyXu+Op0+
 2lKhoNdzz+I7bR7eo7t/8fHqM8DkDq4VmfydVmYjWDl8RZpVXgIZlpGC9qMYnlIFQ4OJ
 yuhg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=1abdtL6/NA5VGo0A135MWWXXvyXVAUyel8nDhApUQ74=;
 b=n5mER0lzrjt2ChD9Y21HOVgLAgPS/EU2U7fewDCQRpey4TtIlwJIM+Z0iSkeKWD2ay
 7w4HeP1pEOngwQvyVvAIGt40XZMaSBGo62Wf5nvmxfatuWY08v8iqVMAENxyswvpw7Di
 nXccjUrays7CJUhOVsagElA2VHLoggv7W+F8Pi3Yq/0mhdp0UompmDKpT5qNRh6JAf9Z
 Ia2YNMMEGR7ULYIHV8fPAqPsVqL0DGUpSJEQr8HANWO81RcE+JXQvMSBeRSswEn9YPJm
 D+8vFfNd72P77NPVoozy7QfIWdghsCKqPz2T7SEJ99xN4ufp/gLQrWyEl2Qo1umy7xga
 jpvw==
X-Gm-Message-State: APjAAAWdEvFPCalz86DB/pXn4ZMscnmSyF7qtIkB8ualAge5SoVJgpN+
 bE1LSyeQnOH+5Y6Dk0cfMHDaMuQGire7TsCCnlv2c5vd
X-Google-Smtp-Source: APXvYqxXKFhY7SjnXOy8TLJ5I5hUhfVwSrie6jYhx3VwnuCvNRcoylCz459FB9tiPAB3uJNGdz8FPpZjGK0IYSC7veo=
X-Received: by 2002:a05:6830:1253:: with SMTP id
 s19mr22339104otp.111.1571002978297; 
 Sun, 13 Oct 2019 14:42:58 -0700 (PDT)
MIME-Version: 1.0
References: <CAKAYmM+wqRkro5SDBtdWddE8x94DVdSTy6-g9kR9fEBEF0=pJQ@mail.gmail.com>
 <20191013201135.GA91243@phouka1.phouka.net>
In-Reply-To: <20191013201135.GA91243@phouka1.phouka.net>
From: Chuck Tuffli <ctuffli@gmail.com>
Date: Sun, 13 Oct 2019 14:42:46 -0700
Message-ID: <CAKAYmMJhSQBr8JHuUXKHy4KFR_YLk6ta53PMaSt-yd-OKvZNBA@mail.gmail.com>
Subject: Re: Confused about i915kms on 12.1
To: John Kennedy <warlock@phouka.net>
Cc: freebsd-stable@freebsd.org
Content-Type: text/plain; charset="UTF-8"
X-Rspamd-Queue-Id: 46rwCm1JQ4z4bCZ
X-Spamd-Bar: --
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmail.com header.s=20161025 header.b=rkMoUueu;
 dmarc=pass (policy=none) header.from=gmail.com;
 spf=pass (mx1.freebsd.org: domain of ctuffli@gmail.com designates
 2607:f8b0:4864:20::341 as permitted sender) smtp.mailfrom=ctuffli@gmail.com
X-Spamd-Result: default: False [-3.00 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[];
 TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36];
 FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE_FREEMAIL(0.00)[];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+];
 RCPT_COUNT_TWO(0.00)[2];
 RCVD_IN_DNSWL_NONE(0.00)[1.4.3.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]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none];
 IP_SCORE(0.00)[ip: (3.12), ipnet: 2607:f8b0::/32(-2.51), asn: 15169(-2.12),
 country: US(-0.05)]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[];
 DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-stable>, 
 <mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable/>;
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
 <mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 13 Oct 2019 21:43:01 -0000

Many thanks to Pete and John. See inline below

On Sun, Oct 13, 2019 at 1:13 PM John Kennedy <warlock@phouka.net> wrote:
>
> On Sun, Oct 13, 2019 at 12:35:41PM -0700, Chuck Tuffli wrote:
> > I've been running 12.0-REL on my X1 Carbon 3rd Gen happily with xorg,
> > but after installing 12.1-RC1, the laptop reboots when loading the
> > i915kms driver. If I comment out the line in /etc/rc.conf:
> >
> > kld_list="/boot/modules/i915kms.ko"
> >
> > the laptop boots, albeit without graphics. The above comes from the
> > 12.0R release notes, and I didn't see any updates to this in the 12.1
> > release notes. I've tried drm-kmod from both ports and packages with
> > the same result. Did something change with 12.1? What should I check?
> > TIA
>
>   Not sure how your upgraded your box, but make sure that the driver is
> compiled for the new kernel.  KBI breakage can easily behave like that.

I upgraded the box per the release announcement:
   freebsd-update upgrade -r 12.1-RC1
   freebsd-update install
with the prescribed reboots and installs. Afterwards, I did a pkg
update and pkg upgrade. Note, I don't install anything from ports.

>   I won't be in front of a box with that setup until Monday, but from
> memory, graphics/drm-kmod pulls in graphics/drm-fbsd12.0-kmod (at
> least on my system with it's build-in Intel video card).
>
>   If you do something like this, but substitute your .ko file for m4
> below, you should be able to validate the package it came from and the
> kernel version it was targeted at:
>
>         $ pkg which /usr/local/bin/*m4
>         /usr/local/bin/gm4 was installed by package m4-1.4.18_1,1
>
>         $ pkg info m4 | grep -i version
>         Version        : 1.4.18_1,1
>                 FreeBSD_version: 1201000
>
>   That 1201000 means that it was compiled for 12.1 in my case.
$ pkg info drm-fbsd12.0-kmod-4.16.g20190814 | grep -i version
Version        : 4.16.g20190814
    FreeBSD_version: 1200086
This version is for FreeBSD 12.0.

>   Have you overridden the default package location, leaving it aimed at 12.0?

Nope

>   What do you mean by trying it from "ports"?  How did you refresh that?

The advice I received was 'you need to build drm-kmod from ports'. I
don't typically have a ports tree, so I did:
    # portsnap fetch
    # portsnap extract
    # cd /usr/ports/graphics/drm-kmod
    # make && make install
After doing the makes, my immediate thought was 'that finished too fast'.
If, instead, I follow Pete's advice and run make package in
/usr/ports/graphics/drm-fbsd12.0-kmod, a) make appears to do something
and b) the resulting package allows my laptop to boot to a graphical
desktop. And the FreeBSD_version looks correct:
$ pkg info drm-fbsd12.0-kmod-4.16.g20190814 | grep -i version
Version        : 4.16.g20190814
    FreeBSD_version: 1201000
This version is for FreeBSD 12.0.

I did go back and verify that a pkg install drm-kmod appears to
install the same (older) i915kms.ko as pkg install drm-fbsd12.0-kmod.
Out of curiosity, is the new world order that I'll always need to
compile drm-kmod from ports, or did I hit a window where packages
hadn't quite caught up to ports?

--chuck



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20191014041600616.ceeso>