All of lore.kernel.org
 help / color / mirror / Atom feed
From: Frans Pop <elendil@planet.nl>
To: Suresh Siddha <suresh.b.siddha@intel.com>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	"Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>,
	Ingo Molnar <mingo@elte.hu>,
	"arjan@linux.intel.com" <arjan@linux.intel.com>,
	"jbarnes@virtuousgeek.org" <jbarnes@virtuousgeek.org>
Subject: Re: [Bug 10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer
Date: Mon, 16 Jun 2008 12:53:09 +0200	[thread overview]
Message-ID: <200806161253.10656.elendil@planet.nl> (raw)
In-Reply-To: <20080616004153.GA7788@linux-os.sc.intel.com>

[-- Attachment #1: Type: text/plain, Size: 3700 bytes --]

On Monday 16 June 2008, Suresh Siddha wrote:
> If the initlevel is '3', then the mtrr option will show up in
> /proc/mtrr otherwise not.

What is this init level and how would I set it? Do I need to?

> In init level '5', X server will add the mtrr 
> (irrespective of boot option, if it's not already there) and will
> remove it when the X process completes its execution.

That was a useful pointer. I do see some differences when I compare
Xorg logs; see below.

> Can you also please try if "mtrr:1" makes any difference. This will
> setup the mapping as UC during boot. Apart from PAT WC mapping(which we
> shouldn't be using in your current setup), UC MTRR should override all
> the other PAT mappings and should be consistent across X and VT console
> mappings. As such, if the problem is because of improper aliasing, then
> with this UC MTRR, my understanding is that we shouldn't see any
> artifacts with the "mtrr:1".
> with this mtrr:1, we should now see a UC mtrr setting in /proc/mtrr.

mtrr:1 still gives the artifacts and no any difference to /proc/mtrr.

Here's /proc/cmdline + /proc/mtrr for three different boots:
root=/dev/mapper/main-root ro vga=791 quiet
reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg01: base=0x7f800000 (2040MB), size=   8MB: uncachable, count=1
reg02: base=0x7f700000 (2039MB), size=   1MB: uncachable, count=1
reg03: base=0x80000000 (2048MB), size= 256MB: write-combining, count=1

root=/dev/mapper/main-root ro vga=791 quiet video=vesafb:mtrr:1
reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg01: base=0x7f800000 (2040MB), size=   8MB: uncachable, count=1
reg02: base=0x7f700000 (2039MB), size=   1MB: uncachable, count=1
reg03: base=0x80000000 (2048MB), size= 256MB: write-combining, count=1

root=/dev/mapper/main-root ro vga=791 quiet video=vesafb:mtrr:3
reg00: base=0x00000000 (   0MB), size=2048MB: write-back, count=1
reg01: base=0x7f800000 (2040MB), size=   8MB: uncachable, count=1
reg02: base=0x7f700000 (2039MB), size=   1MB: uncachable, count=1
reg03: base=0x80000000 (2048MB), size= 256MB: write-combining, count=1


I do see some differences in Xorg logs, so it does seem that the mtrr
options _are_ being recognized.
Attached my "normal" Xorg log (with 'vga=791') which I used as the base
for the diffs below. Other than shown, the logs are identical.

With mtrr:1 I get (added at the end of the log):
@@ -688,3 +688,11 @@
 (II) evaluating device (Generic Keyboard)
 (II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
 (II) Configured Mouse: ps2EnableDataReporting: succeeded
+(II) intel(0): xf86UnbindGARTMemory: unbind key 0
+(II) intel(0): xf86UnbindGARTMemory: unbind key 1
+(II) intel(0): xf86UnbindGARTMemory: unbind key 2
+(II) intel(0): xf86UnbindGARTMemory: unbind key 3
+(II) intel(0): xf86UnbindGARTMemory: unbind key 4
+(II) intel(0): [drm] removed 1 reserved context for kernel
+(II) intel(0): [drm] unmapping 8192 bytes of SAREA 0x2efff000 at 0x7f2788ab9000
+(II) intel(0): [drm] Closed DRM master.

And with mtrr:3 (added in the middle):
@@ -577,6 +577,7 @@
 (II) intel(0): [drm] Initialized kernel agp heap manager, 33554432
 (II) intel(0): [dri] visual configs initialized
 (II) intel(0): Page Flipping disabled
+(==) intel(0): Removed MMIO write-combining range (0x80000000,0x400000)
 (==) intel(0): Write-combining range (0x80000000,0x10000000)
 (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000
 (II) EXA(0): Offscreen pixmap area of 39321600 bytes


I've also checked with 'nopat'. That gives no differences in /proc/mtrr,
and also no differences in the Xorg log when compared with my normal boot
(vga=791).

Cheers,
FJP


[-- Attachment #2: Xorg.0.log.gz --]
[-- Type: application/x-gzip, Size: 7129 bytes --]

  reply	other threads:[~2008-06-16 10:53 UTC|newest]

Thread overview: 127+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-14 20:04 2.6.26-rc6-git2: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-14 20:04 ` [Bug 10493] mips BCM47XX compile error Rafael J. Wysocki
2008-06-14 21:26   ` Adrian Bunk
2008-06-14 20:12 ` [Bug 10642] general protection fault: 0000 [1] PREEMPT SMP DEBUG_PAGEALLOC Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10711] BUG: unable to handle kernel paging request - scsi_bus_uevent Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10629] 2.6.26-rc1-$sha1: RIP __d_lookup+0x8c/0x160 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10714] Badness seen on 2.6.26-rc2 with lockdep enabled Rafael J. Wysocki
2008-06-14 23:04   ` Adrian Bunk
2008-06-14 23:04     ` Adrian Bunk
2008-06-14 23:29     ` Benjamin Herrenschmidt
2008-06-14 23:29       ` Benjamin Herrenschmidt
2008-06-14 20:12 ` [Bug 10726] x86-64 NODES_SHIFT compile failure Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10741] bug in `tty: BKL pushdown'? Rafael J. Wysocki
2008-06-16 10:03   ` Johannes Weiner
2008-06-16 10:33     ` Alan Cox
2008-06-16 11:46       ` Alan Cox
2008-06-16 15:33         ` Johannes Weiner
2008-06-16 18:22           ` Alan Cox
2008-06-19 11:06             ` Johannes Weiner
2008-06-14 20:12 ` [Bug 10724] ACPI: EC: GPE storm detected, disabling EC GPE Rafael J. Wysocki
2008-06-14 22:29   ` Justin Mattock
2008-06-14 20:12 ` [Bug 10730] build issue #503 for v2.6.26-rc2-433-gf26a398 : undefined reference to `request_firmware' Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10764] some serial configurations are now broken Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10725] Write protect on on Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10861] 2.6.26-rc4-git2 - long pause during boot Rafael J. Wysocki
2008-06-15  6:12   ` Chris Clayton
2008-06-14 20:12 ` [Bug 10819] Fatal DMA error with b43 driver since 2.6.26 Rafael J. Wysocki
2008-06-14 21:34   ` Michael Buesch
2008-06-14 20:12 ` [Bug 10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-14 21:59   ` Frans Pop
2008-06-15 10:22     ` Romano Giannetti
2008-06-15 10:39       ` Adrian Bunk
2008-06-15 11:25         ` Romano Giannetti
2008-06-15 12:23           ` Adrian Bunk
2008-06-15 10:40       ` Rafael J. Wysocki
2008-06-15 11:25         ` Frans Pop
2008-06-15 11:35           ` Romano Giannetti
2008-06-15 11:26         ` Romano Giannetti
2008-06-15 19:29     ` Siddha, Suresh B
2008-06-15 23:02       ` Frans Pop
2008-06-16  0:41         ` Suresh Siddha
2008-06-16 10:53           ` Frans Pop [this message]
2008-06-16 11:07             ` Frans Pop
2008-06-23 12:38       ` Frans Pop
2008-06-24 23:22         ` Suresh Siddha
2008-09-12 10:54           ` Frans Pop
2008-09-12 12:43             ` Pallipadi, Venkatesh
2008-09-12 13:33               ` Frans Pop
2008-09-12 16:05                 ` Pallipadi, Venkatesh
2008-09-13  0:24                 ` Pallipadi, Venkatesh
2008-09-13  9:49                   ` Frans Pop
2008-09-14 13:25                     ` Ingo Molnar
2008-06-14 20:12 ` [Bug 10828] [2.6.25-git18 =&gt; 2.6.26-rc1-git1] Xorg crash with xf86MapVidMem error Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10830] two different oopses with 2.6.26-rc4 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10826] NFS oops in 2.6.26rc4 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10815] 2.6.26-rc4: RIP find_pid_ns+0x6b/0xa0 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10860] total system freeze at boot with 2.6.26-rc Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10794] mips: CONF_CM_DEFAULT build error Rafael J. Wysocki
2008-06-14 21:24   ` Adrian Bunk
2008-06-14 20:12 ` [Bug 10827] 2.6.26rc4 GFS2 oops Rafael J. Wysocki
2008-06-22  9:09   ` [Cluster-devel] " Adrian Bunk
2008-06-22  9:09     ` Adrian Bunk
2008-06-23 14:40     ` [Cluster-devel] " Bob Peterson
2008-06-23 14:40       ` Bob Peterson
2008-06-23 15:14       ` Adrian Bunk
2008-06-23 15:14         ` Adrian Bunk
2008-06-23 15:32         ` Bob Peterson
2008-06-23 15:32           ` Bob Peterson
2008-06-23 17:02           ` Rafael J. Wysocki
2008-06-23 17:05             ` Adrian Bunk
2008-06-23 17:05               ` Adrian Bunk
2008-06-14 20:12 ` [Bug 10799] sky2 general protection fault Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10821] rt25xx: lock dependency warning, association failure, and kmalloc corruption Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10786] 2.6.26-rc3 64bit SMP does not boot on J5600 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10903] ssh connections hang with 2.6.26-rc5 Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10872] x86_64 boot hang when CONFIG_NUMA=n Rafael J. Wysocki
2008-06-15 16:35   ` Randy Dunlap
2008-06-15 19:18     ` Yinghai Lu
2008-06-16  1:11       ` Randy Dunlap
2008-06-16  4:12         ` Yinghai Lu
2008-06-16  5:14           ` Randy Dunlap
2008-06-16  4:15         ` Yinghai Lu
2008-06-16 15:32           ` Randy Dunlap
2008-06-14 20:12 ` [Bug 10868] Oops on loading ipaq module since 2.6.26, prevents use of device Rafael J. Wysocki
2008-06-14 21:26   ` Alan Cox
2008-06-15  6:44     ` Adam Williamson
2008-06-16  9:10       ` Alan Cox
2008-06-14 20:12 ` [Bug 10865] i get the following oops trying to mount an ntfs partition on thinkpad Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10862] forcedeth: lockdep warning on ethtool -s Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10866] /dev/rtc was missing until I disabled CONFIG_RTC_CLASS Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10864] [regression][bisected] ~90,000 wakeups as of 2.6.26-rc3 Rafael J. Wysocki
2008-06-15  6:30   ` Németh Márton
2008-06-15  7:50     ` Ingo Molnar
2008-06-15  8:54       ` Németh Márton
2008-06-15 10:48         ` Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10892] Sometime (often) X come out blank (black screen) on cold boot - Intel chipset Rafael J. Wysocki
2008-06-15 10:21   ` Romano Giannetti
2008-06-14 20:12 ` [Bug 9791] Clock is running too fast^Wslow using acpi_pm clocksource Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10905] 2.6.26: x86/kernel/pci_dma.c: gfp |= __GFP_NORETRY ? Rafael J. Wysocki
2008-06-16 11:26   ` Miquel van Smoorenburg
2008-06-16 13:19     ` Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10912] Regressions in the last kernels Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10908] IPF Montvale machine panic when running a network-relevent testing Rafael J. Wysocki
2008-06-14 20:12 ` [Bug 10906] repeatable slab corruption with LTP msgctl08 Rafael J. Wysocki
2008-06-14 21:42 ` 2.6.26-rc6-git2: Reported regressions from 2.6.25 Linus Torvalds
2008-06-14 22:00   ` Maciej W. Rozycki
2008-06-15  0:00     ` Linus Torvalds
2008-06-15 23:31       ` Maciej W. Rozycki
2008-06-17 15:24         ` Dave Jones
2008-06-14 23:31   ` David Miller
2008-06-15  0:41     ` Linus Torvalds
2008-06-15  1:07       ` David Miller
2008-06-15  2:15         ` Linus Torvalds
2008-06-15 10:51   ` Rafael J. Wysocki
2008-06-14 22:09 ` Vegard Nossum
2008-06-15 11:14   ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2008-07-13 17:59 2.6.26-rc9-git12: " Rafael J. Wysocki
2008-07-13 18:00 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-07-13 18:00   ` Rafael J. Wysocki
2008-07-06 11:39 2.6.26-rc9: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-07-06 11:45 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-07-06 11:45   ` Rafael J. Wysocki
2008-07-06 23:08   ` Frans Pop
2008-06-29 18:15 2.6.26-rc8: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-29 18:18 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-29 19:55   ` Frans Pop
2008-06-22 17:49 2.6.26-rc7-git2: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-22 17:54 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-22 19:24   ` Frans Pop
2008-06-07 20:38 2.6.26-rc5-git2: Reported regressions from 2.6.25 Rafael J. Wysocki
2008-06-07 20:42 ` [Bug #10843] Display artifacts on XOrg logout with PAT kernel and VESA framebuffer Rafael J. Wysocki
2008-06-07 22:09   ` Frans Pop

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200806161253.10656.elendil@planet.nl \
    --to=elendil@planet.nl \
    --cc=arjan@linux.intel.com \
    --cc=jbarnes@virtuousgeek.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rjw@sisk.pl \
    --cc=suresh.b.siddha@intel.com \
    --cc=venkatesh.pallipadi@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.