Re: Wrong Screen Resolution after uninstalling nvidia packages from rpmfusion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 10/03/2014 02:39 PM, Ed Greshko wrote:
On 10/04/14 04:17, jd1008 wrote:
I think the installation of the non-free driver when I was still running 3.14.9.200,
saved the initramfs of that kernel as
initramfs-3.14.9-200.fc20.x86_64-nouveau.img
So, with several updates afterwards, 3.14.9.200 kernel was removed by yum.
But the initramfs file which was saved by installing the invidia kmod was not
removed because it was not part of the package of kernel-3.14.9..... (since
it was saved with a different name).

But your question is indeed valid, as I do not know how it is that I take the initramfs
of an older kernel, copy it to the initramfs of current kernel and that fixed the
resolution problem.
So, I webt back and booted into 3.16.3.200 and ran dracut -f
and rebooted.
And the problem is fixed, and the initramfs is genuinely that of kernel 3.16.3-200

Did the same for kernel 3.16.2-20[01] .

So, all is well and problem resolved.
If, after just moving the 3.14.9 to the 3.16.2-201 initramfs you had rebooted and did a "uname -r" you would have found that you were running the 3.14.9 kernel as that is what is in the initramfs.  You would have further found that if you plugged in a USB pen drive it would have failed since plugging in the drive would have triggered the install of the usb_storage module from the 3.16.2-201 kernel (from on disk) which is a mismatch.

Your action of rebuilding the 3.16.2-201 and 3.16.3.200 fixed that.

Happy all is well for you now.

Yes you are right. I kept booting into each of the 3 kernels installed, whose initramfs was changed to that of /boot/initramfs-3.14.9-200.fc20.x86_64-nouveau.img and each time running dracut -f until every kernel had it's own correct initramfs. There are

Currently booted into:
$ uname -r
3.16.3-200.fc20.x86_64

$ ls -l /boot/*3.16.3-200.fc20.x86_64*
-rw-r--r-- 1 root root 143988 Sep 17 16:42 /boot/config-3.16.3-200.fc20.x86_64 -rw------- 1 root jd 16232801 Oct 3 13:34 /boot/initramfs-3.16.3-200.fc20.x86_64.img<==== Look at the date -rw------- 1 root root 2913636 Sep 17 16:42 /boot/System.map-3.16.3-200.fc20.x86_64 -rwxr-xr-x 1 root root 5592952 Sep 17 16:42 /boot/vmlinuz-3.16.3-200.fc20.x86_64

There are 4 kernels now in /boot:
$ ll /boot/vmlin*
-rwxr-xr-x. 1 root root 5139320 Jun 7 19:00 /boot/vmlinuz-0-rescue-53f7524f48f34d72905841806eb68c29 -rwxr-xr-x 1 root root 5591288 Sep 8 05:59 /boot/vmlinuz-3.16.2-200.fc20.x86_64 -rwxr-xr-x 1 root root 5591480 Sep 15 14:03 /boot/vmlinuz-3.16.2-201.fc20.x86_64 -rwxr-xr-x 1 root root 5592952 Sep 17 16:42 /boot/vmlinuz-3.16.3-200.fc20.x86_64


$ xwininfo

xwininfo: Please select the window about which you
          would like information by clicking the
          mouse in that window.

xwininfo: Window id: 0x1c0001e "x-caja-desktop"

  Absolute upper-left X:  0
  Absolute upper-left Y:  0
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1280   <=================
  Height: 800   <=================
  Depth: 24
  Visual: 0x21
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+0  -0+0  -0-0  +0-0
  -geometry 1280x800+0+0

$ lsmod | grep nouveau
nouveau              1222531  2
mxm_wmi                12865  1 nouveau
i2c_algo_bit           13257  1 nouveau
drm_kms_helper         58041  1 nouveau
ttm                    80772  1 nouveau
drm                   291361  5 ttm,drm_kms_helper,nouveau
i2c_core 55486 7 drm,i2c_i801,drm_kms_helper,i2c_algo_bit,v4l2_common,nouveau,videodev
wmi                    18820  3 dell_wmi,mxm_wmi,nouveau
video                  19777  1 nouveau

Also see Xorg.0.log at https://www.sendspace.com/file/9qfiy0

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux