[00:21] lool: Needs work on options to handle both --arch powerpc and --arch=powerpc, but looks lovely otherwise. [00:29] Ugh. No it doesn't. Looks bug-for-bug compatible with debootstrap :( [00:30] Anyway, you shipped it, and it looks good, and I'll make the tools use it. [00:31] ( well, unless system_arch == amd64 && deb_arch == i386 | lpia ) [01:43] morning all [01:46] i'm coming again [03:32] how to use the qemu in the rootstock [03:34] You'll have to wait at least 5 hours for good rootstock support. === DanaG1 is now known as DanaG [05:47] hi guys i dont see the mini2440 as being a supported board is possible and just untested ? [05:49] * persia tries to figure out what a "mini2440" is [05:49] tkmedia: It might be able to run Jaunty, but nothing newer. [05:49] I'd recommend using Debian on that platform. [05:50] (assuming we're talking about a board with a Samsung S3C2440A ARM920T ) [05:50] yes thankyou [05:50] Glad to help. If you decide to run Jaunty, the install may be a bit tricky, but ought work. [05:51] intrepid actually would be nice [05:51] If you decide to run Debian, the install may be a bit tricky, but you should have continued support for longer (Jaunty runs out of support in October). [05:51] Intrepid wasn't compiled for armel. [05:51] k [05:52] whats the best way to try jaubty [05:52] juanty [05:53] Do you have a working 2.6.28 or newer kernel for the board? [05:54] 2.6.29 [05:54] That ought work. [05:54] Do you have a local Ubuntu install from which to prep stuff? [05:54] (if so, which release?) [05:54] i have severla vm's [05:55] ones a 0910 [05:55] OK. So the easiest way to get a rootfs is probably to run rootstock in the 9.10 environment. [05:55] yep did that [05:55] And you created a jaunty rootfs? [05:56] hmm let me chk [05:56] i used the example [05:56] with minal lxde [05:57] Which example? [05:57] top [05:57] From which page? [05:57] sec [05:58] sudo rootstock \ [05:58] --fqdn myhostname \ [05:58] --login ubuntu \ [05:58] --password temppwd \ [05:58] --imagesize 2G \ [05:58] --seed xubuntu-desktop [05:58] but changed seed [05:58] to lxde [05:58] Right. [05:58] ,gdm [05:59] so that should work with the .29 kernel right? [05:59] Yes, but. [06:00] You want to add --dist jaunty [06:00] kernel panic [06:00] The default is --dist karmic [06:00] ahhh [06:00] And that will generate binaries that include instructions not supported on your chip. [06:00] ok cool [06:01] So try again, and if that doesn't work, please ask again. [06:01] so thats why i got kernel panic ? [06:01] I'm not sure, but possibly. How did you construct your kernel? [06:01] Are you sure your kernel works? [06:01] yes [06:02] let mtry with dist-juanty [06:02] If you're sure the kernel works, then yeah, I'd blame the rootfs, especially if I expected the rootfs to generate instructions the processor can't handle. [06:02] "jaunty" [06:02] and will be back if any more questions [06:02] thanks [06:02] Good luck! [06:03] so just -dist jaunty on the bottom [06:03] added [06:12] hmm, weird thing about the rcn-ee images: the ubuntu username isn't uid 1000. [06:12] same for GID: not 1000. [06:49] DanaG: It isn't on the Live CD either, since that would conflict with installed systems [06:49] (And then you could potientally read other users files) [06:52] Though, with livecd, you can read them anyway, as root. [06:52] And the UID was like 1002 (which still could collide), and the image was an installed system. [06:53] Right, but that falls under "You have physical access, so ..." [06:55] Oh, and the UID of things like "fuse" were different too. [06:55] I fiddled with the things a bit, and made them match better (along with finding files that were owned by corresponding old UID, and chowning them. [06:58] hello [07:00] can somebody help me? [07:02] go ahead and ask the issue itself, instead of just asking if anyone's around. =þ [07:05] ok, I have PDA Asus A363 can I install ubuntu on this device? [07:06] hmm, you'd have to find out more about what the chip is, for one. [07:07] one moment [07:07] processor type - Intel XScale PXA272 416 MHz [07:08] weird, I see nothing about "asus a363" on the internet. [07:08] er, not "nothing", but not too much. [07:08] ROM 128 Mb, RAM 64 Mb [07:08] 64 megs RAM is tiny. [07:09] http://vip.asus.com/forum/view.aspx?id=20070507004052843&board_id=6&model=MyPal+A636&SLanguage=en-us&page=2 [07:11] :) I don`t like a Windows [07:11] I want ubuntu ;) [07:13] gevz: OK. What device do you have? [07:14] A363 [07:15] ASUS MyPal A363? [07:15] yes [07:15] OK. According to http://www.handhelds.org/moin/moin.cgi/MyPal you should be able to run linux [07:16] Or maybe not [07:16] * persia looks harder [07:17] Really a A363 and not a A636> [07:17] s/>/?/ [07:18] I can't find any information about the A363, unfortunately. [07:18] The A626 can run Linux, but only Ubuntu 9.04 and nothing newer. [07:18] The resolution is also low enough the experience may leave something to be desired. [07:18] I'd recommend Debian for such a device. [07:18] oh... excuse me, I mistake [07:19] A636 [07:19] Which is the mistake? [07:19] Ah, that's better :) [07:19] not A363 [07:20] But yeah, for the A636 you can run Jaunty if you hack it. [07:20] how i can do it? [07:20] I'd recommend starting from http://www.handhelds.org/moin/moin.cgi/A636 [07:21] Once you have figured out how to install linux, installing Debian or Ubuntu becomes easier. [07:25] ok, I do not quite understand where I start [07:26] this link to list of hardware, but I can`t understand how to install linux? [07:27] For devices of that class, one usually has to construct a replacement firmware and proceed with the "firmware upgrade" procedure. [07:27] I recommend searching for available documentation carefully, as there is a risk you can make the device unbootable. [07:28] I don't see any good guides from a quick search myself. [07:28] ok, please help me [07:29] I have compiled a list of equipment, what next? [07:31] I'm really not sure how to help, and don't want to give advice that will make your device useless. [07:32] The next step is to understand how the device boots. [07:32] Once you have that, compile a customised kernel, and get the device to boot that kernel. [07:32] Once you have that, you can start considering what you want for a filesystem. [07:32] But the first two steps are big ones. [07:34] What image do I download ubuntu? [07:34] There exists no image of Ubuntu that will work on your hardware. [07:34] You can potentially construct something that works, but it's non-trivial. [07:34] ok, thanx [07:35] I ran "sudo ~/bin/qemu-debootstrap --arch=armel lucid lucid-armel-chroot http://rie:3142/ports.ubuntu.com/ubuntu-ports", but the chroot sources.list file does not contain any entries for package sources. [07:35] Is that to be expected? [07:35] Yes. [07:36] hm [07:36] please explain [07:36] I kind of expected the file to be populated, obviously. [07:36] I don't believe debootstrap automatically populates that. [07:36] So this is expected behaviour. [07:37] let's rephrase the question [07:37] From your ability to run that command, I presume you're using lucid. [07:37] Shouldn't debootstrap populate the file? [07:37] No. [07:37] why not? [07:37] I run lucid, yes [07:38] So, if you want to create a chroot for use, I'll recommend you use `mk-sbuild --arch=armel lucid` [07:38] This will work, populate everything, and give you a summary of ways to use the chroot. [07:38] lool: asked me to test his scripts [07:38] Oh, if that's what your're doing, then you're doing it right. [07:38] and I don't mind a few rough edges here or there [07:40] why do you think debootstrap ought not to populate sources.list? [07:40] because there's extensive logic in mk-sbuild to populate it after the debootstrap run. [07:40] gevz: you may also have a look at openembedded [07:40] what this? [07:41] gevz: google should tell you [07:41] I have ban on google ;) [07:41] or any other search tool, really. [07:41] Then use something else :) [07:41] Laibsch: morning [07:42] gevz: OE is very well suited for your problem of getting a kernel compiled [07:42] lool: good morning [07:42] OE is also well suited to that class of device. [07:42] probably [07:43] * Laibsch hopes to lower the bar for ubuntu-arm eventually [07:43] But I fully support the decision to focus on more powerful devices first [07:43] Laibsch: Not first: only. We expect the market to catch up with us by the time we're sorted. [07:44] yes, I was afraid that may be the case [07:44] There ain't nobody there to tell me I can't try, though ;-) [07:45] Speaking of which [07:45] persia: (from this night) ARM920T + jaunty isn't going to work I'm afraid [07:45] Now that I have my armv7l chroot, how would I go about trying to compile armv5te software? [07:46] what knobs do I need to fiddle with? [07:46] lool: No? Why not. [07:46] Laibsch: You need to change the compiler defaults. [07:46] Laibsch: debootstrap is now expected to create a binary sources.list, but most people don't need source entries, so it defaults to disabled for these [07:47] Laibsch: sbuild usually pulls the source by its own means IIRC [07:47] persia: ARM920T is v4 [07:47] lool: Ah. So it needs to be ARM11+ ? [07:47] I thought it was ARM9+ [07:47] I think some ARM9xxs are v5, but rare [07:47] Best to check the wikipedia page [07:47] That makes sense. Still, I think anyone with older hardware should be running Debian anyway. [07:47] yes [07:48] It's frustrating to get stuck not being able to upgrade. [07:48] Anyway, sbuild doesn't do anything special with sources.list. It just presumes that one exists in the chroot. [07:48] mk-sbuild populates one based on the arguments it gets passed. [07:48] persia: where are those changed? [07:49] Laibsch: Which? [07:50] the compiler defaults [07:50] so that I can compile for armv5te [07:50] No idea. I'd guess in the gcc package. [07:51] lool: ? [07:52] I guess the question can be put another way [07:52] who changed what where to specify that lucid is armv7l? [07:52] I'll just turn that back locally ;-) [07:52] Laibsch: gcc-4.4 package [07:52] we configure it with the defaults [07:53] Laibsch: I'm not sure you realize how long and complex and heavy that's going to be [07:53] It's not impossible, but building gcc-4.4 takes days espcially under qemu or older v5 hardware [07:53] probably [07:53] Then you need to bootstrap everything such as eglibc, binutils etc. [07:54] I don't mind days of compilation [07:54] Laibsch: You intend to build on v5 hardware? [07:54] When I started with OE my machine was seriously underpowered (it kind of always was) [07:54] It took about a week to build the toolchain for me [07:54] and things broke often, so it may have been a month before I had anything working [07:54] You should expect a similar amount of pain. [07:54] not a big problem [07:55] especially since I can always use OE-compiled software [07:55] But I want to move slowly away [07:55] uh? [07:55] I think native compilation makes more sense [07:55] Laibsch: If you intend to build on v5 hardware, the easiest path for you (in terms of man hours) is probably to build the Ubuntu toolchain source packages after changing their defaults inside a Debian armel chroot [07:55] Laibsch: tired of OE? :p [07:55] ynezz: yes [07:56] but basically I understood that OE is not the right tool going into the future [07:56] for me [07:56] I'm looking more for a desktop experience on the devices I have [07:56] isn't it more about koen? [07:56] Openembedded is of course, more embedded [07:57] yes and no [07:57] ok [07:57] I sat down and thought about if OE gives me what I need [07:57] and if it's going in the direction I want it to go [07:58] I've been with OE for 5 years and I'd say OE has never managed to put out anything usable for end-users [07:58] I don't see that changing and I'm more of an end-user [07:58] My hope is ubuntu-arm/debian-arm will eventually be able to output something usable for the ordinary user [07:59] [02:45] persia: (from this night) ARM920T + jaunty isn't going to work I'm afraid [07:59] tkmedia: Sorry about that. My mistake. [07:59] hmm looks like troouble [07:59] np [07:59] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,3) [07:59] tkmedia: Should be able to run Debian, I'd think. [08:00] k [08:00] Laibsch: I've started using ubuntu for the same reason, for headless boards with 32MB RAM is OE the best... [08:00] Congratulation of all women in this chatroom with 8 March!!! [08:00] bye [08:01] how can you tell which ver arm the device will run [08:02] http://en.wikipedia.org/wiki/ARM_architecture gives some useful guidance [08:02] ynezz: yes, I agree that for the seriously low-powered devices and embedded devices, OE still makes a lot of sense. But that's not necessarily my area of interest. I hope I can lower the bar enough so that the spitz becomes usable. Otherwise, I'll have to wait for some sexy hardware (the Palm Pre might be something I like) [08:02] cooloney: Do you happen to know if our kernels do anything with XN ? [08:03] tkmedia: This is not related to jaunty thouhg [08:03] tkmedia: a binary incomptibility would show up as a sigill, like init being killed [08:06] ok what is a good dev board .... i like the beagle boards but want a 7" lcd like the samsung [08:10] tkmedia: DO you need 7"? The NetWalker has 5" and is a complete netbook to boot. [08:12] prefer a little larger but will look into it thanks [08:13] You could also get one of the 7" USB displays. As long as you get one that uses DisplayLink it ought to work with lucid+ [08:13] (or if it doesn't, complain to me about it, and I'll try to fix that) [08:13] tkmedia: in month or so, there should be LCD+Touchscreen avialable for BB from Tincantools [08:14] persia: sorry, have no idea about that? what's XN? for fsl-imx51? [08:14] yes I want something that could be wall mounted [08:14] tkmedia: Always Innovating Touchbook may be something to check out [08:15] cooloney: According to the ARM wikipedia page, XN is a technology available in newer ARM cores that it similar to NX for x86. I'd like to see us enable that if we can. [08:15] Laibsch: Have they solved the shipment delay issue? [08:15] no idea [08:15] I was just visiting their homepage this minute [08:16] which is why I mentioned it [08:16] what backlog do they have? [08:18] interesting [08:18] nice form factor [08:18] Laibsch: I heard it took a couple months to get delivered. I'd be glad to be wrong. [08:19] ynezz: I believe specialcomp.com also has some sort of touchscreen, though probably low-res. [08:20] When I was shopping around for a new netbook last month I had a brief look at it, but was disappointed by 512MB RAM only. So, I went for a pinetrail atom instead :-P I'm very happy so far. [08:20] DanaG: that show dog board from tincantools should have 800x480 for price about $149 [08:20] DanaG: 7" [08:20] forget to mention that [08:21] what's the difference between zippy and zippy2? [08:21] ynezz: Which driverdoes it use? [08:21] I see no LCD at tincantools. [08:21] persia: dunno :) ask prpplague on #beagle [08:21] oh yeah, I used these kernels: http://rcn-ee.net/deb/kernel/beagle/ [08:22] ah, 10/100 in zippy2. [08:22] DanaG: it should be available in month or so [08:22] ynezz: Oh, it's a special Beagle expansion? [08:22] * persia was hoping for something generic [08:22] persia: ok, i see, just a quick digging [08:22] cooloney: If you can get that to work, the security team will love you :) [08:22] it is available since ARMv6 [08:23] Right, but I don't think we ever turned it on. [08:23] persia: yes, beagle related [08:23] #define PMD_SECT_XN (1 << 4) /* v6 */ [08:24] persia: but i am not sure how to use it. [08:24] persia: need some time to take a look [08:24] persia: I think Kees had a look and flipped a logic bug in arm code [08:25] So I actually think it's working and enabled [08:25] lool: Really? That's different than what I last heard, but I would be glad to have missed something. [08:25] cooloney: Cool. Maybe check with kees: if lool is right, nothing to do. [08:25] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/364358 http://www.outflux.net/blog/archives/2009/11/24/missing-kernel-features-in-arm/ [08:26] Launchpad bug 364358 in linux (Ubuntu Jaunty) (and 1 other project) "ARM: image is running with READ_IMPLIES_EXEC (affects: 1) (dups: 1)" [Undecided,Fix released] [08:26] cooloney: ^ [08:26] So I'm pretty XN works now [08:26] Cool! [08:26] +sure [08:26] I caught the original blog post, but not the followup. [08:28] what does "ASLR" stand for? [08:28] http://en.wikipedia.org/wiki/Address_space_layout_randomization [08:29] Makes it harder to take advantage of buffer overflow exploits, poke exploits, etc. [08:35] ah. [08:35] anyway, bedtime now. =þ [08:35] lool: thanks, [08:36] cooloney: Did you manage to look into the kexec problem? [08:36] and from the code arch/arm/mm/mmu.c [08:36] lool: yeah, we found a way in imx51 and mvl-dove [08:36] i prepared a kernel package for versatile alreayd [08:36] and going to test it now [08:36] if you wanna test, please take a look at this bug [08:37] https://bugs.launchpad.net/adana/+bug/517841 [08:37] cooloney: Error: Bug #517841 is private. [08:38] persia: XN bit is enabled when arch >= ARMv7 [08:38] http://kernel.ubuntu.com/git?p=roc/ubuntu-lucid.git;a=shortlog;h=refs/heads/kexec-versatile is the branch [08:38] http://people.canonical.com/~roc/kernel/kexec/ has the binary kernels [08:41] yeah, [08:41] but we still have to patch the kexec-tools [08:42] cooloney: That's fine. [08:44] Only for initramfs support though [08:46] lool: do you mean another issue about initramfs on versatile? [08:47] lool: i saw your config patch was merged [08:47] cooloney: Didn't yet try with [08:47] my patch in [08:47] cooloney: But we should really fix the initramfs issue [08:48] perhaps it's a similar problem actually! [08:48] perhaps our kernel is too big! [08:48] I didn't think of that [08:48] yeah, the issue is very similar, without patching the kexec-tools to increase the size [08:48] we can not kexec reboot the kernel [08:48] cooloney: Question [08:49] it looks like the similar in qemu [08:49] cooloney: the kernel knows where it's loaded, how big it is, and where the initramfs is supposed to me [08:49] cooloney: Don't you think the kernel should test whether kernel start + kernel size < initramfs start? [08:50] lool: normally, the bootloader should take care of that, such as uboot or qemu [08:53] cooloney: Don't you think it's a good idea to have such a sanity check to avoid debugging kexec like we did? [08:55] cooloney: With your kernel, I still can't load initrds *gah* [08:55] cooloney: I think it's due to the same bug as for kexec, or similar [08:56] cooloney: Do you have a recipe for converting a vmlinuz to a vmlinux? [08:56] lool: you wanna try vmlinux, right? i can uploaded for you [08:57] cooloney: Would be nice, thanks [08:57] I do see "cramfs" in the list of attempted file systems now; but it doesn't work [09:00] cooloney: So with your kernel to run qemu and loaded with kexec, it still hangs as before [09:00] "Starting new kernel" and nothing more [09:00] ok [09:00] there is no "Uncompressing...," right? [09:01] cooloney: Let me try with the serial console trick [09:01] I get more output in this way [09:01] * ogra glares at klibc buildlog ... -march=armv4 -mtune=strongarm [09:01] cooloney: Well using an uncompressed kernel might improve the test; let's try with one [09:01] hrm [09:02] lool: no problem, i am uploading, but it will take some time [09:02] due to the slow connection at my home [09:03] cooloney: Press the "FAST" button below your modem [09:03] sometimes it's labeled TURBO instead [09:03] ogra: Please fix :) [09:03] persia, well, thats not the cause of the ftbfs [09:04] Yeah, but :) [09:05] lool, isnt that a software switch that needs this proprietary program from www.modemspeedier.com ? [09:06] ogra: Depends on the modem. The better class have external controls that do the same thing as the extended AT sequences. [09:07] heh [09:10] cooloney: Updated the kexec/versatile bug [09:10] lp #518567 [09:10] Launchpad bug 518567 in linux (Ubuntu) (and 1 other project) "armel/versatile: Can't kexec (affects: 1)" [Undecided,New] https://launchpad.net/bugs/518567 [09:14] cooloney: Found how to convert the image (I think) [09:15] Hmm not sure [09:16] I get no vidoe output, so seems my vmlinux is busted [09:18] lool: i found 2 vmlinux in my build dir [09:18] one is 61M, [09:18] one is 3M, which is not for this [09:19] lool: or just Image? [09:19] cooloney: I think we want vmlinux [09:19] cooloney: but you can strip it [09:19] vmlinuz is stripped and gzipped which is why it's much smaller [09:20] My vmlinux is 6.3 MB so that seems about right [09:20] ok, will do that [09:21] cooloney: YES! [09:22] cooloney: So booting your vmlinuz and kexecing the vmlinux I created works [09:24] cooloney: So don't bother uploading [09:24] So many problems here, vmlinuz loading broken, vmlinux boot broken, need to test initrd support... [09:26] ok, understand now [09:26] you convert the vmlinx from my vmlinuz [09:26] and kexec that, right? [09:27] Yes [09:28] ok, cool [09:29] ericm_: why do we use CONFIG_OABI_COMPAT=y ? [09:29] cooloney: That's a good workaround, but would you be interested in chasing the other issues? [09:29] asac, that's for old ABI binary to be still able to run [09:29] asac, it's harmless - any issue you found related to this? [09:31] lool: i'd love to, [09:31] lool: Are you certain that we don't need to use qemu to support ppc64 on ppc, sparc64 on sparc, and amd64 on i386? [09:31] persia: I'm not, I applied the same heuristics as the qemu Debian package [09:31] OK. I'll just follow along then. [09:32] persia: I think it's only possible to run ppc64 on powerpc if you have ppc64 hardware and you run a 64-bits kernel (with a powerpc 32-bits userspace) [09:32] ericm_: mvl asked why we still have that. i think they thought it would help if we'd drop it [09:32] iirc there were also some performance claims [09:32] lool: I think the same is true in every case in my example. [09:32] if you say it shouldnt hurt at all, fine. [09:32] persia: but I don't have hardware and I didn't want to write overly complex code I couldn't test [09:32] persia: Yes, I'm only giving an example [09:34] asac, so far no related issues with that [09:34] ericm_: we could get rid of OABI. We don't care about letting older ABI binaries run on Ubuntu... [09:34] ericm_: but is there any reason to keep it? e.g. EABI is already really really old [09:34] right [09:35] persia: Similarly, it might be possible to use qemu-x86_64-static under i386, but I don't think we actually have a binfmt for that as it might mess up config_32 for users of amd64 hardware with a 64-bits kernel [09:35] Anyway, if someone wants to support using qemu there and has a patch which I can understand, I'm happy to review + merge it :-) [09:36] lool: I think you're right, and I don't want to fuss with it enough to try to fix it now. [09:36] ericm_: I remember that I turned it off on FSL [09:37] asac, amitk, no specific reason, just want to keep a certain degree of backward compatibility, but it's OK to remove I agree [09:37] asac, amitk, it's actually not very old, EABI became popular in less than 2 years [09:38] ericm_: with the distro compiled for armv7+, backward compatibility is not one of our stated goals :) [09:38] amitk, agree [09:38] and we want to make sure that we run all EABI code. Debian does a great job of supporting OABI and EABI as it is. [09:39] Does OABI support hurt? [09:39] lool: is there any option in qemu to enable a host directory to share with the running qemu virtual system [09:39] ISTR it caused some weird bugs on dove [09:40] well, in some cases, that depends on the source code availability to be recompiled with new EABI and new toolchain [09:40] cooloney: There is, but I don't use it [09:40] lool: ok, [09:40] cooloney: Consider either a nfs export if you have that, or just loop mount your image [09:40] (I do the latter) [09:40] but it's not always true - esp. in some areas source code is not available, but anyway those are corner cases [09:40] cooloney: [09:40] http://people.canonical.com/~lool/loop-mnt-do [09:41] lool, I don't think OABI support is harmful - so far no evidence [09:41] cooloney: loop-mnt-do some.img [09:41] ericm_: I think there was a suspend resume bug under dove triggered by this config [09:41] lool, that's caused by other issue but could be worked around by turning this option off [09:42] lool, Marvell has provided a right fix to that bug [09:42] lp #453682 [09:42] Launchpad bug 453682 in linux-mvl-dove (Ubuntu Karmic) (and 2 other projects) "late resume failure on dove (affects: 2)" [High,Fix released] https://launchpad.net/bugs/453682 [09:42] ericm_: I agree, this bug is fixed, I just don't know whether OABI_COMPAT is exposing us to more of such bugs, or whether it's truly harmless [09:44] lool, so far none - I tend to keep a certain backward compatibility, but as amitk said, this might not be necessary, and I'm totally fine to turn this off if everyone agrees [09:44] The only other reasons I can think of to drop it: * size of the kernel (but then it's a pig anyway), * security issue in one of the OABI code pathes (no track thereof until now though) [09:45] lool, fair enough [09:45] ericm_: Frankly, I have no opinion either way; I'm just curious of what would justify the config either way -- as to be able to answer questions on this choice [09:46] I didn't face someone running an OABI binary on Ubuntu so far, and didn't have to run one myself; perhaps it's useful for e.g. flash tools or proprietary software like skype or flash? no idea really [09:46] lool, could you include me in the CC loop when discussing these config options with Marvell, I know they intend to keep their kernel config as close as ours so to minimize the future developing effort [09:46] i doubt it [09:46] ericm_: I actually don't discuss this with marvell myself [09:46] (flash/skype) [09:47] ericm_: If I ever do, I'll Cc: you :-) [09:47] lool, thanks [09:47] * lool is just polluting the amitk/ericm discussion out of curiosity [09:47] ericm_: amitk: so i take it that we can drop this? /me goes files a bug [09:48] asac, thanks [09:49] bug 534277 [09:49] Launchpad bug 534277 in linux-mvl-dove (Ubuntu) "disable OABI_COMPAT (affects: 1)" [Medium,Triaged] https://launchpad.net/bugs/534277 [09:51] cooloney: is that on for -fsl too? [09:51] (see above) [09:52] disabling oabi compat gives a tiny performance improvement on making syscalls [09:52] good... we want performance ;) [09:54] then you should start with disabling the PIE binary stuff which has major impact in performance [09:55] the PIE/address randomizing stuff is snakeoil for security on 32bit archs anyway [09:58] asac: i just checked that [09:58] it is disabled in fsl-imx51 [09:59] ericm_: cooloney: ^^^ what suihkulokki said about PIE is very pertinent. [09:59] grep -r CONFIG_OABI_COMPAT ../Ubuntu/fsl-imx51-lucid/debian.fsl-imx51/config/ [09:59] ../Ubuntu/fsl-imx51-lucid/debian.fsl-imx51/config/config.common.ubuntu:# CONFIG_OABI_COMPAT is not set [09:59] roc@roc-macubuntu:~/Work/qemu-arm$ [09:59] cooloney: I disabled it very early in Karmic I think [09:59] amitk: yeah, thx, man, heh [10:07] suihkulokki, what is PIE binary, sorry? [10:09] http://en.wikipedia.org/wiki/Position-independent_code#Position-independent_executables [10:13] so we need to disalbe that PIE stuff in kernel? [10:13] will some apps fail to run due to that? [10:14] we should try :) [10:14] if the performance penalty is really that high it might be worth to look at [10:16] Um, why? [10:16] PIC sounds more familiar to me, but anyway - how's this related to oabi? [10:17] PIE isn't that useful for security on 32-bit architectures, but PIC is critical for sane shared libraries. [10:18] And we probably have to unwind some other things: kees implemented the ASLR stuff a while back. [10:18] ericm_: its not related to OABI, it is related to performance [10:18] persia, oh, i meant pie [10:19] err [10:19] pic [10:19] ogra: no, you meant PIE ;) [10:19] * ogra curses the similarity of all these abbrev.'s [10:19] that's true, PIC hurts performance a bit [10:19] ericm_: no, we are talking about PIE [10:19] PIC hurts perf, but it necessary for .so [10:20] why do we need PIE anyway? [10:20] i have no idea about PIE stuff as well as ericm_ [10:20] Right. We aren't giving up PIC. Once we have PIC, PIE doesn't generally matter that much, performance-wise. [10:20] and what kind of app is using PIE binary [10:20] persia: so PIE is an older trick than PIC? [10:21] ericm_: for security, It randomizes the address space layout [10:21] lool, apparently I missed the discussion of kexec vmlinux, it looks the arm kexec-tools doesn't support vmlinux/vmlinuz, but the one generated with objcopy can be used directly by kexec to avoid the zImage uncompressing code overwritting initramfs data issue === Guest78773 is now known as NCommander [10:21] cooloney: PIE just means the *entire executable* is PIC. [10:21] and give a better performance since uncompressing can be skipped [10:21] so there is no well-known location for the executable code [10:22] but we'll need to talk to the security team about disabling it for ARM. They might have other views. === NCommander is now known as Guest33867 === mcasadevall_ is now known as NCommander [10:29] lool: I assume you are using glibc for ubuntu-arm? Have you guys considered eglibc? The OE toolchain guru swears by it. [10:30] Laibsch: Have you checked? I think we are using a variant of eglibc [10:31] persia: no, I have not [10:31] "assume" [10:31] I thought it was quicker to just give that information and let lool decide what he wants to do with it [10:31] I wouldn't even know where to check ;-) [10:31] Laibsch: It's almost always more efficient to investigate a bit :) [10:31] Or ask questions generally. [10:32] we use eglibc by default [10:32] on all arches iirc [10:32] persia: I did ask, see above [10:32] By "generally" I meant "without highlighting any individual" :) [10:32] morning persia [10:32] NCommander: So it is :) [10:33] persia: I'm trying to help by pointing out possible lessons learned for ubuntu-arm from what I know about OE. If I need to finish an IT education first before being allowed to do that, I'll just simply stop. Becuase my time is limited. [10:34] OE is nifty because they cross-compile everything, which makes it a lot easier to build than say Ubuntu which requires native building [10:34] it's both a blessing and a curse, I guess [10:35] Laibsch: indeed, some packages are mindbogglingly difficult to cross-build [10:35] * NCommander glares at mySQL [10:35] Laibsch: It's not about an education. It's just about trying things, and asking questions not of specific folk so that they aren't distracted if someone else has the answer. [10:36] * NCommander sighs [10:36] we've spent more time discussing this now than it will take an expert to decide what to do with the info [10:36] I'm not an expert [10:37] if you want me to become one before I can point out possible differences then I'm sorry, I can't do that [10:37] Laibsch: You've taken that wrong. My apologies. [10:38] I will try my best not to waste people's time [10:38] But there's two sides to the equation [10:38] Absolutely :) [10:38] lool's time and mine. I'm looking at overall efficiency. I think that may be where our diffrences are [10:39] It will cost me an immense amount of time to understand the toolchain issues [10:39] it will be only seconds to either discard or decide to look further into it for an expert [10:39] hence the decision I made [10:39] btw, no offense taken, don't worry [10:40] Cool! [10:43] funnily i cant find the public discussion for it, but we switched to eglibc in karmic [10:43] great [10:43] * amitk remembers it being posted to ubuntu-devel [10:44] I understand that ubuntu on arm still has some speed issue, though, correct? [10:44] Sorry, I was interrupted by someone at my door [10:45] lool: for the kexec on versatile [10:45] hmm axis build failure looks odd https://edge.launchpad.net/~asac/+archive/armel1/+build/1543870 [10:45] is java working at all on armel atm? [10:45] lool: you mentioned kexec -l vmlinux works on your side [10:46] lool: is on versatile hardware? [10:46] cooloney, ericm_: http://people.canonical.com/~lool/vmlinuz-to-vmlinux [10:46] lool: but failed on qemu, right? [10:46] That converts a vmlinuz to vmlinux [10:46] lool: got you, thanks, [10:46] cooloney: It's in qemu [10:47] cooloney: a) I can't qemu-boot the vmlinux kernel (unrelated to kexec), only the vmlinuz one b) I can't kexec the vmlinuz kernel (original bug); that seems to be a bug in the way kexec choses addresses (perhaps) [10:47] cooloney: I don't have versatile hardware (probably nobody does around here); I just use qemu [10:48] lool: understand. i cannot kexec vlinux, it does not work on my qemu [10:48] lool: right, just was confused by your post in the bug [10:48] heh [10:48] 'I can't boot the vmlinux in qemu though.' hehe [10:49] cooloney: I need to update the bug again [10:49] i played versatile hw before, so i assume you got it [10:49] lool: ok [10:49] That was after testing your kernel, but before testing vmlinux [10:49] lool: let me try your vmlinuz-to-vmlinux [10:49] cooloney: I don't have it; we just use versatile because it's well supported in qemu [10:52] cooloney: you need to pipe the output [10:52] cooloney: e.g. vmlinuz-to-vmlinux ~/yourvmlinuz > output-vmlinux [10:53] lool: yeah, just got an vmlinux file with the pipe after the funny symbols popped up on my screen w/o pipe [10:54] thumb2 rebuild ftbfs: http://paste.ubuntu.com/390975/ [10:55] lool: OMG, the vmlinux generated by your script works with kexec [10:55] lool: cool [10:55] asac: Not bad at all! [10:55] ~4% of the rebuilds [10:55] Laibsch: So as pointed out above, we use eglibc by default everywhere, just like Debian [10:55] great === ogra_ is now known as ogra [10:56] suihkulokki: Do you know of public benchmarks of PIE versus non-PIE on armel? [10:56] anybody here using a native arm compile host coupled with a bunch of icecc clients? [10:56] I can expect that basically any security feature has a cost, but I wish we had some data to quantify [10:57] then we can comfirm what patches need to be applied into our master.versatile, fsl-imx51, mvl-dove [10:57] Laibsch: To clarify, there is exactly one source packages pool which is the Ubuntu archive; the Ubuntu armel port uses the very same source as the Ubuntu Desktop Edition for instance [10:58] cooloney: Let me test a pristine vmlinuz to see whether your patches are required [10:58] yes, that is my understanding [10:58] and that is the benefit of ubuntu-arm over OE imho [10:58] it will likely scale better going into the future [10:59] IMHO, s/likely// in the above sentence :) [11:00] future is always uncertain ;-) [11:02] its worked for Ubuntu for over 4 years now... [11:03] and in the Linux kernel for much longer (embedded -> PC -> mainframe) [11:03] lool: thanks please update the status of launchpad [11:04] cooloney: done [11:04] amitk: right now, I think OE-derived stuff is more usable. the debian-arm project apparently predates OE, yet I would venture to guess that Angstrom is more usable currently than debian-arm. [11:05] Depends of the purpose [11:05] OE doesn't provide an end-user installer, or security support [11:06] or easy upgradeability [11:06] People running Debian on ARM NAS devices care about these [11:06] And it works great for that use case. [11:06] I know a bunch of folks happy with Debian on handhelds as well. [11:07] Laibsch: for a different definition of "usable" from our typical users. [11:07] OE is not meant to provide that. That would be distro stuff [11:08] ... developers as well, in fact [11:08] an end-user installer in that sense may not be necessary [11:08] devices have traditionally been flashed with a complete rootfs [11:09] upgradeability is something that Angstrom does care very much about [11:09] security is indeed a very weak point [11:09] Laibsch: That only works for pre-sold stuff, and even pre-sold stuff may want a refresh for a variety of reasons (e.g. install Kubuntu Netbook on a Netwalker) [11:09] but there's been some work there lately [11:10] persia: what do you mean pre-sold stuff? [11:10] I don't understand what you are trying to say [11:10] err, stuff sold pre-installed. [11:10] i think he means pre-installed [11:10] no, that is not true [11:10] * persia goes to find calories in hopes of thinking better [11:11] I'm not aware of any device with angstrom installed as shipped (althought that may have changed lately) [11:11] Laibsch, what we want is that your sister can buy that arm netbook ... and if she doesnt like the perinstalled OS is able to install ubuntu on it and use it like on x86 with no drawbacks [11:11] sure [11:11] (and without prior computer knowledge) [11:11] that's how OE got staretd [11:12] people replaced Sharp ROM with OZ ROM for example [11:12] your sister would be able to replace os-blah on her arm netbook with OE ? [11:12] so, I don't understand the point being made there [11:12] would that even be possible without knowing how to use a serial console ? [11:12] of course [11:13] you guys seem to have some serious misconceptions [11:13] no, i've just seen a lot of hard to work with arm hardware :) [11:13] I think it's much easier to change the OS on a Z with OE-derived stuff than put Ubuntu on it [11:13] Laibsch: are you surprised? this is an ubuntu chennel :) [11:13] and i want to meet your sister ! [11:13] *g* [11:13] My sisters are older than me and married [11:14] sorry ;-) [11:14] heh [11:14] Laibsch: it's a bit like talking about the benefits of perl on #python [11:14] heh [11:14] well, it's good to know what else is out there [11:14] and I think there is a lot that can be learned from OE [11:14] kblin, nah ... OE surely has its advantages [11:14] so that the wheel doesn't need reinvention [11:14] ogra: good point [11:15] but there is a reason why endusers pick ubuntu over gentoo on theirt x86 machines :) [11:15] kblin: Oh don't worry we often debate python versus shell here [11:15] There was no alternative to OE at the time it was invented [11:15] native compilation was not possible [11:15] and i think the same reasons apply if you look at OE vs ubuntu-arm [11:15] that's changing and that's why I'm considering to switch [11:16] lool, well, if asac joins the discussion there will also be C involved :) [11:16] You need to look back 5+ years when OE came to life [11:16] sure [11:16] there was no ubuntu-arm back then [11:16] Laibsch: the reason why I run ubuntu on my ARM boxes is one of convenience rather than a technical one [11:17] Laibsch: It is safe to say that most people here have played with Zaurii, OE, familiar, etc. in a previous life. [11:17] then it's pretty amazing to read "OE is hard to install" [11:17] for two reasons [11:17] 1) you never install OE on your device [11:17] so? [11:18] 2) OE-derived distros do provide an easy to use installer mechnism (at least for the devices I'm familiar with) [11:18] Folks, I'm not sure the Ubuntu versus OE discussion is leading anywhere [11:18] yeah, lets turn it into a gnome vs kde one rather ! [11:18] lool: I'm not sure anybody is trying to convince anybody else [11:18] Different projects stand in different states and fit different people; I'm happy to discuss specific things we can rip from OE if there's something we can easily rip right now and it fits with the priorities of Ubuntu ARM [11:19] for me it's an exchange of facts, more than anything else [11:19] * amitk gets back to real work [11:19] lool: armv5 support? ;) [11:19] kblin: good idea! [11:20] lool: cheap shot, I know :) [11:21] Laibsch: not really important, ogra's sister won't buy a netbook with an armv5, so that's not a problem :) [11:21] she only buys what i tell her is easiest to use for her :) [11:22] cooloney: https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/534324 [11:22] Launchpad bug 534324 in qemu-kvm (Ubuntu) "Can't run uncompressed (vmlinux) kernels (affects: 1)" [Undecided,New] [11:22] * kblin gets back to work [11:22] cooloney: So a vmlinux from the archive vmlinuz just works [11:22] oh my ... so klibc defines armv4 and tunes for strongarm upstream [11:22] hrm [11:23] cooloney: So your patches/build aren't needed to load vmlinux; perhaps these are needed for initramfs? [11:23] kblin: Oh it's absolutely desirable [11:23] * ogra was hoping that was a debian setting from rules [11:23] kblin: I have some thoughts on that, but it wasn't really a high priority until now [11:25] lool: like doing two builds? [11:25] Wow, I end up with apex on my versatile install; I bet the kernel did it [11:25] kblin: I don't think we would build this all the time [11:26] kblin: What would be ok is taking Ubuntu's armel archive, using some clever machinery to rebuild everything a couple of times, and storing this new archive somewhere else [11:26] Where that machinery could either be an expensive set of ARM hosts or qemu on a lot cheap x86 hosts (such as EC2) [11:28] apw: I'm considering a d-i upload; do you plan uploading linux-fsl and linux-mvl this week? if you do, I'll hold it a bit [11:28] lool, yes i think i have patches pending on both branches [11:28] i'll have a look shortly and let you know ... [11:29] Thanks [11:30] lool, apex is in universe [11:30] lool, but only moved out of the d-i deps recently [11:30] so it depends when you installed [11:32] I'm not sure why it got pulled really [11:32] I created the chroot with debootstrap [11:32] Hmm it might be the d-i build-deps [11:32] Right [11:32] seeing that CPU cycles on arm are still scarce, I'd like to reiterate my earlier question. Anybody here using a native arm compile host coupled with a bunch of icecc clients? [11:33] So nm, just my setup [11:34] Laibsch: Just use the emulation if you can't do native. It's not that slow. [11:34] I'm really interested in that question, though. [11:34] I don't think anybody here does that [11:34] I see [11:34] I think it's used in the OBS, in the Xandros ARM builds, and perhaps in the mojo tools [11:35] Any technical reason to make that infeasible? [11:35] OK [11:35] Maybe I'll have a bit of fun with something like that, too [11:35] We just use different solutions [11:35] I've previously used OE and distributed that with icecc [11:35] It worked pretty nicely [12:21] JamieBennett: https://launchpad.net/ubuntu/+source/fio/1.33.1-1ubuntu1/+build/1550048/+files/buildlog_ubuntu-lucid-ia64.fio_1.33.1-1ubuntu1_FAILEDTOBUILD.txt.gz ;) [12:21] * JamieBennett looks [12:21] its ia64 [12:21] /build/buildd/fio-1.33.1/verify.c:907: undefined reference to `write_barrier' [12:22] guess we can ignore it ;) [12:22] unless you see the problem right away [12:22] Why is that code being included on IA64 ? [12:22] not sure [12:22] most likely the problem is that its not included :;) [12:22] the symbol isnt defined [12:22] e.g. it lacks a ia64 implementation [12:23] Its ARM specific though (in arch/arch-arm.h) [12:23] or the ia64 implementation currently in the code is not picked up [12:23] JamieBennett: verify.c [12:23] * JamieBennett didn't touch verify.c [12:23] ./arch/arch-ia64.h [12:23] JamieBennett: #define nop asm volatile ("hint @pause" ::: "memory"); [12:23] #define read_barrier() asm volatile ("mf" ::: "memory") [12:23] feels like its a missing _ [12:24] #define writebarrier() asm volatile ("mf" ::: "memory") [12:24] simple fix we could try in the next upload [12:24] asac: still don't understand what the current fix could of done to effect that unless IA64 was broken before [12:26] JamieBennett: its not a regression [12:26] the problem existed before [12:26] (i am quite sure) [12:26] asac: so yes, missing '_' it seems [12:26] sorry if i made you feel that way ;) [12:26] JamieBennett: ok. have you updated the patch? i can just add the _ for next upload [12:26] asac: np [12:27] asac: I was looking for what I had 'broken' ;) [12:27] heh :) [12:27] this time it wasnt you [12:27] :) [12:27] I'll update the patch and attach it to the bug [12:28] unless its easier for you to just do it ? [12:30] i will wait for you === mcasadevall is now known as Guest20793 === Guest20793 is now known as NCommander === dl9pf_ is now known as dl9pf === dl9pf is now known as dl9pf_ === dl9pf_ is now known as dl9pf [13:16] asac, so you were complaining about http://people.canonical.com/~ogra/babbage2-lucid-20100211-3.png boottimes ... i did a test on a similar scaled x86 system with the same software ... http://people.canonical.com/~ogra/celeron-M-lucid-20100308-3.png [13:16] i dont think we look so bad on babbage compared to that [13:17] (note the celeron has even 10MB/s higher disk throughput) [13:19] ogra: when is the UI up? [13:19] e.g. what do i need to look for? [13:19] netbook-launcher [13:19] and then gnome-panel [13:19] so its 50s v. 60s? [13:20] or 35 vs 45 [13:20] depends what you look at [13:20] launcher is up very fast [13:20] panel has 10-15s delay [13:20] but its definately not arch specific if you compare two similar systems [13:21] (similar slow) [13:30] lool, bah, you broke rootstock packaging ... "qemu-kvm-extras-static | qemu-kvm-extras" .... qemu-system-arm is still needed for the image building and system setup, oem-config installation etc [13:36] ogra: Back then, I think it used to use either system emulation or syscall emulation but not both, didn't it? [13:37] nope [13:37] it always did use qemu-system-arm for the system configuration, user steup and preparation for running on real HW [13:38] mono was always my showstopper [13:39] syscall emu is only used for the debootstrap part (which is the smallest bit of rootstock) === mcasadevall is now known as NCommander [16:24] lool, soo, our versatile kernel ... would you expect it to do thumb2 instructions properly ? i now ran a rootstock build of karmic ubuntu-desktop under lucid that seems to properly finish (not done yet but all the steps where lucid hangs are definately done) ... that somnewhat points to userspace imho [16:25] i wonder if the versatile hack that enables a v7 cpu actually enables the needed bits and pieces to execute lucid binaries [16:26] (though its still weird that it just silently hangs withouot errors, segfaults or anything) [16:26] ogra: I don't understand what you're saying [16:26] lool, well, you know about my hang of qemu [16:26] ogra: I can run a lucid thumb2 userspace under qemu-system-arm with our versatile kernel [16:27] but can you run it under heavy IO disk load ? [16:27] I don't see how that relates to thumb2 [16:27] * ogra refers to bug 532733 [16:27] Launchpad bug 532733 in qemu-kvm (Ubuntu) "apt/dpkg in qemu-system-arm hangs if a big task is installed (affects: 1)" [Medium,Incomplete] https://launchpad.net/bugs/532733 [16:28] well, i dont know why it hangs but installing karmic ubuntu-desktop doesnt expose the hang [16:28] ogra: did you strace the processes as I suggested? [16:28] while using a lucid userspace inside qemu does [16:28] yes, nothing [16:28] nothing? [16:28] well, i straced apt ... [16:28] It's certainly in one syscall, or its hung using all CPU; no? [16:29] no, nothing, it just stops [16:29] On which syscall? [16:29] * ogra will need to re-run ... i threw away the image to make room === bjf is now known as bjf-afk [16:30] these qemu-system-arm images start to eat my disk space :/ [16:31] ogra: You mean the expensive megabytes of your SSD :) [16:32] heh, yeah [17:09] What's the state of Lucid regarding arm support ? [17:10] dpkg goes segfault on my Touch Book.. [17:10] lucid is v7 and thumb2 [17:10] hmm [17:10] does your CPU support both ? [17:11] lemme see [17:11] * ogra thinks touchbook was omap ... some cortex-a8 so it should actually work [17:13] it's based on beagle board [17:13] thumb is supported, i'm not sure about thumb2 :( [17:13] right [17:13] it should be supported ... [17:14] how exactly does it fail ? [17:15] for example: "apt-get install something" it starts downloading but very soon says http method died unexpectedly (Segmentation Fault)) [17:15] thats not dpkg [17:16] and if i repeat it enough it will eventually get it all downloaded, but then dpkg fails to unpack packages because of Segmentation Fault [17:16] hmm, intresting [17:16] Yes they both segfault [17:16] we dont see that on imx51 or dove boards [17:17] According to elinux.org lucid does run on BB as well.. [17:17] where did you get the kernel ... and what kernel version are you running ? [17:18] The kernel is a mess.. provided by Always Innovating (the company selling TB) [17:18] what version [17:18] lucid needs .32 [17:18] 2.6.29 [17:18] alright [17:18] that's it :) [17:18] hmm, might be :) [17:18] thanks for all the help [17:18] welcome ... [17:18] there is a beagle kernel for lucid on the beagle wiki though [17:18] Meizirkki: this sounds like a hardware stability proble [17:18] m [17:19] not sure that has all the touchbook drivers though [17:19] Meizirkki: Is the segfault happening always at the same place? [17:19] lool, [17:19] yes [17:19] Meizirkki: Is it actually a "segfault", or is it e.g. a sigbus? [17:19] segfault [17:20] lool, knowing there are some hardware bugs.. it might be a hw stability problem as well [17:20] Meizirkki: Unless your libc/dpkg are heavily modified causing the segv, it rather points at hardware stability issues to me [17:21] Meizirkki: If random programs segfault, not just dpkg, then it's certainly the case [17:21] Meizirkki: Out of curiosity, where did you get it? [17:21] Touch Book ir Ubuntu ? [17:21] o [17:21] cant you buy it at AI ? [17:21] Meizirkki: the TB [17:21] I bought my Touch Book from AI [17:21] It's from the second batch i guess.. [17:22] Meizirkki: If you want to rule out userspace changes, you can debootstrap Ubuntu lucid into a local clean chroot, dpkg is stable for us [17:22] AI kernel is a bit strange too, size 5MB and it doesn't have any omap3 powersave stuff or even IP multicasting.. but some android patches.. [17:24] Meizirkki: So that it can run android! [17:24] instead of lucid :P [17:25] haha [17:26] I'm looking forward seeing a recent omap-pm kernel running on it though, they will never get 10-15 hours of USE with this kernel [17:26] (on one charge) [17:27] sure ... with the extra car battery attached :) [17:27] lol [17:28] it does 16 hours without wlan which is nowhere near enough [17:28] They'll send me a new keyboard-part for free => 12A extra battery :P [17:34] * Meizirkki boots up lucid [17:40] persia: poke [17:40] if [ ! -f "/usr/bin/build-arm-chroot" ]; then [17:40] sudo apt-get install qemu-kvm-extras-static [17:40] fi [17:40] DEBOOTSTRAP_COMMAND=qemu-debootstrap [17:41] persia: Sounds like DEBOOTSTRAP_COMMAND=qemu-debootstrap should be first and you should test with if ! which $DEBOOTSTRAP_COMMAND >/dev/null 2>&1 ... [17:57] Meizirkki: Cortex-A8 r1pX (typically r1p3) from OMAP34xx/OMAP35xx chips has quite a number of thumb/thumb2 hardware bugs [17:57] if you really want to use thumb, you need to apply some workarounds [17:59] Meizirkki: at the very least you need to have CONFIG_ARM_ERRATA_430973=y option in the kernel configuration [17:59] okay, thanks [17:59] and some of the fixes have to go to the bootloader [18:03] so without this option enabled, you are going to have segfaults in thumb code for sure. If it does not help, then your bootloader did not set IBE bit in AUXCR and you will have to fix it there too [18:05] Meizirkki: additionally your binutils package should be recent enough to have this workaround: http://sourceware.org/ml/binutils/2009-05/msg00297.html [18:05] thanks [18:06] good luck and if you get stuck, you can poke me regarding all this thumb stuff :-) [18:07] I'm stuck already :P as I'm not that familiar with the hardware.. but i'll at least file bug to AI so they can fix their kernel and u-boot :) [18:10] ok, that may be the best solution, don't forget to provide them with these errata numbers and links, if they have Cortex-A8 errata list pdf, they will be able to dig up all the necessary details from it === bjf-afk is now known as bjf [23:27] lool: Indeed. That's a much better way to do it.