On 06/07/15 13:08, Suvayu Ali wrote:
(sending from the correct address this time)
On Mon, Jul 06, 2015 at 12:56:31PM +0100, Christopher Ross wrote:
> On 06/07/15 12:41, Suvayu Ali wrote:
>> On Mon, Jul 06, 2015 at 10:05:51AM +0100, Christopher Ross wrote:
>>>
>>> [ 13.476] (==) Matched nouveau as autoconfigured driver 0
>>> [ 13.476] (==) Matched nv as autoconfigured driver 1
>>> [ 13.476] (==) Matched modesetting as autoconfigured driver 2
>>> [ 13.476] (==) Matched fbdev as autoconfigured driver 3
>>> [ 13.476] (==) Matched vesa as autoconfigured driver 4
>>
>> I think this bit illustrates the problem. The nvidia drivers are not
>> recognised at all. Of course loading fails later on. I do not know how
>> it is supposed to look though, I don't have any nvidia cards.
>>
>> I would guess something went wrong installing kmod-nvidia. Maybe look
>> at the transaction log with dnf history.
>
>
> I have repeated the experiment several times, always with the same result.
I would not expect repetition to change anything unless the problem is
something random. Did you look if kmod-nvidia installed correctly?
Were there messages (e.g. scriptlet failures) during (re)installation?
IIUC, references to the driver needs to be present in the initramfs. I
suspect this is going wrong and you booting with the old initramfs which
still references nouveau.
Retrying just now with akmod instead of kmod I got the following result:
root@snoopy 14:10:21 ~ # dnf install xorg-x11-drv-nvidia
Last metadata expiration check performed 0:41:29 ago on Mon Jul 6
13:28:58 2015.
Dependencies resolved.
===================================================================================================================================
Package Arch Version
Repository Size
===================================================================================================================================
Installing:
akmod-nvidia x86_64
1:346.72-2.fc22.1 rpmfusion-nonfree 68 k
akmods noarch
0.5.2-1.fc22 rpmfusion-free 24 k
cpp x86_64
5.1.1-4.fc22 updates 8.3 M
gcc x86_64
5.1.1-4.fc22 updates 19 M
glibc-devel x86_64
2.21-5.fc22 fedora 902 k
glibc-headers x86_64
2.21-5.fc22 fedora 493 k
isl x86_64
0.14-3.fc22 fedora 490 k
kernel-debug-devel x86_64
4.0.6-300.fc22 updates 9.5 M
kernel-headers x86_64
4.0.6-300.fc22 updates 996 k
kmodtool noarch 1-23.fc22
rpmfusion-free 17 k
libmpc x86_64
1.0.2-3.fc22 fedora 55 k
xorg-x11-drv-nvidia x86_64
1:346.72-1.fc22 rpmfusion-nonfree 4.0 M
xorg-x11-drv-nvidia-kmodsrc x86_64
1:346.72-1.fc22 rpmfusion-nonfree 3.5 M
xorg-x11-drv-nvidia-libs x86_64
1:346.72-1.fc22 rpmfusion-nonfree 16 M
Transaction Summary
===================================================================================================================================
Install 14 Packages
Total download size: 63 M
Installed size: 227 M
Is this ok [y/N]: y
Downloading Packages:
(1/14): akmod-nvidia-346.72-2.fc22.1.x86_64.rpm
199 kB/s | 68 kB 00:00
(2/14): kmodtool-1-23.fc22.noarch.rpm
135 kB/s | 17 kB 00:00
(3/14): akmods-0.5.2-1.fc22.noarch.rpm
44 kB/s | 24 kB 00:00
(4/14): xorg-x11-drv-nvidia-kmodsrc-346.72-1.fc22.x86_64.rpm
775 kB/s | 3.5 MB 00:04
(5/14): xorg-x11-drv-nvidia-346.72-1.fc22.x86_64.rpm
531 kB/s | 4.0 MB 00:07
(6/14): libmpc-1.0.2-3.fc22.x86_64.rpm
183 kB/s | 55 kB 00:00
(7/14): xorg-x11-drv-nvidia-libs-346.72-1.fc22.x86_64.rpm
1.9 MB/s | 16 MB 00:08
(8/14): glibc-devel-2.21-5.fc22.x86_64.rpm
1.0 MB/s | 902 kB 00:00
(9/14): isl-0.14-3.fc22.x86_64.rpm
1.2 MB/s | 490 kB 00:00
(10/14): cpp-5.1.1-4.fc22.x86_64.rpm
1.0 MB/s | 8.3 MB 00:08
(11/14): glibc-headers-2.21-5.fc22.x86_64.rpm
373 kB/s | 493 kB 00:01
(12/14): kernel-headers-4.0.6-300.fc22.x86_64.rpm
665 kB/s | 996 kB 00:01
(13/14): kernel-debug-devel-4.0.6-300.fc22.x86_64.rpm
1.0 MB/s | 9.5 MB 00:09
(14/14): gcc-5.1.1-4.fc22.x86_64.rpm
1.1 MB/s | 19 MB 00:16
-----------------------------------------------------------------------------------------------------------------------------------
Total
2.4 MB/s | 63 MB 00:26
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Installing : libmpc-1.0.2-3.fc22.x86_64
1/14
Installing : kmodtool-1-23.fc22.noarch
2/14
Installing : cpp-5.1.1-4.fc22.x86_64
3/14
Installing : kernel-headers-4.0.6-300.fc22.x86_64
4/14
Installing : glibc-headers-2.21-5.fc22.x86_64
5/14
Installing : glibc-devel-2.21-5.fc22.x86_64
6/14
Installing : kernel-debug-devel-4.0.6-300.fc22.x86_64
7/14
Installing : isl-0.14-3.fc22.x86_64
8/14
Installing : gcc-5.1.1-4.fc22.x86_64
9/14
Installing : akmods-0.5.2-1.fc22.noarch
10/14
Installing : xorg-x11-drv-nvidia-kmodsrc-1:346.72-1.fc22.x86_64
11/14
Installing : xorg-x11-drv-nvidia-libs-1:346.72-1.fc22.x86_64
12/14
Installing : akmod-nvidia-1:346.72-2.fc22.1.x86_64
13/14
Installing : xorg-x11-drv-nvidia-1:346.72-1.fc22.x86_64
14/14
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.0.6-300.fc22.x86_64
Found initrd image: /boot/initramfs-4.0.6-300.fc22.x86_64.img
Found linux image: /boot/vmlinuz-4.0.5-300.fc22.x86_64
Found initrd image: /boot/initramfs-4.0.5-300.fc22.x86_64.img
Found linux image: /boot/vmlinuz-4.0.4-303.fc22.x86_64
Found initrd image: /boot/initramfs-4.0.4-303.fc22.x86_64.img
Found linux image: /boot/vmlinuz-0-rescue-78d35fd9338c44f992ad2301a737fcaa
Found initrd image:
/boot/initramfs-0-rescue-78d35fd9338c44f992ad2301a737fcaa.img
done
Verifying : xorg-x11-drv-nvidia-1:346.72-1.fc22.x86_64
1/14
Verifying : xorg-x11-drv-nvidia-libs-1:346.72-1.fc22.x86_64
2/14
Verifying : akmod-nvidia-1:346.72-2.fc22.1.x86_64
3/14
Verifying : kmodtool-1-23.fc22.noarch
4/14
Verifying : akmods-0.5.2-1.fc22.noarch
5/14
Verifying : xorg-x11-drv-nvidia-kmodsrc-1:346.72-1.fc22.x86_64
6/14
Verifying : gcc-5.1.1-4.fc22.x86_64
7/14
Verifying : libmpc-1.0.2-3.fc22.x86_64
8/14
Verifying : cpp-5.1.1-4.fc22.x86_64
9/14
Verifying : glibc-devel-2.21-5.fc22.x86_64
10/14
Verifying : isl-0.14-3.fc22.x86_64
11/14
Verifying : kernel-debug-devel-4.0.6-300.fc22.x86_64
12/14
Verifying : glibc-headers-2.21-5.fc22.x86_64
13/14
Verifying : kernel-headers-4.0.6-300.fc22.x86_64
14/14
Installed:
akmod-nvidia.x86_64 1:346.72-2.fc22.1
akmods.noarch 0.5.2-1.fc22
cpp.x86_64 5.1.1-4.fc22
gcc.x86_64 5.1.1-4.fc22
glibc-devel.x86_64 2.21-5.fc22
glibc-headers.x86_64 2.21-5.fc22
isl.x86_64 0.14-3.fc22
kernel-debug-devel.x86_64 4.0.6-300.fc22
kernel-headers.x86_64 4.0.6-300.fc22
kmodtool.noarch 1-23.fc22
libmpc.x86_64 1.0.2-3.fc22
xorg-x11-drv-nvidia.x86_64 1:346.72-1.fc22
xorg-x11-drv-nvidia-kmodsrc.x86_64 1:346.72-1.fc22
xorg-x11-drv-nvidia-libs.x86_64 1:346.72-1.fc22
Complete!
root@snoopy 14:11:45 ~ # systemctl enable akmods.service
root@snoopy 14:11:49 ~ # systemctl enable akmods-shutdown.service
root@snoopy 14:11:52 ~ # akmods --force
Checking kmods exist for 4.0.6-300.fc22.x86_64 [ OK ]
Files needed for building modules against kernel
4.0.6-300.fc22.x86_64 could not be found as the following
directories are missing:
/usr/src/kernels/4.0.6-300.fc22.x86_64/
/usr/lib/modules/4.0.6-300.fc22.x86_64/build/Is the correct[FAILED]devel
package installed?
So, even manually forcing the rebuild of the kernel module failed. It
complains that it needs the headers / devel package even though it was
clearly installed by dnf along with the akmod package?
Thanks,
Chris R.