/srv/irclogs.ubuntu.com/2010/12/01/#ubuntu-arm.txt

henry1Where can I get a binary Linaro toolchain so that I can put it anywhere I want?01:00
GrueMasterCheck on #linaro.  Someone there would know.01:06
GrueMasterGrrr.  A1 is a fail at this point.  Kernel oops on second boot, shortly after mounting rootfs.  http://paste.ubuntu.com/538505/01:12
GrueMasterogra: rsalveti:  ^^^01:12
=== rsalveti` is now known as rsalveti
=== amitk is now known as amitk-afk
=== amitk-afk is now known as amitk
=== hrw|gone is now known as hrw
hrwmorning07:54
sveinseHi guys. This is perhaps OT here, but I tried to cross compile Qt using the g++-arm-linux-gnueabi compiler from Maverick. The compilation failed, while the CodeSourcery gcc don't. The failure is "selected processor does not support Thumb mode `swp r4,r3,[r2]'". The compile options are set to "-march=armv7-a -mtune=cortex-a8 -mfloat-abi=softfp -mfpu=neon". I notice the CSL gcc is 4.4.1, while...12:16
sveinse...the Ubuntu gcc is 4.5.1.  Does this ring any bells to anyone?12:17
rsalvetihrw: ^12:21
hrwsveinse: can you report bug against gcc-4.5 and give me number?12:22
sveinsehrw: In whos bug system? Gcc or ubutu?12:24
hrwubuntu12:24
sveinsehrw: I could try recompiling using the 4.4 version to see if its related to some difference between the CSL and Ubuntu or if its related to 4.4. vs 4.512:25
dcordestmzt_g2root: regarding the custom netbook-launcher-efl session12:27
tmzt_g2rootyes12:28
tmzt_g2rootrsalveti: maybe #linaro ?12:28
dcordestmzt_g2root: I found descriptions on how to build a custom session in some ubuntu wiki. I was searching for how to customize the gnome panel as it is locked12:29
dcordestmzt_g2root: the problems I see with netbook on small screen touchscreen devices are only few12:29
tmzt_g2rootdcordes: the instructions didn't work for me, the gconf stuff didn't change anything12:29
tmzt_g2rootyeah, it's pretty nice. installing packagekit fixed software-center12:30
tmzt_g2rootit's a bit off the screen but mostly usable12:30
ogra_ac_tmzt_g2root, hrw is in both channels luckily (#linaro and here) ;)12:30
dcordestmzt_g2root: 1) off-screen areas in some programs (related to maximus) 2) small buttons, scroll bars, etc => problems navigating12:31
tmzt_g2rootdcordes: let's work on here https://github.com/tmzt/native-netbook we should be able to share everything between hd2 and androix on wvga ws12:31
ogra_ac_dcordes, to change the locked gnome-panel properly you would have to change and rebuild ubuntu-netbook-efl-default-settings12:32
dcordestmzt_g2root: that would be nice. but to keep in touch with upstream we should document our work in launchpad12:32
ogra_ac_all panel settings we do there are mandatory12:32
tmzt_g2rootdcordes: right, I'm just trying to collect scripts and stuff and then when I'm ready to do a package like ogra says I can just migrate that stuff12:33
tmzt_g2rootwe can put in on a ppa too, but I don't know if you have to be a developer for that12:33
tmzt_g2rootcan't put raw scripts on ppa though12:33
ogra_ac_currently you have to for armel only packages12:33
ogra_ac_ubuntu-netbook-efl-default-settings is arch all though12:33
ogra_ac_so for that package any ppa will do12:34
dcordestmzt_g2root: ... forgot an important point 3) on screen keyboard not available everywhere12:34
tmzt_g2rootogra_ac_: it will probably require changing launcher itself, we need kinetic scrolling and mtdev (finger width) support12:34
tmzt_g2rootdcordes: that might be an issue, it isn't for me with g2 though, but please solve it12:34
tmzt_g2rootI'm trying to get androix to send some events for soft keys on android12:34
ogra_ac_tmzt_g2root, well, then you have to wait until our armel PPA spec is implemented12:35
tmzt_g2rootI haven't decided how to handle them yet thouh12:35
ogra_ac_which wont happen before the alpha2 release i suspect12:35
tmzt_g2rootogra_ac_: okay, I'm putting together a repo on androix.org for now12:35
ogra_ac_but it will enable armel on all PPAs12:35
tmzt_g2rootthat would be good, especially if it could build for older architectures, but I don't expect that12:35
=== ogra_ac_ is now known as ogra_ac
ogra_acit will use the ubuntu defaults12:36
dcordestmzt_g2root: regarding on screen keyboard lack 3) https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/62605512:36
ubot2Launchpad bug 626055 in ubiquity (Ubuntu) "oem-config: make on-screen keyboard available (affects: 1) (heat: 40)" [Low,New]12:36
tmzt_g2rootmaybe we could do a small panel thing that just does indicators, no clue if they would work with efl though12:36
tmzt_g2rootwe could mix in illume and gnome, that would be confusing12:37
ogra_achave a look at ubiquity12:37
ogra_acit brings a minimal panel in maverick12:37
ogra_aci guess its not hard to rip the panel code out of it and build a standalone package12:37
tmzt_g2rootogra_ac: I need to ask you about remixes and policies, I'm trying to build something to run Ubuntu on top of Android, for now I'm calling it Native Netbook12:38
tmzt_g2rootyeah, uquity works on 2d?12:39
ogra_acsure12:39
tmzt_g2rootcool, we'll look at that then12:39
ogra_actmzt_g2root, mail trademarks@ubuntu.com, i dont know the exact policy12:40
dcordestmzt_g2root: small panel ? can you elaborate ?12:40
tmzt_g2rootdcordes: how do you find this stuff in lp?12:40
ogra_acmight be that you cant use the logos etc12:40
dcordestmzt_g2root: I enter my lp URI :)12:40
ogra_achttp://www.ubuntu.com/aboutus/trademarkpolicy12:41
tmzt_g2rootdcordes: I'm going to let you handle keyboard stuff :) but I'm sure I'll need it when people with nexus, etc. want to try it12:43
dcordestmzt_g2root: I don't have any android device, sorry.12:44
tmzt_g2rootdcordes: right, it's not an android issue though, it's a touchscreen issue12:44
tmzt_g2rootand you do have a leo12:44
tmzt_g2rootI would be using an osk in X, not androids12:45
dcordesI am using onboard , the standard ubuntu osk12:45
tmzt_g2rootcan't IME do what your bug 443986 says, pop up osk if the widget gets keyboard focus?12:46
ubot2Launchpad bug 443986 in onboard "RFE: Add option to automatically show and hide onboard (affects: 5) (dups: 1) (heat: 18)" [Undecided,New] https://launchpad.net/bugs/44398612:46
tmzt_g2rootI guess X really needs a flag to tell it if a physical keyboard is attaeched, or you would have to enumerate the Xi2 device list12:47
dcordestmzt_g2root: that would be nice12:48
dcordestmzt_g2root: what is IME ?12:48
tmzt_g2rootinput methods12:48
tmzt_g2rootit would require a gtk/gdk patch too I assume12:48
tmzt_g2rootbut at least there's a standard way to handle that12:48
dcordescan you append it in the bug ?12:48
tmzt_g2rootit's also possible openmoko had this on the gtk version a few versions back12:48
tmzt_g2rootand figure out oauth again? :)12:49
dcordescurrently openmokoe shr uses some efl osk keyboard12:49
tmzt_g2roothow do you add a project or distribution?12:49
tmzt_g2rootcurrently, I'm talking about the gtk version they had12:49
tmzt_g2rootthey also had the finger gtk theme12:49
dcordesright I remember12:50
tmzt_g2rootI've ping #xorg-devel about the Xi question12:50
tmzt_g2rootdcordes: have you tried getting any of the new 3d stuff to compile against bionic so it can use libgles_cm?12:50
dcordesmany touchscreen device owners would love such a feature in Xorg12:50
dcordesI have no clue about all the 3d stuff12:51
tmzt_g2rootit's one properties, PhysicalKeyboard or whatever12:51
tmzt_g2rootthat's why I'm sticking with efl at the moment12:51
tmzt_g2rootdcordes: https://wiki.kubuntu.org/X/Blueprints/Touchscreen/UDS-M12:52
tmzt_g2root that's not kubuntu specific, they just show up higher in google12:52
tmzt_g2rootogra_ac: what happened to the mobile channel? where did all the netbook stuff get moved too?12:53
dcordestmzt_g2root: ok. we might as well discuss TS things in #ubuntu-touch12:54
tmzt_g2rootI should just see if starting metacity fixes it, I don't think maximus is supposed to work standalone12:57
tmzt_g2rootif you have a working panel config I can help you push it to my git or whatever you have12:57
dcordestmzt_g2root: in launchpad we might create a 'project' 'ubuntu on small screen (& touch screen devices)'12:59
dcordestmzt_g2root: then we can have bugs like off screen windows, lack of osk affect it12:59
tmzt_g2rootWVGA Touchscreen ?12:59
dcordesthat would exclude vga devices and exotic resolutions12:59
tmzt_g2rootlike qvga?13:00
tmzt_g2rootyou need this for your kaiser :) ?13:00
tmzt_g2rootWVGA is a difficult case, most of the bugs will be height related and also apply to VGA13:00
dcordesQVGA screens are too small for any of this and the devices' other hw is too slow to run full ubuntu systems13:01
hrwin basement I have XGA 10" touchscreen device13:01
dcordesI think small screen is good. but what about the approach ?13:01
dcordesin general means13:01
tmzt_g2rootdefine small13:01
dcordesok max wvga13:01
tmzt_g2rootthis isn't for XGA or WXGA or 1024x600 there's plenty of coverage for that13:01
dcordesah true13:02
dcordesdidn't think of that13:02
dcordeswe can do smartphone & pda then ?13:02
dcordesit would cover phone functionalities13:02
ogra_actmzt_g2root, netbook (unity) is fully handled by the desktop team now (since unity merges both desktops)13:02
tmzt_g2rootwvga+ like the motorola's I would say, but that's waht 854x496 or so13:02
tmzt_g2rootogra_ac: is 2d/framebuffer still supported?13:02
ogra_acnot atm13:03
ogra_aconly with a std desktop as fallback13:03
tmzt_g2rootogra_ac: I don't have 3d support yet, I should be able to get 3d working but it might just be redirected rendering/AIGLX stuff13:03
dcordestmzt_g2root: know what let's just go device specific (ubuntu on hd2 & g2) if others want to hop on we can generalize later13:04
ogra_acdepends on your platform, there is no GLES support in unity yet13:04
tmzt_g2rootogra_ac: so I'm starting with netbook-efl, most of these problems will be unrelated to the acutal desktop, bugs in programs etc.13:04
tmzt_g2rootogra_ac: well, it's going to have to be GLES, so that's another reason to stick with 2d for now13:04
tmzt_g2rootdcordes: G2 won't have keyboard issues, the things we have in common are WVGA and Touchscreen13:05
dcordestmzt_g2root: ok I don't see a problem there13:05
ogra_acjust note that we might stop using the efl launcher in ubuntu (so support will rather have to be community based)13:06
tmzt_g2rootogra_ac: yeah, it will still be in natty or that's not known yet13:06
ogra_acwe wont remove the package from the archive13:07
ogra_acbut given that it will likely not be used by default anymore bugfixes and maintenance has to come from the community13:08
tmzt_g2rootI think the only thing we need to change in it is the scrolling issue for touchscreens13:08
tmzt_g2rootyeah, okay13:08
tmzt_g2rootdoes it have a maintainer or we need ubuntu developer for that? (not canoncial)13:09
dcordestmzt_g2root: how about "smallscreentouchscreen" project13:09
ogra_acwell, you can indeed work through a sponsor13:09
ogra_acbut for uploading to ubuntu you will need one13:09
tmzt_g2rootwhat is the project for? just tracking bugs against ubuntu that affect screenscreen touchscreens? I really think small is too vague13:10
dcordesyes to track bugs that affect our devices13:10
tmzt_g2rootas far as aspect, we really aren't going to support vga either because that would require massive chnages from what every laptop/netbook is now13:10
dcordesand maybe to upload non-sub-project-specific scripts/code later13:11
tmzt_g2rootwell, the packages, but those are all config stuff, I wouldn't be putting any system stuff there at all13:12
dcordesyes config etc13:12
tmzt_g2rootI mean like launcher defaults, maybe unity places stuff if we can switch to unity13:12
* ogra_ac is off for a while13:16
dcordestmzt_g2root: smartphonebuntu ? I think it is not neccessary for the project name to refelct the exact aims13:17
tmzt_g2rootno, read the trademark policy13:17
tmzt_g2rootwhich ogra linked to13:18
dcordesargh13:18
dcordessmartphone-remix13:18
tmzt_g2rootpossibly13:18
dcordesyou like it? any other idea ?13:18
tmzt_g2rootit13:19
tmzt_g2rootI'm looking for developer to create new on-screen keyboard with Input Method Editor. Similar to those available on mobile devices. Currently I'm using matchbox-keyboard but for my purpose I guess it's worth start from scratch.13:19
tmzt_g2rootoops13:19
tmzt_g2rootit seems to be what I'm trying to do13:19
dcordestmzt_g2root: https://launchpad.net/smartphone13:41
tmzt_g2rootcan you duplicate the ~lg bugs there?13:52
tmzt_g2rootlink them13:52
ogra_acGrueMaster, where is the bug for that and does cooloney already know (and work on it) ?14:04
dcordestmzt_g2root: I did already. check https://bugs.launchpad.net/smartphone14:09
tmzt_g2rootdcordes: I discussed the xinput problem, I think I can just add a property to the device by patching evdev, or in my case, in the server init14:10
tmzt_g2rootso it would show up when you do xinput list-props <id>14:10
tmzt_g2rootthere's already a "Device Enabled" property14:11
dcordestmzt_g2root: to which device ?14:12
tmzt_g2rootthen the IME just has to walk that and see if any are Physical && Enabled, and if so, not show the osk14:12
tmzt_g2rootto the keyboard device14:12
dcordesok14:12
tmzt_g2rootthen we patch evdev to handle the SW event that's created when you slide the keyboard14:12
tmzt_g2rootfor you, when you plug your usb keyboard the same thing happens14:13
tmzt_g2rootand for me, I get the value from android and set the priv myself14:13
dcordesis this a global keyboard presence detection mechanism ?14:14
tmzt_g2rootyeah14:14
dcordespatching evdev - is this specific to the device (driver) ?14:14
tmzt_g2rootbut onscreen keyboards and x2x won't register that property14:14
tmzt_g2rootno, evdev already detects if it it's a keyboard, it will be wrong for uinput keyboards so we may have to put it in udev or something else14:15
tmzt_g2rootlike hal did, but it didn't propogate it14:15
dcordesare there evdev / Xorg bugtrackers ?14:15
tmzt_g2rootthere are, but I'll propose it to the list later, we can just put it on my github for now14:16
dcordesyouz should publish the approach and gather interested people's attention14:16
tmzt_g2rootI already have half of xorg cloned14:16
dcordesok bugtracker is nice14:16
* ogra_ac would recommend asking in #ubuntu-x14:16
tmzt_g2rootogra_ac: is that supposed to be public? I was having an issue with it14:16
ogra_acsure thats public14:16
tmzt_g2rootnever mind14:16
tmzt_g2rootweird14:16
dcordesogra_ac: as tmzt_g2root's approach sounds to me it will be better to have it a global X thing and not discuss it distro internal14:17
ogra_acsure14:17
tmzt_g2rootogra_ac: I pinged daniels in #xorg-devel he agreed with the property thing, and reminded me of Device Enabled14:17
dcordesthen again there might be many ubuntu developers interested in supporting it14:17
ogra_acstill you should talk to the ubuntu X force14:17
tmzt_g2rootI'm sure acpi devices already have something like that14:18
tmzt_g2rootright14:18
tmzt_g2roottouchpads I mean14:18
dcordesogra_ac: soon as it is on Xorg list we should refer to it there14:18
dcordesI have to run catch you guys around14:19
ograsigh14:53
ograso i think the kernel panic on boot is run-init failing14:53
ogra /init: exec: line 331: run-init: Unknown error 1771885214:54
* ogra wonders if that toolchain related14:54
ograGrueMaster, rsalveti, bug 68368314:58
ubot2Launchpad bug 683683 in klibc (Ubuntu) "run-init on omap4 in natty dies with "run-init: Unknown error 17718852" (affects: 1) (heat: 8)" [High,New] https://launchpad.net/bugs/68368314:58
=== zyga is now known as zyga-food
ograNCommander, so apparently klibc wasnt rebuilt yet in natty15:12
ograGrueMaster, btw, the error is easily visible if you dont tinker with serial consoles, it gets clearly printed on the screen15:13
RobotGuyWe are basing our PickleJar Linux on Ubuntu Maverick. :D15:13
RobotGuyPickleJar Linux is the distro for our Pico Node project.15:14
ograRobotGuy, great to hear15:16
RobotGuyWe have an expansion board for BeagleBoard-xM in the design process now and hope to have the first few boards soon. Find out more at http://www.picklejar.org15:17
RobotGuyOur kernel version is 2.6.35.415:18
ograhrm, run-init is 93 LOC ... of which 40 are license text15:19
* ogra doesnt see what could be wrong in there15:20
NCommanderogra: so no changes rebuild needed maybe?15:21
ogranot sure15:22
ogralook at the code, probably you see something obvious15:22
ograi surely dont15:22
ograhmm runinitlib.c seems to define some glibc stuff at the top15:22
NCommanderogra: something is going hidiously wrongin run_init()15:29
ograwhy would it ?15:29
ograit didnt change15:30
NCommanderogra: I'm saying that's what happening, I don't know why, but the error message being printed out suggests that's where we are blowing up15:30
ograwell, but take a look at the code, probably you see something i dont15:30
NCommander        /* If run_init returns, something went wrong */15:30
NCommander        fprintf(stderr, "%s: %s: %s\n", program, error, strerror(errno));15:30
ograno, we are blowing up in line 88 already15:31
ograin run_init(realroot, console, init, initargs);15:31
ograwhich seems to come from runinitlib.c15:31
ograthrough run-init.h15:32
NCommanderright, run_init() is returning when it shouldn't e15:32
ograyes15:32
NCommanderthe execv() call is failing15:33
NCommanderonly place it can fail in this code and return a string of "Unknown error" I think15:34
ograwell, it could fail because it gets wrong args15:34
ograand the linaro bug says the errno is random15:34
ograso nothing to grab15:34
NCommanderwhich linaro bug?15:34
ogradid you read my bug ?15:35
NCommanderyeah, I did15:35
NCommanderI don't see anything from linaro15:35
NCommanderoh15:35
ograreload ?15:35
ogra:)15:35
* NCommander just hit refresh15:35
ograoh, i did too15:35
ograthere is a debian bug linked15:35
NCommanderDebug #33491715:35
NCommanderer15:35
NCommanderDebian bug #33491715:36
ubot2Debian bug 334917 in klibc "klibc barfs on m68k syscall interface" [Important,Open] http://bugs.debian.org/33491715:36
NCommandernice bug title15:36
RobotGuyDebug seems appropriate, somehow. :D :D15:36
NCommanderogra: looking at the debian bug, I think its unrelated simply because execve is a syscall and the first one is called directly. the ARM EABI syscall interface in klibc is correct else this would have blown up ages ago. So similar error, but I think unrelated causes15:38
GrueMasterogra: Ok I'm semi-awake.  What do you mean:  <ogra> GrueMaster, btw, the error is easily visible if you dont tinker with serial consoles, it gets clearly printed on the screen15:38
GrueMasterIt is not clearly visible on my screen.15:38
ograGrueMaster, you could have found it with the image from the 19th if you hadnt set up a serial console and just dropped splash from cmdline15:39
ograthats how i got it at least15:39
=== zyga-food is now known as zyga
ograit shows up right before the kernel panic (which it does because there is no rootfs)15:39
NCommanderogra: I'm looking at the linaro branch right now to see if anything is clear from that15:40
ograbranch ?15:40
ogrado they have a separate klibc branch from ubuntu ?15:40
GrueMasterSo then why doesn't it show up with serial console?15:41
GrueMasterThat doesn't make sense.15:41
NCommanderogra: they said in their bug that they have a branch to fix it15:41
ograNCommander, yes, for the linaro build tools issue that shows up too15:42
ograNCommander, (OSError: [Errno 2] No such file or directory from remove_binary_dir.py from _run_code from _run_module_as_main).15:42
ogranot related to to booting15:42
* ogra reboots with break=bottom15:47
ogralets take a look at the environment15:47
ograok15:49
ograexec run-init /root /sbin/init gets me the same error15:50
=== dmart__ is now known as dmart
NCommanderogra: any chance you can get gdbserver into the initramfs environment?16:04
* NCommander finally got enough coffee into his bloodstream to be lucid enough to think16:04
ogratry it ?16:04
NCommanderogra: your ahead of me on having things to test on :-). I'm still reading emails while drinking GrueBrew Coffee16:05
ograi dont have any things to test on16:05
ograi just added break=bottom to my cdmline16:06
ograyou need to write a hook and rebuild the initrd for getting your gdbserver included16:06
ograor for getting any other debug tool16:06
NCommanderogra: just copy it in somehow, its not that difficult16:08
NCommanderbut I'll get on it16:08
ogra??16:08
ogra"copy it in somehow" ?16:08
NCommanderogra: gdbserver is a tiny little stub binary16:09
NCommanderthen attach to it with a cross-debugger16:09
ograyou still need to re-roll the initrd16:10
ograso init=/bin/bash doesnt work either16:16
* ogra drops all bootarchs apart from root=16:17
ograargh16:18
ograbad idea ...16:18
* ogra beats jasper over the head16:18
GrueMasterSo it's a jasper issue?  I'm still reading emails and backscrolls.16:22
mellishey any idea how to get sound working on the beagle xm rev b16:22
GrueMasterthere is a rev b?  sigh.16:22
mellisyeah :(16:23
armin76lol16:23
mellisi dont think they fixed anything really16:24
GrueMasterno, but it is possible that something changed requiring an updated kernel...again.16:25
GrueMasterAre you running the stock maverick release image?16:25
ograGrueMaster, ??16:26
ograits a klibc issue16:27
ogranothing to do with jasper16:27
GrueMasterand I am not talking to you atm ogra.  Read the current thread.16:27
GrueMastermellis: ???16:27
mellissorry just went to get food16:38
mellisyeah i got the minimal image and installed ubuntu-desktop package over it16:38
GrueMasterno problem.16:39
GrueMasterminimal image?16:39
mellisalso called the demo image16:41
mellisi couldint get s-video to work on the preinstalled image16:41
davidmprpplague, have a look at: http://dmtechtalk.wordpress.com/2010/12/01/progress-on-an-arm-cluster-server-box/16:43
mellisyeah i got the demo image then installed ubuntu-desktop and the omap driveres on top16:43
davidmprpplague, it will fit nicely into a standard 19" rack cabinet16:43
GrueMasterIf this image is attached to the ubuntu repositories, try enabling maverick-proposed and updating.  I think there was a fix for audio in alsa-utils, but it may be only omap4 specific.16:44
mellisok i will try16:45
* prpplague looks16:47
prpplaguedavidm: right, i'm actually doing some with them on that16:47
mellishumm my webcam also wont work so could it be a kernal problem?16:49
hrwmellis: does it work with x86 box?16:51
mellisthe webcam yes16:52
sveinsehrw: I confirm problems cross compiling Qt for both gcc 4.4 and 4.5, so its related to some difference between the ubuntu cross compiler and the CSL. I'll file a bug.17:00
mellisand i cant find anything missing from my setup17:00
hrwsveinse: mention package versions for gcc 4.4/4.5 and version of Qt. if Qt is from nokia then give url please17:02
* hrw -> out17:02
=== hrw is now known as hrw|gone
ograhmm, that dist-upgrade of my chroot will take a while17:34
rsalvetiGrueMaster: lmbench has the wrong bin path, if you noticed18:04
rsalveticurrently the package delivers armv5tel-linux-gnu instead of armv7l-linux-gnu18:05
rsalvetithat's because the package path is decided during build time, and detected by a script during runtime18:05
GrueMasterhadn't gotten that far yet.  Any suggestions?18:05
rsalvetiand this package was built in an armv5 machine, while in karmic hehe :-)18:05
rsalveticopying the files should be enough, but I also recreated the package, let me post you the link18:06
tmzt_g2rootdcordes: how do you switch the default gnome-session back to GNOME ?18:06
tmzt_g2rootwithout using gdm18:06
ogra_actmzt_g2root, /usr/lib/gdm/gdm-set-default-session18:07
tmzt_g2rootas the user?18:09
tmzt_g2rootI don't seem to have that18:09
tmzt_g2rootoh, I'm not using gdm at all18:09
ogra_acno, its system wide, not as a user18:09
tmzt_g2rootjust starting ck-session-launch dbus-launch --exit-with-session gnome-session18:10
tmzt_g2rootright, but I'm not getting a panel following these instructions18:10
tmzt_g2roothttps://help.ubuntu.com/community/UbuntuNetbookEdition/ConvertGnomeSession18:10
rsalvetiGrueMaster: http://people.canonical.com/~rsalveti/lmbench/ for now18:12
GrueMasterok18:13
rsalvetiwe should have a bug, will see if we got it already otherwise need to fill it18:13
mellishey i just installed the omap kernal package how do i get it to boot18:15
dcordestmzt_g2root: that is the wiki page I was talking about !18:15
tmzt_g2rootdcordes: I know, I saw it yesterday, but it doesn't work for me18:15
tmzt_g2root/apps/maximus/exclude_class [Empathy,Totem,Gwibber,Gnome-language-selector,Gtk-recordMyDesktop,Onboard,Vlc,Seahorse-agent,Gnome-keyring-prompt]18:16
dcordestmzt_g2root: there was some error in the 2d instruction part18:16
tmzt_g2rootI'll have to add dialog or something to that, or just gedit's or libgtk open18:17
dcordestmzt_g2root: do you want me to look up anything in my rootfs ?18:18
tmzt_g2rootwhat script do you use to start the gnome-session?18:18
dcordessudo ln -s /etc/xdg/xdg-une/autostart/maximus-autostart.desktop /etc/xdg/autostart/18:20
dcordessudo ln -s /etc/xdg/xdg-une-efl/autostart/netbook-launcher-efl.desktop /etc/xdg/autostart/18:20
tmzt_g2rootI have both of those, I don't get a panel when starting gnome-session18:20
tmzt_g2rootthe first time I started gnome-session it was a normal desktop, before symlinking that stuff18:21
dcordesthe first line.. I think it should be18:21
dcordes/etc/xdg/xdg-une-efl/autostart/netbook-launcher-efl.desktop /etc/xdg/autostart/18:21
tmzt_g2root/desktop/gnome/session/required_components/windowmanager mutter18:21
tmzt_g2root/desktop/gnome/session/required_components/panel ''18:21
tmzt_g2rootoh18:21
dcordescan you try that ?18:22
tmzt_g2rootstill no panel18:26
tmzt_g2rootnevermind, it was just slow18:27
ogra_acNCommander, so building klibc brings intresting results in the buildlog18:28
tmzt_g2rootvte doesn't work, I have never seen that before18:28
ogra_acNCommander, it has -march=armv4 -mtune=strongarm hardcoded18:28
ogra_ac(but given that has always been the casei wouldnt think that has any influence on our bug)18:29
NCommanderogra_ac: yeah, was looking at that, but I think its irrevelent18:30
NCommanderklibc didn't help, nor did upstart18:30
ogra_acyou rebuilt it ?18:30
NCommanderI tried downgrading the kernel to maverick release on a hunch18:30
NCommanderogra_ac: yeah18:30
ogra_acwhat would upstart have to do with it ?18:30
ogra_acwe are way before upstart18:30
ogra_acand as i said in the bug init=/bin/bash didnt work either18:31
NCommanderogra_ac: sorry, meant to say that I don't htink upstart helps18:31
NCommanderogra_ac: or part of it18:31
ogra_acno, upstart is out of scope here18:31
NCommanderright18:31
NCommanderVery very odd18:31
ogra_aci still think its the args that are messed up18:31
ogra_actry to add some schos to /init18:31
NCommanderogra_ac: yeah, but what changed to kill the args18:31
ogra_ac*echos18:31
ogra_acecho $@18:32
ogra_acecho ${rootmnt}18:32
ogra_acand18:32
ogra_acecho ${init}18:33
ogra_acsee what that shows18:33
ogra_acalso note that break= drops you into a subshell, so you cant run run-init manually18:33
NCommanderogra_ac: how close are you to doing so? (I can rapidly respin the initrams ATM on my ac100, but if your already doing it ...)18:33
ogra_aci'm not even near my panda atm18:33
ogra_acjust building klibc remotely with different options18:34
ogra_acso i would appreciate if you could test18:34
NCommanderogra_ac: what script calls run-init? (or do I need to smack the code)18:34
ogra_ac /init18:34
ogra_acits a shell script18:35
ogra_acjust add some echos18:35
ogra_aclives in /usr/share/initramfs-tools/init18:35
NCommanderogra_ac: thanks. I thought you called run-init directly thoguh within a console with proper args and still got a crash18:35
ogra_acin the normal system18:35
ogra_aci tried that18:35
NCommanderogra_ac: disclaimer: I don't get the run-init error, just the panic on the serial console18:35
ogra_acjust to be told that wont work because i'm in a subshell18:35
ogra_acNCommander, you will get it on the monitor if you boot without splash18:36
ogra_acyou will also get it if you boot with break=bottom and ctrl-d out of it to continue the boot18:36
ogra_acrun-init will only work if called by pid 118:37
ogra_acso you cant call it manually18:37
NCommanderogra_ac: I don't have a monitor I can use in my "office"18:40
ogra_acthen just break=bottom18:40
NCommanderogra_ac: will do18:41
* NCommander kicks his ac10018:41
ogra_acand hit ctrl-d18:41
ogra_acdid you finally manage to wear out your emmc ?18:41
ogra_ac:)18:41
NCommanderogra_ac: no, the USB controller is having mini-seizures18:41
ogra_acah18:42
NCommanderand every once in awhile, it and my USB HDD decide to cause a process to become a zombie18:42
NCommandervery annoying when thats dpkg18:42
ogra_acjust fix the kernel ;)18:44
NCommanderogra_ac: not paid to do that ATM :-/18:44
* ogra_ac will spend a good part of his holiday improving the ac10018:44
tmzt_g2rootogra_ac: tegra?18:45
ogra_actmzt_g2root, yep18:45
NCommanderogra_ac: \o/18:46
ogra_acNCommander, dont party to early, i will concentrate on moving PM and buttom management into the .29 kernel only18:46
NCommanderugh18:47
NCommander /o\18:47
ogra_acfor never kernel talk to marvin2418:48
ogra_ac;)18:48
ogra_ache has something based on .36, just misses a regulator specialist18:48
tmzt_g2rootregulator?18:49
ogra_acto power on the LCD i think18:49
ogra_acit boots to a serial USB console18:49
tmzt_g2rootclean up the nvidia oem stuff so it stops asking a binary layer to describe the hardware?18:49
ogra_acbut has no device drivers yet18:49
ogra_acno, i will just revert the hacks tochiba put in18:49
tmzt_g2rootthen get nouveu?? ported18:50
ogra_acand see that i get some sane defaults into the kernel18:50
ogra_acnah18:50
ogra_aci dont care about 3D drivers18:50
ogra_aci just need power management18:50
tmzt_g2rootthe 2d is crtc only18:50
tmzt_g2rootlcdc18:50
ogra_aci need backlight on/off on lid close and want to have ondemand scaling working18:51
ogra_acextra points for dimming support18:51
ogra_acand a proper ubuntu initrd18:51
ogra_acthats my current focus for the vacation18:51
tmzt_g2rootyou don't have an android phones do you?18:52
ogra_acnope, i have a sane phone18:52
tmzt_g2rootsmart mount -t devpts devpts $MOUNTPT/dev18:54
ogra_acNCommander, want to have my klibc built for armv7 ?18:55
ogra_acor do you have one already ?18:55
NCommanderogra_ac: haven't needed it yet18:56
ogra_ack18:57
NCommanderogra_ac: got debugging data18:57
NCommanderogra_ac: rootmnt is "/root"18:57
NCommanderinit is "/sbin/init"18:57
NCommanderarguments: "fixrtc"18:57
NCommanderThat was amazingly unuseful18:57
ogra_acyeah18:57
* NCommander throws it into the bug for completeness sake18:57
ogra_aci wonder if the bindmounted /dev is ok18:58
ogra_aci.e. if we get the right console18:58
NCommanderogra_ac: easy way to test that18:58
NCommanderbut run-init has a sanity check for that it should fail with "unable to open consoel" or something like that18:59
NCommanderand its the right major/minor for dev console18:59
ogra_acin /dev19:00
ogra_aci'm talking about $rootmount/dev19:00
ogra_acudev should move mount /dev to /root/dev, but i wonder what happens if that doesnt work/happen19:01
NCommanderogra_ac: system would fallover19:01
ogra_acyeah, likely even before run-init19:01
NCommanderogra_ac: I think you might be onto something19:02
NCommander/root/dev is populated19:02
NCommanderwe have a newer upstream udev19:03
NCommanderand udev sometimes breaks backwards compatilbility with older kernels19:03
ogra_acsee /usr/share/initramfs-tools/scripts/init-bottom/udev19:03
NCommanderand mainline kernel is on 3719:03
NCommanderhrm19:03
ogra_acprobably add some ls in there19:03
NCommandergive me a sec, I want to check something else first19:03
ogra_acbefore the move ls /dev19:03
ogra_acafter the move ls /root/dev19:04
ogra_acand compare19:04
NCommanderogra_ac: I'm trying to downgrade udev19:04
NCommanderto maverick19:04
NCommanderjust rule it out completely19:05
ogra_ack19:05
ogra_acmaverick has 16219:06
ogra_acnatty 16419:06
* ogra_ac checks changelogs19:07
ogra_aclooks okayish19:09
NCommanderogra_ac: no love there, udev downgrade and still a hang19:15
NCommanderI'm runng out of things to downgrade19:15
ogra_acso want my klibc package ?19:16
NCommanderogra_ac: sure althoguh at this point I don't think it will help19:16
ogra_aci dont think it either19:17
NCommanderogra_ac: doing the ls devs doesn't reveal anytthing interesting19:19
NCommanderI'm running out of ideas19:19
ogra_achttp://people.canonical.com/~ogra/libklibc_1.5.20-1_armel.deb and http://people.canonical.com/~ogra/klibc-utils_1.5.20-1_armel.deb19:19
mellisher where would i go to report / check a bug in the omap kernel19:22
NCommandermellis: downgrading the kenrel didn't fix it19:22
NCommanderDon't think this is a kernel problem, probably something with userland19:22
mellisi upgraded my kernal and it fixed my sound problem but my s-video went dead19:23
NCommanderogra_ac: I'm wonder ...19:24
* NCommander is starting to think run-init == redherring19:24
ogra_acyes19:24
ogra_acthats why i looked at the args19:24
ogra_acwhat do you suspect ?19:24
sveinseAnyone there knows the correct gcc options for TI OMAP3?  -march=armv7-a -mtune=cortex-a819:25
NCommanderogra_ac: well, ... I'm not so sure now. I just tried replacing /sbin/init on my panda with /bin/bash, and letting it boot and it just fell over regardless19:25
ogra_ac??19:26
ogra_acyou mean in the rootfs ?19:26
NCommanderyeah19:26
ogra_acwell, we dont get to the rootfs19:26
NCommanderWe're getting as far as the execve() call19:26
ogra_acno matter what you use19:26
NCommander?19:26
NCommanderoh19:27
NCommanderyes19:27
ogra_aci tired init=/bin/bash already19:27
GrueMasteron a different note, I did some preliminary testing of the linaro kernel on my BeagleXM, and it seems ok.  Rythmnbox has issues, but I am able to get test sounds to play (R & L are reversed).19:27
NCommanderwhat the hell could cause an exec() call to crap itself?19:27
ogra_acGrueMaster, awesome, can you let apw know ?19:27
ogra_acthen we have fulfilled our workitems19:27
ogra_acfor the kernel team19:27
NCommanderogra_ac: execve is a straight systemcall, but we're not getting an OOPS19:30
NCommandersomething bloody odd is going on19:30
ogra_acwhy would you get an OOPS ?19:30
NCommanderogra_ac: er, right, a bad syscall won't cause that19:30
NCommanderugh19:30
NCommander*/brain fart*19:30
* NCommander rebuilds klibc with debugging info19:30
GrueMasteryea, I can smell it in here.  :P19:30
ogra_acthe OOPS you see has not much to do with run-init failing19:30
NCommanderogra_ac: yeah, I got that19:31
ogra_acthe OOPS you see is simply the kernel not finiding init19:31
NCommanderright19:31
NCommanderhrm19:31
ogra_acwhich you also get on older releases if init isnt executable or available19:31
ogra_acignore the kernel in this context its all run-init19:32
GrueMasterogra_ac: I updated the kernel whiteboard for that task.19:32
NCommanderogra_ac: right, so I'm rebuilding it now with -O2 -g, and will see if I can attach a debugger to it19:32
ogra_acGrueMaster, merci19:33
NCommander(knowing our luck, that will mysteriously fix it)19:33
ogra_acNCommander, did you test with my v7 build from above ?19:33
ogra_achttp://people.canonical.com/~ogra/libklibc_1.5.20-1_armel.deb and http://people.canonical.com/~ogra/klibc-utils_1.5.20-1_armel.deb19:34
ogra_acNCommander, ^^^19:34
jcrigbywhat if you can't run any executable on rootfs because of some weird ld.so.blah mismatch19:34
ogra_achmm19:35
tmzt_g2rootwith klibc?19:35
ogra_acyeah, someone should try booting with a maverick initrd19:35
ogra_actmzt_g2root, klibc is only used in initrd19:37
tmzt_g2rootnot paying close enough attention19:37
tmzt_g2rootI've got crazy stuff like this but not to the point of err values getting overwritten19:37
tmzt_g2rootbut, you could try init=/lib/ld-linux.so.319:38
tmzt_g2rootand see if it prints anything19:38
tmzt_g2rootdcordes: you had efl and panel at the same time? I can't get that to work19:42
melliswhy wont the omap kernels work with s-video19:43
GrueMasterIt isn't an easy interface to test.19:44
tmzt_g2rootmellis: missing i2c controller driver?19:44
GrueMasterNot sure if it is just a config flag or it requires more kernel work.19:44
mellisno idea19:44
tmzt_g2rootsorry encoder19:45
mellisi have one kernel that works19:45
GrueMasterThe only thing I have available for testing that output is my 42" LCD in the livingroom, but it is very difficult to get setup for svideo.19:46
mellisyeah i only have a s-video tv so ima bit stuck19:47
sveinsehrw|gone: Here is bug #683832 as instructed.20:03
ubot2Launchpad bug 683832 in gcc-4.4-armel-cross (Ubuntu) "gcc fails to cross compile Qt (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/68383220:04
sveinseI reported the bug in gcc-4.4-armel-cross, but it also applies to gcc-4.5-armel-cross. Do I need to add a new bug, or can I link them for both packages?20:11
NCommanderah haw20:32
NCommandermight figured out what broke20:32
ogra_actell me20:33
jcrigbythe suspense is killing us20:34
NCommanderogra_ac: or not20:34
NCommanderbut if I set init to /bin/dash20:34
NCommanderit works20:34
NCommanderthe plot thickens20:34
NCommanderer20:35
NCommandermaybe not20:35
NCommanderstrange20:35
NCommanderas soon as run-init runs, it breaks the enviornment20:35
ogra_acno, /init unsets most of it20:36
NCommanderogra_ac: I'm referring to running run-init directly20:36
ogra_acbefore it runs run-init20:36
NCommanderif I runit through strace, it makes some very pretty output and works20:36
NCommander(sorta)20:36
ogra_acyou cant run it from a pid other than 120:37
NCommanderI get the same sorta errors though20:37
ogra_ac(you cant run it from the initramfs shell)20:37
ogra_acif you want to strace or gdb it you have to do that inside /init20:38
ogra_acyou can never do it manually20:38
NCommanderstrace isn't very useful20:46
NCommanderkernel panics before it finishs printing debug info20:46
ogra_acand gdb will be painful to get commands in20:47
NCommanderogra_ac: indeed20:50
NCommanderI'm nearly out of ideas here on how to debug20:50
jcrigbyI just did a diff on a good initrd vs a bad one and other than binaries the only diff is this:20:50
jcrigbydiff -ru goodtree/init badtree/init20:51
jcrigby--- goodtree/init       2010-12-01 13:41:26.376116002 -070020:51
jcrigby+++ badtree/init        2010-12-01 13:41:26.796116002 -070020:51
jcrigby@@ -53,6 +53,11 @@20:51
jcrigby export resume=20:51
jcrigby export resume_offset=20:51
jcrigby 20:51
jcrigby+# mdadm needs hostname to be set. This has to be done before the udev rules are called!20:51
jcrigby+if [ -f "/etc/hostname" ]; then20:51
jcrigby+        /bin/hostname -b -F /etc/hostname 2>&1 1>/dev/null20:51
jcrigby+fi20:51
jcrigby+20:51
ogra_acyeah, i checked that already20:51
jcrigby # Bring in the main config20:51
NCommanderjcrigby: PASTEBIN PLEASE20:51
jcrigby . /conf/initramfs.conf20:51
jcrigby for conf in conf/conf.d/*; do20:51
jcrigbyNCommander, I figured it was short enough20:51
jcrigbysorry20:51
ogra_acand we dont have /etc/hostname inside initrd20:51
ogra_acso thats a noop20:51
NCommanderjcrigby: can you do a diff to tell us what binaries changed between last known good and current?20:52
ogra_acbut we also have a new udev and i see some systemd code in it, but then why wouldnt that also fail on other ubuntu images20:52
NCommanderogra_ac: downgrading udev didn't help20:52
NCommanderfrustatingly enough20:52
ogra_achow did you downgrade udev ?20:52
NCommanderogra_ac: apt-get install udev=162-2 && update-initramfs -u20:53
ogra_acthat wont clean up anything20:53
ogra_acjust overwrite20:53
NCommander?20:53
ogra_acyou could as well do dpkg -x udev*.deb /20:53
ogra_acif there are new binaries in the newer udev they will still persist20:54
NCommanderogra_ac: well, do you have any better ideas?20:54
ogra_acno20:54
NCommanderogra: why would the new binaries persist?20:54
ogra_acbecause there is nothing removing them20:54
ogra_acthe only sane way to test that would be to take maverick and step by step upgrade20:55
NCommanderogra_ac: dpkg will remove files that only exist in the old package as part of a downgrade20:55
ogra_acbut thats painful and will take lots of time20:55
NCommanderogra_ac: I'm out of ideas TBH20:55
NCommanderand I don't know a good way to debug run-init20:55
ogra_aci dont think its run-init itself20:56
ogra_aca good test to see if its actually userspace would be to: boot maverick with init=/foo break=bottom ... then ctrl-d as you do it in natty and see if you get the same error20:57
ogra_acor make /sbin/init unexecutable or some such instead of init=/foo20:57
jcrigbyok full diff here http://pastebin.ubuntu.com/538798/20:57
NCommanderogra_ac: exec() is failingin run-init20:57
ogra_acexec of the subprocess for /sbin/init, no ?20:58
NCommanderso the differences are udev, the kernel, busybox, console-setup, and initramfs-tools20:58
NCommanderand some support libs20:58
ogra_acbusybox ... hmm20:59
ogra_acignore initramfs-tools20:59
ogra_acthats only the hostname stuff20:59
ogra_acwait-for-root can be ignored, we have it mounted properl at that point21:00
NCommanderdon't think its libuuid21:00
NCommanderlibc had an upgrade though21:00
ogra_aci think all of the stuff at the bottom thats in sbin can be ignored actually21:00
ogra_aclibuuid is fine21:01
NCommanderI'm pretty sure its not udev21:01
ogra_acelse you wouldnt have /root mounted21:01
NCommandercause we would have seen breakage during mounting21:01
ogra_aclibc didnt change between maverick and natty21:01
ogra_aci guess libgcc did21:01
ogra_acbut i wouldnt know what effec that should have21:02
ogra_acthe best candidate is busybox21:02
ogra_acthe only big difference we have is the kernel vs x8621:03
NCommanderogra_ac: glibc had an upgrade21:03
ogra_acand linaro as well is on .35 ( jcrigby might correct me)21:03
ogra_acNCommander, not in natty21:04
NCommanderogra_ac: have we had any working natty images?21:04
GrueMasternot that I know of.21:04
ogra_acnope21:04
* ogra_ac doesnt see any eglibc uploads 21:05
ogra_acnor any syncs that wuld have been processed21:05
ogra_acNCommander, the only image that was tested before yesterdays and todays was the one from the 19th and GrueMaster reported the same issue with that one21:06
GrueMasterSorry I couldn't debug it further.  I found it late that Friday and spend the working part of the following week testing maverick-proposed and doing bug triage.21:07
ogra_acdont worry21:07
ogra_acNCommander, https://launchpad.net/ubuntu/+source/eglibc 2.12.1-0ubuntu9  in maverick and natty21:08
dcordestmzt_g2root: yes. that works for me in the ootb une-efl session as well as in the hacked gnome efl session21:10
dcordestmzt_g2root: (panel and efl)21:10
dcordestmzt_g2root: did you post to the X ml yet ?21:11
NCommanderogra_ac: I have no idea ATM, it possibly could be udev but that seems unliekly21:11
NCommanderGrueMaster: do we know if maverick->natty upgrades work on armel?21:11
ogra_acwhy shouldnt they ?21:11
ogra_acat this state of the relase they are manual work anyway21:12
GrueMasterhasn't been tested yet.21:12
NCommanderogra_ac: because someone wanted to try it, or do dev work?21:13
ogra_acwell, as i said, it will be a lot of manual work anyway atm21:13
GrueMasterdmesg21:13
GrueMasterwrong window (again)21:13
ogra_acNCommander, so what we could try is to do piecemeal updates of the bits that end up in intramfs21:13
ogra_acand rebuild the initrd after each updated package21:14
ogra_acthen we should see where it breaks21:14
NCommanderogra_ac: thinking about it right now. I think we're going to miss A1 though21:15
ogra_acNCommander, if you dont feel like doing that i will do it tomorrow, its past 10pm here and i dont count on us making A1 anymore so i will soon stop working21:15
NCommanderI'm just mentally thinking21:16
ogra_acbut i think piecemeal upgrade step by step is the best way to find the bad guy21:16
ogra_acGrueMaster, btw, are you sure your monitor issue isnt something similar ? i.e. is the board still alive even without screen ?21:21
* ogra_ac just sees that eglibc in maverick release isnt actually the one in natty 21:22
ogra_acthe one in natty is the same as in -updates and one up from -security21:23
GrueMasterI reimaged on a faster SD card and haven't been able to reproduce that issue.21:29
GrueMasterThe Sd card I had initial issues with was a class 2 4G (all I had available at the time).21:29
GrueMasterI'm currently running maverick with the latest proposed updates and other than getting lost during screensaver, it is working fine now.21:29
GrueMasterUnfortunately, my es2.1 is currently tied up with lmbench testing and NCommander has the other panda.21:29
GrueMasterI can try updating my XM image to see if I can get it to break.21:29
ogra_acthat would help too, given that linaro sees the issue with beagles21:30
ogra_acif you find anything, dump it on the bug21:32

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