Tiny Core Linux

Tiny Core Base => TCB Q&A Forum => Topic started by: Tired Light on January 06, 2012, 04:32:19 PM

Title: making a custom kernel needed?
Post by: Tired Light on January 06, 2012, 04: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.
Title: Re: making a custom kernel needed?
Post by: Tired Light on January 06, 2012, 05: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?
Title: Re: making a custom kernel needed?
Post by: gerald_clark on January 06, 2012, 05:49:14 PM
Please read the documentation on the web site and wiki.
Title: Re: making a custom kernel needed?
Post by: Tired Light on January 06, 2012, 05: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?
Title: Re: making a custom kernel needed?
Post by: gerald_clark on January 06, 2012, 06: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.
Title: Re: making a custom kernel needed?
Post by: Tired Light on January 06, 2012, 07: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.
Title: Re: making a custom kernel needed?
Post by: gerald_clark on January 06, 2012, 07:26:32 PM

http://wiki.tinycorelinux.net/wiki:start#remastering (http://wiki.tinycorelinux.net/wiki:start#remastering)
Core IS the initrd.
Mounting / on a drive is not supported.
Title: Re: making a custom kernel needed?
Post by: Rich on January 07, 2012, 02:51:11 AM
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
Title: Re: making a custom kernel needed?
Post by: curaga on January 07, 2012, 04:14:35 AM
Yes, TC will run on a static kernel.