[12:31] <aroth> Hello everybody!
[12:31] <aroth> I have a question: Is there a way to find out if a PC has been started by the power button or an wake on lan request?
[14:52] <kimus> hi, I need some help building a module
[14:52] <kimus> compiled a rtl8187 module but it does not load on the kernel. I think the problem is a version missmatch
[14:54] <kimus> I tried linux-source package and build module source with make -c /lib/modules/$(uname -r)/build modules and does not load either
[17:40] <emgent> hello
[18:51] <kimus> can anyone help me compiling a single module? I can compile the module but gives an error on insmod
[19:34] <Shanix_> kimus, what error ?
[19:34] <Shanix_> kimus, you should go to #ubuntu
[20:07] <kimus> Shanix_: should go to #ubuntu ?!?!
[20:08] <kimus> isn't this the right channel to ask for help on kernel / module building?
[20:09] <CarlFK> kimus: /topic ﻿"kernel development "
[20:10] <kimus> sorry, for me kernel development is module related
[20:12] <CarlFK> no problem.  
[20:32] <kimus> couldn't anyone help? it's kernel related... please :-)
[20:33] <kimus> #ubuntu is full of people asking stuff
[20:33] <alex_joni> kimus: if you expect any help, then at least put the error in a pastebin somewhere
[20:34] <kimus> errors i'm getting > "insmod: error inserting 'rtl8187.ko': -1 Unknown symbol in module", and dmesg gives more > "rtl8187: Unknown symbol
[20:34] <kimus> so I'm guessing that source != from current kernel
[20:36] <kimus> alex_joni: any hint?
[20:37] <alex_joni> kimus: if you expect any help, then at least put the _whole_ error in a pastebin somewhere, including parts from dmesg which are relevant
[20:38] <kimus> humm... paste wrong here :-)
[20:38] <kimus> I will put in a pastebin
[20:42] <kimus> alex_joni: http://paste.ubuntu.com/69742/
[20:47] <alex_joni> try modprobe
[20:49] <kimus> modprobe? how can I modprobe from the module I just compiled?
[20:52] <johanbr> Put it in the subdirectory of /lib/modules/ that goes with your kernel, run "sudo depmod -a" and then modprobe.
[20:54] <kimus> humm that worked
[20:54] <kimus> insmod should work :-S
[20:56] <johanbr> insmod does not take module dependencies into account
[20:57] <kimus> stupid error... ok thank you. i had to build this module because it lacks an device id
[20:57] <alex_joni> kimus: lsmod | grep for your module, look at the deps
[20:57] <alex_joni> then you can load them by hand, and use insmod
[20:58] <alex_joni> but modprobe is usually easier
[20:58] <kimus> oh... was only that? I had to modprobe for the deps before insmod ?
[21:03] <CarlFK> kimus: or load the deps 
[21:03] <alex_joni> kimus: either you use modprobe (and it pulls in the deps), or you install the modules by hand, then you can use insmod with the new module
[21:03] <kimus> i get it... next time :-)
[21:04] <kimus> you should update wubuntu wiki, there's no info on building a single module
[21:04] <alex_joni> if it's a wiki page you read, then you can improve it yourself
[21:05] <alex_joni> that's the whole point of the wiki, for people to give back to ubuntu (in a simple way)
[21:05] <kimus> sure... I can put there how to build and the insmod error :-D
[21:06] <alex_joni> kimus: make sure the missing device id is fixed upstream or in a later kernel version
[21:06] <kimus> is fixed on upstream
[21:06] <CarlFK> alex_joni: as long as you are .. here... :)  Do you have an x64 that you don't mind panicing?  I was asked if a bug crashed it too, and am getting anoyed trying to setup a VM to try it https://bugs.launchpad.net/ubuntu/+source/linux/+bug/294951
[21:07] <kimus> http://bugzilla.kernel.org/show_bug.cgi?id=11728
[21:07] <alex_joni> CarlFK: you might mistaken me for a kernel dev :)
[21:07] <alex_joni> no x64 install atm, nly i386 hardy
[21:07] <CarlFK> rats.
[21:08] <CarlFK> back to qemu...
[21:08] <alex_joni> CarlFK: sorry :/
[21:08] <CarlFK> wana pannic your i386? :)
[21:08]  * alex_joni should note he's not running -generic
[21:08] <alex_joni> but yeah, if it helps..
[21:08] <CarlFK> I doubt there is anything to gain... so probably not much point 
[21:08] <CarlFK> na
[21:09] <alex_joni> I panic and oops it all the time, so it's used :P
[21:09] <alex_joni> all the time might be an exageration though :D
[21:35] <kimus> ok thanx
[21:36] <kimus> bye