LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-17-2017, 01:28 PM   #1
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Current I have a problem


Current will install on a Qemu UEFI virtual machine but will not boot tiancore just hangs

Current will install on a separate UEFI partition but will not boot just keeps falling back to the installer.

Working on it
any comments welcome
I have slackware 64 running on NVMe - SDD - spinning rust
I don't think its me
By the way it works fine on legacy both virtual and real
John
just installed on a second partition same problem
I get the TianoCore splash screen
then ELILO v3.16 for EFI/x86_64
then Loading kernel vmlinuz... done
then back to the splash screen

Last edited by AlleyTrotter; 11-18-2017 at 02:22 PM. Reason: A little more info
 
Old 11-17-2017, 06:04 PM   #2
KewlCat
LQ Newbie
 
Registered: Aug 2015
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Same here

Hello !

I don't think it's you.
I've upgraded my "virtual Slackware" at the same time that I tried to make it boot through EFI with ELILO, and not "Legacy" with LILO. It hung (besides many other infuriating problems with VirtualBox's implementation of EFI but that's another story). So I resorted to go back to legacy and it worked. So far, half so good.
Then I thought that maybe it would work on real hardware since I had many machines boot through EFI for years without a problem.
And then it hung.
I booted a rescue system and changed my elilo.conf file so that it was as verbose as possible.

It hangs while uncompressing the kernel, apparently (see attachment)

I used the latest elilo-x86_64.efi and vmlinuz (found in /boot, using kernel-huge) and the config file is as simple as can be, and worked very well with every single previous version of the kernel images (as packaged, or compiled by myself).

What's so special about this 4.14.0 kernel image ?
Attached Thumbnails
Click image for larger version

Name:	IMG_20171118_004949.jpg
Views:	96
Size:	165.2 KB
ID:	26332  

Last edited by KewlCat; 11-17-2017 at 06:07 PM.
 
Old 11-17-2017, 06:35 PM   #3
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Quote:
Originally Posted by KewlCat View Post
Hello !

I don't think it's you.
...........
What's so special about this 4.14.0 kernel image ?
sorry you are also having problem. nice to know I'm not alone
 
Old 11-18-2017, 09:11 AM   #4
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
anyone care to take a look at the config I have been using since 4.14 was released which works fine for me and the current kernel config ?

Has anyone successfully built a virtual machine of current using UEFI?

the diff is attached
John

asrock 77 extreme 4 motherboard
i5 intel processor
Linux NVMe 4.14.0 #1 SMP Sun Nov 12 17:30:00 EST 2017 x86_64 Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz GenuineIntel GNU/Linux
the problem is repeatable on pci nvme, sata sdd and spinning hard drive

Last edited by AlleyTrotter; 07-17-2018 at 07:35 PM.
 
Old 11-19-2017, 07:48 AM   #5
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
new update/kernel for current dated Sun Nov 19 03:36:30 UTC 2017 does not help
same loop as before on qemu virtual machine on boot after successful install
I get the TianoCore splash screen
then ELILO v3.16 for EFI/x86_64
then Loading kernel vmlinuz... done
then back to the splash screen
over and over
I can escape to the grub boot manager screen and start the efi shell
with the efi shell i can
Code:
fs0:\EFI\Slackware\vmlinuz
starts to boot and I get
Kernel panic - not syncing: VFS: Unable to mount rootfs on unknown-block (0,0)

also from the grub boot manager I can select Slackware
which takes me back into the boot loop at
ELILO v3.16 for EFI/x86_64
Loading kernel vmlinuz... done
and continues to loop back to the splash screen

Today I think I will try to compile and install the current config-huge on a working 64-14.2
maybe that will give me a hint
john
 
Old 11-19-2017, 01:14 PM   #6
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
the problem is in the kernel config

I used the config-huge from current to compile the kernel
copied it along with System.map to a working 64-14.2 system and added an entry for the new kernel in elilo.conf to use it as default [REBOOT]

it starts as always with
ELILO v3.16 for EFI/x86_64
.....
Loading kernel bzImage-4.14.0 ... done

and hangs no panic just hangs
going to reinstall my config and wait for new update
John

Looks like we need a modified /boot/efi/EFI/Slackware/elilo-x86_64.efi the huge kernel is too huge >8M There is a patched referenced in another thread

Last edited by AlleyTrotter; 11-19-2017 at 05:02 PM. Reason: mod for elilo
 
1 members found this post helpful.
Old 11-20-2017, 09:06 AM   #7
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
Fixed For Me

Found the fix for huge kernel too huge to boot

Using the patched elilo from http://vs3.z01.eu/files/elilo-x86_64.efi
The patch alone is available from https://sourceforge.net/p/elilo/patches/19/
I looked at the elilo slackbuild but did not try to do the patch myself (Too complex for me)
So I added the patched elilo-x86_64.efi to my install dvd
built the VM and installed as usual
but before I rebooted I copied the patched elilo-x86_64.efi from install dvd to
/mnt/boot/efi/EFI/Slackware/elilo.efi
rebooted
worked as advertised (Bob's your uncle)

Thanks
John

Last edited by AlleyTrotter; 11-20-2017 at 09:11 AM. Reason: correct the copied to directory
 
1 members found this post helpful.
Old 11-20-2017, 10:19 AM   #8
KewlCat
LQ Newbie
 
Registered: Aug 2015
Distribution: Slackware
Posts: 17

Rep: Reputation: Disabled
Yes!

Thank you.
 
Old 11-21-2017, 02:22 PM   #9
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-15.0
Posts: 783

Original Poster
Rep: Reputation: 479Reputation: 479Reputation: 479Reputation: 479Reputation: 479
I don't knoow if this thread was a help to anyone other KewlCat and myself, but it helped me work my way thru the problem
So I feel a responsibility to close it out properly
Thanks to Didier Spaier for posting the elilo patch in a another thread
Thanks to Zerouno for posting a reference to a revised elilo.efi in a different thread
Those posts allowed me to test and resolve the issue

And of course many Thanks to Pat for doing the hard part and issuing an update to current which fixes everything that was an issue for me.

The current update issued Tue Nov 21 05:05:41 UTC 2017
installs and boots on a Qemu 64 VM in both UEFI and Legacy modes.
Amen.
Lots of fun in the last few days.
~
 
1 members found this post helpful.
  


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] Problem with X in current diwljina Slackware 6 03-02-2011 10:14 AM
inskcape problem after following -current el_jauzaa Slackware 10 12-03-2010 08:54 PM
[SOLVED] Problem with su in current stormtracknole Slackware 7 02-03-2010 12:04 AM
wireless problem on -current BCarey Slackware 26 05-11-2008 01:15 PM
slack-current qt problem kule Slackware 4 03-31-2005 02:08 AM

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

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