Red Hat Bugzilla – Bug 230296
Missing drivers/md/dm.h (dm.h) for truecrypt module build
Last modified: 2007-11-30 17:11:58 EST
Description of problem:
kernel-devel/kernel-headers (2.6.19-1.2911) is missing drivers/md/dm.h which
makes building truecrypt impossible.
Version-Release number of selected component (if applicable):
All, testing with 2.6.19-1.2911
Steps to Reproduce:
1. Install kernel-devel and kernel-headers
2. Note that /usr/src/kernels/2.6.19-1.2911.fc6-i586/drivers/md/ does not
Copying that one file into the kernel tree allows truecrypt to build.
If drivers/md/dm.h is something external modules should be compiling against
(which I'm suspecting they shouldn't given its full of device-mapper internal
defines), it should be moved to include/ This is something that should happen
The truecrypt module seems to reuse code from the md module, but it is not a
cleanly defined external interface. What is the best way to handle building
this module into a kmod package?