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

mahmohrsalveti: ping, hit a kernel crash on boot, have you seen it before? bug 82012900:42
ubot2Launchpad bug 820129 in linux-linaro "boot crash - kernel BUG at /build/buildd/linux-ti-omap4-2.6.38/kernel/workqueue.c:1029!" [Undecided,New] https://launchpad.net/bugs/82012900:42
GrueMastermahmoh: That could be due to the memory hole on the panda.  I notice that you don't have the mem= lines on your kernel cmdline.00:57
=== robbiew-afk is now known as robbiew
GrueMasterAlso, why are you filing this against linux-linaro?  The source is linux-ti-omap4.01:06
mahmohGrueMaster: it wouldn't let me choose that "package" for some reason, could you switch it for me pls?  I thought the kernel knew about that hole already and the map wasn't necessary any longer01:43
mahmohafter much pain and aggravation it now worked01:53
=== Jack87 is now known as Jack87|Away
lilsteviepersia, let me know when you are around10:52
persialilstevie, I'm around10:52
lilstevieok cool10:53
lilstevielets try and get this thing together :)10:53
persiaRight.10:54
* persia reviews the instructions10:54
lilstevieok, well I have the tarball decompressed10:56
lilsteviebut I am thinking maybe I should just clone it on to this10:57
lilsteviebtw, I am on the tf this time10:57
lilstevietrying to avoid the cross_compile issue sneaking in10:57
persiaLooks like most of the cross compilation stuff comes from step 11.110:59
lilstevieheh ok10:59
persiaIf you've merged the Ubuntu sauce (which you'll need), then you ought be able to skip step 8.111:00
lilstevieI haven't merged the ubuntu stuff11:00
persiaAnd you certainly don't want to do step 9.111:00
persiaAha!  You'll want to do that.  There's a sauce branch in the Ubuntu master kernel repo at kernel.ubuntu.com11:00
persiaIt has stuff like aufs, etc., which we expect to have in any Ubuntu kernel.11:01
lilstevieok11:01
persia*don't* run step 11.2 to build the kernel.11:01
lilstevieand will it apply cleanly over any kernel11:01
lilstevieand will it apply cleanly over any kernel;011:01
persiaInstead, run `debuild -S -us -uc`.  Save the artifacts this produces as precious.11:01
lilstevieok11:01
lilstevie-us -uc instead of -i -I11:02
lilstevie?11:02
persiaOnce 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.11:03
lilstevieeh I am not fussed about killing git out11:03
persia`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".11:05
lilstevieok cool11:06
persiaIf 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.11:08
lilstevieok, well looking at the ubuntu prime git11:09
lilsteviepersia,  just trying to find the spot that has 2.6.3611:26
lilsteviepersia, I can't find 2.6.3611:48
persiaGrumble.11:49
persiaTheoretically, when moving from 2.6.35 to 2.6.38, one ought import the VCS history, including tags.11:49
persiaAnd that would have been from the maverick->natty switch.11:49
lilsteviehm11:50
persiaMaybe 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.11:50
lilsteviewhat is it that is wanted anyway?'11:53
lilstevieaufs11:53
rOxxHello, 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 fil11:58
persialilstevie, I don't know the complete set of what is needed: whatever makes the enforcer not complain.  At least aufs.12:07
=== chuck_ is now known as zul
lilstevieaufs isn't on the enforcer list12:07
lilsteviethe only 2 things that fail are security_smack and security_yama12:09
persiaHrm.  *some* sort of union file system ought be in the enforce list.  Otherwise it's hard to make live images, etc.12:10
persiaWe also use union filesystems for some developer operations (like speeding test-building, etc.)12:11
lilsteviehm12:29
sijipersia, are you free?13:21
lilsteviepersia: 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 smack13:29
ogra_ugh, why ?!?13:29
ogra_aufs is a super intrusive bit, is there anything you need it for ?13:30
lilstevieogra_: just <persia> lilstevie, I don't know the complete set of what is needed: whatever makes the enforcer not complain.  At least aufs.13:31
ogra_i never used aufs anywhere in my kernels13:33
lilstevieogra_: the only things enforcer complain about is security_yama and security_smack13:33
ogra_and never had an "enforcer" (whatever that is) complain13:33
ogra_never heard of that13:33
ogra_whats that "engforcer"  thing ?13:34
lilstevieogra_: it is part of the mechanism that parses the config13:34
ogra_then its wrong13:34
ogra_aufs is non standard crap you shouldnt be enforced to have to add to your kernel to have a package13:34
lilstevieit takes debian.linaro/config/enforce and makes sure they are enabled in kernel config13:34
ogra_linaro ?13:34
lilsteviewell I don't have any aufs stuff13:35
ogra_right13:35
ogra_fix the file then13:35
lilstevieand neither does the enforce13:35
ogra_its nonsense to enforce it13:35
lilstevieheh13:35
lilsteviewhat about security_yama and security_smack13:36
ogra_no idea, your kernel doesnt have it ?13:37
lilstevienot at all13:37
ogra_well, for that ask in #ubuntu-kernel or the security team, i'm not sure if oneiric has userspace using it13:38
lilstevieI have selinux and apparmor enabled in kernel config though13:38
ogra_if not, i would ignore it too13:38
ogra_right, thats a typical ubuntu default13:38
lilstevieand apparmor is set default13:39
ogra_right13:41
ogra_with selinux being off13:41
lilstevieyep13:42
lilstevieis there anything else that I may have missed that is handy to havee?13:43
lilsteviehave*13:43
ogra_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 them13:45
lilstevieheh13:48
=== nslu2-log_ is now known as nslu2-log
=== prpplague is now known as prpplague^2
mahmohwhy is my board rebooting?! http://pastebin.ubuntu.com/657985/15:08
mahmohignore the first seven lines15:08
=== bambee_ is now known as bambee
hallynzul: what was the kernel we ran on the tegras?15:12
hallynzul: you can run 'lxc-checkconfig' to get the full list15:12
zuli dont think its tegra15:13
hallyn(ignore 'namespace cgroup' not being there, we don't want it)15:13
zulhallyn: when i tried to mount cgroups invalid fs15:13
hallynwell whatever, but it ws arm and lxc was working :)15:13
hallynso who's in charge of omap4 kernel?15:13
hallyn(!! config)15:13
zulhallyn: oh wait i can mount it nm...15:14
hallynzul: so does lxc-checkconfig show any errors?15:15
zulhavent gotten that far but this is with libvirt15:15
zulalthough this line in the /etc/fstab throws errors: http://pastebin.ubuntu.com/657992/15:17
hallynzul: is this oneiric?15:18
hallyni'd just install cgroup-bin at this point...15:18
zulhallyn: yep15:18
hallynzul: oh, well what does cat /proc/cgroups show?15:21
zulhttp://pastebin.ubuntu.com/657993/15:21
hallynzul: no freezer or blkio15:24
zulyeah just figured that out15:24
hallynblkio is not bad, but freezer really should be enabled15:24
prpplagueGrueMaster: ping17:07
GrueMasterprpplague: pong17:07
prpplagueGrueMaster: getting closer, looks like it may be related to some frequency scaling17:08
GrueMasterinteresting.17:08
prpplagueGrueMaster: on a L27 .35 kernel with the governor set to performance, the problem goes away17:10
GrueMasterVery interesting.17:11
GrueMasterI'll see if I can check it out on our latest images with the 3.0 kernel.17:11
prpplagueGrueMaster: do you have full governor support in your 3.0 ubuntu kernel?17:17
ogra_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 there17:18
ogra_that way it should just  stay on performance17:18
GrueMasterHrm.  No scaling_governor on 3.0 kernel.17:24
GrueMasterI have no way of knowing what the current setting is, or how to change it.  There is no /sys/device/cpu/cpu*/cpufreq/*17:33
GrueMasterAnd I am not seeing anything in the kernel config to indicate either way.17:34
GrueMasterHrm.  cat /sys/devices/system/cpu/cpuidle/current_governor_ro17:36
GrueMastermenu17:36
[7]GrueMaster: it's "menu" on my 2.6.38-1208 kernel as well17:48
[7]whatever that means...17:49
ogra_menu ??17:51
ogra_weird17:51
GrueMasterYea for outdated kernel docs.17:52
[7]theseven@panda:~$ cat /sys/devices/system/cpu/cpuidle/current_governor_ro17:52
[7]menu17:52
[7]theseven@panda:~$ uname -a17:52
[7]Linux panda 2.6.38-1208-omap4 #11-Ubuntu SMP PREEMPT Fri Apr 15 16:34:35 UTC 2011 armv7l armv7l armv7l GNU/Linux17:52
GrueMasterhttp://forum.soft32.com/linux/RFC-PATCH-add-menu-cpuidle-governor-ftopict341954.html17:53
GrueMasterFrom 2007.17:53
GrueMasterAnd nothing in linux-docs.17:54
ogra_fun17:54
GrueMasterI'm placing bets that this will end up being the cause of our grief.17:58
GrueMasterI don't even know where to look for the different driver states.  Currently, /sys/devices/system/cpu/cpuidle/current_driver is reporting none.18:34
prpplagueGrueMaster: /sys/devices/system/cpu/cpu0/cpufreq # cat scaling_governor18:52
ogra_i bet amitk could tell you, but i also guess its beer o clock in cambridge now18:52
ogra_prpplague, cpuidle ... :)18:52
ogra_seems the menu governor belongs to it18:53
prpplagueyea18:53
prpplagueso the only built that doesn't seem affected is the latest 2.6.35 for L2718:53
GrueMasterprpplague: That path doesn't exist in the 3.0 kernel.18:54
prpplagueGrueMaster: right, i was testing a 2.6.39 kernel18:55
prpplagueGrueMaster: ti kernel18:55
FxIIIhi all19:15
FxIIIwhat means if boot there is no terminal output after the message now booting kernel?19:16
FxIIII have a beagleboard xm rev C19:17
FxIIIUncropressing Linux... done, booting the kernel.19:17
FxIIIthen notthing19:17
[7]FxIII: which bootargs?19:22
FxIII[7]: how can I check?19:22
[7]shoul be printed somewhere above in the uboot output19:22
MrCurious_any luck prpplague?19:22
[7]or see the boot.scr file19:22
prpplagueMrCurious: appears to be related to the governors19:22
MrCurious_did i miss hear that one could set to max perf and make it go away as a short cut?19:23
prpplagueMrCurious: on some versions of the kernel19:23
FxIIIbootargs19:23
MrCurious_i think this bugs hours are numbered... :)19:23
* [7] hopes that as well :)19:24
[7]it's kind of a shame that nobody caught that earlier, would have improved the board's speed a lot19:24
FxIIIro elevator=noop vram=12M omapfb.mode=dvi:1280x720MR-19@60 mpurate=500 root=UUID=2202437....3453 fixrtc quiet splash19:25
[7]remove "quiet splash", add "console=/dev/ttyO2,11500n8"19:25
[7]assuming it's the 3rd UART on the XM as well19:25
FxIIIthis is a binary file...19:25
[7]you'd need to edit it in /boot/boot.script and re-run flash-kernel19:26
FxIII[7]: i did run a precompiled image...19:26
FxIIImy I use my serial connection to do boot?19:28
[7]yes, you can edit the bootargs in uboot19:28
FxIIImmm how?19:28
[7]just cancel automatic boot and copy and paste the non-binary contents of the fixed boot.scr there19:28
FxIIIi have my omap3 beagleboard.rog # prompt19:29
FxIIIok ok19:29
ogra_FxIII, which iamge did you use ?19:30
ogra_the netbook image *needs* a display, there is no way around it19:30
ogra_if you want to use a serial enabled image use the headless image19:30
FxIIIogra_: i need to have the video output19:31
ogra_(and no, you cant just change boot.scr on a netbook image it would leave you with a completely misconfigured system)19:31
FxIIIi followed this https://wiki.ubuntu.com/ARM/OmapNetbook19:31
FxIIIincluding the last part19:31
[7]you can enable video on the headless image as well19:31
ogra_sure19:32
ogra_you just cant use a netbook one without video19:32
FxIIIok where I can find it?19:34
ogra_hedaless ?19:34
ogra_https://wiki.ubuntu.com/ARM/OMAP19:35
GrueMasterFxIII: Reading the backscroll, you are looking for some kernel output on the netbook image beyond booting the kernel?19:35
ogra_hmm, that wikipage got uglified19:35
ogra_since when doe we have that weird header ?19:35
GrueMasterogra_: Since last week wneh we all revised the wiki.  DO NOT CHANGE.19:36
ogra_it looks really ugly, i wonder if it could be re-arranged to better fit the theme19:36
GrueMasterIt is the same as the desktop (actually copied from there).19:37
ogra_really ?19:37
FxIIIi did not understant one thing, why i cant boot this image? using a monitor i mean19:37
* ogra_ cant imagine the design team doesnt scream and shout :)19:37
martynIt's uuuuuugly19:38
martyn*bleaugh*19:38
GrueMasterogra_: https://wiki.ubuntu.com/DesktopTeam19:38
martynOh well :)19:38
GrueMasterFxIII: Ok, back to stuff that matters...19:39
ogra_GrueMaster, yeah, they only  have three items that roughly have the same width19:39
GrueMasterYou have the netbook image for natty.  Did you follow the update for the beagleXM Rev B & C?19:39
ogra_it looks less weird (still hurts my eye though)19:39
[7]FxIII: so what's your root problem?19:40
martynre19:40
[7]just a blank screen?19:40
GrueMasterogra_: you want pain and suffering, go look at my workitem list, pick a few items, and start researching how to implement them.19:40
FxIIIblack screen on video and no activity on the serial console19:40
ogra_GrueMaster, after i have sorted mine i will do that19:41
GrueMasterYou won't have anything on the serial console past booting the kernel.19:41
GrueMasterBut you need to update the bootloader & u-boot to have video.19:41
FxIIIGrueMaster: what update means?19:42
GrueMasterFollow the instructions at https://wiki.ubuntu.com/ARM/OmapNetbook#Update_for_BeagleXM_Rev_B_.26_Rev_C19:42
FxIIIdont that image use some video output on dvi?19:42
GrueMasterYou have to patch the SD image prior to booting it.  Otherwise you get nothing.19:43
FxIIIi did that19:43
FxIIIno results19:43
FxIIIno video output for  long time19:43
FxIIIover ten minutes19:43
GrueMasterWhen you copied the new uImage to the boot partition, did you overwrite the existing one?19:44
GrueMasterSame with the vmlinuz?19:44
FxIIIyep19:45
FxIIImy sd was a fat19:46
FxIIIafter dd i got two partitions19:46
GrueMasterYes, that is correct.19:46
FxIIIi mount the first one and copied uimage19:46
FxIIIthe same for  the second19:46
FxIIIon the boot directory19:46
FxIIIthe umount both19:46
GrueMasterAfter DD, you should have untared the updated kernel and copied uImage to partition 1 and vmlinuz to partition 2.19:47
GrueMasteryes.19:47
GrueMaster(bear with me, irc delays).19:47
FxIIIno problem19:47
GrueMasterMake sure you run "sync" after copying and before unmounting.19:47
FxIIIwtf19:50
FxIIIi dont remember...19:50
FxIIIok i can try to redo...19:51
FxIIIbut umount does not write the pending write?19:51
FxIIIanyway i will do it19:51
GrueMasterIt does, but on some systems/SD readers it can be slow.  I have to make sure the led stops blinking before removing my card.19:52
FxIII_sorry i fall19:59
FxIII_GrueMaster: i does not changes20:10
FxIII_no output on hdmi no activity on serial20:10
GrueMasterTry the headless image.  It at least spits out more on the serial console.20:11
GrueMasterI wonder if you have a board with further undocumented changes that aren't in Natty.20:11
janimowow, our preinstalled images grew quite a lot. I just noticed it20:18
GrueMasterjanimo: which ones?  Desktop is about the same.  Server on the otherhand now has the preinstalled pool.20:19
janimoGrueMaster, desktop. natty used to be smaller IIRC20:21
GrueMasterlibreoffice is the main difference.20:24
GrueMasterBut the images are still smaller than x86.20:24
GrueMasterlaunchpad is being painfully slow.20:25
janimojani21:49
janimohmm bad screen21:49
* janimo is confused by monitor being wired to panda but keyboard to workstation21:50
* [7] knows that feeling rather well :)21:50
[7]two keyboards on one desk are really awful21:51
GrueMasterI use a usb switch for the keyboard and an HDMI switch for the monitor.22:06
* [7] does something similar, but his monitor just has two inputs22:17
=== Jack87|Away is now known as Jack87

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