After recent updates, X will no longer start with the Nvidia driver on maverick (related to "pat"/"nopat" kernel option)

Bug #605837 reported by Michael Marley
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Low
Unassigned

Bug Description

I recently updated to the latest (2.6.35-8-generic) kernel on a Maverick system, but rebooting after the update caused Xorg not to start. I see the following messages in dmesg:

[ 33.716949] Xorg:1316 conflicting memory types e0000000-e0546000 write-combining<->uncached-minus
[ 33.716954] reserve_memtype failed 0xe0000000-0xe0546000, track write-combining, req write-combining
[ 49.853274] Xorg:1492 conflicting memory types e0000000-e0546000 write-combining<->uncached-minus
[ 49.853279] reserve_memtype failed 0xe0000000-0xe0546000, track write-combining, req write-combining

I also see an error in Xorg.0.log:

[ 49.853] (EE) NVIDIA(0): Failed to allocate primary buffer: out of memory.

I tried reverting to the previous kernel, but this doesn't fix the problem. That makes me think maybe some other update caused the problem, but I can't find anything that looks suspicious in dpkg.log.

WORKAROUND: Adding "nopat" to the kernel command line causes this problem to go away.

Revision history for this message
Michael Marley (mamarley) wrote :
description: updated
Revision history for this message
Michael Marley (mamarley) wrote :
Revision history for this message
Michael Marley (mamarley) wrote :
Revision history for this message
Michael Marley (mamarley) wrote :
Revision history for this message
Michael Marley (mamarley) wrote :

i just discovered that adding "nopat" to the kernel command line causes this problem to go away. Using PAT before didn't cause a problem, though, so there must be a bug somewhere.

Philip Muškovac (yofel)
tags: added: maverick
tags: added: kj-triage
Daniel Hahler (blueyed)
summary: After recent updates, X will no longer start with the Nvidia driver on
- maverick
+ maverick (related to "pat"/"nopat" kernel option)
Changed in linux (Ubuntu):
importance: Undecided → Medium
Delan Azabani (azabani)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
nutznboltz (nutznboltz-deactivatedaccount) wrote :
Revision history for this message
Daniel Hahler (blueyed) wrote :

This apparently has landed in 2.6.32.2 (commit http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.36.y.git;a=commit;h=57cbe30dcafee32ac897b5313008fe9ee4c33b2b), I will see if I can remove "nopat" after building+upgrading.

Revision history for this message
Manfred Hampl (m-hampl) wrote :

@Daniel
I guess in message #7 it should 2.6.36.2 instead of 2.6.32.2

Revision history for this message
Daniel Hahler (blueyed) wrote :

@Manfred, yes you're right: I was talking about 2.6.36.2.

However, the patch on its own did not help. I had to change:
GRUB_GFXPAYLOAD_LINUX=keep
to
GRUB_GFXPAYLOAD_LINUX=1280x1024
in /etc/default/grub and re-run update-grub.

Somehow "keep" was also causing the virtual consoles to not be available (apart from VT7 where kdm was running).

Using 1280x1024 explicitly fixed it for me, although I am using GRUB_GFXMODE=1280x1024 anyway.

Revision history for this message
penalvch (penalvch) wrote :

Michael Marley, thank you for reporting this and helping make Ubuntu better. Maverick reached EOL on April 10, 2012.
Please see this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We were wondering if this is still an issue in a supported release? If so, can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in a supported release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please do not test the kernel in the daily folder, but the one all the way at the bottom. Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. As well, please comment on which kernel version specifically you tested.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing
description: updated
Changed in linux (Ubuntu):
importance: Medium → Low
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.