Re: New kernel does not install

2005-11-06 Thread Felix C. Stegerman
On 2005-11-06 16:51:19, John Plate wrote:
 Hi Felix
 
  Probably the initrd.
  
  Try
  # make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01
--initrd kernel_image
 
 Yes - you was right. 
 
 I didn't use the --initrd option as I got a warning from make-kpkg.
 Instead I did a mkinitrd and inserted by hand the initrd setting in
 /boot/grub/menu.lst
 
 The new kernel booted correctly.
 
 Please tell me how you compile the kernel? Do you use grub?

Hi,

I don't use grub (since I use Debian PPC).

I compile the same way you do:
# fakeroot make-kpkg --append-to-version -flx0-ppc --rev flx0
  --initrd kernel-image

You don't need an initrd, but then you have to make sure the drivers
you need are compiled into the kernel, not as modules.

I prefer to use the standard Debian kernels, but I needed an extra
feature, so I just added that to the default Debian kernel
configuration and recompiled. Now I have a lot of modules I don't
need, but I prefer to have a (close to) standard kernel.


Felix

-- 
Felix C. Stegerman [EMAIL PROTECTED]

Any sufficiently advanced bug is indistinguishable from a feature.
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-05 Thread Wackojacko



John Plate wrote:

Hi

I've installed Debian stable, the kernel is 2.6.8.

Next, I download kernel headers and source for 2.6.8. I copy the
/boot/config... to /usr/src/kernel-source directory as .config.

I do a make menuconfig and exit with no changes. 


Then I make a new kernel-image with:

make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01 kernel_image

This should make a kernel identical to the one installed. 


I then install the kernel with:

dpkg -i kernel-image...deb

The new kernel cannot boot. The kernel installed can still boot. 


What is the problem?

Thanks!
John



The stock debian kernels are designed to boot with 'initrd' so you need 
to add the initrd (man make-kpkg as i don't use them) option to build 
the initrd in the deb.


HTH

Wackojacko


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: New kernel does not install

2005-11-05 Thread Hugo Vanwoerkom

John Plate wrote:

Hi

I've installed Debian stable, the kernel is 2.6.8.

Next, I download kernel headers and source for 2.6.8. I copy the
/boot/config... to /usr/src/kernel-source directory as .config.

I do a make menuconfig and exit with no changes. 


Then I make a new kernel-image with:

make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01 kernel_image

This should make a kernel identical to the one installed. 


I then install the kernel with:

dpkg -i kernel-image...deb

The new kernel cannot boot. The kernel installed can still boot. 



Say more. What are the messages?



What is the problem?

Thanks!
John





--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: New kernel does not install

2005-11-05 Thread David Koski
On Saturday 05 November 2005 11:54 am, Wackojacko wrote:

snip

 The stock debian kernels are designed to boot with 'initrd' so you need
 to add the initrd (man make-kpkg as i don't use them) option to build
 the initrd in the deb.

Furthermore, if you are not running a stock kernel (for example you are using 
md devices compiled in) you can expect to have to configure /etc/mkinitrd/* 
files.

David


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-05 Thread Felix C. Stegerman
On 2005-11-05 20:39:15, John Plate wrote:
 Hi
 
 I've installed Debian stable, the kernel is 2.6.8.
 
 Next, I download kernel headers and source for 2.6.8. I copy the
 /boot/config... to /usr/src/kernel-source directory as .config.
 
 I do a make menuconfig and exit with no changes. 
 
 Then I make a new kernel-image with:
 
 make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01 
 kernel_image
 
 This should make a kernel identical to the one installed. 
 
 I then install the kernel with:
 
 dpkg -i kernel-image...deb
 
 The new kernel cannot boot. The kernel installed can still boot. 
 
 What is the problem?

Probably the initrd.

Try
# make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01
  --initrd kernel_image


Felix

-- 
Felix C. Stegerman [EMAIL PROTECTED]

Any sufficiently advanced bug is indistinguishable from a feature.
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-05 Thread Felix C. Stegerman
I accidentally hit Reply instead of List-Reply
Sorry about that.


Felix

-- 
Felix C. Stegerman [EMAIL PROTECTED]

Any sufficiently advanced bug is indistinguishable from a feature.
 -- R. Kulawiec


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: New kernel does not install

2005-11-05 Thread Pooly
2005/11/5, Felix C. Stegerman [EMAIL PROTECTED]:
 On 2005-11-05 20:39:15, John Plate wrote:
  Hi
 
  I've installed Debian stable, the kernel is 2.6.8.
 
  Next, I download kernel headers and source for 2.6.8. I copy the
  /boot/config... to /usr/src/kernel-source directory as .config.
 
  I do a make menuconfig and exit with no changes.
 
  Then I make a new kernel-image with:
 
  make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01 
  kernel_image
 
  This should make a kernel identical to the one installed.
 
  I then install the kernel with:
 
  dpkg -i kernel-image...deb
 
  The new kernel cannot boot. The kernel installed can still boot.
 
  What is the problem?

 Probably the initrd.

 Try
 # make-kpkg --rootcmd fakeroot --append-to-version -jp --revision 01
   --initrd kernel_image




You can also try to remove the initrd line from your boot loader
config file. (make sure you have the proper module built-in
though...ext3 and pci driver for instance)

--
Pooly
Webzine Rock : http://www.w-fenec.org/