Tiny Core Extensions > TCE Talk

Wireless 2.6.26 not "reloading" at boot

(1/1)

JB-Linux:
First off, Hello.  Looks like there is a great project going on here.  Here is what I have got....

Tiny Core Linux RC3

A "frugal" install on the hard drive booting with grub:

root (hd0,4)
kernel /bzImage quiet laptop tclocal=hda5
initrd=/tinycore.gz

I am also using the tclocal "file" format (I have also tried the directory format).  Other extensions seem to work fine, ie. emelfm, leafpad, minefield, but Wireless 2.6.26.tcem is not loading.  I have also tried Xorg and got errors.  One thing I observed is that is seems the *.tcem (module extensions? correct me if I am wrong), do not seem to "stick" after shutting down.

BTW - I was able to get wireless working with this extension :) - It was lost after a reboot though :(

Thanks in advance,
JB

curaga:
Not all extensions are fully in /usr/local yet - mostly those with modules ie .tcem.
Work is underway to bring those too there.

Xorg is 99% in /usr/local, the only pieces outside are /var/lib/xkb (directory) for compiled keymaps, and the user-provided config file /etc/X11/xorg.conf.

Jason W:
As of Tinycore 1.0rc6 the framework for supporting kernel modules in /usr/local is complete.  So kernel modules can be supported in PPI mode without being reloaded upon each boot.  Alsa modules do not like this kind of thing just like they don't like tcz format for reasons not yet known.  But so far all other modules I have tried get recognized by depmod when installed into /usr/local.  Even OSS works with it's modules in /usr/local, but the extension would have to get recompiled to by fully under tclocal.  I rebuilt my own copy of wireless-2.6.26.tcem with the modules installed in /usr/local and tested it.  I don't have wireless to test their function with, but modules.dep is rebuilt correctly  when the extension is loaded and the modules get loaded along with their dependencies by modprobe. 
What has been done is a symlink has been added:
/lib/modules/2.6.26-tinycore/kernel.tclocal  ->  /usr/local/lib/modules/2.6.26-tinycore/kernel

Therefore to make an extension that installs the modules into /usr/local, just add /usr/local to the front of the /lib directory where the modules get normally installed.  Kind of like this:

cd /tmp
mkdir -p pkg pkg1/usr/local
tar xzvf wireless-2.6.26.tcem -C pkg
mv pkg/lib pkg1/usr/local
cd pkg1
find . -not -type d > /tmp/list
tar -T /tmp/list -czvf /home/tc/wireless-2.6.26.tcem

This should help support PPI and reduce the need to load kernel module extensions on each boot once they are installed, as well as reduce memory usage.

kagashe:

--- Quote from: JB-Linux on December 06, 2008, 07:23:53 AM --- I have also tried Xorg and got errors. 

--- End quote ---
Is it intel card?

kagashe

Navigation

[0] Message Index

Go to full version