**** BEGIN LOGGING AT Wed Aug 03 02:59:57 2011 Aug 03 10:53:17 persia, let me know when you are around Aug 03 10:53:24 lilstevie, I'm around Aug 03 10:54:08 ok cool Aug 03 10:54:17 lets try and get this thing together :) Aug 03 10:54:55 Right. Aug 03 10:55:01 * persia reviews the instructions Aug 03 10:57:41 ok, well I have the tarball decompressed Aug 03 10:58:03 but I am thinking maybe I should just clone it on to this Aug 03 10:58:10 btw, I am on the tf this time Aug 03 10:58:25 trying to avoid the cross_compile issue sneaking in Aug 03 11:00:02 Looks like most of the cross compilation stuff comes from step 11.1 Aug 03 11:00:17 heh ok Aug 03 11:00:52 If you've merged the Ubuntu sauce (which you'll need), then you ought be able to skip step 8.1 Aug 03 11:01:07 I haven't merged the ubuntu stuff Aug 03 11:01:13 And you certainly don't want to do step 9.1 Aug 03 11:01:37 Aha! You'll want to do that. There's a sauce branch in the Ubuntu master kernel repo at kernel.ubuntu.com Aug 03 11:01:50 It has stuff like aufs, etc., which we expect to have in any Ubuntu kernel. Aug 03 11:02:00 ok Aug 03 11:02:12 *don't* run step 11.2 to build the kernel. Aug 03 11:02:15 and will it apply cleanly over any kernel Aug 03 11:02:20 and will it apply cleanly over any kernel;0 Aug 03 11:02:27 Instead, run `debuild -S -us -uc`. Save the artifacts this produces as precious. Aug 03 11:02:38 ok Aug 03 11:02:48 -us -uc instead of -i -I Aug 03 11:02:49 ? Aug 03 11:03:53 Once you have saved the artifacts, you can run a build with `debuild -b` which will try to build binaries *without* polluting the source. You can recover pristine source by removing the working directory, and running `dpkg-source -x foo.dsc`. Be aware that this will wipe your git directories: you can also recover the pristine state with git. Aug 03 11:04:34 eh I am not fussed about killing git out Aug 03 11:06:06 `debuild -S -us -uc -i -I` works too. In detail, '-S' says "make only a source package: don't compile", '-uc' means "don't sign the changes file", '-us' means "don't sign the source package", '-i' means "apply the default filter to remove some files from the source package", and '-I' means "exclude the default set of files from the source package". Aug 03 11:06:58 ok cool Aug 03 11:08:55 If you succeed at building the source, let me have the precious artifacts, and I'll submit it to my build harness (I'm using sbuild, but I'm unsure if you want to set that up), and verify it works as expected, then upload, if it has all the right binary packages. Aug 03 11:10:04 ok, well looking at the ubuntu prime git Aug 03 11:27:07 persia, just trying to find the spot that has 2.6.36 Aug 03 11:49:41 persia, I can't find 2.6.36 Aug 03 11:50:06 Grumble. Aug 03 11:50:31 Theoretically, when moving from 2.6.35 to 2.6.38, one ought import the VCS history, including tags. Aug 03 11:50:44 And that would have been from the maverick->natty switch. Aug 03 11:50:55 hm Aug 03 11:51:18 Maybe someone in #ubuntu-kernel would know? If not, try importing the sauce from 2.6.38: much of it is out-of-tree modules, and may well build anyway. Aug 03 11:53:51 what is it that is wanted anyway?' Aug 03 11:54:06 aufs Aug 03 11:59:26 Hello, i have problems with my cross compiled kernel for my beagleboard xm (rev.A). i have downloaded the 2.6.39 kernel on my desktop pc, make the uImage and the modules, copy the 2.6.39 Image folder back to my beagle and make install_modules, after that sudo update-initramfs -k 2.6.39 -c , but when i want to boot the beagle with my new kernel, i get errors modprobe: FATAL: Could not load /lib/modules/2.6.39/modules.dep: No such fil Aug 03 12:08:09 lilstevie, I don't know the complete set of what is needed: whatever makes the enforcer not complain. At least aufs. Aug 03 12:08:29 aufs isn't on the enforcer list Aug 03 12:10:11 the only 2 things that fail are security_smack and security_yama Aug 03 12:11:44 Hrm. *some* sort of union file system ought be in the enforce list. Otherwise it's hard to make live images, etc. Aug 03 12:12:05 We also use union filesystems for some developer operations (like speeding test-building, etc.) Aug 03 12:29:47 hm Aug 03 13:22:40 persia, are you free? Aug 03 13:30:04 persia: well I have in the workplace development in a few hours so I will have to look at this later, but as a minimum I will patch in aufs and yama and smack Aug 03 13:30:19 ugh, why ?!? Aug 03 13:30:59 aufs is a super intrusive bit, is there anything you need it for ? Aug 03 13:32:45 ogra_: just lilstevie, I don't know the complete set of what is needed: whatever makes the enforcer not complain. At least aufs. Aug 03 13:34:16 i never used aufs anywhere in my kernels Aug 03 13:34:30 ogra_: the only things enforcer complain about is security_yama and security_smack Aug 03 13:34:34 and never had an "enforcer" (whatever that is) complain Aug 03 13:34:46 never heard of that Aug 03 13:35:04 whats that "engforcer" thing ? Aug 03 13:35:08 ogra_: it is part of the mechanism that parses the config Aug 03 13:35:19 then its wrong Aug 03 13:35:36 aufs is non standard crap you shouldnt be enforced to have to add to your kernel to have a package Aug 03 13:35:38 it takes debian.linaro/config/enforce and makes sure they are enabled in kernel config Aug 03 13:35:44 linaro ? Aug 03 13:35:49 well I don't have any aufs stuff Aug 03 13:35:53 right Aug 03 13:35:59 fix the file then Aug 03 13:36:08 and neither does the enforce Aug 03 13:36:10 its nonsense to enforce it Aug 03 13:36:32 heh Aug 03 13:36:53 what about security_yama and security_smack Aug 03 13:38:14 no idea, your kernel doesnt have it ? Aug 03 13:38:29 not at all Aug 03 13:39:09 well, for that ask in #ubuntu-kernel or the security team, i'm not sure if oneiric has userspace using it Aug 03 13:39:11 I have selinux and apparmor enabled in kernel config though Aug 03 13:39:17 if not, i would ignore it too Aug 03 13:39:38 right, thats a typical ubuntu default Aug 03 13:40:25 and apparmor is set default Aug 03 13:42:09 right Aug 03 13:42:19 with selinux being off Aug 03 13:42:48 yep Aug 03 13:44:38 is there anything else that I may have missed that is handy to havee? Aug 03 13:44:40 have* Aug 03 13:46:38 well, what i usually do is to have two terminals open with the omap4 config and the new config i want to write and compare them Aug 03 13:49:06 heh **** BEGIN LOGGING AT Wed Aug 03 14:05:28 2011 Aug 03 15:08:50 why is my board rebooting?! http://pastebin.ubuntu.com/657985/ Aug 03 15:09:06 ignore the first seven lines Aug 03 15:13:30 zul: what was the kernel we ran on the tegras? Aug 03 15:13:47 zul: you can run 'lxc-checkconfig' to get the full list Aug 03 15:13:49 i dont think its tegra Aug 03 15:13:56 (ignore 'namespace cgroup' not being there, we don't want it) Aug 03 15:14:13 hallyn: when i tried to mount cgroups invalid fs Aug 03 15:14:15 well whatever, but it ws arm and lxc was working :) Aug 03 15:14:31 so who's in charge of omap4 kernel? Aug 03 15:14:42 (!! config) Aug 03 15:15:03 hallyn: oh wait i can mount it nm... Aug 03 15:15:48 zul: so does lxc-checkconfig show any errors? Aug 03 15:16:11 havent gotten that far but this is with libvirt Aug 03 15:18:02 although this line in the /etc/fstab throws errors: http://pastebin.ubuntu.com/657992/ Aug 03 15:19:15 zul: is this oneiric? Aug 03 15:19:27 i'd just install cgroup-bin at this point... Aug 03 15:19:27 hallyn: yep Aug 03 15:22:03 zul: oh, well what does cat /proc/cgroups show? Aug 03 15:22:44 http://pastebin.ubuntu.com/657993/ Aug 03 15:25:05 zul: no freezer or blkio Aug 03 15:25:23 yeah just figured that out Aug 03 15:25:30 blkio is not bad, but freezer really should be enabled Aug 03 17:08:15 GrueMaster: ping Aug 03 17:08:42 prpplague: pong Aug 03 17:09:02 GrueMaster: getting closer, looks like it may be related to some frequency scaling Aug 03 17:09:20 interesting. Aug 03 17:11:30 GrueMaster: on a L27 .35 kernel with the governor set to performance, the problem goes away Aug 03 17:12:03 Very interesting. Aug 03 17:12:30 I'll see if I can check it out on our latest images with the 3.0 kernel. Aug 03 17:18:06 GrueMaster: do you have full governor support in your 3.0 ubuntu kernel? Aug 03 17:18:50 GrueMaster, our governor should default to preformance on boot, there is the /etc/init.d/ondemand script that sets it after booting, just comment the command in there Aug 03 17:19:32 that way it should just stay on performance Aug 03 17:24:52 Hrm. No scaling_governor on 3.0 kernel. Aug 03 17:34:19 I have no way of knowing what the current setting is, or how to change it. There is no /sys/device/cpu/cpu*/cpufreq/* Aug 03 17:34:52 And I am not seeing anything in the kernel config to indicate either way. Aug 03 17:37:06 Hrm. cat /sys/devices/system/cpu/cpuidle/current_governor_ro Aug 03 17:37:06 menu Aug 03 17:49:45 <[7]> GrueMaster: it's "menu" on my 2.6.38-1208 kernel as well Aug 03 17:50:40 <[7]> whatever that means... Aug 03 17:52:19 menu ?? Aug 03 17:52:27 weird Aug 03 17:53:08 Yea for outdated kernel docs. Aug 03 17:53:14 <[7]> theseven@panda:~$ cat /sys/devices/system/cpu/cpuidle/current_governor_ro Aug 03 17:53:14 <[7]> menu Aug 03 17:53:14 <[7]> theseven@panda:~$ uname -a Aug 03 17:53:14 <[7]> Linux panda 2.6.38-1208-omap4 #11-Ubuntu SMP PREEMPT Fri Apr 15 16:34:35 UTC 2011 armv7l armv7l armv7l GNU/Linux Aug 03 17:54:30 http://forum.soft32.com/linux/RFC-PATCH-add-menu-cpuidle-governor-ftopict341954.html Aug 03 17:54:35 From 2007. Aug 03 17:54:52 And nothing in linux-docs. Aug 03 17:55:29 fun Aug 03 17:59:13 I'm placing bets that this will end up being the cause of our grief. Aug 03 18:35:12 I don't even know where to look for the different driver states. Currently, /sys/devices/system/cpu/cpuidle/current_driver is reporting none. Aug 03 18:52:57 GrueMaster: /sys/devices/system/cpu/cpu0/cpufreq # cat scaling_governor Aug 03 18:53:00 i bet amitk could tell you, but i also guess its beer o clock in cambridge now Aug 03 18:53:24 prpplague, cpuidle ... :) Aug 03 18:53:54 seems the menu governor belongs to it Aug 03 18:54:02 yea Aug 03 18:54:28 so the only built that doesn't seem affected is the latest 2.6.35 for L27 Aug 03 18:55:00 prpplague: That path doesn't exist in the 3.0 kernel. Aug 03 18:56:22 GrueMaster: right, i was testing a 2.6.39 kernel Aug 03 18:56:34 GrueMaster: ti kernel Aug 03 19:16:44 hi all Aug 03 19:17:11 what means if boot there is no terminal output after the message now booting kernel? Aug 03 19:17:55 I have a beagleboard xm rev C Aug 03 19:18:26 Uncropressing Linux... done, booting the kernel. Aug 03 19:18:30 then notthing Aug 03 19:22:57 <[7]> FxIII: which bootargs? Aug 03 19:23:14 [7]: how can I check? Aug 03 19:23:26 <[7]> shoul be printed somewhere above in the uboot output Aug 03 19:23:32 any luck prpplague? Aug 03 19:23:39 <[7]> or see the boot.scr file Aug 03 19:23:47 MrCurious: appears to be related to the governors Aug 03 19:24:05 did i miss hear that one could set to max perf and make it go away as a short cut? Aug 03 19:24:20 MrCurious: on some versions of the kernel Aug 03 19:24:33 bootargs Aug 03 19:24:35 i think this bugs hours are numbered... :) Aug 03 19:24:55 * [7] hopes that as well :) Aug 03 19:25:40 <[7]> it's kind of a shame that nobody caught that earlier, would have improved the board's speed a lot Aug 03 19:25:57 ro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-19@60 mpurate=500 root=UUID=2202437....3453 fixrtc quiet splash Aug 03 19:26:09 <[7]> remove "quiet splash", add "console=/dev/ttyO2,11500n8" Aug 03 19:26:17 <[7]> assuming it's the 3rd UART on the XM as well Aug 03 19:26:33 this is a binary file... Aug 03 19:27:00 <[7]> you'd need to edit it in /boot/boot.script and re-run flash-kernel Aug 03 19:27:45 [7]: i did run a precompiled image... Aug 03 19:29:04 my I use my serial connection to do boot? Aug 03 19:29:18 <[7]> yes, you can edit the bootargs in uboot Aug 03 19:29:32 mmm how? Aug 03 19:29:48 <[7]> just cancel automatic boot and copy and paste the non-binary contents of the fixed boot.scr there Aug 03 19:29:50 i have my omap3 beagleboard.rog # prompt Aug 03 19:30:01 ok ok Aug 03 19:30:49 FxIII, which iamge did you use ? Aug 03 19:31:18 the netbook image *needs* a display, there is no way around it Aug 03 19:31:41 if you want to use a serial enabled image use the headless image Aug 03 19:32:17 ogra_: i need to have the video output Aug 03 19:32:32 (and no, you cant just change boot.scr on a netbook image it would leave you with a completely misconfigured system) Aug 03 19:32:38 i followed this https://wiki.ubuntu.com/ARM/OmapNetbook Aug 03 19:32:44 including the last part Aug 03 19:32:44 <[7]> you can enable video on the headless image as well Aug 03 19:33:03 sure Aug 03 19:33:16 you just cant use a netbook one without video Aug 03 19:34:59 ok where I can find it? Aug 03 19:35:32 hedaless ? Aug 03 19:35:51 https://wiki.ubuntu.com/ARM/OMAP Aug 03 19:35:51 FxIII: Reading the backscroll, you are looking for some kernel output on the netbook image beyond booting the kernel? Aug 03 19:36:35 hmm, that wikipage got uglified Aug 03 19:36:46 since when doe we have that weird header ? Aug 03 19:37:22 ogra_: Since last week wneh we all revised the wiki. DO NOT CHANGE. Aug 03 19:37:47 it looks really ugly, i wonder if it could be re-arranged to better fit the theme Aug 03 19:38:25 It is the same as the desktop (actually copied from there). Aug 03 19:38:31 really ? Aug 03 19:38:47 i did not understant one thing, why i cant boot this image? using a monitor i mean Aug 03 19:38:48 * ogra_ cant imagine the design team doesnt scream and shout :) Aug 03 19:39:16 It's uuuuuugly Aug 03 19:39:21 *bleaugh* Aug 03 19:39:35 ogra_: https://wiki.ubuntu.com/DesktopTeam Aug 03 19:39:36 Oh well :) Aug 03 19:39:59 FxIII: Ok, back to stuff that matters... Aug 03 19:40:01 GrueMaster, yeah, they only have three items that roughly have the same width Aug 03 19:40:22 You have the netbook image for natty. Did you follow the update for the beagleXM Rev B & C? Aug 03 19:40:23 it looks less weird (still hurts my eye though) Aug 03 19:40:58 <[7]> FxIII: so what's your root problem? Aug 03 19:41:07 re Aug 03 19:41:14 <[7]> just a blank screen? Aug 03 19:41:25 ogra_: you want pain and suffering, go look at my workitem list, pick a few items, and start researching how to implement them. Aug 03 19:41:42 black screen on video and no activity on the serial console Aug 03 19:41:52 GrueMaster, after i have sorted mine i will do that Aug 03 19:42:06 You won't have anything on the serial console past booting the kernel. Aug 03 19:42:35 But you need to update the bootloader & u-boot to have video. Aug 03 19:43:33 GrueMaster: what update means? Aug 03 19:43:39 Follow the instructions at https://wiki.ubuntu.com/ARM/OmapNetbook#Update_for_BeagleXM_Rev_B_.26_Rev_C Aug 03 19:43:48 dont that image use some video output on dvi? Aug 03 19:44:01 You have to patch the SD image prior to booting it. Otherwise you get nothing. Aug 03 19:44:07 i did that Aug 03 19:44:16 no results Aug 03 19:44:34 no video output for long time Aug 03 19:44:43 over ten minutes Aug 03 19:45:36 When you copied the new uImage to the boot partition, did you overwrite the existing one? Aug 03 19:45:43 Same with the vmlinuz? Aug 03 19:46:41 yep Aug 03 19:46:52 my sd was a fat Aug 03 19:47:01 after dd i got two partitions Aug 03 19:47:20 Yes, that is correct. Aug 03 19:47:29 i mount the first one and copied uimage Aug 03 19:47:36 the same for the second Aug 03 19:47:41 on the boot directory Aug 03 19:47:44 the umount both Aug 03 19:47:55 After DD, you should have untared the updated kernel and copied uImage to partition 1 and vmlinuz to partition 2. Aug 03 19:48:05 yes. Aug 03 19:48:17 (bear with me, irc delays). Aug 03 19:48:26 no problem Aug 03 19:48:45 Make sure you run "sync" after copying and before unmounting. Aug 03 19:51:23 wtf Aug 03 19:51:35 i dont remember... Aug 03 19:51:49 ok i can try to redo... Aug 03 19:52:07 but umount does not write the pending write? Aug 03 19:52:18 anyway i will do it Aug 03 19:53:33 It does, but on some systems/SD readers it can be slow. I have to make sure the led stops blinking before removing my card. Aug 03 20:00:24 sorry i fall Aug 03 20:11:24 GrueMaster: i does not changes Aug 03 20:11:48 no output on hdmi no activity on serial Aug 03 20:12:27 Try the headless image. It at least spits out more on the serial console. Aug 03 20:12:44 I wonder if you have a board with further undocumented changes that aren't in Natty. Aug 03 20:19:30 wow, our preinstalled images grew quite a lot. I just noticed it Aug 03 20:20:38 janimo: which ones? Desktop is about the same. Server on the otherhand now has the preinstalled pool. Aug 03 20:22:12 GrueMaster, desktop. natty used to be smaller IIRC Aug 03 20:25:06 libreoffice is the main difference. Aug 03 20:25:34 But the images are still smaller than x86. Aug 03 20:26:17 launchpad is being painfully slow. Aug 03 21:50:25 jani Aug 03 21:50:40 hmm bad screen Aug 03 21:51:15 * janimo is confused by monitor being wired to panda but keyboard to workstation Aug 03 21:51:30 * [7] knows that feeling rather well :) Aug 03 21:51:54 <[7]> two keyboards on one desk are really awful Aug 03 22:07:20 I use a usb switch for the keyboard and an HDMI switch for the monitor. Aug 03 22:18:18 * [7] does something similar, but his monitor just has two inputs Aug 04 00:30:18 prpplague: is there a command to lock it into high speed to get around the problem, or is the re a fix downloadable yet? :D Aug 04 01:29:40 MrCurious: not yet, but we are closer Aug 04 01:30:05 awesome. thank you very much for working on this bug. it will help my project tremendously Aug 04 01:31:10 a friend is trying to convince me to use a $50 used power wheels kids car for my first robot **** ENDING LOGGING AT Thu Aug 04 02:59:57 2011