10-30-2009
Kernel compilation for s3c2440
Hi All,
I am trying to compile Kernel 2.6.31 with arm-linux-gcc3.2.2 for s3c2440a, but I am not able to perform the task.
I am using Redhat 9
firstly i am using the following commands
$make s3c2410_defconfig // there is no error in execution of this command
next i run
$make
CC kernel/uid16.o
CC kernel/module.o
CC kernel/kallsyms.o
CC kernel/softlockup.o
CC kernel/hung_task.o
CC kernel/rcuclassic.o
CC kernel/utsname_sysctl.o
CC kernel/dma-coherent.o
LD kernel/built-in.o
GZIP kernel/config_data.gz
IKCFG kernel/config_data.h
CC [M] kernel/configs.o
CC mm/bootmem.o
CC mm/filemap.o
CC mm/mempool.o
CC mm/oom_kill.o
CC mm/fadvise.o
CC mm/maccess.o
CC mm/page_alloc.o
/tmp/cc8qm3xs.s: Assembler messages:
/tmp/cc8qm3xs.s:7872: Error: .err encountered
make[1]: *** [mm/page_alloc.o] Error 1
make: *** [mm] Error 2
I am not able to make out what is the problem with this, kindly help me out....
and please tell me the correct way to compile the kernel if i am doing something wrong....
Thanks In Advance.
Niranjan
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have re-compiled kernel source code available in /usr/src/linux.2.4.20 with "make" command. The compilation is succesful.
Now the problem is create the image for this. The documentation in the same folder says that now you have compile "make image". There is no option for image in Makefile. ... (3 Replies)
Discussion started by: mankrish
3 Replies
2. SuSE
Hi All,
Is there a max number of slabs that can be used per kernel module? I'm having a tough time finding out that kind of information, but the array 'node_zonelists' (mmzone.h) has a size of 5. I just want to avoid buffer overruns and other bad stuff.
Cheers,
Brendan (4 Replies)
Discussion started by: Brendan Kennedy
4 Replies
3. Red Hat
Hi,
While trying to build the linux kernel - 2.6.24.2,
i get the following error message during initial phase(make menuconfig) :
scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory <===
In file included from scripts/kconfig/lxdialog/checklist.c:24:
It seems... (1 Reply)
Discussion started by: amit4g
1 Replies
4. UNIX for Advanced & Expert Users
I have one big module 2.6.18 kernel mod.c
I want to divide this to several files.
The problem is to write right Makefile
lib1.h
lib1.c
mod.c
mod.c works fine normally but when I divide into several files
and try to compile with this makefile
obj-m := mod.o
mod-objs := lib1.o
... (3 Replies)
Discussion started by: marcintom
3 Replies
5. Linux
supermicro(dual core) server getting rebooted after "decompressing the kernel;booting the kernel" message comes.
I tried giving acpi=off to the kernel command line but same problem.It shows everything ok and no problem with memory and processors and power supplies.Wt could be the reason?
It has... (1 Reply)
Discussion started by: pankajd
1 Replies
6. Solaris
Hi gurus
Could anybody tell me which file is read by kernel to set its default system kernal parameters values in solaris. Here I am not taking about /etc/system file which is used to load kernal modules or to change any default system kernal parameter value
Is it /dev/kmem file or something... (1 Reply)
Discussion started by: girish.batra
1 Replies
7. Linux
I have complied the kernel with a default settings... now if I load this kernel , it'll load perfectly but the INTERNET is not workink... I think in the default settings The network modules are not included.. Can anybody help me out with the selection of the network module when i give "make... (1 Reply)
Discussion started by: naresh046
1 Replies
8. UNIX for Dummies Questions & Answers
I have installed ubuntu 11.04 on my system.
After this when I used to give uname -r it showed me kernel version as 2.6.38.
Now I had downloaded kernel 2.6.34.12 from kernel.org and installed it using the following steps:
make
make modules
make modules_install
make install
This created... (2 Replies)
Discussion started by: rupeshkp728
2 Replies
9. Linux
Hi everyone,
I am trying to prevent the ehci_hcd kernel module to load at boot time.
Here's what I've tried so far:
1) Add the following line to /etc/modprobe.d/blacklist.conf (as suggested here):
2) Blacklisted the module by adding the following string to
3) Tried to blacklist the module... (0 Replies)
Discussion started by: gacanepa
0 Replies
LEARN ABOUT OSF1
kernel_isrthread
kernel_isrthread(9r) kernel_isrthread(9r)
NAME
kernel_isrthread - General: Starts a fixed priority kernel thread dedicated to interrupt service
SYNOPSIS
thread_t kernel_isrthread(
task_t task,
void (*start) (void),
int pri );
ARGUMENTS
Specifies a pointer to a task structure. This pointer identifies the task in which the kernel_isrthread routine starts the newly created
kernel thread dedicated to interrupt service handling. Specifies a pointer to an routine that is the entry point for the newly created
kernel thread. Specifies the scheduling priority level for the newly created kernel thread. See the DESCRIPTION section for the priority
usage table that describes the possible scheduling priorities.
DESCRIPTION
The kernel_isrthread routine creates and starts a kernel thread at the specified entry point. This kernel thread handles only interrupt
service requests in the specified task and at the specified priority level. A kernel module should always attach a kernel thread to the
``first task.''
The following priority usage table describes the possible scheduling priorities. The first column shows a range of priorities. The second
column shows an associated scheduling priority constant defined in <src/kernel/kern/sched.h> (if applicable). The third column describes
the usage of the priority ranges. To specify a scheduling priority of 38, you pass the constant BASEPRI_SYSTEM. To specify a scheduling
priority of 33, you can pass the following: BASEPRI_HIGHEST + 1.
--------------------------------------------------------------
Priority Constant Usage
--------------------------------------------------------------
0--31 N/A Realtime kernel threads
32--38 BASEPRI_HIGHEST -- Operating system kernel
BASEPRI_SYSTEM threads
44--64 BASEPRI_USER -- User kernel threads
BASEPRI_LOWEST
--------------------------------------------------------------
RETURN VALUES
Upon successful completion, kernel_isrthread returns a pointer to the thread structure associated with the kernel thread started at the
specified entry point. Kernel modules can use this pointer as a handle to a specific kernel thread in calls to other kernel threads-related
routines.
SEE ALSO
Routines: kernel_thread_w_arg(9r)
Data Structures: task(9s), thread(9s)
kernel_isrthread(9r)