Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#6729 - savage dri driver not updated in kernel package

Attached to Project: Arch Linux
Opened by Matteo (vanel86) - Wednesday, 28 March 2007, 17:23 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To No-one
Architecture i686
Severity High
Priority Normal
Reported Version 0.7.2 Gimmick
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

every time pacman does a kernel update, I must do a manual update to the dri driver for my video adapter(savage.ko) and to the dri module to get direct rendering

this is an issue present from 2.6.18 kernel

my walkaround to this issue is to:

git clone git://anongit.freedesktop.org/git/mesa/drm

cd drm/linux-core

make drm_modules="savage"

mv /lib/modules/KERNEL DIRECTORY/kernel/drivers/char/drm/savage.ko /lib/modules/KERNEL DIRECTORY/kernel/drivers/char/drm/savage.old

mv /lib/modules/KERNEL DIRECTORY/kernel/drivers/char/drm/dri.ko /lib/modules/KERNEL DIRECTORY/kernel/drivers/char/drm/dri.old

cp savage.ko /lib/modules/KERNEL DIRECTORY/kernel/drivers/char/drm/savage.ko

cp dri.ko /lib/modules/KERNEL DIRECTORY/kernel/drivers/char/drm/dri.ko

sudo (if not root) depmod -a

my hardware is an ibm thinkpad t23 with the 1024*768 panel, sorry for the bad english
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Tuesday, 03 April 2007, 04:57 GMT
Reason for closing:  Not a bug
Comment by Matteo (vanel86) - Wednesday, 28 March 2007, 17:27 GMT
i have done a typo in my bug report, the second file is drm.ko instead of dri.ko, sorry :-p
Comment by Jan de Groot (JGC) - Wednesday, 28 March 2007, 17:54 GMT
Try using the NoUpgrade options in pacman.conf. We can't support things you do to your system by hand. About the outdated DRI modules for savage: if it was stable, the kernel devs would have included it by default with 2.6.20. There's also some new intel module with new texture management, it's broken in many ways at this moment, the kernel doesn't include that either.
Comment by Matteo (vanel86) - Thursday, 29 March 2007, 09:39 GMT
in the standard vanilla archlinux installation, i couldn't get the savage driver with the kernel to have direct rendering without the steps in the bug report, and noupgrading the kernel is not an option for me. If it can't be helped, i will do it again every time, i wanted only to be sure that the savage dri/drm modules weren't an external component but an integral part of the kernel. But why installing the xorg savage drivers package doesn't check for an updated version of those files? The file i get from the git are not experimental at all, looking at the kernel package drm modules they are very old and they calls for functions removed from long time from the libdrm. Perhaps the savage driver population has perferred to trash their cards(most likely) than use them, the only place that stated and solved the problem is a very old bug report from debian.
Comment by Jan de Groot (JGC) - Thursday, 29 March 2007, 16:28 GMT
From man pacman:
NoUpgrade = file ...
All files listed with a NoUpgrade directive will never be
touched during a package install/upgrade. Do not include the
leading slash when specifying files.

Which means you can just add drm.ko and your savage DRI drivers to NoUpgrade and pacman will stay away from it. The kernel will get upgraded everytime there's a new package, but the file will get skipped. You only have to worry about major kernel upgrades then (which is every 3 months or so)
Comment by Matteo (vanel86) - Thursday, 29 March 2007, 17:09 GMT
Ok thanks, if it is something like that you can close the task, i didn't check the pacman man pages to limit this issue before.

Loading...