Bug 2990

Summary: X does not start
Product: Fedora Reporter: Germano Massullo <germano.massullo>
Component: nvidia-kmodAssignee: Nicolas Chauvet <kwizart>
Status: RESOLVED INVALID    
Severity: normal CC: s.adam
Priority: P5    
Version: 19   
Hardware: All   
OS: GNU/Linux   
namespace:
Attachments: /var/log/Xorg.0.log
dmesg
nvidia-bug-report.log
nvidia-bug-report.log.gz
modprobe nvidia && cat /proc/interrupts
/proc/interrupts
/proc/interrupts with options instead of optiosn in /etc/modprobe.d/nvidia.conf

Description Germano Massullo 2013-10-09 16:08:10 CEST
Created attachment 1188 [details]
/var/log/Xorg.0.log

Days ago, after a Fedora update and a reboot, X has never started again.
Actually I tried:
1) removing all nvidia packages with yum remove *nvidia*
2) rebooted the system
3) yum install akmod-nvidia
this command installed also xorg-x11-drv-nvidia and xorg-x11-drv-nvidia-libs
4) rebooted

Nothing has changed. I also did the same procedure but adding the following command after point 4 and rebooted again:
akmods --kernels 3.11.3-201.fc19.x86_64 (suggested by a user of italian Fedora community)


Having tried so many times and having asked around the internet, convinced me that it should be a bug.

Hereunder, some informations/logs about the system

# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode]
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
00:14.2 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 Azalia (Intel HDA)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GT215 [GeForce GT 240] (rev a2)
01:00.1 Audio device: NVIDIA Corporation High Definition Audio Controller (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller


# uname -r
3.11.3-201.fc19.x86_64


# rpm -qa *nvidia*
akmod-nvidia-325.15-1.fc19.1.x86_64
kmod-nvidia-325.15-1.fc19.2.x86_64
xorg-x11-drv-nvidia-libs-325.15-1.fc19.x86_64
kmod-nvidia-3.11.3-201.fc19.x86_64-325.15-1.fc19.2.x86_64
xorg-x11-drv-nvidia-325.15-1.fc19.x86_64


# cat /etc/X11/xorg.conf
# RPM Fusion - nvidia-xorg.conf
# 
Section "Device"
        Identifier  "Videocard0"
        Driver      "nvidia"
EndSection
Comment 1 Germano Massullo 2013-10-09 16:08:29 CEST
Created attachment 1189 [details]
dmesg
Comment 2 Nicolas Chauvet 2013-10-09 16:16:23 CEST
Please attach the output of nvidia-bug-report.sh
(eventually using remote ssh)

Eventually please remove xorg-x11-glamor using:
yum remove xorg-x11-glamor -y
Comment 3 Germano Massullo 2013-10-09 17:58:30 CEST
removing package xorg-x11-glamor removed xorg-x11-drivers and xorg-x11-drv-ati too.
I am going to attach the nvidia bug output.
The problem still remains
Comment 4 Germano Massullo 2013-10-09 17:58:57 CEST
Created attachment 1190 [details]
nvidia-bug-report.log
Comment 5 Nicolas Chauvet 2013-10-09 18:09:12 CEST
(In reply to comment #4)
> Created attachment 1190 [details]
> nvidia-bug-report.log

This attachment is broken (the file is incomplete , it should ends with log.gz).
Comment 6 Germano Massullo 2013-10-09 18:19:08 CEST
Ah I opened the file with Ark and took the file inside. Now I attach the entire file
Comment 7 Germano Massullo 2013-10-09 18:19:41 CEST
Created attachment 1191 [details]
nvidia-bug-report.log.gz
Comment 8 Nicolas Chauvet 2013-10-09 18:41:10 CEST
There is a weird message in dmesg:
 [    0.000000] spurious 8259A interrupt: IRQ7.
And also related to the interrupt mode is the miss of the nvidia driver

Are you sure to have the nvidia module available for your kernel ?
can you force to load it and see if there is interrupt ?
modprobe nvidia && cat /proc/interrupts


Also do you have a BIOS/EUFI update for your machine ?
Comment 9 Germano Massullo 2013-10-09 18:43:47 CEST
Created attachment 1192 [details]
modprobe nvidia && cat /proc/interrupts
Comment 10 Germano Massullo 2013-10-09 18:45:48 CEST
(In reply to comment #8)
> Are you sure to have the nvidia module available for your kernel ?
Yes, but how can I check?
> can you force to load it and see if there is interrupt ?
I don't know how to do it
> modprobe nvidia && cat /proc/interrupts
I submitted an attachment

> Also do you have a BIOS/EUFI update for your machine ?

Do you mean if there is a newer update or are you asking me if the BIOS has UEFI cababilities?
Comment 11 Germano Massullo 2013-10-11 17:36:16 CEST
# lshw                     
    description: Desktop Computer
    product: System Product Name (To Be Filled By O.E.M.)
    vendor: System manufacturer
    version: System Version
    serial: System Serial Number
    width: 64 bits
    capabilities: smbios-2.5 dmi-2.5 vsyscall32
    configuration: boot=normal chassis=desktop family=To Be Filled By O.E.M. sku=To Be Filled By O.E.M. uuid=C0B73BAF-7FC0-D311-9968-C860005650B0
  *-core
       description: Motherboard
       product: M5A78L/USB3
       vendor: ASUSTeK Computer INC.
       physical id: 0
       version: Rev X.0x
       slot: To Be Filled By O.E.M.
     *-firmware
          description: BIOS
          vendor: American Megatrends Inc.
          physical id: 0
          version: 1503
          date: 11/14/2012
          size: 64KiB
          capacity: 1984KiB
          capabilities: isa pci pnp apm upgrade shadowing escd cdboot bootselect socketedrom edd int13floppy1200 int13floppy720 int13floppy2880 int5printscreen int9keyboard int14serial int17printer int10video acpi usb ls120boot zipboot biosbootspecification
Comment 12 Nicolas Chauvet 2013-10-11 18:41:31 CEST
(In reply to comment #10)
...
> > Also do you have a BIOS/EUFI update for your machine ?
> 
> Do you mean if there is a newer update
yes ?
Comment 13 Germano Massullo 2013-10-11 21:17:33 CEST
(In reply to comment #12)
> (In reply to comment #10)
> ...
> > > Also do you have a BIOS/EUFI update for your machine ?
> > 
> > Do you mean if there is a newer update
> yes ?

BIOS version is the lastest avaible
Comment 14 Germano Massullo 2013-10-14 10:55:16 CEST
# lsmod
Module                  Size  Used by
fcoe                   27444  0 
libfcoe                56845  1 fcoe
8021q                  24570  0 
garp                   14047  1 8021q
libfc                 113394  2 fcoe,libfcoe
stp                    12868  1 garp
mrp                    18211  1 8021q
scsi_transport_fc      59164  2 fcoe,libfc
llc                    14045  2 stp,garp
scsi_tgt               19515  1 scsi_transport_fc
nf_conntrack_netbios_ns    12665  0 
nf_conntrack_broadcast    12527  1 nf_conntrack_netbios_ns
ipt_MASQUERADE         12880  1 
ip6table_nat           13015  1 
nf_nat_ipv6            13213  1 ip6table_nat
ip6table_mangle        12700  1 
ip6table_security      12710  1 
ip6table_raw           12683  1 
ip6t_REJECT            12939  2 
nf_conntrack_ipv6      18782  28 
nf_defrag_ipv6         34589  1 nf_conntrack_ipv6
iptable_nat            13011  1 
nf_nat_ipv4            13199  1 iptable_nat
nf_nat                 25743  5 ipt_MASQUERADE,nf_nat_ipv4,nf_nat_ipv6,ip6table_nat,iptable_nat
iptable_mangle         12695  1 
iptable_security       12705  1 
iptable_raw            12678  1 
nf_conntrack_ipv4      14808  24 
nf_defrag_ipv4         12673  1 nf_conntrack_ipv4
xt_conntrack           12760  50 
nf_conntrack           86430  11 nf_conntrack_netbios_ns,ipt_MASQUERADE,nf_nat,nf_nat_ipv4,nf_nat_ipv6,xt_conntrack,ip6table_nat,nf_conntrack_broadcast,iptable_nat,nf_conntrack_ipv4,nf_conntrack_ipv6
ebtable_filter         12827  0 
ebtables               30758  1 ebtable_filter
ip6table_filter        12815  1 
ip6_tables             26808  5 ip6table_filter,ip6table_mangle,ip6table_security,ip6table_nat,ip6table_raw
nvidia               9365874  0 
snd_hda_codec_hdmi     41276  4 
snd_hda_codec_realtek    51465  1 
snd_hda_intel          44075  2 
snd_hda_codec         179171  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
drm                   278576  1 nvidia
snd_hwdep              13554  1 snd_hda_codec
snd_seq                60752  0 
ppdev                  17635  0 
snd_seq_device         14136  1 snd_seq
sp5100_tco             13979  0 
r8169                  71677  0 
i2c_piix4              22106  0 
mii                    13527  1 r8169
k10temp                13126  0 
fam15h_power           13119  0 
kvm_amd                59945  0 
snd_pcm                98071  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18268  2 snd_pcm,snd_hda_intel
snd_timer              28698  2 snd_pcm,snd_seq
i2c_core               34242  3 drm,i2c_piix4,nvidia
edac_core              56705  0 
edac_mce_amd           22349  0 
snd                    75313  13 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
acpi_cpufreq           19790  1 
kvm                   421021  1 kvm_amd
crc32_pclmul           13113  0 
crc32c_intel           22079  0 
ghash_clmulni_intel    13259  0 
mperf                  12607  1 acpi_cpufreq
parport_pc             28048  0 
parport                40425  2 ppdev,parport_pc
shpchp                 37032  0 
asus_atk0110           18657  0 
serio_raw              13413  0 
soundcore              14491  1 snd
microcode              23527  0 
nfsd                  279847  13 
auth_rpcgss            54254  1 nfsd
nfs_acl                12741  1 nfsd
lockd                  93436  1 nfsd
uinput                 17625  0 
binfmt_misc            17431  1 
sunrpc                253060  21 nfsd,auth_rpcgss,lockd,nfs_acl
ata_generic            12910  0 
pata_acpi              13038  0 
usb_storage            56690  0 
pata_atiixp            13271  0 
wmi                    18697  0
Comment 15 Nicolas Chauvet 2013-10-14 12:19:46 CEST
Can you try to do
echo "optiosn nvidia NVreg_EnableMSI=1" > /etc/modprobe.d/nvidia.conf

reboot and attach the output of:
cat /proc/interrupt
Comment 16 Germano Massullo 2013-10-14 12:25:05 CEST
Created attachment 1194 [details]
/proc/interrupts
Comment 17 Germano Massullo 2013-10-14 12:28:44 CEST
(In reply to comment #15)
> Can you try to do
> echo "optiosn nvidia NVreg_EnableMSI=1" > /etc/modprobe.d/nvidia.conf
> 
> reboot and attach the output of:
> cat /proc/interrupt

Should not be options instead of optiosn  ?
Comment 18 Germano Massullo 2013-10-14 12:33:25 CEST
Created attachment 1195 [details]
/proc/interrupts with options instead of optiosn in /etc/modprobe.d/nvidia.conf
Comment 19 Nicolas Chauvet 2013-10-14 12:40:57 CEST
Can you please forward the report to nvidia ? (as explained in the nvidia-bug-report tool).
Comment 20 Germano Massullo 2013-10-14 12:55:06 CEST
(In reply to comment #19)
> Can you please forward the report to nvidia ? (as explained in the
> nvidia-bug-report tool).

Done. I attached the link of this bugreport too.
Comment 21 Germano Massullo 2013-10-17 16:16:54 CEST
No problem with nVidia driver, the trouble is KDM fault:
https://bugzilla.redhat.com/show_bug.cgi?id=967521

I found out that it was a KDM problem because it happened even with nouveau drivers. If I restarted KDM service X will start (nouveau).
I solved by doing rm -rf /var/log/journal/* ; reboot
After this, seeing that X started with nouveau drivers, I reinstalled akmod-nvidia, done a  akmods --kernels 3.11.4-201.fc19.x86_64 and now the system seems to be okay.