LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-04-2004, 11:57 PM   #1
satanic_linux
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Slackware 9.1
Posts: 34

Rep: Reputation: 15
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
 
Old 02-06-2004, 12:21 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
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.
 
Old 02-06-2004, 01:28 AM   #3
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Another thought - is your swap partition included in your fstab? If not, it should be -- J.W.
 
Old 02-06-2004, 11:49 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
The most likely thing would be that paging of memory is not enabled in the kernel config.
 
Old 02-07-2004, 07:38 PM   #5
satanic_linux
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Slackware 9.1
Posts: 34

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by DavidPhillips
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.

i tryed that command but it tells me no such file or directory , but it works fine under the old kernel?
 
Old 02-07-2004, 08:43 PM   #6
satanic_linux
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Slackware 9.1
Posts: 34

Original Poster
Rep: Reputation: 15
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?
 
Old 02-12-2004, 11:01 PM   #7
daraknor
LQ Newbie
 
Registered: Feb 2004
Posts: 1

Rep: Reputation: 0
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux swap / solaris not appearing as swap in Ubuntu? Erik_the_Red Linux - Newbie 1 07-30-2005 12:57 PM
How to unmount actual swap and mount a new(bigger) swap space? isaac Linux - Newbie 1 06-06-2004 01:23 AM
Difference between Swap Virtrual memory and Swap Parition Nappa Slackware 4 11-27-2003 07:58 PM
Is it Possible to boot from an extended partitoin?? concoran Linux - General 3 10-03-2002 02:05 PM
RH 7.3 wont install with a SWap daffy Linux - Newbie 1 09-14-2002 05:53 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration