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

iBook2 with 2.4.20-rc1 kernel doesn't use radeonfb?



[I also emailed this message to Mij, but maybe someone on the lists could 
also help?  Running debian unstable.]

I've been following the instructions on your [Mij's] website
[ http://www.oltrelinux.com/ibook/step_step/ ] for getting a working X
server on an iBook2 (thank you so much, by the way, for writing such a
valuable resource!)  Unfortunately I can't get X to start using the
framebuffer.  The problem is that my kernel does not seem to execute the
radeonfb code, even though it is compiled in (CONFIG_FB_RADEON=y). (When I
comment out the "UseFBDev" option in XF86Config-4, X starts, produces a
purple screen and then the system freezes.)

Software versions are:	kernel = 2.4.20-rc1-ben0
			X = xserver-xfree86-dri-trunk 2002.10.02-2
			DRI = drm-trunk-module-src 2002.10.02-1

Hardware is ATI Technologies Inc Radeon Mobility M6 LY (rev 0) [from
/proc/pci].  Both agpgart and radeon (from the DRM modules) are listed in
the output of lsmod.

I cannot find any references to "kernel: radeonfb:" in the system logs,
and the X server dies immediately with the following at the end of
/var/log/XFree86.0.log:

(II) Loading /usr/X11R6/lib/modules-dri-trunk/linux/libfbdevhw.a
(II) Module fbdevhw: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.0.2
        ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "ati"
(II) UnloadModule: "fbdevhw"
(II) Unloading /usr/X11R6/lib/modules-dri-trunk/linux/libfbdevhw.a
(II) UnloadModule: "vgahw"
(II) Unloading /usr/X11R6/lib/modules-dri-trunk/libvgahw.a
(II) UnloadModule: "radeon"
(EE) Screen(s) found, but none have a usable configuration.

I have devfs compiled into the kernel, with devfsd running.  Looking at 
the output of "strace X" shows the following when X loads the fbdevhw 
module:

write(0, "Module fbdevhw: vendor=\"The XFre"..., 45) = 45
write(0, "\tcompiled for 4.2.0", 19)    = 19
write(0, ", module version = 0.0.2\n", 25) = 25
write(0, "\tABI class: XFree86 Video Driver"..., 46) = 46
open("/dev/fb0", O_RDWR)                = 7
ioctl(7, 0x4602, 0x7ffff1c8)            = 0

[shouldn't something more happen here??]

close(7)                                = 0
open("/dev/fb1", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/fb2", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/fb3", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/fb4", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/fb5", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/fb6", O_RDWR)                = -1 ENOENT (No such file or directory)
open("/dev/fb7", O_RDWR)                = -1 ENOENT (No such file or directory)
write(0, "(II) ", 5)                    = 5
write(0, "UnloadModule: \"ati\"\n", 20) = 20
[etc.]

Please let me know if it would help for me to send the complete strace
log, XFree86.0.log, XF86Config-4, or /boot/config-2.4.20-rc1-ben0 files.
Thank you very much in advance for any time you can spend helping me.

-- 
Kevin McCarty                Physics Department
kmccarty@princeton.edu       Princeton University
www.princeton.edu/~kmccarty  Princeton, NJ 08544




Reply to: