[01:16] I keep getting these on pandaboard with ubuntu maverick [01:16] dpkg: error processing initramfs-tools (--configure): [01:16] subprocess installed post-installation script returned error exit status 1 [01:16] Is it known or have I done something stupid? :) === asac_ is now known as asac === amitk is now known as amitk-afk === amitk-afk is now known as amitk === hrw|gone is now known as hrw [08:37] moin [08:40] moin [08:42] rsalveti: yes, will do the test. Thanks for reminding me! [09:24] rsalveti: found issue. natty initrd was wrong - replaced with maverick one and got it booted [09:24] total used free shared buffers cached [09:24] Mem: 993492 120172 873320 0 18744 62900 === XorA|gone is now known as XorA === kmargar is now known as markos_ [11:11] hrw: cool, I don't think natty is tested already [11:15] yep [11:23] hrw, saw the same thing on my beagles, something's wrong with natty's unitrd generation... [11:26] thx === dmart_ is now known as dmart [11:56] Hi all [11:57] Does OpenOffice.org work on Ubuntu 10.04 for ARM? [11:57] or 10.10 for that matter... [11:58] don't have it in front of me right now, but I believe it works fine [11:59] dmart: thx === amitk is now known as amitk-afk [12:10] rsalveti: Hi! I am trying to get the ubuntu 10.10 image on TI SDP omap4 to work. Unfortunately the installer crashes so I can't continue graphically. Furthermore I can't get any external mouse/keyboard to work :(. Any ideas how I can get a login prompt on the serial console? [12:10] alf_: hm, did you try the blaze files? [12:10] alf_: https://wiki.ubuntu.com/ARM/OMAPMaverickInstall [12:11] rsalveti: Yes. I copied them to the boot partition. I also added console=/dev/ttyO2... I have console output but no login. [12:11] alf_: problem is that the pre-installed image doesn't have any user, and expect the user to create one at the oem-config screen [12:12] alf_: to have login you'll need to create one user (mounting at your host, and using chroot + qemu for example), and create the ttyO2 file at /etc/init [12:12] then upstart will call the proper getty [12:13] rsalveti: ok, I will try that. Thanks! [12:13] but seems weird that you don't have any mouse and keyboard [12:13] alf_: http://paste.ubuntu.com/525611/ [12:22] ndec1: vstehle: do you know any hw difference that would make the omap 4 sdp board behave differently than blaze? [12:22] alf_ currently got an sdp to work with, and I never saw anyone using and booting with current sw [12:37] rsalveti, I wonder if alf_ is using an ES2.x to begin with... [12:37] vstehle: hm, true [12:39] alf_, you can login as root if you manually edit /etc/shadow and remove the '*' or '!' in the root password. Not recommended for a real system, but for debug it can help. [12:41] vstehle: thanks. How can I tell if I have ES2.x? [12:48] alf_: do you have "OMAP4430 ES2.0" at your dmesg? [12:48] don't remember if the code is correct, but I believe it is at least to detect if it's 2.x or 1.x [12:49] rsalveti: yes I do have "OMAP4430 ES2.0" [12:49] rsalveti: and now I have a login :) [12:52] alf_: problem is that the code to identify if it's an es2.0 is not that reliable, the default when it can't find the proper id is to assume it's using the latest one [12:53] rsalveti: I also see an ES2 GP sticker on a chip [12:53] that's better :-) [12:55] rsalveti: vstehle: ndec1: for anyone who is interested my dmesg output is http://paste.ubuntu.com/525642/ [12:55] when I plug in a usb device nothing happens :( (eg no dmesg output) [12:56] I have tried all 3 usb ports (hi-speed, full-speed, OTG) [12:57] Anyone with experience with PulseAudio on OMAP3? [12:57] I am considering using PA vs. ALSA for an application (generating 8channels of 24-bit@48kHz) [12:58] alf_: hm, you should have at least touchscreen and keyboard working [12:58] don't know about usb, don't know if it worked on blaze [12:59] I don't think the smsc chip available at panda is also integrated at the sdp [12:59] rsalveti: yes touch and onboard keyboard works... but they are a pain to use :S I can't even find how to backspace on that keyboard :P [12:59] haha :-) === xfaf is now known as zul [13:03] alf_: touch screen and keyboard can at least help you finishing the pre-installed image boot [13:04] now for usb maybe vstehle knows better [13:06] rsalveti: Unfortunately the installation crashes and I can't read the message because it is insanely difficult to resize the window using the touch screen [13:06] hm, ok [13:07] rsalveti: in any case, I am pretty happy having console and ssh access (hopefully) for now [13:18] rsalveti, If I recall correctly, the USB on SDP will be in "slave" mode. Not what alf_ wants to connect a mouse. [13:18] Alternatively, synergy2 may help here :) [13:19] Log through UART, connect to network, install synergy, finish installer with PC keyboard and mouse. [13:21] vstehle: interesting, I 'll give that a try later :) [13:21] vstehle: got it [13:21] yeah, over network can help :-) === kmargar is now known as markos_ === zyga is now known as zyga-coffee === zyga-coffee is now known as zyga [15:10] rsalveti: after installing omap4 drivers, when starting X I get "(EE) AIGLX error: dlopen of /usr/lib/dri/pvr_dri.so failed" and the display is somewhat corrupted [15:10] rsalveti: is this normal or have I missed some package? [15:10] alf_: the AIGLX error is expected, not the corrupted screen [15:11] alf_: did you reboot? [15:11] just to be sure you're loading the pvr driver and calling pvrinit [15:11] then loading the xserver with the pvr driver [15:12] rsalveti: actually, sorry, it is corrupted only when running a plain xinit (xterm) session. Corrupted = black but when the mouse goes over something I can see the bg normally [15:13] alf_: hm, also got that sometimes, it seems that it happens when the xserver is not running at the session 0 [15:13] for some reason it failed to load the first session, then it loaded the session 1 [15:13] you can check by your /var/log/Xorg.*.log [15:14] I remember when I got this error my driver wasn't loaded correctly, because of a kernel update that didn't recompile the pvr driver [15:15] do you get any other error at the kernel and the xorg.*.log? [15:20] rsalveti: no errors... gdm works normally though, so no big deal :) [15:21] hm [15:22] rsalveti: is that "hm"=I need more info or "hm"=ok, such is life? ;) [15:22] hm=I'm interested to know why this bug happens, but have no clue currently :-) [15:23] it's black but the mouse fixes the region [15:23] rsalveti: yes [15:24] probably because the mouse pointer is correct at the x server, but don't know why the xterm is black [15:24] I remember when I got this my kernel driver wasn't loaded correctly, once I fixed that this error stopped happening [15:25] in my case the driver seems to work in general eg I have gdm + desktop and es2gears runs normally [15:26] hm, if you just restart gdm and load the recovery session do you also get the weird black xterm? [15:26] that's interesting [15:34] is there a way to get armel ppa? [15:39] hrw, Best suggestion now is to wait: there was some talk at UDS about what would be required to enable them. I'm not sure of current status. [15:40] Note that if it feels like you're waiting too long, porting Xen to ARM is always an available option :) [15:50] rsalveti: so, it turns out that xterm in general has this problem, regardless of the session I run it in... (tried desktop, recovery, xinit) [15:51] alf_: that's weird, just tested at my panda and it works fine [15:52] persia: ok [15:52] ;D [15:53] rsalveti: gnome-terminal works fines, but urxvt exhibits the same behavior as xterm [15:54] btw - does flash-kernel always require initrd? [15:55] rsalveti: aha, urxvt with xft fonts works fine, the problem is with the bitmap fonts [15:55] hrw: I think the default behavior is to look for an initrd [15:56] alf_: interesting [15:56] ko [16:05] NCommander: there? [16:05] NCommander: where and how is flash-kernel invoked? [16:06] rsalveti: ^^ ? [16:06] asac: generally when updating the kernel package [16:07] i know that man ;) [16:07] it'd make sense to call it also when updating the initrd, but don't know if it's doing this currently [16:07] asac: so, what do you need to know exactly? :-) [16:07] where and how ;) [16:07] not when ;) [16:07] trigger, hardcoded postinst of kernel etc. [16:07] and if trigger, where is it ;) [16:13] asac: flash-kernel has a hook at /usr/share/initramfs-tools/hooks/flash_kernel_set_root [16:13] now need to check if the kernel also calls it directly [16:14] rsalveti: that one doesnt call flash-kernel though ;) [16:14] /usr/share/initramfs-tools/hooks/flash_kernel_set_root that is [16:14] true [16:15] argh, the kernel has lots of perl-scripts all around [16:15] it's setting the bootloader as flash-kernel [16:15] but need to trace how it's using it [16:16] rsalveti: where is it setting that? [16:17] on the master tree: debian.master/control.d/vars.omap [16:17] the same for omap 4 [16:17] but still don't know how it's using it, looking at the code atm [16:19] seems to be related only with dependency [16:22] hmm.. flash-kernel looks ugly [16:23] lot of code duplication [16:23] hrw: heheh, it is [16:24] I dont think it was really intended to grow from a simple script [16:24] that's why we have some other blueprints that NCommander added to improve the arch detection [16:24] generate_uImage(TMPMOUNT/uImage,/boot/uImage,0x80008080,0x80008080) is what most devices needs [16:24] instead each machine has similar code to call mkimage, do backup of old kernel etc [16:24] * hrw adds efikamx smartbook support [16:26] which is fun as I do not use initrd on it [16:30] hrw: do you know how much SPI-NOR flash there is the the smartbooks [16:31] Last time I saw a number it was 4MiB, which isn't enough for an initrd, but there's the option of booting via microSD / MMC/SD instead [16:32] dmart: kernel has pata driver builtin so building from internal "ssd" is fine without initrd [16:32] dmart: and by default kernel/initrd are read from pata drive [16:32] dmart: if sd/mmc is in slot then boot.scr is read from there [16:32] handy to test kernels [16:37] hrw: ah, right. SSD didn't used to be supported (the model I had didn't have any SSD) [16:40] asac: update-initramfs calls flash-kernel [16:41] asac: http://paste.ubuntu.com/525757/ [16:41] rsalveti: ack;) [16:53] bug 671027 added [16:53] Launchpad bug 671027 in flash-kernel (Ubuntu) "Add Efika MX Smartbook/Smarttop support (affects: 1) (heat: 6)" [Undecided,New] https://launchpad.net/bugs/671027 [16:58] rsalveti ? [16:58] mpoirier: ? ? [16:59] Rodrigo, Kubuntu fellow, told me you tried to get the kernel going on the n900 but things werent' working properly. [16:59] is this correct ? [17:13] mpoirier: I got a working kernel, but didn't have time to check if everything was working [17:14] got maverick booting, but then didn't have time to continue the work [17:15] mpoirier: do you have a n900 around? [17:15] I basically used the u-boot solution to boot the kernel and rootfs from the external sd card [17:15] rsalveti: I don't - Scott Kitterman is supposed to have dropped one in the mail for me... [17:15] yes indeed, that is a good solution. [17:16] there seems to be good support already - there may not be too much to do... [17:16] did X came up ? [17:16] mpoirier: cool, I basically added the n900 meego patches on top of the maverick branch [17:16] mpoirier: yep, was able to login at the gdm and etc [17:17] ah ! so you did all the hard work. [17:17] but the touchscreen didn't work well, the axis was inverted [17:17] let me check if I pushed the latest stuff from my branch [17:18] humm... Could be userspace space thing or wrong assumption in kernel land. [17:18] axis can be changed in kernel [17:18] yup [17:19] it is common problem :D [17:19] hrw: indeed. === zyga is now known as zyga-nc10 [17:29] mpoirier: http://kernel.ubuntu.com/git?p=rsalveti/ubuntu-maverick.git;a=shortlog;h=refs/heads/rsalveti-master-n900 [17:30] mpoirier, You may also be looking for rbelem :) [17:30] still need some love, and need to sync the config with the meego one [17:30] rbelem, that's the IRC i was looking for... [17:31] rsalveti: thanks [17:33] bye === hrw is now known as hrw|gone [17:55] hey, mpoirier [17:55] :-) [17:56] rbelem: hold on... [17:56] rbelem: I'll get back to youi. [17:56] mpoirier, oki [19:56] asac: I'm herenow What do you mean on when its called? [20:00] NCommander: all sorted ;) [20:00] NCommander: just needed someone with other perspective to find where flash-kernel gets invoked ;) [20:01] asac, If you want to not invoke it for a specific environment, please add a stanza making it no-op, rather than killing the call. [20:03] persia: that was not the context ;) [20:03] * asac wonders why everyone thinks i always want to kill something :-P [20:04] * persia has hardware on which running flash-kernel is useless and annoying, and presumes everyone else has exactly the same wants and needs [20:06] persia: thats cause iMX51 hardware doesn't change /proc/cpuinfo [20:07] NCommander, At least all my i.MX51 hardware has distinguishable /proc/cpuinfo: but not all of it boots kernels from NAND. [20:08] So, if someone adds working in-archive kernels for my hardware, I'll put two different stanzas in flash-kernel to do different things. [20:08] (one of which would be no-op) [20:12] persia: distishable in what way? [20:13] Processor, CPU revision, Hardware, and Revision all differ. I'll probably use Hardware in flash-kernel [20:15] Actually, maybe I'll just do that today, in advance of there being a working kernel, as long as I'm thinking about it (already had /proc/cpuinfo up for comparison for other reasons) [20:16] Only tricky bit being that NAND partitions are a bit of a joke, and there's no way to safely probe them. Following the convention of maintaining manufacturer bootloader defaults is probably most polite, but not likely long-term best. [20:17] (but that affects every flash-kernel stanza, so ...)