LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 04-03-2007, 09:47 AM   #1
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Rep: Reputation: 39
non existing symbols in .config file


I am trying to compile a new kernel for my system
this is my first experience I read many tuotrials and have tried to do

cd /usr/src/linux-2.6.18.1
make menuconfig
make bzImage
make modules
make modules_install
make
make install

initially i did not had an idea of what a config file is so when ever I made some thing out of make menuconfig
when I tried to boot with this new kernel I always got an error Kernel Panic tried to kill init
some tutorial on net suggested to use the config file from /boot

when I did a make menuconfig from this config file in boot
I got a lot of warning messages like

Non existing symbols

HOSTCC scripts/kconfig/lxdialog/checklist.o
HOSTCC scripts/kconfig/lxdialog/inputbox.o
HOSTCC scripts/kconfig/lxdialog/menubox.o
HOSTCC scripts/kconfig/lxdialog/textbox.o
HOSTCC scripts/kconfig/lxdialog/util.o
HOSTCC scripts/kconfig/lxdialog/yesno.o
HOSTCC scripts/kconfig/mconf.o
HOSTLD scripts/kconfig/mconf
scripts/kconfig/mconf arch/i386/Kconfig
.config:74:warning: trying to assign nonexistent symbol MODULE_SIG
.config:75:warning: trying to assign nonexistent symbol MODULE_SIG_FORCE
.config:82:warning: trying to assign nonexistent symbol UTRACE
.config:83:warning: trying to assign nonexistent symbol PTRACE
.config:110:warning: trying to assign nonexistent symbol X86_XEN
.config:169:warning: trying to assign nonexistent symbol SWIOTLB
.config:192:warning: trying to assign nonexistent symbol REGPARM
.config:194:warning: trying to assign nonexistent symbol VGA_NOPROBE
.config:246:warning: trying to assign nonexistent symbol PCI_GOXEN_FE
.config:250:warning: trying to assign nonexistent symbol XEN_PCIDEV_FRONTEND
.config:251:warning: trying to assign nonexistent symbol XEN_PCIDEV_FE_DEBUG
.config:322:warning: trying to assign nonexistent symbol IP_ROUTE_FWMARK
.config:471:warning: trying to assign nonexistent symbol IP_NF_MATCH_DSCP
.config:476:warning: trying to assign nonexistent symbol IP_NF_MATCH_HASHLIMIT
.config:499:warning: trying to assign nonexistent symbol IP_NF_TARGET_DSCP
.config:602:warning: trying to assign nonexistent symbol DECNET_ROUTE_FWMARK
.config:776:warning: trying to assign nonexistent symbol TUX
.config:781:warning: trying to assign nonexistent symbol TUX_EXTCGI
.config:782:warning: trying to assign nonexistent symbol TUX_EXTENDED_LOG
.config:783:warning: trying to assign nonexistent symbol TUX_DEBUG
.config:1132:warning: trying to assign nonexistent symbol SCSI_SATA
.config:1133:warning: trying to assign nonexistent symbol SCSI_SATA_AHCI
.config:1134:warning: trying to assign nonexistent symbol SCSI_SATA_SVW
.config:1135:warning: trying to assign nonexistent symbol SCSI_ATA_PIIX
.config:1136:warning: trying to assign nonexistent symbol SCSI_SATA_MV
.config:1137:warning: trying to assign nonexistent symbol SCSI_SATA_NV
.config:1138:warning: trying to assign nonexistent symbol SCSI_PDC_ADMA
.config:1140:warning: trying to assign nonexistent symbol SCSI_SATA_QSTOR
.config:1141:warning: trying to assign nonexistent symbol SCSI_SATA_PROMISE
.config:1142:warning: trying to assign nonexistent symbol SCSI_SATA_SX4
.config:1143:warning: trying to assign nonexistent symbol SCSI_SATA_SIL
.config:1144:warning: trying to assign nonexistent symbol SCSI_SATA_SIL24
.config:1145:warning: trying to assign nonexistent symbol SCSI_SATA_SIS
.config:1146:warning: trying to assign nonexistent symbol SCSI_SATA_ULI
.config:1147:warning: trying to assign nonexistent symbol SCSI_SATA_VIA
.config:1148:warning: trying to assign nonexistent symbol SCSI_SATA_VITESSE
.config:1149:warning: trying to assign nonexistent symbol SCSI_SATA_INTEL_COMBINED
.config:1810:warning: trying to assign nonexistent symbol CRASH
.config:2106:warning: trying to assign nonexistent symbol VIDEO_SAA7134_DVB_ALL_FRONTENDS
.config:2116:warning: trying to assign nonexistent symbol VIDEO_CX88_DVB_ALL_FRONTENDS
.config:2417:warning: trying to assign nonexistent symbol SND_AC97_BUS
.config:2569:warning: trying to assign nonexistent symbol USB_HIDINPUT
.config:2753:warning: trying to assign nonexistent symbol INFINIBAND_SDP
.config:2754:warning: trying to assign nonexistent symbol INFINIBAND_SDP_DEBUG
.config:2755:warning: trying to assign nonexistent symbol INFINIBAND_SDP_DEBUG_DATA
.config:2774:warning: trying to assign nonexistent symbol EDAC_K8
.config:2877:warning: trying to assign nonexistent symbol FSCACHE
.config:2888:warning: trying to assign nonexistent symbol CACHEFILES
.config:2889:warning: trying to assign nonexistent symbol CACHEFILES_DEBUG
.config:2934:warning: trying to assign nonexistent symbol SQUASHFS
.config:2935:warning: trying to assign nonexistent symbol SQUASHFS_EMBEDDED
.config:2936:warning: trying to assign nonexistent symbol SQUASHFS_FRAGMENT_CACHE_SIZE
.config:2937:warning: trying to assign nonexistent symbol SQUASHFS_VMALLOC
.config:2953:warning: trying to assign nonexistent symbol NFS_FSCACHE
.config:3091:warning: trying to assign nonexistent symbol UNWIND_INFO
.config:3092:warning: trying to assign nonexistent symbol STACK_UNWIND
.config:3094:warning: trying to assign nonexistent symbol BOOT_DELAY
.config:3115:warning: trying to assign nonexistent symbol SECURITY_SECLVL
.config:3155:warning: trying to assign nonexistent symbol CRYPTO_SIGNATURE
.config:3156:warning: trying to assign nonexistent symbol CRYPTO_SIGNATURE_DSA
.config:3157:warning: trying to assign nonexistent symbol CRYPTO_MPILIB
.config:3164:warning: trying to assign nonexistent symbol XEN
.config:3165:warning: trying to assign nonexistent symbol XEN_INTERFACE_VERSION
.config:3170:warning: trying to assign nonexistent symbol XEN_PRIVILEGED_GUEST
.config:3171:warning: trying to assign nonexistent symbol XEN_UNPRIVILEGED_GUEST
.config:3172:warning: trying to assign nonexistent symbol XEN_PRIVCMD
.config:3173:warning: trying to assign nonexistent symbol XEN_XENBUS_DEV
.config:3174:warning: trying to assign nonexistent symbol XEN_BACKEND
.config:3175:warning: trying to assign nonexistent symbol XEN_BLKDEV_BACKEND
.config:3176:warning: trying to assign nonexistent symbol XEN_BLKDEV_TAP
.config:3177:warning: trying to assign nonexistent symbol XEN_NETDEV_BACKEND
.config:3178:warning: trying to assign nonexistent symbol XEN_NETDEV_PIPELINED_TRANSMITTER
.config:3179:warning: trying to assign nonexistent symbol XEN_NETDEV_LOOPBACK
.config:3180:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND
.config:3181:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_VPCI
.config:3182:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_PASS
.config:3183:warning: trying to assign nonexistent symbol XEN_PCIDEV_BACKEND_SLOT
.config:3184:warning: trying to assign nonexistent symbol XEN_PCIDEV_BE_DEBUG
.config:3185:warning: trying to assign nonexistent symbol XEN_TPMDEV_BACKEND
.config:3186:warning: trying to assign nonexistent symbol XEN_BLKDEV_FRONTEND
.config:3187:warning: trying to assign nonexistent symbol XEN_NETDEV_FRONTEND
.config:3188:warning: trying to assign nonexistent symbol XEN_FRAMEBUFFER
.config:3189:warning: trying to assign nonexistent symbol XEN_KEYBOARD
.config:3190:warning: trying to assign nonexistent symbol XEN_SCRUB_PAGES
.config:3191:warning: trying to assign nonexistent symbol XEN_DISABLE_SERIAL
.config:3192:warning: trying to assign nonexistent symbol XEN_SYSFS
.config:3193:warning: trying to assign nonexistent symbol XEN_COMPAT_030002_AND_LATER
.config:3194:warning: trying to assign nonexistent symbol XEN_COMPAT_LATEST_ONLY
.config:3195:warning: trying to assign nonexistent symbol XEN_COMPAT_030002
.config:3196:warning: trying to assign nonexistent symbol HAVE_ARCH_ALLOC_SKB
.config:3197:warning: trying to assign nonexistent symbol HAVE_ARCH_DEV_ALLOC_SKB
.config:3198:warning: trying to assign nonexistent symbol HAVE_IRQ_IGNORE_UNHANDLED
.config:3199:warning: trying to assign nonexistent symbol NO_IDLE_HZ
.config:3200:warning: trying to assign nonexistent symbol XEN_UTIL
.config:3201:warning: trying to assign nonexistent symbol XEN_BALLOON
.config:3202:warning: trying to assign nonexistent symbol XEN_DEVMEM
.config:3203:warning: trying to assign nonexistent symbol XEN_SKBUFF
.config:3204:warning: trying to assign nonexistent symbol XEN_REBOOT
.config:3205:warning: trying to assign nonexistent symbol XEN_SMPBOOT
.config:3230:warning: trying to assign nonexistent symbol X86_NO_TSS
.config:3231:warning: trying to assign nonexistent symbol X86_NO_IDT


the problem is where I am doing mistake to compile a new kernel I tried to install
can some one point my mistake in compilation most of the tutorials I searched on forums and Interent were copied and pasted with same language every where

so some one who really knows how to compile the kernel pls tell me
I have tried to compile 2.6.18.1
2.6.20.3
2.6.20.4
every time I got the same error that means I am doing the same mistake every time
I have a Pentium D CPU can some one tell me how to select options in make menuconfig to be able to make a correct config file
 
Old 04-03-2007, 10:48 AM   #2
axelfc
Member
 
Registered: Jan 2006
Distribution: ArchLinux
Posts: 175

Rep: Reputation: 34
You have messed up the 2.4.x compiling procedure with the 2.6.x compiling procedure. Follow this

Code:
http://www.kernel.org/pub/linux/kernel/v2.6/
# wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-x-new.tar.gz
# cp linux-x-new.tar.gz /usr/src
# cd /usr/src
# tar zxf linux-x-new.tar.gz
# cp linux-x-old/.config linux-x-new/.config
# cd linux-x-new
# make oldconfig
# make xconfig or # make menuconfig
# make
# make modules_install
# make install
# reboot
 
Old 04-05-2007, 06:11 AM   #3
tkmsr
Member
 
Registered: Oct 2006
Distribution: Ubuntu,Open Suse,Debian,Mac OS X
Posts: 798

Original Poster
Rep: Reputation: 39
thank you I shall try and tell you the result
 
  


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
Debugger selectively not using symbols in library with symbols Millenniumman Programming 1 03-03-2007 07:46 PM
Cannot see some symbols in file/directory-name in RH 9.0 No-0n3 Linux - Newbie 0 07-20-2005 06:28 PM
Create header file for existing .c file hk_michael Programming 5 02-25-2005 05:26 PM
Upgrading stock 2.4.22 kernel to 2.5.x then to 2.6.6 with existing stock .config file Kyl3 Slackware 8 06-09-2004 05:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:37 AM.

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