On Wednesday 13 November 2002 10:23, you wrote:
> Harri Pasanen wrote:
> > So what is the actual difference between the failsafe and the
> > normal boot methods?  I tried editing inittab to have the default
> > runlevel to be 3, and then typing startx, but that also froze X.
>
> Failsafe does not use devfs. But should be that the problem?
>
> Try to change the normal boot entry in lilo.conf to contain
> ("append") "devfs=nomount".
>
> When X works after a reboot normally, then there are some strage
> interactions with devfs.
>

It was devfs, I tried to initialize dri, and I guess with no devfs the 
/dev/dri entry was missing:

drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)

and that saved me from crashing.

Turns out that the /lib/modules/2.4.19-16mdk/kernel/drivers/char/drm/ 
stuff is part of the kernel rpm, although it is built as part of 
XFree86.   This makes uncoupling X upgrade from kernel version harder, 
at least if drm is used.

Wanting to turn on dri, I compiled the kernel drm modules in XFree86, 
and installed those by hand.   Now I still don't have it working for 
some reason, it still fails with:

(==) RADEON(0): Write-combining range (0xe0000000,0x4000000)
(WW) RADEON(0): Cannot read colourmap from VGA.  Will restore with 
default
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
[drm] failed to load kernel module "radeon"
(II) RADEON(0): [drm] drmOpen failed
(EE) RADEON(0): [dri] DRIScreenInit failed.  Disabling DRI.

But now I can at least boot with devfs=mount.
So I don't have 3d acceleration, but everything in 2d seems OK.

Another small problem I have, is that after reboot going to kdm, the 
keyboard is dead, or dies after about 10 keystrokes.   Selecting from 
the KDM menu Restart-X with the mouse cures this - afterwards the 
keyboard works fine without any problems.

Btw. is it so that dri is imported/merged to XFree86 sources on regular 
intervals?  Would I be better of going directly to DRI CVS and building 
from there?

Now it seems I'm rather close at having a working Mandrake 9.0 XFree86 
rpm that groks ATI clones.  Any hints appreciated on what are the 
missing peaces in getting the 3D and the keyboard fully working are 
appreciated.

-Harri








Reply via email to