On Sun, 2 Jun 2002, Chris Ricker wrote: >Date: Sun, 2 Jun 2002 22:10:09 -0600 (MDT) >From: Chris Ricker <kaboom@gatech.edu> >To: xfree86-list@redhat.com >Content-Type: TEXT/PLAIN; charset=US-ASCII >List-Id: Red Hat XFree86 list <xfree86-list.redhat.com> >Subject: Re: Kernel DRM Woes > >On Sun, 2 Jun 2002, Michal Jaegermann wrote: > >> On Sun, Jun 02, 2002 at 10:57:34PM -0400, Gregory S. Hayes wrote: >> > >> > I thought do too, but kernel-2.4.18-4 (latest up2date)does not include a >> > /lib/modules/2.4.18-4/kernel/drivers/char/drm directory. :( >> >> Eh??? Something is definitely funny. Did you try 'rpm -V kernel'? >> >> $ ls -l /lib/modules/2.4.18-4/kernel/drivers/char/drm/ >> total 626 >> -rw-r--r-- 1 root root 87826 May 2 16:28 i810.o >> -rw-r--r-- 1 root root 86418 May 2 16:28 i830.o >> -rw-r--r-- 1 root root 122188 May 2 16:28 mga.o >> -rw-r--r-- 1 root root 111066 May 2 16:28 r128.o >> -rw-r--r-- 1 root root 113963 May 2 16:28 radeon.o >> -rw-r--r-- 1 root root 61879 May 2 16:28 sis.o >> -rw-r--r-- 1 root root 46458 May 2 16:28 tdfx.o >> $ rpm -q --provides kernel >> module-info >> kernel = 2.4.18 >> kernel-drm = 4.1.0 >> kernel-drm = 4.2.0 >> kernel = 2.4.18-4 > >It depends which CPU your kernel was compiled for. The .i386.rpm kernel >does not have DRM, while the .i686.rpm and .athlon.rpm (and all kernel-smp >rpms) do have DRM. > >For example, > >[kaboom@hanuman RPMS]$ rpm -qilp kernel-2.4.18-3.i386.rpm | grep drm >[kaboom@hanuman RPMS]$ rpm -qilp kernel-2.4.18-3.i686.rpm | grep drm >/lib/modules/2.4.18-3/kernel/drivers/char/drm >/lib/modules/2.4.18-3/kernel/drivers/char/drm/i810.o >/lib/modules/2.4.18-3/kernel/drivers/char/drm/i830.o >/lib/modules/2.4.18-3/kernel/drivers/char/drm/mga.o >/lib/modules/2.4.18-3/kernel/drivers/char/drm/r128.o >/lib/modules/2.4.18-3/kernel/drivers/char/drm/radeon.o >/lib/modules/2.4.18-3/kernel/drivers/char/drm/sis.o >/lib/modules/2.4.18-3/kernel/drivers/char/drm/tdfx.o >[kaboom@hanuman RPMS]$ DRM only works on processors that have cmpxchg8 which precludes i486 and earlier. So kernels built for i386/i486 wont work with DRM. It'd be nice if the DRM code would still compile properly and do runtime detection however. Those running K5/K6 need to use the i586 kernel to get DRM. It'd be nice if all the kernels had DRM, but there were disk space constraints on including new kernel packages, and other issues I don't recall. -- Mike A. Harris Shipping/mailing address: OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie, XFree86 maintainer Ontario, Canada, P6C 5B3 Red Hat Inc. http://www.redhat.com ftp://people.redhat.com/mharris