Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: amd64 - Kernel build failure for radeondrm
On Wed, 15 Apr 2009, Paul Goyette wrote:
I added the following line to my config file
radeondrm0 at vga0
From reading the drm(4) man page, there doesn't seem to be anything else
required.
However, compiling the resulting kernel gives the following errors. I'm
particularly curious about the apparent references to *_agp_* routines, since
my only vga? is PCI-Express... :)
# link QUICKY/netbsd
/build/netbsd-local/tools/x86_64/amd64/bin/x86_64--netbsd-ld -Map netbsd.map
--cref -T /build/netbsd-local/src/sys/arch/amd64/conf/kern.ldscript -Ttext
0xffffffff80100000 -e start -X -o netbsd ${SYSTEM_OBJ} ${EXTRA_OBJ} vers.o
ati_pcigart.o: In function `drm_ati_pcigart_init':
/build/netbsd-local/src/sys/dev/pci/drm/ati_pcigart.c:102: undefined
reference to `agp_flush_cache'
drm_agpsupport.o: In function `drm_agp_unbind_memory':
/build/netbsd-local/src/sys/dev/drm/drm_agpsupport.c:444: undefined reference
to `agp_find_device'
drm_agpsupport.o: In function `drm_agp_bind_memory':
/build/netbsd-local/src/sys/dev/drm/drm_agpsupport.c:429: undefined reference
to `agp_find_device'
<snip>
Hmmm, looking at the source code, it appears that I need to also add
options DRM_NO_AGP
in the kernel config file. Too bad this isn't mentioned in the drm(4)
man page.
BTW, it also appears that there is an
options DRM_NO_MTRR
available.
-------------------------------------------------------------------------
| Paul Goyette | PGP DSS Key fingerprint: | E-mail addresses: |
| Customer Service | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette at juniper.net |
| Kernel Developer | | pgoyette at netbsd.org |
-------------------------------------------------------------------------
Home |
Main Index |
Thread Index |
Old Index