Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: TJ on January 20, 2011, 09:20:46 PM

Title: sata_sil
Post by: TJ on January 20, 2011, 09:20:46 PM
I see there was a tczm file created for SATA driver support, but no tcz file (sata_sil-2-6-26-tczm).  Is there an easy way to convert this file to tcz?  I don't need the SATA drivers necessarily to boot in my case as I am booting via PXE, but I need them afterwards.

Thanks,

Tim M
Title: sata_sil
Post by: TJ on January 20, 2011, 09:54:55 PM
I was able to extract the ko.gz driver files from the tczm file and I remastered the image to include them.  But when I call insmod to load the drivers, it says they are incompatible because the version magic is different.  Is there a way to update the version?  It says:  sata_sil24: version magic '2.6.26-tinycore SMP mod_unload 486 ' should be '2.6.3.3-tinycore SMP mod_unload 486'.  I don't have sources for these SATA drivers or the tools to build on the tiny core system.

Thanks,

Tim M
Title: sata_sil
Post by: bmarkus on January 20, 2011, 10:44:22 PM
That time 2.6.29 kernel was used, while TC 3.x comes with 2.6.33 which means kernel module is incompatible.
Title: sata_sil
Post by: tinypoodle on January 21, 2011, 01:09:14 AM
CONFIG_SATA_SIL24=y

http://forum.tinycorelinux.net/index.php?topic=4395.msg45810#msg45810

Appears to be compiled into current stock kernel, so no module required.
Title: sata_sil
Post by: TJ on January 21, 2011, 02:55:26 PM
I don't see any ATA directory under kernel/drivers for TC 3.4.1.  I didn't build from sources, just remastered the ISO.  Shouldn't CONFIG_SATA_SIL24 add this directory?

Thanks,

Tim M
Title: sata_sil
Post by: tinypoodle on January 21, 2011, 07:15:06 PM
No!
It is compiled (directly) into the kernel, that is the meaning of '=y' in the config file ;)