Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
/dev/MAKEDEV does not appear to do it. There's one reference to mknod in it (I'll try to post the entire /dev/MAKEDEV in the next msg if it isn't too long):
makedev () { # usage: makedev name [bcu] major minor owner group mode
if [ "$opt_v" ]
then if [ "$opt_d" ]
then echo "delete $1"
else echo "create $1 $2 $3 $4 $5:$6 $7"
fi
fi
# missing parameters are a bug - bail - should we do an exit 1 here?
case :$1:$2:$3:$4:$5:$6:$7: in
*::*) echo "Warning: MAKEDEV $@ is missing parameter(s)." >&2;;
esac
if [ ! "$opt_n" ]
then
if [ "$opt_d" ]
then
rm -f $1
else
rm -f $1-
if mknod $1- $2 $3 $4 &&
chown $5:$6 $1- &&
chmod $7 $1- &&
mv $1- $1
then
: # it worked
else
# Didn't work, clean up any mess...
echo "makedev $@: failed"
rm -f $1-
fi
fi
fi
}
----------
/etc/init.d/makedev has no reference to mknod
/sbin/MAKEDEV appears to be identical to /dev/MAKEDEV and only has one reference to mknod:
makedev () { # usage: makedev name [bcu] major minor owner group mode
if [ "$opt_v" ]
then if [ "$opt_d" ]
then echo "delete $1"
else echo "create $1 $2 $3 $4 $5:$6 $7"
fi
fi
# missing parameters are a bug - bail - should we do an exit 1 here?
case :$1:$2:$3:$4:$5:$6:$7: in
*::*) echo "Warning: MAKEDEV $@ is missing parameter(s)." >&2;;
esac
if [ ! "$opt_n" ]
then
if [ "$opt_d" ]
then
rm -f $1
else
rm -f $1-
if mknod $1- $2 $3 $4 &&
chown $5:$6 $1- &&
chmod $7 $1- &&
mv $1- $1
then
: # it worked
else
# Didn't work, clean up any mess...
echo "makedev $@: failed"
rm -f $1-
fi
fi
fi
}
--------------
Please post /etc/init.d/makedev.
The MAKEDEV's you posted seem to actually create device files,
so we'll need to look for scripts that run them (ie at startup).
case "$1" in
start)
test -L /dev/MAKEDEV || ln -fs /sbin/MAKEDEV /dev/MAKEDEV
# create dvb-devices, if the dvb-directory allready exists, and
# no devfs or udev is in use (workaround for the changed major-number
# of the dvb-devices, introduced in kernel 2.6.8, to be able to
# switch between kernels <= 2.6.7 and >= 2.6.8, without manual
# recreation of the devices (MAKEDEV dvb checks the kernel-version
# and uses the correct major-number))
if [ ! -e /dev/.devfsd -a ! -e /dev/.udevdb -a ! -e /dev/.udev ]; then
if [ -d /dev/dvb ]; then
cd /dev && ./MAKEDEV dvb
fi
fi
Yes, root logins are allowed. I did do a dist-upgrade recently, but that was after I discovered the problems. According to the Kanotix website a dist-upgrade was the only way to fix the error
Could it be a problem with KDE and the kernel version (2.6.16.16-kanotix-1) that I'm running? My machine at home has kernel 2.6.18 (IIRC) and I do not have the problem there.
Did the website mention to which version you needed to upgrade? If it didn't, then chances are that you didn't upgrade to a version that's recent enough, like the one at your home seems to be.
Maybe you can do another upgrade? Or try to find the differences between your configuration at home with respect to the other one (starting with the files in /etc, more specifically those related to devices and/or KDE).
No, there was no mention of a version. Thanks for the tip - I'll compare the contents of /etc between my home pc and laptop. If that doesn't work, I'll try to do an upgrade again, as soon as my internet connection at home is restored.
Thanks very much for your help and patience. It's much appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.