[00:41] <hedz09> Not 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]"
[13:39] <black_puppydog> hey all, just wondering how to "import some music" when running the core apps on the desktop.
[13:39] <black_puppydog> i suspect there should be some way to open the toolbar and there I should find settings or such?
[13:40] <black_puppydog> or where should I put my music to be found?
[13:53] <hedz09> Hey guys, I almost can successfully boot but I'm getting errors after run-init executes in the shell script: http://pastebin.com/N35WJH98
[14:26] <ogra_> hedz09, upstart wants a proper console device, try to experiment with the console= options
[14:27] <ogra_> (i would take a look at a "normal" ubuntu install for the BBB and check the kernel config and commandline this uses)
[14:28] <ogra_> oh, wait
[14:28] <ogra_> line 509 clearly shows you booted fine
[14:29] <ogra_> but something is wrong with your android container
[14:35] <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:41] <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=tty0
[14:41] <ogra_> s/are/arg/
[14:48] <hedz09> ogra_: 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>&1
[14:50] <ogra_> i'm pretty sure i did :)
[14:50] <ogra_> drop it and let ubuntu use the default
[14:51] <ogra_> rootmnt is /root by default ... you dont need to set anything for that
[14:51] <ogra_> they are all pre-set
[14:52] <ogra_> ugh, and where does qemu=1 come from
[14:52] <ogra_> that will definitely break
[14:53] <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/mmcblk0p3
[14:53] <ogra_> hedz09, ^^ try this as kernel commandline ... without any changes
[14:54] <ogra_> (no idea where all these massively wrong options come from)
[15:02] <hedz09> ogra_: 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:03] <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 work
[16:37] <hedz09> ogra_: 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:40] <ogra_> hedz09, well, it goes much further already
[16:40] <ogra_> (even starts udev)
[16:42] <ogra_> hedz09, so it seems to boot fine now, but can not find the container root in /system
[16:47] <bluenemo> hi 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:48] <ogra_> /dev/loop0                      2.0G  1.4G  476M  75% /
[16:48] <hedz09> ogra_: would it be a problem with fstab?
[16:48] <ogra_> hedz09, no, fstab is created by the initrd during boot
[16:49] <ogra_> bluenemo, ubuntu will use around 2-3G for the system
[16:49] <ogra_> hedz09, and /system is a bind mount that is also created by the initrd
[16:50] <bluenemo> ah 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:53] <ogra_> well, the best supported device is the nexus4 ... next to that the nexus7 and well ... roughly supported is the nexus 10 currently
[16: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 etc
[16:55] <bluenemo> ah ok, I was already looking for the nexus 10. is there a currently working or not working list for it
[16:55] <bluenemo> ?
[16:56] <ogra_> not sure, i know there was one, but i am not sure it was kept up to date ... popey might know
[16:58] <bluenemo> I 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] <bluenemo> mir?
[16:59] <ogra_> yes
[16:59] <ogra_> the phone/tablet only uses Mir
[17:01] <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:02] <hedz09> ogra_: yes :)
[17:03] <ogra_> hedz09, so create an upstart job for ttyO0 in /etc/init ... that should get you a login prompt eventually
[17:03] <ogra_> then you can debug a little easier why the container does not start
[17:04] <ogra_> create a file /etc/init/ttyO0.conf
[17:04] <ogra_> with that content: http://paste.ubuntu.com/7142002/
[17:04] <ogra_> the user is phablet ... password too
[17:09] <hedz09> ogra_: thanks, I was able to login.
[17:09] <ogra_> awesome
[17:09] <ogra_> so take a look if /system has content
[17:10] <ogra_> then there are /var/log/lxc/android.log and /var/log/upstart/lxc-android-config.log to take a look at
[17:11] <bluenemo> whats 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] <hedz09> ogra_: /system contains bin, boot, build.prop, etc, lib, lost+found, xbin
[17:11] <ogra_> and last but not least (only if /system is mounted) you can use /system/bin/logcat -d
[17:11] <ogra_> hedz09, ok, so the ubuntu side of things is fine
[17:11] <ogra_> seems to be an issue with your android side
[17:13] <hedz09> ogra_: android.log says repeatedly: lxc_start - failed to run the pre-start hooks for container 'android'. Failed to intialize the container
[17:13] <ogra_> bluenemo, shouldnt differ much from android
[17:14] <ogra_> hedz09, ls /android/system/boot/android-ramdisk.img
[17:14] <ogra_> does that fine exist ?
[17:14] <ogra_> *file
[17:15] <hedz09> ogra_:  yes, it does exist (also /var/log/upstart/lxc-android-config.log doesn't exist)
[17:15] <ogra_> file /android/system/boot/android-ramdisk.img
[17:16] <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:17] <hedz09> ogra_: yes it says that it's a gzip file
[17:17] <ogra_> (this is where pre-start extracts the ramdisk file to before firing up the lxc container
[17:17] <ogra_> )
[17:19] <hedz09> ogra_: 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_> ok
[17:20] <ogra_> then see with /system/bin/logcat -d wht android thinks
[17:23] <ogra_> hedz09, in any case, congrats ! ... your ubuntu runs at least :)
[17:27] <popey> ogra_: missed bluenemo - the nexus status url in the /topic has status of nexus 10
[17:28] <ogra_> ah, well, ext time i know :)
[17:28] <ogra_> *next
[17:32] <bluenemo> there 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 page
[17:32] <ogra_> that decision was reverted for the N10
[17:33] <ogra_> N10 is still (semi)suppported
[17:33] <bluenemo> ah ok thank you
[17:40] <hedz09> ogra_: it says -bash: /system/bin/logcat: no such file or directory
[17:40] <hedz09> ogra_: thanks :). The logcat file does exist though :/
[17:55] <ogra_> hedz09, do you have udev rules for the beaglebone ?
[17:58] <ogra_> hedz09, you want a /usr/lib/lxc-android-config/70-beagleboneblack.rules file with the right rules in it
[17:58] <ogra_> (there should be hints how to create this in the porting guide)
[17:58]  * ogra_ has to go now 
[17:59] <hedz09> ogra_: 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  system
[18:00] <ogra_> hedz09, nothing, you leave the /sys mangling to android (it applies across the container boundaries) but need entries for the files in /dev
[18:01] <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 is
[18:01] <ogra_> s/in/is/
[18:02] <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] <ogra_> probably something is missing in your kernel config or so
[18:03] <ogra_> anyway, out now ...
[18:03] <hedz09> ogra_: ok, thanks again
[18:50] <robert1_> hi guys, how can i get my terminal-app back, or is it too complex, and a fresh install is easier?
[19:25] <hedz09> Hey 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?
[21:50] <duko> I've been trying to use the ubuntu touch updates
[21:51] <duko> but each time the phone restarts it shows that I need to get the same update
[21:52] <duko> so I've updated several times, but it seems the update isn't applied
[22:36] <Chux> Hi, I have a question. Is it possible to install Ubuntu for mobile on other then stated devoces, I have a Sony Xperia P
[22:36] <Chux> did anyone try and is it worth a shot ?