when /etc/init.d/clock is executed during startup modprobe complains about missing /dev/rtc and /dev/misc. Even if I remove clock from the default runlevel, it's still required by syslog-ng. There's a check in clock script for UML (User Mode Linux I guess). Adding such check for coLinux would be nice. One may check for the presense of /dev/cobd* for example. My system is: Portage 2.0.50-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r9, 2.4.26-co-0.6.1) ================================================================= System uname: 2.4.26-co-0.6.1 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.4.10 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm avi berkdb cdr crypt cups encode esd foomaticdb gdbm gif gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib" Reproducible: Always Steps to Reproduce:
using /dev/cobd* is not a valid check what does /proc/cpuinfo report ? what about `uname -a` ?
Created attachment 41965 [details] (uname -a; cat /proc/cpuinfo /proc/devices) output
Created attachment 41966 [details] (uname -a; cat /proc/cpuinfo /proc/devices) output (coLinux mode)
As you can see the difference is only in device list and kernel version. I don't remember exactly but seem it was me who modified include/linux/version.h so you may not rely on that difference.
to be exact, I've added EXTRAVERSION = -co-0.6.1 to a topmost Makefile
see http://www.colinux.org/wiki/index.php/coLinuxFAQ#A19 for details
ok, i'll use this as the check then: grep -q '^117 cobd$' /proc/devices
+ elif grep -q ' cobd$' /proc/devices + then + TBLURB="coLinux" + return 0 - if [ "${CLOCK}" == "UML" ] + if [ "${CLOCK}" == "UML" ] || [ "${CLOCK}" == "coLinux" ] fixed in cvs