Bug 21462 - mach64_do_dma_init *ERROR*
Summary: mach64_do_dma_init *ERROR*
Status: NEW
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/other (show other bugs)
Version: unspecified
Hardware: x86 (IA32) Linux (All)
: medium blocker
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-28 06:55 UTC by Dario
Modified: 2009-07-06 08:22 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dario 2009-04-28 06:55:07 UTC
Hi, i'm using mach64 drm driver from git (not in kernel source)
    git://anongit.freedesktop.org/git/mesa/drm
on an old sony vaio pcg-fx80.
My debian testing run fine until kernel 2.6.28.7
Start using new 2.6.29 kernel (tryied also .1 and .2) drm doesn't work.

modprobing the driver get no problem. From syslog:
  kernel: [drm] Initialized drm 1.1.0 20060810
  kernel: [drm] Initialized mach64 2.0.0 20060718 on minor 0
  kernel: [drm] Used old pci detect: framebuffer loaded

But, starting X
  kernel: mtrr: no MTRR for e9000000,800000 found
  ... ....
  [drm:mach64_do_dma_init] *ERROR* can not ioremap virtual address for descriptor ring

ok... mtrr was wrong, correct this...
   echo "disable=1" |> /proc/mtrr
   echo "base=0x0e9000000 size= .... ... ......

the problem of mtrr is solved, but the 'ioremap' persist.
Booting with nopat option 'solve' this but KDE freeze before login and nothing work again.

Ask for any other info.
thanks
Comment 1 Dario 2009-06-05 06:49:37 UTC
Updating to KDE 4.2 and booting with kernel param 'nopat' seem to work... DRI enabled and desktop working...
Comment 2 Dario 2009-07-06 08:22:05 UTC
(In reply to comment #1)
> Updating to KDE 4.2 and booting with kernel param 'nopat' seem to work... DRI
> enabled and desktop working...
> 

No way... all works fine only applying the 'patch' described here
-------------------------------------------------------
http://www.nabble.com/mach64-kernel-modules-for-2.6.26-kernel-td22668419i20.html
Solution: mach64 kernel modules for 2.6.26 kernel
by Davicillo Uno May 14, 2009;
-------------------------------------------------------

(now kernel 2.6.30)

This patch mod the file 
    drm/linux-core/mach64_irq.c
or
    drm/linux-core/drm_irq.c

The problem seems related to irq management (?).

Hope this help.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.