From owner-freebsd-hackers@freebsd.org Mon Dec 4 10:39:18 2017 Return-Path: Delivered-To: freebsd-hackers@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 B22BBDF7C5D for ; Mon, 4 Dec 2017 10:39:18 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f53.google.com (mail-lf0-f53.google.com [209.85.215.53]) (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 440042BE5; Mon, 4 Dec 2017 10:39:17 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f53.google.com with SMTP id x20so18576737lff.1; Mon, 04 Dec 2017 02:39:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=vqDGRaXJ5zQNHi8UAMmDYjlDrw16HZZIegom7zdATU4=; b=ZSX/pbDkYgUOlC82ZcWtK1EUjdAXrfpaWriKfx5Wa+k7yZCelEBX7ixjbjSnIhu0SM K83IDsA/anZ2vgz3s+LBrU1RRn7rVGvdCFvyoFYfOvSXhGTDWR3x3+BIdfsRt02WeiJr ZDF1Do+z+6B1/R0dBtn+ILqASKZGFKH5w8SXOIBuMqrjQCtq6lgXfmNwo9mnckb2fqZI FznjFmojs7pqhuKjGLbDCWa4fdoAUQpPqlQIw9zBAZTQwPYpHYLUH70YxRtPAtgeDSJ3 ouEVUxCE9wMaCIoota0HKPMu/hcG6kOVQ2kcNXSxQP9fhlPGyiTiIeYTXWAXUk0y02e5 wSjA== X-Gm-Message-State: AJaThX44zI+G75Qbv63fSpHCkGl7FixBT/pLog0E94ZpCveMrmLqcCl7 RsNolOPnLPZ+q93m1wnqhefE5KB5 X-Google-Smtp-Source: AGs4zMaKJPl1f1zj7F0JgYedEivWjv/OdzlreaunWxomf/Y7GNUzu97IPpW2zMF8w4iEU4yez4NqNA== X-Received: by 10.46.78.1 with SMTP id c1mr9697173ljb.188.1512383949850; Mon, 04 Dec 2017 02:39:09 -0800 (PST) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id d81sm2323623lfd.39.2017.12.04.02.39.09 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Dec 2017 02:39:09 -0800 (PST) Subject: Re: libpci-3.5.6: something is wrong From: Andriy Gapon To: sunpoet@FreeBSD.org Cc: freebsd-hackers@FreeBSD.org References: <1691ad41-40a0-9f49-fd46-6b0b65738d75@FreeBSD.org> Message-ID: <28a66616-4614-c89a-22c1-2fff09975017@FreeBSD.org> Date: Mon, 4 Dec 2017 12:39:08 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0 MIME-Version: 1.0 In-Reply-To: <1691ad41-40a0-9f49-fd46-6b0b65738d75@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Dec 2017 10:39:18 -0000 [ping] On 25/11/2017 10:09, Andriy Gapon wrote: > > I have seen a report on IRC that libpci-3.5.6 upgrade caused troubles for > someone. Now I also see a problem: > > # flashrom --programmer internal > > flashrom v0.9.9-r1955 on FreeBSD 12.0-CURRENT (amd64) > flashrom is free software, get the source code at https://flashrom.org > > Calibrating delay loop... OK. > Found chipset "AMD SB7x0/SB8x0/SB9x0". > Enabling flash write... OK. > No EEPROM/flash device found. > Note: flashrom can never write if the flash chip isn't found automatically. > > > With libpci-3.5.5: > # > LD_PRELOAD=/usr/local/poudriere/ports/default/devel/libpci/work/pciutils-3.5.5/lib/libpci.so.3 > flashrom --programmer internal > flashrom v0.9.9-r1955 on FreeBSD 12.0-CURRENT (amd64) > flashrom is free software, get the source code at https://flashrom.org > > Calibrating delay loop... OK. > Found chipset "AMD SB7x0/SB8x0/SB9x0". > Enabling flash write... OK. > Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) mapped at physical address > 0x00000000ffc00000. > No operations were specified. > > I am on amd64 head. I wonder if only head is affected. > I also wonder what kind of change in this minor release could have caused the > problem and if the upstream has any fix for it already. > > Thank you! > -- Andriy Gapon