|
From: | Cory Cross |
Subject: | [Schemix-devel] Update: Schemix compiles and runs with 2.6 |
Date: | Mon, 07 Feb 2005 02:39:00 -0500 |
User-agent: | Mozilla Thunderbird 1.0 (X11/20041206) |
Hello interested people,I have updated Schemix w/ Kallsyms to work with the Linux 2.6 kernel. I did not try with DevFS, because it is deprecated. I will post the updated files as a patch soon. Unfortunately, without knowing another way to access kernel non- & exported symbols, a small piece of code has to be compiled in the kernel or two separate functions in kallsyms.c and module.c need to be exported; I chose the former in order to not change other files in the source tree. If you think you can find a better way, look around line 1366 of schemix.c when I post it. Unfortunately, it does not appear that my code is getting non-exported symbols; for example, it won't find kernel::modprobe_path. I did some tests and it seems that the kernel-modified commands are not very robust to errors, causing kernel seg faults when mispelled arguments are given or small errors in formatting. For example, assert-type'ing a symbol that does not exist gives a seg fault (okay, I fixed that one, but there are more.) kernel-lambda is very touchy also.
Cory Cross
[Prev in Thread] | Current Thread | [Next in Thread] |