linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
To: linux-fbdev-devel@lists.sourceforge.net
Subject: Re: atyfb & lockups
Date: Fri, 02 Dec 2005 13:14:14 +1100	[thread overview]
Message-ID: <1133489654.6100.53.camel@gaston> (raw)
In-Reply-To: <438D4B39.5090208@t-online.de>


> Well, there are other possibilities.
> 
> When does the lockup occure?  Immediately when booting? Later? During 
> start of 
> xdm/kdm? Random?

During boot, when drawing text in console mode, usually when it starts
scrolling but not necessarily.

> I would start to investigate the case by instrumenting and extending the 
> fb_sync code.
> Try to include code there that resets the chip and switches to the 
> noaccel counterparts of the
> accelerated functions when a timeout occures. That way you should have a 
> chance to resume.

Yah, I should do something like that. I remember trying to track that
bug down a while ago now, and I think I had it working by adding syncs
all over the place.

However, I think the problem is more likely to be some bad fifo or
bandwidth setting in the engine causing it to lockup when loaded. It
works if I boot MacOS and use BootX to then boot linux, though I then
have different display problems (definitely look like incorrect settings
of the display fifo).

> Is the timeout counter ok? Maybe you should decrease/increase it.   If 
> switching to
> the noaccel function works, include a register dump before resetting the 
> chip, use show_trace()
> etc for further debugging.

Will do all of these as soon as I find some time. My initial post was
mostly to ping in case it was a known issue or somebody else already
tracked it down.

Ben.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

      reply	other threads:[~2005-12-02  2:21 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-30  5:51 atyfb & lockups Benjamin Herrenschmidt
2005-11-30  6:48 ` Knut Petersen
2005-12-02  2:14   ` Benjamin Herrenschmidt [this message]

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=1133489654.6100.53.camel@gaston \
    --to=benh@kernel.crashing.org \
    --cc=linux-fbdev-devel@lists.sourceforge.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).