WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compiling new kernel for corepure64  (Read 16441 times)

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #15 on: January 16, 2016, 01:44:11 PM »
Thanks all!

I'll give the 7.0beta a try on Monday. I already have a script that turns a tc iso into a bootable node, including all needed extentions.

I'll let you know how it turns out then.

Dan

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Compiling new kernel for corepure64
« Reply #16 on: January 17, 2016, 03:23:36 AM »
The cpu change will only be in the next beta, so maybe you want to wait a bit?
The only barriers that can stop you are the ones you create yourself.

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #17 on: January 17, 2016, 11:45:51 AM »
Will do. Thanks for the heads up.

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #18 on: January 21, 2016, 11:37:12 AM »
Which NIC modules are built into the new 7.0 beta2? I've booted up my compute node, yet the NIC now isn't being seen via 'ifconfig', only the loopback. I am using DHCP/PXE to boot the node. The node downloads the kernel and image just fine, it just hangs when it runs some network code (to determine its own hostname) in bootlocal.sh The NIC came up fine with the stock 5.4 iso (except for the cpu number issue, CONFIG_NR_CPUS). The number of cpus is now coming up fine.

I think we're almost there!

Dan

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #19 on: January 21, 2016, 12:42:36 PM »
I just went back to the CorePure 5.4 version and rebooted the node, to check what NIC driver it is using. It is the igb:Intel Gigabit Ethernet Network Driver - version 4.1.2-k. This driver is indeed found on the new 7.0 beta2 iso, but is not being loaded by the kernel. Is there a reason that the driver is loaded in version 5.4, but not in version 7.0 beta2?

Dan

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11178
Re: Compiling new kernel for corepure64
« Reply #20 on: January 21, 2016, 12:52:33 PM »
Hi xrayman2016
Have you checked  dmesg  for errors?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Compiling new kernel for corepure64
« Reply #21 on: January 21, 2016, 12:55:43 PM »
It grew a new dependency, on i2c-algo-bit, which I missed. You can load the i2c extension and everything should just work.

We'll include that module in the next version.
The only barriers that can stop you are the ones you create yourself.

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #22 on: January 21, 2016, 01:02:55 PM »
Thanks, I just found that information on an old forum post just now, and via looking at the dependencies of the igb.ko.gz driver. I'll load that into my image and try again.

Dan

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #23 on: January 21, 2016, 01:23:38 PM »
Added i2c-4.2.9-tinycore64.tcz to the image. No go yet on the PXE boot.  :(

Am not able to check this on my benchtest setup, as I do not have internet access there and can thus only use canned iso's for testing.

Dan

Offline xrayman2016

  • Newbie
  • *
  • Posts: 13
Re: Compiling new kernel for corepure64
« Reply #24 on: January 22, 2016, 08:06:14 AM »
You guys are amazing, and fast! Just downloaded the 7.0beta3 version. Worked first time! The compute node booted up with no issues. Got the new OpenSSH server working also (I first downloaded the x86 version and wondered why the gcc_lib dependency went away until I realized that I needed the x86_64 version!).

Thanks again for all your help. I couldn't have done this without you.

Dan

Offline sspans

  • Newbie
  • *
  • Posts: 3
Re: Compiling new kernel for corepure64
« Reply #25 on: May 27, 2016, 12:18:28 AM »
The 7.1 kernel has CONFIG_NR_CPUS=64 but still fails to support SMP on some hardware,
resulting in running with 1 core active on HP Gen9 UEFI hardware.

Code: [Select]
smpboot: Allowing 1 CPUs, 0 hotplug CPUs

The main reason seems to be that CONFIG_X86_X2APIC is not set in the kernel config, which is required
for SMP on a large number of platforms.

https://forums.gentoo.org/viewtopic-t-1017132-start-0.html

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10957
Re: Compiling new kernel for corepure64
« Reply #26 on: May 27, 2016, 01:34:30 AM »
Thanks, noted. Seems to be only big server hardware, which is not really the target of Core, and so this is not urgent (for 8.x).

Using a custom kernel is fairly easy - download our source and config, enable that option, build. If the option has small enough reach, the kernel will even be compatible with existing modules, requiring you to only replace vmlinuz.
The only barriers that can stop you are the ones you create yourself.