Booting problem - System doesn´t start - GUI problem

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 9th, '12, 18:39

Hi,
When I boot my system ( Mageia 2 ), it doesn't start.
Any help would be much appreciated.
Thank you.


Details of the problem:

I get the boot option screen. (both text and graphical mode work)
Then the disk password prompt. (both text and graphical mode work)
Then something doesn't go as usual.

I get a text-screen with a help-message that says:

To use 'drakx11' to configure graphical options.
To then start the system with 'systemctl default'

It also gives me the option to manually set the '/etc/systemd/system/system.default' to point to '/lib/sbin/systemd/system/multi-user.target'

To press any key to enter text-login screen.

The exact help-message screen I get is mentioned here: http://svnweb.mageia.org/packages/cauld ... f_format=s
This was in (https://bugs.mageia.org/show_bug.cgi?id=4769)


Details of anything I did before I got the problem, possibly related to this:

1. I updated all the media packages after a long time.
2. I changed the 'Delay before screen' in boot settings to 5. It was 10 earlier.
( I have changed it back to 10 once again.)

I think I had started the system at least once without any problem after the above changes, but it's possible I am mistaken.



Details of what I tried:


Trial Soln 1:

As told by the help-message screen above, I press any key and get the text-login screen.

On top it says:
Mageia release 2 (Official) for i586
Kernel 3.3.6-desktop-2.mga2 on a dual processor i686/tty

Note:
My processor is Intel Pentium D 820.
uname -m gives :
i686

uname -a gives:
Linux localhost 3.3.6-desktop-2.mga2 #1 SMP Thu May 17 16:49:59 UTC 2012 i686 i686 i386 GNU/Linux


Then I enter my username and pwd and login.

--<username>: /home/username: change directory failed: No such file or directory.
Logging in with home = ¨\¨.
-bash-4.2.$

Then I enter 'su -' to root and enter pwd to switch to root user.

It says /root/tmp is read-only .
So I enter 'mount -o remount,rw /'

Then I enter drakx11 .
I get the display settings.
I choose my monitor and try different settings for graphic card (Xorg-vesa, fglrx, ATI XLI... or before) but when I check each time it seems to be reset to Custom:ATI Radeon X11 or b4.)

Then is no option 'Save'. Just 'Quit'.
So I 'Quit'

I type 'systemctl default'
Then ´startx´

This brings the GUI desktop screen . ( but only for root user )

But on restart, the same problem persists and it just comes back to the same help-message text written above.


Trial Soln 2:

ls shows /etc/systemd/system/default.target pointing to runlevel5.target
I type ln -s /lib/sbin/systemd/system/multi-user.target /etc/systemd/system/default.target
ls shows /etc/systemd/system/default.target is pointing to /lib/sbin/systemd/system/multi-user.target

I type 'systemctl default'
The same help-message screen comes back.

In subsequent restarts, I notice it is pointing once again to runlevel5.target.

This soln is for the mutli-user text-login screen but even this setting doesn´t get saved and it doesn´t work


Trial Soln 3:

urpmi.removemedia -a
urpmi.addmedia --distrib -- mirrorlist http://mirrors.mageia.org/api/mageia.2.i586.list
urpmi --replacefiles --auto-update --auto


Trial Soln 4:

I tried the commands in https://wiki.mageia.org/en/Mageia_2_Err ... rd_drivers in DVDs & Dual
urpmi.addmedia --distrib --mirrorlist

urpmi.update --no-ignore Nonfree\ Release Nonfree\ Updates
It gave non-existent medium NonfreeRelease NonfreeUpdates
urpmi.update --no-ignore distrib2 distrib14

urpmi.update -a
It gave: Nothing to update. Add media.


Possibly Related Topics:

This cauldron bug link https://bugs.mageia.org/show_bug.cgi?id=4769 is the one for the text help-message screen link I gave above, I think.
( Help-message screen link (given above):
http://svnweb.mageia.org/packages/cauld ... f_format=s)



Possibly Related Mageia Forum Topics:

1. viewtopic.php?f=8&t=2921&start=25
2. http://forum.mageialinux.ru/viewtopic.php?id=79 (Mageia Russian Forum)


Reg. Help:

I am installing linux/mageia and using it on my system for the first time. So, kindly give the whole commands I have to type in the command line, as otherwise I mightn't know what to do.

[ I had installed it without any problems. During install, it asked me to install Nonfree Radeon drivers later, I think. And I did it on first start-up. I have been using it without any problem since May, I think ]

I would like to know what I have to do to get back my desktop GUI .

Thank you very much for any help. :)
Last edited by bud on Aug 9th, '12, 19:42, edited 6 times in total.
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Bootin problem - System doesn´t start - GUI problem

Postby bud » Aug 9th, '12, 18:57

The solution, log, debug commands and their results:


Trial Soln 1:
-----------------
Code: Select all

Mageia release 2 (Official) for [b]i586 [/b]
Kernel 3.3.6-desktop-2.mga2 on a [b]dual processor i686[/b]/tty

login:
<username>
Password:
<pwd>

--<username>: /home/username: change directory failed: No such file or directory.
Logging in with home = ¨\¨.
-bash-4.2 $   

-bash-4.2.$   su -
Password:
<pwd>

chmod: changing permissions of [root/tmp Read-only file system.
[root@localhost ~]#

[root@localhost ]#   mount -o remount,rw /

[root@localhost ]#   mcc

[I try different options]
Graphical Card - Xorg - Vesa
       Vendor Other Vesa Generic
       Vendor ATI Radeon X1950 and earlier
       Intel 810 and later
[My monitor is Samsung SyncMaster 798MB pluc, so I choose the closest given option]
Monitor      - Samsung SyncMaster 796MB plus

Resolution   - 1024x768 - 24bpp
Options - Graphical Interface at startup - [ I try toggling ] automatically start the graphical interface (Xorg) upon booting.

Quit
Save - Yes

[root@localhost ]#   systemctl default
[root@localhost ]#   

[root@localhost ]#   startx

After this, I get a red screen for a second and then the GUI desktop screen but only for root user
-------------------------------------------------------------------------------------------------------------------------------------------


Trial Soln 3,4:
-------------------

Code: Select all

[root@localhost ]#   urpmi.addmedia --distrib --mirrorlist http://mirrors.mageia.org/api/mageia.2.i586.list

trying again with mirror http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586
adding medium "Core Release"
adding medium "Core Release Debug" (ignored by default)
adding medium "Core Updates"
adding medium "Core Updates Debug" (ignored by default)
adding medium "Core Updates Testing" (ignored by default)
adding medium "Core Updates Testing Debug" (ignored by default)
adding medium "Core Backports" (ignored by default)
adding medium "Core Backports Debug" (ignored by default)
adding medium "Core Backports Testing" (ignored by default)
adding medium "Core Backports Testing Debug" (ignored by default)
adding medium "Nonfree Release" (ignored by default)
adding medium "Nonfree Release Debug" (ignored by default)
adding medium "Nonfree Updates" (ignored by default)
adding medium "Nonfree Updates Debug" (ignored by default)
adding medium "Nonfree Updates Testing" (ignored by default)
adding medium "Nonfree Updates Testing Debug" (ignored by default)
adding medium "Nonfree Backports" (ignored by default)
adding medium "Nonfree Backports Debug" (ignored by default)
adding medium "Nonfree Backports Testing" (ignored by default)
adding medium "Nonfree Backports Testing Debug" (ignored by default)
adding medium "Tainted Release" (ignored by default)
adding medium "Tainted Release Debug" (ignored by default)
adding medium "Tainted Updates" (ignored by default)
adding medium "Tainted Updates Debug" (ignored by default)
adding medium "Tainted Updates Testing" (ignored by default)
adding medium "Tainted Updates Testing Debug" (ignored by default)
adding medium "Tainted Backports" (ignored by default)
adding medium "Tainted Backports Debug" (ignored by default)
adding medium "Tainted Backports Testing" (ignored by default)
adding medium "Tainted Backports Testing Debug" (ignored by default)

rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/core/release/media_info/20120521-141414-synthesis.hdlist.cz


trying again with mirror http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586

rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/core/updates/media_info/20120806-171501-synthesis.hdlist.cz

medium "Core Updates (distrib1)" is up-to-date
medium "Nonfree Updates (distrib2)" is up-to-date
medium "Tainted Updates (distrib3)" is up-to-date
medium "Core Release (distrib4)" is up-to-date
medium "Core Updates (distrib6)" is up-to-date
medium "Nonfree Release (distrib14)" is up-to-date
medium "Nonfree Updates (distrib16)" is up-to-date
medium "Tainted Release (distrib24)" is up-to-date
medium "Tainted Updates (distrib26)" is up-to-date
trying again with mirror http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
Freeing read locks for locker 0x2d78: 32148/3074356928


installing cdrdao-gcdmaster-1.2.3-6.mga2.tainted.i586.rpm libfreetype6-2.4.9-1.mga2.tainted.i586.rpm xine-plugins-1.1.19-9.mga2.tainted.i586.rpm libpano13-tools-2.9.18-5.mga2.tainted.i586.rpm librtmp0-2.4-0.git20111228.1.mga2.tainted.i586.rpm libtwolame0-0.3.13-1.mga2.i586.rpm libdca0-0.0.5-3.mga1.i586.rpm cdrdao-1.2.3-6.mga2.tainted.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     ############################################################################
     1/20: cdrdao                ############################################################################
     2/20: cdrdao-gcdmaster      ############################################################################
     3/20: libdca0               ############################################################################
     4/20: libtwolame0           ############################################################################
     5/20: librtmp0              ############################################################################
     6/20: libpano13-tools       ############################################################################
     7/20: xine-plugins          ############################################################################
     8/20: libfreetype6          ############################################################################


installing xboard-4.5.3-4.mga2.tainted.i586.rpm libgstphotography0.10_0-0.10.23-3.mga2.tainted.i586.rpm gstreamer0.10-plugins-bad-0.10.23-3.mga2.tainted.i586.rpm gstreamer0.10-plugins-ugly-0.10.19-2.mga2.tainted.i586.rpm gstreamer0.10-voip-0.10.23-3.mga2.tainted.i586.rpm libgstbasevideo0.10_0-0.10.23-3.mga2.tainted.i586.rpm libfaad2-2.7-4.mga2.tainted.i586.rpm libdvdcss2-1.2.12-1.mga2.tainted.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     ############################################################################
     9/20: libgstbasevideo0.10_0 ############################################################################
    10/20: gstreamer0.10-voip    ############################################################################
    11/20: libgstphotography0.10_0
                                 ############################################################################
    12/20: gstreamer0.10-plugins-bad
                                 ############################################################################
    13/20: libdvdcss2            ############################################################################
    14/20: libfaad2              ############################################################################
    15/20: gstreamer0.10-plugins-ugly
                                 ############################################################################
    16/20: xboard                ############################################################################


installing mencoder-1.0-1.rc4.0.r34578.9.mga2.tainted.i586.rpm gstreamer0.10-soundtouch-0.10.23-3.mga2.tainted.i586.rpm mplayer-1.0-1.rc4.0.r34578.9.mga2.tainted.i586.rpm gstreamer0.10-vp8-0.10.23-3.mga2.tainted.i586.rpm from /var/cache/urpmi/rpms
Preparing...                     ############################################################################
    17/20: mplayer               ############################################################################
    18/20: mencoder              ############################################################################
    19/20: gstreamer0.10-vp8     ############################################################################
    20/20: gstreamer0.10-soundtouch
                                 ############################################################################

    rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/core/release/media_info/20120521-141414-synthesis.hdlist.cz
    rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/core/updates/media_info/20120806-171501-synthesis.hdlist.cz




 
[root@localhost s]# urpmi --replacefiles --auto-update --auto

    http://mageia.webconquest.com/distrib/2/i586/media/core/release/libtwolame0-0.3.13-1.mga2.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/cdrdao-gcdmaster-1.2.3-6.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/librtmp0-2.4-0.git20111228.1.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libpano13-tools-2.9.18-5.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/xine-plugins-1.1.19-9.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libfreetype6-2.4.9-1.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libdca0-0.0.5-3.mga1.i586.rpm         
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/cdrdao-1.2.3-6.mga2.tainted.i586.rpm   
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libgstphotography0.10_0-0.10.23-3.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/xboard-4.5.3-4.mga2.tainted.i586.rpm   
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/gstreamer0.10-plugins-ugly-0.10.19-2.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/gstreamer0.10-plugins-bad-0.10.23-3.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libgstbasevideo0.10_0-0.10.23-3.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/gstreamer0.10-voip-0.10.23-3.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libfaad2-2.7-4.mga2.tainted.i586.rpm   
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/libdvdcss2-1.2.12-1.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/gstreamer0.10-soundtouch-0.10.23-3.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/mencoder-1.0-1.rc4.0.r34578.9.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/mplayer-1.0-1.rc4.0.r34578.9.mga2.tainted.i586.rpm
    http://mageia.webconquest.com/distrib/2/i586/media/tainted/release/gstreamer0.10-vp8-0.10.23-3.mga2.tainted.i586.rpm



[root@localhost ]#   urpmi.update --no-ignore Nonfree\Release Nonfree\Updates

trying to select nonexistent medium "NonfreeUpdates"
trying to select nonexistent medium "NonfreeRelease"
the entry to update is missing
(one of Core Updates (distrib1), Nonfree Updates (distrib2), Tainted Updates (distrib3), Core Release (distrib4), Core Release Debug (distrib5), Core Updates (distrib6), Core Updates Debug (distrib7), Core Updates Testing (distrib8), Core Updates Testing Debug (distrib9), Core Backports (distrib10), Core Backports Debug (distrib11), Core Backports Testing (distrib12), Core Backports Testing Debug (distrib13), Nonfree Release (distrib14), Nonfree Release Debug (distrib15), Nonfree Updates (distrib16), Nonfree Updates Debug (distrib17), Nonfree Updates Testing (distrib18), Nonfree Updates Testing Debug (distrib19), Nonfree Backports (distrib20), Nonfree Backports Debug (distrib21), Nonfree Backports Testing (distrib22), Nonfree Backports Testing Debug (distrib23), Tainted Release (distrib24), Tainted Release Debug (distrib25), Tainted Updates (distrib26), Tainted Updates Debug (distrib27), Tainted Updates Testing (distrib28), Tainted Updates Testing Debug (distrib29), Tainted Backports (distrib30), Tainted Backports Debug (distrib31), Tainted Backports Testing (distrib32), Tainted Backports Testing Debug (distrib33), Core Release, Core Release Debug, Core Updates, Core Updates Debug, Core Updates Testing, Core Updates Testing Debug, Core Backports, Core Backports Debug, Core Backports Testing, Core Backports Testing Debug, Nonfree Release, Nonfree Release Debug, Nonfree Updates, Nonfree Updates Debug, Nonfree Updates Testing, Nonfree Updates Testing Debug, Nonfree Backports, Nonfree Backports Debug, Nonfree Backports Testing, Nonfree Backports Testing Debug, Tainted Release, Tainted Release Debug, Tainted Updates, Tainted Updates Debug, Tainted Updates Testing, Tainted Updates Testing Debug, Tainted Backports, Tainted Backports Debug, Tainted Backports Testing, Tainted Backports Testing Debug)



[root@localhost ]#   urpmi.update --no-ignore distrib2 distrib14
[root@localhost ]#

[root@localhost ]# urpmi.update -a

medium "Core Updates (distrib1)" is up-to-date
medium "Nonfree Updates (distrib2)" is up-to-date
medium "Tainted Updates (distrib3)" is up-to-date
medium "Core Release (distrib4)" is up-to-date
medium "Core Updates (distrib6)" is up-to-date
medium "Nonfree Release (distrib14)" is up-to-date
medium "Nonfree Updates (distrib16)" is up-to-date
medium "Nonfree Backports (distrib20)" is up-to-date
medium "Nonfree Backports Debug (distrib21)" is up-to-date
medium "Nonfree Backports Testing (distrib22)" is up-to-date
medium "Nonfree Backports Testing Debug (distrib23)" is up-to-date
medium "Tainted Release (distrib24)" is up-to-date
medium "Tainted Release Debug (distrib25)" is up-to-date
medium "Tainted Updates (distrib26)" is up-to-date
medium "Tainted Updates Debug (distrib27)" is up-to-date
medium "Tainted Updates Testing (distrib28)" is up-to-date
medium "Tainted Updates Testing Debug (distrib29)" is up-to-date
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
    http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/nonfree/release/media_info/20120519-193443-synthesis.hdlist.cz
    http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/2/i586/media/nonfree/updates/media_info/20120806-153543-synthesis.hdlist.cz


------------------------------------------------------------------------------------------------------------




Some log, debug Commands and Results:
----------------------------------------------------------------

Code: Select all
[root@localhost ]#   rpm -qa systemd*

systemd-44-13.mga2
systemd-sysvinit-44-13.mga2
systemd-units-44-13.mga2


[root@localhost ]#   rpm -V drakxtools-curses
S.5....T.  c /etc/security/console.apps/drakauth
.......T.  c /etc/security/console.apps/drakboot
.......T.  c /etc/security/console.apps/draklog
.......T.  c /etc/security/console.apps/drakups
.......T.  c /etc/security/console.apps/drakxservices


[root@localhost ]#   rpm -q drakxtools-curses
drakxtools-curses-14.21-1.mga2

[root@localhost ]#   uname -a
Linux localhost 3.3.6-desktop-2.mga2 #1 SMP Thu May 17 16:49:59 UTC 2012 i686 i686 i386 GNU/Linux


[root@localhost Documents]# egrep -w "WW|EE|driver" /var/log/Xorg.0.log
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   357.105]    X.Org XInput driver : 13.0
[   357.106] (WW) Open ACPI failed (/var/run/acpid.socket) (Connection refused)
[   357.111] (II) v4l driver for Video4Linux
[   357.111] (II) VESA: driver for VESA chipsets: vesa
[   357.111] (WW) Falling back to old probe method for v4l
[   358.627] (WW) VESA(0): Option "PreferredMode" is not used
[   358.818]    ABI class: X.Org XInput driver, version 13.0
[   358.818] (II) Using input driver 'evdev' for 'Power Button'
[   358.944] (II) Using input driver 'evdev' for 'Power Button'
[   358.945] (II) Using input driver 'evdev' for 'Logitech USB-PS/2 Optical Mouse'
[   358.946] (II) No input driver specified, ignoring this device.
[   358.947] (II) No input driver specified, ignoring this device.
[   358.947] (II) No input driver specified, ignoring this device.
[   358.948] (II) No input driver specified, ignoring this device.
[   358.948] (II) No input driver specified, ignoring this device.
[   358.949] (II) No input driver specified, ignoring this device.
[   358.949] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'



-------------------------------------------------------------------------------------------------------------
Last edited by bud on Aug 9th, '12, 19:33, edited 3 times in total.
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Bootin problem - System doesn´t start - GUI problem

Postby bud » Aug 9th, '12, 19:04

Attached files:
---------------

boot.log - /var/log/boot.log
.xsession.errors - /root/.xsession-errors
ddebug.log - /root/drakx/ddebug.log
stage1.log - /root/drakx/stage1.log
Xorg.0.log - /var/log/Xorg.0.log
Xorg.0.log.old - /var/log/Xorg.0.log.old
Attachments
log_files.7z
(168.1 KiB) Downloaded 108 times
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 9th, '12, 21:38

I can't see any error in your Xorg.*files :(

Have you tried to switch console (press CTRL-ALT-F1, CTRL-ALT-F2 etc.. ) when all seems stopped?
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 02:51

When something got stuck, I tried Ctrl+Alt+F1,F2,F3,F4,F5,F6,F7.

F2 to F6 just gave me a blank screen with a blinking cursor at the top left corner.

F7 and F1 gave me back the current screen - tty1.

Sometimes F7 too just gave me a blank screen with a blinking cursor at top left corner while F1 always gives me the current root-GUI screen.
Last edited by bud on Aug 10th, '12, 05:48, edited 2 times in total.
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 03:02

Attached files:
---------------------

errors.log - /var/log/syslog
syslog - /var/log/kernel/errors.log

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

In both these logs, errors messages are logged for ´rpcbind´.

When I boot the system in text mode using Esc, the status messages are OK until it says ABORT for RPCBIND.
After that the status is Fail or Abort for 10 or so lines (flashes past too fast for me to read them) until I get the help message screen. Is there a way for me to read these messages?
Attachments
log_files_2.7z
Attached files:
---------------------

errors.log - /var/log/syslog
syslog -/var/log/kernel/errors.log
(248.59 KiB) Downloaded 107 times
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 04:13

In GUI (got by su -, mcc, systemctl default , startx):

----->In the Mageia Control Centre ,
----------> Hardware
---------------> Manage Your Hardware
--------------------> Browse and Configure Hardware option
-------------------------->Video Card
-------------------------------> RC410 [Radeon Xpress 200]

The following info is displayed:

------------------------------------------------------------------------------
Identification
Vendor: ‎ATI Technologies Inc

Description: ‎RC410 [Radeon Xpress 200]

Media class: ‎VGA compatible controller

Connection
Bus: ‎PCI

PCI domain: ‎0

Bus PCI #: ‎1

PCI device #: ‎5

PCI function #: ‎0

Vendor ID: ‎0x1002

Device ID: ‎0x5a61

Sub vendor ID: ‎0x8086

Sub device ID: ‎0xd601

Misc
Module: ‎Card:ATI Radeon X1950 and earlier

------------------------------------------------------------------------------
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 06:12

At top of text login screen, which I get after pressing any key after the help-message screen:

Code: Select all
Mageia release 2 (Official) for i586
Kernel 3.3.6-desktop-2.mga2 on a dual processor i686/tty



Code: Select all
uname -a
Linux localhost 3.3.6-desktop-2.mga2 #1 SMP Thu May 17 16:49:59 UTC 2012 i686 i686 i386GNU/Linux



1. Is getting both i586 and i686 at top of login screen all right?

2. Shouldn´t the OS and kernel be the same - either i586 or i686?

3. Why are my uname --machine(i686), --processor(i686) --hardware-platform(i386) different?
Is this allright?

4. My processor is Intel Pentium D 820.
Can i386, i586, i686 be run on this processor?
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 10th, '12, 09:59

Sorry,

I can't see any error coming from the graphics system,
there are errors from postfix and other task

bud wrote:In GUI (got by su -, mcc, systemctl default , startx):


ok, can you back to normal user before run startx and tell us what you see?

su -, mcc, systemctl default, exit (exit should bring you back to normal user), startx
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 13:52

Code: Select all
[root@localhost Documents]# su <user>
bash-4.2$ startx
xauth:  error in locking authority file /home/<user>/.serverauth.7829
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority

Authentication failed - cannot start X server.
Perhaps you do not have console ownership?No protocol specified
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth:  error in locking authority file /home/bat/.Xauthority
bash-4.2$



I did su - , mcc, systemctl default, startx and have the root GUI now.
I opened Terminal and if I do ´exit´, it just exits.

I did su <user> and I got the same error that I had gotten before [ when I did su -, mcc, systemctl default, exit, startx as <user> ]
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 10th, '12, 14:10

it seems your X server is already running

could you try
Code: Select all
ps afx | grep -B 1 X


(the last X is uppercase)
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 14:38

Hi,

Just booted it once again and confirmed that I got the same error when I gave startx command as <user>.
This is before I had given it as root.

Code: Select all
login <user> <pwd>

--<user>: /home/user: change directory failed: No such file or directory.
Logging in with home = ¨\¨.
-bash-4.2 $   
-bash-4.2$ su - <pwd>

[root@localhost Documents]# mount -o remount,rw /
[root@localhost Documents]# systemctl default
[root@localhost Documents]# exit


-bash: history: /home/<user>,bash_history: cannot create: No such file or directory
-bash-4.2$

-bash-4.2$  startx
auth:  error in locking authority file /home/<user>/.serverauth.7829
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority

Authentication failed - cannot start X server.
Perhaps you do not have console ownership?No protocol specified
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth:  error in locking authority file /home/bat/.Xauthority
-bash: history: /home/<user>,bash_history: cannot create: No such file or directory
-bash-4.2$


If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 10th, '12, 14:50

bud wrote:
Code: Select all
login <user> <pwd>

--<user>: /home/user: change directory failed: No such file or directory.
Logging in with home = ¨\¨.


your /home partition has not been mounted or you declared a wrong path for your user
please check with
Code: Select all
mount
and
Code: Select all
[code]cat /etc/fstab[/code]


bud wrote:
Code: Select all
-bash-4.2 $   
-bash-4.2$ su - <pwd>

[root@localhost Documents]# mount -o remount,rw /
[root@localhost Documents]# systemctl default
[root@localhost Documents]# exit


also the fact that at boot you always have a read only root partition is strange,
you should focus on these points before thinking to the graphics side

bud wrote:
Code: Select all

-bash: history: /home/<user>,bash_history: cannot create: No such file or directory
-bash-4.2$

-bash-4.2$  startx
auth:  error in locking authority file /home/<user>/.serverauth.7829
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority
xauth:  error in locking authority file /home/<user>/.Xauthority

Authentication failed - cannot start X server.
Perhaps you do not have console ownership?No protocol specified
No protocol specified
xinit: giving up
xinit: unable to connect to X server: Resource temporarily unavailable
xinit: server error
xauth:  error in locking authority file /home/bat/.Xauthority
-bash: history: /home/<user>,bash_history: cannot create: No such file or directory
-bash-4.2$


you have no /home/bat partiton so the /home/<user>/.Xauthority file cannot be written there
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 14:51

tom_ wrote:it seems your X server is already running

could you try
Code: Select all
ps afx | grep -B 1 X


(the last X is uppercase)


Here is the output.

Code: Select all
[root@localhost Documents]# ps afx | grep -B 1 X
 5234 tty1     S+     0:00              \_ /bin/sh /usr/bin/startx
 5255 tty1     S+     0:00                  \_ xinit /etc/X11/xinit/xinitrc -- vt1 -auth /root/.serverauth.5234 -deferglyphs 16
 5256 ?        S<sl   1:20                      \_ /etc/X11/X :0 vt1 -auth /root/.serverauth.5234 -deferglyphs 16
--
 5658 ?        SNl    0:02  |   \_ /usr/bin/nepomukservicestub nepomukstorage
 5667 ?        SNl    0:10  |   |   \_ /usr/bin/virtuoso-t +foreground +configfile /root/tmp/virtuoso_XM5658.ini +wait
--
 5684 ?        SN     0:00  |   \_ /usr/bin/nepomukservicestub nepomukqueryservice
 5699 ?        Sl     0:05  \_ /usr/sbin/firestarter --sm-config-prefix /firestarter-Xb4hhX/ --sm-client-id 1014cd7d2d4000134455809000000052220015 --screen 0
--
11632 pts/1    R+     0:00          \_ ps afx
11633 pts/1    S+     0:00          \_ grep --color -B 1 X
[root@localhost Documents]#


Also, after switching to root and remounting, I can give systemctl and startx directly without going through mcc each time.
But if I don´t do systemctl, then I get a KDE Crash Handler for Plasma Desktop Shell.
I am attaching that debug report.

Attached files:
----------------------
PlasmaDesktopShell_KDECrashHandler.jpeg
plasma-desktop-20120810-173445.kcrash

Even if Plasma Desktop Shell crashes, I can see GUI of programs by trying keyboard shortcuts... e.g. : Meta+E starts up Nautilus GUI, Ctrl+Escape shows me the GUI of Process Manager, Ctrl+W gives me GUI of firefox, Ctrl+P gives me GUI of Leafpad.

And thank you very much for helping me out. :)
Attachments
PlasmaDesktopShell_KDECrashHandler.7z
Attached files:
------------------
PlasmaDesktopShell_KDECrashHandler.jpeg
plasma-desktop-20120810-173445.kcrash
(33.91 KiB) Downloaded 108 times
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 15:13

tom_ wrote:
bud wrote:
Code: Select all
login <user> <pwd>

--<user>: /home/user: change directory failed: No such file or directory.
Logging in with home = ¨\¨.



your /home partition has not been mounted or you declared a wrong path for your user
please check with
Code: Select all
mount
and
Code: Select all
[code]cat /etc/fstab[/code]







Here is the output of mount command

Code: Select all
[root@localhost Documents]# mount
rootfs on / type rootfs (rw)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,size=966408k,nr_inodes=202042,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/mapper/vg--uno-root on / type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=27,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
securityfs on /sys/kernel/security type securityfs (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
systemd-1 on /proc/bus/usb type autofs (rw,relatime,fd=40,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
none on /tmp type tmpfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /boot type ext2 (rw,relatime,errors=continue,user_xattr,acl)
/dev/sdb6 on /media/win_k type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096)
usbfs on /proc/bus/usb type usbfs (rw,relatime,devgid=43,devmode=664)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
[root@localhost Documents]#



And the /etc/fstab file:

Code: Select all
[root@localhost Documents]# cat /etc/fstab
# Entry for /dev/sda1 :
UUID=15c9b6d4-193c-4c44-9dc3-c76a99bc9dec /boot ext2 acl,relatime 1 2
#cd entry by bat -bkp - fstab b4 dvdentry
/dev/sr0 /media/cdrom auto noauto,users,rw,exec 0 0
# Entry for /dev/sda6 :
UUID=283C85DF3C85A880 /media/win_k ntfs-3g defaults,umask=022 0 0
none /proc proc defaults 0 0
none /tmp tmpfs defaults 0 0
/dev/vg-uno/swap swap swap defaults 0 0
[root@localhost Documents]#




bud wrote:
Code: Select all
-bash-4.2 $   
-bash-4.2$ su - <pwd>


[root@localhost Documents]# mount -o remount,rw /
[root@localhost Documents]# systemctl default
[root@localhost Documents]# exit


also the fact that at boot you always have a read only root partition is strange,
you should focus on these points before thinking to the graphics side


I thought that because it was debug mode, it would be read-only



you have no /home/bat partiton so the /home/<user>/.Xauthority file cannot be written there


Yes. Is there some command where I can create the home dir of users?


Also:
http://svnweb.mageia.org/packages/cauld ... f_format=s says that this help-message screen is for when systemd users when X11 fails to initialise.
So I will try the command ´ps afx´ before I give ´startx´ as root.
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 10th, '12, 15:42

/etc/fstab contains the partitions to mount at startup.

here you have:

a boot partition
/dev/sda1 /boot ext2 acl,relatime 1 2

a windows partition (just a guess)?
/dev/sda6 /media/win_k ntfs-3g defaults,umask=022 0 0

a root partition not declared in /etc/fstab
/dev/mapper/vg--uno-root on / type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)

so your /home partion or was in /dev/mapper/vg--uno-root (I don't know what it is)
or has been unmapped/lost.
do you remember where it was?

could you run (as root)
Code: Select all
fdisk -l /dev/sda
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 16:05

This is from my old fstab file:

Code: Select all
# Entry for /dev/sda1 :
UUID=15c9b6d4-193c-4c44-9dc3-c76a99bc9dec /boot ext2 acl,relatime 1 2
/dev/sr0 /media/cdrom auto umask=0,user,iocharset=utf8,unhide,user_xattr,exec 0 0
# Entry for /dev/sda6 :
UUID=283C85DF3C85A880 /media/win_k ntfs-3g defaults,umask=022 0 0
none /proc proc defaults 0 0
/dev/vg-uno/swap swap swap defaults 0 0


# Entry for /dev/sda1 :
Boot partifition :
UUID=15c9b6d4-193c-4c44-9dc3-c76a99bc9dec /boot ext2 acl,relatime 1 2

CDROM/DVDrw
/dev/sr0 /media/cdrom auto umask=0,user,iocharset=utf8,unhide,user_xattr,exec 0 0


# Entry for /dev/sda6 :
Windows partition:
UUID=283C85DF3C85A880 /media/win_k ntfs-3g defaults,umask=022 0 0

/proc entry
none /proc proc defaults 0 0

/swap entry
/dev/vg-uno/swap swap swap defaults 0 0

vg-uno is Volume Group - LVM name
(like the hu in the last picture in http://www.linuxbsdos.com/2011/06/27/in ... le-system/)

fdisk sda
Code: Select all
[root@localhost ~]# fdisk -l /dev/sda

Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 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: 0x4d004cff

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    40965749    20482843+   c  W95 FAT32 (LBA)
/dev/sda2        40965750   156280319    57657285    f  W95 Ext'd (LBA)
/dev/sda5        40965813    81931499    20482843+   b  W95 FAT32
/dev/sda6        81931563   122897249    20482843+   b  W95 FAT32
/dev/sda7       122897313   156280319    16691503+   b  W95 FAT32
[root@localhost ~]#

This hard drive is my old one with the windows system.



fdisk sdb
Code: Select all
[root@localhost ~]# fdisk -l /dev/sdb

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x254c0488

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *        2048     2088449     1043201   83  Linux
/dev/sdb2         2090970   976768064   487338547+   f  W95 Ext'd (LBA)
Partition 2 does not start on physical sector boundary.
/dev/sdb5         2091008   798735734   398322363+  83  Linux
/dev/sdb6       798735798   976768064    89016133+   7  HPFS/NTFS/exFAT
Partition 6 does not start on physical sector boundary.
[root@localhost ~]#

This is my new hard drive on which I installed mageia without any problem - with encrypted LVM filesystem.
It has a ~100 GB windows NTFS partition.


Also this https://bugs.mageia.org/show_bug.cgi?id=5426 seems to be the problem with my booting too, I think.
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 10th, '12, 16:19

you can manually create a temporary home folder for your user

mkdir -p /home/<user>
chmod -R 777 /home

and reboot to see if you graphic starts. But i don't kwon where you /home folder
(and the data it contains) are
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 16:26

tom_ wrote:
so your /home partion or was in /dev/mapper/vg--uno-root (I don't know what it is)
or has been unmapped/lost.
do you remember where it was?


I don´t understand the above part.

Code: Select all
[root@localhost ~]# ls -al /dev/mapper/
total 0
drwxr-xr-x  2 root root     140 Aug 10 17:48 ./
drwxr-xr-x 18 root root    4020 Aug 10 19:22 ../
crw-------  1 root root 10, 236 Aug 10 17:48 control
lrwxrwxrwx  1 root root       7 Aug 10 17:48 crypt_sda5 -> ../dm-0
lrwxrwxrwx  1 root root       7 Aug 10 17:48 vg--uno-home -> ../dm-3
lrwxrwxrwx  1 root root       7 Aug 10 17:48 vg--uno-root -> ../dm-1
lrwxrwxrwx  1 root root       7 Aug 10 17:48 vg--uno-swap -> ../dm-2
[root@localhost ~]#

Last edited by bud on Aug 10th, '12, 16:41, edited 1 time in total.
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 16:28

tom_ wrote:you can manually create a temporary home folder for your user

mkdir -p /home/<user>
chmod -R 777 /home

and reboot to see if you graphic starts. But i don't kwon where you /home folder
(and the data it contains) are



I hope my old user data won´t be lost.
Does this mean all the data in actual /home of user will be lost?
:(
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 10th, '12, 16:45

Hi tom_
Thank you for helping out today.
When I return after a few hours, I will try removing radeon firmware and booting up as mentioned in https://bugs.mageia.org/show_bug.cgi?id=5426.

And will post ps output as user before starting x as root.

Thanks once again for your help.
:)
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 10th, '12, 19:41

so the home partition with user's data is here

/dev/mapper/vg--uno-home

in your boot.log the home partition is regulalry started at boot time

Code: Select all
Starting Initialize storage subsystems (RAID, LVM, etc.)...                                                                   
systemd-fsck[631]: /dev/mapper/vg--uno-home: clean, 8436/23584768 files, 17051458/94336000 blocks
Started File System Check on /dev/mapper/vg--uno-home                                                                  [  OK  ]
Starting /home...                                                                                                             
Started /home                                                                                                          [  OK  ]
Started Initialize storage subsystems (RAID, LVM, etc.)


but it is not in the list of the mounted partition :(

I can't understand... are these logs coming from the same boot?
can you see your data in /home/<user> ?
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby bud » Aug 11th, '12, 04:56

tom_ wrote:but it is not in the list of the mounted partition

I don´t understand this. Why do you say it´s not in the list of mounted partitions?

I don´t think lvm drives have to have an entry in /etc/fstab to be mounted.
The /etc/fstab file is the same as it was from when sys was booting and working fine.

tom_ wrote:are these logs coming from the same boot?

Yes.

tom_ wrote:can you see your data in /home/<user> ?

I can read all the users´ contents:
Attached File: FileSystem.jpg
FileSystem3.jpeg
Shows vg-uno Mounted Partition?
FileSystem3.jpeg (306.64 KiB) Viewed 8197 times


Lvm drives have /etc/lvm/lvm.conf, I think

lvm dumpconfig
Code: Select all
[root@localhost Documents]# lvm dumpconfig
devices {
   dir="/dev"
   scan="/dev"
   obtain_device_list_from_udev=1
   preferred_names=["^/dev/mpath/", "^/dev/mapper/mpath", "^/dev/[hs]d"]
   filter="a/.*/"
   cache_dir="/etc/lvm/cache"
   cache_file_prefix=""
   write_cache_state=1
   sysfs_scan=1
   multipath_component_detection=1
   md_component_detection=1
   md_chunk_alignment=1
   data_alignment_detection=1
   data_alignment=0
   data_alignment_offset_detection=1
   ignore_suspended_devices=0
   disable_after_error_count=0
   require_restorefile_with_uuid=1
   pv_min_size=2048
   issue_discards=0
}
dmeventd {
   mirror_library="libdevmapper-event-lvm2mirror.so"
   snapshot_library="libdevmapper-event-lvm2snapshot.so"
   thin_library="libdevmapper-event-lvm2thin.so"
}
activation {
   checks=0
   udev_sync=1
   udev_rules=1
   verify_udev_operations=0
   retry_deactivation=1
   missing_stripe_filler="error"
   use_linear_target=1
   reserved_stack=64
   reserved_memory=8192
   process_priority=-18
   mirror_region_size=512
   readahead="auto"
   raid_fault_policy="warn"
   mirror_log_fault_policy="allocate"
   mirror_image_fault_policy="remove"
   snapshot_autoextend_threshold=100
   snapshot_autoextend_percent=20
   thin_pool_autoextend_threshold=100
   thin_pool_autoextend_percent=20
   thin_check_executable="/sbin/thin_check -q"
   use_mlockall=0
   monitoring=1
   polling_interval=15
}
global {
   umask=63
   test=0
   units="h"
   si_unit_consistency=1
   activation=1
   proc="/proc"
   locking_type=1
   wait_for_locks=1
   fallback_to_clustered_locking=1
   fallback_to_local_locking=1
   locking_dir="/var/lock/lvm"
   prioritise_write_locks=1
   abort_on_internal_errors=0
   detect_internal_vg_cache_corruption=0
   metadata_read_only=0
   mirror_segtype_default="mirror"
   use_lvmetad=0
}
shell {
   history_size=100
}
backup {
   backup=1
   backup_dir="/etc/lvm/backup"
   archive=1
   archive_dir="/etc/lvm/archive"
   retain_min=10
   retain_days=30
}
log {
   verbose=0
   syslog=1
   overwrite=0
   level=0
   indent=1
   command_names=0
   prefix="  "
}
[root@localhost Documents]#




pvscan, vgscan, lvscan results:
Code: Select all
[root@localhost Documents]# pvscan
  PV /dev/mapper/crypt_sda5   VG vg-uno   lvm2 [379.86 GiB / 0    free]
  Total: 1 [379.86 GiB] / in use: 1 [379.86 GiB] / in no VG: 0 [0   ]
[root@localhost Documents]# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vg-uno" using metadata type lvm2
[root@localhost Documents]# lvscan
  ACTIVE            '/dev/vg-uno/root' [10.00 GiB] inherit
  ACTIVE            '/dev/vg-uno/swap' [10.00 GiB] inherit
  ACTIVE            '/dev/vg-uno/home' [359.86 GiB] inherit
[root@localhost Documents]#



lvm vgdisplay
Code: Select all
[root@localhost Documents]# lvm vgdisplay
  --- Volume group ---
  VG Name               vg-uno
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               379.86 GiB
  PE Size               4.00 MiB
  Total PE              97245
  Alloc PE / Size       97245 / 379.86 GiB
  Free  PE / Size       0 / 0   
  VG UUID               1NsPM4-VqbB-YCVJ-KTRM-At0V-9NEp-yhAYKC



vgdisplay output
Code: Select all
[root@localhost Documents]# vgdisplay -v vg-uno
    Using volume group(s) on command line
    Finding volume group "vg-uno"
  --- Volume group ---
  VG Name               vg-uno
  System ID             
  Format                lvm2
  Metadata Areas        1
  Metadata Sequence No  4
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                3
  Open LV               3
  Max PV                0
  Cur PV                1
  Act PV                1
  VG Size               379.86 GiB
  PE Size               4.00 MiB
  Total PE              97245
  Alloc PE / Size       97245 / 379.86 GiB
  Free  PE / Size       0 / 0   
  VG UUID               1NsPM4-VqbB-YCVJ-KTRM-At0V-9NEp-yhAYKC
   
  --- Logical volume ---
  LV Path                /dev/vg-uno/root
  LV Name                root
  VG Name                vg-uno
  LV UUID                g4HfII-TnnJ-EQ4r-dc1V-hR68-QPZ3-khOya0
  LV Write Access        read/write
  LV Creation host, time localhost, 2012-05-31 10:48:51 +0530
  LV Status              available
  # open                 1
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:1
   
  --- Logical volume ---
  LV Path                /dev/vg-uno/swap
  LV Name                swap
  VG Name                vg-uno
  LV UUID                rYqbmW-Ik3u-cxf0-Lnml-wMCT-3WM3-FlwvT3
  LV Write Access        read/write
  LV Creation host, time localhost, 2012-05-31 10:50:04 +0530
  LV Status              available
  # open                 2
  LV Size                10.00 GiB
  Current LE             2560
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:2
   
  --- Logical volume ---
  LV Path                /dev/vg-uno/home
  LV Name                home
  VG Name                vg-uno
  LV UUID                oRVznc-sqp1-hBsg-Zs9h-SOKY-hqG8-2Ac3Ta
  LV Write Access        read/write
  LV Creation host, time localhost, 2012-05-31 10:51:39 +0530
  LV Status              available
  # open                 1
  LV Size                359.86 GiB
  Current LE             92125
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:3
   
  --- Physical volumes ---
  PV Name               /dev/mapper/crypt_sda5     
  PV UUID               nFARNs-KUVn-IMyd-Bj3X-ZnLy-GLhh-aEBwex
  PV Status             allocatable
  Total PE / Free PE    97245 / 0
   
[root@localhost Documents]#



lvm pvdisplay
Code: Select all
[root@localhost Documents]# lvm pvdisplay
  --- Physical volume ---
  PV Name               /dev/mapper/crypt_sda5
  VG Name               vg-uno
  PV Size               379.87 GiB / not usable 4.68 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              97245
  Free PE               0
  Allocated PE          97245
  PV UUID               nFARNs-KUVn-IMyd-Bj3X-ZnLy-GLhh-aEBwex
   
[root@localhost Documents]#





ps
1.right after login and
2.after root-sysctl default but before starting x as root:
Code: Select all
login: <user> <pwd>
--<user>: /home/user: change directory failed: No such file or directory.
Logging in with home = ¨\¨.
-bash-4.2$
-bash-4.2$ ps afx |grep -B 1 X
3779 tty1 R+ 0.00 \_ps_afx
3780 tty1 S+ 0.00 \_grep--color -B 1 X
-bash: history: /home/<user>.bash_history: cannot crete: No such file or directory
-bash-4.2$
-bash-4.2$ su - <pwd>
[root@localhost Documents]# mount -o remount,rw /
[root@localhost Documents]# systemctl default
[root@localhost Documents]# exit
-bash: history: /home/<user>.bash_history: cannot crete: No such file or directory
-bash-4.2$
-bash-4.2$ ps afx |grep -B 1 X
4892 tty1 R+ 0.00 \_ps_afx
4893 tty1 S+ 0.00 \_grep--color -B 1 X
-bash: history: /home/<user>.bash_history: cannot crete: No such file or directory
-bash-4.2$
-bash-4.2$ su -<pwd>
[root@localhost Documents]# start
If you find helping out via jabber easier, please send invite to my jabber id.: jab_bud@jabber.ccc.de
bud
 
Posts: 26
Joined: May 27th, '12, 01:01

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 11th, '12, 11:45

bud wrote:
tom_ wrote:but it is not in the list of the mounted partition

I don´t understand this. Why do you say it´s not in the list of mounted partitions?


the command
Code: Select all
mount

lists all mounted filesystems (from man mount)

Here there is the result of your mount,
I can see listed the boot filesystem but not the /home filesystem (which is in a different filesystem).

Later, it seems you have problem in accessing to /home,
so X cannot start as user (cannot write the /home/user/.auth file)
but X can start from user root, as user root has the home in /root and you have it

This is what I understood of your problem,
but I can do mistakes
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Re: Booting problem - System doesn´t start - GUI problem

Postby tom_ » Aug 11th, '12, 12:03

in your picture i can see the home of the root user, which is /root.

I have no doubt you have the /root folder
I doubt you have /home/user folder :)

so please run

Code: Select all
ll /home*


or post a picture of the /home folder
tom_
 
Posts: 423
Joined: Sep 3rd, '11, 12:26
Location: Porto Ercole, Italy

Next

Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest