[gentoo-user] DRM kernel issues

2014-03-25 Thread James
 OK,

So I built this kernel twice, one with DRM * and once DRM [m]

In the /boot dir ; diff config-3.13.6-gentoo config-3.13.6B-gentoo

yeilds:


2256,2257c2256,2257
 CONFIG_AGP=y
 CONFIG_AGP_AMD64=y
---
 CONFIG_AGP=m
 CONFIG_AGP_AMD64=m
2264,2265c2264,2265
 CONFIG_DRM=y
 CONFIG_DRM_KMS_HELPER=y
---
 CONFIG_DRM=m
 CONFIG_DRM_KMS_HELPER=m
2268c2268
 CONFIG_DRM_TTM=y
---
 CONFIG_DRM_TTM=m
2278c2278
 CONFIG_DRM_RADEON=y
---
 CONFIG_DRM_RADEON=m


So when I boot the one with DRM_Radeon=m, I still get this error
message building the latest radeon driver:

* Checking for suitable kernel configuration options...
(red) * CONFIG_DRM must be disabled or compiled as a module and not 
(red) * loaded for direct rendering to work.
 * Please check to make sure these options are set correctly.

Sure it can easily be related to my limited knowledge of grub2,
but I did boot the 3.13.6B version of the kernel
where all is set as modules

ideas or suggestions as to what I missed?



James








Re: [gentoo-user] DRM kernel issues

2014-03-25 Thread Neil Bothwick
On Tue, 25 Mar 2014 20:48:29 + (UTC), James wrote:

 So I built this kernel twice, one with DRM * and once DRM [m]
 
 So when I boot the one with DRM_Radeon=m, I still get this error
 message building the latest radeon driver:
 
 * Checking for suitable kernel configuration options...
 (red) * CONFIG_DRM must be disabled or compiled as a module and not 
 (red) * loaded for direct rendering to work.
  * Please check to make sure these options are set correctly.

Doesn't the ebuild check the config in /usr/src/linux, not 
/proc/config.gz? So it is checking your latest config, not the running
kernel.


-- 
Neil Bothwick

Hospitality:  making your guests feel like they're at home, even if you
wish they were.


signature.asc
Description: PGP signature


Re: [gentoo-user] DRM kernel issues

2014-03-25 Thread wraeth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 26/03/14 07:48, James wrote:
 So I built this kernel twice, one with DRM * and once DRM [m]

 Sure it can easily be related to my limited knowledge of grub2, but I did
 boot the 3.13.6B version of the kernel where all is set as modules

The build process builds against whatever was last built in /usr/src/linux.

That means that, even though you've booted a kernel that has DRM built as a
module, when ati-drivers builds, it is looking at the config and objects that
reside within /usr/src/linux.

That being said, I'm pretty sure the warning you're being presented with is
just a warning and is safe to ignore, given that you know you need to be
running a kernel that does not have DRM built-in.

Cheers;
wraeth
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlMx/6sACgkQGYlqHeQRhkyEzwD/R+WuCQZvxD4pqS/3gxtfNcdn
J1+91UsQKlcKf9+ZXl8A/1XAjptt2Bd9lfWh3TrVsE7M3kWguFnT4lSoUztm0bOS
=nESM
-END PGP SIGNATURE-