* Qemu image is broken
@ 2020-01-22 16:14 Josh Marshall
2020-01-22 17:18 ` Qemu image broken? Tobias Geerinckx-Rice
0 siblings, 1 reply; 11+ messages in thread
From: Josh Marshall @ 2020-01-22 16:14 UTC (permalink / raw)
To: help-guix
Hey guys,
Starting up the Qemu image off the website immediately results in a kernel
panic and can't run. This should be fixed quickly.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-01-22 16:14 Qemu image is broken Josh Marshall
@ 2020-01-22 17:18 ` Tobias Geerinckx-Rice
2020-01-22 17:22 ` Tobias Geerinckx-Rice
0 siblings, 1 reply; 11+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-01-22 17:18 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 979 bytes --]
Josh,
Josh Marshall 写道:
> Starting up the Qemu image off the website immediately results
> in a kernel
> panic and can't run. This should be fixed quickly.
I agree that any bugs should be promptly fixed. However, I'm not
yet convinced there's anything wrong with the image. We'll need
more information to help you.
The Qemu image on <https://guix.gnu.org/download/> hasn't been
touched since May 2019 and still works for me today:
λ curl -LI
https://ftp.gnu.org/gnu/guix/guix-system-vm-image-1.0.1.x86_64-linux.xz
λ unxz guix-system-vm-image-1.0.1.x86_64-linux.xz
λ qemu-system-x86_64 \
-net user -net nic,model=virtio \
-enable-kvm -m 512 \
-device virtio-blk,drive=myhd \
-drive
if=none,file=$PWD/guix-system-vm-image-1.0.1.x86_64-linux.xz,id=myhd
# …and be greeted by a happy XFCE mouse.
How, exactly, are you trying to run it, and which error(s) do you
get?
Kind regards,
T G-R
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-01-22 17:18 ` Qemu image broken? Tobias Geerinckx-Rice
@ 2020-01-22 17:22 ` Tobias Geerinckx-Rice
2020-01-22 17:41 ` Josh Marshall
0 siblings, 1 reply; 11+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-01-22 17:22 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 151 bytes --]
Tobias Geerinckx-Rice 写道:
> if=none,file=$PWD/guix-system-vm-image-1.0.1.x86_64-linux.xz,id=myhd
Paste-o. Of course I didn't add .xz here.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-01-22 17:22 ` Tobias Geerinckx-Rice
@ 2020-01-22 17:41 ` Josh Marshall
2020-01-22 17:53 ` Tobias Geerinckx-Rice
2020-01-22 19:13 ` Leo Famulari
0 siblings, 2 replies; 11+ messages in thread
From: Josh Marshall @ 2020-01-22 17:41 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: help-guix
`qemu-system-x86_64 <image path>`. Just the naive default starting point.
On Wed, Jan 22, 2020, 12:22 Tobias Geerinckx-Rice <me@tobias.gr> wrote:
> Tobias Geerinckx-Rice 写道:
> > if=none,file=$PWD/guix-system-vm-image-1.0.1.x86_64-linux.xz,id=myhd
>
> Paste-o. Of course I didn't add .xz here.
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-01-22 17:41 ` Josh Marshall
@ 2020-01-22 17:53 ` Tobias Geerinckx-Rice
2020-01-22 19:13 ` Leo Famulari
1 sibling, 0 replies; 11+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-01-22 17:53 UTC (permalink / raw)
To: Josh Marshall; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 651 bytes --]
Josh Marshall 写道:
> `qemu-system-x86_64 <image path>`. Just the naive default
> starting point.
Is that supposed to work? I'm not familiar with the qemu command
line at all. It would be nice if it did, but that's for the Qemu
team to support.
The command line I used comes from here[0], which is linked as
‘Installation instructions’ immediately under the download link at
[1]. I don't there's any room/need for improvement on that point.
Does the image work for you that way?
Kind regards,
T G-R
[0]:
https://guix.gnu.org/manual/en/html_node/Running-Guix-in-a-VM.html
[1]: https://guix.gnu.org/download/
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-01-22 17:41 ` Josh Marshall
2020-01-22 17:53 ` Tobias Geerinckx-Rice
@ 2020-01-22 19:13 ` Leo Famulari
2020-02-07 20:43 ` Josh Marshall
1 sibling, 1 reply; 11+ messages in thread
From: Leo Famulari @ 2020-01-22 19:13 UTC (permalink / raw)
To: Josh Marshall; +Cc: help-guix
On Wed, Jan 22, 2020 at 12:41:18PM -0500, Josh Marshall wrote:
> `qemu-system-x86_64 <image path>`. Just the naive default starting point.
At the very least you will need to allocate some more RAM, for example
with '-m 4096'; that will provide 4 GB RAM to the virtual machine. The
default of 128 megabytes is not enough.
But I agree with the other responders, you should copy the instructions
in our manual unless you need to do something specific.
I hope that helps!
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-01-22 19:13 ` Leo Famulari
@ 2020-02-07 20:43 ` Josh Marshall
2020-02-07 20:52 ` [EXTERNAL]Re: " Josh Marshall
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Josh Marshall @ 2020-02-07 20:43 UTC (permalink / raw)
To: Leo Famulari; +Cc: josh.marshall, help-guix
Finally getting back to this. Instructions don't work either. The `-nic`
param is unsupported, and the `virtio-net-pci` is an unsupported nic model.
CC'ing my work email where I'm seeing this. Host OS is CentOS 7.7.
On Wed, Jan 22, 2020, 14:13 Leo Famulari <leo@famulari.name> wrote:
> On Wed, Jan 22, 2020 at 12:41:18PM -0500, Josh Marshall wrote:
> > `qemu-system-x86_64 <image path>`. Just the naive default starting point.
>
> At the very least you will need to allocate some more RAM, for example
> with '-m 4096'; that will provide 4 GB RAM to the virtual machine. The
> default of 128 megabytes is not enough.
>
> But I agree with the other responders, you should copy the instructions
> in our manual unless you need to do something specific.
>
> I hope that helps!
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: [EXTERNAL]Re: Qemu image broken?
2020-02-07 20:43 ` Josh Marshall
@ 2020-02-07 20:52 ` Josh Marshall
2020-02-07 23:16 ` Leo Famulari
2020-02-08 16:44 ` Tobias Geerinckx-Rice
2 siblings, 0 replies; 11+ messages in thread
From: Josh Marshall @ 2020-02-07 20:52 UTC (permalink / raw)
To: Josh Marshall, Leo Famulari; +Cc: help-guix
Omitting the model gets it to boot. However, Xorg fails and logind fails. I can't log into the system.
________________________________________
From: Josh Marshall <joshua.r.marshall.1991@gmail.com>
Sent: Friday, February 7, 2020 3:43 PM
To: Leo Famulari
Cc: Tobias Geerinckx-Rice; help-guix; Josh Marshall
Subject: [EXTERNAL]Re: Qemu image broken?
Finally getting back to this. Instructions don't work either. The `-nic` param is unsupported, and the `virtio-net-pci` is an unsupported nic model.
CC'ing my work email where I'm seeing this. Host OS is CentOS 7.7.
On Wed, Jan 22, 2020, 14:13 Leo Famulari <leo@famulari.name<mailto:leo@famulari.name>> wrote:
On Wed, Jan 22, 2020 at 12:41:18PM -0500, Josh Marshall wrote:
> `qemu-system-x86_64 <image path>`. Just the naive default starting point.
At the very least you will need to allocate some more RAM, for example
with '-m 4096'; that will provide 4 GB RAM to the virtual machine. The
default of 128 megabytes is not enough.
But I agree with the other responders, you should copy the instructions
in our manual unless you need to do something specific.
I hope that helps!
---
The information in this email, including attachments, may be confidential and is intended solely for the addressee(s). If you believe you received this email by mistake, please notify the sender by return email as soon as possible.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-02-07 20:43 ` Josh Marshall
2020-02-07 20:52 ` [EXTERNAL]Re: " Josh Marshall
@ 2020-02-07 23:16 ` Leo Famulari
2020-02-08 16:44 ` Tobias Geerinckx-Rice
2 siblings, 0 replies; 11+ messages in thread
From: Leo Famulari @ 2020-02-07 23:16 UTC (permalink / raw)
To: Josh Marshall; +Cc: josh.marshall, help-guix
On Fri, Feb 07, 2020 at 03:43:54PM -0500, Josh Marshall wrote:
> Finally getting back to this. Instructions don't work either. The `-nic`
> param is unsupported, and the `virtio-net-pci` is an unsupported nic model.
I can't reproduce these issues. What version of QEMU are you using? In
Guix we are based on QEMU 4.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-02-07 20:43 ` Josh Marshall
2020-02-07 20:52 ` [EXTERNAL]Re: " Josh Marshall
2020-02-07 23:16 ` Leo Famulari
@ 2020-02-08 16:44 ` Tobias Geerinckx-Rice
2020-02-08 18:56 ` Leo Famulari
2 siblings, 1 reply; 11+ messages in thread
From: Tobias Geerinckx-Rice @ 2020-02-08 16:44 UTC (permalink / raw)
To: Josh Marshall; +Cc: Leo Famulari, help-guix, josh.marshall
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
Josh,
Josh Marshall 写道:
> Finally getting back to this. Instructions don't work either.
> The `-nic`
> param is unsupported, and the `virtio-net-pci` is an unsupported
> nic model.
>
> CC'ing my work email where I'm seeing this. Host OS is CentOS
> 7.7.
CentOS's whole deal is shipping very old software with some
security fixes.
Leo Famulari 写道:
> I can't reproduce these issues. What version of QEMU are you
> using? In
> Guix we are based on QEMU 4.
If this[0] random Web site is to be believed, your qemu package is
2(!) whole releases behind what's current.
Kind regards,
T G-R
[0]: https://pkgs.org/download/qemu
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qemu image broken?
2020-02-08 16:44 ` Tobias Geerinckx-Rice
@ 2020-02-08 18:56 ` Leo Famulari
0 siblings, 0 replies; 11+ messages in thread
From: Leo Famulari @ 2020-02-08 18:56 UTC (permalink / raw)
To: Tobias Geerinckx-Rice; +Cc: josh.marshall, help-guix
[-- Attachment #1: Type: text/plain, Size: 1241 bytes --]
On Sat, Feb 08, 2020 at 05:44:23PM +0100, Tobias Geerinckx-Rice wrote:
> Josh,
>
> Josh Marshall 写道:
> > Finally getting back to this. Instructions don't work either. The
> > `-nic`
> > param is unsupported, and the `virtio-net-pci` is an unsupported nic
> > model.
> >
> > CC'ing my work email where I'm seeing this. Host OS is CentOS 7.7.
>
> CentOS's whole deal is shipping very old software with some security fixes.
>
> Leo Famulari 写道:
> > I can't reproduce these issues. What version of QEMU are you using? In
> > Guix we are based on QEMU 4.
>
> If this[0] random Web site is to be believed, your qemu package is 2(!)
> whole releases behind what's current.
Well, we had QEMU 2 until December 2018, so it's not really that far
behind for a "stable model" distro like CentOS. QEMU has been
incrementing their version number a lot lately.
Josh, here is a link to the manual instructions from when we were using
QEMU 2:
https://git.savannah.gnu.org/cgit/guix.git/tree/doc/guix.texi?id=6512b96570f79c6d230363dfe2adbd159c7861f5#n21529
Can you try that? I would add more RAM. If it doesn't work, can you try
consulting the man page for your QEMU to see how the commands might
differ?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2020-02-08 18:56 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-22 16:14 Qemu image is broken Josh Marshall
2020-01-22 17:18 ` Qemu image broken? Tobias Geerinckx-Rice
2020-01-22 17:22 ` Tobias Geerinckx-Rice
2020-01-22 17:41 ` Josh Marshall
2020-01-22 17:53 ` Tobias Geerinckx-Rice
2020-01-22 19:13 ` Leo Famulari
2020-02-07 20:43 ` Josh Marshall
2020-02-07 20:52 ` [EXTERNAL]Re: " Josh Marshall
2020-02-07 23:16 ` Leo Famulari
2020-02-08 16:44 ` Tobias Geerinckx-Rice
2020-02-08 18:56 ` Leo Famulari
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.