Xorg log message: Radeon, DRM, re-init

2004-12-16 Thread Joe Altman
Dec. 16th log:

joe on anna ~ $: ll /var/log/Xorg.0.log
root wheel 46031 Dec 16 21:06 /var/log/Xorg.0.log

Old log:
root wheel 43990 Dec  9 01:20 Xorg.0.log.old

This message is from the new log, dated Dec 16, and appears at least
five times, with the last one being approximately at 21:06 p.m. EST:

(WW) RADEON(0): [RESUME] Cannot re-init Radeon hardware, DRM too old (need 
1.9.0  or newer)

It does not appear, at all, in the log from Dec 9.

joe on anna ~ $: uname -a
FreeBSD anna.chthonixia.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Wed
Nov 24 22:47:52 EST 2004

So whatever it is, it appears to have originated well after the last
update to the world. I don't update bits and pieces; I do the whole
thing all at once: kernel, userland, ports, everything.

Looking further, it appears to have something to do w/ switching to
and from VTs:

joe on anna ~ $: ll /var/log/Xorg.0.log

root  wheel 46333 Dec 16 21:28 Xorg.0.log

Google results:

http://penguinppc.org/~daenzer/DRI/applied/radeon-resume-cleanup.diff

@@ -1304,168 +1328,38 @@ int radeon_do_cleanup_cp( drm_device_t *
 /* This code will reinit the Radeon CP hardware after a resume from
 disc.  
* This patch is NOT to be confused with my and Michel Daenzer's
 earlier DRI reinit work, which de- and re-initialised the complete
 DRI at every VT switch.

So what is it telling me, other than switching from X to a VT and back
to X means that the hardware cannot be re-inited? In some thread,
there was some mention of a memory leak, or what appeared to be a
memory leak, related to this. Would a memory leak account for this:

joe on anna ~ $: top
last pid: 14454;  load averages:  0.00,  0.00,  0.00 up 7+20:31:36
21:53:37
55 processes:  3 running, 52 sleeping
CPU states:  2.3% user,  0.0% nice,  2.7% system,  0.4% interrupt,
94.6% idle
Mem: 214M Active, 410M Inact, 97M Wired, 27M Cache, 86M Buf,
4288K Free
Swap: 1008M Total, 52K Used, 1008M Free

PID USERNAME PRI NICE  SIZERES STATETIME   WCPUCPU COMMAND
164 joe2   0   100M 92924K RUN 85:18  0.05%  0.05% Xorg

Xorg at 100 Meg. Good, bad, irrelevant?

BTW: it's interesting; but doesn't appear to me to be crucial. I'm
mostly curious about the whole thing.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-07 Thread Lloyd Hayes
Any editing that I try to do beyond the Xorg -configure leads to 'User 
and Password with it not accepting my system passwords. I searched for 
.xinitrc and .xsession and nothing showed up. I read in the FreeBSD 
handbook about creating .xsessions. Following the exact directions 
listed, I got no such file or directory after:
echo #!/bin/sh  -/.xsession

This was version 5.3
Xorg is brand new, and there only seems to be a few lines of 
documentation concerning it. I'm new to this whole thing, and having a 
difficult time making sense of many things in the UNIX world. There is 
more documentation about version 5.2.1 then 5.3. I'm in the process of 
removing 5.3 and putting 5.2.1 back on here. And I think that I'll keep 
XFree86 on it.

Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


Christian Hiris wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 06 November 2004 18:28, Lloyd Hayes wrote:
 

I figured that starting over with FBSD 5.2.1 was a good idea, installing
less software this time. However, on impulse, I installed v5.3 No new
problems until I got to Xorg.
I have the new docs downloaded from FreeBSD. The FreeBSD Handbook from
The FreeBSD Documentation Project,  and Frequently Asked Questions
from the same place. They give some information about Xorg.
Typing 'startx gets me to a graphical screen similar to the setup
screen used in xorg -config. My only option was to hit
Ctrl-Alt-Back_Space to get out of it.
I then tried to use xdm -config.
I get to the point where it asks for name and password. This is
mentioned in the handbook. There is no security level set, so the system
is at it's default level. I'm logged in as root, so I type root and my
root password. It loops back to the same menu each time that I do this.
Any other input here just produces a wrong name. It won't accept a blank
input either.
   

Possibly you haven't entered an entry for your windowmanager in your .xinitrc 
or .xsession file. startx uses .xinitrc, xdm uses .xsession. 
'man xdm' explains which files are used by xdm and where they are located.
Look for errors listed in ~/.xsession-errors, if you use xdm. 

 

(At this point, I was looking for the author, a rope, and a tall tree.
My 2nd option was to send this email)
Is there a secret code to getting into Xorg and setting it up for Gnome?
   

An easy way to setup gnome (and other wm) is gdm:
# cp -p /usr/X11R6/etc/rc.d/gdm.sh.sample /usr/X11R6/etc/rc.d/gdm.sh
# /usr/X11R6/etc/rc.d/gdm.sh start
After next reboot gdm will be started automatically. Gdm is part of the gnome 
(meta-)package. 

Cheers,
ch
- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD4DBQFBjSdU09WjGjvKU74RAh01AJd77uoaUgq8mLd8nMF3oeU2zPZWAJ9zavvi
RCIEymWh8v0sPIr/4QIGJw==
=IQUB
-END PGP SIGNATURE-
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-07 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 November 2004 19:10, Lloyd Hayes wrote:
 Any editing that I try to do beyond the Xorg -configure leads to 'User
 and Password with it not accepting my system passwords. I searched for
 .xinitrc and .xsession and nothing showed up. I read in the FreeBSD
 handbook about creating .xsessions. Following the exact directions
 listed, I got no such file or directory after:
 echo #!/bin/sh  -/.xsession
^^^   
This should be ~/.xsession, not -/.xsession

Ok I tried a setup on one of my machines to verify if gnome+xdm works:

Log-in as user and do: 
  echo #!/bin/sh  ~/.xsession
  echo exec gnome-session  ~/.xsession 
  chmod +x ~/.xsession

Log in as root and do:
 # ee /etc/ttys
  change ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure 
  to   ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   on secure

Reboot the machine: 
 * Xdm login-screen shows up.
 * Log-in as user.
 * The Gnome desktop should start up.  

Took me 1 minute and gnome was up and running. I'm using 5.3-STABLE #0: Mon 
Nov  1 06:38:37 CET / xorg-clients-6.7.0_4 / gnome-session-2.6.2.


 This was version 5.3
 Xorg is brand new, and there only seems to be a few lines of
 documentation concerning it. I'm new to this whole thing, and having a
 difficult time making sense of many things in the UNIX world. There is
 more documentation about version 5.2.1 then 5.3. I'm in the process of
 removing 5.3 and putting 5.2.1 back on here. And I think that I'll keep
 XFree86 on it.

If things don't work show us your logs and config-files:

~/.xsession-errors
/var/log/0.log
/var/log/Xorg.0.log
xorg.conf
~/.xsession
/etc/ttys

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBjoMn09WjGjvKU74RAq4ZAJ9yG16KB5i+d7cM2ReAJ4+tSrrgEQCfWQkx
w/0kvaNfo18aZD2Km8Ld4Tg=
=1ucY
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-07 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sunday 07 November 2004 21:18, Christian Hiris wrote:
 Log-in as user and do:
   echo #!/bin/sh  ~/.xsession
   echo exec gnome-session  ~/.xsession
   ^^
The handbook says 
 echo /usr/X11R6/bin/gnome-session  ~/.xsession
which is maybe better then exec gnome-session.

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBjoSZ09WjGjvKU74RAgu4AJ9rMojT21ykQp2vGGEkF99ND2b8aACfQuyM
nsr+j0ug3zom10JqIwXdDAI=
=0Zl+
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-07 Thread Lloyd Hayes
Thanks.
I took Xorg off by formating the system and installing version 5.2.1 of 
FreeBSD. It's the 2nd time that I've had v5.3 on that laptop and both 
times were frustrating. Both times I ran into problems related to Xorg. 
There is a lack of documentation concerning Xorg. I'll stick with 
XFree86 until more information is available.

Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


Christian Hiris wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 07 November 2004 21:18, Christian Hiris wrote:
 

Log-in as user and do:
 echo #!/bin/sh  ~/.xsession
 echo exec gnome-session  ~/.xsession
   

  ^^
The handbook says 
echo /usr/X11R6/bin/gnome-session  ~/.xsession
which is maybe better then exec gnome-session.

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBjoSZ09WjGjvKU74RAgu4AJ9rMojT21ykQp2vGGEkF99ND2b8aACfQuyM
nsr+j0ug3zom10JqIwXdDAI=
=0Zl+
-END PGP SIGNATURE-
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-07 Thread Lloyd Hayes
Thanks for the effort
It may be the version that I have. I downloaded version 5.3 a two or 
three months ago. I may have a testing version of 5.3. I'm not sure. 
I'll download a new image some other time.

Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


Christian Hiris wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Sunday 07 November 2004 19:10, Lloyd Hayes wrote:
 

Any editing that I try to do beyond the Xorg -configure leads to 'User
and Password with it not accepting my system passwords. I searched for
.xinitrc and .xsession and nothing showed up. I read in the FreeBSD
handbook about creating .xsessions. Following the exact directions
listed, I got no such file or directory after:
echo #!/bin/sh  -/.xsession
   

   ^^^   
This should be ~/.xsession, not -/.xsession

Ok I tried a setup on one of my machines to verify if gnome+xdm works:
Log-in as user and do: 
 echo #!/bin/sh  ~/.xsession
 echo exec gnome-session  ~/.xsession 
 chmod +x ~/.xsession

Log in as root and do:
# ee /etc/ttys
 change ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   off secure 
 to   ttyv8   /usr/X11R6/bin/xdm -nodaemon  xterm   on secure

Reboot the machine: 
* Xdm login-screen shows up.
* Log-in as user.
* The Gnome desktop should start up.  

Took me 1 minute and gnome was up and running. I'm using 5.3-STABLE #0: Mon 
Nov  1 06:38:37 CET / xorg-clients-6.7.0_4 / gnome-session-2.6.2.

 

This was version 5.3
Xorg is brand new, and there only seems to be a few lines of
documentation concerning it. I'm new to this whole thing, and having a
difficult time making sense of many things in the UNIX world. There is
more documentation about version 5.2.1 then 5.3. I'm in the process of
removing 5.3 and putting 5.2.1 back on here. And I think that I'll keep
XFree86 on it.
   

If things don't work show us your logs and config-files:
~/.xsession-errors
/var/log/0.log
/var/log/Xorg.0.log
xorg.conf
~/.xsession
/etc/ttys
- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD8DBQFBjoMn09WjGjvKU74RAq4ZAJ9yG16KB5i+d7cM2ReAJ4+tSrrgEQCfWQkx
w/0kvaNfo18aZD2Km8Ld4Tg=
=1ucY
-END PGP SIGNATURE-
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Xorg Log-In

2004-11-06 Thread Lloyd Hayes
I figured that starting over with FBSD 5.2.1 was a good idea, installing 
less software this time. However, on impulse, I installed v5.3 No new 
problems until I got to Xorg.

I have the new docs downloaded from FreeBSD. The FreeBSD Handbook from 
The FreeBSD Documentation Project,  and Frequently Asked Questions 
from the same place. They give some information about Xorg.

Typing 'startx gets me to a graphical screen similar to the setup 
screen used in xorg -config. My only option was to hit 
Ctrl-Alt-Back_Space to get out of it.
I then tried to use xdm -config.
I get to the point where it asks for name and password. This is 
mentioned in the handbook. There is no security level set, so the system 
is at it's default level. I'm logged in as root, so I type root and my 
root password. It loops back to the same menu each time that I do this. 
Any other input here just produces a wrong name. It won't accept a blank 
input either.

(At this point, I was looking for the author, a rope, and a tall tree.
My 2nd option was to send this email)
Is there a secret code to getting into Xorg and setting it up for Gnome?
--
Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-06 Thread Christian Hiris
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Saturday 06 November 2004 18:28, Lloyd Hayes wrote:
 I figured that starting over with FBSD 5.2.1 was a good idea, installing
 less software this time. However, on impulse, I installed v5.3 No new
 problems until I got to Xorg.

 I have the new docs downloaded from FreeBSD. The FreeBSD Handbook from
 The FreeBSD Documentation Project,  and Frequently Asked Questions
 from the same place. They give some information about Xorg.

 Typing 'startx gets me to a graphical screen similar to the setup
 screen used in xorg -config. My only option was to hit
 Ctrl-Alt-Back_Space to get out of it.
 I then tried to use xdm -config.
 I get to the point where it asks for name and password. This is
 mentioned in the handbook. There is no security level set, so the system
 is at it's default level. I'm logged in as root, so I type root and my
 root password. It loops back to the same menu each time that I do this.
 Any other input here just produces a wrong name. It won't accept a blank
 input either.

Possibly you haven't entered an entry for your windowmanager in your .xinitrc 
or .xsession file. startx uses .xinitrc, xdm uses .xsession. 
'man xdm' explains which files are used by xdm and where they are located.
Look for errors listed in ~/.xsession-errors, if you use xdm. 

 (At this point, I was looking for the author, a rope, and a tall tree.
 My 2nd option was to send this email)

 Is there a secret code to getting into Xorg and setting it up for Gnome?

An easy way to setup gnome (and other wm) is gdm:
# cp -p /usr/X11R6/etc/rc.d/gdm.sh.sample /usr/X11R6/etc/rc.d/gdm.sh
# /usr/X11R6/etc/rc.d/gdm.sh start

After next reboot gdm will be started automatically. Gdm is part of the gnome 
(meta-)package. 

Cheers,
ch

- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD4DBQFBjSdU09WjGjvKU74RAh01AJd77uoaUgq8mLd8nMF3oeU2zPZWAJ9zavvi
RCIEymWh8v0sPIr/4QIGJw==
=IQUB
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Xorg Log-In

2004-11-06 Thread Lloyd Hayes
This sounds like a possible answer.
Lloyd Hayes
Email: [EMAIL PROTECTED]
URL: http://TalkingStaff.bravehost.com 
E-FAX Number: (208) 248-6590


Christian Hiris wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Saturday 06 November 2004 18:28, Lloyd Hayes wrote:
 

I figured that starting over with FBSD 5.2.1 was a good idea, installing
less software this time. However, on impulse, I installed v5.3 No new
problems until I got to Xorg.
I have the new docs downloaded from FreeBSD. The FreeBSD Handbook from
The FreeBSD Documentation Project,  and Frequently Asked Questions
from the same place. They give some information about Xorg.
Typing 'startx gets me to a graphical screen similar to the setup
screen used in xorg -config. My only option was to hit
Ctrl-Alt-Back_Space to get out of it.
I then tried to use xdm -config.
I get to the point where it asks for name and password. This is
mentioned in the handbook. There is no security level set, so the system
is at it's default level. I'm logged in as root, so I type root and my
root password. It loops back to the same menu each time that I do this.
Any other input here just produces a wrong name. It won't accept a blank
input either.
   

Possibly you haven't entered an entry for your windowmanager in your .xinitrc 
or .xsession file. startx uses .xinitrc, xdm uses .xsession. 
'man xdm' explains which files are used by xdm and where they are located.
Look for errors listed in ~/.xsession-errors, if you use xdm. 

 

(At this point, I was looking for the author, a rope, and a tall tree.
My 2nd option was to send this email)
Is there a secret code to getting into Xorg and setting it up for Gnome?
   

An easy way to setup gnome (and other wm) is gdm:
# cp -p /usr/X11R6/etc/rc.d/gdm.sh.sample /usr/X11R6/etc/rc.d/gdm.sh
# /usr/X11R6/etc/rc.d/gdm.sh start
After next reboot gdm will be started automatically. Gdm is part of the gnome 
(meta-)package. 

Cheers,
ch
- -- 
Christian Hiris [EMAIL PROTECTED] | OpenPGP KeyID 0x3BCA53BE 
OpenPGP-Key at hkp://wwwkeys.eu.pgp.net and http://pgp.mit.edu
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.6 (FreeBSD)

iD4DBQFBjSdU09WjGjvKU74RAh01AJd77uoaUgq8mLd8nMF3oeU2zPZWAJ9zavvi
RCIEymWh8v0sPIr/4QIGJw==
=IQUB
-END PGP SIGNATURE-
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]