it is for opensuse 10.2 but still pretty much valid today, I always found it quite informative.
When you compile your own kernel and have good reasons for it you obviously do not want to install the stock kernel updates. There are not that many i believe but they will overwrite your custom kernel.
Do you have special need to compile your own kernel? I am pretty much a tuning masochist and tweak everything until I like it but so far never had to compile my own kernel on desktop systems (unix servers … yes)?
yeah thanks for the reply and yes I did read that, so far I even got an error message
CC drivers/char/vt_ioctl.o
drivers/char/vt_ioctl.c: In function ‘vt_ioctl’:
drivers/char/vt_ioctl.c:1159: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.opensuse.org/> for instructions.
make[2]: *** [drivers/char/vt_ioctl.o] Error 1
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2
CHK include/linux/version.h
compiling is still continuing, should I be worried?
yeah, u r right, I just restarted the compiling, lets hope it works better this time or I will change the config file and try making changes to it my self.
Alright I solved the error problem by typing just “make” alone and its done that but now when I type
make modules
it gives this reply
linux-xw91:/usr/src/linux-2.6.26 # make modules
CHK include/linux/version.h
CHK include/linux/utsrelease.h
CALL scripts/checksyscalls.sh
Building modules, stage 2.
MODPOST 2128 modules
WARNING: modpost: Found 7 section mismatch(es).
To see full details build your kernel with:
‘make CONFIG_DEBUG_SECTION_MISMATCH=y’
linux-xw91:/usr/src/linux-2.6.26 #
Again I just checked, the printer works fine, I had given it to a family member so souldn’t check before so can someone help me with the apparmor problem and is it important for desktop use?
I wouldn’t be worried about AppArmor on your personal desktop. There aren’t many people out there creating exploits for Linux boxes, but if you were worried about a hacker compromising your system because of a buffer-overflow exploit, etc. then AppArmor would be nice.
You probably have to download the source for the module and compile it against your new kernel. When you made your kernel, did you just download a stock kernel from kernel.org or did you download openSUSE’s kernel sources?
The stock kernel doesn’t have SUSE specific patches, such as AppArmor, but you can probably download AppArmor separately, and compile that module for your kernel.