mysterious pv-grub issue
I understand that using a custom kernel on Linode isn't officially supported, but that's what I am trying to do. In particular, I am trying to run a Hardened Gentoo kernel.
Overall, I can get it working. I based my configuration off of the /proc/config.gz from 3.4.2-linode44. I can get a running kernel using hardened-sources-3.4.5 that adds most of the PaX/Grsecurity features. However, when I try to disable some of the featues I am not using, such as RAID or ReiserFS, once it tries to load the kernel (after the PV GRUB screen), I will get an error similar to the following:
Map 512 (8c83fe, ...) at 0x41a02000 failed: -22.
Do_exit called!
base is 0x3febdb98 caller is 0x45a60
base is 0x3febdbc8 caller is 0x4f3f7
base is 0x3febfc18 caller is 0x4f561
base is 0x3febfc58 caller is 0x353dd
base is 0x3febfc98 caller is 0x27183
base is 0x3febfcd8 caller is 0x25b3e
base is 0x3febfd18 caller is 0x25eba
base is 0x3febfd78 caller is 0x267a6
base is 0x3febfdc8 caller is 0x17f64
base is 0x3febfe38 caller is 0x36a3
base is 0x3febfe58 caller is 0x5e09
base is 0x3febfe68 caller is 0xa446
base is 0x3febfe88 caller is 0x10204
base is 0x3febfef8 caller is 0x107d1
base is 0x3febff68 caller is 0x3f2b
base is 0x3febffa0 caller is 0x4608a
base is 0x3febfff0 caller is 0x31ad
Depending on which disabled feature generates the error, the first 'Map 512 (….)' stuff varies, but everything from '0x41a02000 failed: -22' onward seems to be the same.
All of my searching hasn't really been helpful. I found a number of people talking about dealing with a similar problem with AWS/EC2, but I haven't found anything that points to what exactly the issue is. I appreciate any insight others may have on why this is occurring and how to fix it.
Thanks!