LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 12-16-2013, 09:50 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
Booting to low graphic mode


Hi all,

Ubuntu 12.04 64bit

Just having run upgrade kernel and 2 addition packages (pls see attached files). Computer can't be booted.

Warning:
The system is running in low graphic mode .......

I'm now compelled booting previous kernel. On googling I found many similar problems (old threads) with many suggestions. I hesitate which shall I follow. Please help

TIA

Rgds
satimis
Attached Thumbnails
Click image for larger version

Name:	Screenshot_kernel_20131217.png
Views:	87
Size:	114.8 KB
ID:	14237   Click image for larger version

Name:	Screenshot_update_20131217_01.png
Views:	56
Size:	80.3 KB
ID:	14238  
 
Old 12-16-2013, 10:51 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Is it possible that you have installed a video driver manually (not using your distro's repository)?
This is the most likely cause for behavior like that: If you manually install a video driver you will have to re-install it every time you get a kernel update.
 
Old 12-16-2013, 11:06 PM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by TobiSGD View Post
Is it possible that you have installed a video driver manually (not using your distro's repository)?
This is the most likely cause for behavior like that: If you manually install a video driver you will have to re-install it every time you get a kernel update.
Hi,

Sorry, I couldn't recall exactly whether using the video driver or Ubuntu driver. This box have been running at least >5 years. Last time changing a new hard disc was >1 year ago. So far I could recall is that I haven't installed the driver supplied by the mobo. It would be difficult for me to find it. Additionally this PC has been update/upgrade many times after changing the hard disc but without problem.

Rgds
satimis
 
Old 12-17-2013, 05:30 AM   #4
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137

Rep: Reputation: 52
When you are booted into your older kernel, what is the output of "lsmod"? That should tell you what graphics driver you are using. What hardware or computer model are you working with? What graphics hardware is used?
 
Old 12-17-2013, 08:20 AM   #5
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by purevw View Post
When you are booted into your older kernel, what is the output of "lsmod"? That should tell you what graphics driver you are using. What hardware or computer model are you working with? What graphics hardware is used?
Hi,

$ lsmod
Code:
Module                  Size  Used by
pci_stub               12622  1 
vboxpci                23237  0 
vboxnetadp             25670  0 
vboxnetflt             27612  0 
rfcomm                 47604  0 
vboxdrv               320300  3 vboxpci,vboxnetadp,vboxnetflt
bnep                   18281  2 
bluetooth             180113  10 rfcomm,bnep
parport_pc             32866  0 
ppdev                  17113  0 
snd_hda_codec_hdmi     32530  1 
snd_hda_codec_via      51474  1 
snd_hda_intel          33719  4 
snd_hda_codec         127706  3 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel
snd_hwdep              17764  1 snd_hda_codec
snd_pcm                97275  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13324  0 
snd_rawmidi            30748  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61929  2 snd_seq_midi,snd_seq_midi_event
joydev                 17693  0 
radeon                808783  3 
ttm                    76949  1 radeon
mac_hid                13253  0 
sp5100_tco             13791  0 
drm_kms_helper         46978  1 radeon
drm                   241971  5 radeon,ttm,drm_kms_helper
i2c_algo_bit           13423  1 radeon
psmouse                97519  0 
i2c_piix4              13301  0 
serio_raw              13211  0 
k10temp                13166  0 
snd_timer              29990  2 snd_pcm,snd_seq
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
snd                    79041  18 snd_hda_codec_hdmi,snd_hda_codec_via,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
wmi                    19256  0 
edac_core              53746  0 
bridge                 90989  0 
stp                    12976  1 bridge
shpchp                 37201  0 
edac_mce_amd           23709  0 
lp                     17799  0 
soundcore              15091  1 snd
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
asus_atk0110           18078  0 
parport                46562  3 parport_pc,ppdev,lp
usbhid                 47238  0 
hid                    99883  1 usbhid
pata_atiixp            13204  0 
firewire_ohci          41000  0 
firewire_core          63600  1 firewire_ohci
crc_itu_t              12707  1 firewire_core
floppy                 70207  0 
atl1e                  42078  0
I suppose "radeon"

This is a spare box not used daily. I have run update and upgrade many times never coming into current trouble. I'm very surprised

Rgds
satimis
 
Old 12-17-2013, 08:25 AM   #6
gtrawoger
Member
 
Registered: Dec 2005
Location: TO, Ontario, Canada
Distribution: Ubuntu 14.04, CentOS 6.5
Posts: 37

Rep: Reputation: 17
Just to chime in here to add some more since I have had this issue many times.

This should tell you what graphics card you have:
Code:
lspci | grep VGA
This command should tell you what happened at boot up:
Code:
dmesg | grep -i error
To get to a terminal you may have to use CTRL-ALT-F1, or use SSH.

To reset your current graphics configuration (and use the open source drivers) you could move your config file.
Code:
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Then restart the computer and see if you can uninstall your drivers for the graphics card, and then reinstall. The proper way to do that will vary with the video card you have.
 
Old 12-17-2013, 10:05 AM   #7
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by gtrawoger View Post
Just to chime in here to add some more since I have had this issue many times.

This should tell you what graphics card you have:
Code:
lspci | grep VGA
This command should tell you what happened at boot up:
Code:
dmesg | grep -i error
To get to a terminal you may have to use CTRL-ALT-F1, or use SSH.

To reset your current graphics configuration (and use the open source drivers) you could move your config file.
Code:
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Then restart the computer and see if you can uninstall your drivers for the graphics card, and then reinstall. The proper way to do that will vary with the video card you have.
Hi,

Thanks for your advice.

$ lspci | grep VGA
Code:
01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS780D [Radeon HD 3300]
$ dmesg | grep -i error
Code:
[   11.052356] EXT4-fs (dm-0): re-mounted. Opts: errors=remount-ro
[   14.459909] [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
I haven't run following command yet;
Code:
sudo mv /etc/X11/xorg.conf /etc/X11/xorg.conf.bak
Wonder whether it is problem of the graphic card driver, to avoid making the old kernel not working,

Rgds
satimis
 
Old 12-18-2013, 12:56 AM   #8
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Hi all,

Problem solved with running;
Code:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.117_all.deb

sudo dpkg -i linux-firmware_1.117_all.deb
Now I can boot the new kernel but another problem coming out - menu bar disappeared after login as administrator-satimis only the background displayed.

If login as guest the menu-bar displayed. On /home the folder /satimis is lost.

On terminal I can't
su satimis
su root

Operation is not permitted

How can I restore satimis login to display the menu bar? Thanks

satimis
 
Old 12-18-2013, 01:03 AM   #9
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Do you have a separate /home-partition? If so, is it mounted?
 
Old 12-18-2013, 01:20 AM   #10
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by TobiSGD View Post
Do you have a separate /home-partition? If so, is it mounted?
No.

$ sudo fdisk -l
Code:
/dev/sda1  *  Linux
/dev/sda2     Extended
/dev/sda3     Linux
/dev/sda5     Linux swap /Solaris
satimis
 
Old 12-18-2013, 05:19 AM   #11
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137

Rep: Reputation: 52
Code:
/dev/sda1  *  Linux
/dev/sda2     Extended
/dev/sda3     Linux
/dev/sda5     Linux swap /Solaris
That shows that you have two Linux partitions plus a swap. I imagine that one of them, probably /dev/sda3 , is /home,but that may not be correct. Can you post the contents of /etc/fstab so that we can see how those partitions are to be mounted?

Quote:
menu bar disappeared after login as administrator-satimis only the background displayed.
If /home is not mounted, then the system won't be able to find the desktop settings for administrator-satimis. are there no error pop-ups when you log in? Verifying that /home is mounted via /etc/fstab is the first step.

Quote:
On terminal I can't
su satimis
su root
Although I am able to achieve root by running "su root", normally I simply type "su" and am then prompted for my root password. I am also able to run "su (my user name)", but after entering my password or the root password, I am still in the terminal as a normal (not root) user. Are you able to run root commands under sudo? What happens of you simply type "su" in a terminal? Does the system ask for and accept your root password?

Radeon is the native kernel driver and it should work fine for an HD3300 graphics processor. I am not sure about Ubuntu, but in openSUSE, /etc/X11/xorg.conf is no longer used unless you install a proprietary graphics driver, and even then, it's not essential. AMD no longer provides proprietary drivers for anything below an HD5000 series if I remember correctly. Since updating your firmware solved that problem anyway, it's only for future reference.

Upgrading your kernel, and installing only the other packages that you listed in the images should not have affected your mount points and user info. Something else apparently happened.

Last edited by purevw; 12-18-2013 at 05:19 AM. Reason: typo
 
Old 12-18-2013, 05:21 AM   #12
purevw
Member
 
Registered: Jan 2007
Location: Texas
Distribution: OpenSuSE Tumbleweed, Kernel 4.14*
Posts: 137

Rep: Reputation: 52
I just noticed that /swap is tagged as Solaris. I'm not sure what that's all about, but the contents of fstab should shed light on things.
 
Old 12-18-2013, 05:38 AM   #13
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
login as guest

$ cat /etc/fstab
Code:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
/dev/mapper/LVM1.5D-root /               ext4    errors=remount-ro 0       1
/dev/mapper/LVM1.5D-data /data           ext4    defaults        0       2
/dev/mapper/LVM1.5D-swap none            swap    sw              0       0
$ su
Password:
Code:
setgid: Operation not permitted
$ sudo fdisk -l
Code:
sudo: unable to change to sudoers gid: Operation not permitted
sudo: setresuid() [0, 0, 0] -> [118, -1, -1]: Operation not permitted
Is there any way to run "fdisk -l" as root/administrator on login as Guest. It would not be easy to copy the complete output while running this command on Init-3


Edit
====
I can login as another user with password which, I suppose, was created previously. Everything seems normal with the menu bar including all working icons on it. (remark: no password required for login as Guest)

$ su
# fdisk -l
Code:
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders, total 2930277168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bf74f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048      499711      248832   8e  Linux LVM
/dev/sda2          501758  2930276351  1464887297    5  Extended
/dev/sda5          501760  2930276351  1464887296   8e  Linux LVM

Disk /dev/mapper/LVM1.5D-root: 300.0 GB, 299997593600 bytes
255 heads, 63 sectors/track, 36472 cylinders, total 585932800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/LVM1.5D-root doesn't contain a valid partition table

Disk /dev/mapper/LVM1.5D-swap: 4999 MB, 4999610368 bytes
255 heads, 63 sectors/track, 607 cylinders, total 9764864 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/LVM1.5D-swap doesn't contain a valid partition table

Disk /dev/mapper/LVM1.5D-data: 1195.0 GB, 1195045289984 bytes
255 heads, 63 sectors/track, 145289 cylinders, total 2334072832 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/LVM1.5D-data doesn't contain a valid partition table
I couldn't start the VirtualBox manager with all VMs which were built by satimis, the administrator. However I could start a new VirtualBox manager here.


satimis

Last edited by satimis; 12-18-2013 at 06:53 AM.
 
Old 12-18-2013, 10:22 AM   #14
gtrawoger
Member
 
Registered: Dec 2005
Location: TO, Ontario, Canada
Distribution: Ubuntu 14.04, CentOS 6.5
Posts: 37

Rep: Reputation: 17
satimis,

Looks like you stumped us all here. But since this is an issue that started after an upgrade, I am going to go out on a limp here and say it had something to do with it. Something may have gone wrong during the upgrade.

Couple scenarios I can think of are:

1) The kernel package didn't install properly. Try fixing the upgrade with:
Code:
sudo apt-get install -f
Since you are having problems getting root access, this may not be easy.

2) Are you running out of room in your root partition? Odd things can happen when you run out of space and do an upgrade.

These are just a couple thoughts.
 
Old 12-18-2013, 11:41 AM   #15
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
It may also be pure coincidence that this happened after an upgrade and the hardware is at fault. Boot into recovery mode (you will automatically be root), then execute these commands:
Code:
smartctl -a /dev/sda > /output.txt
df -h >> /output.txt
chmod a+r /output.txt
This will generate the file output.txt in your /-directory, write information about your harddisk and how much diskspace is used on your /-partition to it and make it readable for everyone, so that you can access the file as guest user. Please attach that file to your next post or post its content using code-tags.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to start desktop, low graphic mode satimis Ubuntu 2 12-01-2012 05:51 PM
Booting to Low-graphics mode - fixes in other's posts about this don't fix 60s TV Batman Ubuntu 10 09-19-2012 03:44 PM
Ubuntu is running in low graphics mode and Ubuntu stops booting Ubuntu213 Linux - Hardware 10 04-26-2011 12:35 AM
[SOLVED] Change From Graphic Mode To Text Mode in CentOS 5.3? k_oudom Linux - Server 1 09-14-2009 05:26 AM
Redhat Linux doesnot start in Graphic mode after booting doshi_montu Linux - Newbie 1 04-11-2004 12:54 AM

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

All times are GMT -5. The time now is 04:35 AM.

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