'not a block device, skipping' message when installing the kernel.
Hi,
The message "as is" ? nothing more ?
My swap partition is mounted automatically from fstab. It's on /dev/sda7 and the line in fstab is so:
/dev/sda7 swap swap defaults 0 0
do you have something similar ?
If you suspect compcache of anything, deactivate it and try without it.
You need only to do 2 things for that : go as root in terminal in /usr/local/sbin, and rename it or remove execution from rzscontrol, and in /etc/rc.d/rc.local, comment the related lines:
######### COMPCACHE ##########
# Name of the ramzswap device (/dev/ramzwap0 is the default).
RAMZ_DEVICE="/dev/ramzswap0"
# Ramzswap will act like a swap front end if RAMZ_BACKING_SWAP is defined.
# Writes are forwarded to this device when memory limit is reached or data
# is not compressible.
# i.e. RAMZ_BACKING_SWAP="/dev/sda3"
RAMZ_BACKING_SWAP=""
# If you have several swap devices (or partitions), you may prefer to have
# a higher priority for ramzswap.
RAMZ_SWAP_PRIORITY=30
# You may want to change this if you want to add some extra parameters to
# rzcontrol (see
http://code.google.com/p/compcache/wiki/CompilingAndUsingNew)
RAMZ_CMD="--init"
######## NOTHING TO CHANGE BELOW THIS ##########
modprobe ramzswap
if grep -wq "$RAMZ_DEVICE" /proc/swaps; then
# I met with some kernel issues while resetting ramzswap devices.
# Normally, this shouldn't be executed if you don't play with rc.local.
swapoff "$RAMZ_DEVICE"
/usr/local/sbin/rzscontrol $RAMZ_DEVICE --reset
fi
if [ -n "$RAMZ_BACKING_SWAP" ] ; then
if grep -wq "$RAMZ_BACKING_SWAP" /proc/swaps; then
swapoff "$RAMZ_BACKING_SWAP"
fi
RAMZ_CMD="--backing_swap $RAMZ_BACKING_SWAP $RAMZ_CMD"
fi
/usr/local/sbin/rzscontrol $RAMZ_DEVICE $RAMZ_CMD
swapon $RAMZ_DEVICE -p $RAMZ_SWAP_PRIORITY
######### /COMPCACHE ##########[
Or rename it to "rc.local-back", and make a new one, containing only the part which is before this one.
But I am pretty sure there is no wrong effect coming from it. Maybe the swap partition of your's is rotten and reformatting it would correct it.
Changing kernels just removed the swap mount call?
No, it did a new initrd. The initrd's in PCLinuxOS contain an information about what and where the partitions are. This is annoying by the way, when we change a hard drive from one machine to another, or when we move partitions around, and reformat some of them. The initrd has to be redone. To redo the initrd, some command lines exist. Installing a new kernel is the fast/lasy/easy method.