/srv/irclogs.ubuntu.com/2014/03/23/#ubuntu-touch.txt

hedz09Not sure if anyone is here on the weekend, but I'm finally getting very close to booting Ubuntu Touch :). It fails with a kernel panic - attempted to kill init. The previous message is "Usage: exec run-init [-d caps] [-c consoledev] /real-root /sbin/init [args]"00:41
=== ryukafal1 is now known as ryukafalz
=== kaxing__ is now known as kaxing
=== kaxing is now known as Guest35086
=== JoseeAntonioR is now known as jose
=== Zic_ is now known as Guest29924
=== Robbilie_ is now known as Robbilie
=== cul- is now known as cul_
=== qengho is now known as CardinalFang
=== CardinalFang is now known as qengho
=== jose- is now known as jose
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
black_puppydoghey all, just wondering how to "import some music" when running the core apps on the desktop.13:39
black_puppydogi suspect there should be some way to open the toolbar and there I should find settings or such?13:39
black_puppydogor where should I put my music to be found?13:40
=== chihchun_afk is now known as chihchun
hedz09Hey guys, I almost can successfully boot but I'm getting errors after run-init executes in the shell script: http://pastebin.com/N35WJH9813:53
=== hggdh_ is now known as hggdh
=== FuLgOrE is now known as Guest77871
=== Guest77871 is now known as FuLgOrE_
=== Kyle____ is now known as Eliz
=== chihchun is now known as chihchun_afk
ogra_hedz09, upstart wants a proper console device, try to experiment with the console= options14:26
ogra_(i would take a look at a "normal" ubuntu install for the BBB and check the kernel config and commandline this uses)14:27
ogra_oh, wait14:28
ogra_line 509 clearly shows you booted fine14:28
ogra_but something is wrong with your android container14:29
ogra_hmm, in fact it doesnt look like run-init actually worked, else /root would have become /14:35
ogra_did you hack up the /init in the initrd ?14:35
=== chihchun_afk is now known as chihchun
ogra_hedz09, urgh ... didnt i tell you before to drop init= from the kernel cmdline ? please do so, this cant work ever ... also make the console= are point to an actual device ... instead of console=ttyO0,115200n8 you need: console=tty014:41
ogra_s/are/arg/14:41
hedz09ogra_: no you didn't mention about dropping init= from the kernel command line. I'll try out your suggestions. Also, what's the values of rootmnt and init typically when this runs: exec run-init ${rootmnt} ${init} <${rootmnt}/dev/console >${rootmnt}/dev/console 2>&114:48
ogra_i'm pretty sure i did :)14:50
ogra_drop it and let ubuntu use the default14:50
ogra_rootmnt is /root by default ... you dont need to set anything for that14:51
ogra_they are all pre-set14:51
ogra_ugh, and where does qemu=1 come from14:52
ogra_that will definitely break14:52
ogra_consoleblank=0 console=ttyO0,115200n8 androidboot.console=ttyO0 console=tty0 video=480x272-16@56 g_ffs.idVendor=0x18d1 g_ffs.idProduct=0x4e26 vt.global_cursor_default=0 datapart=/dev/mmcblk0p314:53
ogra_hedz09, ^^ try this as kernel commandline ... without any changes14:53
ogra_(no idea where all these massively wrong options come from)14:54
hedz09ogra_: I'm still new to porting, as you can see I'm still a bit unfamilar with the uEnv.txt setttings. I really appreciate the help you've been giving me.15:02
ogra_:)15:02
ogra_try the above and see how far you get with it (note that i'm also just guessing here based on what your pastebin has)15:03
ogra_but theoretically this should work15:03
=== chihchun is now known as chihchun_afk
=== chihchun_afk is now known as chihchun
=== chihchun is now known as chihchun_afk
hedz09ogra_: I tried but still no luck: http://pastebin.com/9pms04jA . I realized my android-ramdisk.img was the one from the CM build and not one the Ubuntu Touch creates, so I made this change as well but no luck.16:37
ogra_hedz09, well, it goes much further already16:40
ogra_(even starts udev)16:40
ogra_hedz09, so it seems to boot fine now, but can not find the container root in /system16:42
bluenemohi guys. i'd like to get a nexus 10 for installing ubuntu on it (good idea or better models i've missed?). i was wondering how much space the installation will require, and if I should get 16 or 32gb storage?16:47
ogra_/dev/loop0                      2.0G  1.4G  476M  75% /16:48
hedz09ogra_: would it be a problem with fstab?16:48
ogra_hedz09, no, fstab is created by the initrd during boot16:48
ogra_bluenemo, ubuntu will use around 2-3G for the system16:49
ogra_hedz09, and /system is a bind mount that is also created by the initrd16:49
bluenemoah wow ok. thats not to much then :) is there any 'recommended' tablet to buy around 10"? I just want it to run smooth (no games, but hd movies), and a long battery life would be great.16:50
ogra_well, the best supported device is the nexus4 ... next to that the nexus7 and well ... roughly supported is the nexus 10 currently16:53
ogra_other devices would need to use community ports ... most of them arent that far so you will likely have issues with parts of the HW not working etc16:53
bluenemoah ok, I was already looking for the nexus 10. is there a currently working or not working list for it16:55
bluenemo?16:55
ogra_not sure, i know there was one, but i am not sure it was kept up to date ... popey might know16:56
bluenemoI work as linux admin and was mostly to read books about linux on it (and maybe try some stuff right on the command line). if some stuff breaks I can usually fix it, although i'm more at home with datacenter applications than graphical user interface stuff. whats behind the touch interface btw, X or the new thing (what was it called..?)16:58
bluenemomir?16:58
ogra_yes16:59
ogra_the phone/tablet only uses Mir16:59
ogra_hedz09, are you connected via serial cable to the BBB ?17:01
ogra_(well, silly question, obviously you are capturing the boot messages there :P )17:01
hedz09ogra_: yes :)17:02
ogra_hedz09, so create an upstart job for ttyO0 in /etc/init ... that should get you a login prompt eventually17:03
ogra_then you can debug a little easier why the container does not start17:03
ogra_create a file /etc/init/ttyO0.conf17:04
ogra_with that content: http://paste.ubuntu.com/7142002/17:04
ogra_the user is phablet ... password too17:04
hedz09ogra_: thanks, I was able to login.17:09
ogra_awesome17:09
ogra_so take a look if /system has content17:09
ogra_then there are /var/log/lxc/android.log and /var/log/upstart/lxc-android-config.log to take a look at17:10
bluenemowhats the approx. battery life for a nexus 10 when using it 'normally' (wifi, browser, no games, a youtube vid once in a while)?17:11
hedz09ogra_: /system contains bin, boot, build.prop, etc, lib, lost+found, xbin17:11
ogra_and last but not least (only if /system is mounted) you can use /system/bin/logcat -d17:11
ogra_hedz09, ok, so the ubuntu side of things is fine17:11
ogra_seems to be an issue with your android side17:11
hedz09ogra_: android.log says repeatedly: lxc_start - failed to run the pre-start hooks for container 'android'. Failed to intialize the container17:13
ogra_bluenemo, shouldnt differ much from android17:13
ogra_hedz09, ls /android/system/boot/android-ramdisk.img17:14
ogra_does that fine exist ?17:14
ogra_*file17:14
hedz09ogra_:  yes, it does exist (also /var/log/upstart/lxc-android-config.log doesn't exist)17:15
ogra_file /android/system/boot/android-ramdisk.img17:15
ogra_does that tell you it is a gzip file ?17:16
ogra_also do you have a populated /var/lib/lxc/android/rootfs/ ?17:16
hedz09ogra_: yes it says that it's a gzip file17:17
ogra_(this is where pre-start extracts the ramdisk file to before firing up the lxc container17:17
ogra_)17:17
hedz09ogra_: I have to do"sudo su" before I can look at the contents of /var/lib/lxc/ (does this indicate anything?). And yes the rootfs directory is populated.17:19
ogra_no, thats normal .. sorry, i usually use adb which makes you root :)17:19
ogra_ok17:19
ogra_then see with /system/bin/logcat -d wht android thinks17:20
ogra_hedz09, in any case, congrats ! ... your ubuntu runs at least :)17:23
popeyogra_: missed bluenemo - the nexus status url in the /topic has status of nexus 1017:27
ogra_ah, well, ext time i know :)17:28
ogra_*next17:28
bluenemothere are a lot of posts like http://www.omgubuntu.co.uk/2014/01/ubuntu-touch-wont-support-nexus-5-will-drop-support-nexus-7-10 out there, does this mean that buying a 2012 nexus 10 via ebay now is a bad idea?17:32
ogra_bluenemo, see the channle topic ... there is a link to the nexus status page17:32
ogra_that decision was reverted for the N1017:32
ogra_N10 is still (semi)suppported17:33
bluenemoah ok thank you17:33
hedz09ogra_: it says -bash: /system/bin/logcat: no such file or directory17:40
hedz09ogra_: thanks :). The logcat file does exist though :/17:40
=== vying is now known as Guest82019
ogra_hedz09, do you have udev rules for the beaglebone ?17:55
ogra_hedz09, you want a /usr/lib/lxc-android-config/70-beagleboneblack.rules file with the right rules in it17:58
ogra_(there should be hints how to create this in the porting guide)17:58
* ogra_ has to go now 17:58
hedz09ogra_: I do. I wasn't sure what to do with lines like this though in my uevent: /sys/devices/system/cpu/cpufreq ondemand/boostfreq   0664    system  system17:59
ogra_hedz09, nothing, you leave the /sys mangling to android (it applies across the container boundaries) but need entries for the files in /dev18:00
ogra_hedz09, so the first thing you should try to get working in logcat to get proper android logs, else it will be hard to find out what the issue is18:01
ogra_s/in/is/18:01
ogra_you need the /dev/alog/ devices for this, usually these are created by udev when parsig /lib/udev/rules.d/65-android.rules ...18:02
=== Guest47151 is now known as steev
ogra_probably something is missing in your kernel config or so18:02
ogra_anyway, out now ...18:03
hedz09ogra_: ok, thanks again18:03
=== chihchun_afk is now known as chihchun
=== _salem is now known as salem_
robert1_hi guys, how can i get my terminal-app back, or is it too complex, and a fresh install is easier?18:50
=== salem_ is now known as _salem
hedz09Hey guys,  it seems the android side is failing. I don't see any Ubuntu Touch UI yet either. Here's the dmesg output (if helpful): http://pastebin.com/YfThfxB2 Here's my rules file 70-beagleboneblack.rules: http://pastebin.com/. I haven't been able to get logcat working yet. Any thoughts?19:25
=== jackson is now known as Guest99380
=== Guest99380 is now known as Noskcaj
=== WebbyIT is now known as rpadovani
=== Guest29924 is now known as Zic
dukoI've been trying to use the ubuntu touch updates21:50
dukobut each time the phone restarts it shows that I need to get the same update21:51
dukoso I've updated several times, but it seems the update isn't applied21:52
=== Guest97515 is now known as dk
ChuxHi, I have a question. Is it possible to install Ubuntu for mobile on other then stated devoces, I have a Sony Xperia P22:36
Chuxdid anyone try and is it worth a shot ?22:36

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