/srv/irclogs.ubuntu.com/2007/01/10/#ubuntu-kernel.txt

=== _human_blip_ [n=mike@220.157.65.29] has joined #ubuntu-kernel
=== okaratas iyi geceler..
=== anibal [n=anibal@debian/developer/anibal] has joined #ubuntu-kernel
=== kkubasik [n=kjk38@c-69-140-109-194.hsd1.md.comcast.net] has joined #ubuntu-kernel
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
=== kkubasik [n=kjk38@c-69-140-109-194.hsd1.md.comcast.net] has joined #ubuntu-kernel
=== _human_blip_ [n=mike@220.157.65.29] has joined #ubuntu-kernel
=== rikai [n=rikai@unaffiliated/rikai] has joined #ubuntu-kernel
=== doko_ [n=doko@dslb-088-073-107-147.pools.arcor-ip.net] has joined #ubuntu-kernel
=== mdz [n=mdz@cpe-76-173-8-128.socal.res.rr.com] has joined #ubuntu-kernel
=== fabbione [i=fabbione@gordian.fabbione.net] has joined #ubuntu-kernel
=== calavera [n=calavera@195.Red-80-26-32.staticIP.rima-tde.net] has joined #ubuntu-kernel
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
=== Lure [n=lure@external-7.hermes.si] has joined #ubuntu-kernel
fabbioneBenC: ping?08:30
fabbioneBenC: if you have a chance please test .20-5 on your PB 17". It OOPS here like hell08:32
fabbioneand it can't get to boot the machine08:32
fabbionebest part is that it you get dropper to busybox, but usb keyboard doesn't work..08:33
=== ivoks [n=ivoks@33-104.dsl.iskon.hr] has joined #ubuntu-kernel
tepsipakkiBenC: bug 76341 is still there with 2.6.20-510:09
tepsipakki(Intel ISA PCIC probe: not found)10:14
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-kernel
=== gnomefreak [n=gnomefre@ubuntu/member/gnomefreak] has joined #ubuntu-kernel
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-kernel
=== datten_ [n=datten@xdsl-81-173-142-207.netcologne.de] has joined #ubuntu-kernel
=== datten_ is now known as datten
=== ivoks [n=ivoks@backup.grad.hr] has joined #ubuntu-kernel
fabbionekylem: 12:37
fabbione  CC [M]   ubuntu/fs/gfs/glock.o12:37
fabbioneubuntu/fs/gfs/glock.c: In function 'gfs_glock_be_greedy':12:37
fabbioneubuntu/fs/gfs/glock.c:1820: warning: passing argument 1 of 'schedule_delayed_work' from incompatible pointer type12:37
fabbionethis looks like a consequence of the INIT_WORK changes you did12:37
=== grazieno [n=ubuntu3@200.128.80.254] has joined #ubuntu-kernel
=== Keybuk [n=scott@wing-commander.netsplit.com] has joined #ubuntu-kernel
BenCfabbione: fixing it02:29
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
fabbioneBenC: did you also look at the PPC bug?02:53
BenCppc bug?02:54
BenCah, I see02:54
BenCare the daily cd's using -5 yet?02:54
BenCfabbione: BTW, where is it oopsing?02:55
fabbioneBenC: yes they should.. right at the beginning.. before starting init02:55
fabbioneBenC: so boot without splash and quiet02:55
BenCfabbione: can you give me some info on what/where the oops is?02:55
BenCI may be able to fix it without downloading the ISO, and booting my wifes computer with it :)02:56
=== tuxmaniac [n=aanjhan@unaffiliated/tuxmaniac] has joined #ubuntu-kernel
fabbioneBenC: i can't get anywhere to save it . so if you can wait for a picture..02:57
fabbionei think the OOPS is storage related since it can't find root afterwards02:58
fabbionethat's all i could see02:58
=== pmjdebruijn [n=pmjdebru@pmjdebruijn.xs4all.nl] has joined #ubuntu-kernel
=== zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-kernel
zuli so much dislike winter 03:06
kylemwe haven't really had one yet...03:07
zulit was freaking cold waiting for the bus03:07
kylemhmm, -12. /me makes a note not to go outside.03:08
=== Lure [n=lure@clj46-234.dial-up.arnes.si] has joined #ubuntu-kernel
BenCheh, it just started feeling like winter here03:41
BenCgot down to freezing last night03:42
=== BenC is not looking forward to the weather in oslo
zuldistro sprint?03:42
MithrandirBenC: it's not cold now. :-(03:42
Mithrandiraround 0C here ATM.03:43
MithrandirI'm hoping for snow, though03:43
zulthank you el nino03:43
Mithrandirit'd be nice with -5C, clear skies and crisp air.  And lots of snow.03:43
BenCMithrandir: I don't want snow mucking with my flights, so let's save that till after I leave :)03:44
MithrandirBenC: you forget we're used to snow here, so once it starts snowing, stuff slows down for half a day or a day, then life goes on.03:45
BenCMithrandir: Wish it were that way here...people seem to think that snow means "end of the world"03:45
Mithrandirlack of snow means "end of the world".03:45
BenCppl here do not know how to drive in the snow too...the first day of snow, there's cars all in the ditches and wrapped around trees03:46
Mithrandiroh, sure, first day is chaotic here too, but the next day or so, people are "oh, this snow thing, this is how it works".03:47
BenC"I have a big expensive SUV, I can handle 60Mph through the snow"03:47
BenCok, so it's not just here :)03:47
zulBenC: i dont know how to drive in the snow :)03:47
BenCI do, 5mph and use neutral before breaking when your car is rear-wheel drive03:48
zulfirst winter i was driving in canada i  winded up in a ditch with my wifes car in the middle of no where03:48
zul$200 to get the car out of the ditch03:48
BenChehe03:48
MithrandirBenC: or just don't brake.03:48
Mithrandirit's fun going through a winter in a hilly city with just about zero brakes on the bike. :-)03:49
BenCMithrandir: ouch...I remember trying to drive in the snow when I had a motorcycle...but that was flat...the hills must suck for a bicycle in the snow03:50
zulmy wife goes "wheeee!" whenever she starts to skid and freaks me out03:50
BenCzul: lol03:50
Mithrandirhaha :-)03:50
=== grazieno [n=ubuntu3@200.128.80.254] has joined #ubuntu-kernel
grazienohi people, can you help me with this bug? https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/7593503:57
=== mgalvin [n=mgalvin@ubuntu/member/mgalvin] has joined #ubuntu-kernel
=== Ng [n=cmsj@mairukipa.tenshu.net] has joined #ubuntu-kernel
=== ivoks [n=ivoks@33-104.dsl.iskon.hr] has joined #ubuntu-kernel
=== Nafallo [n=nafallo@ubuntu/member/nafallo] has joined #ubuntu-kernel
KeybukBenC: how are you on the subject of process execution in Linux/05:00
BenCKeybuk: depends on the difficulty of your question05:00
KeybukI want to change argv[1] 05:01
BenCso that it shows different in ps?05:01
Keybukyes05:02
Keybukthe cmdline, fwict, is stored as a character sequence with \0 between the arguments05:03
Keybukps just treats \0 as a space, therefore05:03
Keybukso if I write \0 over argv[1] , 2, etc. all I get in ps is "progname                              "05:03
Keybukwhere the number of spaces afterwards is equal to the length of the previous arguments05:03
Keybuknormally this results in a blank line :p05:03
KeybukI can't seem to find a way to _shorten_ the cmdline05:04
BenCI think sshd does this...it actually rewrites the command line05:04
BenCHave you tried changing argc as well?05:04
kylemKeybuk, try a newline?05:04
BenChmm, argc is on the local stack, not a pointer05:05
KeybukBenC: argc is just a local variable to the function isn't it?05:05
Keybukkylem: shows up in ps asa a ?05:05
BenCKeybuk: Check sshd and see what it does. I remember this being a common issue for people the last time I search around for it05:05
BenCand I think I used sshd's approach to do it05:06
Keybukdoesn't just change argv[0] 05:06
Keybukit05:06
BenCNo, it changes the whole command line05:06
Keybukchanging argv[0]  and shuffling up the rest of the command line appears to be well understood05:06
Keybukbut decreasing the length of the command line seems to be a new one :p05:06
BenCcould be05:06
zulcool i didnt know you could pipe in shell commands for cvs commits05:17
Keybuk18428 pts/9    S+     0:00 test              $05:17
Keybuk^ that's what I'm seeing at the moment :-/  the extra spaces are where I've written \0 over the remainder of argv05:18
=== Ng [n=cmsj@mairukipa.tenshu.net] has left #ubuntu-kernel []
Mithrandirsetproctitle, maybe?05:18
kylem-ENOSYS05:19
kylem:)05:19
thomhrm, the setproctitle manpage says "Peter Wemm <peter@FreeBSD.org> stole the idea from the Sendmail 8.7.3 source code by Eric Allman <eric@sendmail.org>.05:21
thom"05:21
thomso there might be something useful there05:21
Keybukthom: I would guess that has the same code as sysvinit05:21
Keybukwhich seems to be all about increasing the space available by moving the environment up05:21
KeybukI want to do the opposite, I have arguments that I want to *hide* from ps :p05:21
BenCKeybuk: Maybe move the environment down?05:22
KeybukBenC: doesn't seem to be a way to move the actual kernel pointer05:23
Keybukjust the local stuff in the heap05:23
=== Keybuk wonders whether he can futz around in kmem <g>
kylemwe could add a syscall if you really want05:30
Keybuknote-to-self: ps is in procps, not psutils <g>05:30
kylemheh05:31
KeybukHAHAHAHA05:36
KeybukW!NN0R!!!05:36
KeybukI used the "find some magic loop-hole/bug in the kernel source" trick05:36
Keybukit assumes that if the last character in cmdline is not NULL, that it's been overwritten/extended into the environment, so calls strlen() on it instead05:37
kylemheh05:38
Keybukchar *cmdline_end;05:41
Keybukcmdline_end = argv[argc-1]  + strlen (argv[argc-1] );05:42
Keybuk*cmdline_end = '!';05:42
fabbioneBenC: is there any chance to get mol running on ppc before Norway? (including a kernel that can boot my PPC?)05:52
fabbioneotherwise i am going to have to install some ssh on MacOS05:52
BenCfabbione: If you can get me a screen shot of the oops, I can probably fix it...and as for Mol, I can add that in now06:26
BenCfabbione: gfs1 is broken...i fixed all the warnings, but the aio_read and aio_write ops are the wrong proto, and I can't see how to easily convert them to the new proto06:27
BenCfabbione: gfs2 just uses generic ops for aio_read and aio_write, and for the read/write callbacks06:28
BenCfabbione: I'm going to commit the fixes I have now, but the remaining two warnings need fixing, else gfs1 remains broken06:28
fabbioneBenC: i will take a pic tomorrow.. mol would be cool.. gfs1 i know.. it's a bitch and i am talking about it with upstream.06:32
_MMA_BenC: I get random shutdowns at boot with the feisty -generic and -lowlatency kernels. What info is need in a bug report? Where can I look?06:33
BenC_MMA_: are you passing panic= on the kernel command line?06:33
_MMA_In menu.lst?06:33
BenC_MMA_: Yes06:33
_MMA_Ill look.06:33
BenC_MMA_: Main thing is, edit the command line in grub's menu (no need to edit the menu.lst file), remove the "quiet splash" options and try to see what exactly is going on06:34
_MMA_k06:34
_MMA_It happens about 25% of the time. Ill try to notice but it happens so fast.06:35
LureKeybuk: this might help explaining: http://lightconsulting.com/~thalakan/process-title-notes.html06:45
LureKeybuk: hp-ux even has syscall to do it ;-)06:46
KeybukLure: that's all about how to *increase* the argv area, so that you can write an arbitrarily long string into argv[0]  (and overwriting the rest of the args)06:47
KeybukI wanted to *decrease* the argv area, removing the process's arguments from the ps list06:47
Keybukso all that trick isn't needed06:49
Keybukwriting " " or \0 over top of the arguments "works", but it means that ->cmdline is still06:49
Keybuk/sbin/init\0\0\0\0\0\0\0\0\0\006:49
Keybukwhich means ps displays that as06:49
Keybuk"/sbin/init          "06:49
Keybukif the arguments are quite long, you can end up with two or three "blank lines" in the output of "ps ax | less"06:50
LureKeybuk: ok, you abuse is nice ;-)06:51
Keybukyeah, I trick the kernel into thinking that I've used the above trick by putting something not '\0' in the last char of argv06:51
Keybukso the kernel assumes that argv now runs into envp06:51
Keybukit deals with that by only returning argv[0]  in cmdline, and using strlen to calculate the length of it06:52
Keybukbecause argv[0]  is right (I'm not changing it), that is a neat trick to hide the arguments from ps <g>06:52
=== pike_ [i=pike@server1.freeshells.ch] has joined #ubuntu-kernel
=== pike_ [i=pike@server1.freeshells.ch] has left #ubuntu-kernel []
=== holycow_ [n=a@mail.wjsgroup.com] has joined #ubuntu-kernel
BenCfabbione: I forgot that mol was in ubuntu/, but was disabled because it didn't build anymore..it builds not, but I need you to test it08:06
BenCfabbione: Pushed if you want to test it. You should be able to install linux-headers and cd ubuntu/misc/mol/; make -C /lib/modules/$(uname -r)/build SUBDIRS=`pwd`modules CONFIG_MOL=m08:07
=== cjwatson [n=cjwatson@82-69-40-219.dsl.in-addr.zen.co.uk] has joined #ubuntu-kernel
fabbioneBenC: that assumes i can boot a kernel....09:41
BenCfabbione: have you tried -5?09:42
BenCdon't you still have an edgy kernel on there?09:42
fabbioneBenC: the last one i can boot is .20-1 or .20-2 IIRC09:42
fabbioneall the others after do oops09:43
fabbionesome at randoms09:43
fabbionesome constantly09:43
fabbionei will check better tomorrow and let you know09:43
BenCok09:43
fabbioneworst case scenario we will cook up something the first evening in Olso09:44
fabbioneOslo09:44
fabbionei need to run skype on ppc via mol09:45
fabbionethat's all i need09:45
fabbioneanyway i am off for the evening09:45
fabbionethanks dude09:45
BenCnp09:47
=== okaratas [n=ozgurk@irssi/user/okaratas] has joined #ubuntu-kernel
zullater10:03
=== infinity_ [n=adconrad@cerberus.0c3.net] has joined #ubuntu-kernel
=== zul_ [n=chuck@CPE0006258ec6c1-CM000a73655d0e.cpe.net.cable.rogers.com] has joined #ubuntu-kernel
=== holycow_ [n=a@mail.wjsgroup.com] has joined #ubuntu-kernel
=== cassidy [n=cassidy@host-213-189-171-21.brutele.be] has joined #ubuntu-kernel
=== marcin_ant [n=marcin@194.114.146.126] has joined #ubuntu-kernel
=== Lure [n=lure@clj46-234.dial-up.arnes.si] has joined #ubuntu-kernel
macdzul_, the bug concerning more than one domU on xen, any status on that?10:45
=== Jerub [n=gideon@unaffiliated/jerub] has joined #ubuntu-kernel
Jerubhi!12:10
Jerububuntu feisty has the 'ipset' package, which currently requires rebuilding the kernel with a netfilter patch-o-matic-ng thingy.12:11
JerubI'm currently working on a dynamic firewalling project that requires ipset support to work efficiently, and it'd be really nice if I could just say, 'it works in feisty' instead of having to say, 'rebuild your kernel like this'.12:12
lifelessJerub: how stable is the patch ? 12:13
Jerublifeless: good question, I'm just going to have a look at the svn log12:15
Jerubwell, we run it in production and haven't had any problems with it.12:16
Jerubsvn log says there was a commit in October '06 for a bugfix, commit before that was May.12:17
Jerubso it's not a fast moving target.12:17

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