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

Re: kernel-2.6.0-0.1.14.i686 and...



On Sat, 2003-12-20 at 17:50, RaXeT wrote:

> >>I saw the earlier message that it doesnâ??t matter, but still shouldnâ??t
> >>there
> >>
> >>be a way to get rid of the annoying kernel boot messages?

You must get worked up easily. However, if you simply cannot sleep at
night until those messages from rc.sysinit go away, apply the attached
patch to /etc/rc.d/rc.sysinit.

All the patch does is to comment out the loading of usb filesystem,
keybdev and mousedev, which don't exist in 2.6 (they're all still
supported, but they're compiled in now, at least keybdev/mousedev
functionality is).

~spot
---
Tom "spot" Callaway <tcallawa(a)redhat*com> LCA, RHCE 
Red Hat Sales Engineer || Aurora SPARC Linux Project Leader

"The author's mathematical treatment of the conception of purpose is
novel and highly ingenious, but heretical and, so far as the present
social order is concerned, dangerous and potentially subversive. Not to
be published." -- Aldous Huxley's "Brave New World"
--- ./rc.sysinit.BAD	2003-12-20 22:54:22.173436576 -0600
+++ ./rc.sysinit	2003-12-20 22:55:00.136665288 -0600
@@ -196,17 +196,17 @@
   fi
 fi
 
-if [ $usb = 1 -a ! -f /proc/bus/usb/devices ]; then
-    action $"Mounting USB filesystem: "  mount -t usbdevfs usbdevfs /proc/bus/usb
-fi
+# if [ $usb = 1 -a ! -f /proc/bus/usb/devices ]; then
+#    action $"Mounting USB filesystem: "  mount -t usbdevfs usbdevfs /proc/bus/usb
+# fi
 
 needusbstorage=
-if [ $usb = "1" ]; then
-    needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null`
-    LC_ALL=C fgrep 'hid' /proc/bus/usb/drivers || action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
-    action $"Initializing USB keyboard: " modprobe keybdev 2> /dev/null
-    action $"Initializing USB mouse: " modprobe mousedev 2> /dev/null 
-fi
+# if [ $usb = "1" ]; then
+#    needusbstorage=`LC_ALL=C grep -e "^I.*Cls=08" /proc/bus/usb/devices 2>/dev/null`
+#    LC_ALL=C fgrep 'hid' /proc/bus/usb/drivers || action $"Initializing USB HID interface: " modprobe hid 2> /dev/null
+#     action $"Initializing USB keyboard: " modprobe keybdev 2> /dev/null
+#    action $"Initializing USB mouse: " modprobe mousedev 2> /dev/null 
+# fi
 
 if [ -f /fastboot ] || strstr "$cmdline" fastboot ; then
 	fastboot=yes

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