[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RH8 and 2.4.20 kernels



From the shorewall list:

Date: Thu, 05 Dec 2002 19:54:15 -0800
From: Tom Eastep <teastep@shorewall.net>
To: Shorewall Announcements <shorewall-announce@shorewall.net>,
	Shorewall Users <shorewall-users@shorewall.net>
Subject: [Shorewall-users] Running Kernel 2.4.20 Under RH8.0

If you decide to run kernel 2.4.20 under RH8.0, you may want to apply the 
following patch in /etc/rc.d:

--- rc.sysinit.orig  2002-08-22 14:10:52.000000000 -0700
+++ rc.sysinit      2002-12-05 19:46:31.000000000 -0800
@@ -178,8 +178,8 @@
 if [ $usb = "1" ]; then
     needusbstorage=`grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null`
     action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
-    action $"Initializing USB keyboard: " modprobe keybdev
-    action $"Initializing USB mouse: " modprobe mousedev
+    [ -f /lib/modules/`uname -r`/kernel/drivers/input/keybdev.o ] && 
action $"Initializing USB keyboard: " modprobe keybdev
+    [ -f /lib/modules/`uname -r`/kernel/drivers/input/mousedev.o ] && 
action $"Initializing USB mouse: " modprobe mousedev
 fi

 if [ -f /fastboot ] || grep -iq "fastboot" /proc/cmdline 2>/dev/null ; then

The kernels released with RH8 include the files /lib/modules/`uname 
-r`/kernel/drivers/input/keybdev.o and mousedev.o - kernel 2.4.20 
integrates the function of these modules into the HID module so those files 
aren't present. The above patch eliminates some uncomfortable messages that 
are issued during the bootup of 2.4.20 as a result of the mentioned files 
being absent.

-Tom
--
Tom Eastep    \ Shorewall - iptables made easy
AIM: tmeastep  \ http://shorewall.sf.net
ICQ: #60745924  \ teastep@shorewall.net


---------------------------------------------
http://www.valuenet.net



-
To unsubscribe, send email to majordomo@luci.org with
"unsubscribe luci-discuss" in the body.