public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* kernel compilation
@ 2008-01-04 11:37 rohithvjp2006
  0 siblings, 0 replies; 4+ messages in thread
From: rohithvjp2006 @ 2008-01-04 11:37 UTC (permalink / raw)
  To: linux-kernel


              
hi this is rohith
                    i am doing project such as porting an linux 2.4 fedora
to some target say x86 when i modified the kernel by make menuconfig command
and after doin make dep there is no error but when i given make bzImage  i
am getting this error please reply me what it means and i am very new to
this linux field can any body help
                    and if the target as arm 9 what i should do where i
should change


regards rohith


   from base.c:635:
/usr/src/linux-2.4.22-1.2115.nptl/include/asm/processor.h:257:1: warning:
this is the location of the previous definition
base.c: In function `is_devfsd_or_child':
base.c:1417: structure has no member named `p_opptr'
base.c:1417: structure has no member named `p_opptr'
make[3]: *** [base.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/fs/devfs'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/fs/devfs'
make[1]: *** [_subdir_devfs] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2115.nptl/fs'
make: *** [_dir_fs] Error 2
[root@rohit linux-2.4]#


-- 
View this message in context: http://www.nabble.com/kernel-compilation-tp14614652p14614652.html
Sent from the linux-kernel mailing list archive at Nabble.com.


^ permalink raw reply	[flat|nested] 4+ messages in thread
* kernel compilation
@ 2004-03-20  7:31 mtr
  2004-03-20  9:16 ` Andreas Unterkircher
  0 siblings, 1 reply; 4+ messages in thread
From: mtr @ 2004-03-20  7:31 UTC (permalink / raw)
  To: linux-kernel

hai

 I am a new bie in the list. I have a doubt. It is about kernel compilation.
I use  linux-2.4.20-8 in redhat 9. In the default kernel after i giving
the lsmod command it will list the following list

Module                  Size  Used by    Not tainted
sr_mod                 18136   0  (autoclean)
i810_audio             27720   0  (autoclean)
ac97_codec             13640   0  (autoclean) [i810_audio]
soundcore               6404   2  (autoclean) [i810_audio]
parport_pc             19076   1  (autoclean)
lp                      8996   0  (autoclean)
parport                37056   1  (autoclean) [parport_pc lp]
autofs                 13268   0  (autoclean) (unused)
microcode               4668   0  (autoclean)
8139too                18088   1
mii                     3976   0  [8139too]
ide-scsi               12208   0
scsi_mod              107160   2  [sr_mod ide-scsi]
ide-cd                 35708   0
cdrom                  33728   0  [sr_mod ide-cd]
keybdev                 2944   0  (unused)
mousedev                5492   1
hid                    22148   0  (unused)
input                   5856   0  [keybdev mousedev hid]
ehci-hcd               19976   0  (unused)
usb-ohci               21480   0  (unused)
usbcore                78784   1  [hid ehci-hcd usb-ohci]
ext3                   70784   7
jbd                    51892   7  [ext3]

After compilation the new kernel is booting and i could not get the USB
mouse and Xserver. At the prompt i give ls mode it will give only the
following line.
Module                  Size  Used by    Not tainted

I compile the source in /usr/src/linux-2.4.20-8/ using the commands

make xconfig
make dep
make clean
make bzImage

after this i move the bzImage to the boot directory and edit grub to boot
the new kernel.

How to load all modules in the default kernel into the new kernel.
or How to make a kernel image that contain all the default modules and my
new option given in make xconfig.

Sorry for this long mail to this list and my not good english.

If this is not a list to ask this type of questions please give the
apropriate list name

With regards
Manoj





^ permalink raw reply	[flat|nested] 4+ messages in thread
* Kernel Compilation
@ 2001-10-11  9:53 Syed Mohammad Talha
  0 siblings, 0 replies; 4+ messages in thread
From: Syed Mohammad Talha @ 2001-10-11  9:53 UTC (permalink / raw)
  To: Linux Kernel List, Pekka Pietikäinen

 Dear all,

 I have just subscribed this mailing list and sent mail to
 linux-vger.kernel.org but this seems that I am missing omething, because I
 cant see my mail on the list and also have no idea whether this is the
right
 place to discuss or not, if not please excuse me, if yes than please help.
I
 have an IBM e-server and have installed redhat 7.1 with kernel 2.4.2, now
 when I am trying to upgrade the kernel I am unable to do so. This has the
 SCSI HDD and controller aic7xxx. I am upgrading the new kernel 2.4.10 now
 when I start compiling the kernel every things goes ok but when I makes the
 initrd image it gives different errors, like

 modules for aic7xxx not found or
 all loopback devices busy

 I am selecting all the options in the kernel compilation as per my
knowledge
 and adopting the ways defined to compile, I have compiled the same kernel
on
 an IDE drive and is working fine and did not gave any error, but on scsci I
 am very badly stuck, I can make the initrd image from the old modules
 directory and define in the lilo.conf with the new kernel it works. Once I
 was successful in making the initrd image through the new kernel module
 directory but this was of no use, because when I rebooted the machine there
 was a kernel panic


 So guruz please if u can help me in resolving this problem, I am not sure
 that whether I am selecting the wrong choices in the kernel compilation or
 there is something else. Also when I compared the old module directory
which
 was of the default installed kernel and which I compile are quite
different.


 Looking for help

 Talha



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

end of thread, other threads:[~2008-01-04 11:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-04 11:37 kernel compilation rohithvjp2006
  -- strict thread matches above, loose matches on Subject: below --
2004-03-20  7:31 mtr
2004-03-20  9:16 ` Andreas Unterkircher
2001-10-11  9:53 Kernel Compilation Syed Mohammad Talha

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