You are not logged in.

#1 2009-04-11 05:04:39

kagashe
Member
From: Delhi India
Registered: 2008-09-21
Posts: 13
Website

[SOLVED]: xserver crash on logout.

Note: This problem is solved. The video setting in BIOS is generally set to "Auto" which takes away 72 MB RAM and only 312 MB is available for the OS. When I checked new Ubuntu 9.04 Beta Live CD I changed the BIOS setting to minimum to maximise the available memory for the Live CD. The same setting (inadvertently) continued for the installed Linuxes. I changed the BIOS setting once again to "Auto" and crash has disappeared. 


I am using Archlinux since Oct 08. I have multiple WMs and GDM for logout/login. I am unable to logout and re-login to another WM since about a month (or may be more). I have latest stable packages of Arch.

My graphic card is ATI Radeon IGP 345M which works on Xorg radeon driver.

In order to sort out this problem I disabled GDM in /etc/rc.conf and used startx. After killing X either through logout or Ctrl+Alt+Bksp I could not start X once again but got this error:

error setting MTRR (base = 0xdc000000, size = ...... type=1) Invalid arguement.

$ cat /proc/mtrr # Before startx
reg00: base=0x000000000 ( 0MB), size= 256MB, count=1: write-back
reg01: base=0x010000000 ( 256MB), size= 64MB, count=1: write-back
reg02: base=0x014000000 ( 320MB), size= 32MB, count=1: write-back
reg03: base=0x016000000 ( 352MB), size= 16MB, count=1: write-back
reg04: base=0x017000000 ( 368MB), size= 8MB, count=1: write-back
reg05: base=0x017780000 ( 375MB), size= 512KB, count=1: uncachable
reg06: base=0x027780000 ( 631MB), size= 512KB, count=1: uncachable

$ cat /proc/mtrr # After startx
reg00: base=0x000000000 ( 0MB), size= 256MB, count=1: write-back
reg01: base=0x010000000 ( 256MB), size= 64MB, count=1: write-back
reg02: base=0x014000000 ( 320MB), size= 32MB, count=1: write-back
reg03: base=0x016000000 ( 352MB), size= 16MB, count=1: write-back
reg04: base=0x017000000 ( 368MB), size= 8MB, count=1: write-back
reg05: base=0x017780000 ( 375MB), size= 512KB, count=1: uncachable
reg06: base=0x027780000 ( 631MB), size= 512KB, count=1: uncachable
reg07: base=0x0d8000000 ( 3456MB), size= 64MB, count=1: write-combining

$ dmesg | grep mtrr
mtrr: no more MTRRs available

Please note that last line 'reg07' is getting added after startx. I think if I can somehow delete this last line may be I can start xserver once again.

kagashe

Last edited by kagashe (2009-04-12 02:34:36)

Offline

#2 2009-04-11 08:03:20

The_infinite_loop
Member
From: México
Registered: 2009-04-10
Posts: 16
Website

Re: [SOLVED]: xserver crash on logout.

I don't know if this is going to help or not, but have you tried adding the:

nopat enable_mtrr_cleanup

To your kernel line at /boot/grub/menu.lst file?

Hope you can solve this problem smile


MacBook 2,1, 3GB RAM.

They say it changes... When the Sun goes down.

Offline

#3 2009-04-11 14:39:56

kagashe
Member
From: Delhi India
Registered: 2008-09-21
Posts: 13
Website

Re: [SOLVED]: xserver crash on logout.

The_infinite_loop wrote:

I don't know if this is going to help or not, but have you tried adding the:

nopat enable_mtrr_cleanup

To your kernel line at /boot/grub/menu.lst file?

Hope you can solve this problem smile

I added 'nopat enable_mtrr_cleanup' to grub line but my xserver still crashes on re-start. Perhaps the crash is not related to MTRR.

Adding that line, however, reduces the no of entries in /proc/mtrr:

$ cat /proc/mtrr # After startx
reg00: base=0x000000000 (    0MB), size=  256MB, count=1: write-back
reg01: base=0x010000000 (  256MB), size=  128MB, count=1: write-back
reg02: base=0x017780000 (  375MB), size=  512KB, count=1: uncachable
reg03: base=0x017800000 (  376MB), size=    8MB, count=1: uncachable
reg04: base=0x0d8000000 ( 3456MB), size=   64MB, count=1: write-combining

kagashe

Offline

#4 2009-04-12 11:26:43

kagashe
Member
From: Delhi India
Registered: 2008-09-21
Posts: 13
Website

Re: [SOLVED]: xserver crash on logout.

After upgrading to xorg-server 1.6.0-3 it is not crashing even with minimum video setting in the BIOS.

I have also noticed this on Ubuntu 9.04 Beta Live CD.

kagashe

Offline

Board footer

Powered by FluxBB