/srv/irclogs.ubuntu.com/2011/03/08/#ubuntu-kernel.txt

Keybuklinux-tools is uninstallable on current natty :'(00:48
lifeless\o/00:51
=== ericm-Zzz is now known as ericm
=== ogra is now known as Guest2736
=== Guest2736 is now known as ogra_
* jjohansen reboot01:34
=== MTecknology is now known as MT-TakinBreak
=== _LibertyZero is now known as LibertyZero
ncusterhello, I am having the same issues building the kernel modules virtualbox via dkms that this user is: http://lists.debian.org/debian-user/2011/01/msg01508.html ... however I am using the stock pae ubuntu kernel instead of a custom built one. I installed the pae headers, but I am still having the same issue. Is there some other change I need to make so that I can build this module?06:05
=== _LibertyZero is now known as LibertyZero
=== smb` is now known as smb
=== ericm__ is now known as ericm-dinner
=== diwic is now known as diwic_afk
=== ogra_ is now known as ogra
=== diwic_afk is now known as diwic
Kanohi, how different is -6 kernel to rc8?12:39
doko_any idea when the fix for bug #605042 will be uploaded to lucid?12:48
ubot2Launchpad bug 605042 in linux-fsl-imx51 "[armel] java fails to start with eglibc-2.12-0ubuntu4" [Critical,In progress] https://launchpad.net/bugs/60504212:48
fairuzwhat is the equivalent library in kernel space for unistd.h?13:09
=== ericm-dinner is now known as ericm|ubuntu
smbdoko_, I saw that patch just today submitted for sru. I don't think it was committed yet and then it would need another upload which I am also not sure when that could be.13:12
smbsconklin, bjf Would you happen to know about fsl plans for Lucid?13:12
doko_smb: we need the kernel on the buildd to fix it in eglibc ...13:14
tgardnerdoko_, working on it...13:14
doko_thanks13:15
=== diwic is now known as diwic_afk
fairuzHi, can I call smp_processor_id() in user space?14:43
mjg59fairuz: No14:47
mjg59fairuz: Also, unless you have affinity, it's not a meaningful thing to do14:48
mjg59fairuz: You could be rescheduled to a different CPU between making the call and doing something with it14:48
fairuzmjg59: I'm running a dual core cortex-A914:48
fairuzand I can set the affinity of a process14:48
mjg59fairuz: Then sched_getaffinity will give you your affinity14:49
fairuzmjg59: ah ok14:49
fairuzmjg59: so a setaffinity will affect only one process right?14:49
mjg59fairuz: Yes14:49
mjg59See man sched_setaffinity14:49
fairuzmjg59: ok ty14:50
mjg59The first argument is the pid14:50
fairuzmjg59: so basically we cant set an affinity for a program that not yet running?14:52
mjg59fairuz: No, but you can launch it with taskset14:53
fairuzmjg59: hmm whats that14:53
mjg59fairuz: What are you actually trying to achieve?14:53
mjg59fairuz: A command that launches a process on a specified set of CPUs14:53
fairuzmjg59: actually i have a program..lets call it X14:53
fairuzthat i dont want to modify its source code14:53
fairuzand I have another program that sets some hardware registers14:54
fairuzso basically the flow is14:54
fairuz1) call my program, and set something14:54
fairuz2) call program X14:54
fairuz3) call my program again to reset something and colelct data14:54
fairuz*collect14:54
fairuzso if possible I want all of them to run on a processor of my choice14:55
Krunchwrap all that in a shell script that you start with taskset14:55
fairuzI already made a shell script to launch all that14:55
Krunchunless you mean the two need to run on different CPUs, taskset is still the solution but you use it in the shell script14:55
fairuzKrunch: ok, I think I have all the elements, So right now I just need to launch the script from taskset14:56
Krunchand the affinity will be inherited by its children14:57
fairuzwhat taskset will do exactly?14:57
mjg59fairuz: taskset will set the affinity and then exec your process14:57
mjg59fairuz: Which will then inherit that affinity14:57
mjg59So taskset -c 1 myscript.sh will run myscript on cpu 114:58
mjg59And taskset -c 0 myscript.sh will run it on cpu 014:58
fairuzmjg59: Ah ok, so I set the affinity on a higher level14:58
fairuzbecause right now I jsut set the affinity in my program, and not in program X14:58
Krunchs/myscript/myscript and the processes it spawns/14:58
fairuzand I know its wrong14:58
fairuzKrunch: mjg59: ok thanks.. I think I get it now14:59
Krunchwell you can have the 1st program set affinity of program X as well if you know its pid but that's just more work while you can make it simpler by taking advantage of affinity inheritance14:59
fairuzKrunch: but I dont think thats possible, because at the moment the 1st program runs, the program X is not yet launched thus it does not have any PID yet, right?15:00
Krunchi am sure you can devise some ipc mechanism to give it the pid15:02
Krunchbut doing it that way is really useless work and complexity15:02
fairuzKrunch: ok. I'll try taskset15:02
fairuzSo all programs launch by a script are considered the children of that script?15:03
bjf##15:03
bjf## Ubuntu Kernel Team Meeting - Today @ 17:00 UTC - #ubuntu-meeting15:03
bjf##      agenda: https://wiki.ubuntu.com/KernelTeam/Meeting15:03
bjf##15:03
mjg59fairuz: Yes15:03
fairuzmjg59: I hope taskset is not arch dependant since I'm using ARM15:04
fairuzsome tools are not working on ARM15:04
fairuz=(15:04
mjg59I hope that too!15:04
fairuzmjg59: Krunch: Thanks15:05
fairuzSo I imagine if I set taskset -c 3 myprog15:11
fairuzthen it up to the kernel to choose which processor it want myprog to run?15:12
=== ericm|ubuntu is now known as ericm-Zzz
Krunch"-c3" means to run only on the 4th cpu15:32
fairuzKrunch: I thougth it means cpu 0 and cpu 1 are chosen>15:38
mjg59fairuz: No, -c is a list of CPUs, not a mask15:40
fairuzmjg59: ok15:44
sforsheepgraner, can you accept the natty nomination on bug 50851615:48
ubot2Launchpad bug 508516 in linux "wakeup from sleep fails on toshiba nb305" [Undecided,In progress] https://launchpad.net/bugs/50851615:48
bjf##16:30
bjf## Ubuntu Kernel Team Meeting - in 30 minutes - #ubuntu-meeting16:30
bjf##16:30
=== jepler- is now known as jepler
Ntemishi17:13
Ntemisplease i need your help17:13
Ntemisi just tried to update samba on my server and i f*** it up badly17:13
Ntemismy server is ubuntu 10.10 and i tried to update to samba 3.5.8 from here17:14
Ntemisftp://ftp.sernet.de/pub/samba/3.5/debian/dists/lenny/main/binary-amd64/17:14
Ntemisnow i am left without samba17:14
Ntemisand this:17:14
JFo<-lunch17:14
JFobbiab17:14
apwNtemis, you tried to update from a lenny package?  i suspect that is not the best plan17:15
Ntemishttp://pastebin.com/NadhUFQg17:15
Ntemisplease help me unistall the conflicting packages17:16
Ntemisi want my samba back :)17:16
Ntemiscould not find any deb for 3.5.8 version17:16
Ntemismy kernel is 2.6.37.3 :)17:17
Ntemisso i wanted to use the latest samba also, my fault17:17
Ntemisfortunately i backed up my samba.conf17:18
apwNtemis, i would try and install the official version of samba17:18
apwas the first step17:18
Ntemisno go17:19
Ntemishave a look in my pastebin17:19
Ntemispackages have unmet  dependencies17:20
bjfjjohansen, just a heads up, you've been dropped from the meeting agenda :-)17:21
jjohansenbjf: okay17:22
jjohansenbjf: shooting for 6 min next week :)17:22
bjfjjohansen, heh, something like that17:22
=== doko_ is now known as doko
=== bjf changed the topic of #ubuntu-kernel to: Home: https://wiki.ubuntu.com/Kernel/ || Natty Kernel Version: 2.6.38 || Ubuntu Kernel Team Meeting - March-15 - 17:00 UTC || If you have a question just ask, and do wait around for an answer!
sconklinJFo: you here?17:47
=== MT-TakinBreak is now known as MTecknology
JFosconklin, yep18:22
JFoam now18:22
kamaljjohansen: fyi, the natty toolchain problem (".size expression ...") seems to be fixed in the archive now.  natty kernel build is no longer failing on Launchpad.19:34
jjohansenkamal: oh, /me was just starting to look as I did an upgrade this morning and was seeing the failure locally19:39
* jjohansen goes to update again19:39
jjohansenkamal: btw thanks for the heads up19:39
kamaljjohansen: sure :-).  apw uploaded a new natty kernel, and it sees to be building fine on LP now.  I've successfully built amd64 on tangerine, and am testing i386 there now.19:40
kamals/sees/seems/19:41
kamaljjohansen: natty kernel {i386, amd64} now building fine on tangerine again19:46
jjohansennice19:47
jjohansenI've just sucked in the new tool chain locally and have fired off a test19:48
kamaljjohansen: pretty massive breakage... I'm surprised it got into the archive at all in that state.  anyway ... back to the old grind.  ;-)19:48
jjohansenyeah, well accidents happen, /me has had his fair share too19:49
=== ogra is now known as Guest59853
=== Guest59853 is now known as ogra
bryceh_apw, have you guys thought about backporting the support for ATI Cayman cards (http://www.phoronix.com/scan.php?page=news_item&px=OTE2NA)22:53
jjohansenbryceh_: sigh, it will probably happen22:58
rishiI am looking for the source for the linux-image-generic-lts-backport-maverick kernel. After reading https://help.ubuntu.com/community/Kernel/Compile and https://wiki.ubuntu.com/KernelTeam/KernelGitGuide I am unable to locate which Git tree to clone.22:59
rishiI am trying diagnose a problem with the Mantis DVB driver and want to apply three patches from Linus' tree to test the issue.23:00
rishiAny help regarding the location of the sources of linux-image-generic-lts-backport-maverick will be very helpful. Thanks.23:00
jjohansenrishi: its in the lts-backport-maverick branch in the ubuntu-lucid repo23:14
rishijjohansen: Ok. Ok.23:19
rishiI am just curious, what is the difference between http://kernel.ubuntu.com/~kernel-ppa/mainline/ and https://launchpad.net/~kernel-ppa/+archive/ppa ? Both seem to go by the name kernel-ppa, but have different content.23:20
=== yofel_ is now known as yofel

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