LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2009, 06:27 PM   #1
btbx
Member
 
Registered: Jun 2007
Posts: 67

Rep: Reputation: 15
Question SVGAlib With Kernel 2.6.28


I try to compile svgalib 1.9.25 library with Kernel 2.6.28 and found different output when I try to compile the same library with Kernel 2.6.26.3.

> ls -lS /dev/svga*
Result on Kernel Linux-2.6.26.3:
crw-rw-rw- 1 root root 209, 0 /dev/svga
crw-rw-rw- 1 root root 209, 1 /dev/svga1

> ls -lS /dev/svga*
Result on Kernel Linux-2.6.28:
crw-rw-rw- 1 root root 209, 0 /dev/svga0
crw-rw-rw- 1 root root 209, 1 /dev/svga11

I use 3 svgalib patches on Kernel 2.6.28:
svgalib-1.9.25-build.patch
svgalib-1.9.25-linux2.6.patch
svgalib-1.9.25-linux2.6.28.patch
You can download it from here:
http://www.megaupload.com/?d=X07G8LLR

I use the same svgalib patches on Kernel 2.6.26.3.
(except svgalib-1.9.25-linux2.6.28.patch)

On the Kernel 2.6.26.3, the result is correct, because there is a "/dev/svga" file.
On Kernel 2.6.28, there is no such file, instead a "/dev/svga0" file. Most svgalib applications failed on Kernel 2.6.28, because the applications expect to use "/dev/svga".
The possible workaround is creating symbolic link:
ln -s /dev/svga0 /dev/svga

Is this a bug or something wrong with the patch?
Thank you
 
  


Reply

Tags
patch


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
cannot install svgalib: kernel too old rdx Slackware 14 12-17-2007 06:36 AM
SVGALIB permissions different depending on kernel 2.4 or 2.6? gargamel Slackware 0 09-06-2006 08:08 PM
svgalib error with 2.6.15.2 kernel Mercurius Slackware 1 02-20-2006 05:29 AM
svgalib and the 2.6.11 kernel kodon Slackware 9 06-19-2005 02:23 PM
Svgalib and Svgalib-devel on FC1 Michele Spinolo Fedora 1 11-11-2004 09:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:33 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