public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: did i trash my kernel?
  2005-05-11  9:02 did i trash my kernel? jensen galan
@ 2005-05-11  4:24 ` Manuel Schneider
  0 siblings, 0 replies; 2+ messages in thread
From: Manuel Schneider @ 2005-05-11  4:24 UTC (permalink / raw)
  To: jensen galan, linux-kernel

Hi,

> In /usr/src/linux-2.4.28-gentoo-r5, I edited the
> Makefile so that "EXTRAVERSION = -gentoo-r5-new", and
> recompiled my custom kernel with the following
> commands:
>
> make mrproper
> make menuconfig
> make dep
> make bzImage
> make modules
> make modules-install
> make install
This looks fine so far except that we don't know if the settings in 
the .config-file match your computers hardware and needs.

> Bringing eth0 up via DHCP... [!!]
> ERROR: Problem starting needed services.
> "netmount" was not started.
This is NOT a kernel error message.
This message is printed by the shellscript /etc/init.d/net.eth0 which is 
started by init.

Maybe there is no module for eth0 loaded? Log in as root and try 
dhcpcd eth0
What happens? What error message do you get? Fix that.

> So, did I trash my original kernel?  Was the method I
> used to compile a custom kernel incorrect?
As I said above - this is NOT a kernel error. Maybe there's a missing module, 
but the would depend on your kernel configuration or 
on /etc/modules.autoload.d/kernel-2.4 (load the right modules on startup).

If you have further questions concerning this error and / or gentoo linux look 
at the forums at forums.gentoo.org or contact me directly. Don't bother the 
LKML with this.

Greets,

Manuel

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

* did i trash my kernel?
@ 2005-05-11  9:02 jensen galan
  2005-05-11  4:24 ` Manuel Schneider
  0 siblings, 1 reply; 2+ messages in thread
From: jensen galan @ 2005-05-11  9:02 UTC (permalink / raw)
  To: linux-kernel

Greetings!

I tried to create a custom kernel with an added system
call, so the goal was to have 2 kernels to choose from
at boot time.

In /usr/src/linux-2.4.28-gentoo-r5, I edited the
Makefile so that "EXTRAVERSION = -gentoo-r5-new", and
recompiled my custom kernel with the following
commands:

make mrproper
make menuconfig
make dep
make bzImage
make modules
make modules-install
make install

Now I have 2 kernels, and when I boot from the
original, I get the following error at boot:

Bringing eth0 up via DHCP... [!!]
ERROR: Problem starting needed services.
"netmount" was not started.

The original kernel I compiled with genkernel.  The
new kernel used the method described above.  Here is
my grub.conf:

default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.4.28-r5
root (hd0,0)
kernel /kernel-2.4.28-gentoo-r5 root=/dev/ram0
init=/linuxrc 
ramdisk=8192 real_root=/dev/hda3
initrd /initrd-2.4.28-gentoo-r5

title=Gentoo Linux 2.4.28-r5-new
root (hd0,0)
kernel /vmlinuz-2.4.28-gentoo-r5-new root=/dev/hda3

So, did I trash my original kernel?  Was the method I
used to compile a custom kernel incorrect?

Thank you for your help.

Jensen



	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail

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

end of thread, other threads:[~2005-05-11  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-11  9:02 did i trash my kernel? jensen galan
2005-05-11  4:24 ` Manuel Schneider

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox