here's an update:

the "Warning: Driver (radeon) successfully added to system but failed to 
attach" was because silly me didn't reboot the machine (thanks to minskey for 
the tip), after rebooting, there's a valid entry in /dev/dri/card0, pointing to 
the correct devfs device like this:

card0 -> ../../devices/pci at 0,0/pci8086,1a31 at 1/display at 0:drm0

And X is attempting to load the radeon module as well, but fails with:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 9, (OK)
drmOpenByBusid: drmOpenMinor returns 9
drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created "radeon" driver at busid "pci:0000:01:00.0"
(II) RADEON(0): [drm] added 8192 byte SAREA at dbb05000
(II) RADEON(0): [drm] mapped SAREA dbb05000 to 0
(II) RADEON(0): [drm] framebuffer handle = e2c1d000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(WW) RADEON(0): [agp] AGP not available
(EE) RADEON(0): [agp] AGP failed to initialize. Disabling the DRI.
(II) RADEON(0): [agp] You may want to make sure the agpgart kernel module
is loaded before the radeon kernel module.
(II) RADEON(0): [drm] removed 1 reserved context for kernel
(II) RADEON(0): [drm] unmapping 8192 bytes of SAREA dbb05000 at 0

checking the modinfo:

 92 f9df4000  190d0  92   1  radeon (radeon DRM driver)
 93 f9e09000   7cbc   -   1  drm (DRM common interfaces %I%)
 94 f9e11000   1234   -   1  agpmaster (AGP master interfaces)
165 fa196000   4b24 109   1  agpgart (AGP driver)

So, the problem seems to be the order in which modules are loaded, after 
googling for a few days, i turned up absolutely nothing useful on the subject 
of how to make some modules load before the others.

i've tried "forceload: drv/agpgart" in /etc/system, but it didn't help.

coming from penguin boxes, i know of a very nice /etc/modules.conf, where it's 
possible to manually specify which modules to load when and in what order. Does 
anybody know how to do the same on opensolaris ?
-- 
This message posted from opensolaris.org

Reply via email to