/srv/irclogs.ubuntu.com/2009/07/16/#ubuntu-kernel.txt

shtylmananyone able to look into bug #398059 yet? ... major problem imho01:12
ubot3Malone bug 398059 in linux "system does not boot due to device-mapper error" [Undecided,Confirmed] https://launchpad.net/bugs/39805901:12
cafetieresqueak08:15
dholbachhola!09:49
dholbachwho'd be interested in talking a bit about kernel development at Ubuntu Developer Week?09:49
dholbachhttps://wiki.ubuntu.com/UbuntuDeveloperWeek/Prep still has some open slots09:50
cjwatsonI gather reintegrating iscsitarget is assigned to manjo; anyone know how far he's got with it?10:25
cjwatsonthe iscsi userspace stuff is on my list for karmic and I'd quite like to have a target to test with :)10:26
smbcjwatson, I believe he said the projects page code was rather unchanged and the server team had shown a general tendency/interest of getting this module done a dkms package. But I cannot remember any final status...10:31
smbcafetiere, you? ^10:31
cafetieresmb that is my memory also10:32
* cafetiere is unsure if its enabled or not as is10:32
cafetierecjwatson, will hastle him today to find out status for you10:33
cjwatsonthanks10:37
cjwatsonI tried the existing iscsitarget-source with module-assistant, but it failed to compile so apparently needs some update work10:37
smblikely the removal of direct access to structs did not help. Yeah, we try to pry it of manjo later10:39
=== sladen_ is now known as sladen
loolHey folks11:38
loolIs there a tree from which I can build a mx51 .31 kernel?   :-)11:38
loolOr even a binary kernel would probably be good enough for testing11:38
stewartso, i don't know if this is actually a ubuntu kernel specific issue, but have only seen it on ubuntu. process listening to tcp port restarts (as part of that closes sockets). client program is trying to connect. listener has restarted and is in a loop trying to bind to the server port again, but client application has an open socket to the server port (even though the previous server has gone away) and netstat -t tcp -l -p shows11:47
stewart: 11:47
stewarttcp 0 0 *:12500 *:* LISTEN -11:47
stewarttcp6 0 0 [::]:12500 [::]:* LISTEN -11:47
stewarti.e. no process11:47
stewartand client is stuck in poll()11:47
stewartno idea what is going on. does anybody have an idea what could cause the above?11:47
hyperairhuh i've never seen anything of that sort before11:55
hyperairyou'd think that web servers would have an issue like this when restarting in ubuntu if this was reproducible, wouldn't you?11:56
stewarthyperair: it's a pretty specialised case...12:41
stewartafter a bit more research....12:41
stewarthas been linux behaviour/bug since at least 200112:41
stewartnot on solaris amazingly enough12:42
stewartbut also on osx12:42
stewartbut buggy poll/select on osx is nothing new12:42
rtg_amitk, are those MX51 patches going into a Karmic topic branch? or master ?13:33
amitkrtg_: they could be in a branch. It needs to be discussed.13:44
rtg_amitk, why don't you start by creating a branch and pushing the MX51 patches there so they don't get lost or forgotten? We can always merger them back later.13:45
amitkrtg_: I'm working on that. We just got it booting yesterday evening...13:46
apwKeybuk, fyi i've done some testing on the latest karmic kernel, on aufs2 and it seems to work for me, updates and kernel compiles14:01
Keybukcool14:02
Keybukrtg_: you're having that "runlevel" bug yourself/14:03
* apw goes for a systems ... i may be a while14:06
apwor not long at all!14:08
rtg_Keybuk, yeah, whats the story on that?14:19
Keybukrtg_: I posted to the bug, I think it's apparmor looping over runlevel forever14:19
Keybukif you could fiddle with the script like I suggested, I'd like the strace output14:19
KeybukI just realised you'll need 2>&1 on that strace as well14:20
rtg_Keybuk, ok, gimme a bit14:20
apwKeybuk, would app armour not have to be enabled for that?14:25
apwrtg_, did you enable apparmor ?14:26
Keybukapw: this looks like it's before it checks for that, it's in an infinite loop examining "runlevel" output14:26
KeybukI suspect I know what's wrong14:26
rtg_apw, stock Karmic (upgrade from Jaunty)14:26
KeybukI just need strace output to prove it14:26
rtg_Keybuk, would it run dhclient3-apparmor if I have a static IP address assignment?14:28
apwanyone found a suspend or hibernate button on their karmic installs?14:28
Keybukrtg_: yes14:30
rtg_apw, sudo grep "1" /sys/module/apparmor/parameters/enabled return 1. How did AA get enabled yet?14:30
apwrtg i have that, and i also have this14:31
apw[    0.004000] AppArmor: AppArmor disabled by boot time parameter14:31
apwin dmesg, someone is lying14:31
rtg_jjohansen, ^^^14:31
apwahh one hits shutdown from the system menu... and that offers you suspend14:32
rtg_apw, one hits the power button and it just shuts down, no questions asked14:32
apwnn mine i hit power and i get the same menu14:33
smbwhich would be my expectation14:33
apwthough mine has reboot and shutdown greyed out14:33
apwits probabally trigged by the power management preferences which have 'ask me' under 'when the power button is pressed'14:34
rtg_apw, which is what I was futzing with.14:35
rtg_Keybuk, I'm off to the server room to get your strace info. biab14:36
apwrtg_, on my T30 the only message i see between grub and usplash is 'Loading please wait ...' which i believe is line 1 of the initramfs14:36
apwso we may be off the hook :)14:36
rtg_apw, yeah, I didn't think there were many boot time messages14:39
apwi _think_ i saw one acpi one on my dell, will try and see if can capture those14:40
rtg_Keybuk, it looks like it went through the loop at least once, but this appears to be exquisitely timing sensitive. I'll attach the updated dhclient3-apparmor as well as the strace output.14:43
Keybukgreat14:44
KeybukI suspect it is very timing sensitive14:44
rtg_I wonder if AA has anything to do with my sshd issues?14:44
Keybukif you want to force the timing, add a "sleep 20" to the top of the start() function /etc/init.d/bootmisc.shg14:45
Keybukbasically14:45
Keybukthat apparmor script is calling runlevel to figure out the runlevel14:45
Keybukbefore /var/run/utmp is created14:45
Keybukso you get "File not found" :-)14:45
rtg_it clearly doesn't take much. just adding '-v' to /sbin/ifup alters it enough that it boots14:46
Keybukif you make it a liiiitle big slower, you'll be lucky and /var/run/utmp will exist14:46
Keybukand whoever wrote that grep clearly doesn't understand runlevels anyway14:47
rtg_well, this is a dual Nehalem, so theres a lot of shit going on at once14:47
Keybukyeah14:47
rtg_Keybuk, bug updated14:49
Keybukthanks14:50
Keybukodd that the kernel affects it though14:50
Keybukmaybe one of the kernels is just faster? :P14:50
rtg_Keybuk, the previous kernel that this machines was using is 2.6.30 based, so did not have the AA patches.14:56
Keybukahh14:56
Keybukso the script never ran? :)14:56
rtg_Keybuk, likely not since 'grep -q "1" /sys/module/apparmor/parameters/enabled 2>/dev/null || exit 0' would have bailed14:57
Keybukok14:58
Keybukand the reason this script worked in jaunty was because runlevel output random garbage when it couldn't read from utmp, rather than existing with an error like it was supposed to ;)14:58
Keybukthough I can't see why that loop would ever work15:00
rtg_so, fixing runlevel causes second order effects15:00
Keybukwell, calling runlevel in rcS.d at all is utterly nonsense15:00
KeybukrcS.d is the sysinit phase15:00
Keybukthere is *no* runlevel15:00
Keybuknot even "S"15:00
rtg_I'll have to take your word for that :)15:01
Keybukso any values returned by runlevel are generally nonsense15:01
Keybukiirc, runlevel will return "unknown"15:01
Keybukonce /var/run/utmp exists, that is15:02
rtg_Keybuk, what package should this bug be against? upstart doesn't seem appropriate.15:02
Keybukrtg_: I'll fix that up presently with a description15:04
Keybukopen("/var/run/utmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)15:04
Keybukwrite(2, "runlevel: No such file or direct"..., 36runlevel: No such file or directory15:04
Keybukyeah15:04
Keybukthe strace proves it quite nicely ;)15:04
rtg_Keybuk, yep, saw that.15:05
Keybukthough I should include a filename in that error, shouldn't I15:05
rtg_Keybuk, next I'm gonna have to attack /sbin/ifup. It doesn't always get the route statements in /etc/network/interfaces 15:09
dholbachhttps://wiki.ubuntu.com/UbuntuDeveloperWeek/Prep still has some open slots - how about something Kernel related? :-)15:27
rtg_jjohansen, why does 'grep -q "1" /sys/module/apparmor/parameters/enabled' succeed on a 2.6.31-3 kernel? 16:06
jjohansenrtg_: hrmm, was the machine booted with security=apparmor?16:07
rtg_jjohansen, nope16:07
jjohansenrtg_: it shouldn't be, I'll take a look16:07
rtg_jjohansen, its part of the reason that we discovered https://bugs.edge.launchpad.net/ubuntu/+source/dhcp3/+bug/39995416:08
ubot3Malone bug 399954 in dhcp3 "Karmic Boot hangs at "Configuring network interfaces"" [Medium,Triaged] 16:08
Dinh_FSLmanjo: good morning...16:11
manjoDinh_FSL, good morning sir 16:11
amitkDinh_FSL: manjo: morning!16:11
Dinh_FSLamitk,manjo: still more debugging to do with the port, I am seeing after some period of time, it's hanging in synchronize_irq16:13
manjoyep also usb support needs work right 16:13
manjoare you planning on bringing that jtag home again on fri ? 16:13
manjoI bet its the same kinda fix for sync_irq like the timer 16:14
manjoprobably missing mx51 bits16:14
amitkgreat stuff last evening guys. Thanks.16:14
manjoamitk, u not on the call ? 16:14
manjoamitk, yeah lots of beer & wine helped 16:14
amitkheheh16:15
amitkumm... call?16:15
manjovnc16:15
amitkoooh. skype16:15
Dinh_FSLmanjo: sure, i can bring jtag home tomorrow...keep going on this...16:15
manjoyeah16:15
amitkforgot all about it16:15
manjocool I can be there... I had too much fun yesterday16:15
manjoamitk, so chiming in  ? 16:16
amitkhold on.16:16
bjfDinh_FSL, do you know if the kernel you and manjo are working on right now will boot on a babbage 2.5 board?16:27
bjfDinh_FSL, or will there be additional kernel changes required?16:27
manjobjf, it boots on the board you gave me 16:28
bjfmanjo, that is a babbage 2 board, we will be getting babbage 2.5 next16:28
manjoDinh_FSL, did u have a 2.5 yesterday ? 16:29
manjoI think he had the same board as me 16:29
Dinh_FSLbjf: I tried the kernel on the 2.5 and wow!! It boots!!16:29
Dinh_FSLhehe16:29
manjoDinh_FSL, dont forget to copy ubunt u install on my sd16:29
bjfDinh_FSL, that's sweet! good to know16:29
Dinh_FSLmanjo: yes sir, but you gave only gave me a 2GB card...it won't fit...i'll put it on 1 of my 4GB card for you16:30
manjosweet!16:30
dholbachok... only one slot left17:09
dholbachwho would like to talk about something Kernel related?17:09
dholbachmaybe "Becoming a Kernel hacker" where you show people what they can do to help you (or do your work for you :-))17:10
dholbachhttps://wiki.ubuntu.com/UbuntuDeveloperWeek/Prep17:10
cjwatsonmanjo: what's the story on iscsitarget in karmic at the moment? I'll be one of your users if you get it working, since I have a userspace spec for which that's the ideal test harness ...19:13
cjwatson(just reading off some wiki page that said it was assigned to you and in progress)19:13
manjocjwatson, got pulled into doing some arm stuff so will look at it next 19:13
* cjwatson nods19:13
cjwatsonmy deadline is alpha 4 so not super-urgent19:14
manjocjwatson, was planning on making it dkms19:14
cjwatsonfine by me, I don't much care exactly how it's done :)19:14
manjoyeah the arm stuff need attention  for alpha319:14
rtg_cjwatson, wrt iscsitarget, the last discussion I had with the server folks is that we'll pull it out of the kernel. It'll be a DKMS package that is kept in sync with user space.19:36
cjwatsonthat's fine, I just wanted to know if anyone had made progress on actually producing the package yet (e.g. PPA or whatever even if not in the distro)19:37
rtg_I'll bug Dustinm19:38
rtg_Dustin, even19:38
cjwatsonok, cool19:40
cdownshello ?19:53
=== pace_t_zulu is now known as pace_t_zulu|afk
=== pace_t_zulu|afk is now known as pace_t_zulu
=== hggdh_ is now known as hggdh
dinh_fslmanjo, amitk: hi...21:20
manjodinh_fsl, hey21:20
manjoyou fixed it already ? 21:20
dinh_fslwhat is the plan with the current ubunt-fsl-2.6.31 tree?21:20
dinh_fslno, i haven't gotten a chance to fully debug it yet21:21
manjodinh_fsl, dont want to put words in amitk_ 's mouth ... but I think we need to massage it more and make it ready for upstream ... 21:21
manjodinh_fsl, same time tomorrow then ? 21:22
dinh_fslmanjo: that's my thought too, just wanted to make sure...21:22
manjoyep but we need it booting & running 1st 21:22
manjodinh_fsl, I could get you an official ans if you need it 21:22
dinh_fslmanjo: that's what my manager and I are trying to figure out...21:23
manjodinh_fsl, let me see... 21:23
dinh_fslmanjo: perhaps it may make more sense for you guys to massage it more, and if you hit another hurdle I can help again21:23
manjodinh_fsl, but we will need the jtag to see what is going on with the hang ... 21:25
manjocan I get a loaner ? 21:25
dinh_fsla lauterbach?21:26
manjodinh_fsl, if you can spend one more day (tomorrow) to figure out that might just do it ... 21:26
manjoyeah lauterbach + cables21:26
dinh_fslmanjo: my answer is sure...i was planning to work from home tomorrow anyways...either on this or some other thing21:27
manjook21:27
manjogoing fwd I think we wil see how to massage this code so that it looks better 21:27
manjoclearly needs more work21:28
dinh_fslmanjo: when's sushi?21:45
dinh_fsl;)21:45
manjodinh_fsl, let me call to find out 21:46
manjowant to do it tonight ? 21:46
dinh_fslsure...21:46
dinh_fsllet me know so that I can hold off the cooks at home21:46
manjook in 10mts21:46
manjodinh_fsl, the chief is out of town this week .. so its going to be next week 21:50
dinh_fslmanjo: ok...the cooks are back online21:51
manjo:) 21:51
manjodinh_fsl, jack said the cheif had to go out of town... the other guys over there are junior 21:52
manjodinh_fsl, we want the sushi chief senior to prepare for us :) 21:53
dinh_fslmanjo: ah I c...21:53
manjoshit now I am hungry... all that salad for lunch is gone 21:54
dinh_fslmanjo: outta here...see ya tomorrow morning...22:01
manjodinh_fsl, ok sir see you tomorrow22:01

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