239 lines
8.8 KiB
HTML
239 lines
8.8 KiB
HTML
<!--startcut ==============================================-->
|
|
<!-- *** BEGIN HTML header *** -->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML><HEAD>
|
|
<META NAME="generator" CONTENT="lgazmail v1.4G.j">
|
|
<TITLE>The Answer Gang 93: Kernel Compiling and Framebuffer Device</TITLE>
|
|
</HEAD><BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#0000AF"
|
|
ALINK="#FF0000">
|
|
<!-- *** END HTML header *** -->
|
|
<!--endcut ==============================================-->
|
|
<!-- begin 5 -->
|
|
<H3 align="left"><img src="../../gx/dennis/qbubble.gif"
|
|
height="50" width="60" alt="(?) " border="0"
|
|
>Kernel Compiling and Framebuffer Device</H3>
|
|
|
|
|
|
<p><strong>From Priit Kivisoo
|
|
</strong></p>
|
|
<p></strong></p>
|
|
|
|
<p align="right"><strong>Answered By: Benjamin A. Okopnik, Thomas Adam
|
|
</strong></p>
|
|
<P><STRONG>
|
|
Hello.
|
|
</STRONG></P>
|
|
<P><STRONG>
|
|
I have a problem compiling kernel (2.2.19 currently) on
|
|
<A HREF="http://www.debian.org/">Debian</A> GNU/Linux 2.2r6. Every time I compile it, after rebooting,
|
|
I get messages like:
|
|
</STRONG></P>
|
|
|
|
<pre><strong>depmod: *** Unresolved symbols in /lib/modules/2.2.19/sound/sound.o
|
|
</strong></pre>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
</blockQuote>
|
|
<blockQuote>
|
|
It sounds like the modules are not being installed after the kernel
|
|
compilation. I've seen the "standard procedure" fail to do so unless the
|
|
original modules subdirectory was renamed or deleted. So, for those
|
|
times when you're not sure what's going on, here's Ben's Patented Kernel
|
|
Recompile with Tasty Module Sauce on top (all done as root, of course):
|
|
</blockQuote>
|
|
<p align="center">See attached <tt><a href="../misc/tag/ben-compilekernel.txt">ben-compilekernel.txt</a></tt></p>
|
|
<blockQuote>
|
|
This assumes that you only have the one kernel source tree installed -
|
|
obviously, you'd need to "cd" to the appropriate source directory if you
|
|
have more than one - and that your current kernel version is the same as
|
|
the one you're running (if it's not, ignore the "version" variable and
|
|
type out the right numbers.) I'm also not showing any of the output for
|
|
clarity's sake.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Thomas]
|
|
I am wondering whether or not your "modules.dep" file is up to date. As
|
|
"root", issue:
|
|
</blockQuote>
|
|
|
|
<blockquote><pre>depmod -a
|
|
</pre></blockquote>
|
|
<blockQuote>
|
|
just to be safe.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
Sound support is usually loaded via a module and those settings are stored
|
|
in "<TT>/etc/modules.conf</TT>". Check that those settings are accurate for your
|
|
card. As you are running Debian, take a look at:
|
|
</blockQuote>
|
|
|
|
<blockquote><pre>man \1 update-modules
|
|
</pre></blockquote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
Good point, Thomas! Although that's supposed to happen automatically
|
|
during boot (Debian does it via "<TT>/etc/init.d/modutils</TT>"), it could fail,
|
|
or not run for some reason. If you see a whole bunch of error messages
|
|
when you do the above,though, chances are that you've got a mismatched
|
|
between your kernel and modules.
|
|
</blockQuote>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Also, I was wandering, if someone can tell me, why can't I
|
|
use framebuffer device using 32k, It works only with 256 colours
|
|
for me... When I use 32k (or 16k), I can't see the cute penguin, not
|
|
mentioning X (well, I use XFree86 3.3.11, which came with the distribution,
|
|
I have ATI Rage Fury Pro AGP, which SuperProbe can't detect - any
|
|
suggestions to that? XFree86 4.* on <A HREF="http://www.slackware.org/">Slackware</A> 8.0.0 can't recognize
|
|
it either...). I get message:
|
|
</STRONG></P>
|
|
|
|
<pre><strong>Fatal server error:
|
|
fbdevScreenInit: unableto set screen params (Invalid argument)
|
|
</strong></pre>
|
|
|
|
<font color="red"><blockquote><em>At press time, I was unable to reply back to this e-mail. I think the
|
|
above error message is as a result of bad modelines that the kernel
|
|
cannot handle.
|
|
-- Thomas Adam</em></blockquote></font>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Oh, btw, framebuffer worked perfectly on Slackware 8.0.0 - even
|
|
1024x768x32k worked fine... And Debian 2.2r6 didn't have framebuffer
|
|
compiled in kernel, I compiled it myself - maybe I did something wrong,
|
|
even though I tried to follow the 'Framebuffer-HOWTO'.
|
|
</STRONG></P>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
</blockQuote>
|
|
<blockQuote>
|
|
Sorry, framebuffer is outside my area of expertise. Someone else here
|
|
might be able to help, though.
|
|
</blockQuote>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Thomas]
|
|
|
|
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)"
|
|
height="24" width="20" align="middle"> Well, I might
|
|
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)"
|
|
height="24" width="20" align="middle"> Framebuffer support is in the experimental part of the
|
|
kernel, so you have to enable "experimental" in Code Maturity Options (as
|
|
I assume you have).
|
|
</blockQuote>
|
|
<blockQuote>
|
|
If you are using Lilo, make sure that your "vga=" line for the appropriate
|
|
stanza is set like this:
|
|
</blockQuote>
|
|
|
|
<blockquote><pre>vga=0x317
|
|
</pre></blockquote>
|
|
<blockQuote>
|
|
Then run "<TT>/sbin/lilo</TT>"!!!! That'll give you 1024x786x16 colour bit.
|
|
</blockQuote>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
Also, I just have to say, that You all at the Gazette, have done
|
|
a great job in helping Linux users worldwide... Thank You for that!
|
|
</STRONG></P>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
<smile> Thank you, Priit! Much appreciated, and glad you're enjoying the
|
|
Gazette.
|
|
</blockQuote>
|
|
<P><STRONG>
|
|
<IMG SRC="../../gx/dennis/qbub.gif" ALT="(?)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
>
|
|
PS! Sorry about the following ad-s from hot.ee, because
|
|
I didn't have any mail client available... sry.
|
|
</STRONG></P>
|
|
<blockQuote>
|
|
<IMG SRC="../../gx/dennis/bbub.gif" ALT="(!)"
|
|
HEIGHT="28" WIDTH="50" BORDER="0"
|
|
> [Ben]
|
|
Hey, Estonian ads. Cool. Don't think I'd seen those before... when I
|
|
passed through Tallinn 30+ years ago, they didn't have those yet.
|
|
<IMG SRC="../../gx/dennis/smily.gif" ALT=":)"
|
|
height="24" width="20" align="middle"> I'm
|
|
</blockQuote>
|
|
|
|
<!-- end 5 -->
|
|
<!-- *** BEGIN copyright *** -->
|
|
<hr>
|
|
<CENTER><SMALL><STRONG>
|
|
<h5>
|
|
<br>Copyright © 2003
|
|
<br>Copying license <A HREF="">http://www.linuxgazette.com/copying.html</A>
|
|
<BR>Published in Issue 93 of <i>Linux Gazette</i>, August 2003</H5>
|
|
</STRONG></SMALL></CENTER>
|
|
<!-- *** END copyright *** -->
|
|
|
|
<SMALL><CENTER><H6 ALIGN="center">HTML script maintained by
|
|
<A HREF="mailto:star@starshine.org">Heather Stern</a> of
|
|
Starshine Technical Services,
|
|
<A HREF="http://www.starshine.org/">http://www.starshine.org/</A>
|
|
</H6></SMALL></CENTER>
|
|
<HR>
|
|
|
|
<!--startcut ======================================================= -->
|
|
<P> <hr>
|
|
<!-- begin tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<p align="center">
|
|
<table width="100%" border="0"><tr>
|
|
<td align="right" valign="center"
|
|
><IMG ALT="" SRC="../../gx/navbar/left.jpg"
|
|
WIDTH="14" HEIGHT="45" BORDER="0" ALIGN="middle" border="0"
|
|
><A HREF="../index.html"
|
|
><IMG SRC="../../gx/navbar/toc.jpg" align="middle"
|
|
ALT="[ Table Of Contents ]" border="0"></A
|
|
><A HREF="../lg_answer.html"
|
|
><IMG SRC="../../gx/dennis/answertoc.jpg" align="middle"
|
|
ALT="[ Answer Guy Current Index ]" border="0"></A></td>
|
|
<td align="center" valign="center"><A HREF="../lg_answer.html#greeting"><img align="middle"
|
|
src="../../gx/dennis/smily.gif" alt="greetings" border="0"></A>
|
|
<A HREF="../../tag/bios.html">Meet the Gang</A>
|
|
<A HREF="1.html">1</A>
|
|
<A HREF="2.html">2</A>
|
|
<A HREF="3.html">3</A>
|
|
<A HREF="4.html">4</A>
|
|
<A HREF="5.html">5</A>
|
|
<A HREF="6.html">6</A>
|
|
</td>
|
|
<td align="left" valign="center"><A HREF="../../tag/kb.html"
|
|
><IMG SRC="../../gx/dennis/answerpast.jpg" align="middle"
|
|
ALT="[ Index of Past Answers ]" border="0"></A
|
|
><IMG ALT="" SRC="../../gx/navbar/right.jpg" align="middle"
|
|
WIDTH="14" HEIGHT="45" BORDER="0"></td></tr></table>
|
|
</p>
|
|
<!-- end tagnav ::::::::::::::::::::::::::::::::::::::::::::::::::::-->
|
|
<!--endcut ========================================================= -->
|
|
<P> <hr>
|
|
<!--startcut ======================================================= -->
|
|
<CENTER>
|
|
<!-- *** BEGIN navbar *** -->
|
|
<!-- *** END navbar *** -->
|
|
</CENTER>
|
|
</p>
|
|
<!--endcut ========================================================= -->
|
|
<!--startcut ======================================================= -->
|
|
</BODY></HTML>
|
|
<!--endcut ========================================================= -->
|