/srv/irclogs.ubuntu.com/2011/01/21/#ubuntu-arm.txt

=== ogra is now known as Guest96093
=== asac_ is now known as asac
=== Jack87 is now known as Jack87_Away
=== Jack87_Away is now known as Jack87
=== Jack87 is now known as Jack87_Away
=== ogra is now known as ogra_
=== ogra_ is now known as ogra
=== apachelogger is now known as releaselogger
* ogra points at http://cdimage.ubuntu.com/ubuntu-netbook/daily-preinstalled/ and dances12:09
sveinseHave anyone any experience with PulseAudio on any omap target (outside of X11)?12:16
sveinseI'm having troubles starting it12:16
=== marvin24_ is now known as marvin24
rsalvetisveinse: well, we're using it for both beagle and panda12:44
sveinsefrom X11 then?12:45
rsalvetifor panda you just need to update to latest kernel available at updates12:45
rsalvetisveinse: the daemon is not started at x1112:45
sveinseok. when and how?12:45
rsalvetihm, ok, it's configured and started per user session12:48
rsalvetiyou have the init script but it's not used12:48
rsalvetisveinse: how are you trying to load it12:48
rsalveti?12:48
sveinsersalveti: That my Q as well. I have no idea how I should do it, or how Ubuntu wants me to start it12:50
sveinsersalveti: But I do have problems manually (command line) start PA, because it stop at some ALSA enumeation which seems to be off12:51
rsalvetiwhich board?12:52
sveinseCustom HW, based on OMAP3530 with custom 8ch audio chip. It's fully possible that our ALSA driver has bugs.12:53
sveinseHowever cmdline ALSA playback works, while PA wont start12:53
sveinsersalveti: What happens if you run (as unprivileged user) pulseaudio --daemonize on any omap target you might have?12:55
sveinseBecause that is the recommended way to start PA as user according to the PA docs12:56
rsalvetijust a sec12:56
sveinsersalveti: You need to out of X11 I think12:59
rsalvetiyup, np12:59
sveinseok13:00
sveinseWhat happens if you run:13:01
sveinsestrace -e trace=open -f -o strace.log pulseaudio13:01
sveinsecat strace.log |grep /etc/pulse13:01
sveinse2391  open("/etc/pulse/daemon.conf", O_RDONLY|O_LARGEFILE) = 313:02
sveinse2391  open("/etc/pulse/default.pa", O_RDONLY|O_LARGEFILE) = 813:02
sveinseIt shouldn't read daemon.conf when running as unprivileged user.... It should read client.conf instead13:02
* rsalveti booting his panda in text mode only13:06
rsalvetisveinse: pulseaudio --daemonize works fine at panda13:08
rsalvetiat least it seems to be running13:08
sveinsegood13:08
sveinsekill it and try the strace, if you please13:08
rsalvetisure13:09
rsalvetiyup, also reading daemon.conf and default.pa13:10
sveinseHmm. That could be a bug -- or an intended feature13:10
rsalvetiprobably a feature13:10
rsalvetimaybe it first try to load the system configuration, then load the user one13:11
rsalvetias default13:11
sveinsestrange. conflicts with PA docs at least13:11
rsalvetihm13:11
rsalvetipulseaudio --dump-conf13:12
rsalvetiyou'll see that it loads the daemon.conf13:12
sveinseAt least you helped me confirm that this is not only my system, so thanks!13:12
rsalveti~/.pulse/daemon.conf, /etc/pulse/daemon.conf: configuration settings for the PulseAudio daemon. If the version in the user's home directory does not exist the global configuration file is loaded. See pulse-daemon.conf(5) for13:12
rsalveti       more information.13:12
rsalvetifrom man page13:13
sveinseyeah. Check out man pulse-client.conf   When is this loaded then? ;)13:14
sveinseNo point in the file if it doesn't load the config IMHO13:14
rsalvetimaybe just loaded by pulse clients13:15
rsalvetiand not the daemon itself13:15
sveinseperhaps. at least it seems to be consistent with host (amd64) maverick behaviour13:15
rsalvetiyup, cames from libpulse0 package13:15
sveinseAt least I'm getting somewhere, so thanks rsalveti!13:17
sveinse..now to trace the real cause of pulseaudio refusal to start13:18
rsalvetiprobably related with the audio config file for your board13:20
rsalvetiat least this was what was breaking for panda13:20
sveinseI see PA reports wrong samplerate and channels when detecting the ALSA devices.13:21
sveinsePerhaps there are some sample-info metadata missing from the driver13:21
rsalveticould be too13:21
sveinsedo you know of a way to use any alsa tool to list the ALSA cards and their properties?13:22
rsalvetiI think there is something from alsa-utils13:29
sveinsewell you have alsactl, but it doesn't list things like #channels and other specs, just the sound card's name13:32
rsalvetiogra: maybe you know that, as you configured the omap 4 board file13:33
rsalvetiprobably dump the boards and the mixers13:33
rsalvetiI'm not remembering now13:33
* ogra reads backlog13:33
rsalvetiogra: just how to dump the alsa card configuration13:34
ograurghm i dont remember13:34
ograsomething with alsactl13:34
rsalvetimaybe you give alsactl store and then looked at the alsa.state file13:35
ograi think there is infor in the sounddevices omap4 bug13:35
rsalvetisorry, asound.state13:35
* sveinse searching LP13:39
sveinseogra: bug #637947 ?13:40
ubot2Launchpad bug 637947 in linux-ti-omap4 "no sound devices on current ES2.0 boards" [High,Fix released] https://launchpad.net/bugs/63794713:41
ograsveinse, yeah, that should have several ways of getting alsa infos13:41
sveinsethanks13:44
ograrsalveti, seen my comment above ? we have images :)13:45
rsalvetiogra: nops, cool13:46
rsalvetiawesome, even for omap313:46
ograyep13:46
rsalvetiogra: just missing manifest for omap313:46
ograyeah13:46
* rsalveti downloading them13:46
ograshouldnt be different from omap4 though13:46
ograapart from kernel13:47
rsalvetiyup13:48
rsalvetibut will fire it up at my xm13:48
ograwow13:53
ograwe should pull libreoffice back into our images ... 472M !!13:53
ograso much space !!!13:53
rsalvetiouch13:57
guerbyrsalveti, some update on: https://bugs.launchpad.net/ubuntu/+source/linux-ti-omap4/+bug/69037014:42
ubot2Launchpad bug 690370 in linux-ti-omap4 "Strange out of memory on pandaboard" [Undecided,New]14:42
guerbyrsalveti, I tried Robert Nelson kernel but without args I'm back to 512MB RAM14:42
guerbyrcn-ee, hi :) ^14:43
guerbyrcn-ee, could you provide me with your exact /proc/cmdline?14:44
guerbyrcn-ee, mine is now "text ro root=UUID=b5d2dfb1-270c-4966-abe6-dfe7a2a17efd console=ttyO2,115200n8" but when I boot I have only 490MB of RAM14:45
guerbyok now I get a random MAC again at each boot14:54
vstehle-laptopguerby: you can use smsc95xx.macaddr=xxx to specify your mac I think.14:55
guerbyvstehle-laptop, not with rcn-ee kernel (that's what I was using before but with newer kernel it prevents network for working at all...)14:58
rsalvetivstehle: vstehle-laptop: call?15:04
rsalvetiguerby: I really think this is kind of related with the mem instability issues we have when using 1gb15:04
rsalvetithat cooloney was working last week15:05
rsalvetiwas kind of waiting his results before testing this again15:05
rsalvetiwe also posted on linux-omap to get more attention, but it seems nobody is actually looking at it15:05
rsalvetieven from ti15:05
rsalveti:-(15:05
guerbyrsalveti, I rebooted with the mem= option and i see 768M again (on rcn-ee kernel)15:05
rsalvetithat's expected, if you're using 2g/2g then you can also use 1gb15:06
rsalvetibut will probably get unexpected results15:06
guerbyrsalveti, I'm relaunching my GCC bootstrap test we'll see what happens15:06
guerbyrsalveti, anyway do you know what option is now replacing the former smsc95xx.macaddr=xx ?15:08
rsalvetiguerby: hm, need to check what patch got upstream regarding that15:12
=== JamieBennettt is now known as JamieBennett
guerbyrsalveti, yep this is going to annoy lots of users :)15:28
rsalvetiguerby: yup, as rcn-ee pointed at his latest comment, it seems that the only patch that got applied upstream is the one that you can fix the mac by using /etc/network/interfaces15:39
rsalvetiI believe the one that you can set as a module parameter was just a sauce from ti15:39
rsalvetihttp://kernel.ubuntu.com/git?p=ubuntu/ubuntu-maverick.git;a=commit;h=10f38b455e75b85f72e98786e5518cf7b032463415:41
rsalvetithis is the one that adds it15:41
* rsalveti is still trying to pull linux-2.6 upstream15:43
hrw1GB on panda... my dream15:46
rsalveti1gb and es 2.215:46
hrwI have es2.015:48
guerbyrsalveti, new kernel freezes way faster ...15:51
rsalveti=\15:52
guerbyrsalveti, I wonder what rcn-ee does to avoid those15:53
rsalvetimaybe because it's not the same env15:53
rsalvetibut I was able to get freezes like this with my both pandas15:54
rsalvetijust compiling big packages15:54
guerbyrsalveti, ah great! I'm not alone in the world :)15:55
hrw[95346.261871] smsc95xx 1-1.1:1.0: usb0: kevent 2 may have been dropped15:55
hrwI hate that message15:55
rsalvetiyeah, usual15:55
hrwon EA1 and A1 it is death message ;(15:55
rsalvetiboth xm and panda, as they are using the same driver15:55
hrwrsalveti: never had xm15:56
hrwI have bb: b7/c3/c3 and panda: ea1 (one of 10 which have es2.0 but gpios set as for es2.1)15:56
vstehle-laptophrw: maybe jayabharath can help you get your ea1 panda reworked ?16:00
hrwvstehle-laptop: this panda is fine16:00
hrwA1/ES2.1 has faster memory bus then EA1/ES2.0 one. but still <12MB/s from usbhdd16:05
hrwTI: please fix your drivers16:05
rsalveti:-)16:08
hrwwith omap3 musb-hcd was hmm... quality. omap4 shows that usb host controllers are still not strong in TI16:09
hrwsomeone knows good memspeed test?16:09
sebjanrsalveti, guerby: the patch for the smsc95xx.macaddr parameter has been integrated into the natty kernel for omap416:17
rsalvetisebjan: yup, but he's currently trying upstream16:17
guerbysebjan, ok thx16:35
hrwhave a nice weekend16:36
=== Jack87_Away is now known as Jack87
Homefix1I have no hair left: I created ubuntu ubuntuArm image using rootstock for use on my mobile phone.Here is my tutorial http://forum.xda-developers.com/showthread.php?p=10584098#post10584098  I hade trouble with the terminal (no prompt) I know it has something to do with this "Can not write log, openpty() failed (/dev/pts not mounted?)" message when installing applications from the android18:35
Homefix1terminal were i start the chroot. Last week i asked the very same question. someone replied i have to MAKEDEV. I think that did it, i got my prompt back.( i have no ideea what i did,just used all the commands i could use etcstd,generic,update conlole etc. the problem is i cannot reproduce those results again. Every image i create i get no prompt.18:35
Homefix1Does the kernel i use upon first emulation with qemu have any thing to do with setting up dev/pts?18:36
rbelemHomefix1, mount -o bind /dev/ /chroot/mount/point/dev18:37
rbelemHomefix1, and inside chroot mount /dev/pts18:37
Homefix1how could i narrow down this "Can not write log, openpty() failed (/dev/pts not mounted?)" because terminal wont work if system cannot write to dev/pts18:37
=== Jack87 is now known as Jack87_Away
rsalvetiogra: GrueMaster: it seems the omap 3 image is basically the rootfs18:44
rsalvetithere are no other partition, like the one used to boot it18:44
GrueMasterIt built?  I had an email saying it failed.18:45
rsalvetiGrueMaster: ogra said in the irc that we had one for today18:45
rsalvetialso on the release status18:45
GrueMasterHadn't read all the backscroll yet.  My bad.18:45
rsalvetiGrueMaster: happy testing :-)18:45
GrueMastergrumble.18:46
Homefix1rbelen: thnks try it18:46
rsalvetiand I believe omap 4 needs the new x-loader18:47
rsalvetiwell, it's still working, but probably with wrong clocks and etc18:48
Homefix1rbelen wen i try mount /dev/pts i get "none already mounted or /dev/pts busy mount: according to fstab,none is already mounted"18:48
Homefix1i wish some one had a minut to download my image and take a look for themselves http://www.megaupload.com/?d=SJY6ZB5818:50
rsalvetiurgh, trying to access beyond the device18:51
rsalvetiand one error inside jasper_growroot18:52
rsalvetiline 57: /dev/mmcbl0p: bad variable name18:52
rsalvetihehe, both probably broken18:52
Homefix1I use the same chroot scripts for both images (one that works and the million that dont). the prob has to  be in the image18:53
rsalvetiGrueMaster: can you also try and confirm for me?18:53
rsalvetijust to be sure, as my sd card reader seems to be giving some unexpected results18:53
GrueMasterrsalveti: Downloading images now.  Will take ~20 minutes.18:53
rsalveticool, that's fine18:54
rsalvetiif you just give file to the omap3 image you'll probably get only an ext3 fs18:54
Homefix1rbelem: out of the 5 scripts (bootubuntu,fsrw,mountonly,ubuntu.sh,unionfs) here: http://forum.xda-developers.com/showthread.php?p=10584098#post10584098 (all the scripts are opened for viewing here).Where would i place "mount -o bind /dev/ /chroot/mount/point/dev in those scripts? and thanks (and by the way my images are karmic)19:01
rbelemchecking19:06
rbelemHomefix1, in bootubuntu before mount -t devpts devpts $mnt/dev/pts19:09
Homefix1try it you the ....person19:09
sveinseI'm running rootstock a lot, and I'm considering putting together my own local apt cache/mirror. Now, what's the easiest way to get hold of the debs rootstock is downloading?19:16
rbelemsveinse, using approx19:19
GrueMastersveinse: I have my own mirror, and I fount that using a combination of ubumirror and apt-mirror works best for me.  apt-mirror allows me to specify the specific arch & release, and I can fine tune ubumirror to pick up the .udeb files and other bits.19:20
sveinseGrueMaster: Do you mirror all of armel, or have you picked out specific packages?19:23
Homefix1rbelem: no change, I have one working without the modifications to the script. I cannot reproduce the same conditions to create another, try number of times with rootstock, and with the project rootstock script, no sucsess. the image that i got to work last week i think was fixed using MAKEDEV upon ogra's request. But cant make it happen again what am i doing wrong.IT WORKED ONCE ARGGGGGGG.Im19:23
Homefix1so frustrated but i love it haha.19:23
rbelem:-)19:23
GrueMastersveinse: I mirror all of armel, but only back to Lucid.  Here is the apt-mirror config.  http://paste.ubuntu.com/556629/19:24
rbelemHomefix1, in general i use the mount -o bind ... and it works fine19:24
GrueMastersveinse: Here is my ubumirror.conf.  http://paste.ubuntu.com/556631/19:25
sveinseGrueMaster: Thanks. What the size of one version (e.g. Maverick) for armel?19:25
GrueMasterWell, it is a mirror, so every version is in the same location.  My entire mirror is 267G, but that is everything from lucid forward, including source files, .udeb files, and netboot images.19:26
GrueMasterNot sure how much just maverick would be, but I'd expect it to be ~1/3 of this.19:27
sveinseok, this would be too large for me at this point19:28
Homefix1rbelem:cant figure out were to go next to see why one image sees /dev/pts and the other doesnt.19:28
* sveinse is wondering if apt-mirror and/or ubumirror can be configured for specific packages only... RTFM19:28
GrueMasterLike I said, I get everything.  Main, Universe, Multiverse, Restricted, Updates, Proposed, Backports.  Everything.19:29
sveinseOh, yes, true19:29
GrueMasterI think a mirror of Maverick Main w/o source would be around 20-30M19:29
GrueMasterI mean G19:29
StevenKFor one arch + all, yes.19:30
Homefix1rbelem: whats funny is on the noprompt image i cannot create folders on the desktop either19:31
Homefix1or any other image i make except the one i was lucky enough to make thank god i have that.19:31
Homefix1rbelem : .....to fiddle with, after all why would you want ubuntu on your phone anyway. just kidding in my mind who wouldnt19:33
rbelemHomefix1, i really want it on my phone19:35
rbelemHomefix1, imagine an android ui on top of an ubuntu base :-)19:36
Homefix1Ha Haaaa19:36
rbelemHomefix1, soon we will have plasma-mobile19:37
rbelemcurrently it is technology preview19:37
Homefix1rbelem: just need bigger screen19:38
Homefix1rbelem dont no how wife sees here little palm pixi screen19:39
GrueMasterrsalveti: omap image is single partition only.  Bah.19:40
GrueMastercan't test it anyway.  ENOHW19:40
GrueMasterpanda image looks promising.  Flashing now.19:40
GrueMasterBrrr.  65f/18c in my office.  Man, I sometimes miss testing on x86/amd64 systems.  5 arm platforms don't generate enough heat.19:44
Homefix1rbelem my working image: has 0 and 1 in the dev/pts folder non working image has only a 0, how can i get the 1 in there ?19:53
rbelemHomefix1, brb19:55
=== releaselogger is now known as apachelogger
Homefix1rbelem: k20:01
rsalvetiGrueMaster: haha20:21
rbelemHomefix1, umount the current /dev/pts20:31
* rsalveti eow, have a nice weekend20:31
Homefix1hold on.....20:31
rbelemHomefix1, go out of chroot20:31
rbelemHomefix1, mount -o bind /dev /path/to/chroot/dev20:31
rbelemHomefix1, chroot again20:31
rbelemHomefix1, mount /dev/pts20:31
Homefix1gotta change imiges takes a sec20:32
rbelemHomefix1, check if it works20:32
GrueMasteromap4 image resize is failing on one of my 16G drives. Hmmm.20:32
Homefix1rbelem: manual unmount or take referance out of bootubuntu?20:33
rbelemHomefix1, go manual to see if it works20:33
Homefix1k20:33
GrueMasterogra: jasper_growroot: export:  Line 57: /dev/mmcblkop: bad variable name20:34
rsalvetiyup, same as mine20:35
Homefix1rbel: sorry for being a noooob upon "unmount /dev/pts" i get bash: unmount command not found20:37
Homefix1rbel sorry its umount20:48
Homefix1rbel im a knukle i dont know path to chroot is it in my scripts at: http://forum.xda-developers.com/showthread.php?p=10584098#post1058409820:59
Homefix1rbel could ya still help me im not a lost cause: i think it may work if i can figure out mount point and path to chroot how do i find out the location it must be in the scripts no?21:10
Homefix1Could this be the path to chroot "/data/local/ubuntu" ?21:16
Homefix1coul any one look at these: http://forum.xda-developers.com/showthread.php?p=10584098#post10584098" and tell me path to chroot? thnx21:55
sveinseAny of you happen to know an easy way of downloading the armel debs and its dependencies for, say, ubuntu-minimal -- preferably downloaded from host (i.e. non armel machine)23:05
sveinseone way I can think of is --copy-package-cache in rootstock, but I'd hoped it could be done more, uhm, natively23:08

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