Sponsored Content
Full Discussion: redhat rebuild kernel
Operating Systems Linux Red Hat redhat rebuild kernel Post 302689829 by yanglei_fage on Wednesday 22nd of August 2012 06:15:55 AM
Old 08-22-2012
redhat rebuild kernel

Hi expert,

I goes to
Code:
[root@localhost 2.6.32-279.el6.x86_64]# pwd
/usr/src/kernels/2.6.32-279.el6.x86_64

then I make bzImage I meet error

Code:
[root@localhost 2.6.32-279.el6.x86_64]# make
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  SYMLINK include/asm -> include/asm-x86
make[1]: *** No rule to make target `missing-syscalls'.  Stop.
make: *** [prepare0] Error 2

I read this thread Red Hat Linux Install -- Re: RHEL 6.0 source code build error

it says it need use src.rpm

here it should be kernel-2.6.32-279.el6.x86_64.src.rpm

but where can I get this rpm, and how could I handle this issue?

Last edited by Scott; 08-22-2012 at 07:23 AM.. Reason: Code tags
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Don't Know to Rebuild Linux Kernel(URGENT)

Hello. I'm installing Oracle8i on Red Hat Linux Server 7.0. The Oracle documentation has some preinstallation request to be carried before installing the Oracle software. It asks to modify some SEMAPHORE & SHARED MEMORY values in to a specified file. And finally after updating this values it... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

2. UNIX for Dummies Questions & Answers

Need to rebuild and install the kernel.

Trying to install some ide raid drivers (to add some more hdds) and the instrcutions have toled me to modify some code in the kernel folder in usr/src (this is mandrake linux 9 btw). I need to then rebuild the kernel, how do I do this? Is there some file that I bring up for a whole c project (the... (2 Replies)
Discussion started by: pudad
2 Replies

3. UNIX for Advanced & Expert Users

best way to rebuild a kernel

i really have an issue with the otherwise outstading FreeBSD Handbook when it comes to kernel building. information on the proper steps to take is really confusing. i think that chapters 9 and 21 need to be combined to give a very concise format on how best to deal with kernel building/rebuidling... (1 Reply)
Discussion started by: xyyz
1 Replies

4. UNIX for Advanced & Expert Users

Error wile rebuild the kernel

Hi!!! I installed the patch: DUV40F16-C0040500-10245-Manual-20010328 to avoid a reboot problem in my server, AlphaServer 4100 with Tru64 4.0F. When the patch instalation finished I rebuild the kernel like this: # duconfig -c ORACLE-TEST Start de rebuild and a few minutes after appear... (0 Replies)
Discussion started by: irasela
0 Replies

5. Programming

Rebuild the Dev of a non UNIX kernel...

My name for this post may be a bit off but basically I would like to take go though the same proses that kernel developers went though to build other kernels that are based on UNIX such as Linux, And do it from scratch IE. starting with the base UNIX and building on to it. So I in theory could... (0 Replies)
Discussion started by: DevSer2279
0 Replies

6. Red Hat

telnet idle timeout on Redhat kernel 2.4.35.4

Hello, I've searched this forum for telnet idle timeout problem. I tried to set timeout parameters in /etc/profile readonly TMOUT=10 export TMOUT This doesn't work for Redhat kernel 2.4.35.4. It's really frustrating. Can anybody tell me what else I could try? Thanks a lot! jing (0 Replies)
Discussion started by: jing han
0 Replies

7. UNIX for Dummies Questions & Answers

how to compile linux kernel on redhat

Hello, Please let me know how to compile a linux kernel on redhat. I am relatively new in this area so please be a little patient with me. Here is the file I was consulting with the following details: Compiling the Linux Kernel on Redhat 7.1 This page describes how to install... (2 Replies)
Discussion started by: bhattbonny
2 Replies

8. UNIX for Dummies Questions & Answers

Kernel not rebuild

hi, system operation: unix sco 3.2.4 Kernel not rebuild, do not remove or update tcp/ip e3H0 driver. messages: cat:cannot open../sdevice.d/5 line:5.1 32 -1 fatal error:mdevice:wrong number of fields idmaster:device do not exist in therefore can not be update idinstall: cannot... (0 Replies)
Discussion started by: milen
0 Replies

9. Red Hat

How to switch back from Oracle Kernel to RedHat?

Hello friends, We have RHEL 7.5 server with latest updates. We needed to install Oracle 12 DB on it so chose "easy method" of installing "oracle-database-server-12cR2-preinstall-1.0-3.el7.x86_64.rpm" and then installed oracle DB. Everything went smooth and all OK but later we noticed that it has... (4 Replies)
Discussion started by: prvnrk
4 Replies
SETARCH(8)						       System Administration							SETARCH(8)

NAME
setarch - change reported architecture in new program environment and set personality flags SYNOPSIS
setarch arch [options] [program [arguments]] arch [options] [program [arguments]] DESCRIPTION
setarch This utility currently only affects the output of uname -m. For example, on an AMD64 system, running 'setarch i386 program' will cause 'program' to see i686 (or other relevant arch) instead of x86_64 as machine type. It also allows to set various personality options. The default program is /bin/sh. OPTIONS
-v, --verbose Be verbose. -h, --help Display help (it is also displayed when setarch takes no arguments). --uname-2.6 Causes the program to see a kernel version number beginning with 2.6. -3, --3gb Specifies that processes should use a maximum of 3GB of address space on systems where it is supported (ADDR_LIMIT_3GB). -B, --32bit Turns on ADDR_LIMIT_32BIT. -F, --fdpic-funcptrs Userspace function pointers point to descriptors (turns on FDPIC_FUNCPTRS). -I, --short-inode Turns on SHORT_INODE. -L, --addr-compat-layout Changes the way virtual memory is allocated (turns on the ADDR_COMPAT_LAYOUT). -R, --addr-no-randomize Disables randomization of the virtual address space (turns on ADDR_NO_RANDOMIZE). -S, --whole-seconds Turns on WHOLE_SECONDS. -T, --sticky-timeouts Turns on STICKY_TIMEOUTS. -X --read-implies-exec Turns on READ_IMPLIES_EXEC. -Z, mmap-page-zero Turns on MMAP_PAGE_ZERO. EXAMPLES
setarch ppc32 rpmbuild --target=ppc --rebuild foo.src.rpm setarch ppc32 -v -vL3 rpmbuild --target=ppc --rebuild bar.src.rpm setarch ppc32 --32bit rpmbuild --target=ppc --rebuild foo.src.rpm AUTHOR
Elliot Lee <sopwith@redhat.com> Jindrich Novy <jnovy@redhat.com> AVAILABILITY
The setarch command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux June 2007 SETARCH(8)
All times are GMT -4. The time now is 03:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy