LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-10-2004, 01:33 PM   #1
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Rep: Reputation: 0
Ibm 701c and framebuffer trouble


Hello there.

I have an IBM 701c 'Butterfly' laptop. I have Slackware 10 running on it.
It uses the Chips And Tech CT65545 chipset, and it is capable of doing 640x480@256 colors on the screen. And 1024x768 if i hook up an external monitor.
Now, my trouble is that I can not for the love of god get the framebuffer to work.
I use lilo as my bootloader, and i have this in it:

Code:
boot = /dev/hda 
prompt 
timeout = 05 
image = /boot/vmlinuz 
root = /dev/hda2 
label = hda2 
vga = normal # I can put 0x301 (640x480@256) here, but it'll complain about an unknown mode, and prompts me to select another mode 
append="video=vesa:ywrap,mtrr" 
read-only
However, when i boot with whatever videomode i select (a couple of new ones appear if i choose to scan), the framebuffer does not get started, however if i chose 132x50 as the videomode, the text goes over the edge of the screen.
Now, I'm pretty sure the grafics card is vesa2.0 compliant, as it says so in the spreadsheet. So that shouldn't be the problem.
The odd thing is, i had debian woody installed, and i saw the little penguin when i booted, so it has to be able to work. I just can't for the love of godmake it work. Argh.
My dmseg dosen't show anything relating to framebuffer or vesa, and it just prints that the console is 80x25 as normal.
Now. Does anyone have an idea as what could be the problem?
The slackware standard kernel does have support for framebuffer, so that shouldn't be the problem.
I hope one of you know Thanks in advance.

Anders
 
Old 10-10-2004, 02:07 PM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
did you try to set vga with decimal value instead of hexadecimal ?
in this case 0x301=769

So try vga=769 to see...
 
Old 10-10-2004, 02:10 PM   #3
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
Ah yes, I wrote the wrong number in the first post. I use GRUB on my primary workstation, and confused the two. I have tried with vga=769
 
Old 10-10-2004, 02:26 PM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
for grub, try to put all setting in one line like :

kernel /vmlinuz ro root=/dev/hda2 vga=769 video=vesa:ywrap,mtrr

or try to remove video=vesa:ywrap,mtrr if that fails again
 
Old 10-10-2004, 02:30 PM   #5
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
You misunderstood me, I use lilo for the laptop. I just mixed the setting up with the one from my GRUB config on my main workstation.
I have tried both without and with the "video=vesa:ywrap,mtrr" part, and no luck.
Seeing as it has worked with Debian woody 2.4.18-kernel, I would think that it is a kernel problem. And I'd rather not have to recompile the kernel, as it is a 75MHz, and it would take forever.
I should say that I have tried with both the 2.6 and 2.4 kernel of Slackware.

Last edited by Anders Kraneled; 10-10-2004 at 02:32 PM.
 
Old 10-10-2004, 02:38 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
You have to recompile kernel with the proper vesa module, but why not compile it in a fast machine than insall it in the laptop ?
 
Old 10-10-2004, 02:41 PM   #7
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
To be honest, I'm not quite sure how I would go about doing that.
I know how to compile the kernel, but what about modules etc. that need to be copied over?
I guess I should go and find out how to do that..
Also, you wouldnt happen to know what VESA module is needed?
 
Old 10-10-2004, 02:48 PM   #8
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
You could compile the kernel, then do not make modules_install but repack the kernel directory :

tar czvf kernel.tar.gz <kernel directory>

the copy it in laptop, untar it, cd into it and run make modules_install, then make the final kernel install steps

For kernel 2.6.7, here are features that enable framebuffer :

CONFIG_FB=y
CONFIG_FB_VESA=y
CONFIG_FRAMEBUFFER_CONSOLE=y
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y

# optional
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
 
Old 10-10-2004, 02:52 PM   #9
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
I see, but I believe that those options are already compiled in, is that correct?
Edit:
(And I'm running 2.4, is the options the same?)

Last edited by Anders Kraneled; 10-10-2004 at 02:55 PM.
 
Old 10-10-2004, 02:55 PM   #10
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Not the CONFIG_FB_VESA=y I think. With kernel compile you are sure that framebuffer is compiled as built in so it load fine at boot.
 
Old 10-10-2004, 02:56 PM   #11
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
I am looking at the /boot/config-ide-2.4.26 config file now, and that option is infact set..
That would mean it *should* work if I'm not mistaken. However, it just dosent.
 
Old 10-10-2004, 03:05 PM   #12
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
I did forget that it works well with 2.4 slackware kernel. Could you post your lilo config, (complete or the boot section part) to make sure ?
 
Old 10-10-2004, 03:11 PM   #13
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
Sure, this is the part that boots the kernel:
Code:
        image   =       /boot/vmlinuz-ide-2.4.26
        root    =       /dev/hda2
        label   =       2.4
        vga     =       769
        read-only
 
Old 10-10-2004, 03:13 PM   #14
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
try :
append="vga=769"
to see...
 
Old 10-10-2004, 03:19 PM   #15
Anders Kraneled
LQ Newbie
 
Registered: Oct 2004
Distribution: Slackware & Archlinux
Posts: 13

Original Poster
Rep: Reputation: 0
Lilo's not able to use vga=xxx in the APPEND="" funktion, it wants it in a seperate funktion..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with kernel, slackware, less, framebuffer djeikyb Slackware 11 11-16-2005 03:10 AM
Dell Inspiron 1150 Framebuffer Trouble Falados Linux - Hardware 8 07-03-2005 05:09 PM
Cardbus trouble on IBM Thinkpad 600 astroem Linux - Laptop and Netbook 2 02-21-2005 08:22 AM
IBM optical Mouse trouble Kilahchris Linux - Hardware 0 01-22-2003 10:47 PM
IBM ThinkPad 755CX and 701C mindscape Linux - Newbie 1 11-25-2002 10:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration