trying to load a configuration in kernel
David Sanán Baena
davidsanan at teleline.es
Sun Dec 15 13:42:26 EST 2002
Hi.
I have made a kernel element and it compiles ok, but when I try to load a
configuration that uses it I got a error message.
I do make and make install so the linked file is copied to /usr/local/lib
and it's created the new elementlist.
Then I load the click.o (insmod click.o from /usr/local/lib)
and then I load the configuration file (just the test.click from the
samplepackage).
when I went /proc/click to see if everything was well I found this in
errors:
pwd
/proc/click
[root at localhost click]# ls
1 classes cycles flatconfig list packages QuitWatcher at 2 stop
threads
2 config errors hotconfig meminfo priority requirements test
version
[root at localhost click]# cat errors
unsatisfied requirement `sample'
line 3: unknown element class `ToTcl'
line 5: While initializing `QuitWatcher at 2 :: QuitWatcher':
element `test' has no `scheduled' handler
Router could not be initialized!
test.click is:
Test.click
require(sample);
test :: ToTcl;
QuitWatcher(test);
If I try to compile the sampleelement and load it (just the sample) I got
the same result.
Where must be the .ko file? Now it's in /usr/local/lib, but I also copied it
to the kernelmodule dir (with the others elements).
If I load a configuration with precreated elements (like the confs in
click/confs) it loads ok, and the click.o file is correctly load with insmod
click.o
I don't know what to do!!!
Thanks in advance
David
More information about the click
mailing list