mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* 2.4.22-rc1 breaks dri in X-4.3.0
@ 2003-08-07 20:01 Ken Moffat
  2003-08-07 20:08 ` Marcelo Tosatti
  2003-08-07 20:15 ` Marc-Christian Petersen
  0 siblings, 2 replies; 6+ messages in thread
From: Ken Moffat @ 2003-08-07 20:01 UTC (permalink / raw)
  To: marcelo; +Cc: linux-kernel

 Apologies if this is a known bug, I'm slightly lost following the list,
and the only bug I can see mentioned seems to be in Alan's tree.

 I've just built 2.4.22-rc1 for my PIII (via chipset, radeon 7500), and
rebuilt radeon.o from the X 4.3 release.  This combination worked with
2.4.22-pre7 (although with occasional X lock-ups).

 In X's log I can see that the radeon module fails to open
/dev/dri/card0 (no such device) and therefore the module load fails.

 From dmesg I can see that agpgart detects the chipset and reports the
aperture,  but there are zero [drm] messages following.

My .config shows

CONFIG_DRM=y
CONFIG_DRM_NEW=y
CONFIG_DRM_RADEON=m

Ken
-- 
 Peace, love, linux




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.22-rc1 breaks dri in X-4.3.0
  2003-08-07 20:01 2.4.22-rc1 breaks dri in X-4.3.0 Ken Moffat
@ 2003-08-07 20:08 ` Marcelo Tosatti
  2003-08-07 20:15   ` Marc-Christian Petersen
  2003-08-07 21:22   ` Ken Moffat
  2003-08-07 20:15 ` Marc-Christian Petersen
  1 sibling, 2 replies; 6+ messages in thread
From: Marcelo Tosatti @ 2003-08-07 20:08 UTC (permalink / raw)
  To: Ken Moffat; +Cc: linux-kernel



On Thu, 7 Aug 2003, Ken Moffat wrote:

>  Apologies if this is a known bug, I'm slightly lost following the list,
> and the only bug I can see mentioned seems to be in Alan's tree.
> 
>  I've just built 2.4.22-rc1 for my PIII (via chipset, radeon 7500), and
> rebuilt radeon.o from the X 4.3 release.  This combination worked with
> 2.4.22-pre7 (although with occasional X lock-ups).
> 
>  In X's log I can see that the radeon module fails to open
> /dev/dri/card0 (no such device) and therefore the module load fails.
> 
>  From dmesg I can see that agpgart detects the chipset and reports the
> aperture,  but there are zero [drm] messages following.

Does the DRM module get loaded?

Whats the output of insmod drm.o ? 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.22-rc1 breaks dri in X-4.3.0
  2003-08-07 20:01 2.4.22-rc1 breaks dri in X-4.3.0 Ken Moffat
  2003-08-07 20:08 ` Marcelo Tosatti
@ 2003-08-07 20:15 ` Marc-Christian Petersen
  2003-08-07 21:31   ` Ken Moffat
  1 sibling, 1 reply; 6+ messages in thread
From: Marc-Christian Petersen @ 2003-08-07 20:15 UTC (permalink / raw)
  To: Ken Moffat, marcelo; +Cc: linux-kernel

On Thursday 07 August 2003 22:01, Ken Moffat wrote:

Hi Ken,

>  I've just built 2.4.22-rc1 for my PIII (via chipset, radeon 7500), and
> rebuilt radeon.o from the X 4.3 release.  This combination worked with
> 2.4.22-pre7 (although with occasional X lock-ups).

could you please try the DRI sources from XFree cvs repo and see if it makes 
any difference? (I'll bet it will)

>  In X's log I can see that the radeon module fails to open
> /dev/dri/card0 (no such device) and therefore the module load fails.

Sounds like radeon.i isn't loaded.

>  From dmesg I can see that agpgart detects the chipset and reports the
> aperture,  but there are zero [drm] messages following.
> My .config shows
> CONFIG_DRM=y
> CONFIG_DRM_NEW=y
> CONFIG_DRM_RADEON=m

do you have radeon.o loaded? "lsmod|grep radeon"

What does dmesg say if it should autoloads the module when you start X? 
(assuming you have autoload support enabled)

ciao, Marc



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.22-rc1 breaks dri in X-4.3.0
  2003-08-07 20:08 ` Marcelo Tosatti
@ 2003-08-07 20:15   ` Marc-Christian Petersen
  2003-08-07 21:22   ` Ken Moffat
  1 sibling, 0 replies; 6+ messages in thread
From: Marc-Christian Petersen @ 2003-08-07 20:15 UTC (permalink / raw)
  To: Marcelo Tosatti, Ken Moffat; +Cc: linux-kernel

On Thursday 07 August 2003 22:08, Marcelo Tosatti wrote:

Hi Marcelo,

> Does the DRM module get loaded?
> Whats the output of insmod drm.o ?

drm.o? I think you mean radeon.o ;)

ciao, Marc


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.22-rc1 breaks dri in X-4.3.0
  2003-08-07 20:08 ` Marcelo Tosatti
  2003-08-07 20:15   ` Marc-Christian Petersen
@ 2003-08-07 21:22   ` Ken Moffat
  1 sibling, 0 replies; 6+ messages in thread
From: Ken Moffat @ 2003-08-07 21:22 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

On Thu, 7 Aug 2003, Marcelo Tosatti wrote:

>
>
> On Thu, 7 Aug 2003, Ken Moffat wrote:
>
> >  Apologies if this is a known bug, I'm slightly lost following the list,
> > and the only bug I can see mentioned seems to be in Alan's tree.
> >
> >  I've just built 2.4.22-rc1 for my PIII (via chipset, radeon 7500), and
> > rebuilt radeon.o from the X 4.3 release.  This combination worked with
> > 2.4.22-pre7 (although with occasional X lock-ups).
> >
> >  In X's log I can see that the radeon module fails to open
> > /dev/dri/card0 (no such device) and therefore the module load fails.
> >
> >  From dmesg I can see that agpgart detects the chipset and reports the
> > aperture,  but there are zero [drm] messages following.
>
> Does the DRM module get loaded?
>
> Whats the output of insmod drm.o ?
>

 drm is built in, only radeon.o is a module.  Bizarrely (I rebooted
before the original mail, in case something was hanging on to a file and
stopping it loading), this time it loads.

insmod radeon now gives me
[drm] AGP 0.99 aperture @ 0xe8000000 64MB
[drm] Initialized radeon 1.7.0 20020828 on minor 0

It looks as if I had a problem with depmod, insmod was failing until I
reran depmod -a, and yet that is at the end of my script for rebuilding
the X modules.  Sorry this turns out to be a bogus report.

Ken
-- 
 I never wanted to be a tester.  I wanted to be a lumberjack...




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.22-rc1 breaks dri in X-4.3.0
  2003-08-07 20:15 ` Marc-Christian Petersen
@ 2003-08-07 21:31   ` Ken Moffat
  0 siblings, 0 replies; 6+ messages in thread
From: Ken Moffat @ 2003-08-07 21:31 UTC (permalink / raw)
  To: Marc-Christian Petersen; +Cc: linux-kernel

On Thu, 7 Aug 2003, Marc-Christian Petersen wrote:

>
> do you have radeon.o loaded? "lsmod|grep radeon"
>
> What does dmesg say if it should autoloads the module when you start X?
> (assuming you have autoload support enabled)
>
 Looks as if it was some sort of error on my part, it's now running
nicely.  I had to [re] run depmod -a.  After a further reboot to prove
this has fixed it, radeon.o is definitely being autoloaded in startx.

Thanks anyway.

Ken
-- 





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-08-07 21:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-07 20:01 2.4.22-rc1 breaks dri in X-4.3.0 Ken Moffat
2003-08-07 20:08 ` Marcelo Tosatti
2003-08-07 20:15   ` Marc-Christian Petersen
2003-08-07 21:22   ` Ken Moffat
2003-08-07 20:15 ` Marc-Christian Petersen
2003-08-07 21:31   ` Ken Moffat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®