Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problems emerging cryptsetup
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Fri Jun 24, 2005 7:30 pm    Post subject: Problems emerging cryptsetup Reply with quote

On an Ultra5 with kernel 2.4.30 (Potage tree is up to March 27, 2005), emerge cryptsetup ends with the following error:
Code:
darwin root # emerge -b cryptsetup
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-fs/cryptsetup-0.1-r1 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) cryptsetup-0.1-r1.ebuild
>>> md5 files   ;-) cryptsetup-0.1.ebuild
>>> md5 files   ;-) files/digest-cryptsetup-0.1
>>> md5 files   ;-) files/cryptfs.confd
>>> md5 files   ;-) files/digest-cryptsetup-0.1-r1
>>> md5 files   ;-) files/dm-crypt-start.sh
>>> md5 files   ;-) files/dm-crypt-stop.sh
>>> md5 src_uri ;-) cryptsetup-0.1.tar.bz2
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.4.30-sparc
 * Checking for dm-crypt support...                                                                                     [ !! ]

 * cryptsetup requires dm-crypt support!
 * Please enable dm-crypt support in your kernel config, found at:
 * (for 2.6 kernels)
 *
 *   Device Drivers
 *     Multi-Device Support
 *       [*] Crypt Target Support
 * and recompile your kernel...

!!! ERROR: sys-fs/cryptsetup-0.1-r1 failed.
!!! Function dm-crypt_check, Line 35, Exitcode 0
!!! dm-crypt support not detected!
!!! If you need support, post the topmost build error, NOT this status message.


Where can i enable dm-crypt in 2.4 kernel?

Thanks

Charly Tango
Formosa - Argentina
Back to top
View user's profile Send private message
gust4voz
Retired Dev
Retired Dev


Joined: 09 Sep 2003
Posts: 373
Location: Buenos Aires, Argentina

PostPosted: Fri Jun 24, 2005 10:45 pm    Post subject: Reply with quote

cryptsetup is for 2.6-series kernels only basically.
If you're getting it for cdrtools (the only app i can remember atm that can pull it) you can just disable crypt for cdrtools.
Check the portage manpage (man 5 portage) for the package.use section, edit /etc/portage/package.use and add something like "app-cdr/cdrtools -crypt".
_________________
Gustavo Zacarias
Gentoo/SPARC monkey
Back to top
View user's profile Send private message
McTango
n00b
n00b


Joined: 11 Dec 2004
Posts: 66
Location: Formosa - Argentina

PostPosted: Tue Jun 28, 2005 3:23 pm    Post subject: Reply with quote

Thank you, Gustavo.
That was exactly the problem i had.
I added a line in /etc/portage/package.use :

app-cdr/cdrtools -crypt

and then re-emerged cdrtools with no errors.


Charly Tango
Formosa - Argentina
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc 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