Re: compiling 2.6.11.12

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi!!

I am surprised to know that 2.6.x kernel can not be built on 2.4.x kernel distribution.
Can anyone tell me howto update modutils to make the things work?
I will first try to update modutils and see.if it is not working then i will switch over to a distribution based on 2.6.x kernel.

Thanks list for such a nice response,

Pavan Shah.
Fawad Lateef wrote:

On 8/20/05, pradeep sawlani <pradep@xxxxxxxxx> wrote:
I think the problem is with module utilities as 2.6 expects modules
with *.ko while 2.4 expects to be *.o. I think if u install modutils
for 2.6.Everything should go fine.
Regards,
Pradeep

On 8/20/05, pavan <pavan@xxxxxxxxxxxxxx> wrote:
hello friends!!

I have mandrake 9.1 linux with 2.4.21 kernel.I wish to upgrade to
2.6.11.12 kernel.

For that i executed following commands:

untarred linux source and put it unders /usr/src/linux-2.6.11.12

#cd /usr/src/linux-2.6.11.12
#make mrproper
this does not print anything on the screen and after sometime gave me
back the shell.
#make menuconfig
#make
#make modules_install
after everything was complete i copied bzImage to /boot.

To create initrd image i did following.
#cd /lib/modules
#mkinitrd 2.6.11.12.img 2.6.11.12/
i copied the resulting initrd image to /boot
and made appropriate entries in the lilo.conf

The entries are
image=/boot/linux-2.6.11.12 #name of my kernel image
label="2.6.11.12"
root=/dev/hda5
initrd=/boot/2.6.11.12.img


But when i try to boot using the new 2.6.11.12 kernel i get following
message:
mount:error 19 mounting ext3 flags
kernel panic:no init found.Try passing init= option to the kernel.

I can't boot using the new kernel.What can go wrong?Did i miss something?

Thanks in advance,
Pavan Shah.



Have you compiled ext3 as built-in into the kernel means with the
option Y in make menuconfig not with M??? This problem mostly comes
when kernel 2.6 series compiled on a 2.4 series based distro !!!! And
you might also have to update your modutils to make 2.6 kernel work
perfectly .......

By the way, my personal opinion is install Distro with 2.6 series
kernel and then upgrade !!! else you might not able to make your 2.6
series kernel works on 2.4 series kernel perfectly !!!!



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux