unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* dmidecode + flashrom problems on GuixSD?
@ 2016-07-20  0:59 ng0
  2016-07-20  8:30 ` ng0
  2016-07-20  8:40 ` Danny Milosavljevic
  0 siblings, 2 replies; 4+ messages in thread
From: ng0 @ 2016-07-20  0:59 UTC (permalink / raw)
  To: guix-devel

This is what also happens with dmidecode alone, and as root.
Is /dev/mem special protected on GuixSD in contrast to a
non-hardened Gentoo for example?


ng0@shadowwalker ~/old/ng0/src/libreboot-t400/libreboot_util$
sudo ./flash update /home/ng0/libreboot/libreboot_experimental-82-g5090b51_grub_t400_8mb/t400_8mb_deqwertz_vesafb.rom
sudo: unable to execute ./flash: No such file or directory
ng0@shadowwalker ~/old/ng0/src/libreboot-t400/libreboot_util$
sudo ./flash update /home/ng0/libreboot/libreboot_experimental-82-g5090b51_grub_t400_8mb/t400_8mb_deqwertz_vesafb.rom
Mode selected: update
flashrom v0.9.8-unknown on Linux 4.6.3-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 0x00000000bdaa0000
/dev/mem mmap failed: Operation not permitted
Failed getting access to coreboot high tables.
Error accessing DMI Table, 0x1000 bytes at 0x00000000bdaa8000
/dev/mem mmap failed: Operation not permitted
./flash: line 131:  3752 Segmentation fault      $flashrom -p
internal -w "$rompath"
-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org
SecuShare – http://secushare.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dmidecode + flashrom problems on GuixSD?
  2016-07-20  0:59 dmidecode + flashrom problems on GuixSD? ng0
@ 2016-07-20  8:30 ` ng0
  2016-07-20  8:40 ` Danny Milosavljevic
  1 sibling, 0 replies; 4+ messages in thread
From: ng0 @ 2016-07-20  8:30 UTC (permalink / raw)
  To: guix-devel

There seems to be some problem later in the flash script or in
some file or binary it calls additionally - in ubuntu live dvd it
showed equal messages but went on. /dev/mem was also protected at
first.
-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org
SecuShare – http://secushare.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dmidecode + flashrom problems on GuixSD?
  2016-07-20  0:59 dmidecode + flashrom problems on GuixSD? ng0
  2016-07-20  8:30 ` ng0
@ 2016-07-20  8:40 ` Danny Milosavljevic
  2016-08-11 11:51   ` ng0
  1 sibling, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2016-07-20  8:40 UTC (permalink / raw)
  To: ng0; +Cc: guix-devel

> /dev/mem mmap failed: Operation not permitted
> ./flash: line 131:  3752 Segmentation fault      $flashrom -p
> internal -w "$rompath"

Try running it under gdb

$ gdb --args flashrom -p .......
(gdb) r
...
Segmentation fault
(gdb) bt

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: dmidecode + flashrom problems on GuixSD?
  2016-07-20  8:40 ` Danny Milosavljevic
@ 2016-08-11 11:51   ` ng0
  0 siblings, 0 replies; 4+ messages in thread
From: ng0 @ 2016-08-11 11:51 UTC (permalink / raw)
  To: guix-devel

Danny Milosavljevic <dannym@scratchpost.org> writes:

>> /dev/mem mmap failed: Operation not permitted
>> ./flash: line 131:  3752 Segmentation fault      $flashrom -p
>> internal -w "$rompath"
>
> Try running it under gdb
>
> $ gdb --args flashrom -p .......
> (gdb) r
> ...
> Segmentation fault
> (gdb) bt
>

Fixed with commit 06438b07b9ae4747a94ffbf98e353210f2929682 (Upgrade to
version 3.0)

-- 
♥Ⓐ  ng0
For non-prism friendly talk find me on http://www.psyced.org

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-08-11 11:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-20  0:59 dmidecode + flashrom problems on GuixSD? ng0
2016-07-20  8:30 ` ng0
2016-07-20  8:40 ` Danny Milosavljevic
2016-08-11 11:51   ` ng0

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).