View previous topic :: View next topic |
Author |
Message |
jakeluck Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 01 Dec 2003 Posts: 84
|
Posted: Sun Apr 20, 2008 5:41 am Post subject: [SOLVED] udev-120 and dmcrypt |
|
|
just did a update world today and I noticed that my encrypted swap that was
working previously had stopped loading. i have already unmasked and upgraded
to newest udev-120, same kernel 2.6.23-gentoo-r3 on amd64
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_CRYPTOLOOP=y
CONFIG_BLK_DEV_NBD=y
CONFIG_MD=y
CONFIG_BLK_DEV_DM=y
CONFIG_DM_CRYPT=y
CONFIG_CRYPTO=y
and most of the CONFIG_CRYPTO_* are on
/etc/conf.d/cryptfs
swap=csb source='/dev/sdb5'
swap=csc source='/dev/sdc5'
/etc/fstab
#/dev/sdb5 none swap sw,pri=3 0 0
#/dev/sdc5 none swap sw,pri=3 0 0
/dev/mapper/csb none swap sw,pri=3 0 0
/dev/mapper/csc none swap sw,pri=3 0 0
# swapon -a
swapon: cannot canonicalize /dev/mapper/csb: No such file or directory
swapon: cannot stat /dev/mapper/csb: No such file or directory
swapon: cannot canonicalize /dev/mapper/csc: No such file or directory
swapon: cannot stat /dev/mapper/csc: No such file or directory
suggestions?
Last edited by jakeluck on Sun Apr 20, 2008 9:03 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
electronvolt Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 16 May 2007 Posts: 83
|
Posted: Sun Apr 20, 2008 4:33 pm Post subject: |
|
|
This is more then likely caused by an upgrade of cryptsetup. You need to copy the contents of /etc/conf.d/cryptfs to /etc/conf.d/dmcrypt as the config file for cryptsetup has changed name.
ie
swap=csb source='/dev/sdb5'
swap=csc source='/dev/sdc5'
should be in /etc/conf.d/dmcrypt and not /etc/conf.d/cryptfs
If this works then you can delete /etc/conf.d/cryptfs.
HTH |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jakeluck Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 01 Dec 2003 Posts: 84
|
Posted: Sun Apr 20, 2008 9:03 pm Post subject: |
|
|
yup, that was it, thank you for the tip! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|