Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 301160

Summary: x11-drivers/ati-drivers-9.11 should test all kernel features in one shot, and not one by one
Product: Gentoo Linux Reporter: DEMAINE Benoît-Pierre, aka DoubleHP <dhp_gentoo>
Component: New packagesAssignee: Luca Barbato <lu_zero>
Status: RESOLVED FIXED    
Severity: minor CC: enrico.tagliavini, x11
Priority: High    
Version: 10.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-16 03:52:09 UTC
>>> Emerging (2 of 2) x11-drivers/ati-drivers-9.11
[...]
 * ati-drivers-9.11 requires the magic SysRq keys in the kernel.
 * Please enable it:
 *     CONFIG_MAGIC_SYSRQ=y
[...]

ok, I will rebuild my kernel, and reboot if you really want me to.

20mn later:

uranus ~ # emerge -va x11-drivers/ati-drivers
[...]
 * ati-drivers-9.11 requires MSI in the kernel.
 * Please enable it:
 *     CONFIG_PCI_MSI=y

o_O could not say this 20mn ago ?

So, I will have to rebuild the kernel and reboot for every single missing feature ? maybe 10 ? 100 times ? - ouf no, the ebuild contains only 9 conditional sections ... so people having mid range machine where recompile/reboot takes 30mn will only loose a maximum of 4h30 ...

No, i think Gentoo can be more clever, and avoid me rebuilding my kernel and rebooting 20 times just for a single X driver. I really think the ebuild can do all tests in one shot, and then, report in the same report all missing features.
Comment 1 Patrick Lauer gentoo-dev 2010-01-16 10:54:12 UTC
>So, I will have to rebuild the kernel and reboot for every single missing
feature ?

no, it does not check the running kernel. It only checks the kernel source tree in /usr/src/linux.

Also, stop using evil drivers!
Comment 2 DEMAINE Benoît-Pierre, aka DoubleHP 2010-01-16 13:26:20 UTC
(In reply to comment #1)
> Also, stop using evil drivers!

As soon as one the 3 free driver works.
Comment 3 Enrico Tagliavini 2010-11-09 11:57:36 UTC
ati-drivers-10.10 now checks all kernel features at once before failing :)