linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* vesafb on Savage4
@ 2004-08-03 10:43 Miernik
  2004-08-03 12:22 ` Antonino A. Daplas
  0 siblings, 1 reply; 4+ messages in thread
From: Miernik @ 2004-08-03 10:43 UTC (permalink / raw)
  To: linux-fbdev-devel


I have got a video card which identifies itself (before BIOS boots) as
S3 86C395/396/397. 

My lspci -vv output is:

0000:01:00.0 VGA compatible controller: S3 Inc. Savage 4 (rev 02) (prog-if 00 [VGA])
        Subsystem: S3 Inc. 86C394-397 Savage4
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 248 (1000ns min, 63750ns max), Cache Line Size: 0x08 (32 bytes)
        Interrupt: pin A routed to IRQ 11
        Region 0: Memory at d9000000 (32-bit, non-prefetchable) [size=512K]
        Region 1: Memory at d0000000 (32-bit, prefetchable) [size=128M]
        Capabilities: [dc] Power Management version 1
                Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-
        Capabilities: [80] AGP version 2.0
                Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA- ITACoh- GART64- HTrans- 64bit- FW- AGP3- Rate=x1,x2,x4
                Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP- GART64- 64bit- FW- Rate=<none>

The kernel is installed from a binary:
http://ftp.pl.debian.org/debian/pool/main/k/kernel-image-2.6.7-i386/kernel-image-2.6.7-1-k7_2.6.7-2_i386.deb

When the system is booted, in /var/log/kern.log there is:

Aug  3 13:52:19 localhost kernel: vesafb: probe of vesafb0 failed with error -6

przehyba:~# modprobe vesafb
przehyba:~# lsmod | grep vesafb
vesafb                  6688  0
cfbcopyarea             3776  1 vesafb
cfbimgblt               3072  1 vesafb
cfbfillrect             3712  1 vesafb
przehyba:~# cat /proc/fb
przehyba:~# fbset
open /dev/fb0: No such device
przehyba:~# ls -l /dev/fb0
crw-rw----  1 root video 29, 0 Aug  2 23:45 /dev/fb0
przehyba:~#

From these posts I can see that vesafb does work on Savage cards:

http://www.directfb.org/mailinglists/directfb-dev/2003/06-2003/msg00007.html
http://www.ussg.iu.edu/hypermail/linux/kernel/0011.0/0263.html

If I try savagefb, I get the same error that is decribed here:

http://www.directfb.org/mailinglists/directfb-dev/2003/09-2003/msg00044.html

How can I get any framebuffer working on this card?

-- 
    Miernik         ________________________   xmpp:miernik@amessage.info
___________________/__ tel: +48888299997 __/      mailto:miernik@ctnet.pl
http://www.miernik.ctnet.pl/                               GPG:0xABC292D1



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

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

* Re: vesafb on Savage4
  2004-08-03 10:43 vesafb on Savage4 Miernik
@ 2004-08-03 12:22 ` Antonino A. Daplas
  2004-08-03 12:53   ` Miernik
  0 siblings, 1 reply; 4+ messages in thread
From: Antonino A. Daplas @ 2004-08-03 12:22 UTC (permalink / raw)
  To: Miernik, linux-fbdev-devel

On Tuesday 03 August 2004 18:43, Miernik wrote:
>
> Aug  3 13:52:19 localhost kernel: vesafb: probe of vesafb0 failed with
> error -6

The error is -ENXIO and in vesafb it means that your graphics card failed to 
go to graphics mode.

Can you post your dmesg and kernel config?

Tony




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

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

* Re: vesafb on Savage4
  2004-08-03 12:22 ` Antonino A. Daplas
@ 2004-08-03 12:53   ` Miernik
  2004-08-03 21:26     ` Antonino A. Daplas
  0 siblings, 1 reply; 4+ messages in thread
From: Miernik @ 2004-08-03 12:53 UTC (permalink / raw)
  To: linux-fbdev-devel

Antonino A. Daplas <adaplas@hotpop.com> wrote:
> On Tuesday 03 August 2004 18:43, Miernik wrote:
>>
>> Aug  3 13:52:19 localhost kernel: vesafb: probe of vesafb0 failed with
>> error -6
> 
> The error is -ENXIO and in vesafb it means that your graphics card 
> failed to go to graphics mode.
> 
> Can you post your dmesg and kernel config?


http://www.miernik.ctnet.pl/problems/savage4-fb/

It finally worked, when I added
vga=0x314 video=vesa:mtrr,ywrap 
to my kernel parameters. 

With only vga=8 as a kernel parameters, and then trying
modprobe vesafb
fbset
it didn't want to work, should it?

-- 
    Miernik         ________________________   xmpp:miernik@amessage.info
___________________/__ tel: +48888299997 __/      mailto:miernik@ctnet.pl
http://www.miernik.ctnet.pl/                               GPG:0xABC292D1



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

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

* Re: Re: vesafb on Savage4
  2004-08-03 12:53   ` Miernik
@ 2004-08-03 21:26     ` Antonino A. Daplas
  0 siblings, 0 replies; 4+ messages in thread
From: Antonino A. Daplas @ 2004-08-03 21:26 UTC (permalink / raw)
  To: Miernik, linux-fbdev-devel

On Tuesday 03 August 2004 20:53, Miernik wrote:
> Antonino A. Daplas <adaplas@hotpop.com> wrote:
> > On Tuesday 03 August 2004 18:43, Miernik wrote:
> >> Aug  3 13:52:19 localhost kernel: vesafb: probe of vesafb0 failed with
> >> error -6
> >
> > The error is -ENXIO and in vesafb it means that your graphics card
> > failed to go to graphics mode.
> >
> > Can you post your dmesg and kernel config?
>
> http://www.miernik.ctnet.pl/problems/savage4-fb/
>
> It finally worked, when I added
> vga=0x314 video=vesa:mtrr,ywrap
> to my kernel parameters.
>
> With only vga=8 as a kernel parameters, and then trying
> modprobe vesafb
> fbset
> it didn't want to work, should it?

No, the stock kernel vesafb cannot be compiled as a module, nor can you use 
fbset, unless the distribution patched the kernel with a modified vesafb (ie, 
vesafb-tng).

Tony




-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com

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

end of thread, other threads:[~2004-08-03 21:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-03 10:43 vesafb on Savage4 Miernik
2004-08-03 12:22 ` Antonino A. Daplas
2004-08-03 12:53   ` Miernik
2004-08-03 21:26     ` Antonino A. Daplas

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).