/srv/irclogs.ubuntu.com/2012/08/17/#ubuntu-kernel.txt

=== skaet_ is now known as skaet
=== hughhalf_ is now known as hughhalf
ppisatimoin07:08
=== smb` is now known as smb
* smb tries to get in unseen07:14
=== Guest8994 is now known as tlei
ppisatibrb08:52
dileksapw: http://marc.info/?l=linux-kernel&m=134519512112692&w=209:33
apwheh, that sounds like fun09:48
dileksapw: s***storm expected10:07
apwdileks, i expect it will just get ignored actually10:07
apwthough al migh reply and tell us if union-mounts is going in or not10:07
dileksI repeated consciously the word "finished" and remembered the nvidia-f-u video, so this will ring bells (I hope so). but lets see.10:09
apwwell its not like overlayfs is finished either10:09
apwits all pretty tricky10:10
dileksapw: if the code is upstreamed more people will look at it and use it. its more a phychological thingie. /me thinks of enlightenment DR17 (OK, the major libs have now stable versions :-), but ...)10:15
apwdileks, there is that, overlayfs has semantic issues (due to its attempts to be performant) that i am not sure will ever be acceptable10:16
apwto the purists10:16
dileksI remember a faculty meeting where one professor throw into the round, only (software engineering) fundamentalist talk like this... rebellion or kindergarden I dunno. he sould have said "purists", hehe.10:19
dileksapw: and miklos somehow reminds of IBM and OS/210:19
dilekshope he will not throw away his own code10:20
dileksmarketing seems to be a foreign word to him10:20
dileksI suggested to get overlayfs into linux-next10:21
dileksout of my own experiences... linux-next is better tested than any rcX (upstream) :-)10:22
dilekshttps://lkml.org/lkml/2012/8/16/60210:22
caribousmb: howdy, just saw your comment about the kdump kernel issue in Quantal10:29
smbcaribou, Hi there. Well, just made it. :)10:30
caribousmb: just so I understand things correctly : this is not specific to our kernel but is in any mainline kernel above 3.5 ?10:30
smbcaribou, right10:31
caribousmb: if so, shouldn't it be brought up to the kexec ML ?10:31
smbcaribou, Well it is an issue that ends up making the limited memory even more limited. I don't think it is something that kexec needs to change but the kernel.10:32
caribousmb: I know, but maybe the kexec people oughta be aware of it (I mean the fact that it doesn't  work)10:33
caribousmb: afaik, hpa is on the kexec ML10:33
smbBut feel free to take it to the kexec ml 10:33
smbSo maybe that would be another way to make him aware10:34
smbHe was cc'ed on the lkml discussion but I can understand when people miss things there10:34
caribousmb: it's worth a try. I just don't wanna make a fool out of myself by stating the obvious :-)10:36
caribousmb: to me, it looks like the full kexec mechanism doesn't kick in, which should have been seen before10:37
smbcaribou, I wonder, did you try with more than 128M of crashkernel memory?10:37
caribousmb: nope, but I can try, I just prepared a VM for that10:38
smb(that would be 64bit, on 32bit it would be a different problem)10:38
caribousmb: yep, x86_6510:38
cariboueuh, 6410:38
smbheh :)10:38
* smb always needs to refrain from saying 31 bit10:38
smbcaribou, So basically the problem is that on 64bit, due to some mismatch you have about 3 to 6MB (rough estimate) more memory wasted to initial page tables.10:40
smbDepends of course on the amount of memory you have on the machine10:41
caribousmb: with a 2G VM, even with 256M reserved it doesn't work10:42
smbcaribou, what kind of vm (xen, kvm, virtualbox,...)? and does a normal (non-crash) kexec work there?10:43
smbThe problem could be a different one just in the VM10:44
caribousmb: it's a KVM vm. 10:48
caribousmb: I'll try to test on baremetal when I have a minute10:48
* henrix -> lunch11:41
smb*sigh* is it just me or is a kvm using cirrus graphics currently broken in quantal (had to blacklist the cirrus kernel module otherwise the X driver went into a corner and sulked)12:30
apwsmb, not tried that i am afraid12:34
smbOf course I have not looked what modules were loaded and which driver was used before that giant upgrade...12:38
siretarthi. - I'm currently testing the fai (fully automated installation) package in ubuntu, and am struggling with technicalities in the kernel12:42
siretartit seems that aufs has been disabled currently in quantal. is this correct, and is the plan for release to leave that disabled in favor of overlayfs?12:43
apwthat is the current plan, though it was the plan for P as well, and it didn't work out12:43
siretartI've also tried overlayfs, but I got a kernel oops when trying it with an nfsroot12:43
siretartI didn't find nor file a bug for that yet, I'm still checking the options here.12:44
apwalways interested in overlayfs triggered opses12:45
siretartlet me phrase it as a question: is overlayfs supposed to work with NFS?12:45
apwthere is an indication that NFS is not complete enough to be suitable12:46
apw(as an UPPER filesystem)12:47
apwotherwise i suspect it is expected to work12:47
siretartI'm not sure if I undestand the 'UPPER' part correctly. The setup is to mount the nfsroot read-only from the installation server, and use unionfs to mount a tmpfs ontop of that in early userspace, then continue booting12:48
apwin that context the NFS is LOWER12:48
siretartok12:48
apwso i think the docs say we might it expect it to work indeed12:48
apwcirtainly i have never tried that combo12:49
siretartI'll try to reproduce this in non-initramfs context (i.e., on an properly booted system) first, and see if that's enough to describe a test-case. thanks for explaining the current situation and what to expect.12:49
apwok cool.  do ping me with the bug number when you get that far12:50
siretartwilldo12:50
siretartapw: yep, I managed to reproduce it without early userspace. http://pbot.rmdir.de/ba0ec9f8742a0a0dce7ffcd24db00c12 - filing a bug now12:59
siretartapw: filed as bug #1038075 - feel free to ping me either here or in #ubuntu-devel if there is any additional information that might be useful here13:08
ubot2`Launchpad bug 1038075 in linux "[Overlayfs] kernel OOPS with NFS" [Undecided,New] https://launchpad.net/bugs/103807513:08
rtg_apw, sbuild wants aufs, doesn't it ?13:22
apwrtg_, i believe it uses overlayfs as well13:23
siretartrtg_: sbuild itself doesn't care, but schroot deals with aufs if configured to do so13:23
apwi thought the default changed recently, i'd have to check13:24
siretartthe mk-sbuild script from the ubuntu-dev-tools package switched the default from aufs to overlayfs in quantal13:24
apwif only the three upstream groups could talk to each other and sort out the problems13:24
siretartI did that only a couple of days ago13:24
apwsmb, might that explain why your builds all broke ?13:25
rtg_apw, siretart: I'm using a quantal setup in a chroot, but a precise host. I guess I should just install a vanilla precise. this is on an ARM system.13:25
siretartcould aufs be provided as out-of-tree add-on kernel module package in quantal?13:26
apwthat doesn't really reduce the maintenance burden which would be the point of not building it13:27
smbapw, No I am still P. My "error" was to a( have switched from lvm snapshots to overlay and b) have set build_dir which seems to cause the actual build go into /build (which is overlay)13:27
siretartrtg_: I think the switch to overlayfs by default was already done for precise, if I read the changelog correctly13:27
siretartversion number 0.136, dated Wed, 16 Nov 2011 14:33:04 +020013:28
rtg_siretart, right. I know that sbuild works correctly in precise. it sure doesn't seem to in quantal.13:28
apwreally waht issues you seeing, i am pretty sure my builder here is quantal using overlay for sbuild13:29
siretartrtg_: as said, with the test machine here that I have (amd64, upgraded from precise to quantal) mk-sbuild seems to work just fine for me13:29
rtg_hmm13:29
apwthat fits with my expectations too13:30
rtg_dunno. I'm using this hacked up nano image from linaro.13:30
apwahhh ... eeep13:30
rtg_think I'll start over13:30
siretarttoo bad that this booting via nfsroot is quite critical for our deployment here :-(13:31
rtg_apw, turns out this dang Linaro kernel has neither overlayfs or aufs. Guess I'd better fix that first.13:37
apwqualtity13:37
ppisatiogasawara: rtg_: after rebasing Q/omap4 on -11.11 i found a regression on boot. so i'll need some time to check what's going on14:01
ogasawarappisati: ack14:01
ppisatibut i would really like to upload 3.5 Q/omap4  even if it's still on -9.914:02
rtg_ppisati, send a pull request. we can catch up to -11 next week.14:02
ppisatiack14:02
ppisatibesides, i wanted to warn you that, no matter what we do, beta1 omap4 desktop image is going to be broken due to missing 3d driver14:03
smbcaribou, So I have proof now that kvm crash-kexec works when fixing up the too big page table (4M->16K) and crashkernel=128M but it would not work with crashkernel=256M and the unpatched kernel. 14:34
caribousmb: good !14:34
caribousmb: I didn't get to test on realiron14:35
* ogasawara back in 2014:35
smbcaribou, Cannot really explain why. Probably it is not alone the size but also the location or increasing crashkernel= over a certain number is as bad as not being big enough...14:36
akuaCan someone help me. I am trying to compile a kernel ( into a deb so I can copy it to a few systems at my work ). I need to use the linux 3.5.x kernel because of USB3 support, however I am trying to stay on Ubuntu 10.04 for the time being.  Everything is going well, I had a lot of problems finding a .config that worked OK, but before I install the kernel-image.deb, I have to copy initramfs from 14:46
akua/usr/share/doc/kernel-package/examples/etc/kernel/postinst.d/initramfs into /etc/kernel/initramfs or the kernel panics on reboot.14:46
caribousmb: might be a good idea to put your findings in the bug; I will refer to it if I post to the kexec ML (maybe monday)14:46
akuaI would rather the deb has all the files and actions necessary, but it seems it doesn't.  I am building the deb with the command: "fake root make-kpkg --initrd --append-to-version=-test1 kernel-image kernel-headers" 14:47
smbcaribou, I should ... and thought I had some but right, I will update it14:47
rtgakua, have you tried just installing the quantal kernel ? 14:48
akuaI also tried the "AUTOBUILD=1 fake root debian/rules binary-debs" method on a git checkout from quantal, but ended up with debs that had no usb hid_drivers, etc.14:48
akuaya. I tried that, but it was built with gcc 4.6, and some new version of glibc and then I couldn't compile any kernel modules after the fact, which I must do to run the devices ( capture cards, etc ) required.14:49
rtgakua, remember that the git checkout method produces _2_ packages that need to be installed. linux-image and linux-image-extra14:50
rtgyou might also need the linux-firmware package from precise or quantal to pair up with kernel drivers that need newer firmware.14:52
akuartg: what do you mean about the firmware, is it only if i use the pre-built quantal kernel, or even if i compile my own?14:53
rtgakua, yes, you should use a newer linux-firmware in either case14:54
akuartg, i was hoping to build my own kernel-image.deb so I can use a specific kernel, do I need to compile my own firmware then, or is it 'generic'?14:55
rtgakua, its largely generic14:56
* rtg reboots gomeisa for kernel update14:58
akuartg: and there is no easy/obvious solution as to this initramfs problem? I can probably live with it, but for the firmware should I just install linux-image and linux-firmware ( the one from quantal ) and everything should work?15:16
rtgakua, yes, but don't forget linux-image-extras15:16
akuait seems the debian/rules method makes one of those, but the make-kpkg doesn't15:21
akuartg: ok, the git method seemed to work, but the headers won't install cleanly because it (linux-headers-3.5.0-10-generic) depends on 'linux-headers-3.5.0-10'. Can I build this?15:32
rtgakua, build binary-indep (I think)15:34
=== kamal1 is now known as kamal
* smb -> EOW16:12
apwbinary-headers might do it too16:25
* henrix -> EOD16:52
* ppisati -> EOW17:07
cwillu_at_workquick question: the 32-bit mainline packages seem to have some magic to detect whether the cpu supports pae or not; I'm trying to roll a test image, but I can't install that package on the build server because cpuinfo doesn't reflect the target hardware18:07
cwillu_at_workis there a way to ignore that check?18:07
cwillu_at_work"This kernel does not support a non-PAE CPU.18:08
cwillu_at_workdpkg: error processing /tmp/linux-image-3.5.2-030502-generic_3.5.2-030502.201208151151_i386.deb (--install)"18:08
rtgcwillu_at_work, unless you've changed the config options, then I don't think the mainline kernel is gonna work.18:10
=== mfisch` is now known as mfisch
=== mfisch is now known as Guest37216
cwillu_at_workrtg, how do you mean?18:13
rtgcwillu_at_work, I mean the its not gonna work on a non-PAE capable CPU18:13
cwillu_at_workrtg, I'm not running a non-pae capable cpu18:13
cwillu_at_workthe cpu supports pae just fine18:13
cwillu_at_workthe problem is the build environment18:14
rtgcwillu_at_work, well, the check is in the pre-inst. perhaps it is incorrect ?18:14
=== Guest37216 is now known as mfisch
cwillu_at_workrtg, I don't doubt that the check is correct, it's just that I really do know better than it in this case18:19
rtgcwillu_at_work, well then, hack on debian/control-scripts/preinst to remove the check and rebuild the kernel.18:20
cwillu_at_workrtg, I see a grim future of never being able to use the packaged kernels for automated installs though18:21
cwillu_at_workI'm mainly wondering if there's an existing flag to slap it down (--force-architecture should seem to imply this sort of thing, although that's primarily for dpkg I suppose)18:22
rtgcwillu_at_work, yeah, I don't see a way around it. preinst is part of the package and it wants to see 'pae' in /proc/cpuinfo18:22
* rtg -> lunch18:25
Eimannsweet, https://eimann.etherkiller.de/nmz/panic-cisco-dlm-java-applet-in-ff.JPG - happens with 3.6.0-999-generic #201208090423 on x86_64 with 7~u3-2.1.1~pre1-1ubuntu3 openjdk when using the cisco software download manager in firefox 14.0.1+build1-0ubuntu0.12.04.118:30
cwillu_at_workrtg, I think I got it faked out by plopping the word into an empty cpuinfo; first attempts didn't work as it's actually looking for " pae ", while I had tried a simple "pae" :p18:31
cwillu_at_workeven so18:31
* cwillu_at_work leaves a postit reminder on his monitor to file a bug18:31
akuaI built my own kernel, and linux-image and linux-headers installs as expected, and boots with everything working. However, I am trying to compile nvidia's drivers ( because I need CUDA ), and it is complaining about not being able to find the headers.19:42
akuathe director "/usr/src/linux-3.5.2-custom1/ exists, but /lib/modules/linux-3.5.2-custom1/build and /lib/modules/linux-3.5.2-custom1/source point to /usr/src/linux-3.5.219:45
akuabut if i link /usr/src/linux-3.5.2to /usr/src/linux-3.5.2-custom1 it still fails19:46
* rtg -> EOW20:37

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