/srv/irclogs.ubuntu.com/2012/07/18/#ubuntu-arm.txt

infinitycvanvliet_: Using them from where?00:23
=== unknown|2 is now known as yangster
=== gildean_ is now known as gildean
=== rsalveti` is now known as rsalveti
=== cvanvliet_ is now known as cvanvliet
cvanvlietinfinity, http://elinux.org/BeagleBoardUbuntu#SGX_armel.2Farmhf_v3.4.x.2B06:38
LetoThe2ndhm. tried the omap4 netboot installer, but board does not boot afterwards. 12.10's boot.img-serial.gz should be right?06:39
LetoThe2ndor rather boot.img-fat-serial?06:40
infinityLetoThe2nd: boot.img-serial.gz should be fine if you zcat it to a card.  If the installer ran all the way through, the image was fine.06:44
infinityLetoThe2nd: But it's entire possible that it doesn't produce a bootable system in quantal.06:44
infinityogra_: Is flash-kernel-installer not doing nice things in quantal?  I've heard a few reports of netboot not producing bootable systems.06:44
LetoThe2ndinfinity: it ran all the way. ah, i see. will give it one more try with 12.04 for now06:45
infinityLetoThe2nd: 12.04 should be just fine.  We use it all the time.06:45
LetoThe2ndinfinity: yeah, i just hoped i could already give 12.10 some testing06:45
LetoThe2ndah, and one more thing - do the arm port repos also provide rt-enabled kernels like for x86, or is there opportunity for playing?06:47
cvanvlietinfinity, I have asked in #beagle as well, I will let you know if I get any follow up, (afk)07:04
LetoThe2ndhm, netinstall with precise also did not result in a bootable sd card. :(07:55
LetoThe2ndok, now i am pretty convinced that there is something fishy with the netboot installer taken from http://ports.ubuntu.com/ubuntu-ports/dists/precise/main/installer-armhf/current/images/omap4/netboot/boot.img-serial.gz08:59
LetoThe2ndtried now twice with different sd cards, two times system is not booting anymore after successfully completing the installer.09:00
ogra_file a bug, attach as many logs as you cnan find :)09:00
LetoThe2ndimage was written to block device using zcat image > device... everything correct so farß09:00
ogra_right, but that image is a single partition image, flash-kernel doesnt know how to write to a device instead of to a partition09:01
LetoThe2ndogra_: hence?09:01
ogra_well, at least for omap4 it expects to have mmcblk0p109:01
ogra_you could check if it still boots when you partition your SD first and then dd to the first partition09:02
LetoThe2ndogra_: can do that.09:02
LetoThe2ndogra_: something like creating a 60M fat16 partition on the blockdevice and then zcatting to that?09:03
ogra_right09:03
LetoThe2ndwill do. report back in some minutes09:04
ogra_thx09:04
LetoThe2ndusing the automagic partitioning afterwards is ok?09:05
ogra_yes09:05
ogra_it shouldnt care about the SD09:06
ogra_only flash-kernel will in the end09:06
LetoThe2ndogra_: does not even boot.09:06
ogra_ah, sad09:07
LetoThe2ndindeed.09:07
ogra_i'll look into it09:07
LetoThe2ndthx09:07
ogra_thanks for telling me09:07
LetoThe2ndnp.09:08
LetoThe2ndshall i walk though the process once more using the block directly for zcatting, so i can inspect the card afterwards?09:08
ogra_that would be helpful, yes09:08
LetoThe2ndnp, will be ready after lunch i guess.09:09
=== zyga is now known as zyga-afk
=== zyga-afk is now known as zyga
LetoThe2ndogra_: back with the sd card :)11:05
ogra_so what does it show ?11:05
LetoThe2ndogra_: after the finished install process, the favorite symptoms of any pandaboard user: power on -> status led 2 solid on.11:06
ogra_hwo does the SD look like ?11:06
ogra_*how even11:06
LetoThe2ndhttp://paste.ubuntu.com/1098130/11:07
LetoThe2ndbesides that, black and on the front side is printed "micro sd card 4gb class 10", on the back side it has some copper coloured contacts.11:08
LetoThe2nd*SCNR*11:08
ogra_oh, wait, you installed *to* the SD ?11:09
ogra_janimo, ac100 images work fine now, thanks for all the help (the tegra driver in the archive makes lightdm end up in a restart loop though, i just uploaded the new tegra driver, lets see if that works)11:10
LetoThe2ndogra_: roger that11:10
ogra_hmm11:11
ogra_i assume /dev/sdd1 contains /boot ?11:11
LetoThe2ndogra_: i guess so, its what installer automagic created.11:12
ogra_right11:12
ogra_LetoThe2nd, bug 87252511:13
ubot2Launchpad bug 872525 in partman-uboot "No option for u-boot partition on armel omap/omap4 platforms" [Medium,Triaged] https://launchpad.net/bugs/87252511:13
LetoThe2ndogra_: want me to try gruemasters suggestion?11:14
ogra_that would be helpful11:14
ogra_if that works i'll take a look at how we can default to that setting with a default preseed entry11:14
LetoThe2ndogra_: will take some time, probably about an hour. gonna report back then.11:15
ogra_great, thanks11:15
* ogra_ will meanwhile take a look at the preinstalled server images11:15
TheMusoogra_: What was the reason for changing the panda images from preinstalled to live?11:17
ogra_TheMuso, bad user experience due to bad I/O on SD cards11:18
ogra_TheMuso, and the fact that it takes some effort to maintain the preinstalled stuff separately ... with the switch to live we just use what all other arches use11:18
* TheMuso nods.11:19
ogra_which reminds me ...11:19
* ogra_ needs to update the alsa UCM stuff for the pandaboard, seems they renamed the device *AGAIN* !11:20
TheMusoUCM stuff is still very much in development it seems.11:20
ogra_i hope they run out of names at some point11:20
ogra_well, it worked (kind of) in precise and oneiric on the panda and the ac10011:21
TheMusoWell I'll be able to help with testing at least... Jason got panda boards for all desktopt team members, so as soon as I get a USB drive box, my panda will be running quantal.11:21
ogra_yippie !11:21
TheMusoI probably still need to get extra bits, as I'd like to try and test 5.1 HDMI audio if possible. Got a stereo HDMI monitor, but I'd rather make sure everything works.11:22
TheMusoogra_: And are the gstreamer bits for omap4 available in precise? I see there is a driver via jockey, but what about the rest?11:22
ogra_no, TI didnt make them available for the kernel we have in precise11:23
TheMusoShame.11:23
ogra_there is a TI PPA that has them and an unsupported TI kernel package11:23
TheMusoAh ok.11:23
janimoogra_, \o/ for the final tegra graphics drivers!11:34
ogra_well, lets see if they work :)11:34
ogra_they already built, waiting for the publisher11:35
janimolet's see how the new nvidia rebased kernel works, there may be regressions compared to precise11:35
ogra_there surely is an issue with the alsa parts11:35
ogra_i see a lot related messages11:35
janimomarvin24, I went ahead and rebased our packaging tree (so your patches included in last package) on nvidia's l4t-15 branch11:35
janimoI'll do a new rebase or cherry-picking for the changes you have added since sometimes soon11:36
janimoI do not use the ac100 enough to know what kernel things still need fixing, so am a bit surprised to see new commits still being added as if there were actual issues :)11:37
ogra_"tegra-alc5632.0: only stereo is supported in I2S mode" is what i get over and over in dmesg11:37
ogra_(until i run sudo alsa force-unload to quieten it)11:37
LetoThe2ndogra_: nope, does not help12:04
ogra_ok12:04
ogra_probably partman-uboot is completely missing or so12:05
ogra_i'll inspect it, as i said ...12:05
LetoThe2ndthe choice item was labeled a bit different "use longest contiguous free space" or so, it didn't fix it.12:05
TheMusoogra_: I should have my USB box tomorrow, so plan to do a net install then, if I get the same problem I'll do some digging as well, that is if you don't get to it today.12:05
ogra_janimo, oh, disregard the moaning about alsa, i didnt run the new kernel yet, it was not on todays image12:05
ogra_TheMuso, great, thanks12:06
janimooh, so it may actually be much worse :)12:06
ogra_lets see ... rebooting12:06
janimoI just ran a simple zImage to see it boot till tarbgall installer12:06
TheMusoogra_: TO confirm, in d-i, do I mark the first partition on the SD card as bootable?12:06
ogra_janimo, hmm, looks like it hangs in fsck12:07
ogra_TheMuso, doesnt matter we dont run DOS ;)12:07
ogra_janimo, yeah, definitely12:07
TheMusoogra_: So I just ignore the SD card at partitioning time?12:07
ogra_janimo, now it prints a message: "rcu_sched_state detected stall  on CPU 1 (t=6000 jiffies)"12:08
ogra_janimo, hmm second try works (still the same issue with lightdm constantly respawning though)12:10
janimoogra_, is this after a successful install with the previous kernel and ext2?12:11
ogra_and the alsa messages are back as well12:11
ogra_janimo, right, todays image12:11
janimocan lightdm respawning be related to l4t or is this with fbdev?12:11
ogra_then i installed the tegra driver, updated it ... and then pulled linux-ac10012:11
ogra_well it started with l4t12:11
ogra_(before i upgraded the kernel)12:12
ogra_but it can indeed be a missing bit in our kernels12:12
ogra_which the final driver uses12:12
ogra_hmm, intresting, startx works12:13
ogra_and opening a terminal crashes it ... then it spills about 2000 alsa errors on the consile12:13
ogra_*console12:15
* ogra_ purges the nvidia driver12:16
ogra_janimo, ok, without the driver i get lightdm to work, but still have the alsa errors (sound works though, its just extremely niosy in dmesg)12:19
janimoogra_, so it worked with the newest tegra driver and the previous kernel?12:20
ogra_yes12:20
ogra_err, no12:20
ogra_sorry12:20
ogra_Xorg.0.log only has a segfault, no further errors12:21
ogra_janimo, for whatever reason my syslog is full of "fuse.ko: Invalig Argument"12:32
ogra_*invalid12:32
ogra_oh, i just noticed the new driver ships new udev rules and an upstart init script12:50
ogra_SHRIEK !!!!!!!!!!!!!!!!!!!!!!!111112:50
ogra_first command in that initscript is: chmod 0666 /sys/power/state12:51
ogra_oh, intresting ... all hardcoded sysfs paths in there have tegra3 in their pathname12:52
ogra_seems even though it is a ventana package it expects tegra3 devices12:54
ogra_janimo, hmm something is definitely weird with the fuse module13:03
ogra_it complains that fuse is loaded already if gvfs tries to load it on desktop startup ... but lsmod disagrees13:04
janimoogra_, I'll do an install myself today or tomorrow and look at the issues that piled up.13:10
ogra_k13:10
janimoI need to start using the ac100 myself it has been just standing there doing nothing for a good while13:10
ogra_i'll try to find out why the tegra driver fails ...13:11
ogra_yeah, i moved to a shiny new desktop myself13:11
janimoogra_, so you're back on x86 again :)13:11
ogra_didnt touch the ac100's for a while, quad core, 16G and a super fast SSD somewhat spoiled me :)13:12
janimomumble, mumble, kernel cross-compilation, mumble mumble13:12
* ogra_ even started plaing games again in the evenings13:12
ogra_ya ya ... i'll set up a cross env some day13:12
janimoI keep saying that for almost 2 years but I should probably get myself one of those fast systems too. I do too much building and that would help13:13
ogra_atm i try to fiull my 3TB HDD with images and a debmirror ... iÄ'll surely add several kvm's and cross chroots13:13
janimoogra_, it is not much of a cross env, no need for qemu and other junk for kernel. Just cross-gcc and you're done, so a single apt-get install :)13:13
ogra_well, i want to keem the host system completely clean and do all work in chroots13:14
ogra_*keep13:14
janimofor full package builds yes, chroots and whatnot is needed, but kernel builds are really simple13:14
ogra_preferably having them tarred up and unpacking them on the fly to a tmpfs13:14
janimohaving fast ssd and lots of RAM allows such complicated setups I guess13:14
ogra_somehow i cant get the system to use more than 9-10G of the ram ...13:14
ogra_so i can eat the rest with tmpfses13:15
janimoisn't there something like SETI at home but which eats RAM instead of CPU cycles? You should try that13:15
marvin24<ogra_> "tegra-alc5632.0: only stereo is supported in I2S mode" is what i get over and over in dmesg13:15
ogra_that should allow cross builds in minutes :)13:15
marvin24or pull ;-)13:15
ogra_marvin24, pull ?13:16
janimogit pull?13:16
ogra_oh, a fix !13:16
ogra_great13:16
ogra_i just blacklises all sound stuff for now ...13:16
ogra_*blacklisted13:16
ogra_concentrating on the xorg issue13:17
ogra_i wonder if that driver is supposed to work with this kernel at all13:17
ogra_startx actually gets me a full desktop but X crashes as soon as i click something13:17
janimomarvin24, I tried cloning your tree again yesterday but gitorious would not let me. I'll try again these days13:18
ogra_and all info i can get is "Segfault at 0x86"13:18
ogra_in Xorg.0.log13:18
* marvin24 didn't tried the new driver yet13:20
marvin24I only heard of troubles so far ...13:20
ogra_so lets see how well hrw did his job ...13:23
* ogra_ installs gcc-arm-linux-gnueabihf for the first time evar 13:23
hrw;)13:25
hrwogra_: if you want to build !kernel then also 'apt-get install libc6-dev-armhf-cross'13:25
ogra_will do13:25
janimoogra_, hmm I may have lied when telling you there's a single package needed. I remember hrw telling me I need that too but now I do not recall why it was needed for exactly13:29
ogra_http://marcin.juszkiewicz.com.pl/2012/03/26/ubuntu-12-04-precise-and-cross-compilation-of-arm-kernels/13:29
ogra_thats enough for me :)13:30
janimoogra_, you mean to build full debs not just zImages?13:30
janimoogra_, this is what I usually use debuild  -eDEB_BUILD_OPTIONS="parallel=3" -eskipabi=true -eskipmodule=true -eCROSS_COMPILE=arm-linux-gnueabihf-  -b -aarmhf -us -uc  -nc13:31
janimoyou can make the parallel much more I guess13:32
janimoI also usually set tools=false in debian.*/rules.d/armhf so I don't have to cross install other deps for linux-tools13:33
janimobut for quick testing I just build zImage13:33
ogra_yeah13:37
ogra_hmm, so our kernel doesnt have NVHDCP enabled13:48
ogra_and there seem to be a few new NVMAP options to play with13:49
ogra_oh, and we dont have /dev/nvram enabled at all13:49
ogra_hmm, building definitely doesnt work as advertised13:56
ogra_(cross building that is)13:56
ogra_nope, cant make it build13:57
ogra_aha, only works if CROSS_COMPILE is set13:58
ogra_janimo, i think there was something added to the linux package scripts to automatically set that in ubuntu kernels when cross building a package ... are we missing a merge ?13:58
janimoogra_, CROSS_COMPILE needs setting in env when doing simple make zImage13:59
ogra_janimo, it shouldnt for the package14:00
janimoalso in the debuild line I pasted above14:00
ogra_yes, but not in hrw's howto14:00
janimonot sure if we are missing something, I did not work on other arm kernel packages14:00
ogra_and i think the kernel team enhanced the scripts to auto xport that var during package builds14:00
janimoI know, no idea really I just stuck to what works and what I learned last year here: https://wiki.linaro.org/Resources/HowTo/PackageYourOwnKernel14:00
janimoogra_, they may have done that, in which case I did not know about it to incorporate in our scripts14:01
janimoI will if I find out :)14:01
ogra_there was a ML discussion a while ago during precise14:01
janimoI pasted that line to show what I used all the time and what worked for me for ac100 and armadaxp kernels too14:01
ogra_right, that works here too (despite the fact that i dont like debuild and use dpkg-buildackage)14:02
ogra_wow, that was fast (failed in tools since i didnt suppress them)14:04
ogra_wow, i actually got all four cpu cores at 50°C ... havent seen them above 30 since i built that thing14:09
hrw;)14:10
hrwcurse m4 for lack of ifndef14:12
ogra_grrr14:27
ogra_i cant get past the failing tools14:27
ogra_do_tools=false as documented everywhere doesnt seem to have any effect14:27
ogra_oh CRAP !14:40
ogra_so debian.linaro overrides all defaults ?14:40
ogra_*SIGH*14:40
ogra_real5m49.016s14:48
ogra_user13m47.740s14:48
ogra_sys1m23.897s14:48
ogra_nice !14:48
janimoogra_, did you only use parallel=3? user/real suggests something like that15:26
ogra_=815:26
janimoor maybe kernel builds is more deb packaging and linking that parallelizable compilation15:27
ogra_i thought 4 cores should be able to handle 8 threads :)15:27
janimoogra_, they do, but the last bits - the packaging ones - are likely only using 1 thread15:27
ogra_indeed15:27
janimoprobalby with plain make zImage you'd get a much better ratio :)15:27
janimobut anyway, nice to have such fast turnaround now15:28
ogra_oh, definitely, but with 13min for a package build i wont complain :)15:28
janimo13 user, real was 5 no?15:28
ogra_yep15:29
=== Ursinha` is now known as Ursinha
=== npitre_ is now known as npitre
=== gildean_ is now known as gildean
infinityahs3`: *poke*21:18
infinityahs3`: That python-greenlet patch probably shouldn't be using uname to set CFLAGS in setup.py, since that's depending on the buildd environment, rather than the target.21:19
infinityahs3`: (In our case, it'll just get set universally for armel/armhf, since all our machines have that uname, but it still seems sketchy in the case where that's not true)21:20
ahs3`infinity: hrm.  is that the part that adds -fomit-frame-pointer?21:20
infinityahs3`: Yeah.21:20
infinityahs3`: I could just as easily be building on an armv5 machine with -mcpu=armv7-a, and that flag then wouldn't get set, though it should be.21:21
infinityahs3`: Seems harmless for the SRU and for our current buildds, but still inappropriate (IMO) for upstreaming.21:22
infinityahs3`: Then again, upstream seems to suffer that issue elsewhere too, so..21:22
ahs3`infinity: right.  latest upstream has already moved well past this version and it's not needed there.  but, there are several other ARM patches in 0.3.421:23
infinityahs3`: Mmkay.  Then it doesn't bug me *as* much.21:23
infinityahs3`: (I note that upstream makes the same mistake with a uname=i386 check, so at least it's consistently broken)21:23
ahs3`infinity: well, and bumping versions for SRU is a no-no, yeah?21:23
infinityahs3`: I assume this omitting of frame pointeryness won't break armel while fixing armhf?21:24
ahs3`infinity: lol.  oh, goody, we're consistently broken :)21:24
infinityahs3`: Yeah, bumping upstream versions is a no-no unless absolutely needed.  I'm much happier with the backported patch option, as long as it works.21:24
ahs3`infinity: i don't believe this will hurt armel; this only shows up in armhf21:25
ahs3`(the bug, that is)21:25
infinityExcept, wait...21:26
infinity-fomit-frame-pointer is included by default in -O2 anyway.21:26
infinityIs there somewhere else where this is being forced to -O0 or something?21:26
ahs3`not that i ever found :(.  the only reason that's there is that it was not showing up on the gcc line when building21:27
ahs3`i presumed that was being echoed correctly21:27
infinityRight, it's in the default set.21:28
infinityYou'd need to use -fno-omit-frame-pointer to explicitly ask for the inverse.21:28
infinitySo, that part of the patch is probably a no-op.21:28
ahs3`probably so; re-running the tests would confirm21:29
infinityAnyhow, it's harmless either way, I'm not going to make anyone retest and reupload, if you know this version works.21:29
infinityAnd if upstream no longer has that bit of code, all the better.21:29
ahs3`it does.  tested on armadaxp, on precise21:29
ahs3`yup, plus other ARM fixes that would be nice to have, but oh well21:30
infinityWell, feel free to backport more fixes. :P21:30
infinityUnless the new upstream is really just "nothing but more ARM fixes", then we can talk version bumps.21:31
infinityahs3`: For now, accepting this into proposed.21:31
ahs3`infinity: thx.  unfortunately, it's a bunch more than just ARM stuff21:31
infinityWell, even if the new upstream is "nothing but bugfixes with no new features", we could perhaps talk about that.21:32
infinityBut it's not even in quantal yet, so...21:32
infinityWe'll cross that bridge if anyone feels the urge to later.21:32
ahs3`actually, it's already in quantal21:32
infinityIs it?  I thought Q was 0.3.3... You were talking 0.3.421:33
ahs3`hrm.  lemme look.  i thought zul had gone to 0.3.4...21:33
infinityNope, and Debian's still at 0.3.3 as well.21:34
infinityBah, and the mips ASM is broken too.  Is that fixed in 0.3.4 as well?21:35
infinityIf so, I might just NMU the new upstream. :P21:35
ahs3`d'oh.  yup.  0.3.3.21:35
ahs3`lemme check the changelog.  i don't recall seeing mips fixes, but i wasn't looking for them21:35
infinityplatform/switch_mips_unix.h: In function 'slp_switch':21:37
infinityplatform/switch_mips_unix.h:43:1: error: $fp cannot be used in asm here21:37
infinityerror: command 'gcc' failed with exit status 121:37
infinityIt's so lovely when people write assembly blind.21:37
infinity(I can only assume it was blind, since it's pretty obviously broken)21:37
ahs3`looks like the last mips change (at least in the switcher code) was in 2010 :(21:38
infinityYeah, I'm seeing that.21:38
infinitySo, something externally broke it.21:38
infinityOh well.21:38
infinityI don't have any mips machines to test on, and I can't see obvious breakage at a glance.21:39
infinityCan I just go on the record as saying that python modules with hand-tuned assembly are a bit of a giggle?21:40
zulahs3`:  3.321:41
ahs3`lol.  absolutely.  it is one of the more amusing bits of code i've seen21:41
ahs3`zul: nod.  i got 0.3.4 stuck in my head for some reason21:42
infinityAnyhow.  I might NMU ARM fixes into Debian, which would bring us in line (except for the dh_python2 switch), but that won't actually help the RCness in Debian, due to the mips breakage. :/21:42
infinityAnd if ARM is fixed upstream in 0.3.4 anyway, that seems like it might be wasted effort on my part.21:43
infinityErk.21:43
infinityahs3`: Is the testsuite still disabled in precise due to this breakage?21:44
infinityahs3` / zul: I may prefer to see "turning the testsuite back on" as part of the SRU, to prove it's all better.21:44
ahs3`infinity: dunno.  i don't think it was ever ENabled21:44
infinityahs3`: It's enabled in Debian, it's disabled in our packages because it was segfaulting on ARM.21:44
ahs3`infinity: ah.  then you should be able to enable it again; that's what was used to test the patch21:45
infinityahs3`: Alternately, this package is too much of a mess for me to try to make sense of. :P22:04
infinityahs3`: If someone tests the output of the buildds, I'll just scream LA LA LA and ignore the testsuite still being off.22:04
ahs3`infinity: fair enough.  testing we can do.22:05
=== TheMuso` is now known as TheMuso
=== wgrant_ is now known as wgrant

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