Bug 21067 - Xorg can't enable DRI and can't load drm anymore with the new kernel 2.6.29
Summary: Xorg can't enable DRI and can't load drm anymore with the new kernel 2.6.29
Status: RESOLVED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Radeon (show other bugs)
Version: XOrg git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-06 00:58 UTC by TeF
Modified: 2009-04-11 00:29 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg for gentoo-sources-2.26.9 (41.99 KB, text/plain)
2009-04-06 00:58 UTC, TeF
no flags Details
Xorg.log when run on 2.6.29 (1.44 KB, patch)
2009-04-06 00:59 UTC, TeF
no flags Details | Splinter Review
kernel config for 2.6.29 (60.46 KB, patch)
2009-04-06 01:00 UTC, TeF
no flags Details | Splinter Review
lspci info (9.44 KB, text/plain)
2009-04-06 01:01 UTC, TeF
no flags Details
dmesg info (43.02 KB, text/plain)
2009-04-11 00:29 UTC, TeF
no flags Details

Description TeF 2009-04-06 00:58:58 UTC
Created attachment 24591 [details]
dmesg for gentoo-sources-2.26.9

Latest working kernel version:<2.6.29
Earliest failing kernel version:>=2.6.29
Distribution: Gentoo ~x86
Hardware Environment: P4, radeon 9550 ,in a Intel 865PE ,AGP 8X port
Software Environment: Xorg 7.4 ,xorg-server 1.5.3-r5 , radeon driver,mesa7.4
-----------------------------------------------------------------------------------------------------------
Problem Description:
Xorg can't enable DRI and can't load drm anymore with the new kernel(2.6.29), which disables about any hw accelled rendering . There are some messages in dmesg and Xorg.log, I'll attach them.
Comment 1 TeF 2009-04-06 00:59:33 UTC
Created attachment 24592 [details] [review]
Xorg.log when run on 2.6.29
Comment 2 TeF 2009-04-06 01:00:33 UTC
Created attachment 24593 [details] [review]
kernel config for 2.6.29
Comment 3 TeF 2009-04-06 01:01:45 UTC
Created attachment 24594 [details]
lspci info
Comment 4 Alex Deucher 2009-04-06 06:36:12 UTC
Does booting with nopat (on your kernel command line) help?
Comment 5 Xavier Bestel 2009-04-06 06:49:01 UTC
2.6.29 needs the firmware to exist as a separate file. Are you sure you installed the firmare package for your distribution ?
Comment 6 TeF 2009-04-06 17:10:31 UTC
(In reply to comment #5)
> 2.6.29 needs the firmware to exist as a separate file. Are you sure you
> installed the firmare package for your distribution ?

How Can I confirm the firmware exist my distribution as a separate file?
(my distribution is Gentoo)
Comment 7 TeF 2009-04-06 20:48:52 UTC
(In reply to comment #4)
> Does booting with nopat (on your kernel command line) help?
> 
Yes !It works with "nopat" options of kernel command line! But my system is hanged when X exited!
What the "napat" option means?
Comment 8 Alex Deucher 2009-04-06 22:24:58 UTC
(In reply to comment #7)
> (In reply to comment #4)
> > Does booting with nopat (on your kernel command line) help?
> > 
> Yes !It works with "nopat" options of kernel command line! But my system is
> hanged when X exited!
> What the "napat" option means?
> 

PAT = Page Attribute Tables
It allows for fine grained control of caching for pages in memory.  It seems to have problems with ioremap and AGP.
Comment 9 TeF 2009-04-07 00:43:20 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > (In reply to comment #4)
> > > Does booting with nopat (on your kernel command line) help?
> > > 
> > Yes !It works with "nopat" options of kernel command line! But my system is
> > hanged when X exited!
> > What the "napat" option means?
> > 
> PAT = Page Attribute Tables
> It allows for fine grained control of caching for pages in memory.  It seems to
> have problems with ioremap and AGP.

thanks for your patient. I press the Command "dmesg | grep drm" in my system ,and it shows me some ERROR infomation like this:
[**ERROR** could not find ioremap agp regions!] 
How can I fix this problem complete? Could I use the "nopat" kernel option permanently? Dose this kernel option affect my system normal running?
Comment 10 Alex Deucher 2009-04-07 07:33:20 UTC
(In reply to comment #9)
> 
> thanks for your patient. I press the Command "dmesg | grep drm" in my system
> ,and it shows me some ERROR infomation like this:
> [**ERROR** could not find ioremap agp regions!] 
> How can I fix this problem complete? Could I use the "nopat" kernel option
> permanently? Dose this kernel option affect my system normal running?
> 

nopat will work around it for now.  AGP should be fixed to work with pat at some point.  
Comment 11 TeF 2009-04-11 00:29:06 UTC
Created attachment 24709 [details]
dmesg info


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.