LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2004, 09:46 PM   #1
junjem0702
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Rep: Reputation: 0
Hang after Freeing unused Kernel memory..


Hello guys,

Any Ideas? I got this problem, my redhat stop and cannot continue after this "Freeing unused kernel Memory: 156K free"....

I don't change anything in my box. Any help.

TY
 
Old 07-29-2004, 09:59 PM   #2
SomeGuy7898
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 41

Rep: Reputation: 15
So your saying this just started randomly happening? No appernt reason? Did you reconfigure your kernel at all, hardware changes, etc...? You said you didn't change anything.. but something must have been changed for random problems like this to occure (to the best of my recolection anyways).
 
Old 07-29-2004, 10:17 PM   #3
junjem0702
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the reply,

Actyually, I don't change anything. No hardware or software upgrade has been done. Yesterday it was working fine. This is the only problem I encountered in my box after several months.
 
Old 07-29-2004, 10:21 PM   #4
SomeGuy7898
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 41

Rep: Reputation: 15
This is rather strange.. I have never seen anything like this before :S. Is this before or after init has started? If it is after, you can try going directly into a root shell via boot params

linux init=/bin/bash

and from there can try and move around and see if anything is wrong.
 
Old 07-29-2004, 10:43 PM   #5
junjem0702
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Original Poster
Rep: Reputation: 0
I have read some articles from the net, they saying that it might be the swap. So how can I rebuild my swap under linux rescue mode? My swap was mounted on /dev/hda6

Ty
 
Old 07-29-2004, 10:57 PM   #6
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
mkswap -v1 /dev/hda6
 
Old 07-29-2004, 11:07 PM   #7
junjem0702
LQ Newbie
 
Registered: Jul 2004
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks

I did rebuiilding my swap, but still i can't get thru. Stil have other ideas?
 
Old 07-29-2004, 11:31 PM   #8
SomeGuy7898
Member
 
Registered: Nov 2003
Location: Canada
Distribution: Slackware
Posts: 41

Rep: Reputation: 15
check your filesystem for errors, and maybe even rebuild your kernel. Both random idea's, but its worth a try .
 
Old 01-02-2005, 04:34 PM   #9
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
Thought I would add my plea for help. Seems like this happens often, and doesn't have much hope. I actually did move my hard drive from an older AMD K-6 to an AMD Athon 900 Mhz board and get this error now. I reinstalled over the last one, but did not reformat as I have some info I don't want to lose. Could this be the prob? I am wondering that the kernel is configured wrong, but I thought by reinstalling it would be configured right? How can I insure that it is configured right for the new board? Is it a question of swamp memory? Any ideas?

--Hmm I also have 3 sticks of 128 RAM in for 384, a weird number for RAM, could this be another reason?

Thanks for help, I need it:

Last edited by matrim; 01-02-2005 at 04:40 PM.
 
Old 01-02-2005, 07:24 PM   #10
ktvoelker
LQ Newbie
 
Registered: May 2004
Location: Wisconsin, USA
Distribution: Debian (Sarge) and Fedora Core 3
Posts: 18

Rep: Reputation: 0
This happened to me a while ago. I remember finding a solution by searching Google but it was a while ago. I do remember the solution involving an additional parameter passed to the kernel through grub.conf. A new search suggests the solution may have been to add "apm=off" or "vsdo=0". My search was '"freeing unused kernel memory" fedora'. I believe it happened after upgrading my FC1 system to a 2.6 kernel.
 
Old 01-02-2005, 08:12 PM   #11
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
Ktvoelker:
I saw those also, but didn't think they would for my system. I tried them anyway, and it looks like it worked
Thanks!
 
Old 01-02-2005, 09:31 PM   #12
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
Hehe, okay, as usual I get ahead of myself. While using those commands helped continue the boot process, when it tries to 'startx' , the screen goes bonkers and I can't see anything. Do those commands have anything to do with startx or GUI? If not, what else might be causing the problem?
 
Old 01-02-2005, 09:37 PM   #13
ktvoelker
LQ Newbie
 
Registered: May 2004
Location: Wisconsin, USA
Distribution: Debian (Sarge) and Fedora Core 3
Posts: 18

Rep: Reputation: 0
Which of those commands did you use? apm=off is related to power management and I don't see any obvious problems this could cause with X. The other option I don't know anything about. Maybe you could give the output from the X error log?
 
Old 01-02-2005, 10:30 PM   #14
matrim
Member
 
Registered: Dec 2002
Location: utah
Distribution: Redhat; Fedora 2, 6
Posts: 114

Rep: Reputation: 15
I used both actually. When booting into X the graphics are all skewed, like the monitor is fried. When I disabled this and was able to get into a text mode, I typed startx. There it just says XIO: fatal IO error 104 (Connections reset by peer) on X server. Also, having Redhat 8.0, i tried to reinstall using redhat-config-xfree86. That tries to load but then gives: xconf.py: Fatal IO error 2 (Connection reset by peer) on X server. The vid card is the same one I used in the previous machine, but maybe the new mobo is causing compat issues?
 
Old 01-02-2005, 10:33 PM   #15
ktvoelker
LQ Newbie
 
Registered: May 2004
Location: Wisconsin, USA
Distribution: Debian (Sarge) and Fedora Core 3
Posts: 18

Rep: Reputation: 0
I can't help much directly about X, but try removing the other option besides "apm=off". I'm pretty sure "apm=off" was all that I needed to fix the lockup.
 
  


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
hang after freeing unused kernel memory darkcloud Linux - Laptop and Netbook 13 04-11-2005 10:18 PM
'Freeing unused kernel memory' isn't solved yet VertX Linux - Software 2 02-19-2005 06:49 AM
Hang after freeing unused kernel memory darkcloud Linux - General 9 07-07-2003 08:12 PM
Problem: SuSe 8.1 hang up after Freeing Unused Kernel Memory sleuth Linux - Newbie 1 06-25-2003 04:52 AM
Hang after "Freeing unused Kernel Memory" tmg Linux - Distributions 0 05-06-2003 07:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:26 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