View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 41 posts ] 
Go to page Previous  1, 2, 3

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Wed Feb 28, 2007 12:08 am 
Offline
Joined: Mon Oct 02, 2006 7:11 pm
Posts: 10
TJC: building the kernel from the kernel.org source doesn't work. The standard kernel build generates an initramfs format initrd which for some reason is incompatible with R5E50 (udev does not start). Seems R5E50 still uses the old initrd format. Anyone know how to rebuild with old format initrd?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 06, 2007 2:47 pm 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
craigtv wrote:
randomhtpcguy wrote:
Which method is best for getting the source ready for compiling everything it seems people are needing to compile: LIRC, Nvidia drivers, VMWare.


I had to build the kernel source to get the latest ivtv (0.10.0) to build. Option 2 worked for me with one additional step ...

Code:
cd /lib/modules/2.6.18-chw-13
rm build
ln -s /usr/src/linux-source-2.6.18-chw-13 build


that link was still pointing at the headers, and that was tripping up the make.




I had complete this task to be able to compile the v4l cvs tree. The build was still point to the old location.

Dwaine


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 06, 2007 3:39 pm 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
# rebuild the kernel package using the existing configuration
cd /usr/src/linux-source-2.6.18-chw-13
cp /boot/config-2.6.18-chw-13 .config
make-kpkg kernel_image
# change the main source symlink to point at the sources
cd /usr/src
rm linux
ln -s linux-source-2.6.18-chw-13 linux



The first method completely trashed my box. I just keeps trying to load X and flashes out of control. Trying #2 now...

Dwaine


Top
 Profile  
 
 Post subject:
PostPosted: Fri Apr 13, 2007 3:50 am 
dwaine wrote:
# rebuild the kernel package using the existing configuration
cd /usr/src/linux-source-2.6.18-chw-13
cp /boot/config-2.6.18-chw-13 .config
make-kpkg kernel_image
# change the main source symlink to point at the sources
cd /usr/src
rm linux
ln -s linux-source-2.6.18-chw-13 linux

The first method completely trashed my box. I just keeps trying to load X and flashes out of control. Trying #2 now...

Dwaine


---Had problems in this area will post back when I get the working--

Here is #1 written on one line. Look for the red semicolon. Line one of #2 is the combination of three lines from #1.

cd /usr/src/linux-source-2.6.18-chw-13; cp /boot/config-2.6.18-chw-13 .config ; make-kpkg kernel_image

TVBox


Last edited by TVBox on Sat Apr 14, 2007 8:28 pm, edited 1 time in total.


Top
  
 
 Post subject:
PostPosted: Sat Apr 14, 2007 1:56 pm 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
TVBox wrote:
dwaine wrote:
# rebuild the kernel package using the existing configuration
cd /usr/src/linux-source-2.6.18-chw-13
cp /boot/config-2.6.18-chw-13 .config
make-kpkg kernel_image
# change the main source symlink to point at the sources
cd /usr/src
rm linux
ln -s linux-source-2.6.18-chw-13 linux



The first method completely trashed my box. I just keeps trying to load X and flashes out of control. Trying #2 now...

Dwaine

You need to add a space after make and another space after -k. Here is the corrected command.
Code:
make -k pkg kernel_image

-k Continues processing after errors are encountered, if the errors don't effect you. Short version.
pkg is the Makefile that the make command is going to use to construct the kernel image.
kernel_image will be the name of the new Kernel Image File

The only difference between #1 and #2 is -k pkg kernel_image

Here is #1 written on one line. Look for the red semicolon. Line one of #2 is the combination of three lines from #1.

cd /usr/src/linux-source-2.6.18-chw-13; cp /boot/config-2.6.18-chw-13 .config ; make -k pkg kernel_image

TVBox


So what is the correct way to compile both kernel and modules and install them both?

I got two errors when compile.

no rules for kpg
no rules for kernel_image

I have patched the udf code for udf v2.5 support, so I want to compile the kernel and modules. After the compile have them both installed.

But when I do a make -j3 make install make modules make modules_install then reboot. My machine just hangs during booting. The screen flashes.

Is it possible to recompile and install the complete kernel without screwing up the machine?

Dwaine


Top
 Profile  
 
 Post subject: Kernel source...
PostPosted: Wed May 30, 2007 4:55 pm 
Offline
Joined: Thu Apr 06, 2006 8:36 pm
Posts: 35
Location: Clio, MI
:? Hay all....... how ya doin..

I got a plane simple request....Cecil. Looks like a lot of people are having troubles with updating and patching the kernel to get it to do what they want. I love to play fill in the blanks.... but I realy would like to know the way you make the kernel initrd. I have been able to make the latest kernel source work (2.6.20.7) and it runs all my hardware. I actualy had it working on r5e50. but the same working kernel now crashes on the initrd. for this release. I beg for enlightenment. how do you make the initrd for KM.

Dave.

_________________
MBE: GIGABYTE H77-DS3H, i3 CPU, 4GB ram, 1 x 16gb SSD , 2x3TB WD-RED, HVR-2250, Nvidia Video
FE only: Asus H81T/CSM Thin mini-ITX, Intel G3250 3.2Ghz, 4 GB DDR3, 320GB HDD
FE only: intel boxdg45fc mini-ITX, DVI - HDMI, 4GB, 20G HDD, 2.83 GHZ


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 30, 2007 7:22 pm 
Offline
Joined: Tue Jul 19, 2005 7:52 pm
Posts: 44
Location: Perth, Western Australia
At a wild guess,

mkinitrd?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Aug 25, 2007 11:14 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
there is a bug in the kernel for my hardware that was fixed in newer kernels.

I would like to recompile the kernel, modules, and initrd using a newer kernel source with debian / knoppmyth patches (if needed) to fix my hardware problem. There are tons of simple how-to guides for upgrading the kernel the "debian way".

My request is to understand how knoppmyth differs from debian so that I can fix this. I think I need the config and the module list and some information about building the initrd. Any help would be appreciated.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 26, 2007 3:25 am 
Offline
Joined: Sun Jun 12, 2005 2:39 pm
Posts: 464
Location: UK
To get the config copy /boot/config-2.6.18-chw-13 to .config within your kernel source.

I don't think i've rebuilt the initrd when upgrading the kernel on knoppmyth...


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 12:37 am 
Offline
Joined: Thu Dec 01, 2005 12:46 am
Posts: 135
We should sticky this message. It helps every time there is a new release.

Dwaine


Top
 Profile  
 
 Post subject:
PostPosted: Thu Sep 13, 2007 12:43 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
dwaine wrote:
We should sticky this message. It helps every time there is a new release.

That's why it's linked in the hints...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 41 posts ] 
Go to page Previous  1, 2, 3



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu