radeonfb blanks my monitor
I just replaced my Matrox G400 with a Jetway Radeon 9600LE (256Mb). If I run 'modprobe radeonfb', the monitor blanks out and the power on light keeps flashing.
What may be wrong ? Using 2.6.11.
Signature · 1 line
How to contact me - http://www.pervalidus.net/contact.html
Quoted 5 lines · Frédéric L. W. Meunier
I just replaced my Matrox G400 with a Jetway Radeon 9600LE (256Mb). If I run 'modprobe radeonfb', the monitor blanks out and the power on light keeps flashing.
What may be wrong ? Using 2.6.11.
Do you have a way to capture the dmesg log produced ?
Also, does it work if radeonfb is built-in ?
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 5 lines · Frédéric L. W. Meunier
I just replaced my Matrox G400 with a Jetway Radeon 9600LE (256Mb). If I run 'modprobe radeonfb', the monitor blanks out and the power on light keeps flashing.
What may be wrong ? Using 2.6.11.
Do you have a way to capture the dmesg log produced ?
These are the lines before I have to use SysRq.
Mar 2 15:16:45 darkstar kernel: radeonfb: Found Intel x86 BIOS ROM Image Mar 2 15:16:45 darkstar kernel: radeonfb: Retreived PLL infos from BIOS Mar 2 15:16:45 darkstar kernel: i2c-algo-bit.o: dvi passed test. Mar 2 15:16:45 darkstar kernel: i2c-algo-bit.o: vga passed test. Mar 2 15:16:46 darkstar kernel: radeonfb: Monitor 1 type CRT found Mar 2 15:16:46 darkstar kernel: radeonfb: EDID probed Mar 2 15:16:46 darkstar kernel: radeonfb: Monitor 2 type no found
BTW, I don't know if it could be related, but my motherboard only supports AGP 4x.
Quoted 1 line
Also, does it work if radeonfb is built-in ?
I'll try later. Time to sleep.
Signature · 1 line
How to contact me - http://www.pervalidus.net/contact.html
Quoted 21 lines · Frédéric L. W. Meunier
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 5 lines · Frédéric L. W. Meunier
I just replaced my Matrox G400 with a Jetway Radeon 9600LE (256Mb). If I run 'modprobe radeonfb', the monitor blanks out and the power on light keeps flashing.
What may be wrong ? Using 2.6.11.
Do you have a way to capture the dmesg log produced ?
These are the lines before I have to use SysRq.
Mar 2 15:16:45 darkstar kernel: radeonfb: Found Intel x86 BIOS ROM Image Mar 2 15:16:45 darkstar kernel: radeonfb: Retreived PLL infos from BIOS Mar 2 15:16:45 darkstar kernel: i2c-algo-bit.o: dvi passed test. Mar 2 15:16:45 darkstar kernel: i2c-algo-bit.o: vga passed test. Mar 2 15:16:46 darkstar kernel: radeonfb: Monitor 1 type CRT found Mar 2 15:16:46 darkstar kernel: radeonfb: EDID probed Mar 2 15:16:46 darkstar kernel: radeonfb: Monitor 2 type no found
Quoted 2 lines
BTW, I don't know if it could be related, but my motherboard only supports AGP 4x
There should be more than these... Does it continue booting afte the screen goes blank or not at all ? Can you send the full dmesg log too ? Also, enable radeonfb verbose debug in the config.
Quoted 3 lines
Quoted 1 line
Also, does it work if radeonfb is built-in ?
I'll try later. Time to sleep.
Ok, thanks.
Quoted 1 line · Benjamin Herrenschmidt
There should be more than these... Does it continue booting afte the screen goes blank or not at all ? Can you send the full dmesg log too ? Also, enable radeonfb verbose debug in the config.
Yes, there were more in /var/log/syslog:
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 ?
There's nothing about radeonfb in dmesg because I manually loaded the modules.
I now compiled built-in with debug enabled and got the same problem. Nothing got logged. Everything seems to stop when it blanks, but SysRq works.
Signature · 1 line
How to contact me - http://www.pervalidus.net/contact.html
Quoted 18 lines · Frédéric L. W. Meunier
Quoted 4 lines · Benjamin Herrenschmidt
There should be more than these... Does it continue booting afte the screen goes blank or not at all ? Can you send the full dmesg log too ? Also, enable radeonfb verbose debug in the config.
Yes, there were more in
/var/log/syslog: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
Quoted 2 lines
Do the "seems to be busy." and/or "Failed to register I2C bus" indicate a problem ?
Maybe we are having conflicting bus names between radeonfb and matroxfb, or 2 instances of radeonfb ? Can you send the entire log please ?
Quoted 2 lines
There's nothing about radeonfb in dmesg because I manually loaded the modules.
And ? You should have it in dmesg after the module load...
Quoted 3 lines
I now compiled built-in with debug enabled and got the same problem. Nothing got logged. Everything seems to stop when it blanks, but SysRq works.
Well, I would need the full log, and with radeonfb verbose debug enabled in the config.
Ben.
Quoted 3 lines · Benjamin Herrenschmidt
On Thu, 2005-03-03 at 12:38 -0300, Frédéric L. W. Meunier wrote:
Maybe we are having conflicting bus names between radeonfb and matroxfb, or 2 instances of radeonfb ? Can you send the entire log please ?
I don't have matroxfb and there aren't 2 instances of radeonfb.
Quoted 4 lines
Quoted 2 lines
There's nothing about radeonfb in dmesg because I manually loaded the modules.
And ? You should have it in dmesg after the module load...
Not in /var/log/dmesg, and I can't type dmesg.
Quoted 1 line
Well, I would need the full log, and with radeonfb verbose debug enabled in the config.
I'll later try as module with debug.
Signature · 1 line
How to contact me - http://www.pervalidus.net/contact.html
Quoted 6 lines · Frédéric L. W. Meunier
Quoted 2 lines · Benjamin Herrenschmidt
Well, I would need the full log, and with radeonfb verbose debug enabled in the config.
I'll later try as module with debug.
Here's:
/var/log/messages:
Mar 4 14:00:29 pervalidus kernel: radeonfb: Found Intel x86 BIOS ROM Image Mar 4 14:00:29 pervalidus kernel: radeonfb: Retreived PLL infos from BIOS Mar 4 14:00:30 pervalidus kernel: radeonfb: Monitor 1 type CRT found Mar 4 14:00:30 pervalidus kernel: radeonfb: EDID probed Mar 4 14:00:30 pervalidus kernel: radeonfb: Monitor 2 type no found
/var/log/syslog:
Mar 4 14:00:28 pervalidus kernel: radeonfb_pci_register BEGIN Mar 4 14:00:28 pervalidus kernel: radeonfb (0000:01:00.0): Found 262144k of DDR 128 bits wide videoram Mar 4 14:00:29 pervalidus kernel: radeonfb (0000:01:00.0): mapped 16384k videoram Mar 4 14:00:29 pervalidus kernel: radeonfb: Reference=27.00 MHz (RefDiv=12) Memory=325.00 Mhz, System=200.00 MHz Mar 4 14:00:29 pervalidus kernel: radeonfb: PLL min 20000 max 40000 Mar 4 14:00:29 pervalidus kernel: 1 chips in connector info Mar 4 14:00:29 pervalidus kernel: - chip 1 has 2 connectors Mar 4 14:00:29 pervalidus kernel: * connector 0 of type 2 (CRT) : 2300 Mar 4 14:00:29 pervalidus kernel: * connector 1 of type 3 (DVI-I) : 3221 Mar 4 14:00:29 pervalidus kernel: Starting monitor auto detection... Mar 4 14:00:29 pervalidus kernel: radeonfb: I2C (port 1) ... not found Mar 4 14:00:29 pervalidus kernel: radeonfb: I2C (port 2) ... not found Mar 4 14:00:29 pervalidus kernel: radeonfb: I2C (port 3) ... found CRT display Mar 4 14:00:30 pervalidus kernel: radeonfb: I2C (port 4) ... not found Mar 4 14:00:30 pervalidus kernel: radeonfb: I2C (port 2) ... not found Mar 4 14:00:30 pervalidus kernel: radeonfb: I2C (port 4) ... not found Mar 4 14:00:30 pervalidus kernel: radeonfb: I2C (port 3) ... found CRT display Mar 4 14:00:30 pervalidus kernel: hStart = 694, hEnd = 757, hTotal = 795 Mar 4 14:00:30 pervalidus kernel: vStart = 402, vEnd = 408, vTotal = 418 Mar 4 14:00:30 pervalidus kernel: h_total_disp = 0x590062^I hsync_strt_wid =0x8702c0 Mar 4 14:00:30 pervalidus kernel: v_total_disp = 0x18f01a1^I vsync_strt_wid = 0x860191 Mar 4 14:00:30 pervalidus kernel: pixclock = 85925 Mar 4 14:00:30 pervalidus kernel: freq = 1163 Mar 4 14:00:30 pervalidus kernel: freq = 1666, PLL min = 20000, PLL max = 40000 Mar 4 14:00:30 pervalidus kernel: ref_div = 12, ref_clk = 2700, output_freq = 26656 Mar 4 14:00:30 pervalidus kernel: ref_div = 12, ref_clk = 2700, output_freq = 26656 Mar 4 14:00:30 pervalidus kernel: post div = 0x5 Mar 4 14:00:30 pervalidus kernel: fb_div = 0x76 Mar 4 14:00:30 pervalidus kernel: ppll_div_3 = 0x50076 Mar 4 14:00:30 pervalidus kernel: Console: switching to colour frame buffer device 90x25 Mar 4 14:00:30 pervalidus kernel: radeonfb (0000:01:00.0): ATI Radeon AP Mar 4 14:00:30 pervalidus kernel: radeonfb_pci_register END
BTW, I noticed that it locking the system. I was able to issue a shutdown. The commands still work, but beep is disabled.
Signature · 1 line
How to contact me - http://www.pervalidus.net/contact.html
Hi Frédéric, hi Benjamin,
Quoted 10 lines
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 APDo 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.
Signature · 1 line
Jean Delvare
Quoted 1 line · Jean Delvare
Frédéric, can you check in
/etc/modprobe.confif 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.
Yes, I had, but commenting it out didn't change anything.
Signature · 1 line
How to contact me - http://www.pervalidus.net/contact.html
Quoted 5 lines
Quoted 3 lines
Frédéric, can you check in
/etc/modprobe.confif 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.Yes, I had, but commenting it out didn't change anything.
I can confirm that. Adding bit_test=1 here did NOT cause any problem on my two Radeon systems, so the problem you have isn't related to this option. Sorry for the noise (but I guess it was still worth trying).
Signature · 1 line
Jean Delvare