public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jean Delvare <khali@linux-fr.org>
To: "\"Frédéric L. W. Meunier\"" <2@pervalidus.net>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Linux Kernel list <linux-kernel@vger.kernel.org>,
	khali@linux-fr.org
Subject: Re: radeonfb blanks my monitor
Date: Fri, 04 Mar 2005 11:39:33 +0100	[thread overview]
Message-ID: <42283AE5.9030700@linux-fr.org> (raw)
In-Reply-To: <Pine.LNX.4.62.0503031149280.311@darkstar.example.net>

Hi Frédéric, hi Benjamin,

> Mar  2 15:16:45 darkstar kernel: radeonfb: Reference=27.00 MHz 
> (RefDiv=12) Memory=325.00 Mhz, System=200.00 MHz
> Mar  2 15:16:45 darkstar kernel: radeonfb: PLL min 20000 max 40000
> Mar  2 15:16:45 darkstar kernel: i2c-algo-bit.o: monid seems to be busy.
> Mar  2 15:16:45 darkstar kernel: radeonfb 0000:01:00.0: Failed to 
> register I2C bus monid.
> Mar  2 15:16:45 darkstar kernel: i2c-algo-bit.o: crt2 seems to be busy.
> Mar  2 15:16:46 darkstar kernel: radeonfb 0000:01:00.0: Failed to 
> register I2C bus crt2.
> Mar  2 15:16:46 darkstar kernel: Console: switching to colour frame 
> buffer device 90x25
> Mar  2 15:16:46 darkstar kernel: radeonfb (0000:01:00.0): ATI Radeon AP
> 
> Do the "seems to be busy." and/or "Failed to register I2C bus" indicate 
> a problem ?

The i2c-algo-bit driver has an optional bus check function. It can be 
used to detect stalled, disconnected or improperly configured busses. 
The check seems to be enabled in your case, which is kind of strange 
since it isn't by default.

Frédéric, can you check in /etc/modprobe.conf if you have a line like:
options i2c-algo-bit bit_test=1
If you do, please comment it out and see if it changes anything.

Benjamin, i2c-algo-bit with bit_test=1 may cause I2C bus creation to 
fail. As far as I can see, it is even the only way the bus creation 
function can return a negative value (which I consider a bug because 
there are other possible failure causes). I will test the effect of 
bit_test=1 on my two radeon systems this evening and see what happens. I 
will also work on a patch fixing the return value if it needs to be.

What I wanted to underline is the fact that it might be the first time 
bus registration ever fails, and although it looks like the radeonfb 
code handles the case, that code path had certainly not received much 
testing so far.

-- 
Jean Delvare


  parent reply	other threads:[~2005-03-04 10:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-03  2:51 radeonfb blanks my monitor Frédéric L. W. Meunier
2005-03-03  4:10 ` Benjamin Herrenschmidt
2005-03-03  4:39   ` Frédéric L. W. Meunier
2005-03-03  4:50     ` Benjamin Herrenschmidt
2005-03-03 15:38       ` Frédéric L. W. Meunier
2005-03-03 22:48         ` Benjamin Herrenschmidt
2005-03-03 23:48           ` Frédéric L. W. Meunier
2005-03-04 17:14             ` Frédéric L. W. Meunier
2005-03-04 10:39         ` Jean Delvare [this message]
2005-03-04 17:16           ` Frédéric L. W. Meunier
2005-03-04 20:46             ` Jean Delvare

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=42283AE5.9030700@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=2@pervalidus.net \
    --cc=benh@kernel.crashing.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox