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 > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 08-09-2008, 07:36 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Rep: Reputation: 36
Boot Hangs - Freeing unused kernel memory...


I've had several systems over the last several years hang after Slackware installations. The latest is a P23G motherboard, which was
running Slackware 11.

I backed up the /dev/hda1 partition and then installed Slackware 12.1 there.

Upon booting, the last thing printed on the console was

Freeing unused kernel memory...

So I figured I did something wrong, wiped the partition, and started all over again. Same results. Meanwhile I've googled for two days.

The system comes up when booted with the kernel on the DVD, but if booted from /dev/hda1, it dies at the same spot.

Apparently rc.sysvinit is the next thing to run after the message, and
the system stops activity. ENTER keys cause a CRLF to go to the
video, and everything scrolls up one line. But nothing is happening.

I have one hypothesis, which I am digging on...and that is whether the physical location of the booted kernel on the harddrive makes any difference.

Any ideas?
 
Old 08-10-2008, 04:22 AM   #2
askalon9f2
LQ Newbie
 
Registered: Feb 2008
Location: Antwerp, Belgium
Distribution: Slackware 12.2, slamd64 12.1
Posts: 18

Rep: Reputation: 0
Hi,

Maybe try a different kernel (since dvd works and the hd doesn't, it might be a config flag in the kernel you're booting)
Since slack 11 worked, maybe you can check the configs of your old(working) kernel with the one you're installing now.


Hope it works out,

Ben
 
Old 08-10-2008, 04:28 AM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Have you tried booting the huge.s instead of hugesmp.s ?
 
Old 08-11-2008, 01:52 PM   #4
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by H_TeXMeX_H View Post
Have you tried booting the huge.s instead of hugesmp.s ?
Actually, the other way around. I was using huge.s, since the processor is a single core. When I tried the hugesmp.s it finished booting.

Parts of the boot are low, and I need to investigate why.

Meanwhile I've built a leaner kernel to try, to see if I can a.) lean it up, and b.) improve speed.
 
Old 08-11-2008, 02:12 PM   #5
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Ok, good, so it did work with the other kernel.

Yeah, if you experience slow booting, either building your own kernel or using the generic kernel (* with initrd) will speed things up.

Also, try to disable starting services you do not need by making files unexecutable in '/etc/rc.d', for example if you don't want GPM to run at boot make 'rc.gpm' unexecutable:

Code:
chmod a-x /etc/rc.d/rc.gpm
I also edit rc.M to add an '&' after things that take a long time to start and can be backgrounded (that's what the & does).

For example:
Code:
  /usr/bin/fc-cache -f &
However, this cannot be done for rc.messagebus because HAL needs this running in order to start.

Last edited by H_TeXMeX_H; 08-11-2008 at 02:18 PM.
 
Old 08-12-2008, 04:56 PM   #6
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,126
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
One thing you can do is add noquiet to the kernel boot command line, it'll give you more verbose output as the kernel is coming up and might provide more information as to where it was actually hanging.
 
Old 08-13-2008, 01:46 PM   #7
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by estabroo View Post
One thing you can do is add noquiet to the kernel boot command line, it'll give you more verbose output as the kernel is coming up and might provide more information as to where it was actually hanging.
I have not done that in YEARS, and forgot about that parameter. Thanks for the suggestion.

Meanwhile I have that system running, apparently it just doesn't work on the Slackware 12.1 huge.s, but works OK on hugesmp.s. Go figure.

Thanks for the other suggestions. One trick I have done on a large server system is to bring the system up, but spawn fscks and mounts from rc.local. It's kind of a kludge, but prior to journaling filesystems, it was a timesaver!
 
  


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
2.4.36.3: busybox's Init hangs at "Freeing unused kernel memory: " tilman1 Linux - Kernel 6 06-16-2008 02:01 AM
2.6.19 hangs after "Freeing unused kernel memory" vas77 Linux - Kernel 2 02-26-2007 03:01 PM
kernel hangs at "Freeing unused kernel memory :126k" raklo Linux - Kernel 1 09-22-2006 08:14 PM
xen hangs when freeing unused kernel memory camlinux Linux - Server 1 08-09-2006 03:34 PM
'Freeing Unused Kernel Memory: 224k Freed - Laptop Hangs nutnut Linux - Laptop and Netbook 1 10-21-2005 07:09 PM

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

All times are GMT -5. The time now is 12:25 PM.

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