#19880: Default trunk kernel config (both 3.18.14 & 4.0.4) maybe broken for 
x86/64:
LKMs disabled
-----------------------+----------------------------------
  Reporter:  mirko_47  |      Owner:  developers
      Type:  defect    |     Status:  new
  Priority:  normal    |  Milestone:  Chaos Calmer (trunk)
 Component:  kernel    |    Version:  Trunk
Resolution:            |   Keywords:  kernel modules, LKMs
-----------------------+----------------------------------

Comment (by mirko_47):

 Thank you for your answer,

 I've just finished to try the 46007 with both 3.18.14 (as you suggested)
 and 4.0.4, and I get the same error:
 This one is for 3.18.14:

 {{{
 net/sched/Kconfig:43: warning: menuconfig statement without prompt
 .config:4384:warning: override: SPARSEMEM_MANUAL changes choice state
 .config:4650:warning: override: TREE_RCU changes choice state
 *
 * Restart config...
 *
 *
 * Bus options (PCI etc.)
 *
 PCI support (PCI) [Y/n/?] y
   Support mmconfig PCI config space access (PCI_MMCONFIG) [N/y] n
   Read CNB20LE Host Bridge Windows (PCI_CNB20LE_QUIRK) [N/y/?] n
   PCI Express Port Bus support (PCIEPORTBUS) [Y/n/?] y
     Root Port Advanced Error Reporting support (PCIEAER) [Y/n/?] y
       PCI Express ECRC settings control (PCIE_ECRC) [N/y/?] n
       PCIe AER error injector support (PCIEAER_INJECT) [N/m/y/?] n
     PCI Express ASPM control (PCIEASPM) [N/y/?] n
   Message Signaled Interrupts (MSI and MSI-X) (PCI_MSI) [Y/n/?] y
   PCI Debugging (PCI_DEBUG) [N/y/?] n
   Enable PCI resource re-allocation detection (PCI_REALLOC_ENABLE_AUTO)
 [N/y/?] n
   PCI Stub driver (PCI_STUB) [N/m/y/?] n
   PCI disable common quirks (PCI_DISABLE_COMMON_QUIRKS) [N/y/?] n
   Interrupts on hypertransport devices (HT_IRQ) [Y/n/?] y
 PCI IOV support (PCI_IOV) [N/y/?] n
 PCI PRI support (PCI_PRI) [N/y/?] n
 PCI PASID support (PCI_PASID) [N/y/?] n
 PCI IO-APIC hotplug support (PCI_IOAPIC) [N/y] (NEW) aborted!

 Console input/output is redirected. Run 'make oldconfig' to update
 configuration.

 scripts/kconfig/Makefile:36: recipe for target 'silentoldconfig' failed
 make[7]: *** [silentoldconfig] Error 1
 Makefile:541: recipe for target 'silentoldconfig' failed
 make[6]: *** [silentoldconfig] Error 2

 The present kernel configuration has modules disabled.
 Type 'make config' and enable loadable module support.
 Then build a kernel with module support enabled.

 Makefile:1152: recipe for target 'modules' failed
 make[5]: *** [modules] Error 1
 Makefile:22: recipe for target '/media/Ramdisk/openwrt/build_dir/target-
 x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.18.16/.modules' failed
 make[4]: *** [/media/Ramdisk/openwrt/build_dir/target-
 x86_64_uClibc-0.9.33.2/linux-x86_64/linux-3.18.16/.modules] Error 2
 Makefile:13: recipe for target 'compile' failed
 make[3]: *** [compile] Error 2
 }}}

 As you can see, it seems that not only a single symbol is missing...

 And again, running:
 {{{
 make target/linux/prepare
 make kernel_oldconfig
 make kernel_menuconfig
 }}}
 or only:
 {{{
 make target/linux/prepare
 make kernel_menuconfig
 }}}
 doesn't seem to help...

 I've to admit that I've a very limited experience with OpenWrt, so I would
 like to ask you:
 trying to compile a linux kernel only (I've simply downloaded the source
 tarball from kernel.org and run "make menuconfig" then "make"), I've seen
 that I didn't get any error; so if I save the .config (which I suppose
 that it must have all the symbols configured properly since I get it
 compiled...) doesn't exist any way to merge it with the default "config"
 that it can be found under /target/linux/generic, with a .config ???

 thank you very much again.

--
Ticket URL: <https://dev.openwrt.org/ticket/19880#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to