From: Pasi =?iso-8859-1?Q?K=E4rkk=E4inen?= Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 / dma-api check_unmap() warning Date: Sun, 15 Aug 2010 23:52:16 +0300 Message-ID: <20100815205216.GU2804@reaktio.net> References: <20100806140609.GA3367@phenom.dumpdata.com> <20100815204125.GS2804@reaktio.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline In-Reply-To: <20100815204125.GS2804@reaktio.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Konrad Rzeszutek Wilk Cc: Jeremy Fitzhardinge , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sun, Aug 15, 2010 at 11:41:25PM +0300, Pasi K=E4rkk=E4inen wrote: > On Fri, Aug 06, 2010 at 10:06:09AM -0400, Konrad Rzeszutek Wilk wrote: > >=20 > > Some of them are marked as not for upstream consumption, while some o= f > > the other are OK (and Daniel's is upstream). Those patches from both > > branches make it possible to have Xorg working with the following > > graphics cards on the PVOPS kernel: > >=20 > > RIVA TNT2 Pro > > GeForce 1 256 > > GeForce 4 Ti 4200 > > GeForce 6150 > > GeForce 6200 > > GeForce 7300 > > GeForce 8600 GT > > Radeon R100 QD (7200) > > Radeon RV100QY (7000) > > Radeon HD 3200 > > Radeon HD 3450 > > Radeon RV710 [Radeon HD 4350] > > Radeon ES1000 > > ICH5 82865G > > ICH7 82G33/G31G > > ICH8 82Q963/Q965 > > Matrox G450 > > XGI Z7/Z9 (XG20 core) > >=20 > > Testing was carried out using Fedora Core 13, Fedora Core 11, and Ubu= ntu > > Lucid 10.04 with the PVOPS kernel. > >=20 > > The details are located at http://wiki.xensource.com/xenwiki/XenPVOPS= DRM=20 > > For the NVidia cards I backported the 2.6.34 nouvoua driver in 2.6.32 > > and used that - it is pretty stable and even the experimental Gallium > > drivers (3D) work well. > >=20 >=20 > Hello, >=20 > I just tried the latest 2.6.32.19 kernel from xen/stable-2.6.32.x branc= h, > which now includes the kms.fixes-0.5, on my radeon/supermicro testbox. >=20 > .. And KMS modesetting works properly now in Xen dom0!=20 > My onboard ATI Radeon is the following: >=20 > # lspci -v | grep VGA > 11:04.0 VGA compatible controller: ATI Technologies Inc ES1000 (rev 02)= (prog-if 00 [VGA controller]) >=20 > It seems also X starts OK, and I can use the Gnome desktop.=20 > I could even run multiple OpenGL 3D applications! (ok, glxgears :) >=20 > Thanks, great work! >=20 Hmm, actually it seems I got this in dom0 dmesg: ------------[ cut here ]------------ WARNING: at lib/dma-debug.c:802 check_unmap+0x18f/0x615() Hardware name: X7SB4/E NULL NULL: DMA-API: device driver tries to free DMA memory it has not all= ocated [device address=3D0x000000002eecc000] [size=3D4096 bytes] Modules linked in: ipt_MASQUERADE iptable_nat nf_nat bridge stp llc sunrp= c ip6t_REJECT nf_conntrack_ipv6 ip6table_filter ip6_tables ipv6 xen_gntde= v xen_evtchn xenfs uinput e1000e shpchp iTCO_wdt serio_raw i2c_i801 iTCO_= vendor_support joydev pcspkr floppy usb_storage video aic79xx output scsi= _transport_spi radeon ttm drm_kms_helper drm i2c_algo_bit i2c_core [last = unloaded: scsi_wait_scan] Pid: 15, comm: events/0 Not tainted 2.6.32.19 #1 Call Trace: [] warn_slowpath_common+0x7c/0x94 [] warn_slowpath_fmt+0x41/0x43 [] ? check_unmap+0x100/0x615 [] ? xen_virt_to_bus+0x11/0x13 [] check_unmap+0x18f/0x615 [] ? xen_force_evtchn_callback+0xd/0xf [] ? check_events+0x12/0x20 [] debug_dma_free_coherent+0x6c/0x7a [] ttm_tt_free_alloced_pages+0x129/0x180 [ttm] [] ttm_tt_destroy+0x4d/0x8f [ttm] [] ttm_bo_release_list+0x96/0xd5 [ttm] [] ? ttm_bo_release_list+0x0/0xd5 [ttm] [] kref_put+0x43/0x4d [] ttm_bo_delayed_delete+0xad/0x121 [ttm] [] ttm_bo_delayed_workqueue+0x1f/0x34 [ttm] [] worker_thread+0x257/0x350 [] ? worker_thread+0x1ff/0x350 [] ? ttm_bo_delayed_workqueue+0x0/0x34 [ttm] [] ? autoremove_wake_function+0x0/0x39 [] ? worker_thread+0x0/0x350 [] kthread+0x7f/0x87 [] child_rip+0xa/0x20 [] ? restore_args+0x0/0x30 [] ? child_rip+0x0/0x20 ---[ end trace 84e813abe3a8bd4d ]--- fuse init (API version 7.13) end_request: I/O error, dev fd0, sector 0 end_request: I/O error, dev fd0, sector 0 DMA-API: debugging out of memory - disabling The system is up-to-date Fedora 13, with xen/stable-2.6.32.x dom0 kernel. Not fatal, things still seem to work.. -- Pasi