[elrepo-devel] kmod-nvidia.el6 question

Steve Cleveland stevec at engr.orst.edu
Thu Feb 10 11:35:52 EST 2011


On 02/09/11 22:50, Phil Perry wrote:
> On 09/02/11 22:30, Steve Cleveland wrote:
>>
>
> <large snip>
>
>>            kernel /vmlinuz-2.6.32-71.14.1.el6.x86_64 ro
>> root=/dev/mapper/vg_rhel6-lv_root rd_LVM_LV=vg_rhel6/lv_root
>> rd_LVM_LV=vg_rhel6/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8
>> SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us crashkernel=auto
>> rhgb quiet nouveau.modeset=0 rdblacklist=nouveau
>>            initrd /initramfs-2.6.32-71.14.1.el6.x86_64.img
>>
>>
>> As referenced in the bug posting, the issue appears to be with grubby
>> not working correctly during kickstart.  That's unfortunate.
>>
>
> Indeed, and thanks for confirming that. We use grubby in %post (in
> nvidia-x11-drv) to add 'nouveau.modeset=0 rdblacklist=nouveau' to the
> kernel boot line to prevent the nouveau driver from loading.
>
> <more snips>
>
>>
>> I will do another install and try just editing the grub.conf and
>> rebooting again.  If that takes care of things, I can figure out a way
>> to work around that.
>>
>> Thanks,
>>     - Steve
>
> That would give us our confirmation for sure. I must admit I'd rather
> look at a hack to work around the problem in KS than hacking the %post
> section of the package.

I confirmed that just adding the entry to the kernel boot line after the 
ks install and rebooting fixed the problem.

I then added this line to the post section of the kickstart script 
before I install the nvidia packages:

ln -s `awk '{ if ($2 == "/") print $1; }' /etc/fstab` /dev/root

grubby then ran successfully and made the entry to grub.conf.

That line came from a bugzilla posting referenced in your previously 
posted elrepo bug report:

http://elrepo.org/bugs/view.php?id=98
https://bugzilla.redhat.com/show_bug.cgi?id=625216

Thanks for the quick and accurate response.

  - Steve



More information about the elrepo-devel mailing list