2.6.2 SUSe 9.0 upgrade problems...modprobe? LVM?

Submitted by philhu
on February 18, 2004 - 2:21pm

Trying to upgrade Suse 9.0 to 2.6.2, getting alot of failed items in startup that work fine in 2.4.21 (Suse 9.0 default).

Modprobe seems to fail with error 256 on all calls

LVM fails saying no support. I added raid/lvm support, didn't help

3Com 3c905 Tornado net card - 2.6 does not seem to support it, 2.4 did. 'make menuconfig' does not even show it as an option.

xinetd and quite a few other utilities at level 5 fail on startup.

Can someone post the exact upgrade path suse 9.0 2.4 to 2.6?

I did:
Install suse 9.0 by ftp
install suse patches/fixes
Compile 2.6.2 with:
make config
make all (which does make vmlinuz,modules)
make modules_install
make install

Add menu item to grub to point to 2.6.2 kernel

Again. I go back to 2.4, everything is fine.

suse 9 problems with 2.6.2

ukirchner
on
February 22, 2004 - 7:39am

Hi,

I just struggled for about half a month to get the 2.6 kernel running under suse 9 - and yesterday I got it finally running.

1.) I was more successful with 2.6.3
2.) Don't forget to make an initial ramdisk. I use
the following script as root:

*******************************

if [ $# = 1 ] ; then
make modules_install
cp arch/i386/boot/bzImage /boot/vmlinuz-$1
cp System.map /boot/System.map-$1
mkinitrd -k vmlinuz-$1 -i initrd-$1 -b /boot
else
echo "This script needs the kernel version number as argument!"
echo "Aborted."
fi
**********************************

3.) make sure you deactivate the kernel option
"automount /dev filesystem",
otherwise your partitions will not be found correctly.
4.) some init scripts don't work anymore. In particular sound and
network. So far I solved the sound problem.
Origin of the problem: the script uses the output of "modprobe -c"
to identify the sound cards. Now modprobe works differently
under 2.6 and this doesn't work.
Solution: edit the script /etc/init.d/alsasound
Two things need to be changed:
* replace the function "get_drivers" by something like
function get_drivers() {
if [ `uname -r` = "2.6.3" ] ; then
echo "snd-intel8x0"
else
/sbin/modprobe -c | \
grep -E "^[[:space:]]*alias[[:space:]]+snd-card-[[:digit:]]" | sort |\
awk '{print $3}'
fi
}

* remove the version test - which ironically prevents you
rrom running a more recent alsa version. Comment the
following out:
# check ALSA driver version 0.9

#removed, since it does not work under 2.6.3
#if head -n 1 /proc/asound/version | grep -q '0\.9'; then
# :
#else
# echo -n "The running ALSA driver looks obsolete. Stop ALSA now."
# stop
# rc_failed 1
# rc_status -v
# return
#fi

I'm still struggling to get the ethernet running. Probably a similar
problem.

Hope this helps,

Uli

thanks!

Anonymous
on
February 24, 2004 - 8:34pm

Thank you! My sb live works perfectly now! I hope someone figures out that ethernet-thing too.. It's bit frustrating to modprobe network-module and restart network by hand after every boot.. :/

ethernet problem

ukirchner
on
February 29, 2004 - 2:33am

After learning a lot about shell scripts I figured out that the
ethernet problem did not have its origin in the boot scripts.
After compiling the corrcet ethernet driver into the kernel
(not as module) everything worked perfectly.

Alternatively you could probably add the ethernet module to the
list of "modules to load at boot time" in /etc/sysconfig, which
you can edit with YaST.

Hope that helps you,

Uli

restarting network

Anonymous
on
March 20, 2004 - 11:22am

Are you restarting your computer to restart the network?

I can't tell from your post, but here's a faster way to do it if you are...

/etc/init.d/network restart

I recently upgraded from 2.4

Anonymous
on
March 21, 2004 - 4:46am

I recently upgraded from 2.4 to 2.6.4 and I have the same problem with LVM (but I think the system is running well). But your modprobe failure is strange. Did you generate a /etc/modprobe.conf ? This is the file that replaces /etc/modules.conf in Kernel 2.4 and can be generated by a script:

/sbin/generate-modprobe.conf > /etc/modprobe.conf

You may need to upgrade the module-init-tools to get the script. But SuSE9.0 should have this installed already AFAIK. You can get a very short description on how to upgrade on ftp.suse.com/pub/people/kraxel

Markus

Upgrade from 2.4.21 -> 2.6.4

Anonymous
on
March 27, 2004 - 6:24pm

I managed to update my kernel to 2.6.4. (downloaded from Kernel-of-the-day via SuSE apt-get).

Network and sounds didn't work default. I have to add modprobe tulip to my rc-scripts and I also edited alsafiles as above descriptioned. Now my new kernel works just fine!

Loren

Anonymous
on
April 13, 2004 - 8:55pm

I am working on 2.6.5 and am having an issue with LVM as well. When trying to mount an LVM I receive a message stating "... that is not a valid block device." However, nothing but the kernel has changed.

I have created the modules under md for LVM.

I d