From: Gene Heskett <gene.heskett@gmail.com>
To: "Dave Airlie" <airlied@gmail.com>
Cc: "Linux Kernel" <linux-kernel@vger.kernel.org>
Subject: Re: Linux-2.6.27-rc5, drm errors in log
Date: Sun, 31 Aug 2008 06:55:45 -0400 [thread overview]
Message-ID: <200808310655.45464.gene.heskett@gmail.com> (raw)
In-Reply-To: <21d7e9970808302340w71483645macb34f8470a85c66@mail.gmail.com>
On Sunday 31 August 2008, Dave Airlie wrote:
>On Sun, Aug 31, 2008 at 12:19 PM, Gene Heskett <gene.heskett@verizon.net> wrote:
>> On Saturday 30 August 2008, Bridgman, John wrote:
>>>))I'm drowning in these errors:
>>>))
>>>))Aug 30 13:21:05 coyote kernel: [14927.850078] [drm] wait for fifo failed
>>> status : 0x80076100 0x00000000
>>>
>>>I'm just going on the code in your email - can't view git until later
>>> today - but in this case it seems like the timeouts were always happening
>>> and now there is code to print an error message.
>>>
>>>IIRC the usual fix is to bump the timeout but (Michael ?) has suggested a
>>> couple of times that the ideal solution would be to change the logic so
>>> that the driver never times out while the chip is making progress (ie
>>> while the number of slots available in the fifo is increasing, even if it
>>> hasn't increased enough yet).
>>
>> FWIW, I added the 3 lines that cause that printout to the 2.6.27-rc4 tree
>> and rebuilt it. There are no more errors being reported now by
>> 2.6.27-rc4, and there were none without those 3 added lines prior to this,
>> so it is rc5 specific.
>
>Hmm I'm just looking at the patches I put in for rc5, and there is no
>functional difference to the
>r200 codepath that I can see from those patches apart from the debug prints.
Update: there were 3 of those in the log after I sent the denial msg.
======
Aug 30 23:48:34 coyote kernel: [ 7242.890000] [drm] wait for fifo failed status : 0x80076100 0x00000000
Aug 30 23:57:51 coyote kernel: [ 7800.370001] [drm] wait for fifo failed status : 0x8003C100 0x00000000
Aug 30 23:57:51 coyote kernel: [ 7800.458000] [drm] wait for fifo failed status : 0x8007C100 0x00000000
======
So this is a real, pre-rc5 problem, but without the reporting that enabled.
>Can you get a clean -rc4 and apply just
> 54f961a628b737f66710eca0b0d95346645dd33e to it.
Yes I can, but how do I get that specific patch? Or is that the git # for the
patch I first applied to -rc2, which added the firmware/radeon stuff? I'm
familiar with patch, but not on a first name basis with git, sorry.
So I'm going to do a bisect, my style. I will rebuild, starting with -rc3,
using only the -rcX patch and the firmware addition patch, which applied to
-rc3 as follows:
now applying [PATCH]radeon_cp-use-request_firmware
patching file drivers/gpu/drm/radeon/radeon_cp.c
patching file drivers/gpu/drm/radeon/radeon_drv.h
patching file drivers/gpu/drm/radeon/radeon_microcode.h
patching file firmware/Makefile
Hunk #1 FAILED at 34.
1 out of 1 hunk FAILED -- saving rejects to file firmware/Makefile.rej
===So I added that into the firmware/Makefile at line 28 by hand===
patching file firmware/WHENCE
Hunk #1 succeeded at 339 (offset -233 lines).
patching file firmware/radeon/R100_cp.bin.ihex
patching file firmware/radeon/R200_cp.bin.ihex
patching file firmware/radeon/R300_cp.bin.ihex
patching file firmware/radeon/R420_cp.bin.ihex
patching file firmware/radeon/R520_cp.bin.ihex
patching file firmware/radeon/RS600_cp.bin.ihex
patching file firmware/radeon/RS690_cp.bin.ihex
patch [PATCH]radeon_cp-use-request_firmware done
=== and I'm watching the build for errors===
It got past the MK_FW for those ok.
However there were 6 section miss-matches reported, and the suggested
addition to .config did not make it any noisier so I'm no smarter.
Now I've added those 3 reporter lines to radeon_cp.c, rebuilt again and
will reboot to -rc3 for effects, reporting after a few hours uptime.
Unless you have a better plan I can learn of course.
>See if you can get that to produce the errors, if it does, apply just
>the drm info chunks, try again, if that works, try adding
>the isync cntl chunk. and re-testing. I can't see how writing isync
>cntl here would affect things though.
>Dave.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
It is always the best policy to tell the truth, unless, of course,
you are an exceptionally good liar.
-- Jerome K. Jerome
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Equal bytes for women.
next prev parent reply other threads:[~2008-08-31 10:56 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <898503EB1E15BA4F944D1BE69D55AAC8AB540A@storexmb1.amd.com>
[not found] ` <200808302219.45103.gene.heskett@verizon.net>
2008-08-31 6:40 ` Linux-2.6.27-rc5, drm errors in log Dave Airlie
2008-08-31 10:55 ` Gene Heskett [this message]
2008-08-31 11:57 ` Gene Heskett
2008-08-31 18:23 ` Gene Heskett
2008-08-31 20:56 ` Dave Airlie
2008-09-01 1:01 ` Gene Heskett
2008-09-01 16:51 ` Jaswinder Singh
2008-09-02 5:13 ` Gene Heskett
2008-08-30 18:52 Gene Heskett
2008-08-30 19:22 ` Arjan van de Ven
2008-09-01 17:15 ` Jaswinder Singh
2008-08-30 21:06 ` Dave Airlie
2008-09-01 16:34 ` Jaswinder Singh
2008-09-01 17:52 ` Jean Delvare
2008-09-01 18:40 ` Jaswinder Singh
2008-09-01 20:49 ` Dave Airlie
2008-09-02 5:06 ` Gene Heskett
-- strict thread matches above, loose matches on Subject: below --
2008-08-30 17:39 Gene Heskett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200808310655.45464.gene.heskett@gmail.com \
--to=gene.heskett@gmail.com \
--cc=airlied@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.