Quote:Running strings and looking at the version doesn't tell you anything, just that it is a kernel module of some version (which the hypothetical rootkit would also be).Ah so you agree to disagree with yourself?
heres both your last posts on that forum.
Quote:Looks OK but doesn't load.thenLast edited by ThomasNovin; 4 Hours Ago at 02:48 AM..Code:
$ uname -r
2.6.31-16-generic
$ strings coretemp.ko | grep vermagic
vermagic=2.6.31.4 SMP mod_unload modversions
$ sudo modprobe coretemp
FATAL: Error inserting coretemp (/lib/modules/2.6.31-16-generic/kernel/drivers/hwmon/coretemp.ko): Invalid module format
Quote:OK since the above attachment didn't work and it's pretty stupid to load kernel modules from random people/forums (your system could be rootkited) I decided to compile it myself.I just wonder what made you jump to conclusions that file could be something that in fact is not your patched .KO will be pretty much the same except for the kernel it was compiled for which incidentally has nothing to do with rootkits or where they are, lets say I was curious to see your reply.his works!Code:
$ cd /usr/src
$ sudo wget wget http://mabene.icomedias.com/coretemp.patch #thers one too many wgets in your version.
$ sudo aptitude install linux-source-2.6.31
$ sudo tar jxvf linux-source-2.6.31.tar.bz2
$ cd linux-source-2.6.31
$ sudo patch -p1 <../coretemp.patch
$ cd drivers/hwmon
$ cat <<_EOF_ | sudo tee Makefile
obj-m += coretemp.o
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
_EOF_
$ sudo make
$ sudo cp coretemp.ko /lib/modules/$(uname -r)/kernel/drivers/hwmon/
$ sudo rm Makefile
$ sudo modprobe coretemp
Edit: Pretty much this was already suggested in post 28 Last edited by ThomasNovin; 2 Hours Ago at 04:50 AM..
so
Jaunty you say this would be correct?
Code:
$ cd /usr/src
$ sudo wget http://mabene.icomedias.com/coretemp.patch
$ sudo aptitude install (uname -r | awk -F'-' '{print $1}')
$ sudo tar jxvf linux-source-2.6.28.tar.bz2
$ cd linux-source-2.6.28
$ sudo patch -p1 <../coretemp.patch
$ cd drivers/hwmon
$ cat <<_EOF_ | sudo tee Makefile [b][color=Red]This line presents a > at prompt even if[/color][/b]
obj-m += coretemp.o
$cat <<_EOF_ | sudo tee Makefile obj-m += coretemp.o [b][color=Red]This line presents a > at prompt as well thiese instructions of yours need to be better defined as it does not allow a compilation of the your own coretemp.ko.
Cannot proceed
[/color][/b]
all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
_EOF_
$ sudo make
$ sudo cp coretemp.ko /lib/modules/$(uname -r)/kernel/drivers/hwmon/
$ sudo rm Makefile
$ sudo modprobe coretempAlso Karmic issues are specific to All the asrocks I have tin kered with for many people the ic2 smbus conflict exists with any karmic kernel except the 2.6.32 that doesnt mean you cant run xbmc only that it may very well be the cause of many issues I for one experienced that is not there with jaunty.
Either way Im pretty comfortable in Linux and I can compile and decompile stuff its not hard google knows everything
When Im confortable that Karmic has become stable enought for this platform then I will make necessary adjustment for the karmic install until then Im confident in sharing the information I shared and furthermore should any be found incorrect or real solutions are posted this all stuff works fine in Jaunty in karmic not so. Only if you compile kernel and compile modules to that kernel, can you imagine everytime theres a system update? redo all manually or make run a script so you have the whole lot recompile... the idea here is to make it simple as possible.
If you have any real solutions for the problems posted here then post your how to's be my guest I rather have someone posting ontopic then totally the opposite.
Will be waiting for your contributions for the Asrock Ion 330 family.

Search
Help