public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: 2.6.0-test2 does not boot with matroxfb
@ 2003-08-09 11:40 Jocelyn Mayer
  2003-08-11 18:01 ` Jocelyn Mayer
  0 siblings, 1 reply; 13+ messages in thread
From: Jocelyn Mayer @ 2003-08-09 11:40 UTC (permalink / raw)
  To: linux kernel


> On  8 Aug 03 at 17:45, Juergen Rose wrote:
> ı I tried on my PC with a Matrox-G450 several kernel and boot options.
> ı Every time when the console should work with matrox framebuffer,
> linux
> ı was crashed. With 2.6.0-test2 and 2.6.0-test2-bk7 I had the
> following
> ı warning performing ''make modules_install''
> ı WARNING:
> ı
> /lib/modules/2.6.0-test2[-bk7]/kernel/drivers/video/matrox/matroxfb_crtc2.ko
> ı needs unknown symbol matroxfb_enable_irq This WARNING disapears for
> 
> I'm not able to get through Linus's mail filters for past three weeks.

I can boot a Athlon based PC with a Matrox-G450. It runs well.
The frame buffer is broken, and so is X and overlay buffer,
but it doesn't crash at all.
I also booted another kernel on the VGA console.
The console is OK, X and overlay buffer are still broken,
but the machine euns well.
I have two 2.6.0-test2, one with the matroxfb,
the other one just with the VGA console.

> 
> You can also try <a
> href="ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.72.gz">ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.72.gz</a>
> (if 2.6.0-test2-mm5 does not complain about unexported matrox_*_irq
> it will probably not apply cleanly to it). It restores fbcon subsystem
> to the 2.4.x's version.
>                                             Petr

I will check this, I'd like to have more than a VGA console :-)


-- 
Jocelyn Mayer <l_indien@magic.fr>


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: 2.6.0-test2 does not boot with matroxfb
@ 2003-08-11 19:14 Petr Vandrovec
  0 siblings, 0 replies; 13+ messages in thread
From: Petr Vandrovec @ 2003-08-11 19:14 UTC (permalink / raw)
  To: Jocelyn Mayer; +Cc: davej, linux kernel

On 11 Aug 03 at 21:00, Jocelyn Mayer wrote:
> > On Mon, 2003-08-11 at 20:29, Petr Vandrovec wrote:
> > On 11 Aug 03 at 20:01, Jocelyn Mayer wrote:
> > > I now run a VGA console kernel without agpgart with a 16bps X.
> > > 
> > > So, there seems to be two issues:
> > > - broken matrox fb: I lose the synchro when switching from X to fb.
> > >   fbset configuration is lost when switching consoles.
> > 
> > It is feature, not a bug. fbset does not work on 2.6.x kernels
> > anymore. Apply 
> > ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.6.0-t3-c1149.gz
> > if you prefer 2.4.x behavior.
> > 
> In fact, it works untill I switch to another console...
> What is the right way to change the console configuration at run-time,
> now ? Or where should I look for this info ?
> Did it become impossible (would be a severe bug, at least for me...) ?

"stty cols XXX rows YYY" sets size. How you'll set pixclock, color depth
or other features is unknown to me - I use my patch above and others
should ask James Simmons...

> > Also if you are using DRI, even latest XFree mga driver I found still 
> > reprograms hardware even if XFree server is not on a foreground, so you 
> > must use same color depth and vxres for both X and console, and even in 
> > this configuration display corruption on console may occur from time to
> > time...
> >                                             Petr Vandrovec
> >        
> OK, you confirm exactly the symptom I have seen.
> So it seems to be an X driver problem...
> But X is still buggy when it doesn't use DRI,
> at least in 32 bits modes. I know it's quite certain that it's an X bug,
> but I really would like to understand why it works with 2.4 kernels
> and not with 2.6 ones. The X problem is there even if I use the VGA
> console (I mean with a kernel with fb support _not_ activated).

In 2.4.x kernels dri refused to work on couple of systems I have, while
in 2.6.x it is willing to work even on more systems - if we are talking
about console.

I do not know why you have problems with X - 2.6.0-test3-bk-current
works for me with G200, G450 and G550 with Debian's unstable XFree,
(16/16bpp on G550 system and 24/32bpp on others).
                                                Petr
                                                


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: 2.6.0-test2 does not boot with matroxfb
@ 2003-08-11 18:29 Petr Vandrovec
  2003-08-11 19:00 ` Jocelyn Mayer
  0 siblings, 1 reply; 13+ messages in thread
From: Petr Vandrovec @ 2003-08-11 18:29 UTC (permalink / raw)
  To: Jocelyn Mayer; +Cc: davej, linux-kernel

On 11 Aug 03 at 20:01, Jocelyn Mayer wrote:
> I now run a VGA console kernel without agpgart with a 16bps X.
> 
> So, there seems to be two issues:
> - broken matrox fb: I lose the synchro when switching from X to fb.
>   fbset configuration is lost when switching consoles.

It is feature, not a bug. fbset does not work on 2.6.x kernels
anymore. Apply 
ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.6.0-t3-c1149.gz
if you prefer 2.4.x behavior.

Also if you are using DRI, even latest XFree mga driver I found still 
reprograms hardware even if XFree server is not on a foreground, so you 
must use same color depth and vxres for both X and console, and even in 
this configuration display corruption on console may occur from time to
time...
                                            Petr Vandrovec
                                            


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: 2.6.0-test2 does not boot with matroxfb
@ 2003-08-09 21:07 Juergen Rose
  0 siblings, 0 replies; 13+ messages in thread
From: Juergen Rose @ 2003-08-09 21:07 UTC (permalink / raw)
  To: linux-kernel

Hi Petr,

On Fri, 2003-08-08 at 18:16, Petr Vandrovec wrote: 
> On  8 Aug 03 at 17:45, Juergen Rose wrote:
> > I tried on my PC with a Matrox-G450 several kernel and boot options.
> > Every time when the console should work with matrox framebuffer, linux
> > was crashed. With 2.6.0-test2 and 2.6.0-test2-bk7 I had the following
> > warning performing ''make modules_install''
> > WARNING:
> > /lib/modules/2.6.0-test2[-bk7]/kernel/drivers/video/matrox/matroxfb_crtc2.ko
> > needs unknown symbol matroxfb_enable_irq This WARNING disapears for
> 
> I'm not able to get through Linus's mail filters for past three weeks.
> 
> > 2.4.22-pre6-ac1             |         |               |
> > CONFIG_FB=y                 | VGA=6   |  VGA=775      | vesa:0x31C
> > CONFIG_VIDEO_SELECT=y       |         |               |
> > --+--+--+--
> > 2.6.0-test2                 |         |crashes        |crashes        
> > CONFIG_FRAMEBUFFER_CONSOLE=y|  VGA=6  |after          |after          
> > CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
> 
> What means this? No useful data here... Oopses? Reboot?
> Endless loop? And did you built vgacon into the kernel? And I'm
> not sure that 2.6.0 can have both vesafb & matroxfb compiled in (well,
> you can compile in both, but I'm not sure what happens).

Sorry, that I did not explain more detailed. "crashes after BIOS DATA
CHECK" means, that "BIOS DATA CHECK" was the last, what I have seen,
then I got a blank screen. For some configurations I still waited
several minutes to see, if it is possible to ping from another PC to the
PC with 2.6.0-test2. But I did not get a connection, so I had to perform
a hard reset with 2.6.0-test2-PC.

> And from your message above it looks like that you are building some 
> vital matroxfb portions as a module. Please build them into the kernel 
> unless you are really sure that you do not want console on them - while 
> 2.4.x's console could use modular fbdevs, 2.6.x's console subsytem 
> cannot do that. 

'grep -i matrox amd4GBaic7xxx_ideHPT_noacpi_noapic_ess1371.cfg' (which
was my .config) gives
CONFIG_FB_MATROX=m
# CONFIG_FB_MATROX_MILLENIUM is not set
# CONFIG_FB_MATROX_MYSTIQUE is not set
CONFIG_FB_MATROX_G450=y
CONFIG_FB_MATROX_G100=y
CONFIG_FB_MATROX_I2C=m
CONFIG_FB_MATROX_MAVEN=m
# CONFIG_FB_MATROX_PROC is not set
CONFIG_FB_MATROX_MULTIHEAD=y

'grep -i "fb.*=[my]" amd4GBaic7xxx_ideHPT_noacpi_noapic_ess1371.cfg'
gives besides MATROS lines:
CONFIG_FB=y
CONFIG_FB_VESA=y
...
CONFIG_FBCON_ADVANCED=y
CONFIG_FBCON_MFB=m
CONFIG_FBCON_CFB2=m
CONFIG_FBCON_CFB4=m
CONFIG_FBCON_CFB8=y
CONFIG_FBCON_CFB16=y
CONFIG_FBCON_CFB24=y
CONFIG_FBCON_CFB32=y
CONFIG_FBCON_VGA=y
CONFIG_FBCON_HGA=m
CONFIG_FBCON_FONTS=y

So I will set CONFIG_FB_MATROX and CONFIG_FB_MATROX_I2C to yes, and
build a new kernel at monday.

> You can also try ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.72.gz
> (if 2.6.0-test2-mm5 does not complain about unexported matrox_*_irq
> it will probably not apply cleanly to it). It restores fbcon subsystem
> to the 2.4.x's version.
>                                             Petr
>                                             
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/


	Juergen

-- 
Juergen Rose <rose@rz.uni-potsdam.de>
University of Potsdam


^ permalink raw reply	[flat|nested] 13+ messages in thread
* Re: 2.6.0-test2 does not boot with matroxfb
@ 2003-08-08 16:16 Petr Vandrovec
  0 siblings, 0 replies; 13+ messages in thread
From: Petr Vandrovec @ 2003-08-08 16:16 UTC (permalink / raw)
  To: Juergen Rose; +Cc: linux-kernel

On  8 Aug 03 at 17:45, Juergen Rose wrote:
> I tried on my PC with a Matrox-G450 several kernel and boot options.
> Every time when the console should work with matrox framebuffer, linux
> was crashed. With 2.6.0-test2 and 2.6.0-test2-bk7 I had the following
> warning performing ''make modules_install''
> WARNING:
> /lib/modules/2.6.0-test2[-bk7]/kernel/drivers/video/matrox/matroxfb_crtc2.ko
> needs unknown symbol matroxfb_enable_irq This WARNING disapears for

I'm not able to get through Linus's mail filters for past three weeks.

> 2.4.22-pre6-ac1             |         |               |
> CONFIG_FB=y                 | VGA=6   |  VGA=775      | vesa:0x31C
> CONFIG_VIDEO_SELECT=y       |         |               |
> ----------------------------+---------+---------------+---------------
> 2.6.0-test2                 |         |crashes        |crashes        
> CONFIG_FRAMEBUFFER_CONSOLE=y|  VGA=6  |after          |after          
> CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK

What means this? No useful data here... Oopses? Reboot?
Endless loop? And did you built vgacon into the kernel? And I'm
not sure that 2.6.0 can have both vesafb & matroxfb compiled in (well,
you can compile in both, but I'm not sure what happens).

And from your message above it looks like that you are building some 
vital matroxfb portions as a module. Please build them into the kernel 
unless you are really sure that you do not want console on them - while 
2.4.x's console could use modular fbdevs, 2.6.x's console subsytem 
cannot do that. 

You can also try ftp://platan.vc.cvut.cz/pub/linux/matrox-latest/matroxfb-2.5.72.gz
(if 2.6.0-test2-mm5 does not complain about unexported matrox_*_irq
it will probably not apply cleanly to it). It restores fbcon subsystem
to the 2.4.x's version.
                                            Petr
                                            


^ permalink raw reply	[flat|nested] 13+ messages in thread
* 2.6.0-test2 does not boot with matroxfb
@ 2003-08-08 15:45 Juergen Rose
  0 siblings, 0 replies; 13+ messages in thread
From: Juergen Rose @ 2003-08-08 15:45 UTC (permalink / raw)
  To: linux-kernel; +Cc: Petr Vandrovec

[-- Attachment #1: Type: text/plain, Size: 2871 bytes --]

I tried on my PC with a Matrox-G450 several kernel and boot options.
Every time when the console should work with matrox framebuffer, linux
was crashed. With 2.6.0-test2 and 2.6.0-test2-bk7 I had the following
warning performing ''make modules_install''
WARNING:
/lib/modules/2.6.0-test2[-bk7]/kernel/drivers/video/matrox/matroxfb_crtc2.ko needs unknown symbol matroxfb_enable_irq
This WARNING disapears for 2.6.0-test2-mm5. But also 2.6.0-test2-mm5
does not work with framebuffer. I tested the following combinations of
parameters:

                            |VGA = 6  |  VGA = 775    |
                            |         |               |video=matrox:
                            |         |               |   vesa:0x31C 
----------------------------+---------+---------------+---------------
2.4.22-pre6-ac1             |         |               |
CONFIG_FB=y                 | VGA=6   |  VGA=775      | vesa:0x31C
CONFIG_VIDEO_SELECT=y       |         |               |
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |crashes        |crashes        
CONFIG_FRAMEBUFFER_CONSOLE=y|  VGA=6  |after          |after          
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |               | 
CONFIG_FRAMEBUFFER_CONSOLE=y| 640x480 |  640x480      |  640x480
CONFIG_VIDEO_SELECT=n       |         |               |  
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |crashes        |crashes
without console-fb          |  VGA=6  |after          |after
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |               |
without console-fb          | 640x480 |  640x480      |  640x480
CONFIG_VIDEO_SELECT=n       |         |               |
----------------------------+---------+---------------+---------------
2.6.0-test2-bk7             |         |crashes        |crashes
with console-fb             | VGA=6   |after          |after
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------
2.6.0-test2-mm5             |         |crashes        |crashes
CONFIG_FRAMEBUFFER_CONSOLE=y| VGA=6   |after          |after
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------

Because I am afraid, that the lines of the table are wrapped by the mail
client, the is alsa attached to this mail. Any hint would very much
appreciated.

	Regards
		Juergen

-- 
Juergen Rose <rose@rz.uni-potsdam.de>
Max-Delbrueck-Zentrum

[-- Attachment #2: 2.6.0-test2_problems_table.txt --]
[-- Type: text/plain, Size: 2143 bytes --]

Results of some kernel and boot parameters:

                            |VGA = 6  |  VGA = 775    |
                            |         |               |video=matrox:
                            |         |               |   vesa:0x31C 
----------------------------+---------+---------------+---------------
2.4.22-pre6-ac1             |         |               |
CONFIG_FB=y                 | VGA=6   |  VGA=775      | vesa:0x31C
CONFIG_VIDEO_SELECT=y       |         |               |
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |crashes        |crashes        
CONFIG_FRAMEBUFFER_CONSOLE=y|  VGA=6  |after          |after          
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |               | 
CONFIG_FRAMEBUFFER_CONSOLE=y| 640x480 |  640x480      |  640x480
CONFIG_VIDEO_SELECT=n       |         |               |  
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |crashes        |crashes
without console-fb          |  VGA=6  |after          |after
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------
2.6.0-test2                 |         |               |
without console-fb          | 640x480 |  640x480      |  640x480
CONFIG_VIDEO_SELECT=n       |         |               |
----------------------------+---------+---------------+---------------
2.6.0-test2-bk7             |         |crashes        |crashes
with console-fb             | VGA=6   |after          |after
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------
2.6.0-test2-mm5             |         |crashes        |crashes
CONFIG_FRAMEBUFFER_CONSOLE=y| VGA=6   |after          |after
CONFIG_VIDEO_SELECT=y       |         |BIOS DATA CHECK|BIOS DATA CHECK
----------------------------+---------+---------------+---------------


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2003-08-11 19:35 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-09 11:40 2.6.0-test2 does not boot with matroxfb Jocelyn Mayer
2003-08-11 18:01 ` Jocelyn Mayer
2003-08-11 18:07   ` Dave Jones
2003-08-11 18:14     ` Greg KH
2003-08-11 18:55       ` Jocelyn Mayer
2003-08-11 18:56         ` Dave Jones
2003-08-11 19:10           ` Jocelyn Mayer
  -- strict thread matches above, loose matches on Subject: below --
2003-08-11 19:14 Petr Vandrovec
2003-08-11 18:29 Petr Vandrovec
2003-08-11 19:00 ` Jocelyn Mayer
2003-08-09 21:07 Juergen Rose
2003-08-08 16:16 Petr Vandrovec
2003-08-08 15:45 Juergen Rose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox