LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 12-17-2016, 03:47 PM   #1
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Rep: Reputation: 72
Slackware 14.2 - Kernel panic after installing vmware tools


Hi!

I took some time installing my very first Slackware VM and it hurts me that vmware tools broke it

Boot:
Kernel panic - Unable to mount root fs on unknown-block(251,1)

Attached are some info.
* boot message showing the kernel panic
* contents of my boot dir
* lilo config
* some info on my installation

My slackware is using lvm. This is my simple layout:
Code:
/dev/sda1 - boot
/dev/sda2 - LVM
/dev/slackware/lv_root
/dev/slackware/lv_swap
I managed to get the first 3 screenshot by running the slackware install disk, activating the volume group (vgchange -a y /dev/slackware) mounting the root logical volume, then chrooting.

I really don't know how to proceed with this. I was following this article and I read that I should run lilo after the installation, but it was already too late. Also, I noticed that the initrd.gz file was just updated so I'm guessing my vmware tools installation did it.

Please bear with me, I'm only using Slackware for a week.

Thanks!
Attached Thumbnails
Click image for larger version

Name:	slackware-sys.png
Views:	65
Size:	10.9 KB
ID:	23788   Click image for larger version

Name:	slackware-liloconf.png
Views:	53
Size:	6.9 KB
ID:	23789   Click image for larger version

Name:	slackware-bootdir.png
Views:	54
Size:	28.1 KB
ID:	23790   Click image for larger version

Name:	slackware-bootmsg.png
Views:	65
Size:	26.6 KB
ID:	23791  

Last edited by ilesterg; 12-17-2016 at 03:50 PM. Reason: more info
 
Old 12-17-2016, 06:53 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Hi:

I'd be very surprised if the VM tools broke your system.

It's more likely that after a 'kernel upgrade' and not running LILO is what generated kernel panic. I'm not sure but it may be that the driver for you fs is not there or something is missing in the initrd.

I recently forgot to run LILO after a kernel upgrade and my Slackware 14.2 wouldn't boot. However; I didn't have kernel panic-

One of our Moderators; astrogeek and Mr. frankbell helped me. Hope this thread helps you.

http://www.linuxquestions.org/questi...nd-4175595311/
 
Old 12-17-2016, 07:08 PM   #3
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,178

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
1) What is the name of your Volume Group - slackware or vgslack?

2) Did you create your initrd.gz with the -L option?
 
Old 12-17-2016, 07:17 PM   #4
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
I did have a kernel update days ago (slakpkg update to be more accurate) and I didn't need to rebuild anything.

It was today after installing kde plasma 5 then rebooting then I decided to install vmware tools.

Sorry my vg is vgslack, slackware was just a typo.

Yes I did use -L option but that was during installation. After that I did not do anything kernel related except perhas this vmware tools install. I'm did try to run mkinitrd inside chroot but it appears that it needs 4.4.14 libs which I'm guessing were not loaded.

Last edited by ilesterg; 12-17-2016 at 07:20 PM.
 
Old 12-22-2016, 07:54 PM   #5
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Did the link I posted help?

Still have kernel panic?

Common causes of kernel panic include things like faulty RAM or malfunctioning peripherals, drivers or software plugins, or even badly written programs.
http://g33kinfo.com/info/archives/492

I'd just do a fresh installation unless you have another kernel to boot:-
 
Old 12-22-2016, 07:58 PM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
https://wiki.archlinux.org/index.php/Kernel_Panics
 
Old 01-03-2017, 12:15 AM   #7
ilesterg
Member
 
Registered: Jul 2012
Location: München
Distribution: Debian, CentOS/RHEL
Posts: 587

Original Poster
Rep: Reputation: 72
This was a VM. I reinstalled Slack, installed VMware Tools then made sure to reran lilo, rebooted, and it booted up successfully. It would have been good to fix that without reinstalling Slack tho.

Marking as solved.
 
Old 01-03-2017, 03:17 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
It would have been good to fix that without reinstalling Slack tho.
Agreed. Glad it's working for you now and kernel panic is a thing of the past.
 
  


Reply

Tags
slackware, vmtools, vmware, vmware tools



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
Slackware 14.2 on VMware Workstation guest : VMware Tools doesn't work marky9074 Slackware 12 09-24-2016 02:57 PM
[SOLVED] Slackware 14.1 on VMware Workstation guest : VMware Tools doesn't work Shkel Slackware 25 05-09-2014 01:13 AM
Slackware-10.2 under VMware -- Kernel Panic dwhitney67 Slackware - Installation 4 08-26-2007 02:27 AM
slackware 10.2 on vmware 5.0 on windows xp host => kernel panic daspooky Slackware 4 04-11-2006 01:36 PM
Slackware 9 Kernel Panic while trying to install in VMWare 4 Jesterace Slackware 4 10-28-2003 08:24 PM

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

All times are GMT -5. The time now is 10:26 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