On 25 November 2012 06:11, Anton Shterenlikht <me...@bristol.ac.uk> wrote: > From ill...@gmail.com Sat Nov 24 16:09:29 2012 > > On 22 November 2012 06:19, Anton Shterenlikht <me...@bristol.ac.uk> > wrote: > >> It is not clear for me from the agp(4) man page, > >> whether I need this device in the kernel or not. ... > >> hostb4@pci0:0:24:3: class=0x060000 card=0x00000000 > chip=0x11031022 rev=0x00 hdr=0x00 > >> vendor = 'Advanced Micro Devices [AMD]' > >> device = 'K8 [Athlon64/Opteron] Miscellaneous Control' > >> class = bridge > >> subclass = HOST-PCI > >> vgapci0@pci0:1:5:0: class=0x030000 card=0x30c2103c > chip=0x791f1002 rev=0x00 hdr=0x00 > >> vendor = 'Advanced Micro Devices [AMD] nee ATI' > >> device = 'RS690M [Radeon X1200 Series]' > >> class = display > >> subclass = VGA > >> bge0@pci0:16:0:0: class=0x020000 card=0x30c2103c > chip=0x171314e4 rev=0x02 hdr=0x00 > >> vendor = 'Broadcom Corporation' > >> device = 'NetLink BCM5906M Fast Ethernet PCI Express' > >> class = network > >> subclass = ethernet > >> siba_bwn0@pci0:48:0:0: class=0x028000 card=0x1371103c > chip=0x431214e4 rev=0x02 hdr=0x00 > >> vendor = 'Broadcom Corporation' > >> device = 'BCM4311 802.11a/b/g' > >> class = network > >> cbb0@pci0:2:4:0: class=0x060700 card=0x30c2103c > chip=0x04761180 rev=0xb6 hdr=0x02 > >> vendor = 'Ricoh Co Ltd' > >> device = 'RL5c476 II' > >> class = bridge > >> subclass = PCI-CardBus > > > > You bring up a good point. Your laptop is almost the same as mine, > > & the graphics chip is connected via PCI Express. > > I should see if it builds & runs without agp. > > > > Looks like drm requires agp for the kernel to link correctly. > Oh well. > > ... > drm_agpsupport.o: In function `drm_agp_free_memory': > /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xcba): > undefined reference to `agp_fi > nd_device' > /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xcd4): > undefined reference to `agp_fr > ee_memory' > drm_agpsupport.o: In function `drm_agp_init': > /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xdb8): > undefined reference to `agp_fi > nd_device' > /home/svn/9.1/src/sys/dev/drm/drm_agpsupport.c:(.text+0xe2f): > undefined reference to `agp_ge > t_info' > *** [kernel] Error code 1 > ... > > ok, I get it. I think I built drm and agp > together, hence I haven't encountered this > error. > > Do you use radeon video driver? > Do you use radeondrm device in kernel? > This only place I see this is in > src/sys/amd64/conf/NOTES. > My understanding is that to get drm > working with the radeon driver, I need > to add radeondrm to the kernel, but again, > I'm not sure.
Yes, I use the radeon driver in xorg, & I have radeondrm in kernel. I don't think you need to build it in, as loading the module should work, I just got in the habit a while back & can't seem to quit now. -- -- _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"