PDA

View Full Version : [all variants] custom kernel stalls mounting encrypted hd



dguido
June 15th, 2008, 09:03 AM
Are there any specific options I should watch out for in my kernel config to support LUKS disks? I've compiled a custom kernel that gets as far as mounting my encrypted root device (mount by uuid=whatever) which then proceeds to tell me that the device can't be found. This might be related to the ATA controller drivers. Any thoughts would be appreciated.

hyper_ch
June 15th, 2008, 12:01 PM
Well, do you have the according modules loaded?

aes_generic
dm_mod
dm-crypt

dguido
June 15th, 2008, 08:27 PM
heh I got to that problem a few builds ago. The specific error I'm getting now is:

ide_media[1142]: main: unable to read from /proc/ide/ide0/hda/media

I'm going to play around with my ATA drivers a bit more. I must be doing something different from how the Ubuntu kernel is.