/srv/irclogs.ubuntu.com/2010/11/21/#ubuntu-kernel.txt

keeswhat's the kernel magic that replaces code at boot-time? like for the smp vs uniproc code? I can't find it at the moment...07:11
devajHi, could anyone help me with kernel upgrade09:10
devajI am trying to upgrade the kernel from here : http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.36-maverick/09:12
devajThe problem is I don't understand what the patch stands for (in terms of kernel upgrade)09:13
devajand if they are of importance how do I apply it09:13
devajor is the kernel already patched09:14
hrw|confhi09:25
hrw|confI am plying with ubuntuization of kernel for one of my machines (unsupported by ubuntu) and have a problem with ABI check09:25
=== yofel_ is now known as yofel
=== oldkid_ is now known as oldkid
=== BenC_ is now known as BenC
blahsphemerCould someone please give a kernel-level project idea for ubuntu22:45
blahsphemerI'd like to contribute in the kernel development22:46
blahsphemerlike I said earlier(about a day or two) I have kernel hacking experience in FreeBSD like implementing my own process scheduling algorithm, page replacement algorithm22:47
RAOFblahsphemer: What sort of project are you after?22:55
blahsphemerRAOF, I really can't define anything specifically cuz I. 22:56
blahsphemeram onl starting out now22:56
blahsphemer*only22:56
blahsphemerI'd like to work only on the kernel though22:57
RAOFWell, generally the plan would be to find something that you want to work and make it work.22:58
RAOFI'd quite like someone to play around in the input subsystem (the /dev/input/event* nodes) to change their behaviour from multicast to all open fds to unicast to one open fd + an ioctl to switch which fd gets the input :)23:00
blahsphemerRAOF, sorry, I didn't see your post cuz it wasn't highlighted. 23:05
RAOFNo problem :)23:05
blahsphemerRAOF, quite frankly, I followed nothing after the work 'behaviour'23:06
RAOFHeh.23:06
RAOFSo, currently, every open fd of /dev/input/event* gets all input from that device.23:07
RAOFIt would be useful if it were possible to restrict it so that exactly one open fd got the input, and there was an ioctl to switch which fd is currently getting input.23:07
RAOFDoes that make more sense?23:08
blahsphemerfd?23:08
RAOFFile descriptor23:08
blahsphemeraaah23:08
blahsphemernow it makes sense23:08
blahsphemerJesus23:08
RAOFSorry, I thought that terminology would be shared with the BSD kernels. :)23:09
blahsphemerI have only heard the full term being thrown around, no acronyms. My bad.23:09
RAOFblahsphemer: I've not investigated that code at all, but it seems like it should be relatively easy to do.  And quite useful :)23:12
blahsphemerRAOF, Sounds great. I am googling some basic stuff about it. Could you point me to some link, just so that I get to the point directly instead of skimming through bad results23:13
RAOFblahsphemer: http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=drivers/input/evdev.c;hb=HEAD is the evdev code which would need to be modified.23:17
blahsphemerGood lord, that was lightning fast considering the fact that you said you haven;t looked through the code23:18
blahsphemer;)23:18
RAOFI knew evdev was what you were after; drivers/input/evdev.c is a pretty obvious guess after that :)23:19
blahsphemerheh23:19
blahsphemerRAOF, Do you think this would be of any use: http://www.opengroup.org/onlinepubs/9699939699/toc.pdf23:33
blahsphemerI have no idea about fd's. So I thought I must get my basics right23:34
RAOFblahsphemer: That's probably not going to be a whole lot of use; it's only indirectly relevant.23:40
brycehgood morning RAOF23:40
RAOFGood eventide bryceh 23:41
blahsphemerokay. But is there some sorta write up and not the 'code' itself where I can gather the fundamentals before I could land my hands upon the kernel23:42
blahsphemerI hope you get what I am trying to say23:42
RAOFYeah, I do.23:42
blahsphemerI am reading the wiki article right now. If you'd like me to read some text (book or web article) I'd be glad23:44
brycehblahsphemer, there's a lot of books published with kernel hacking fundamentals, which are in various states of semi-obsolescence, many of which can also be found online23:45
RAOFwww.xml.com/ldd/chapter/book/ch03.html is a somewhat out of date primer on char devices.23:45
brycehblahsphemer, you might also want to peruse the "kernel janitor's todo list" which has some simpler tasks if you're looking for smallish starter projects23:46
blahsphemerbryceh, I wanna hit and I wanna hit hard ;) the fd thing sounds fun23:47
brycehRAOF, very kind of you not to hoodwink him into implementing 8xx kms support ;-)23:47
* blahsphemer struggles to comprehend the complexity in whatever bryceh just said :)23:48
RAOFbryceh: That's slowly coming along; if I'm reading intel-gfx right, the rewriting of AGP and gem might land in the next couple of kernels :)23:48
brycehRAOF, huh well I'll count chickens later23:48
RAOFMaybe the kernel support will be there before the all silicon is broken by electron-migration ;)23:49
blahsphemerFunny thing is that my OS professor specifically asked us not to involve ourselves in any sorta device driver development 23:49
blahsphemercuz according to him we'd be stuck there for our entire life23:50
brycehmy bed is they'll get it working right before we switch to wayland, and then they'll have to redo it all23:50
brycehhehe23:50
brycehblahsphemer, it's true23:50
RAOFThis isn't really device driver development, luckily.23:50
blahsphemer:)23:50
blahsphemerin another channel, someone said that it'd really help if I worked on Wayland cuz it's soon making its way into both fedora and ubunyu23:52
brycehthat's not really kernel development though23:52
RAOFThis *is* working on Wayland.  Just indirectly :)23:52
blahsphemerRAOF, o_O23:52
brycehfor sufficiently broad definitions of "wayland" ;-)23:53
RAOFSpecifically, this is making it possible to remove input routing priviledges from Wayland.23:53
brycehspeaking of which... I was able to get wayland working on i945 this morning23:53
bryceh(and gm45 the other day)23:53
RAOFAre the flowers beautifully rendered?23:53
RAOF:)23:54
RAOFAlso, cool.23:54
brycehthey are23:54
brycehRAOF, speaking of which... I nearly have the packaging done, so at some point this week I'd appreciate it if you could block out a couple hours to do a review of my mesa packaging changes23:55
RAOFCertainly.23:55
brycehRAOF, thanks, I'll let you know when I feel it ready23:55
blahsphemerokay, so I am going to read this now www.xml.com/ldd/chapter/book/ch03.html and when I'm stuck at something, I'll hit the room again :)23:57

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!