Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
genkernel and zfs can't co-exist?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Sun Dec 10, 2017 6:07 pm    Post subject: genkernel and zfs can't co-exist? Reply with quote

My server uses zfs, which is a fine system for managing storage.

I also use genkernel to build updated kernels.

My server is still using profile version 13, support soon to come to an end, and so it's time to update that. I decided to build a new system from the ground up using that new profile.

Built the kernel with genkernel, then tried to emerge in zfs. Genkernel blocks this, so unmerged genkernel and merged in zfs to get around it for now.

Code:

emerge genkernel
!!! PORTAGE_BINHOST unset, but use is requested.
Calculating dependencies... done!
[ebuild  N     ] sys-kernel/genkernel-3.4.52.4-r2  USE="-cryptsetup (-ibm) (-selinux)"
[blocks B      ] <sys-kernel/genkernel-3.5.1.1 ("<sys-kernel/genkernel-3.5.1.1" is blocking sys-fs/zfs-0.7.3)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-fs/zfs-0.7.3:0/0::gentoo, installed) pulled in by
    sys-fs/zfs required by @selected

  (sys-kernel/genkernel-3.4.52.4-r2:0/0::gentoo, ebuild scheduled for merge) pulled in by
    genkernel


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages


What do I need to do to make genkernel and zfs co-exist in the same system? I don't use a zfs file system for root or any of the OS, that's on a separate hard disk and separate file systems from the storage pools.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Sun Dec 10, 2017 7:37 pm    Post subject: Reply with quote

This line:
Code:
[blocks B      ] <sys-kernel/genkernel-3.5.1.1 ("<sys-kernel/genkernel-3.5.1.1" is blocking sys-fs/zfs-0.7.3)
says that genkernel must be at no less than version 3.5.1.1 for zfs to be installed. Since you've unmasked zfs, I assume you know where to go from here. ;)

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
eohrnberger
Apprentice
Apprentice


Joined: 09 Dec 2004
Posts: 240

PostPosted: Sun Dec 10, 2017 11:33 pm    Post subject: Reply with quote

John R. Graham wrote:
This line:
Code:
[blocks B      ] <sys-kernel/genkernel-3.5.1.1 ("<sys-kernel/genkernel-3.5.1.1" is blocking sys-fs/zfs-0.7.3)
says that genkernel must be at no less than version 3.5.1.1 for zfs to be installed. Since you've unmasked zfs, I assume you know where to go from here. ;)

- John


Thanks John. Got it now. I guess I need more practice reading the diagnostic output from emerge.

Well, can only come from practice and asking questions.

Thanks.
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Mon Dec 11, 2017 1:24 pm    Post subject: Reply with quote

You may wish to try dracut, as robbat2 intends to make genkernel use dracut for initramfs generation anyways.

https://bugs.gentoo.org/show_bug.cgi?id=627320
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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