LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 09-02-2005, 10:52 AM   #1
os2
Member
 
Registered: Dec 2003
Location: Canada
Distribution: openSUSE Tumbleweed
Posts: 209

Rep: Reputation: 30
Angry problem to compile the kernel


hi

i use suse 9.3

i would to have choice between some kernel... (suse kernel and some compiled by me...)

i have folder: linux-2.6.11.4-21.8

i copied this folder to linux-2.6.11.4-21.8N (i will use this one for my kernel)


/usr/src/linux-2.6.11.4-21.8N

i do:

make xconfig
make bzImage
make modules
make modules_install

cp arch/i386/boot/bzImage /boot/bzImage-2.6.11.4-21.8N
cp System.map /boot/System.map-2.6.11.4-21.8N
cp vmlinux /boot/vmlinux-2.6.11.4-21.8N
mkinitrd -k vmlinux-2.6.11.4-21.8N -i initrd-2.6.11.4-21.8N


my grub menu:
Code:
color white/blue black/light-gray
default 0
timeout 8
gfxmenu (hd0,0)/message

###Don't change this comment - YaST2 identifier: Original name: linux###
title SUSE LINUX 9.3
    kernel (hd0,0)/vmlinuz root=/dev/sda5 vga=0x317 selinux=0  splash=silent resume=/dev/sda8  showopts
    initrd (hd0,0)/initrd

#Home make kernel
title SUSE LINUX 9.3 home made
    kernel (hd0,0)/bzImage-2.6.11.4-21.8N root=/dev/sda5 vga=0x317 selinux=0  splash=silent resume=/dev/sda8  showopts
    initrd (hd0,0)/initrd-2.6.11.4-21.8N
don't understand why... but when i choose SUSE LINUX 9.3 that seem to be my new kernel... (because i'm not able to boot on it) and SUSE LINUX 9.3 home made seem my old...


if i boot my old kernel i get some message:
Code:
Sep  2 11:35:03 amd kernel: capability: version magic '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be '2.6.11.4
-21.8-default 586 REGPARM gcc-3.3'
Sep  2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
Sep  2 11:35:03 amd kernel: ieee1394: version magic '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be '2.6.11.4-2
1.8-default 586 REGPARM gcc-3.3'
Sep  2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
Sep  2 11:35:03 amd kernel: raw1394: version magic '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be '2.6.11.4-21
.8-default 586 REGPARM gcc-3.3'
Sep  2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
Sep  2 11:35:03 amd kernel: ieee1394: version magic '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be '2.6.11.4-2
1.8-default 586 REGPARM gcc-3.3'
Sep  2 11:35:03 amd kernel: load_module: err 0xfffffff8 (dont worry)
Sep  2 11:35:03 amd kernel: ohci1394: version magic '2.6.11.4-21.8-default preempt K7 REGPARM gcc-3.3' should be '2.6.11.4-2
1.8-default 586 REGPARM gcc-3.3'
any idea?


thanks
--
www.laboiteaprog.com
 
Old 09-03-2005, 07:19 AM   #2
rtg
Member
 
Registered: Aug 2005
Location: Ukraine
Distribution: Ubuntu 9.04
Posts: 99
Blog Entries: 3

Rep: Reputation: 19
Have you modified the version number in the toplevel Makefile?
To somethink like
Code:
 VERSION = 2
 PATCHLEVEL = 6
 SUBLEVEL = 11
 EXTRAVERSION =4-21.8
2. You might have overwritten your distro's vmlinuz. check where does /boot/vmlinuz points to.

3. Try to use 'make install' (after make modules_install)?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel (2.6.10) compile problem Rarrum Linux - Software 2 01-20-2005 04:31 PM
Problem with Kernel 2.6.2 Compile sirphoenix Linux - Newbie 2 02-17-2004 01:51 PM
Kernel Compile problem sam00 Linux From Scratch 3 01-25-2004 10:59 AM
Compile Kernel Problem duddy11 Linux - Newbie 1 07-31-2003 11:03 AM
kernel compile problem Syncrm Linux - Software 3 01-23-2002 03:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 09:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration