WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: making a custom kernel needed?  (Read 2813 times)

Offline Tired Light

  • Newbie
  • *
  • Posts: 4
making a custom kernel needed?
« on: January 06, 2012, 01:32:19 PM »
Hello,

My goal is to have my system boot to tc and then run cgminer (bitcoin miner). My current problem is heat.
I install lm_sensors and i2c but things aren't working.
sensors-detect doesn't detect.

In dmesg I see Longhaul is broken in this configuration and that leads me to building a custom kernel.

But I don't know if that's going to solve the problem. My cpu fan is running but the system fan is not.

Offline Tired Light

  • Newbie
  • *
  • Posts: 4
Re: making a custom kernel needed?
« Reply #1 on: January 06, 2012, 02:39:17 PM »
I am going to try building a kernel since my system is not typical it's likely that some Kconfig stuff is not enabled for me to take advantage of the features.  If I make a static kernel will it run under tc? Does tc require an initrd?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: making a custom kernel needed?
« Reply #2 on: January 06, 2012, 02:49:14 PM »
Please read the documentation on the web site and wiki.

Offline Tired Light

  • Newbie
  • *
  • Posts: 4
Re: making a custom kernel needed?
« Reply #3 on: January 06, 2012, 02:58:05 PM »
I don't see anything that answers my questions. Re: static kernel and initrd
Can you point me to them? A search doesn't get me anything.

Also I found that lm_sensors has a dependency on perl and libiconv and bash. Should those be in the lm_sensors.tcz.tree file?

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: making a custom kernel needed?
« Reply #4 on: January 06, 2012, 03:28:07 PM »
Core is a kernel and an initrd.
If you did not know this, you have not done any real research.
You know nothing about core, yet you feel you need to compile a kernel.
I suggest you run core for awhile and get familiar with how it works before
you consider making changes.

Offline Tired Light

  • Newbie
  • *
  • Posts: 4
Re: making a custom kernel needed?
« Reply #5 on: January 06, 2012, 04:17:33 PM »
I've run core long enough to know it ain't working as-is.
I do know that the wiki talks about the kernel and initrd.

Can I make a static kernel without initrd? Maybe you don't know? Just say so but don't try to beat me down.
I'm more than happy to just move along.

Don't feel obligated to reply to my posts if you don't like them. So far you've been unable to offer any help.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: making a custom kernel needed?
« Reply #6 on: January 06, 2012, 04:26:32 PM »

http://wiki.tinycorelinux.net/wiki:start#remastering
Core IS the initrd.
Mounting / on a drive is not supported.

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11243
Re: making a custom kernel needed?
« Reply #7 on: January 06, 2012, 11:51:11 PM »
Hi Tired Light
Quote
Also I found that lm_sensors has a dependency on perl and libiconv and bash. Should those be in the lm_sensors.tcz.tree file?
TC3.x lists them as dependencies, TC4.x does not, but the change log does not indicate they are
no longer needed, so unless someone can confirm they are no longer required, install them.
Did you follow these instructions?:
Code: [Select]
                First run sensors-detect to identify available sensors, then
                check /etc/sysconfig/lm_sensors for necessary kernel moduls and add them
                to modprobe in bootlocal.sh

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10965
Re: making a custom kernel needed?
« Reply #8 on: January 07, 2012, 01:14:35 AM »
Yes, TC will run on a static kernel.
The only barriers that can stop you are the ones you create yourself.