LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-05-2021, 05:28 AM   #1
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Rep: Reputation: Disabled
qemu-kvm -cdrom slackware64-14.2-install-dvd.iso


Hi, i've pbs with this simple cli and the boot process stopped with a kernel panic! KVM is enable on my host (core2duo E8500), modules (kvm kvm_intel) loaded and got that message in dmesg:
Code:
vcpu0, guest rIP: 0xffffffff8258069a disabled perfctr wrmsr: 0xc2 data 0xffff
Using qemu-5.2.0 on -current. Thanks!
 
Old 04-05-2021, 08:25 PM   #2
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749Reputation: 2749
Do a web search and you will find that the message is considered harmless. You need to look again for information on the cause of the kernel panic.
 
Old 04-05-2021, 08:54 PM   #3
slac
Member
 
Registered: May 2019
Posts: 265

Rep: Reputation: Disabled
Reading your post it is not clear to me where the kernel panic is happening. Is it happening in your host or guest machine(using Qemu)?

In case the kernel panic is happening using Qemu (guest machine), paste the full command that you are using. Also this may be useful:

Sometimes if not enough ram is being used a kernel panic happens.

Add more ram using the -m switch, ie: -m 1G (to use 1GB of RAM for the virtual machine). If the -m switch is not included only 128MB are used by default.

Last edited by slac; 04-05-2021 at 08:59 PM.
 
Old 04-06-2021, 12:52 PM   #4
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: Disabled
Hi slac, you're 100% right! Kernel panic is happening in guest machine (qemu), the -m 1G option solved my pb I'm not familiar in booting big iso with qemu but playing and installing old Slackware distros within qemu-2.8 Still installed slackware-pre-1.0-beta and slackware-1.01 on a disk image with (pre-created) floppy images and using the doinstall (installation program)
 
Old 04-16-2021, 04:53 PM   #5
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
@dodoLQ, here's what I use. Gives an idea of the whole host of useful options. I set up a BASE image, then a WIP copy-on-write image from that. if somethings goes wrong, I just need to create a clean WIP!
https://www.linuxgalaxy.org/files/ut...2_zenityfix.sh
Also, 1GB RAM is a bit thin for 14.2. I'd go 2G for CLI and 4GB to run a DE. But then, I have 32GB on the host....
 
Old 04-16-2021, 05:29 PM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
To increase the usable RAM one may try swapinzram. Sorry I was too lazy to make a standard SlackBuild but just running package-swapinzram.sh should be enough.

Unfortunately this doesn't work during installation as we have to load the kernel and initrd first, and the initrd can be big.

Last edited by Didier Spaier; 04-16-2021 at 05:50 PM.
 
Old 04-19-2021, 12:49 PM   #7
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 211

Original Poster
Rep: Reputation: Disabled
@kingbeowulf, speaking simple, what does your script do exactly?
 
Old 04-23-2021, 05:45 PM   #8
kingbeowulf
Senior Member
 
Registered: Oct 2003
Location: WA
Distribution: Slackware
Posts: 1,266
Blog Entries: 11

Rep: Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744Reputation: 744
@dodoLQ, my script uses Zenity to create a simple GUI, wrapping qemu command lines into a menu so that I don't have to type then out each time.
 
Old 04-23-2021, 07:26 PM   #9
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,355

Rep: Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067Reputation: 4067
- moved into a new thread -

Last edited by marav; 04-23-2021 at 07:36 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] "No KVM, No qemu-kvm" Available error while trying to install KVM on CentOS 6.3 sriramdas Linux - Virtualization and Cloud 5 01-01-2013 10:46 AM
LXer: Set up qemu-kvm-1.0+noroms as spice enabled qemu server vs qemu-kvm-spice on Ubuntu Precise LXer Syndicated Linux News 0 05-26-2012 07:41 AM
[Debian/Qemu/KVM] Why qemu --enable-kvm works but not kvm directly? gb2312 Linux - Virtualization and Cloud 2 03-21-2011 02:05 PM
LXer: Attempt of qemu-kvm-0.14 patching via Gerd’s Hoffmann “spice/qxl: locking fix for qemu-kvm” on LXer Syndicated Linux News 0 03-14-2011 01:20 PM
Can I convert a xen .iso for use with qemu (kvm .iso)? aimGuy Linux - Virtualization and Cloud 2 10-16-2009 05:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration