All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel compilation Question
@ 2009-11-21 17:41 Balaji Ravindran
  0 siblings, 0 replies; 8+ messages in thread
From: Balaji Ravindran @ 2009-11-21 17:41 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Hi all,

I tried compiling the wireless 2.6 kernel on my debian machine using
make-kpkg and being lazy, i just did make defconfig, and saw that my
compilation went fine without any issues, but i noticed that there was
no ramdisk image that was generated when i installed the linux-image*.deb.

i did use --initrd option,

Was it because, using make defconfig compiles everything on the kernel
itself? Aren't there any 'm' option in defaults?(dunno just asking if
this is the case)

or did i miss something out

Please see if i missed some step

Summary of steps performed.

extracted wireless 2.6 source onto /usr/src

created symbolic link

make defconfig (i did not copy my existing config file to .config, i
just wanted to try out make defconfig option)

make-kpkg --initrd --append-to-version=foo --revision=bar kernel_image
modules_image kernel_headers

this created 2 files linux-image* and linux-headers*, i was missing the
modules image also(but that was a second question)

did dpkg -i linux-image*

updated grub and placed files in /boot, but did not create initrd image.
Why is that?

Thanks

Balaji R

^ permalink raw reply	[flat|nested] 8+ messages in thread
* Kernel compilation Question
@ 2009-11-21 16:02 Balaji Ravindran
  2009-11-21 18:10 ` Stefan Lippers-Hollmann
  0 siblings, 1 reply; 8+ messages in thread
From: Balaji Ravindran @ 2009-11-21 16:02 UTC (permalink / raw)
  To: Linux Wireless List

Hi all,

I tried compiling the wireless 2.6 kernel on my debian machine using
make-kpkg and being lazy, i just did make defconfig, and saw that my
compilation went fine without any issues, but i noticed that there was
no ramdisk image that was generated when i installed the linux-image*.deb.

i did use --initrd option,

Was it because, using make defconfig compiles everything on the kernel
itself? Aren't there any 'm' option in defaults?(dunno just asking if
this is the case)

or did i miss something out

Please see if i missed some step

Summary of steps performed.

extracted wireless 2.6 source onto /usr/src

created symbolic link

make defconfig (i did not copy my existing config file to .config, i
just wanted to try out make defconfig option)

make-kpkg --initrd --append-to-version=foo --revision=bar kernel_image
modules_image kernel_headers

this created 2 files linux-image* and linux-headers*, i was missing the
modules image also(but that was a second question)

did dpkg -i linux-image*

updated grub and placed files in /boot, but did not create initrd image.
Why is that?

Thanks

Balaji R

^ permalink raw reply	[flat|nested] 8+ messages in thread
* RE: Kernel Compilation Question
@ 2005-09-26  9:40 Woody.Wu
  0 siblings, 0 replies; 8+ messages in thread
From: Woody.Wu @ 2005-09-26  9:40 UTC (permalink / raw)
  To: Alan Cox, Woody.Wu; +Cc: linux-kernel


> -----Original Message----- 
> From: Alan Cox [ mailto:alan@lxorguk.ukuu.org.uk] 
> Sent: Monday, September 26, 2005 6:17 PM 
> To: Woody.Wu 
> Cc: linux-kernel@vger.kernel.org 
> Subject: Re: Kernel Compilation Question 
> 
> 
> On Llu, 2005-09-26 at 09:00 +0200, Woody.Wu wrote: 
> > and think i can build a kernel in another newer system (a slackware 
> > running 2.6.x) and copy needed stuff over to the old box.  is it 
> > possible?  if so, what stuff i have to copy from the newer 
> box to the 
> > old box? what i can imaged by far are: the bzImage file, the 
> 
> 
> Possible but there is so much stuff that has changed (and 6.x 
> has no updates any more for security fixes). 
> 
> I do a series of CD updates from 6.2 to 7.3, then 7.3 to 9 
> then 9 to Fedora Core 2, and FC2 to FC3 - If I had to do it 
> that way. But really it'll be quicker to back it up reinstall 
> and restore users/config/filestore 

thanks. can i download thoese 6.2 to 7.3 and 7.3 to 9 upgrading CDs from
redhat's site?  and by 'back it up and resinstall and restore', did you
mean i back up my files and install a new redhat from scratch?

thanks. 

> 
> 
> 


^ permalink raw reply	[flat|nested] 8+ messages in thread
* Kernel Compilation Question
@ 2005-09-26  7:00 Woody.Wu
  2005-09-26  7:52 ` Valdis.Kletnieks
  2005-09-26 10:16 ` Alan Cox
  0 siblings, 2 replies; 8+ messages in thread
From: Woody.Wu @ 2005-09-26  7:00 UTC (permalink / raw)
  To: linux-kernel

i got a RedHat box which running a 2.2.x kernel.  since its too old, i
decided to upgrade it to 2.6.x, but this might involving upgrading of
gcc, libc and lots of other things.  i don't want to bother to do that
and think i can build a kernel in another newer system (a slackware
running 2.6.x) and copy needed stuff over to the old box.  is it
possible?  if so, what stuff i have to copy from the newer box to the
old box? what i can imaged by far are: the bzImage file, the
/lib/modules/2.6.x directory.  are there still other things?

thanks in advance. 

-------------------------------- 
Landis+Gyr Metering (Zhuhai) Ltd. 
Tel:   +86 756 3229181 ext 2616 
Fax:   +86 756 3229183 
Email: Woody.Wu@cn.landisgyr.com 

Virginia Woolf: Someone has to die Leonard, in order that the rest of us
should value our life more. 

        - The Hours (2002) 


  


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-11-21 18:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-21 17:41 Kernel compilation Question Balaji Ravindran
  -- strict thread matches above, loose matches on Subject: below --
2009-11-21 16:02 Balaji Ravindran
2009-11-21 18:10 ` Stefan Lippers-Hollmann
2009-11-21 18:46   ` Balaji Ravindran
2005-09-26  9:40 Kernel Compilation Question Woody.Wu
2005-09-26  7:00 Woody.Wu
2005-09-26  7:52 ` Valdis.Kletnieks
2005-09-26 10:16 ` Alan Cox

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.