Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
compiled kernel not working
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
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 127

PostPosted: Thu Nov 30, 2017 5:12 pm    Post subject: compiled kernel not working Reply with quote

Hello
I have changed my kernel configuration and re-compiled it following the handbook with
Code:
make
make modules_install
make install
No errors reported. Change was no big thing, just added a module for the sound.
My /boot directory looks as expected
Code:
ls /boot
System.map-4.12.12-gentoo      config-4.12.12-gentoo     vmlinuz-4.12.12-gentoo
System.map-4.12.12-gentoo.old  config-4.12.12-gentoo.old   vmlinuz-4.12.12-gentoo.old
efi/   grub/
However, after updating grub I cannot boot any longer. It freezes at
Code:
Loading Linux 4.12.12-gentoo ....'

The corresponding grub entries look identical for the new and old kernel besides the ".old" extension. In fact, when manually changing the grub entry from 'vmlinuz-4.12.12-gentoo' to 'vmlinuz-4.12.12-gentoo.old', the system boots up a normal.

Apparently the new kernel is broken. I did not alter any significant thing, I did that many times before. Sound modules should not trigger corrupt or not.

Any ideas?

Lokesh
_________________
Sometimes frustrated Linux User
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 39297
Location: 56N 3W

PostPosted: Thu Nov 30, 2017 6:30 pm    Post subject: Reply with quote

Lokesh,

Code:
Loading Linux 4.12.12-gentoo ....
comes from grub.

The first kernel message is
Code:
Decompressing Linux...
so it doesn't get that far.
Is /boot full and your vmlinuz-4.12.12-gentoo truncated?
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Lokesh
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2012
Posts: 127

PostPosted: Sun Dec 03, 2017 2:44 pm    Post subject: Reply with quote

@Neddy Seagoon: boot was on the root partition, and plenty of space was left.

I had a dual boot drive with Debian as the other OS, and Debian was the first to no longer boot up, even after 2-3 reinstallations. It was only then that also Gentoo refused also to boot up, maybe to express solidarity among Linuxes??? .

Solved it by zeroing out the entire disc. I recalled having similar problems few years ago, when I did many re-installations of the system, and only deleting all data on the disc helped.

So I did it again, a tough measure, but it helped.

Should the thread be marked as 'solved'?

Lokesh
_________________
Sometimes frustrated Linux User
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