[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#369167: DRI probably broken: where to reportbug



On Tue, May 30, 2006 at 08:32:32AM +0200, Michel Dänzer wrote:
> On Tue, 2006-05-30 at 01:57 +0200, Wolfgang Pfeiffer wrote:
> > On Mon, May 29, 2006 at 09:53:39AM +0200, Michel Dänzer wrote:
> > 
> > > Does any of the following make a difference?
> > > 
> > >       * Commenting out Option "AGPMode", "EnablePageFlip" or
> > >         "BackingStore".
> > >       * Not loading the "ddc", "int10", "vbe" and "v4l" modules in
> > >         Section "Module".
> > 
> > After commenting *everything* you mentioned above and enabling the
> > DRI load, a '/etc/init.d/kdm start' crashes the system:
> 
> Hmm, then it's not likely a configuration issue. Would be great if you
> could try with the DRM from DRI CVS, see
> 
> http://dri.freedesktop.org/wiki/Building#head-59338b545aa94fe7570b689a9f9f850f53f732ca
> http://dri.freedesktop.org/wiki/Building#head-d3dcc7d83ae38d3b36f7f23ddcd4f5268396b2b4

Does not build:

$ pwd
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core

$ MAKEFLAGS="CC=gcc-4.1" make

        [ ... ]

+ ln -s ../shared-core/savage_state.c savage_state.c
+ ln -s ../shared-core/nv_drv.h nv_drv.h
sh ../scripts/create_linux_pci_lists.sh < ../shared-core/drm_pciids.txt
rm -f linux
ln -s . linux
make -C /lib/modules/2.6.17-rc3-gf358166a-dirty/source  SUBDIRS=`pwd` DRMSRCDIR=
`pwd` modules
make[1]: Entering directory `/home/shorty/kernel-factory/git/linux-2.6'
  CC [M]  /home/shorty/kernel-factory/git/modules/drm/drm/linux-core/drm_auth.o

                  [ .. ]

-----------------------------------------

So it seems make found the correct modules directory I want to have
the drm being built for, that is
'/lib/modules/2.6.17-rc3-gf358166a-dirty/'


$ uname -a
Linux debby1-6 2.6.17-rc3-gf358166a-dirty #1 Fri May 12 01:13:36 CEST 2006 ppc GNU/Linux

/home/shorty/kernel-factory/git/linux-2.6 is the directory with the
non-cleaned kernel source tree for my running kernel ..


------------------------------------------

The end:

  CC [M]  /home/shorty/kernel-factory/git/modules/drm/drm/linux-core/r300_cmdbuf
.o
  CC [M]  /home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_drv.
o
  CC [M]  /home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.
o
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c: In func
tion 'savage_driver_firstopen':
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c:586: war
ning: implicit declaration of function 'drm_mtrr_add'
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c:587: err
or: 'DRM_MTRR_WC' undeclared (first use in this function)
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c:587: err
or: (Each undeclared identifier is reported only once
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c:587: err
or: for each function it appears in.)
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c: In func
tion 'savage_driver_lastclose':
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c:662: war
ning: implicit declaration of function 'drm_mtrr_del'
/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_bci.c:664: err
or: 'DRM_MTRR_WC' undeclared (first use in this function)
make[2]: *** [/home/shorty/kernel-factory/git/modules/drm/drm/linux-core/savage_
bci.o] Error 1
make[1]: *** [_module_/home/shorty/kernel-factory/git/modules/drm/drm/linux-core
] Error 2
make[1]: Leaving directory `/home/shorty/kernel-factory/git/linux-2.6'
make: *** [modules] Error 2

------------

Hints?

Best Regards
Wolfgang


-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on



Reply to: