Problems after compiling new kernel

Quillen, Channon yellowdog-newbie@lists.terrasoftsolutions.com
Mon, 15 Sep 2003 08:27:30 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

----=_NextPart_ST_08_27_47_Monday_September_15_2003_882
Content-Type: text/plain

Charles-

Did you save your original .config file?  You may want to compare it to the
new one you created.  If you don't then look in /usr/src/linux-2.4/configs/.
I believe kernel-2.4.20-ppc.config is the general purpose config.

Do you still have the previous kernel installed?  Reboot the machine with
the previous kernel and run 'dmesg'.  You'll want to write this output to
another file 'dmesg >/kernel1.txt'.  Reboot again with your compiled kernel,
and do the same.  Now, compare the two outputs.

Look for differences regarding the specific errors you listed.

I had similar problems compiling a kernel in RHL 8.0 and found that I didn't
select module support for some things that should have been selected.


Happy kernel compiling...
-Channon 

-----Original Message-----
From: Charles Trois [mailto:charles.trois@wanadoo.fr] 
Sent: Saturday, September 13, 2003 11:40 AM
To: yellowdog-newbie@lists.terrasoftsolutions.com
Subject: Problems after compiling new kernel

Hello!

In my YDL 3.0, I compiled a kernel with a new .config and installed it.
It boots more or less normally, except that the logs show the following
errors.

(1)

usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len 18 ret -110

What does it mean? Is it important? May I neglect it?

(2)

Sep 13 13:39:33 sirrah iptables: Can't locate module ip_tables
Sep 13 13:39:33 sirrah iptables: iptables v1.2.6a: can't initialize iptables
table `filter': iptables who? (do you need to insmod?)
Sep 13 13:39:38 sirrah autofs: automount startup succeeded
Sep 13 13:39:33 sirrah iptables: Perhaps iptables or your kernel needs to be
upgraded. 
Sep 13 13:39:33 sirrah iptables:  failed

What is that? What would produce a module ip_tables? iptables-1.2.6a-2 and
iptables-ipv6-1.2.6a-2 are installed.

(3)

Sep 13 12:35:46 sirrah sysctl: error: 'dev.mac_hid.mouse_button_emulation'
is an unknown key
Sep 13 12:35:46 sirrah mouse-emulation: Enabling mouse button emulation:
failed
Sep 13 12:35:46 sirrah sysctl: error: 'dev.mac_hid.mouse_button2_keycode' is
an unknown key
Sep 13 12:35:46 sirrah mouse-emulation: Configuring mouse emulation button
2:  failed
Sep 13 12:35:46 sirrah sysctl: error: 'dev.mac_hid.mouse_button3_keycode' is
an unknown key
Sep 13 12:35:46 sirrah mouse-emulation: Configuring mouse emulation button
3:  failed

This is really annoying: I have lost the button emulation.
On the YDL site, there are two Howto's (enable button emulation), but they
do not seem to apply here: they refer to a file /etc/sysconfig/mouse,
whereas there are in fact two files, /etc/sysconfig/mouse and
/etc/sysconfig/mouse-emulation. Both seem to be in order. Then what is there
to do? 
An attempt to run
/sbin/sysctl -w dev.mac_hid.mouse_button2_keycode=68
produces the reply
'dev.mac_hid.mouse_button2_keycode' is an unknown key.

I suppose that the trouble comes from the new kernel, but I can't find an
entry in the .config file that could possibly cause it.

All suggestions on these problems will be gratefully received.

Charles


_______________________________________________
yellowdog-newbie mailing list
yellowdog-newbie@lists.terrasoftsolutions.com
http://lists.terrasoftsolutions.com/mailman/listinfo/yellowdog-newbie

----=_NextPart_ST_08_27_47_Monday_September_15_2003_882
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3DUS-ASCII"=
>
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version 5.5.2653.12"=
>
<TITLE>RE: Problems after compiling new kernel</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Charles-</FONT>
</P>

<P><FONT SIZE=3D2>Did you save your original .config file?&nbsp; You may wa=
nt to compare it to the new one you created.&nbsp; If you don't then look i=
n /usr/src/linux-2.4/configs/.&nbsp; I believe kernel-2.4.20-ppc.config is =
the general purpose config.</FONT></P>

<P><FONT SIZE=3D2>Do you still have the previous kernel installed?&nbsp; Re=
boot the machine with the previous kernel and run 'dmesg'.&nbsp; You'll wan=
t to write this output to another file 'dmesg &gt;/kernel1.txt'.&nbsp; Rebo=
ot again with your compiled kernel, and do the same.&nbsp; Now, compare the=
 two outputs.</FONT></P>

<P><FONT SIZE=3D2>Look for differences regarding the specific errors you li=
sted.</FONT>
</P>

<P><FONT SIZE=3D2>I had similar problems compiling a kernel in RHL 8.0 and =
found that I didn't select module support for some things that should have =
been selected.</FONT></P>
<BR>

<P><FONT SIZE=3D2>Happy kernel compiling...</FONT>
<BR><FONT SIZE=3D2>-Channon </FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Charles Trois [<A HREF=3D"mailto:charles.trois@wan=
adoo.fr">mailto:charles.trois@wanadoo.fr</A>] </FONT>
<BR><FONT SIZE=3D2>Sent: Saturday, September 13, 2003 11:40 AM</FONT>
<BR><FONT SIZE=3D2>To: yellowdog-newbie@lists.terrasoftsolutions.com</FONT>
<BR><FONT SIZE=3D2>Subject: Problems after compiling new kernel</FONT>
</P>

<P><FONT SIZE=3D2>Hello!</FONT>
</P>

<P><FONT SIZE=3D2>In my YDL 3.0, I compiled a kernel with a new .config and=
 installed it.</FONT>
<BR><FONT SIZE=3D2>It boots more or less normally, except that the logs sho=
w the following</FONT>
<BR><FONT SIZE=3D2>errors.</FONT>
</P>

<P><FONT SIZE=3D2>(1)</FONT>
</P>

<P><FONT SIZE=3D2>usbdevfs: USBDEVFS_CONTROL failed dev 3 rqt 128 rq 6 len =
18 ret -110</FONT>
</P>

<P><FONT SIZE=3D2>What does it mean? Is it important? May I neglect it?</FO=
NT>
</P>

<P><FONT SIZE=3D2>(2)</FONT>
</P>

<P><FONT SIZE=3D2>Sep 13 13:39:33 sirrah iptables: Can't locate module ip_t=
ables</FONT>
<BR><FONT SIZE=3D2>Sep 13 13:39:33 sirrah iptables: iptables v1.2.6a: can't=
 initialize iptables</FONT>
<BR><FONT SIZE=3D2>table `filter': iptables who? (do you need to insmod?)</=
FONT>
<BR><FONT SIZE=3D2>Sep 13 13:39:38 sirrah autofs: automount startup succeed=
ed</FONT>
<BR><FONT SIZE=3D2>Sep 13 13:39:33 sirrah iptables: Perhaps iptables or you=
r kernel needs to be</FONT>
<BR><FONT SIZE=3D2>upgraded. </FONT>
<BR><FONT SIZE=3D2>Sep 13 13:39:33 sirrah iptables:&nbsp; failed</FONT>
</P>

<P><FONT SIZE=3D2>What is that? What would produce a module ip_tables? ipta=
bles-1.2.6a-2 and</FONT>
<BR><FONT SIZE=3D2>iptables-ipv6-1.2.6a-2 are installed.</FONT>
</P>

<P><FONT SIZE=3D2>(3)</FONT>
</P>

<P><FONT SIZE=3D2>Sep 13 12:35:46 sirrah sysctl: error: 'dev.mac_hid.mouse_=
button_emulation'</FONT>
<BR><FONT SIZE=3D2>is an unknown key</FONT>
<BR><FONT SIZE=3D2>Sep 13 12:35:46 sirrah mouse-emulation: Enabling mouse b=
utton emulation:</FONT>
<BR><FONT SIZE=3D2>failed</FONT>
<BR><FONT SIZE=3D2>Sep 13 12:35:46 sirrah sysctl: error: 'dev.mac_hid.mouse=
_button2_keycode' is</FONT>
<BR><FONT SIZE=3D2>an unknown key</FONT>
<BR><FONT SIZE=3D2>Sep 13 12:35:46 sirrah mouse-emulation: Configuring mous=
e emulation button</FONT>
<BR><FONT SIZE=3D2>2:&nbsp; failed</FONT>
<BR><FONT SIZE=3D2>Sep 13 12:35:46 sirrah sysctl: error: 'dev.mac_hid.mouse=
_button3_keycode' is</FONT>
<BR><FONT SIZE=3D2>an unknown key</FONT>
<BR><FONT SIZE=3D2>Sep 13 12:35:46 sirrah mouse-emulation: Configuring mous=
e emulation button</FONT>
<BR><FONT SIZE=3D2>3:&nbsp; failed</FONT>
</P>

<P><FONT SIZE=3D2>This is really annoying: I have lost the button emulation=
=2E</FONT>
<BR><FONT SIZE=3D2>On the YDL site, there are two Howto's (enable button em=
ulation), but they</FONT>
<BR><FONT SIZE=3D2>do not seem to apply here: they refer to a file /etc/sys=
config/mouse,</FONT>
<BR><FONT SIZE=3D2>whereas there are in fact two files, /etc/sysconfig/mous=
e and</FONT>
<BR><FONT SIZE=3D2>/etc/sysconfig/mouse-emulation. Both seem to be in order=
=2E Then what is there</FONT>
<BR><FONT SIZE=3D2>to do? </FONT>
<BR><FONT SIZE=3D2>An attempt to run</FONT>
<BR><FONT SIZE=3D2>/sbin/sysctl -w dev.mac_hid.mouse_button2_keycode=3D68</=
FONT>
<BR><FONT SIZE=3D2>produces the reply</FONT>
<BR><FONT SIZE=3D2>'dev.mac_hid.mouse_button2_keycode' is an unknown key.</=
FONT>
</P>

<P><FONT SIZE=3D2>I suppose that the trouble comes from the new kernel, but=
 I can't find an</FONT>
<BR><FONT SIZE=3D2>entry in the .config file that could possibly cause it.<=
/FONT>
</P>

<P><FONT SIZE=3D2>All suggestions on these problems will be gratefully rece=
ived.</FONT>
</P>

<P><FONT SIZE=3D2>Charles</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>_______________________________________________</FONT>
<BR><FONT SIZE=3D2>yellowdog-newbie mailing list</FONT>
<BR><FONT SIZE=3D2>yellowdog-newbie@lists.terrasoftsolutions.com</FONT>
<BR><FONT SIZE=3D2><A HREF=3D"http://lists.terrasoftsolutions.com/mailman/l=
istinfo/yellowdog-newbie" TARGET=3D"_blank">http://lists.terrasoftsolutions=
=2Ecom/mailman/listinfo/yellowdog-newbie</A></FONT>
</P>

</BODY>
</HTML>
----=_NextPart_ST_08_27_47_Monday_September_15_2003_882--