From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: Re: flashrom package needs update Date: Fri, 19 Aug 2016 07:35:20 +0000 Message-ID: <87pop55hzb.fsf@we.make.ritual.n0.is> References: <87wpjdckvv.fsf@we.make.ritual.n0.is> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baeKs-00042Z-01 for guix-devel@gnu.org; Fri, 19 Aug 2016 03:35:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1baeKp-00051y-OY for guix-devel@gnu.org; Fri, 19 Aug 2016 03:35:24 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:50480 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1baeKp-00051N-CE for guix-devel@gnu.org; Fri, 19 Aug 2016 03:35:23 -0400 Received: by beleriand.n0.is (OpenSMTPD) with ESMTPSA id a3c9f3e9 TLS version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO for ; Fri, 19 Aug 2016 07:35:21 +0000 (UTC) In-Reply-To: <87wpjdckvv.fsf@we.make.ritual.n0.is> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org ng0 writes: > Someone should update flashrom to 0.9.9. (https://www.flashrom.org/Flashrom/0.9.9) > I tried and do not understand enough of flashrom to update the patch we need. Additionally we need to check what's different about GuixSD that this happens: root@shadowwalker /home/ng0# flashrom -p internal -w libreboot_latest_stable.rom flashrom v0.9.7-r1711 on Linux 4.7.0-gnu (x86_64) flashrom is free software, get the source code at http://www.flashrom.org Calibrating delay loop... OK. Error accessing high tables, 0x100000 bytes at 0x000000007dad6000 /dev/mem mmap failed: Operation not permitted Failed getting access to coreboot high tables. ======================================================================== WARNING! You seem to be running flashrom on an unsupported laptop. Laptops, notebooks and netbooks are difficult to support and we recommend to use the vendor flashing utility. The embedded controller (EC) in these machines often interacts badly with flashing. See the manpage and http://www.flashrom.org/Laptops for details. If flash is shared with the EC, erase is guaranteed to brick your laptop and write may brick your laptop. Read and probe may irritate your EC and cause fan failure, backlight failure and sudden poweroff. You have been warned. ======================================================================== Aborting. Error: Programmer initialization failed. I value that GuixSD seems to be more protective than any other system in that regard where I could just become root and run flashrom, but maybe we need to make an exception for flashrom and similar software. Booting into ubuntu-live and running a statically linked binary of flashrom just made me flash libreboot stable. I want to do this from within GuixSD. -- ng0 For non-prism friendly talk find me on http://www.psyced.org