LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 11-16-2009, 12:54 PM   #1
jbo5112
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Rep: Reputation: 1
Kernel Hangs at "Freeing unused kernel memory."


I had a running install of SUSE Linux Enterprise Server 10 SP2, but I'm moving it to a virtual machine (VMware Server 2.0.1). As far as it should matter to Linux, I'm just swapping out some devices: network card, video card, hard drive controller. The only critical change is that the hard drives were just attached to the SATA ports on the motherboard, but now they're running through a virtual LSI SAS controller.

I changed /etc/fstab and /boot/grub/menu.lst to reflect proper device names. I edited /etc/sysconfig/kernel to include the proper modules for the hard drive in INITRD_MODULES, which now reads "piix ahci processor thermal fan reiserfs edd mptsas sg." I ran mkinitrd without arguments, and rebooted the virtual machine.

Now, when it boots, it hangs at "Freeing unused kernel memory." I'm not sure how to debug this, fix this, or really all that sure about the mkinitrd command. I've compiled plenty of my own kernels, but this is the first time adjusting things in a package managed kernel.

If I remember correctly, I used to get this problem on occasion when I compiled my own kernel and left out necessary pieces, but it's been a couple of years since I've compiled my own kernel and much longer since I've had a problem. I could just be imagining it.
 
Old 11-22-2009, 07:18 AM   #2
bhaslinux
Member
 
Registered: Oct 2003
Location: UnitedKingdom
Distribution: Debian Bullseye
Posts: 357

Rep: Reputation: 49
Hi,
since you have already got the knowledge about kernels, i would just suggest these things which come to my mind

1. The config of kernel you use for the virtual machine may be different and need some drivers which are not present and thus does not boot up.
2. The kernel is hanging due to some driver being loaded in initrd ? try doing a clean install (in a virtual machine) and then transfer the kernels to this machine ... i think this might work.
I am not sure how to enable verbose debugging during booting ... but removing 'quiet' from the kernel command line which many distros put, may help a lot !
 
Old 11-22-2009, 07:38 PM   #3
jbo5112
LQ Newbie
 
Registered: Jan 2009
Posts: 20

Original Poster
Rep: Reputation: 1
I already have noquiet turned on, which gives you extra output, but it wasn't any help. I'll set up another virtual machine and copy the kernels across. I didn't think about being able to do that. Thanks!
 
  


Reply

Tags
freeing, kernel, memory, mkinitrd, sles



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 (...)kb freed" qcinski Linux From Scratch 0 08-01-2009 12:12 PM
2.4.36.3: busybox's Init hangs at "Freeing unused kernel memory: " tilman1 Linux - Kernel 6 06-16-2008 02:01 AM
The booting hang on "Freeing unused kernel memory : 168k freed" Brian Lu Linux - Software 1 05-27-2008 08:45 PM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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