Blacklist aesni-intel module in kernel commandline. #102

Our current kernel has broken AESNI encryption module.
This commit is contained in:
Tomasz Sterna 2011-03-23 22:34:37 +01:00
parent 6dd80acc47
commit 7e94e132f7
2 changed files with 2 additions and 2 deletions

View File

@ -356,7 +356,7 @@ class x86BootloaderInfo(efiBootloaderInfo):
f.write('\tmodule %s ro%s' %(kernelFile, realroot))
if self.args.get():
f.write(' %s' % self.args.get())
f.write(' max_loop=255')
f.write(' max_loop=255 rdblacklist=aesni-intel')
f.write('\n')
if initrd:
f.write('\tmodule %s%s\n' % (cfPath, initrd))

View File

@ -100,7 +100,7 @@ makeBootImages() {
# insert XEN boot options
sed -i 's/kernel vmlinuz/kernel mboot.c32/' $MBD_BOOTTREE/isolinux.cfg
sed -i "s/append initrd=.*/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM --- $initrd/" $MBD_BOOTTREE/isolinux.cfg
sed -i "s/append initrd=.*/append $xenimage --- $kernelimage stage2=hd:LABEL=\"$CDLABEL\" rdblacklist=aesni-intel --- $initrd/" $MBD_BOOTTREE/isolinux.cfg
# copy in memtest if present
if [ -f $IMGPATH/usr/lib/anaconda-runtime/boot/memtest* ]; then