Bug 21462 - mach64_do_dma_init *ERROR*
Summary: mach64_do_dma_init *ERROR*
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:
Depends on:
Reported: 2009-04-28 06:55 UTC by Dario
Modified: 2019-10-14 13:20 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Description Dario 2009-04-28 06:55:07 UTC
Hi, i'm using mach64 drm driver from git (not in kernel source)
on an old sony vaio pcg-fx80.
My debian testing run fine until kernel
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.
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
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 

The problem seems related to irq management (?).

Hope this help.
Comment 3 Martin Peres 2019-10-14 13:20:14 UTC

Freedesktop's Bugzilla instance is EOLed and open bugs are about to be migrated to http://gitlab.freedesktop.org.

To avoid migrating out of date bugs, I am now closing all the bugs that did not see any activity in the past year. If the issue is still happening, please create a new bug in the relevant project at https://gitlab.freedesktop.org/drm (use misc by default).

Sorry about the noise!

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.