Failed to start Load Kernel Modules - 13.2 x86_64

Hi guys,

My machine was working fine this morning until it froze and I was forced to shutdown via long-press power button. On booting I got error “Failed to start Load Kernel Modules” and further down

bbswitch: No discrete VGA device found

When I run systemctl start systemd-modules-load.service

bbswitch: No discrete VGA device found 
Job for systemd-modules-load.service failed

Please help.

Ok I guess you have an Optimus based machine (Intel+NVIDIA GPUs)

So did you install Bumblebee and the NVIDIA-bumblebee package or did you use the normal NVIDIA package???

My guess is that you used the normal NVIDA package and there was an NVIDIA update which broke bumbelbee

Can you boot to advanced -recovery mode??

Yes I have installed Bumblebee right now, didn’t have it before.

My guess is that you used the normal NVIDA package and there was an NVIDIA update which broke bumbelbee

Can you boot to advanced -recovery mode??

I’m not able to boot into recovery mode. I’ve got these running continuously

nvrm no nvidia init graphics adapter found 

Additional info.

systemctl status bumblebeed.service

bumblebeed.service -Bumblebee C Daemon
Loaded: loaded (usr/lib/systemd/system/bumblebeed.service; enabled)
Active: inactive (dead)

lspci -k | grep -A 2 -i “VGA”

00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Subsystem: Dell Device 05bd
Kernel driver in use: i915

Not sure what you men with

'm not able to boot into recovery mode. I’ve got these running continuously

You are giving results of commands so you are able to boot something. Are you booting to the command line? Since the crystal ball is broken you have to tell use what you see and do.

You only see the one GPU with the lspci?? If so you ether you don’t have a Optimus setup and no NVIDIA or maybe the NVIDIA chilp is broken In either case you DO NOT want Bumblebee. Bumblebee is for functional Optimus systems only .

What desktop??

Yes I boot into shell/commandline. I’m using KDE. I do not see NVIDIA listed under GPU.

Read somewhere that /etc/X11/xorg.conf should be moved - which I did. Not sure whether that was a good move so now it’s stuck on the splash screen after the shell/commandline. :frowning:

Under “GPU” where?
Please post the full output of “/sbin/lspci”.

If the nvidia card is not listed at all, that explains the error message “bbswitch: No discrete VGA device found” of course, and probably also your problems.
Really sounds like the card broke down. Would also explain the “My machine was working fine this morning until it froze and I was forced to shutdown via long-press power button.”

Read somewhere that /etc/X11/xorg.conf should be moved - which I did. Not sure whether that was a good move so now it’s stuck on the splash screen after the shell/commandline. :frowning:

Normally you should not need an /etc/X11/xorg.conf. But I hope you did not move /etc/X11/xorg.conf.d/…
You should still be able to boot to recovery mode though. Please post /var/log/Xorg.0.log.old afterwards to see why Xorg doesn’t start any more.

Btw, on which splash screen is it stuck? If it’s the boot splash, you should be able to get rid of it by pressing ESC to see the last boot messages.

NVIDIA is not listed when I run

lspci -k | grep -A 2 -i “NVIDIA”

Normally you should not need an /etc/X11/xorg.conf. But I hope you did not move /etc/X11/xorg.conf.d/…
You should still be able to boot to recovery mode though. Please post /var/log/Xorg.0.log.old afterwards to see why Xorg doesn’t start any more

Reached target System Initialization.
bbswitch: No discrete VGA device found
mmc0; Unknown controller version (3). You may experience problems.

And that’s it, with a blinking cursor.

Btw, on which splash screen is it stuck? If it’s the boot splash, you should be able to get rid of it by pressing ESC to see the last boot messages.[/QUOTE]

The last three lines

Started LSB: Set default boot entry if called.
Started Update UTMP about System Reboot/Shutdown.
Started LSB:  AppArmor initialiation.
A start job is running for Load Kernel Modules (10min 49s / no limit) 

Managed to login after a while. Back to commandline. Going to move the xorg.conf file back into X11 in the meantime as I wait for advice. Thanks

If the NVIDIA chip does not show in lspci command then it is broken.

You could still use the machine with the Intel GPU but you need to remove the NVIDA-bumblebee driver and bumblebee packages

I deleted nvidia-bumblebee & bumblebee. I’m trying to figure out a way to post my Xorg.0.log.old because it’s on separate machine. Please advise what else I should do?

So your system is still not booting?
Try to add “nomodeset” to the boot options:
press ‘e’ at the boot menu, search for the line starting with “linux” and append “nomodeset” at the end. Then press ‘F10’ to boot.
Do you get a GUI then? If yes, you could post /var/log/Xorg.0.log.old from there.

You could also try “x11failsafe” additionally, i.e. add “nomodeset x11failsafe” to the boot options.

And you probably need to create a new initrd after removing bumblebee. Try to run “sudo mkinitrd” in text mode and maybe it would fix your problem already.

Thanks wolfi. I’ve tried that, last line of the boot process on commandline/shell is

snd_hda_intel 0000:00:03.0: Cannot turn on display power on i915

And then the commandline login prompt.

Last lines on Xorg.0.log.old

 
NVIDIA dlloader X driver 346.35 Sat Jan 10 20:32:18 PST 2015
NVIDIA Unified Driver for all Supported NVIDIA GPUs
using VT number 7
(EE) No devices detected. 
(EE) 
Fatal server error: 
(EE) no screens found(EE) 
(EE)

Hope that makes sense/helps.

Please post the full log.
But you still have the nvidia driver installed. You should uninstall/remove it completely.
And it should only be loaded when an nvidia chip is actually detected, so you probably have an /etc/X11/xorg.conf that tells Xorg to load nvidia. Again, remove that if it exists.

So I completely removed nvidia (zypper rm nvidia*) commented out nvidia under Section “Device” in the file /etc/X11/xorg.conf and run mkinitrd. Still no GUI.
I still see this in Xorg.0.log.old

NVIDIA dlloader X driver 346.35 Sat Jan 10 20:32:18 PST 2015 NVIDIA Unified Driver for all Supported NVIDIA GPUs using VT number 7 No devices detected. Fatal server error: no screens found

Where else should I remove nvidia from being detected from?

You should not comment out nvidia, you should completely remove the file.
But what I don’t understand, why do you even have nvidia in there if this is an Optimus system? That shouldn’t have worked in the first place…

I still see this in Xorg.0.log.old

Xorg.0.log.old is the log from the previous boot. Have a look into Xorg.0.log for the current boot.
If you really removed nvidia, this cannot be in the log, unless Xorg is not even trying to start.

So, if Xorg.0.log (or Xorg.0.log.old after a reboot) still mentions nvidia, maybe have a look at the file’s creation time/date to see if it is even current.
If not, try to start X as root with “startx” and post the error messages you might get.

Where else should I remove nvidia from being detected from?

Well, how did you install it in the first place?
If you installed it via rpm packages, uninstalling the packages should be sufficient.

I removed the /etc/X11/xorg.conf, run mkinitrd,

date/time

Fri Feb 20 14:37:39 EAT 2015

startx allowed the machine to boot to GUI mode.

Here’s my /var/log/Xorg.0.log, different lines at the end now. http://paste.opensuse.org/75823962

Just a side-note: it’s not necessary to run mkinitrd after modifying/adding/removing xorg.conf. At the moment when Xorg is started your / partition is already mounted for a long time… :wink:

date/time

Fri Feb 20 14:37:39 EAT 2015

I meant the file modification date, “ls -l /var/log/Xorg.0.log” should show it.

startx allowed the machine to boot to GUI mode.

Good.

Here’s my /var/log/Xorg.0.log, different lines at the end now. SUSE Paste

Are you sure this is from the same machine?

There’s still an xorg.conf in use, I thought you removed it?


    78.670] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 20 14:29:38 2015
    78.671] (==) Using config file: "/etc/xorg.conf"

And why “/etc/xorg.conf”? Did you specify that manually somewhere?

But at least that file is definitely current… :wink:

And the log also shows that this is actually a hybrid intel/radeon system. And both drivers are loaded correctly.
If that’s the same machine, why did you even install Bumblebee and the nvidia driver? And how could it ever work?
:\

Thanks, I just do it just in case lol

Are you sure this is from the same machine?

Yes it is, still a new DELL Latitude E6440

There’s still an xorg.conf in use, I thought you removed it?

78.670] (==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 20 14:29:38 2015
78.671] (==) Using config file: "/etc/xorg.conf"

And why “/etc/xorg.conf”? Did you specify that manually somewhere?

I thought moving the file to /etc would work - clearly not. I didn’t specify that anywhere. I’ve completely removed it now but I see it’s still going back to /etc/xorg.conf
Current Xorg.0.log SUSE Paste

And the log also shows that this is actually a hybrid intel/radeon system. And both drivers are loaded correctly.
If that’s the same machine, why did you even install Bumblebee and the nvidia driver? And how could it ever work?
:\

I’m sorry I should’ve mentioned that I installed Bumblebee & nvidia after the videos on the laptop crashed. Some forums from Google recommended it but I should’ve known better

Edit: Video graphics not videos

  1. if you don’t have Optimus you should not install Bumblebee

  2. If you do have Optimus then you must installbumbee

  3. If you do have Optimus and if you install the normal NVIDIA driver it must be full removed before installing bumblebee