LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin
User Name
Password
Linux Deepin This forum is for the discussion of Linux Deepin.

Notices


Reply
  Search this Thread
Old 10-05-2017, 05:53 AM   #1
aiamuzz
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Rep: Reputation: Disabled
Deepin OS Boot ... stuck in emergency mode on reboot or system switch ON !!!


Hi,

I am in the 2nd week of having installed the Fantastic "Deepin OS 15.4.1 Desktop" on my "HP Elitebook 2570[" ... and i am loving every moment of it.

However i seem to face a rather irritating situation every time i reboot or start the machine. (i for the most part keep laptop in suspended mode for days on end) ... of the very little times i do reboot or switch ON ... i encounter this annoying OS booted in emergency mode ... giving a few command opitons 'jounalctl -xb' to view or 'systemctl reboot' to reboot or 'systemctl default' or Ctrl+D to to boot normally. the last boot message shows as

[96.453770] bbswitch : No discrete VGA device found.

when i hit Ctrl+D the machine seems to freeze with the deepin boot animation. i hit escape it goes back an forth to the VGA message and the Deepin boot animation.

Ctrl+Alt+Del .. restarts the machine and if i am lucky will boot into the OS succefully or go back into the same state as described below.

Please do let me know if you want me collect system(boot, syslog) data ... first thing after i successfully login to the OS in between the described issue (emergency mode)

thank.s
 
Old 10-05-2017, 10:04 AM   #2
linux-sys-adm
LQ Newbie
 
Registered: Oct 2012
Distribution: Debian
Posts: 21

Rep: Reputation: Disabled
Sounds like your laptop has two video cards. Is this some sort of gaming latop with Intel + Nvidia or or GPU?

Deepin, I need to give a try, maybe. Very hesitant for obvious reasons since this is my daily driver.

Also see: https://github.com/Bumblebee-Project/bbswitch
The (issues section). You can also try blacklisting during boot. (see that section on that page)
 
Old 10-05-2017, 12:15 PM   #3
aiamuzz
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
I guess not its only got the Integrated Graphics

the following command should give you a better picture.

$ lspci | grep -i --color 'vga\|3d\|2d'

Code:
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
If i follow the below guide from the link you provided, will it cause problems to the graphics card listed above ?

Code:
Disable card on boot

These options can be useful to disable the card on boot time. Depending on your distribution, /etc/modules, /etc/modules.conf or some other file can be used to load modules on boot time. Adding the below line to the file makes the card get disabled on boot:

bbswitch load_state=0
Users of kmod should create /etc/modprobe.d/bbswitch.conf containing options bbswitch load_state=0 to set the default options. To load the module, systemd users should create /etc/modules-load.d/bbswitch.conf containing bbswitch.

You have to update your initial ramdisk (initrd) for the changes propagate to the boot process. On Debian and Ubuntu, this can performed by running update-initramfs -u as root.

Enable card on shutdown

Some machines do not like the card being disabled at shutdown.
Add the next initscript (/etc/init/bbswitch.conf) :

description "Save power by disabling nvidia on Optimus"
author      "Lekensteyn <lekensteyn@gmail.com>"
start on    runlevel [2345]
stop on     runlevel [016]
pre-start   exec /sbin/modprobe bbswitch load_state=0 unload_state=1
pre-stop    exec /sbin/rmmod bbswitch

Last edited by aiamuzz; 10-05-2017 at 12:20 PM.
 
Old 10-05-2017, 03:13 PM   #4
aiamuzz
LQ Newbie
 
Registered: Oct 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Update : the above disabling of bbswitch didn't have any effect on the issue i am facing.

I am uploading 2 log files ... one is from the emergency mode shell and the other one is after i was able to login to the OS after hitting Ctrl+D ... after i hit Ctrl+D the system stalls at the message
Code:
"[96.453770] bbswitch : No discrete VGA device found."

I have to hit Ctrl+Alt+Del at this point and the system reboots.

Hope the system log's help identify the real issue for my system booting into emergency mode ever so often.

thanks.
Attached Files
File Type: txt booting-into-emergency-mode .txt (116.3 KB, 101 views)
File Type: txt boot-into-OS-after-CtrlAltDel .txt (229.0 KB, 45 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux won't boot anymore - Emergency Mode kevinmarroquin Linux - Newbie 2 06-09-2016 12:04 PM
Will Only Boot In Emergency Mode jackcf Linux - Laptop and Netbook 10 10-14-2015 08:02 AM
fail to reboot on fedora 19-emergency mode sryzdn Fedora 2 08-08-2013 03:57 PM
[SOLVED] System boots into emergency mode when USB drives in fstab vonedaddy Linux - Desktop 3 09-30-2012 01:44 PM
[SOLVED] boot emergency mode trucall Red Hat 1 03-10-2011 04:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Deepin

All times are GMT -5. The time now is 11:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration