Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dmraid, kernel or initramfs issues?
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
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Sun Jul 06, 2014 7:05 pm    Post subject: [SOLVED] dmraid, kernel or initramfs issues? Reply with quote

Hello all,

I have been debugging this for months on end now, probably on and off nearing a year. Perhaps I need to take a step back and ask some more... basic questions.

Ever since the genkernel package was updated for systemd (renamed genkernel-next) I have been running into issues getting my system to boot "as it should". The only viable way I can boot my system is with an initramfs built prior to the genkernel update (3.8.x initramfs) and a 3.10.x kernel image (I'm sure a 3.8.x kernel would work too but this is the latest kernel I can get to boot and my 3.8 kernel image is now gone).

So bizarre question, if the 3.8.x initramfs is able to boot my 3.10.x kernel image is there a strong reason that it should not also boot a 3.12.x kernel image? Up until this point, I have been blaming the initramfs but perhaps it is an issue with my kernel instead.

Thank you so much for your guys' help. I am really hoping to get this gentoo box up and running again as the reason I installed gentoo rolling-release distribution was to avoid clean installs in the first place :P


Last edited by neybis on Sun Jul 06, 2014 8:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Jul 06, 2014 7:28 pm    Post subject: Reply with quote

neybis,

It all depends on what you need from your initrd.

If it contains needed kernel modules, its tied to the kernel as each kernel knows and checks the version magic of the modules.
If the initrd only contains user space tools, you need not update it.

My initrd, made in 2009, lets me have root on lvm on raid5 with separate /var and /usr.
_________________
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
neybis
n00b
n00b


Joined: 28 Oct 2009
Posts: 60

PostPosted: Sun Jul 06, 2014 8:20 pm    Post subject: Reply with quote

o...m...g...

I cannot believe after all this time it was my kernel D:

I only need dmraid module to boot. Because this is in userspace, that explains why I could use the 3.8.x initramfs with my 3.10.x kernel image. Since I was using genkernel to build my initramfs anyway, I just let it build my kernel as well. AND IT WORKED!

So much makes sense now. I tried dracut with no success as well. Tried the new kernel with the old initramfs and it failed. This should've been my clue but I believed it was because of kernel version differences.

Lucky for me, I'm a configuration manager at work and since I custom configure kernel images I always make a base config file. This allows me to 3 way diff base, "mine", and "theirs". Hopefully I can find the configuration offender and get back into gentoo the right way!

Thank you sooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo much lol Like I said, I've been debugging this for what seems like a year at this point. I felt this morning I had an epiphany and you, sir, helped me realize and confirm my suspicion.
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