Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-23 Thread Willie Wong
On Thu, Jan 22, 2009 at 04:47:00PM -0800, Penguin Lover Dake Wang squawked:
 It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel.
 I got both as on my box as the gspca driver for my web camera seems only
 worked on the 2.6.26 kernel.
 

The error I run into is mostly only cosmetic. The error happens AFTER
I terminate X. So far there has been no loss of functionality. After a
thorough search of my harddrive, I am beginning to think that this is
not a problem with my configuration per se, but a bug with the Xorg
radeon driver. 

Note that for me this message occured for both 2.6.26.5 and 2.6.28.1
vanilla sources, and for both 6.9.0 and 6.10.0 Xorg radeon drivers. 

W
-- 
Ever stop to think, and forget to start again?
Sortir en Pantoufles: up 777 days, 13:31



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-23 Thread Man Shankar
On 09:51 Fri 23 Jan , Willie Wong wrote:
 On Thu, Jan 22, 2009 at 04:47:00PM -0800, Penguin Lover Dake Wang squawked:
  It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel.
  I got both as on my box as the gspca driver for my web camera seems only
  worked on the 2.6.26 kernel.
  
 
 The error I run into is mostly only cosmetic. The error happens AFTER
 I terminate X. So far there has been no loss of functionality. After a
 thorough search of my harddrive, I am beginning to think that this is
 not a problem with my configuration per se, but a bug with the Xorg
 radeon driver. 
 
Happened here on both .26 and .28 with the nv driver. But, like you said
the message only appeared after X terminated. I only experienced 1 X crash
during a week of nv driver usage. No, such messages with the nvidia 
proprietary drivers however. FWIW the following are the config opts i use 
for my current .28 gentoo-sources:

zsh % zgrep -i mtrr /proc/config.gz
CONFIG_MTRR=y
# CONFIG_MTRR_SANITIZER is not set

I pass mtrr:4 to the kernel command line.
 Note that for me this message occured for both 2.6.26.5 and 2.6.28.1
 vanilla sources, and for both 6.9.0 and 6.10.0 Xorg radeon drivers. 
 
 W
 -- 
 Ever stop to think, and forget to start again?
 Sortir en Pantoufles: up 777 days, 13:31

-- 

Thanks  Regards,
Man Shankar man.ee.gen(at)gmail.com



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Mick
2009/1/21 Volker Armin Hemmann volkerar...@googlemail.com:
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann
 squawked:
  On Mittwoch 21 Januar 2009, Willie Wong wrote:
   Hi list:
  
 I need some help with my memory.
  
 Recently when I quit the X server, the following can be seen in the
 sys log:
  
   Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
  
 and on the TTY where I issued X init, a similar message is shown,
 but the message is not echoed in /var/log/Xorg.0.log
  
 Now, I remember having entered something like that somewhere way
 back, when I was using the ATI drivers for my laptop (instead of the
 radeon drivers from Xorg). The problem is, I cannot remember where
 such a line would possibly go! Does anyone have any ideas where I
 can start searching?
 
  don't do it. Just don't do that. It should not be necessary. Instead look
  at the mtrr cleanup options in make menuconfig.

 Yes, my point exactly! That *should not* be necessary any longer, so I
 am trying to figure out where I might have put this thing which I
 remembered having manual inserted so I can undo the damage.

 Also, what is this MTRR cleanup option? I can't seem to find it?

 W

 are you using a recent kernel? 2.6.27 or 28?

I am using both.  I have a mtrr entry in my kernel boot line like this: mtrr:4

but when configuring the new kernel I came across this option:

MTRR cleanup enable value (0-1)

which confused me.  What am I supposed to choose here, other than the
default 0 value?
-- 
Regards,
Mick



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Justin
Mick schrieb:
 2009/1/21 Volker Armin Hemmann volkerar...@googlemail.com:
   
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann
   
 squawked:
 
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
 Hi list:

   I need some help with my memory.

   Recently when I quit the X server, the following can be seen in the
   sys log:

 Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found

   and on the TTY where I issued X init, a similar message is shown,
   but the message is not echoed in /var/log/Xorg.0.log

   Now, I remember having entered something like that somewhere way
   back, when I was using the ATI drivers for my laptop (instead of the
   radeon drivers from Xorg). The problem is, I cannot remember where
   such a line would possibly go! Does anyone have any ideas where I
   can start searching?
   
 don't do it. Just don't do that. It should not be necessary. Instead look
 at the mtrr cleanup options in make menuconfig.
 
 Yes, my point exactly! That *should not* be necessary any longer, so I
 am trying to figure out where I might have put this thing which I
 remembered having manual inserted so I can undo the damage.

 Also, what is this MTRR cleanup option? I can't seem to find it?

 W
   
 are you using a recent kernel? 2.6.27 or 28?
 

 I am using both.  I have a mtrr entry in my kernel boot line like this: mtrr:4

 but when configuring the new kernel I came across this option:

 MTRR cleanup enable value (0-1)

 which confused me.  What am I supposed to choose here, other than the
 default 0 value?
   
choose 1 with the 28 kernel and everything is fine. That was my success:

reg00: base=0xfffe (4095MB), size= 128KB: write-protect, count=1
reg01: base=0xfffc (4095MB), size= 128KB: uncachable, count=1
reg02: base=0x (   0MB), size= 512MB: write-back, count=1
reg03: base=0x2000 ( 512MB), size= 512MB: write-back, count=1
reg04: base=0x3f80 (1016MB), size=   8MB: uncachable, count=1
reg05: base=0x3f60 (1014MB), size=   2MB: uncachable, count=1
reg06: base=0x3f50 (1013MB), size=   1MB: uncachable, count=1
reg07: base=0x (   0MB), size= 128KB: uncachable, count=1


changed to

reg00: base=0x0 (0MB), size= 1024MB, count=1: write-back
reg01: base=0x03f50 ( 1013MB), size=1MB, count=1: uncachable
reg02: base=0x03f60 ( 1014MB), size=2MB, count=1: uncachable
reg03: base=0x03f80 ( 1016MB), size=8MB, count=1: uncachable
reg04: base=0x04000 ( 1024MB), size=2MB, count=1: write-combining




signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Willie Wong
On Wed, Jan 21, 2009 at 02:39:32AM +0100, Penguin Lover Volker Armin Hemmann 
squawked:
  Also, what is this MTRR cleanup option? I can't seem to find it?
 
 are you using a recent kernel? 2.6.27 or 28?

Sorry for the late reply, I was having some problems with my mail.

I am using 2.6.26 right now. I guess that is the problem. Let me try a
more recent one and report back.

W
-- 
Pintsize: Data packets instead of pheromones!
Sortir en Pantoufles: up 776 days, 17:04



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Willie Wong
On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann 
squawked:
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
Recently when I quit the X server, the following can be seen in the
sys log:
 
  Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
 
and on the TTY where I issued X init, a similar message is shown,
but the message is not echoed in /var/log/Xorg.0.log
 
 don't do it. Just don't do that. It should not be necessary. Instead look at 
 the mtrr cleanup options in make menuconfig.

Sorry, but this does not help. I have that after I terminate X, the
following line on the console:

error setting MTRR (base = 0xe800, size = 0x0200, type = 1) Invalid 
argument (22)

and the following

e-nibbles wwong # dmesg | tail -n 5
pci :01:00.0: putting AGP V2 device into 4x mode
[drm] Setting GART location based on new memory map
[drm] Loading R200 Microcode
[drm] writeback test succeeded in 1 usecs
mtrr: no MTRR for e800,200 found
e-nibbles wwong # zgrep -i mtrr /proc/config.gz
CONFIG_MTRR=y
CONFIG_MTRR_SANITIZER=y
CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
e-nibbles wwong # uname -a
Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) 
Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux


Is there anything I misconfigured? 

Any other ideas?

Thanks, 

W
-- 
And wow! Hey! What's this thing coming towards me very 
fast? Very very fast. So big and flat and round, it needs a 
big wide sounding word like... ow... ound... round... 
ground! That's it! That's a good name - ground!
I wonder if it will be friends with me? 

- For the sperm whale, it wasn't. 
Sortir en Pantoufles: up 776 days, 18:35



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Justin
Willie Wong schrieb:
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann 
 squawked:
   
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
   Recently when I quit the X server, the following can be seen in the
   sys log:

 Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found

   and on the TTY where I issued X init, a similar message is shown,
   but the message is not echoed in /var/log/Xorg.0.log

   
 don't do it. Just don't do that. It should not be necessary. Instead look at 
 the mtrr cleanup options in make menuconfig.
 

 Sorry, but this does not help. I have that after I terminate X, the
 following line on the console:

 error setting MTRR (base = 0xe800, size = 0x0200, type = 1) Invalid 
 argument (22)

 and the following

 e-nibbles wwong # dmesg | tail -n 5
 pci :01:00.0: putting AGP V2 device into 4x mode
 [drm] Setting GART location based on new memory map
 [drm] Loading R200 Microcode
 [drm] writeback test succeeded in 1 usecs
 mtrr: no MTRR for e800,200 found
 e-nibbles wwong # zgrep -i mtrr /proc/config.gz
 CONFIG_MTRR=y
 CONFIG_MTRR_SANITIZER=y
 CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
 CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
 e-nibbles wwong # uname -a
 Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R) 
 Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux


 Is there anything I misconfigured? 

 Any other ideas?

 Thanks, 

 W
   
I read something about booting with mtrr_cleanup_debug debug in the
command line. This will print you out what to set in mtrr_chunk_size in
the commandline. Didn't test it but check that.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-22 Thread Dake Wang
It seems to be appeared on 2.6.28 kernel. But not 2.6.26 kernel.
I got both as on my box as the gspca driver for my web camera seems only
worked on the 2.6.26 kernel.


On Thu, Jan 22, 2009 at 11:58 AM, Justin jus...@j-schmitz.net wrote:

 Willie Wong schrieb:
  On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin
 Hemmann squawked:
 
  On Mittwoch 21 Januar 2009, Willie Wong wrote:
 
Recently when I quit the X server, the following can be seen in the
sys log:
 
  Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
 
and on the TTY where I issued X init, a similar message is shown,
but the message is not echoed in /var/log/Xorg.0.log
 
 
  don't do it. Just don't do that. It should not be necessary. Instead
 look at
  the mtrr cleanup options in make menuconfig.
 
 
  Sorry, but this does not help. I have that after I terminate X, the
  following line on the console:
 
  error setting MTRR (base = 0xe800, size = 0x0200, type = 1)
 Invalid argument (22)
 
  and the following
 
  e-nibbles wwong # dmesg | tail -n 5
  pci :01:00.0: putting AGP V2 device into 4x mode
  [drm] Setting GART location based on new memory map
  [drm] Loading R200 Microcode
  [drm] writeback test succeeded in 1 usecs
  mtrr: no MTRR for e800,200 found
  e-nibbles wwong # zgrep -i mtrr /proc/config.gz
  CONFIG_MTRR=y
  CONFIG_MTRR_SANITIZER=y
  CONFIG_MTRR_SANITIZER_ENABLE_DEFAULT=1
  CONFIG_MTRR_SANITIZER_SPARE_REG_NR_DEFAULT=1
  e-nibbles wwong # uname -a
  Linux e-nibbles 2.6.28.1 #2 Thu Jan 22 14:28:04 EST 2009 i686 Intel(R)
 Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
 
 
  Is there anything I misconfigured?
 
  Any other ideas?
 
  Thanks,
 
  W
 
 I read something about booting with mtrr_cleanup_debug debug in the
 command line. This will print you out what to set in mtrr_chunk_size in
 the commandline. Didn't test it but check that.




Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-20 Thread Volker Armin Hemmann
On Mittwoch 21 Januar 2009, Willie Wong wrote:
 Hi list:

   I need some help with my memory.

   Recently when I quit the X server, the following can be seen in the
   sys log:

 Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found

   and on the TTY where I issued X init, a similar message is shown,
   but the message is not echoed in /var/log/Xorg.0.log

   Now, I remember having entered something like that somewhere way
   back, when I was using the ATI drivers for my laptop (instead of the
   radeon drivers from Xorg). The problem is, I cannot remember where
   such a line would possibly go! Does anyone have any ideas where I
   can start searching?

 Thanks in advance,

 W

don't do it. Just don't do that. It should not be necessary. Instead look at 
the mtrr cleanup options in make menuconfig.




Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-20 Thread Willie Wong
On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann 
squawked:
 On Mittwoch 21 Januar 2009, Willie Wong wrote:
  Hi list:
 
I need some help with my memory.
 
Recently when I quit the X server, the following can be seen in the
sys log:
 
  Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
 
and on the TTY where I issued X init, a similar message is shown,
but the message is not echoed in /var/log/Xorg.0.log
 
Now, I remember having entered something like that somewhere way
back, when I was using the ATI drivers for my laptop (instead of the
radeon drivers from Xorg). The problem is, I cannot remember where
such a line would possibly go! Does anyone have any ideas where I
can start searching?
 
 don't do it. Just don't do that. It should not be necessary. Instead look at 
 the mtrr cleanup options in make menuconfig.

Yes, my point exactly! That *should not* be necessary any longer, so I
am trying to figure out where I might have put this thing which I
remembered having manual inserted so I can undo the damage. 

Also, what is this MTRR cleanup option? I can't seem to find it?

W

-- 
Q: What's grey and proves the nondenumerability of the Reals? 
A: Cantor's Diagonal Elephant
Sortir en Pantoufles: up 775 days, 12 min



Re: [gentoo-user] MTRR setting? Where could I have put it?

2009-01-20 Thread Volker Armin Hemmann
On Mittwoch 21 Januar 2009, Willie Wong wrote:
 On Wed, Jan 21, 2009 at 12:22:17AM +0100, Penguin Lover Volker Armin Hemmann 
squawked:
  On Mittwoch 21 Januar 2009, Willie Wong wrote:
   Hi list:
  
 I need some help with my memory.
  
 Recently when I quit the X server, the following can be seen in the
 sys log:
  
   Jan 20 18:06:34 e-nibbles mtrr: no MTRR for e800,200 found
  
 and on the TTY where I issued X init, a similar message is shown,
 but the message is not echoed in /var/log/Xorg.0.log
  
 Now, I remember having entered something like that somewhere way
 back, when I was using the ATI drivers for my laptop (instead of the
 radeon drivers from Xorg). The problem is, I cannot remember where
 such a line would possibly go! Does anyone have any ideas where I
 can start searching?
 
  don't do it. Just don't do that. It should not be necessary. Instead look
  at the mtrr cleanup options in make menuconfig.

 Yes, my point exactly! That *should not* be necessary any longer, so I
 am trying to figure out where I might have put this thing which I
 remembered having manual inserted so I can undo the damage.

 Also, what is this MTRR cleanup option? I can't seem to find it?

 W

are you using a recent kernel? 2.6.27 or 28?