Bug 29579

Summary: 2.6.35 with RV630 AGP does not enable KMS/DRM
Product: DRI Reporter: Juho-Mikko Pellinen <juho-mikko.pellinen>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium    
Version: XOrg git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
2.6.35 Xorg.0.log with radeon.modeset=0
none
2.6.35 dmesg with radeon.modeset=0
none
2.6.35 lsmod with radeon.modeset=0
none
2.6.35 Xorg.0.log with radeon.modeset=1
none
2.6.35 dmesg with radeon.modeset=1
none
2.6.35 lsmod with radeon.modeset=1
none
2.6.35 Xorg.0.log without radeon.modeset
none
2.6.35 dmesg without radeon.modeset
none
2.6.35 lsmod without radeon.modeset
none
2.6.35 dmesg without radeon.modeset
none
2.6.35 lsmod without radeon.modeset
none
2.6.35 kernel config
none
2.6.34-gentoo kernel config which works
none
2.6.34-gentoo Xorg.0.log which works
none
2.6.34-gentoo dmesg which works
none
2.6.34-gentoo lspci -k which works
none
2.6.35 lspci -k without radeon.modeset none

Description Juho-Mikko Pellinen 2010-08-14 11:52:40 UTC
Created attachment 37860 [details]
2.6.35 Xorg.0.log with radeon.modeset=0

I'm having problems with getting KMS to work with 2.6.35.
I have earlier configuration with 2.6.34 and KMS works as it should. When booting up I get framebuffer console and X starts without errors.

Steps to reproduce:
1. copy working config from 2.6.34 to 2.6.35
2. make oldconfig and double check the differing options, none related to drm/radeon
3. compile kernel, boot it with different configurations
4. drm does not initialize, framebuffer console does not came up, X can't open dri

6. If I boot with radeon.modeset=0 drm initializes.

I have tried number of kernel configs without any success. Prior to this I consulted #radeon, but it couldn't find any problems with my configuration. Normally I compile things as modules and it works quite well.
AGP-drivers are compiled as modules/in kernel and load before radeon/drm.
I have tried 2.6.35 vanilla, -rc2, -rc4, -rc6, -rc6, -gentoo-r1 . They all fail the same way.

Any ideas how to get KMS working again?

My hardware:
RV630 AGP (HD2600 Pro AGP)
nForce3 chipset
CPU Athlon64 3xxx+

lscpi:
00:00.0 Host bridge: nVidia Corporation nForce3 250Gb Host Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation nForce3 250Gb LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation nForce 250Gb PCI System Management (rev a1)
00:02.0 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.1 USB Controller: nVidia Corporation CK8S USB Controller (rev a1)
00:02.2 USB Controller: nVidia Corporation nForce3 EHCI USB 2.0 Controller (rev a2)
00:05.0 Bridge: nVidia Corporation CK8S Ethernet Controller (rev a2)
00:06.0 Multimedia audio controller: nVidia Corporation nForce3 250Gb AC'97 Audio Controller (rev a1)
00:08.0 IDE interface: nVidia Corporation CK8S Parallel ATA Controller (v2.5) (rev a2)
00:0a.0 IDE interface: nVidia Corporation nForce3 Serial ATA Controller (rev a2)
00:0b.0 PCI bridge: nVidia Corporation nForce3 250Gb AGP Host to PCI Bridge (rev a2)
00:0e.0 PCI bridge: nVidia Corporation nForce3 250Gb PCI-to-PCI Bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: ATI Technologies Inc RV630 PRO AGP [Radeon HD 2600 PRO AGP]
02:06.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S [Rhine-III] (rev 86)
02:07.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
02:07.1 Input device controller: Creative Labs SB Audigy Game Port (rev 03)
02:07.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
02:08.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Comment 1 Juho-Mikko Pellinen 2010-08-14 11:53:19 UTC
Created attachment 37861 [details]
2.6.35 dmesg with radeon.modeset=0
Comment 2 Juho-Mikko Pellinen 2010-08-14 11:53:48 UTC
Created attachment 37862 [details]
2.6.35 lsmod with radeon.modeset=0
Comment 3 Juho-Mikko Pellinen 2010-08-14 11:54:17 UTC
Created attachment 37863 [details]
2.6.35 Xorg.0.log with radeon.modeset=1
Comment 4 Juho-Mikko Pellinen 2010-08-14 11:54:34 UTC
Created attachment 37864 [details]
2.6.35 dmesg with radeon.modeset=1
Comment 5 Juho-Mikko Pellinen 2010-08-14 11:54:49 UTC
Created attachment 37865 [details]
2.6.35 lsmod with radeon.modeset=1
Comment 6 Juho-Mikko Pellinen 2010-08-14 11:55:18 UTC
Created attachment 37866 [details]
2.6.35 Xorg.0.log without radeon.modeset
Comment 7 Juho-Mikko Pellinen 2010-08-14 11:55:37 UTC
Created attachment 37867 [details]
2.6.35 dmesg without radeon.modeset
Comment 8 Juho-Mikko Pellinen 2010-08-14 11:56:02 UTC
Created attachment 37868 [details]
2.6.35 lsmod without radeon.modeset
Comment 9 Juho-Mikko Pellinen 2010-08-14 11:56:23 UTC
Created attachment 37869 [details]
2.6.35 dmesg without radeon.modeset
Comment 10 Juho-Mikko Pellinen 2010-08-14 11:56:38 UTC
Created attachment 37870 [details]
2.6.35 lsmod without radeon.modeset
Comment 11 Juho-Mikko Pellinen 2010-08-14 11:57:57 UTC
Whew, couldn't find a way to upload a multiple attachments at once.
Comment 12 Juho-Mikko Pellinen 2010-08-14 12:14:23 UTC
Created attachment 37872 [details]
2.6.35 kernel config
Comment 13 Juho-Mikko Pellinen 2010-08-14 12:15:03 UTC
Created attachment 37873 [details]
2.6.34-gentoo kernel config which works
Comment 14 Juho-Mikko Pellinen 2010-08-14 12:16:56 UTC
Created attachment 37874 [details]
2.6.34-gentoo Xorg.0.log which works
Comment 15 Juho-Mikko Pellinen 2010-08-14 12:17:20 UTC
Created attachment 37875 [details]
2.6.34-gentoo dmesg which works
Comment 16 Juho-Mikko Pellinen 2010-08-14 12:18:13 UTC
Created attachment 37876 [details]
2.6.34-gentoo lspci -k  which works
Comment 17 Juho-Mikko Pellinen 2010-08-14 12:29:35 UTC
Created attachment 37877 [details]
 2.6.35 lspci -k without radeon.modeset
Comment 18 Alex Deucher 2010-08-16 06:47:45 UTC
Are agpgart and amd64_agp loaded before loading radeon?  Does manually loading them first help?
Comment 19 Juho-Mikko Pellinen 2010-08-18 00:35:06 UTC
AGP is not explicitly loaded, but it's initialization messages appear two seconds before any drm messages. During boot radeon is loaded just before fbcon.

Adding agpgart and amd64_agp to explicitly loaded modules didn't improve this situation.
Comment 20 Alex Deucher 2010-08-19 23:10:06 UTC
Does loading radeon with the module param agpmode=-1 help?  How about this patch?
http://git.kernel.org/?p=linux/kernel/git/airlied/drm-2.6.git;a=commitdiff;h=c368aab39841b621e1851d91860e4b3c20af61f6
Comment 21 Martin Peres 2019-11-19 08:15:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/148.

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.