Bug 21462

Summary: mach64_do_dma_init *ERROR*
Product: DRI Reporter: Dario <wallace76>
Component: DRM/otherAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED INVALID QA Contact:
Severity: blocker    
Priority: medium CC: wallace76
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
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)
    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.
Comment 3 Martin Peres 2019-10-14 13:20:14 UTC
Hi,

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.