From: Boris Derzhavets Subject: Re: [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650] Date: Tue, 17 Aug 2010 11:27:08 -0700 (PDT) Message-ID: <366971.35716.qm@web56102.mail.re3.yahoo.com> References: <303741.28901.qm@web56107.mail.re3.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0502977905==" Return-path: In-Reply-To: <303741.28901.qm@web56107.mail.re3.yahoo.com> 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: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0502977905== Content-Type: multipart/alternative; boundary="0-974991126-1282069628=:35716" --0-974991126-1282069628=:35716 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Complete=A0 dmesg report contains entries :- ------------[ cut here ]------------ WARNING: at lib/list_debug.c:30 __list_add+0x68/0x81() Hardware name: System Product Name list_add corruption. prev->next should be next (ffff8801e7d9dda0), but was = ffff88017ea4f730. (prev=3Dffff88017ea4f730). Modules linked in: nls_utf8 xt_physdev ppdev ip6table_filter ip6_tables ipt= _MASQUERADE iptable_nat nf_nat ipv6 snd_hda_codec_atihdmi snd_hda_codec_rea= ltek snd_hda_intel snd_hda_codec snd_pcm_oss snd_hwdep snd_mixer_oss snd_se= q_dummy snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event rad= eon snd_seq snd_timer ttm drm_kms_helper snd_seq_device drm i2c_algo_bit sn= d soundcore snd_page_alloc lp asus_atk0110 parport ata_generic pata_acpi pa= ta_jmicron r8169 mii floppy Pid: 3813, comm: Xorg Not tainted 2.6.32.19-xen #3 Call Trace: =A0[] warn_slowpath_common+0x77/0x8f =A0[] warn_slowpath_fmt+0x3c/0x3e =A0[] ? ttm_buffer_object_init+0x333/0x35c [ttm] =A0[] __list_add+0x68/0x81 =A0[] radeon_object_create+0x1cd/0x1e2 [radeon] =A0[] ? radeon_ttm_object_object_destroy+0x0/0x48 [radeon= ] =A0[] radeon_gem_object_create+0x8b/0xf9 [radeon] =A0[] ? __wake_up+0x3f/0x48 =A0[] ? radeon_gem_create_ioctl+0x0/0xda [radeon] =A0[] radeon_gem_create_ioctl+0x55/0xda [radeon] =A0[] ? avc_has_perm+0x57/0x69 =A0[] drm_ioctl+0x232/0x2ef [drm] =A0[] ? __spin_time_accum+0x21/0x37 =A0[] ? __xen_spin_lock+0xb7/0xcd =A0[] vfs_ioctl+0x6a/0x82 =A0[] do_vfs_ioctl+0x47d/0x4c3 =A0[] sys_ioctl+0x51/0x74 =A0[] ? sys_read+0x5c/0x69 =A0[] system_call_fastpath+0x16/0x1b ---[ end trace 5cb030d3ba77eb47 ]--- ------------[ cut here ]------------ WARNING: at lib/list_debug.c:30 __list_add+0x68/0x81() Hardware name: System Product Name list_add corruption. prev->next should be next (ffff8801e7d9dda0), but was = ffff88017ea49330. (prev=3Dffff88017ea4f730). Modules linked in: nls_utf8 xt_physdev ppdev ip6table_filter ip6_tables ipt= _MASQUERADE iptable_nat nf_nat ipv6 snd_hda_codec_atihdmi snd_hda_codec_rea= ltek snd_hda_intel snd_hda_codec snd_pcm_oss snd_hwdep snd_mixer_oss snd_se= q_dummy snd_pcm snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event rad= eon snd_seq snd_timer ttm drm_kms_helper snd_seq_device drm i2c_algo_bit sn= d soundcore snd_page_alloc lp asus_atk0110 parport ata_generic pata_acpi pa= ta_jmicron r8169 mii floppy Pid: 3813, comm: Xorg Tainted: G=A0=A0=A0=A0=A0=A0=A0 W=A0 2.6.32.19-xen #3 Call Trace: =A0[] warn_slowpath_common+0x77/0x8f =A0[] warn_slowpath_fmt+0x3c/0x3e =A0[] ? ttm_buffer_object_init+0x333/0x35c [ttm] =A0[] __list_add+0x68/0x81 =A0[] radeon_object_create+0x1cd/0x1e2 [radeon] =A0[] ? radeon_ttm_object_object_destroy+0x0/0x48 [radeon= ] =A0[] radeon_gem_object_create+0x8b/0xf9 [radeon] =A0[] ? __wake_up+0x3f/0x48 =A0[] ? radeon_gem_create_ioctl+0x0/0xda [radeon] =A0[] radeon_gem_create_ioctl+0x55/0xda [radeon] =A0[] ? avc_has_perm+0x57/0x69 =A0[] drm_ioctl+0x232/0x2ef [drm] =A0[] ? __spin_time_accum+0x21/0x37 =A0[] ? __xen_spin_lock+0xb7/0xcd =A0[] vfs_ioctl+0x6a/0x82 =A0[] do_vfs_ioctl+0x47d/0x4c3 =A0[] ? xen_restore_fl_direct_end+0x0/0x1 =A0[] sys_ioctl+0x51/0x74 =A0[] ? do_device_not_available+0x9/0xb =A0[] system_call_fastpath+0x16/0x1b ---[ end trace 5cb030d3ba77eb48 ]--- ------------[ cut here ]------------ WARNING: at lib/list_debug.c:30 __list_add+0x68/0x81() Hardware name: System Product Name list_add corruption. prev->next should be next (ffff8801e7d9dda0), but was = ffff88017ea49330. --- On Tue, 8/17/10, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV73= 0 PRO [Radeon HD 4650] To: "Konrad Rzeszutek Wilk" Cc: xen-devel@lists.xensource.com Date: Tuesday, August 17, 2010, 10:50 AM Seems to be F13/dracut issue in my case. Xen 4.0.1-rc6 & 2.6.32.19 ( KMS=A0 enabled) installed on top of Ubuntu 10.0= 4 with no=A0 problems. --- On Tue, 8/17/10, Boris Derzhavets wrote: From: Boris Derzhavets Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV73= 0 PRO [Radeon HD 4650] To: "Konrad Rzeszutek Wilk" Cc: xen-devel@lists.xensource.com Date: Tuesday, August 17, 2010, 3:09 AM > How about -v? See if the file RV730_pfp.bin gets put in the initramfs image.=0A=20 I unzipped and uncpio=A0 initramfs :-=20 =A0=A0=A0=A0=A0 file is not there. Tried --fware option of dracut. No luck. File gets installed in /lib/fmware/radeon folder , but doesn't get included in "initramfs" > Did you make sure that the CONFIG_DRM_RADEON is set to 'm'? It appears to be set to 'y' > After that did you recompile the kernel and modules and re-installed them= ? Yes.=20 --- On Mon, 8/16/10, Konrad Rzeszutek Wilk wrote: From: Konrad Rzeszutek Wilk Subject: Re: [Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on=0A R= V730 PRO [Radeon HD 4650] To: "Boris Derzhavets" Cc: xen-devel@lists.xensource.com Date: Monday, August 16, 2010, 4:05 PM On Mon, Aug 16, 2010 at 11:35:24AM -0700, Boris Derzhavets wrote: > > Can you provide the serial output?=20 > No >=20 > > Is the error the same as you reported > before (were it could not load the firmware code?) >=20 > Yes.=20 > Xen System loads up so i have dmesg.log=A0 It's attached >=20 > > Can you try fiddling with the dracut options to force it include the > proper firmware bits? >=20 > Which ones ? That is what happens loading Dom0. How about -v? See if the file RV730_pfp.bin gets put in the initramfs image. Did you make sure that the CONFIG_DRM_RADEON is set to 'm'? After that did you recompile the kernel and modules and re-installed them? >=0A=20 >=0A Dmesg: >=20 > [drm] Loading RV730 CP Microcode > platform radeon_cp.0: firmware: requesting radeon/RV730_pfp.bin >=20 > =A0=A0=A0=A0 Hangs.... for a while. >=20 > r600_cp: Failed to load firmware "radeon/RV730_pfp.bin" > [drm:rv770_init] *ERROR* Failed to load firmware! > [drm:radeon_driver_load_kms] *ERROR* Fatal error while trying to initiali= ze radeon. > radeon 0000:01:00.0: PCI INT A disabled > radeon: probe of 0000:01:00.0 failed with error -2 >=20 > Proceed with normal load. You need to figure out why it isn't including that firmware file on the initramfs.=20 =0A=0A=0A=0A=0A=0A=0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A =20 -----Inline Attachment Follows----- _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel =0A=0A=0A --0-974991126-1282069628=:35716 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Complete  dmesg report contains entries = :-

------------[ cut here ]------------
WARNING: at lib/list_debu= g.c:30 __list_add+0x68/0x81()
Hardware name: System Product Name
list= _add corruption. prev->next should be next (ffff8801e7d9dda0), but was f= fff88017ea4f730. (prev=3Dffff88017ea4f730).
Modules linked in: nls_utf8 = xt_physdev ppdev ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_n= at ipv6 snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_c= odec snd_pcm_oss snd_hwdep snd_mixer_oss snd_seq_dummy snd_pcm snd_seq_oss = snd_seq_midi snd_rawmidi snd_seq_midi_event radeon snd_seq snd_timer ttm dr= m_kms_helper snd_seq_device drm i2c_algo_bit snd soundcore snd_page_alloc l= p asus_atk0110 parport ata_generic pata_acpi pata_jmicron r8169 mii floppy<= br>Pid: 3813, comm: Xorg Not tainted 2.6.32.19-xen #3
Call Trace:
 [<ffffffff81054f3e>] warn_slowpath_common+0x77/0x8f<= br> [<ffffffff81054fa3>] warn_slowpath_fmt+0x3c/0x3e
 [&= lt;ffffffffa0093021>] ? ttm_buffer_object_init+0x333/0x35c [ttm]
&nbs= p;[<ffffffff8121b817>] __list_add+0x68/0x81
 [<ffffffffa00= d69e7>] radeon_object_create+0x1cd/0x1e2 [radeon]
 [<ffffffff= a00d67d2>] ? radeon_ttm_object_object_destroy+0x0/0x48 [radeon]
 = ;[<ffffffffa00e0bc6>] radeon_gem_object_create+0x8b/0xf9 [radeon]
=  [<ffffffff810449ef>] ? __wake_up+0x3f/0x48
 [<ffffff= ffa00e0c34>] ? radeon_gem_create_ioctl+0x0/0xda [radeon]
 [<f= fffffffa00e0c89>] radeon_gem_create_ioctl+0x55/0xda [radeon]
 [&= lt;ffffffff811d6339>] ? avc_has_perm+0x57/0x69
 [<ffffffffa00= 5d0c7>] drm_ioctl+0x232/0x2ef [drm]
 [<ffffffff8100fab9>] = ? __spin_time_accum+0x21/0x37
 [<ffffffff8100fd19>] ? __xen_spin_lock+0xb7/0xcd
 [<ffffffff8111859c>] vfs_ioctl+0x= 6a/0x82
 [<ffffffff81118aa8>] do_vfs_ioctl+0x47d/0x4c3
&nb= sp;[<ffffffff81118b3f>] sys_ioctl+0x51/0x74
 [<ffffffff811= 0a4d7>] ? sys_read+0x5c/0x69
 [<ffffffff81012b42>] system_= call_fastpath+0x16/0x1b
---[ end trace 5cb030d3ba77eb47 ]---
--------= ----[ cut here ]------------
WARNING: at lib/list_debug.c:30 __list_add+= 0x68/0x81()
Hardware name: System Product Name
list_add corruption. p= rev->next should be next (ffff8801e7d9dda0), but was ffff88017ea49330. (= prev=3Dffff88017ea4f730).
Modules linked in: nls_utf8 xt_physdev ppdev i= p6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat ipv6 snd_hda_co= dec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_pcm_oss s= nd_hwdep snd_mixer_oss snd_seq_dummy snd_pcm snd_seq_oss snd_seq_midi snd_r= awmidi snd_seq_midi_event radeon snd_seq snd_timer ttm drm_kms_helper snd_seq_device drm i2c_algo_bit snd soundcore snd_page_alloc lp asus_atk01= 10 parport ata_generic pata_acpi pata_jmicron r8169 mii floppy
Pid: 3813= , comm: Xorg Tainted: G        W  2= .6.32.19-xen #3
Call Trace:
 [<ffffffff81054f3e>] warn_slo= wpath_common+0x77/0x8f
 [<ffffffff81054fa3>] warn_slowpath_fm= t+0x3c/0x3e
 [<ffffffffa0093021>] ? ttm_buffer_object_init+0x= 333/0x35c [ttm]
 [<ffffffff8121b817>] __list_add+0x68/0x81 [<ffffffffa00d69e7>] radeon_object_create+0x1cd/0x1e2 [radeon]=
 [<ffffffffa00d67d2>] ? radeon_ttm_object_object_destroy+0x0= /0x48 [radeon]
 [<ffffffffa00e0bc6>] radeon_gem_object_create= +0x8b/0xf9 [radeon]
 [<ffffffff810449ef>] ? __wake_up+0x3f/0x= 48
 [<ffffffffa00e0c34>] ? radeon_gem_create_ioctl+0x0/0xda [= radeon]
 [<ffffffffa00e0c89>] radeon_gem_create_ioctl+0x55/0xda [radeon]
 [<ffffffff811d6339&= gt;] ? avc_has_perm+0x57/0x69
 [<ffffffffa005d0c7>] drm_ioctl= +0x232/0x2ef [drm]
 [<ffffffff8100fab9>] ? __spin_time_accum+= 0x21/0x37
 [<ffffffff8100fd19>] ? __xen_spin_lock+0xb7/0xcd [<ffffffff8111859c>] vfs_ioctl+0x6a/0x82
 [<ffffff= ff81118aa8>] do_vfs_ioctl+0x47d/0x4c3
 [<ffffffff8100f10f>= ] ? xen_restore_fl_direct_end+0x0/0x1
 [<ffffffff81118b3f>] s= ys_ioctl+0x51/0x74
 [<ffffffff81464c20>] ? do_device_not_avai= lable+0x9/0xb
 [<ffffffff81012b42>] system_call_fastpath+0x16= /0x1b
---[ end trace 5cb030d3ba77eb48 ]---
------------[ cut here ]--= ----------
WARNING: at lib/list_debug.c:30 __list_add+0x68/0x81()
Har= dware name: System Product Name
list_add corruption. prev->next shoul= d be next (ffff8801e7d9dda0), but was ffff88017ea49330.



--- On Tue, 8/17/10, Boris Derzhavets = <bderzhavets@yahoo.com> wrote:

From: Boris Derzhavets <bderzhavets@yahoo.com>
Subject: Re: [= Xen-devel] [GIT PULL] devel/pat + devel/kms.fixes-0.5 on RV730 PRO [Radeon = HD 4650]
To: "Konrad Rzeszutek Wilk" <konrad.wilk@oracle.com>
C= c: xen-devel@lists.xensource.com
Date: Tuesday, August 17, 2010, 10:50 A= M

Seems= to be F13/dracut issue in my case.

Xen 4.0.1-rc6 & 2.6.32.19 ( = KMS  enabled) installed on top of Ubuntu 10.04
with no  proble= ms.

--- On Tue, 8/17/10, Boris Derzhavets <bderzhavets@yaho= o.com> wrote:

From: Boris Derzhavets <= ;bderzhavets@yahoo.com>
Subject: Re: [Xen-devel] [GIT PULL] devel/pat= + devel/kms.fixes-0.5 on RV730 PRO [Radeon HD 4650]
To: "Konrad Rzeszut= ek Wilk" <konrad.wilk@oracle.com>
Cc: xen-devel@lists.xensource.co= m
Date: Tuesday, August 17, 2010, 3:09 AM

> How about -v? See i= f the file RV730_pfp.bin gets put in the initramfs
image.=0A

I u= nzipped and uncpio  initramfs :-
      fi= le is not there.
Tried --fware option of dracut. No luck.
File gets i= nstalled in /lib/fmware/radeon folder , but doesn't get
included in "ini= tramfs"


> Did you make sure that the CONFIG_DRM_RADEON is set= to 'm'?
It appears to be set to 'y'

> After that did you reco= mpile the kernel and modules and re-installed them?
Yes.

--- On = Mon, 8/16/10, Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> wrote:

From: Konrad Rzeszutek Wilk &l= t;konrad.wilk@oracle.com>
Subject: Re: [Xen-devel] [GIT PULL] devel/p= at + devel/kms.fixes-0.5 on=0A RV730 PRO [Radeon HD 4650]
To: "Boris Der= zhavets" <bderzhavets@yahoo.com>
Cc: xen-devel@lists.xensource.com=
Date: Monday, August 16, 2010, 4:05 PM

On Mon, Aug 16, 2010 at 11:35:24AM -0700, Boris De= rzhavets wrote:
> > Can you provide the serial output?
> No=
>
> > Is the error the same as you reported
> before= (were it could not load the firmware code?)
>
> Yes.
>= Xen System loads up so i have dmesg.log  It's attached
>
&g= t; > Can you try fiddling with the dracut options to force it include th= e
> proper firmware bits?
>
> Which ones ? That is what = happens loading Dom0.

How about -v? See if the file RV730_pfp.bin ge= ts put in the initramfs
image. Did you make sure that the CONFIG_DRM_RAD= EON is set to 'm'? After
that did you recompile the kernel and modules a= nd re-installed them?

>=0A
>=0A Dmesg:
>
> [drm] Loading RV7= 30 CP Microcode
> platform radeon_cp.0: firmware: requesting radeon/R= V730_pfp.bin
>
>      Hangs.... for a whil= e.
>
> r600_cp: Failed to load firmware "radeon/RV730_pfp.bin"=
> [drm:rv770_init] *ERROR* Failed to load firmware!
> [drm:rad= eon_driver_load_kms] *ERROR* Fatal error while trying to initialize radeon.=
> radeon 0000:01:00.0: PCI INT A disabled
> radeon: probe of 0= 000:01:00.0 failed with error -2
>
> Proceed with normal load.=

You need to figure out why it isn't including that firmware file on= the
initramfs.

=0A= =0A=0A=0A=0A=0A=0A=0A

-----Inline Attachment Follows-----
_________________________________= ______________
Xen-devel mailing list
Xen-devel@l= ists.xensource.com
http://lists.xensource.com/xen-devel=

=0A=0A

= -----Inline Attachment Follows-----

_______= ________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xenso= urce.com/xen-devel

=0A=0A= =0A=0A=0A=0A=0A=0A --0-974991126-1282069628=:35716-- --===============0502977905== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0502977905==--