unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Hubert Lombard <contact@hubert-lombard.website>
To: guix-devel@gnu.org
Subject: Feedback guix-hurd-20200401.img with qemu
Date: Mon, 6 Apr 2020 16:30:15 +0200	[thread overview]
Message-ID: <20200406163015.17c78bc5@hubert-lombard.website> (raw)

Hi Guix-devel :-)

From Linux gnu 5.4.30-gnu #1 SMP 1 x86_64 GNU/Linux

Yesterday, I had a try to test guix-hurd, here's my feedback, I don't know however if it can help...

$ guix environment --ad-hoc qemu -- qemu-system-i386 -enable-kvm -drive file=guix-hurd-20200401.img,cache=writeback -m 1G
.........................................................................................................................
WARNING: Image format was not specified for 'guix-hurd-20200401.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
Could not access KVM kernel module: Permission denied
qemu-system-i386: failed to initialize KVM: Permission denied

$ lsmod|grep kvm
kvm_intel             253952  0
kvm                   675840  1 kvm_intel
irqbypass              16384  1 kvm

With sudo:

$ sudo guix environment --ad-hoc qemu -- qemu-system-i386 -enable-kvm -drive file=guix-hurd-20200401.img,cache=writeback -m 1G

WARNING: Image format was not specified for 'guix-hurd-20200401.img' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.

In this way, it works:

root@guix-system:~# hello
Hello, world!

root@guix-system:~# ls -l
total 4
-rw-r--r-- 1 root root 3374 Jan 1 2020 translator_primer

root@guix-system:~# guix describe
Generation 413 31 2020 16:53:54(current)
  guix ef4b5f2
    repository URL: https://git.savannah.gnu.org/git/guix.git
    branch: master system! guix-system console
    commit: ef4b5f2f

root@guix-system:~# guix install linux-libre

(It has worked too)

Monday, on 6th April:

root@guix-system:~# adduser hubert

(OK)

hubert@guix-system:~$ startx

It seems to going well, but fails after showing an amorce of graphic
display.

(I can't see the first lines, but the following:)
..............................................................
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Apr  6 09:55:55 2020
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system directory "/usr/share/X11/xorg.conf.d"
(EE) 
Fatal server error:
(EE) input-thread: draining pipe (1073741828) (EE)
(EE) 
Please consult the The X.Org Foundation support
          at http://wiki.x.org
 for help.
 (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information;
 (EE)

waiting for X server to begin accepting connections (EE) Server terminated with
error (1). Closing the file.

xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
xauth: (argv):1: bad display name "guix-system:0" in "remove" command

Note if I launch starx in root mode, it don't close, but stays in
incomplete graphic state. Here:
https://www.hubert-lombard.website/Hurd/VGA.png

Cheers!

Friendly, 

Hubert

             reply	other threads:[~2020-04-06 14:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-06 14:30 Hubert Lombard [this message]
2020-04-06 15:12 ` Feedback guix-hurd-20200401.img with qemu Tobias Geerinckx-Rice
2020-04-06 17:08   ` Hubert Lombard
2020-04-06 17:45 ` Joshua Branson
2020-04-07  9:50 ` Ludovic Courtès
2020-04-07 11:30   ` Hubert Lombard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200406163015.17c78bc5@hubert-lombard.website \
    --to=contact@hubert-lombard.website \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).