anaconda: update default kernel parameters

Do not blacklist aesni-intel.
Load pciback in initramfs, before network drivers.
This commit is contained in:
Marek Marczykowski 2011-07-15 12:06:50 +02:00
parent ab89a6d8c8
commit d0c648cbbb
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)) f.write('\tmodule %s ro%s' %(kernelFile, realroot))
if self.args.get(): if self.args.get():
f.write(' %s' % self.args.get()) f.write(' %s' % self.args.get())
f.write(' max_loop=255 rdblacklist=aesni-intel') f.write(' max_loop=255 rdloaddriver=pciback')
f.write('\n') f.write('\n')
if initrd: if initrd:
f.write('\tmodule %s%s\n' % (cfPath, initrd)) f.write('\tmodule %s%s\n' % (cfPath, initrd))

View File

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