unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Feedback guix-hurd-20200401.img with qemu
@ 2020-04-06 14:30 Hubert Lombard
  2020-04-06 15:12 ` Tobias Geerinckx-Rice
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Hubert Lombard @ 2020-04-06 14:30 UTC (permalink / raw)
  To: guix-devel

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

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

* Re: Feedback guix-hurd-20200401.img with qemu
  2020-04-06 14:30 Feedback guix-hurd-20200401.img with qemu Hubert Lombard
@ 2020-04-06 15:12 ` 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
  2 siblings, 1 reply; 6+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-04-06 15:12 UTC (permalink / raw)
  To: guix-devel, Hubert Lombard

[-- Attachment #1: Type: text/plain, Size: 474 bytes --]

Hubert,

Thanks for your feedback!  I'm impatient to try the Hurd myself 
:-)

I can help you with one thing, though:

Hubert Lombard 写道:
> $ lsmod|grep kvm
> kvm_intel             253952  0
> kvm                   675840  1 kvm_intel
> irqbypass              16384  1 kvm

you@probably ~$ ls -l /dev/kvm 
crw-rw---- 1 root kvm 10, 232 Apr  3 16:40 /dev/kvm

Add yourself to the ‘kvm’ group to use KVM as a regular user.

Kind regards,

T G-R

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

* Re: Feedback guix-hurd-20200401.img with qemu
  2020-04-06 15:12 ` Tobias Geerinckx-Rice
@ 2020-04-06 17:08   ` Hubert Lombard
  0 siblings, 0 replies; 6+ messages in thread
From: Hubert Lombard @ 2020-04-06 17:08 UTC (permalink / raw)
  To: Tobias Geerinckx-Rice; +Cc: guix-devel

Le Mon, 06 Apr 2020 17:12:20 +0200,
Tobias Geerinckx-Rice <me@tobias.gr> a écrit :

Hi Tobias,

Thank you for your answer...
I'll add myself in the 'kvm' group, thanks!

The Hurd is indeed so exciting; I was able to install Hurd K9 in 2004
(on real hardware, if I remember well). I keep a souvenir similar with
my first steps comparable to GuixSD...

It's seems to take a new dimension with Guix...

Good evening :-)

Hubert

> Hubert,
> 
> Thanks for your feedback!  I'm impatient to try the Hurd myself 
> :-)
> 
> I can help you with one thing, though:
> 
> Hubert Lombard 写道:
> > $ lsmod|grep kvm
> > kvm_intel             253952  0
> > kvm                   675840  1 kvm_intel
> > irqbypass              16384  1 kvm  
> 
> you@probably ~$ ls -l /dev/kvm 
> crw-rw---- 1 root kvm 10, 232 Apr  3 16:40 /dev/kvm
> 
> Add yourself to the ‘kvm’ group to use KVM as a regular user.
> 
> Kind regards,
> 
> T G-R

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

* Re: Feedback guix-hurd-20200401.img with qemu
  2020-04-06 14:30 Feedback guix-hurd-20200401.img with qemu Hubert Lombard
  2020-04-06 15:12 ` Tobias Geerinckx-Rice
@ 2020-04-06 17:45 ` Joshua Branson
  2020-04-07  9:50 ` Ludovic Courtès
  2 siblings, 0 replies; 6+ messages in thread
From: Joshua Branson @ 2020-04-06 17:45 UTC (permalink / raw)
  To: guix-devel


Hello guix developers!  I just read this email thread from the
debian-hurd email list.  It looks like in the next few days the GNU/Hurd
bootstrap story will be simplified.  

https://lists.debian.org/debian-hurd/2020/04/msg00000.html

Also people not using the qwerty keyboard layout may be interested in
the "--curses" command from qemu, which starts the GNU/Hurd in your
keyboard layout of choice.  To the best of my knowledge the GNU/Hurd
supports many keyboard layouts but not keyboard variants like "dvorak".
Please note that starting the Hurd this way, will not allow you to start
X.  However, many Hurd developers code in the Hurd without X.  X is not
needed to code in the kernel for example...

-- 
Joshua Branson Sent from Emacs and Gnus

P.S. Please do not send emails to my inbox; I am subscribed to
guix-devel. Thanks

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

* Re: Feedback guix-hurd-20200401.img with qemu
  2020-04-06 14:30 Feedback guix-hurd-20200401.img with qemu Hubert Lombard
  2020-04-06 15:12 ` Tobias Geerinckx-Rice
  2020-04-06 17:45 ` Joshua Branson
@ 2020-04-07  9:50 ` Ludovic Courtès
  2020-04-07 11:30   ` Hubert Lombard
  2 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-07  9:50 UTC (permalink / raw)
  To: Hubert Lombard; +Cc: guix-devel

Hi Hubert,

Hubert Lombard <contact@hubert-lombard.website> skribis:

> 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)

I hope you paid attention to the output of that command.  :-)

Ludo’.

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

* Re: Feedback guix-hurd-20200401.img with qemu
  2020-04-07  9:50 ` Ludovic Courtès
@ 2020-04-07 11:30   ` Hubert Lombard
  0 siblings, 0 replies; 6+ messages in thread
From: Hubert Lombard @ 2020-04-07 11:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel

Le Tue, 07 Apr 2020 11:50:09 +0200,
Ludovic Courtès <ludo@gnu.org> a écrit :

Hi Ludo!

> Hi Hubert,
> 
> Hubert Lombard <contact@hubert-lombard.website> skribis:
> 
> > 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)  
> 
> I hope you paid attention to the output of that command.  :-)
> 
> Ludo’.

Sorry, I wanted to give a feedback too fastly!

Here:
root@guix-system:~# guix install linux-libre
The following package will be installed:
    linux-libre

substitute: updating substitutes from 'https://ci-guix.gnu.org'... 100.0%
0,2 MB will be downloaded:
 /gnu/store/g70bhgkpr78i98iniiar4yw171f2h445-wishful-thinking

...
Help us achieve this dream!
We are really close to having a Guix System using the Hurd.
Join the discussion on IRC #guix on freenode.net and on the guix-devel@gnu.org
mailing list!

HTH

Hubert

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

end of thread, other threads:[~2020-04-07 11:29 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-06 14:30 Feedback guix-hurd-20200401.img with qemu Hubert Lombard
2020-04-06 15:12 ` 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

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).