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