Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
probllems with genkernel initramfs --dmraid [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
thedangerouscrew
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 110

PostPosted: Sun Oct 25, 2015 7:09 pm    Post subject: probllems with genkernel initramfs --dmraid [SOLVED] Reply with quote

I'm trying to move my fresh install to a raid0 drive and when I build my initramfs with genkernel --dmraid I get the following error.

* ERROR: Configure of dmraid failed!
*
* -- Grepping log... --
*
*checking getopt.h presence... yes
*checking for getopt.h... yes
*checking for dlopen in -ldl... yes
*checking for pthread_mutex_lock in -lpthread... yes
*checking for dm_event_handler_create in -ldevmapper-event... no
*configure: error: device-mapper-event library is either missing or is too old and badly linked

ls /dev/mapper/ gives me

control nvidia_eccbiaba1 nvidia_eccbiaba11 nvidia_eccbiaba5 nvidia_eccbiaba7 nvidia_eccbiaba9
nvidia_eccbiaba nvidia_eccbiaba10 nvidia_eccbiaba2 nvidia_eccbiaba6 nvidia_eccbiaba8

I'm using sys-fs/dmraid-1.0.0_rc16-r3

kernel v 4.0.5-gentoo


Thanks in advance


Last edited by thedangerouscrew on Mon Oct 26, 2015 12:48 am; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Oct 25, 2015 7:10 pm    Post subject: Reply with quote

thedangerouscrew,

Why do you want to use device-mapper raid?
_________________
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
thedangerouscrew
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 110

PostPosted: Sun Oct 25, 2015 7:14 pm    Post subject: Reply with quote

I would use mdadm instead but I am dual booting with windows.
As far as I understand dmraid is my only option.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Oct 25, 2015 7:32 pm    Post subject: Reply with quote

thedangerouscrew,

Maybe. That depends on how Windows set up the raid and your chipset.

For example, if Intel Matrix Storage Manager is in use, you will have a container that mdadm understands.
Windows also has software raid (not dmraid) that the kernel understands. That's called Windows Dynamic Disks.

If its Windows XP, its probably dmraid.
_________________
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
thedangerouscrew
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 110

PostPosted: Sun Oct 25, 2015 7:53 pm    Post subject: Reply with quote

I used my bios raid tool to setup my raid drives.

I am dual booting with Windows XP
I don't know why, but I also want to install windows 10.

The only reason I keep windows around is for games.
Other than that maybe a few apps that don't work with wine.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Oct 25, 2015 8:36 pm    Post subject: Reply with quote

thedangerouscrew,

OK, dmraid it is then.

Code:
emerge -1 sys-fs/dmraid -av
gets me version 1.0.0.rc16-3, which builds against my 4.2.0 kernel.
That makes me think its something that genkernel is doing/not doing.

Have you read the messages at the end of a successful emerge sys-fs/dmraid, outside of genkernel?
You don't have to do the emerge, you can read the ebuild instead.
_________________
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
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2971
Location: Germany

PostPosted: Sun Oct 25, 2015 8:42 pm    Post subject: Reply with quote

If you're the same guy who asked several times on IRC... if it's imsm it should probably still be mdadm.

May I ask you why you're using raid0 at all? Especially in conjunction with dual booting, it adds an incredible amount of complexity, without giving you anything in return.

You don't have redundancy [the opposite: one disk dies, you lose both], you don't have more storage space, it does not help with access times (and thus in most cases even for games, it does not help with speeds), ...
Back to top
View user's profile Send private message
thedangerouscrew
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 110

PostPosted: Sun Oct 25, 2015 8:52 pm    Post subject: Reply with quote

not exactly sure what i'm looking for.


--- replaced obj /usr/share/man/man8/dmraid.8.bz2
--- replaced obj /usr/share/man/man8/dmevent_tool.8.bz2
--- replaced dir /usr/share/man/man8
--- replaced dir /usr/share/man
--- replaced obj /usr/share/doc/dmraid-1.0.0_rc16-r3/dmraid_design.txt.bz2
--- replaced obj /usr/share/doc/dmraid-1.0.0_rc16-r3/TODO.bz2
--- replaced obj /usr/share/doc/dmraid-1.0.0_rc16-r3/README.bz2
--- replaced obj /usr/share/doc/dmraid-1.0.0_rc16-r3/KNOWN_BUGS.bz2
--- replaced obj /usr/share/doc/dmraid-1.0.0_rc16-r3/CHANGELOG.bz2
--- replaced dir /usr/share/doc/dmraid-1.0.0_rc16-r3
--- replaced dir /usr/share/doc
--- replaced obj /usr/share/dmraid/dmraid-1.0.0.rc16-3-prepatched.tar.bz2
--- replaced dir /usr/share/dmraid
--- replaced dir /usr/share
--- replaced obj /usr/sbin/dmraid
--- replaced obj /usr/sbin/dmevent_tool
--- replaced dir /usr/sbin
--- replaced obj /usr/lib64/libdmraid.so.1.0.0
--- replaced sym /usr/lib64/libdmraid.so.1
--- replaced sym /usr/lib64/libdmraid.so
--- replaced sym /usr/lib64/libdmraid-events-isw.so
--- replaced obj /usr/lib64/device-mapper/libdmraid-events-isw.so
--- replaced dir /usr/lib64/device-mapper
--- replaced dir /usr/lib64
--- replaced obj /usr/include/dmraid/reconfig.h
--- replaced obj /usr/include/dmraid/misc.h
--- replaced obj /usr/include/dmraid/metadata.h
--- replaced obj /usr/include/dmraid/locking.h
--- replaced obj /usr/include/dmraid/list.h
--- replaced obj /usr/include/dmraid/lib_context.h
--- replaced obj /usr/include/dmraid/format.h
--- replaced obj /usr/include/dmraid/dmreg.h
--- replaced obj /usr/include/dmraid/dmraid.h
--- replaced obj /usr/include/dmraid/display.h
--- replaced dir /usr/include/dmraid
--- replaced dir /usr/include
--- replaced dir /usr
Back to top
View user's profile Send private message
thedangerouscrew
Tux's lil' helper
Tux's lil' helper


Joined: 03 Nov 2004
Posts: 110

PostPosted: Mon Oct 26, 2015 12:54 am    Post subject: Reply with quote

I don't know which part of what I did fixed my problem but this is what I did

emerge --sync
emerge -ud world
emerge --depclean
revdep-rebuild
emerge -unmerge genkernel
emerge genkernel-next
edited /etc/genkernel.conf dmraid=yes
genkernel all
genkernel initramfs

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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