/srv/irclogs.ubuntu.com/2012/01/23/#ubuntu-arm.txt

=== jkridner__ is now known as jkridner
=== Lopi_ is now known as Lopi
=== panda is now known as Guest71075
=== doko_ is now known as doko
=== chrisccoulson_ is now known as chrisccoulson
rbasakppisati, infinity: another regression in linux-ti-omap4 I think. panda fails to boot.11:01
ppisatirbasak: do you have pvr-omap4 installed?11:07
rbasakppisati: don't think so. I'm doing a preseeded install. The installer runs but then the kernel hangs after reboot11:07
rbasakppisati: no output after "Uncompressing Linux... done, booting the kernel."11:07
rbasakppisati: looking at my proxy cache logs, the installer retrieved linux-image-omap4_3.2.0.1404.4_armhf.deb but nothing matching pvr-omap4.11:08
ppisatii know there's a problem with that dkms module11:09
ppisatibut without it works here11:09
rbasakI'm not doing anything special at all11:10
rbasaknetboot, preseed, install onto panda with external usb disk11:10
ppisatiwhat's the content of your boot.scr?11:16
ppisatirbasak: ^^11:16
rbasakppisati: once installed?11:17
rbasakfatload mmc 0:1 0x80000000 uImage11:17
rbasakfatload mmc 0:1 0x81600000 uInitrd11:17
rbasaksetenv bootargs root=UUID=62d8a5de-83eb-470c-9de6-31eed3621672 ro quiet splash11:17
rbasakbootm 0x80000000 0x8160000011:17
rbasakfi11:17
ppisatithere's no console stuff, no wonder you don't see any output11:18
ppisatiwait11:18
ppisatiget rid of "quiet splash"11:19
ppisatiand add "console=tty0 console=ttyO2,115200n"11:19
ppisatiand if i would be in you, i would add "rootwait" too11:19
rbasakwell, it used to work11:20
rbasakthe installer installed that boot.scr11:20
rbasakis this something that's broken in the installer?11:20
ppisatino no11:20
ppisatiit's just that if you don't have the "console=" args11:20
ppisatithe only thing you see is the "Uncompressing Linux... done, booting the kernel."11:20
ppisatiuntil you get a console11:20
ppisatibut since it's a fresh installation, there's no ttyO2.conf11:21
ppisatiand thus you don't even have the console11:21
rbasakI understand why you're saying that I don't have a console11:21
ppisatiand if X doens't work for some reason, you think tghe kernel hanged somewhere11:21
rbasakOh I see11:22
rbasakSo not necessarily a kernel issue until I add the console11:22
rbasakI'll do that, thanks11:22
ppisatiyep11:22
ppisatihere are all the steps i do after a fresh install:11:22
ppisatimodify boot.scr: delete "quiet splash", and add "console=tty0 console=ttyO2,115200n rootwait"11:23
ppisatimount the / and add a ttyO2.conf in /etc/init11:23
rbasakThat part was definitely there last week11:24
ppisatithen reboot and see what happens11:24
ppisatianyway, try to add that stuff and tell me how it goes11:24
ppisatiFWIW:11:25
ppisatiflag@flag-desktop:~$ uname -a11:25
ppisatiLinux flag-desktop 3.2.0-1404-omap4 #6-Ubuntu SMP PREEMPT Thu Jan 19 14:31:43 UTC 2012 armv7l armv7l armv7l GNU/Linux11:25
ppisatithis is my panda11:25
ppisatii've a dentisti appointment, i'll be back in an hour or so11:25
rbasakppisati: http://paste.ubuntu.com/814182/11:28
rbasakppisati: OK, I'll work on something else in the meantime11:28
rbasakppisati: (this is with http://paste.ubuntu.com/814183/)11:30
victorping11:37
ogra_morn :)11:37
highvoltageogera!11:39
ogra_hey highvoltage11:41
ppisatirbasak: could you try with this one "ro rootwait elevator=noop vram=32M mem=456M@0x80000000 mem=512M@0xA0000000 root=UUID=$YOURUUIDHERE fixrtc console=tty0 console=ttyO2,115200n8"11:41
highvoltageogra_: how are things?11:41
ppisatirbasak: now i'm leaving for real11:41
ogra_highvoltage, fine, thanks, and for you ?11:42
highvoltageogra_: doing good11:42
ppisatirbasak: did you try with the args i pasted above?13:10
ppisatirbasak: ping me when you around14:01
rbasakppisati: sorry, been afk sorting out a wiring harness for my pandas14:51
rbasakppisati: your new args work14:51
=== plars-away is now known as plars
ppisatirbasak: so you got it working, right?14:55
rbasakppisati: yes, it booted with those args14:56
ppisatirbasak: actually the problem is somewhere else14:56
ppisatirbasak: it's in the CMA14:56
rbasakCMA?14:56
ppisatiyep14:56
ppisatiyour dmesg said:14:56
ppisatiDMA: failed to allocate 256 KiB pool for atomic coherent allocation14:56
ppisatiwhile i guess now it succeded to allocate that pool14:57
rbasakppisati, you've lost me. What's the CMA? From my point of view, a netboot install of Ubuntu Server on ARM is currently broken, but was working in last week's precise. I don't understand which component is broken. Who do I need to speak to?14:58
ppisatirbasak: don't worry, i was just spoeaking with myself15:00
ppisatirbasak: did you have the same bootargs last week?15:01
rbasakI don't know. I have whatever bootargs the installer gives me.15:01
uncle_fungusdoes the current ubuntu-core armel installation work? I've installed it into a chroot and installing gnome-core with apt-get trashes the chrooted installation (most commands segfault)15:03
ppisatirbasak: can you open a bug on lp?15:16
rbasakppisati: sure, against which package? linux-ti-omap4?15:16
ppisatirbasak: yep15:17
rbasakppisati: bug 920511 - thanks15:34
ubot2Launchpad bug 920511 in linux-ti-omap4 "Regression: netinst on panda armhf fails" [Undecided,New] https://launchpad.net/bugs/92051115:34
rbasakppisati: fwiw, as far as I can determine, boot args have not changed since last week15:38
ppisatiok15:39
GrueMasterrbasak: I'm trying it here.  Had to recover my mirror (crashed over the weekend).16:01
GrueMasterI do see some of the netinstall parameters have changed it looks like.  My systems are now prompting for hostname (they used to get set automatically by dhcp).16:02
=== utlemming_afk is now known as utlemming
=== jkridner_ is now known as jkridner
GrueMasterrbasak: This may take a little longer than I thought.  My mirror server crapped out over the weekend for no documented reason, now it is taking forever to resync with ports.u.c.16:47
=== Jack87|Away is now known as Jack87
=== Jack87 is now known as Jack87|Away
* ppisati -> EOD17:57
GrueMasterrbasak: I can fully reproduce this kernel issue on netinstall and on preinstalled images.  The issue is kernel related, and has nothing to do with netinstall (although your lack of serial console is odd - maybe preseed related as mine works).18:22
rbasakthanks GrueMaster18:22
* neels having endless problems with ubuntu 11.04 & 11.10 on beagleboard xM Rev. C -- no usb (and hence no ethernet)19:51
GrueMasterneels: Is the usb interface not coming up at all?  What does lsusb produce?19:57
neelsit shows two usb hubs19:57
GrueMasterNothing else?19:57
neelsin the boot I get:  Uncompressing Linux... done, booting the kernel.19:57
neels[    8.114105] hub 1-0:1.0: unable to enumerate USB device on port 219:57
neelsI'll have a screenshot in a minute19:58
GrueMasterHow are you powering the board?19:58
neelsAC adapter19:58
neelswith angstrom, everything works -- the factory supplied angstrom I mean19:58
GrueMasterOk.  I have seen this problem when using the mini-usb port to power.19:59
neelsI have seen *only* problems when using the mini-usb to power :)19:59
GrueMasterI think there was an issue with Natty support on rev c boards (didn't exist).  I know there have been some issues with u-boot on oneiric.19:59
GrueMasterUnfortunately, I only have a Rev B board, so I see different issues (mainly enet won't link unless I unplug from the network and wait for ~10 seconds).20:01
GrueMasterdo you have any other devices on the usb port?20:01
neelsI was trying my SD card reader, but nothing happens20:03
neelslsusb stays unchanged and everything.20:03
leshasteis there a list of what is missing for ubuntu arm that you would get in the mainstream ubuntu?20:04
leshastespecifically.. is all of texlive available?20:06
GrueMasterNot really.  most everything should just be there.20:06
GrueMasterCheck ports.ubuntu.com for specific packages.  I'm in the middle of an install and can't interrupt it (otherwise I would easily check).20:08
leshasteok thanks20:10
leshasteGrueMaster: it's all very mysterious :)20:11
GrueMasterJust checked Oneiric.  Lots of texlive packages there.20:12
GrueMasterwhat may be missing, I wouldn't know.20:12
leshastecurious arm is not mentioned in http://www.tug.org/texlive/build.html20:12
leshasteat the bottom20:12
infinityleshaste: Upstreams often don't mention specific arch support.20:13
GrueMasterBecause we are not "volunteer builders".20:13
infinityleshaste: But that doesn't stop Debian from supporting almost everything on 13 arches. :P20:13
GrueMasterWe're a distro.20:13
leshasteinfinity: :)20:13
leshasteGrueMaster: true but I assume the porting of texlive was non-triviak20:13
leshastenon-trivial20:14
infinityI don't see why it would be.20:14
infinityIt's pure C, IIRC.20:14
leshasteto give you an indication.. it is said to be "impossible" to port it to android or the ipad20:14
leshasteinfinity: apparently not20:14
infinityNeither Android nor iOS provide a full stdc.20:14
infinity(And there's also the question of at what "level" people are referring to porting it.  As an "app", it would need to be Javaish for Android, and ObjC for iOS)20:15
leshastestdc == standard C compiler?20:15
infinityleshaste: Standard C library, actually.20:16
infinityleshaste: Anyhow, if it runs on a few diffrent unixes, on 64 and 32 bit, on big and little endian, and on Win32 to boot, I'd posit that it's incredibly portable C.20:17
infinityleshaste: But, all of those still require a proper libc to be present.20:18
leshasteyou know I am not sure what  (la)tex is written in.. it used to be in WEB20:19
leshaste"nt20:20
leshasteThe original source code for the current TeX software is written in WEB, a mixture of documentation written in TeX and a Pascal subset in order to ensure portability"20:20
leshaste". As a result, TeX has been ported to almost all operating systems, usually by using the web2c program to convert the source code into C instead of directly compiling the Pascal code."20:20
leshastewell there you go :)20:20
infinityYeah.  Hence, C in the end. :)20:20
leshasteinfinity: http://forum.xda-developers.com/showthread.php?t=1299962 :)20:23
leshasteinfinity: maybe have glibc just made the job a whole lot easier20:25
infinityleshaste: Err, when I talk about "porting to Android", I refer to running things on consumer devices.20:25
infinityleshaste: Obviously people can do whatever crazy they want on their own images and builds.20:25
leshasteinfinity: yes fair enough :)20:25
infinityleshaste: (Since, yes, it's just Linux at the syscall layer, mostly)20:25
leshasteinfinity:  I wonder what the best route would be to port texlive20:26
infinityWell, what's the goal?20:27
infinityIf it's just to say "I run texline on an Android kernel", I can do that right now, in about 20 seconds.20:27
infinityIf it's to say "I can install texlive bits and use them on a phone with a factory image", that's a whole different ball of wax.20:27
leshasteinfinity:  it is to have latex working on an android tablet20:28
leshasteinfinity: it's a silly idea on a phone :)20:28
infinityleshaste: If it's rooted, then you just need to build everything it depends on, and install it.  Or, just build is all statically and install it.20:28
infinityleshaste: If it's not "rooted" (ie: a pure factory image), well.  I suspect there's no real solution.20:29
leshasteinfinity: why couldn't you make an app?20:29
leshasteinfinity: there is NDK for example20:29
leshastebut I am not against rooting in any case :)20:30
infinityDo they actually let app developers live outside dalvik now?20:30
leshasteinfinity: sort of http://developer.android.com/sdk/ndk/index.html20:30
infinityIf so, then I suppose you could do so.  But apps sort of imply also having a UI of some sort.20:30
leshasteinfinity: sure you need an editor too20:30
leshasteinfinity: there actually is already one20:30
leshasteverbtex20:30
leshastejust no backend :)20:30
infinityNo idea if this ndk would let you, say, build something statically against another libc (might break their pseudo-VM model there), but hey, worth having fun with.20:32
infinityAlso, wildly out of scope for this *Ubuntu* ARM channel. :)20:32
leshasteI have no idea either.. it must be hard20:32
leshasteas lots of people say they want it20:32
leshasteand no one has it :)20:32
leshasteoh yes.. the other route is to chroot ubuntu arm20:33
leshastewhich is why I am here :)20:33
leshasteare there any nice docs on getting ubuntu arm to work in chroot on android?20:33
leshasteinfinity: unless you think that is also crazy :)20:36
infinityleshaste: A chroot should kinda just work?20:36
infinityleshaste: Not sure what docs would be needed.20:36
GrueMasterleshaste: Kind of out of our scope, but I'm sure you can use our core image as a base.20:37
leshasteok thanks20:37
leshastehttp://www.youtube.com/watch?v=MErL7FslBjU looks fun :)20:37
infinityleshaste: eg, download ubuntu-core, set up /etc/resolv.conf to point at something useful, chroot in.20:37
leshasteinfinity: thanks.. I think I will give this a go as it looks like a simple and almost sane solution20:38
julien___salut20:52
julien___il y a quelqu'un ?20:52
julien___allo ?20:57
infinityjulien___: Nous parlons Anglais içi.21:10
julien___infinity: sorry21:13
julien___know you linux4tegra ?21:14
julien___do you know *21:16
julien___sorry for my bad english21:16
julien___nobody can help me21:22
julien___??21:23
infinityjulien___: Sorry, I don't know a whole bunch about linux4tegra.  And I'm not entirely sure how it relates to an Ubuntu channel?21:24
infinity(Well, except that l4t is based on Ubuntu 11.04)21:25
neelsFYI, http://releases.linaro.org/images/11.12/oneiric/nano/beagle-nano.img.gz made my day. it just works! :D21:27
julien___i 'm jsute searching the image kernel for compiling ubuntu 11.04 on my toshiba folio 10021:27
julien___http://developer.nvidia.com/linux-tegra21:29
julien___it's written here we can download that but i don't find them21:29
julien___please help me21:30
infinityjulien___: Not sure how much help we can be here.  I don't think any of us own or hack on Folio 100s.21:30
infinityjulien___: You could try our AC100 netbook images and see if they somehow magically work on your tablet, but I highly doubt it.21:30
julien___that don't work21:31
infinityhttps://wiki.ubuntu.com/ARM/TEGRA/AC10021:31
julien___but if you can help me just at finding the kernel in the site of nvidia ,21:31
infinityYeah, well, if that doesn't work, I'm not sure what help we can be.  Without the hardware, I can't say much as to how to mess with it.21:31
infinityjulien___: nvidia doesn't distribute kernels for each device (or for any devices, I suspect).21:32
infinityjulien___: But you can re-use the Android kernel that shipped with the tablet.21:32
julien___yes but it's says they do21:32
julien___but i can't find21:32
julien___http://developer.nvidia.com/linux-tegra21:33
julien___look at system requirdment21:33
infinityjulien___: And directly below that are the driver packages they speak of.21:34
julien___but this is not kernel source ?21:34
infinityjulien___: That said, there's still no gurantees that any of their reference kernels will boot on your device.21:35
julien___but i'm determinated to try21:35
infinityKay.  Well, I'm not sure we're the right people to ask about it. :P21:35
julien___I had make 3or4 irc chanel all people says me that ;)21:36
infinityProbably because none of those people (A) work for nvidia, or (B) are working with the device you own. :/21:37
infinitySo, you get to be a pioneer.21:37
julien___^^21:37
julien___i think21:37
julien___so, you say the driver package is the kernel source ?21:38
infinityI didn't say that, and I haven't downloaded one to look.21:38
infinityThey claim it contains kernel *images*, not source.21:38
infinityBut then again, to satisfy the GPL, there's likely a readme in it that tells you were to get the source.21:38
infinityOne would hope.21:38
infinityMaybe.21:38
julien___so i can't compil that ?21:38
infinityDownload it and check it out?  I know as much as you do.21:39
julien___i have downloaded21:41
julien___but i don't have .h or.c file21:41
julien___infinity: no ideas ?21:51
infinityjulien___: Not so much, no.  Sorry, rather busy here with my own work.21:56
julien___infinity: ok :(22:01
=== zumbi_ is now known as Guest45012
julien___infinity: can you say me what are the source liste for ubuntu 11.04 arm please i will try an upgrade22:10
infinityhttp://ports.ubuntu.com/ubuntu-ports natty main universe restricted multiverse22:14
infinityAnd then natty-security and natty-updates as well.22:14
julien___i should change this before make do-release-upgrade22:21
julien___infinity: ?22:21
GrueMasterjulien___: We really aren't in much of a position to help with this as it is not one of our built distributions.  We can offer package support, but beyond that, we don't know how the image is assembled.22:25
GrueMasterHaving said that, i am now pulling it down to see what they have.22:25
julien___escuse me i'm french and i don't understand all you say22:28
julien___sorry GrueMaster22:28
GrueMasterOk, having looked at the base system, if you want the source, add "deb-src http://ports.ubuntu.com/ubuntu-ports natty main universe" to the /etc/apt/sources.list.22:28
julien___you think it's that work if i do an upgrade ?22:29
julien___you think  that's work if i do an upgrade ?22:30
GrueMasterI see you are looking to run on the Toshiba Folio 100.  This is not a platform we support, sadly.22:31
julien___why not ?22:31
julien___i understand22:32
julien___now i am on the 10.1022:32
julien___and a upgrade should be possible22:32
julien___no ? GrueMaster22:33

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