Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466354 - x11-drivers/xf86-video-ati-7.1.0 CONFIG_CHECK ~DRM_RADEON_KMS invalid from kernel 3.9-pre
Summary: x11-drivers/xf86-video-ati-7.1.0 CONFIG_CHECK ~DRM_RADEON_KMS invalid from ke...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords: InOverlay
Depends on:
Blocks:
 
Reported: 2013-04-18 12:01 UTC by Duncan
Modified: 2013-04-21 00:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2013-04-18 12:01:59 UTC
This bug is a followup to bug #461718, resolved with the addition of the following line in the ebuild:

CONFIG_CHECK="~DRM_RADEON_KMS ~!FB_RADEON"

... with the resulting message:

*   CONFIG_DRM_RADEON_KMS:      is not set when it should be.

... appearing here when I just rebuild xf86-video-ati (eapi5 slot-rebuild triggered by update to xorg-server-1.14.1).

Great, except there is no DRM_RADEON_KMS as a kconfig option.  $>> indicating my prompt:

$>>uname -r
3.9.0-rc7-00004-gbb33db7

$>>zgrep DRM_RADEON /proc/config.gz 
CONFIG_DRM_RADEON=y
# CONFIG_DRM_RADEON_UMS is not set

$>>

In menuconfig, DRM_RADEON_UMS is labeled deprecated and DRM_RADEON_KMS doesn't exist.

Mounting /boot and checking some old configs, 3.8 has DRM_RADEON_KMS, while 3.9 (pre-releases) lost it.

So that check needs to be made kernel-version conditional, probably on KV_MAJOR < 3 or KV_MINOR < 9. (Vars from linux-info.eclass which you're already inheriting to get CONFIG_CHECK.)

(emerge --info shouldn't be necessary as it's a kernel version thing, with that info given above.)

Duncan
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-18 12:21:12 UTC
This is already fixed in the x11 overlay's ebuild, and will reach portage around the same time as gentoo-sources-3.9.
Comment 2 Duncan 2013-04-18 13:06:29 UTC
(In reply to comment #1)
> This is already fixed in the x11 overlay's ebuild, and will reach portage
> around the same time as gentoo-sources-3.9.

Thanks, I'm running the x11 overlay and had just synced it when I synced the main tree, and just synced it again to be sure.

But equery list -op xf86-video-ati only lists version 7.1.0 in the main tree, nothing in the overlay but the live-build?  Same with only equery list -o, for overlay only.  All it shows is the live-9999 build?

No 7.1.0-r1 in the overlay or tree with the change?
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-18 13:25:34 UTC
The live ebuild is identical to the non-live ebuild except for the filename.
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-04-21 00:38:03 UTC
fixed in 7.1.0