LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-21-2010, 05:10 AM   #1
mohitdhingras
LQ Newbie
 
Registered: Nov 2010
Posts: 7

Rep: Reputation: 0
Error while making initrd image


Hi All,

I tried compiling linux kernel 2.6.37-rc2 (mainline), Compilation and installation of kernel and modules went fine. After that while trying to make initrd image, I used the following command :-

mohitdhingras@mohitdhingras-laptop:~$ sudo mkinitramfs -o initrd.img-2.6.37-rc2 2.6.37-rc2

It is showing warnings like :-
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_me.bin for module radeon
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_pfp.bin for module radeon
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/R600_me.bin for module radeon
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/R600_pfp.bin for module radeon

Actually, "2.6.37-rc2" folder is missing in "firmware".

Can somebody please help me out.

Thanks & Regards,
Mohit Dhingra
 
Old 11-21-2010, 05:28 AM   #2
Kenny_Strawn
Senior Member
 
Registered: Feb 2010
Location: /usa/ca/orange_county/lake_forest
Distribution: ArchBang, Google Android 2.1 + Motoblur (on Motortola Flipside), Google Chrome OS (on Cr-48)
Posts: 1,791
Blog Entries: 62

Rep: Reputation: 56
What distro do you have? And did you enable any firmware when you ran 'make xconfig'?
 
Old 11-21-2010, 12:51 PM   #3
mohitdhingras
LQ Newbie
 
Registered: Nov 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Hi Kenny Strawn,

Thanks for your reply. Here is some more information.

I have Ubuntu Distribution :-

mohitdhingras@mohitdhingras-laptop:~$ uname -a
Linux mohitdhingras-laptop 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:04:26 UTC 2009 i686 GNU/Linux

I didn't enable any firmware, I ran make menuconfig & not make xconfig. I just enabled some debugging tools.

---------------
Other inputs from my side :

1. initrd image file is being made with few warnings as i mentioned earlier :-
W: Possible missing firmware /lib/firmware/2.6.37-rc2/radeon/RV610_me.bin for module radeon

But, the size of this image is 74.7 MB, while of my previous initrd image (2.6.31) was of only 7 MB.


2. vmcoreinfo file for 2.6.37 is missing. All of the files in my boot folder are as follows

mohitdhingras@mohitdhingras-laptop:/boot$ ls -al
total 96648
drwxr-xr-x 3 root root 4096 2010-11-22 00:12 .
drwxr-xr-x 21 root root 4096 2010-11-17 15:50 ..
-rw-r--r-- 1 root root 629174 2009-10-16 23:33 abi-2.6.31-14-generic
-rw-r--r-- 1 root root 111371 2009-10-16 23:33 config-2.6.31-14-generic
-rw-r--r-- 1 root root 129927 2010-11-21 14:38 config-2.6.37-rc2
drwxr-xr-x 2 root root 4096 2010-11-21 23:44 grub
-rw-r--r-- 1 root root 8095154 2010-11-21 15:14 initrd.img-2.6.31-14-generic
-rw-r--r-- 1 root root 78329420 2010-11-21 23:43 initrd.img-2.6.37-rc2
-rw-r--r-- 1 root root 128796 2009-10-23 21:41 memtest86+.bin
-rw-r--r-- 1 root root 1664737 2009-10-16 23:33 System.map-2.6.31-14-generic
-rw-r--r-- 1 root root 1777340 2010-11-21 14:38 System.map-2.6.37-rc2
-rw-r--r-- 1 root root 1196 2009-10-16 23:36 vmcoreinfo-2.6.31-14-generic
-rw-r--r-- 1 root root 3890400 2009-10-16 23:33 vmlinuz-2.6.31-14-generic
-rw-r--r-- 1 root root 4163264 2010-11-21 14:38 vmlinuz-2.6.37-rc2


3. Now, when i ran command "update-grub", initrd image gets added automatically. But, when i select this option (newly built) from bootup, the system gets freezed.

-----------------

Can you tell me , what did i miss, or what needs to be done to solve the problem.


Thanks & Regards,
Mohit Dhingra
mohitdhingras@gmail.com
 
Old 11-28-2010, 11:03 PM   #4
mohitdhingras
LQ Newbie
 
Registered: Nov 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Able to boot Linux, but some problem with Display Driver

Hi,

Now, I compiled .36 kernel version of mainline. It was showing the same warning messages while making initrd image, as I mentioned above. But I was able to run Linux in command line interface, in recovery mode. But when I select normal version, it comes till login screen and I am able to hear boot up sound, but then it shows garbled screen. I guess there is some problem with display driver only. My Display card is of ATI Radeon. And, it was showing the same related warning messages only while making initrd image.

Is it possible to use the same drivers, already available for kernel 2.6.31, in 2.6.36. If yes, how ? Or else what could be done?
 
Old 11-28-2010, 11:40 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
It shows that ubuntu supports the driver you shouldn't have to compile a new 1. If you already added non-fre to repos, it should be available in synaptic, making it easier to install.
 
Old 11-29-2010, 07:37 AM   #6
mohitdhingras
LQ Newbie
 
Registered: Nov 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Yes, It was already installed in kernel 2.6.31. But I downloaded source code for kernel 2.6.36 and gave the build. After that , I updated grub and when I select the kernel 2.6.36 option, the display gets freezed. That is the problem. Now, when I have updated the kernel, I want same Ubuntu GUI Interface with this kernel. However, I am able to reach to Terminal directly via Recovery mode. And, it shows updated kernel version also.
 
Old 11-29-2010, 10:35 AM   #7
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Have you tried using the live-cd? For desktop version you just select try ubuntu, it puts you at a desktop that has a file that says examples, look under /usr/share/applications browse til you find icon for terminal.

Last edited by EDDY1; 11-29-2010 at 10:38 AM.
 
  


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
What is an initrd image??? firewiz87 Linux - Newbie 20 08-16-2009 04:01 PM
Making an initrd for a squashfs steveo_mcg Linux - General 1 09-12-2006 10:06 AM
how to use initrd for making RAMdisk Boudewijn Debian 1 12-08-2004 03:34 AM
What's initrd image? Nerox Linux - Newbie 2 08-25-2004 04:53 PM
making an initrd file lyonsd Linux - General 4 03-14-2004 06:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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