Kernel 2.6.0 (final/stable) is out

GEC: Discuss gaming, computers and electronics and venture into the bizarre world of STGODs.

Moderator: Thanas

Post Reply
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Kernel 2.6.0 (final/stable) is out

Post by Pu-239 »

Fetch it at kernel.org. You will need to install module-init-tools and fetch some nVidia patches at minuet.org (might be wrong, google for it) .

Also, guess the release date for 2.8 here:

http://kernelpool.tummy.com/kernelpool/

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
phongn
Rebel Leader
Posts: 18487
Joined: 2002-07-03 11:11pm

Post by phongn »

Even with the new module-init-tools, 2.6 still won't properly autoload my modules. It is very annoying having to manually load up yenta_socket, ALSA and cardmgr.
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

What's wrong w/ manual loading in an init script? Memory usage is neglible. In debian,

For me, autoloading works for some things like the ppp compression modules, but it doesn't for the network card(which has to be manually loaded by putting the string 8139too in /etc/modules. It does work for cdrom/floppy and other stuff that access device files in /dev since I use devfs(with compatibility entries disabled since I'm a masochist who likes to fix everything that is broken as the result of this(though the autoloading works fine with it enabled))+devfsd+edited modprobe.conf- devfsd runs

Code: Select all

modprobe [device file name]
which loads the appropriate module or series of commands via aliases in modprobe.devfs(which is include[ed] into modprobe.conf). I have no idea if it works on static /dev configurations (manually unloading cdrom modules, mknod[ing] a device file for a cdrom outside of /dev, and dd[ing] from it apparently doesn't work though).

Oh, I forgot- modules.conf has been renamed to modprobe.conf (I'm not sure if the format changed though), which may need to be modified manually depending on distro.


Here's the /etc/init.d/module-init-tools startup script provided by Debian for loading modules listed in /etc/modules (though you can just edit your /etc/rc.d/rc.local (I think, since debian has a non-standard sysvinit scheme)).

Code: Select all

#!/bin/sh -e
                                                                                                                                                                                  
PATH=/sbin:/bin:/usr/sbin:/usr/bin
                                                                                                                                                                                  
# Silently exit if the kernel does not support modules or needs modutils.
[ -f /proc/modules -a ! -f /proc/ksyms ] || exit 0
[ -x /sbin/depmod ] || exit 0
                                                                                                                                                                                  
KVER=$(uname -r)
if [ ! -w /lib/modules/$KVER/ ]; then
        echo "Not running depmod because /lib/modules/$KVER/ is not writeable."
else
        run_depmod=yes
fi
                                                                                                                                                                                  
if [ "$run_depmod" ]; then
        echo -n "Calculating module dependencies... "
        depmod --quick
        echo "done."
fi
                                                                                                                                                                                  
# Loop over every line in /etc/modules.
echo 'Loading modules...'
grep '^[^#]' /etc/modules | \
while read module args; do
        [ "$module" ] || continue
        echo "    $module"
        modprobe $module $args || true
done
echo "All modules loaded."
                                                                                                                                                                                  
# Just in case a sysadmin prefers generic symbolic links in
# /lib/modules/boot for boot time modules we will load these modules.
if [ -n "$(modprobe --list --type boot)" ]; then
        modprobe --all --type boot '*'
fi
                                                                                                                                                                                  
exit 0

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
User avatar
Pu-239
Sith Marauder
Posts: 4727
Joined: 2002-10-21 08:44am
Location: Fake Virginia

Post by Pu-239 »

GRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR!

They marked devfs as obsolete, and replaced it w/ udev, which is inferior since it cannot autoload modules, and is not even stable yet. F*CK! Well, I hope they don't purge it for awhile.

ah.....the path to happiness is revision of dreams and not fulfillment... -SWPIGWANG
Sufficient Googling is indistinguishable from knowledge -somebody
Anything worth the cost of a missile, which can be located on the battlefield, will be shot at with missiles. If the US military is involved, then things, which are not worth the cost if a missile will also be shot at with missiles. -Sea Skimmer


George Bush makes freedom sound like a giant robot that breaks down a lot. -Darth Raptor
Post Reply