Installing kernel version 2.6.16 in ubuntu 8.04 or 8.10

Asked by charlie on 2009-04-02

Hello.

I want to install kernel version 2.6.16 in Ubuntu 8.04 or 8.10. I' ve downloaded this kernel version from http://www.kernel.org/ . But, when in the step that I have to do "make" then I get an error. I suppose that this kernel version is not compatible with Ubuntu 8.04 or 8.10 but I' m not sure.

could I do this installation?

Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
charlie
Solved:
2009-04-18
Last query:
2009-04-18
Last reply:
2009-04-18
Craig Huffstetler (xq) said : #1

What is the error?

Did you run ./configure first?

Firstly, I decompress the package with tar in /usr/src. Then I execute "make menuconfig" to config that I need. Then I type "make" and it appears me the next error:

  CC fs/nfsctl.o
  CC fs/binfmt_aout.o
fs/binfmt_aout.c: Assembler messages:
fs/binfmt_aout.c:154: Error: suffix or operands invalid for `cmp'
make[1]: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2

Thanks for help me.

the previous error appears me in Ubuntu 8.10. In Ubuntu 8.04 appers this error:

 LD init/built-in.o
 LD .tmp_vmlinux1
init/built-in.o: In function `try_name':
do_mounts.c:(.text+0x5d1): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `name_to_dev_t':
(.text+0x8a8): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `change_floppy':
(.init.text+0x9c6): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `mount_block_root':
(.init.text+0xc0e): undefined reference to `__stack_chk_fail'
init/built-in.o: In function `do_header':
initramfs.c:(.init.text+0x1740): undefined reference to `__stack_chk_fail'
arch/i386/kernel/built-in.o:(.text+0x50b4): more undefined references to `__stack_chk_fail' follow
make: *** [.tmp_vmlinux1] Error 1

Launchpad Janitor (janitor) said : #4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

I still have the same problem with Ubuntu 8.04 and 8.10. So I am working in Ubuntu 6.06.

Tom (tom6) said : #6

Please try re-posting the question so that people at the front-desk see it again
https://answers.launchpad.net/ubuntu/+addquestion
the best time to post a question is about the time that americans are likely to be returning from work or school as there are usually a lot more people around ready to answer questions just before the rush.

Also there are a number of other places worth trying
https://help.ubuntu.com/community/HowToGetHelp

6.06 is not a good way to procede as the repositories for it are closed so you wont be able to update it nor get any appications that weren't bundled in the cd, unless you really know a lot about these things and manage to get stuff that isn't made to run in 6.06

Many apologies for the rudeness of Janitors note. It could be a little bit less unhelpful.

Thanks for getting back to us!
Good luck and regards from
Tom :)

Thanks Tom.

I'll try to re-posting the question. I prefer Ubuntu 8.10 but I need the kernel version 2.6.16, but it's too old for Ubuntu 8.10 and I have some problems when I try to compile it in 8.10.

Regards.

Tom (tom6) said : #8

If it's just about some modules inside the kernel then wold it be possible to recompile the kernel to include those? It seems like that's got to be a better answer?

Good luck and regards from
Tom :)

Not is by the modules. I am working in a project with the kernel version 2.6.16. Fot this I need this version.

Thanks and regards.

Tom (tom6) said : #10

http://www.google.com/custom?domains=DistroWatch.com&q=2.6.16&sitesearch=DistroWatch.com&sa=Search&client=pub-2079470915748165&forid=1&ie=UTF-8&oe=UTF-8&cof=GALT%3A%23333333%3BGL%3A1%3BDIV%3A%2337352E%3BVLC%3A000000%3BAH%3Acenter%3BBGC%3AC6B396%3BLBGC%3A8E866F%3BALC%3A000000%3BLC%3A000000%3BT%3A44423A%3BGFNT%3A663333%3BGIMP%3A663333%3BFORID%3A1%3B&hl=en

I think this is a list of currently active linux distros that still use the 2.6.16 kernel so getting new packages and updates should still be fairly easy. Of these the one i am least unfamiliar with is Slax
http://distrowatch.com/table.php?distribution=slax

In which case one of the 1.0.5 Wolvix distros might also work
http://distrowatch.com/table.php?distribution=wolvix

Hopefully this should give you a good enough desktop with plenty of usable apps
Good luck and regards from
Tom :)

Thanks Tom.

By the moment, I'll continue using Ubuntu because it's more familiar for me.

Thanks for all Tom.

Regards.

Tom (tom6) said : #12

Ok, that seems fair enough. Different distros are all very similar to each other but there are differences.

Good luck and regards from
Tom :)

mtn88 (williamecedrique) said : #13

HHHHHHHHEEEEEEEEEEEEEEEEEEELLLLLLLLLLLLLLLLLLLPPPPPPPPPPPPPPPPPPP!!!!!!!!!!!!!!!!!!!

l am on ubuntu 9.10 trying to compile linux kernel 2.6.16 with mobile ipv6 ... but l encountered the same problem reported earlier by charlie with : MAKE MODULES
CHK include/linux/version.h
  CC [M] fs/binfmt_aout.o
fs/binfmt_aout.c: Assembler messages:
fs/binfmt_aout.c:154: Error: suffix or operands invalid for `cmp'
make[1]: *** [fs/binfmt_aout.o] Error 1
make: *** [fs] Error 2

PLIZ TELL ME what are the possible solutions to this !!!!

Tom (tom6) said : #14

Hi :)

Please ask this as a new question
https://answers.launchpad.net/ubuntu/+addquestion
and perhaps copy&paste this link back to this question
https://answers.launchpad.net/ubuntu/+question/66248

Thanks and regards from
Tom :)