Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] efi-stub kernels after 4.0.4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 300
Location: Caucasia

PostPosted: Mon Jul 27, 2015 9:04 pm    Post subject: [SOLVED] efi-stub kernels after 4.0.4 Reply with quote

I have successfully booted efi-stub kernels from somewhere in the 3.x up to 4.0.4.

My usual process is to copy the working .config to the new kernel directory, then make oldconfig and build the kernel, and move it to it's location.

No kernel after 4.0.4 works using this strategy.

I'm wondering if there's some new thing I'm missing, or where I might start troubleshooting. On IRC I was advised to check if I was out of space on the ESP, but there is plenty of space there.

Thanks in advance.
_________________
Open-mindedness is painful...


Last edited by undrwater on Mon Aug 03, 2015 1:07 am; edited 1 time in total
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7128
Location: almost Mile High in the USA

PostPosted: Mon Jul 27, 2015 9:14 pm    Post subject: Reply with quote

What hardware? What does it do instead? What EFI bootloader (if any, like rEFInd, grub, etc.)?

I was able to run Linux 4.1 (release/from kernel.org) EFI stub on a 32-bit EFI-only machine. Nothing seemed to have changed for this particular machine (x86 tablet). I had been using the same config from 3.19 -> 4.0 -> 4.1 and they seem to still boot...
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 300
Location: Caucasia

PostPosted: Mon Jul 27, 2015 11:11 pm    Post subject: Reply with quote

Hardware: AMD_64

No bootloader, kernel boots directly from UEFI

4.0.4 boots fine, newer kernels will not boot, nor allow ssh access, just blank screen.
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
s4e8
Guru
Guru


Joined: 29 Jul 2006
Posts: 309

PostPosted: Tue Jul 28, 2015 9:00 am    Post subject: Reply with quote

enable CONFIG_EARLY_PRINTK and CONFIG_EARLY_PRINTK_EFI, and add earlyprintk=efi to kernel parameter
Back to top
View user's profile Send private message
undrwater
Guru
Guru


Joined: 28 Jan 2003
Posts: 300
Location: Caucasia

PostPosted: Mon Aug 03, 2015 1:08 am    Post subject: Reply with quote

User error. I had an old initram in my boot partition.
_________________
Open-mindedness is painful...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum