2.6.2 wont use my swap partitoin
before i compiled this kernel i was told it handles memory better then previous version which i thought would be good , but as it turns out it handles memory very badly and makes my system very unstable ie: mouse is jerky, cdrom transfer rates below 1meg a second, complete system lock. I have never had this prob with the 2.2.24 kernel. I noticed today that the newer kernel doesnt use my swap partition but it is teling me it is there, can anyone shed light on this matter ??
Thanks in advanced |
try this command to see if your swap partition is available for use..
cat /proc/meminfo | grep swap The new kernel may require a lot of work to get it configured correctly for your system, some things that work with the old kernel series may not work yet. However some new things have been added that may work better, It's not really ready for every system yet, in my opinion. I can't get my wireless card or winmodem to work with it yet due to the drivers. There should be a way to port old drivers, then we would be able to use the ones that work now. |
Another thought - is your swap partition included in your fstab? If not, it should be -- J.W.
|
The most likely thing would be that paging of memory is not enabled in the kernel config.
|
Quote:
i tryed that command but it tells me no such file or directory , but it works fine under the old kernel? |
All is running fine now except that when i try and transfer stuff from my cdrom to my HDD i only get transfer rates of 1 meg/asec or under and it continuely stalls i dont know what part of the kernel config i have set up wrong to cause this? can anyone help?
|
I am having the exact same issue with Debian 3 and a 2.6.2 kernel I compiled myself.
No swap space is configured according to /proc/meminfo /etc/fstab has the proper swap listing swapon /dev/hda4 swapon: /dev/hda4: Invalid argument swapon -a swapon: /dev/hda4: Invalid argument That is the correct syntax according to the man page. swapon is a utility included with my 'mount' package on debian. The version is 2.12-3 in the testing fork. There is no newer version available as a package. According to rpmfind.net there is no newer version of mount than 2.12. ***FIX*** dmesg shows the following error message: version 0 swap is no longer supported. Use mkswap -v1 /dev/hda4 ***EXECUTE*** mkswap -v1 /dev/hda4 swapon -a cat /proc/meminfo Replace /dev/hda4 with your swap partition, viewable in /etc/fstab Everything working well now! :) Figured it out while typing this out. |
All times are GMT -5. The time now is 02:17 AM. |