Find the answer to your Linux question:
Results 1 to 4 of 4
Hi, I installed RHEL 6.2, then downloaded the 3.2.1 kernel source from kernel.org and unpacked it to /tmp/linux-3.2.1. From /tmp/linux-3.2.1 directory, I issued the following commands to build and install ...
  1. #1
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2

    Question with make menuconfig

    Hi,

    I installed RHEL 6.2, then downloaded the 3.2.1 kernel source from kernel.org and unpacked it to /tmp/linux-3.2.1.

    From /tmp/linux-3.2.1 directory, I issued the following commands to build and install this kernel:
    - make mrproper
    - make menuconfig => did not make any changes, just saved it
    - make bzImage
    - make modules
    - make modules_install
    - make install

    After booting up with the 3.2.1 kernel, I went to /tmp/linux-3.21 directory and saved .config to .config_3.2.1. I then issued:
    -make mrproper
    -make menuconfig => did not make any changes, just saved it

    When I compared .config with .config_3.2.1, I see differences. Does anyone know why?

    Thanks for any help, greatly appreciate it!

  2. #2
    Linux Guru
    Join Date
    May 2011
    Posts
    1,843
    well, what are the differences? is there a timestamp in there? post the output of:
    Code:
    diff .config .config_3.2.1
    if you want.

  3. #3
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    The difference is probably the time stamp, and possibly the kernel version. Here is an example of the .config header from one kernel that I have configured and built.
    #
    # Automatically generated make config: don't edit
    # Linux kernel version: 2.6.32-131.17.1.el6.x86_64
    # Wed Oct 5 17:17:39 2011
    #
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  4. #4
    Just Joined!
    Join Date
    Jan 2012
    Posts
    2
    Thanks for the initial inputs. The differences are quite big. Here's a snippet of the sdiff -s output (27 lines out of 3198 lines):

    Code:
                                                                  > CONFIG_GENERIC_GPIO=y
    CONFIG_HAVE_INTEL_TXT=y                                       <
    # CONFIG_BSD_PROCESS_ACCT_V3 is not set                       | CONFIG_BSD_PROCESS_ACCT_V3=y
    CONFIG_LOG_BUF_SHIFT=18                                       | CONFIG_LOG_BUF_SHIFT=19
    # CONFIG_CGROUP_DEVICE is not set                             | CONFIG_CGROUP_DEVICE=y
    # CONFIG_CGROUP_MEM_RES_CTLR is not set                       | CONFIG_CGROUP_MEM_RES_CTLR=y
    # CONFIG_CGROUP_PERF is not set                               | CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
                                                                  > CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y
                                                                  > CONFIG_CGROUP_PERF=y
    # CONFIG_CFS_BANDWIDTH is not set                             | CONFIG_CFS_BANDWIDTH=y
    # CONFIG_RT_GROUP_SCHED is not set                            | CONFIG_RT_GROUP_SCHED=y
    # CONFIG_BLK_CGROUP is not set                                | CONFIG_BLK_CGROUP=y
                                                                  > # CONFIG_DEBUG_BLK_CGROUP is not set
    # CONFIG_SCHED_AUTOGROUP is not set                           | CONFIG_SCHED_AUTOGROUP=y
                                                                  > CONFIG_MM_OWNER=y
    # CONFIG_KALLSYMS_ALL is not set                              | CONFIG_KALLSYMS_ALL=y
    # CONFIG_PERF_COUNTERS is not set                             | CONFIG_PERF_COUNTERS=y
    CONFIG_SLUB_DEBUG=y                                           <
    # CONFIG_SLAB is not set                                      | CONFIG_SLAB=y
    CONFIG_SLUB=y                                                 | # CONFIG_SLUB is not set
    # CONFIG_OPROFILE is not set                                  | CONFIG_OPROFILE=m
                                                                  > CONFIG_OPROFILE_EVENT_MULTIPLEX=y
                                                                  > CONFIG_USER_RETURN_NOTIFIER=y
    # CONFIG_MODULE_FORCE_LOAD is not set                         | CONFIG_MODULE_FORCE_LOAD=y
    CONFIG_MODULE_FORCE_UNLOAD=y                                  | # CONFIG_MODULE_FORCE_UNLOAD is not set
    # CONFIG_MODVERSIONS is not set                               | CONFIG_MODVERSIONS=y
    # CONFIG_MODULE_SRCVERSION_ALL is not set                     | CONFIG_MODULE_SRCVERSION_ALL=y
    ... ...
    or simply snippet of the diff output:

    Code:
    28a29
    > CONFIG_GENERIC_GPIO=y
    48d48
    < CONFIG_HAVE_INTEL_TXT=y
    83c83
    < # CONFIG_BSD_PROCESS_ACCT_V3 is not set
    ---
    > CONFIG_BSD_PROCESS_ACCT_V3=y
    117c117
    < CONFIG_LOG_BUF_SHIFT=18
    ---
    > CONFIG_LOG_BUF_SHIFT=19
    122c122
    < # CONFIG_CGROUP_DEVICE is not set
    ---
    > CONFIG_CGROUP_DEVICE=y
    127,128c127,130
    < # CONFIG_CGROUP_MEM_RES_CTLR is not set
    < # CONFIG_CGROUP_PERF is not set
    ---
    > CONFIG_CGROUP_MEM_RES_CTLR=y
    > CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y
    > CONFIG_CGROUP_MEM_RES_CTLR_SWAP_ENABLED=y
    > CONFIG_CGROUP_PERF=y
    131,133c133,136
    < # CONFIG_CFS_BANDWIDTH is not set
    < # CONFIG_RT_GROUP_SCHED is not set
    ... ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...