LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-24-2009, 10:59 AM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Kernel configuration. gconfig doesn't allow LOCALVERSION change


Hello

Is gconfig protecting me from doing something stupid?

First kernel build. gconfig didn't allow changing "Local version - append to kernel release LOCALVERSION" from -smp. Tried -smpc and very simple variants of -smp. Other changes allowed. Ran make bzImage modules OK. Next step would write modules to /lib/modules/<kernelversion> but <kernelversion> is unchanged so would replace current files! OK to edit .config and change CONFIG_LOCALVERSION?

Here are more details
Code:
c:~$ cat /etc/slackware-version
Slackware 13.0.0.0.0

root:/usr/src# cp -pR linux-2.6.29.6 ~c/src
root:/usr/src# cd ~c/src
root:/home/c/src# chown -R c:users linux-2.6.29.6/

c:~/src/linux-2.6.29.6$ cp -p .config .config.org
c:~/src/linux-2.6.29.6$ make mrproper
[snip]
c:~/src/linux-2.6.29.6$ zcat /proc/config.gz > .config
c:~/src/linux-2.6.29.6$ cp -p .config .config.from_running_kernel
c:~/src/linux-2.6.29.6$ make oldconfig
c:~/src/linux-2.6.29.6$ make gconfig &
[GUI session]
c:~/src/linux-2.6.29.6$ diff .config .config.from_running_kernel
4c4
< # Thu Oct 22 21:20:14 2009
---
> # Mon Aug 17 00:50:41 2009
3813,3831c3813
< CONFIG_EDAC=y
<
< #
< # Reporting subsystems
< #
< # CONFIG_EDAC_DEBUG is not set
< CONFIG_EDAC_MM_EDAC=y
< CONFIG_EDAC_AMD76X=y
< # CONFIG_EDAC_E7XXX is not set
< # CONFIG_EDAC_E752X is not set
< # CONFIG_EDAC_I82875P is not set
< # CONFIG_EDAC_I82975X is not set
< # CONFIG_EDAC_I3000 is not set
< # CONFIG_EDAC_X38 is not set
< # CONFIG_EDAC_I5400 is not set
< # CONFIG_EDAC_I82860 is not set
< # CONFIG_EDAC_R82600 is not set
< # CONFIG_EDAC_I5000 is not set
< # CONFIG_EDAC_I5100 is not set
---
> # CONFIG_EDAC is not set
Best

Charles
 
Old 10-24-2009, 11:05 AM   #2
jedi_sith_fears
Member
 
Registered: Jan 2008
Location: Kolkata
Distribution: Slackware(64)-current, Fedora 14, FreeBSD
Posts: 136
Blog Entries: 1

Rep: Reputation: 29
You can use xconfig or menuconfig to change the localversion,

If all else fails, edit the .config file by a text editor manually.

For installing modules, use "make modules_install" command.
 
Old 10-25-2009, 05:27 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,541
Blog Entries: 28

Original Poster
Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by jedi_sith_fears View Post
You can use xconfig or menuconfig to change the localversion,

If all else fails, edit the .config file by a text editor manually.

For installing modules, use "make modules_install" command.
Thanks jedi_sith_fears

make xconfig wasn't an option (no Qt on this system) but make menuconfig allowed the change.

I'm more than happy to configure by editing files but too ignorant of the build process to wantonly ignore a restriction imposed by the make gconfig GUI.

Building now with suffix -smp-c1 ...
 
Old 10-25-2009, 08:55 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 11,141
Blog Entries: 3

Rep: Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406Reputation: 1406
Hi,

You can edit the 'MAKEFILE' and include/change 'EXTRAVERSION=' which is at the top of the file.

 
  


Reply

Tags
config, kernel, slackware13


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
Local version - append to kernel release (LOCALVERSION) [] (NEW) dr_zayus69 Linux - Software 2 05-06-2008 05:49 PM
Kernel compiling-problems with gconfig??? ak-87 Debian 12 07-16-2005 12:43 PM
how I configure gconfig in kernel update 2.6 ngan_yine Slackware 3 10-15-2004 02:21 PM
kernel make gconfig props666999 Slackware 10 08-07-2004 03:06 PM
How to change the GRUB configuration file with kernel 2.6.7 Bassam Linux - Software 2 06-22-2004 02:44 AM


All times are GMT -5. The time now is 10:23 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration