**** BEGIN LOGGING AT Fri Mar 22 02:59:58 2013 Mar 22 06:30:35 hi Mar 22 10:53:49 hi Mar 22 13:59:32 I'm trying to get sbuild working on my Nexus 7 running the touch developer preview (because it's the most convenient reasonably modern ARM device I have root on - I'm doing non-touch-related stuff). However, I can't debootstrap because the relevant filesystems are mounted nodev. Remounting them dev, even from adb shell, doesn't seem to change anything. Does anyone know how to work around this? Mar 22 14:00:00 ugh Mar 22 14:00:19 adb should definitely override Mar 22 14:01:18 does mount still show it with nodev after a remount ? Mar 22 14:01:46 no Mar 22 14:01:56 cjwatson, did you mount /procc inside the container ? Mar 22 14:02:10 its not there by default due to PID namespace issues afaik Mar 22 14:02:20 I'm sshed in Mar 22 14:02:26 I thought that was enough Mar 22 14:02:42 seems to be there from ssh Mar 22 14:03:02 dont trust mtab :) Mar 22 14:03:13 cat /proc/net/dev ... see if the third level exists Mar 22 14:03:22 it does Mar 22 14:03:23 if not, it isnt mounted Mar 22 14:03:26 hmm Mar 22 14:03:55 I suspect maybe that the remount is ineffective because /data was already bind-mounted in some twisty way Mar 22 14:04:10 oh, yeah Mar 22 14:04:15 is it possible to get the android layer not to mount it nodev in the first place, and then I can reboot? Mar 22 14:04:38 well, yes, if you reboot the android layer Mar 22 14:04:41 err Mar 22 14:04:45 rebuild Mar 22 14:04:52 cjwatson: you can edit the ramdisk, I think there is normal fstab file Mar 22 14:04:55 ah, /init.rc maybe Mar 22 14:04:55 the mounting is done from /init.rc Mar 22 14:05:07 and init.rc is put in place from the initramfs Mar 22 14:05:17 you cant just edit it Mar 22 14:05:32 I can do it for you if you send me the boot.img, It is like 5min of work for me since I do it quite often Mar 22 14:05:34 Gotcha. Can I unpack/modify/repack the initramfs in-place? Mar 22 14:05:39 (fstab as well, they are both copied from initrd) Mar 22 14:05:41 Tassadar: I'd rather know how to do it myself :) Mar 22 14:05:46 okay Mar 22 14:05:53 (though thanks) Mar 22 14:05:58 you should be able to dd /dev/mmcblk0p2 to a file Mar 22 14:06:11 then you should be able to disassemble it with abootimg Mar 22 14:06:22 into initrd/kernel/config Mar 22 14:06:35 and indeed re-assmble it the same way Mar 22 14:06:36 no /dev/mmc* Mar 22 14:06:44 oh, android Mar 22 14:06:52 /dev/block/mmc* Mar 22 14:08:11 ok, let's see Mar 22 14:27:04 hmm, so I dded that out, unpacked, edited ramdisk/init.rc, repacked, updated boot.img with the repacked initrd.img, dded that back to /dev/block/mmcblk0p2, rebooted - no change Mar 22 14:27:36 after rebooting, /init.rc still has the original unchanged line in place Mar 22 14:28:02 weird, it should update from the initrd Mar 22 14:28:18 well, I conclude that I didn't successfully update the initrd, but I don't know why Mar 22 14:28:19 I'm pretty sure there is fstab file in the ramdisk Mar 22 14:28:22 did you edit fstab too ? Mar 22 14:28:47 that's not really relevant since the basic problem is that my init.rc change didn't take effect at all Mar 22 14:28:52 init.rc just calls something like "mount /data" Mar 22 14:28:55 init.grouper.rc actually does "mount_all thenameofthefstabwhichIforgot" Mar 22 14:28:59 not so Mar 22 14:29:00 fstab defines the options Mar 22 14:29:16 mount yaffs2 mtd@userdata /data nodev Mar 22 14:29:16 hmm Mar 22 14:29:21 that's not it Mar 22 14:29:29 there is an fstab but it doesn't go near /data Mar 22 14:29:36 no, we definitely dont use yaffs ... Mar 22 14:29:48 there should be an ext4 mount Mar 22 14:29:57 look if tehre is an fstab.grouper or so Mar 22 14:30:01 * Tassadar goes to grab boot.img to see what is actually inside Mar 22 14:30:03 and init.grouper.rc Mar 22 14:30:08 that overrides Mar 22 14:30:37 well, there is an fstab.grouper, so I'll edit that. That still doesn't explain why my init.rc change was ignored though Mar 22 14:30:57 yeah Mar 22 14:30:59 tell us what you did to rebuild the boot.img Mar 22 14:31:12 * ogra_ guesses just using abootimg Mar 22 14:31:20 since thats what i suggested Mar 22 14:31:53 yeah, ubuntu touch has fstab.grouper, just like normal android Mar 22 14:31:55 abootimg -x boot.img; sudo abootimg-unpack-initrd; vi ramdisk/init.rc; sudo abootimg-pack-initrd -f; abootimg -u boot.img -r initrd.img Mar 22 14:31:59 abootimg -u boot.img -r initrd.foo Mar 22 14:32:07 yeah Mar 22 14:32:27 * cjwatson tries again Mar 22 14:32:49 oh, where do abootimg-(un)pack-initrd come from Mar 22 14:32:53 * ogra_ didnt know these Mar 22 14:32:53 the abootimg package Mar 22 14:33:02 must be new :) Mar 22 14:33:13 i still use zcat/cpio usually Mar 22 14:33:22 but i guess they just do the same Mar 22 14:33:35 yeah, I figured I might as well use them to get cpio options right Mar 22 14:38:20 Aha, that did it! Thanks Mar 22 14:38:32 I guess I must just have failed to write back the modified boot.img before, somehow Mar 22 14:38:42 Sorry for the noise Mar 22 19:49:54 anyone here got an arndaleboard? Mar 22 19:51:39 ok :( Mar 22 20:10:12 ptl: yes Mar 22 20:48:45 Cortex A15 question Mar 22 20:49:16 Which platform is recommended for testing A15 + Ubuntu? Mar 22 20:49:27 Which dev boards are known to work? Mar 22 20:50:23 chromebooks are used by community people pretty widely Mar 22 20:52:20 ogra : the XE303? Mar 22 20:52:41 the arm one Mar 22 20:52:52 i dont think there is more than one Mar 22 20:52:57 Yeah, dual core Samsung Exynos chip Mar 22 20:53:02 right Mar 22 20:53:03 Okay.. Hmm.. Mar 22 20:53:24 the dev board equivalent is arndala i think Mar 22 20:53:33 *arndale Mar 22 20:53:46 *nod* Mar 22 20:53:57 I just got a new devboard, and I wanted another platform to compare it to Mar 22 20:54:05 nice Mar 22 20:54:05 Yeah, the Xen guys have been doing all their work on Arndales and Chromebooks. Mar 22 20:54:12 since getting Ubuntu up and running on this platform will take me a couple weeks Mar 22 20:54:14 I'm not really aware of any other widely-available A15s. Mar 22 20:54:22 infinity : There are none, that I am aware of. Mar 22 20:54:25 nexus4 Mar 22 20:54:47 infinity : I'd like to change that, but getting production-run quantities of A15 chips is hard Mar 22 20:55:27 nexus 10 has the exynos 5 as well Mar 22 20:55:38 right Mar 22 20:55:39 but that's not a platform I'll be comfortable poking at Mar 22 20:56:38 I'm talking to nVidia now Mar 22 20:56:53 since there's exactly 0 chance of getting TI chips Mar 22 20:57:01 why not ? Mar 22 20:57:05 omap5 is on sale Mar 22 20:57:18 in the new evm board Mar 22 20:57:29 Because I can't get a volume production quantity from TI Mar 22 20:57:47 and the IP they chose to put on the OMAP doesn't map well to an ATX form factor PC Mar 22 20:59:08 Also, PowerVR drivers… always an issue Mar 22 20:59:18 Nvidia at least handles OpenGL 4.x Mar 22 20:59:20 https://www.svtronics.com/index.php?route=product/product&product_id=33 Mar 22 20:59:32 the pandaboard that wasnt called panda ... Mar 22 20:59:37 Yeah Mar 22 20:59:39 Saw it Mar 22 21:01:52 The nvidia tegra4 T42 will probably end up being the chip though Mar 22 21:02:19 quad + 1, 2.0GHz has been verified and validated Mar 22 21:02:26 The @#$@#$ thing is the lack of PCIe on all platforms Mar 22 21:02:37 No PCIe on the Tegra4? Mar 22 21:02:47 Even the Tegra2 had PCIe. Mar 22 21:02:55 That's what the Trimslice's SATA hangs off of. Mar 22 21:02:57 really ? Mar 22 21:03:05 just like on the EnergyCore, it's got lockup issues Mar 22 21:03:05 i thought i saw PCIe mentioned Mar 22 21:03:26 It's the stupid AMBA bus to PCIe bridge that fails, when it gets out-of-order transactions Mar 22 21:03:34 locks up the AMBA bus, and that's that Mar 22 21:03:52 Brilliant. Mar 22 21:04:04 If you look at the latest IO block diagram for the Nvidia, you'll see that I/O no longer lists PCIe Mar 22 21:04:04 Kernel bug, or fundamental design flaw? Mar 22 21:04:11 fundamental design flaw, on die, in chip Mar 22 21:04:18 \o/ Mar 22 21:04:19 workarounds require changes to the chip Mar 22 21:04:33 thats what you call progress :) Mar 22 21:04:35 (adding a method to reset the bus) Mar 22 21:04:52 It's why Calxeda doesn't really acknowledge that there is a PCIe block on the die Mar 22 21:04:55 I've said it a few times this year already, but I can't wait to see what sort of ARM silicon AMD spits out. They can't possibly get so many things wrong. Mar 22 21:04:56 probably a fallout of not having a device partner at all Mar 22 21:04:56 same with Tegra Mar 22 21:05:00 same with NEC Mar 22 21:05:23 ogra : Has to do with using the Syn…ys IP Mar 22 21:05:43 Hey, at least the 10GigE works :) Mar 22 21:06:02 (Though, AMD has no plans for armv7 AFAIK, only armv8... Maybe they'll surprise me and do both) Mar 22 21:06:05 What's the other thing I need to have working .. one or two GigE interfaces are kind of "a requirement" when building ATX machines Mar 22 21:06:54 Martyn: If I had an ARM board with two GigE devices that could actually saturate both links, full duplex, I'd be a very happy man. Mar 22 21:07:07 infinity : Calxeda has that Mar 22 21:07:11 Get an EnergyCore card Mar 22 21:07:19 get ... heh Mar 22 21:07:23 Erm, does anyone make single EnergyCore anything? Mar 22 21:07:31 I don't need blades, I want a router. :P Mar 22 21:07:37 No, but you can ask Calxeda for one of the little dev boards Mar 22 21:07:42 it can take as little as one board Mar 22 21:08:01 It was originally called a "slingshot" when the first prototype boards were brought in Mar 22 21:08:02 If I knew how to get such a dev board, I'd already have one. Mar 22 21:08:09 infinity : just ask. Mar 22 21:08:18 Talk to Karl Mar 22 21:08:27 well, there is that "get" thing :) Mar 22 21:08:30 Care to introduce us? :P Mar 22 21:08:33 asking is cheap Mar 22 21:08:38 Unless things have changed so much .. I know that Calxeda joined the whole Linaro thing, so I know the platforms are out there Mar 22 21:08:56 Also, you can go play with it on the OpenStack instances they have available for public playtime Mar 22 21:09:17 thats a great idea ! Mar 22 21:09:23 Bonus points if those boards boot and look vaguely like a card in a full chassis. Would make my life so much easier, trying to do various crackful things. Mar 22 21:09:25 start up two instances, and talk to each other. They are likely going to be on two wholly different boards on the cluster Mar 22 21:09:28 infinity, run your router in an openstack instance ! Mar 22 21:10:01 ogra : Should work, right? Mar 22 21:10:12 Martyn: Openstack sort of defeats the purpose for me, since I'm interested in being next to the metal, not abstracted away. Mar 22 21:10:26 EnergyCore's are physicalized, not virtualized .. so he'll be playing with real hardware, at the metal Mar 22 21:10:35 ^^ Mar 22 21:11:01 infinity : That's the whole POINT of running ARM on OpenStack .. you're physicalized, not virtualized Mar 22 21:11:25 You're in a jail, and if things are still like when I was at Calxeda, it's using LXC Mar 22 21:11:26 Maybe I misunderstood, I thought current openstack-on-arm was lxc trickery and the like. Mar 22 21:11:26 * ogra_ kind of wasnt serious about running a router in a foreign cloud instance Mar 22 21:11:28 so you're going to be on the metal Mar 22 21:11:38 lxc is not "next to the metal". Mar 22 21:11:55 infinity : Close enough. Certainly closer than if you were on KVM Mar 22 21:12:01 I'm interested in booting and installing bare systems, not playing in containers. Mar 22 21:12:08 you're basically just in a fancy jail Mar 22 21:12:09 I have tons of ARM hardware to screw around in userspace with. Mar 22 21:12:18 meh, fair enough Mar 22 21:12:38 but if you want to play with a platform that lets you pump >1Gigabit on ARM, Calxeda is the only platform I can think of capable Mar 22 21:12:46 and LXC won't abstract you or slice you away from that Mar 22 21:12:54 Yeah, two disparate goals there. :) Mar 22 21:13:02 you'll still have full access to the interfaces, and fabric Mar 22 21:13:25 One goal is better/shinier enablement, which needs me to sit next to the metal. And I think I might honestly just take a flight to Boston and play with some of our crap in the datacenter there. Mar 22 21:13:32 The other goal is a personal home router. Mar 22 21:13:55 So, again, need real hardware for that, cause running my home router in an LXC container in another city might not work so well. ;) Mar 22 21:14:01 Ah, hold on .. looks like the SnapDragon also supports PCIe Mar 22 21:14:03 3.0 Mar 22 21:14:48 And, to be fair, I don't need full saturation for the home router, my internetses are only 250 Mbit. Mar 22 21:15:01 But that still demands more than I can get out of any ARM boards in my house. Mar 22 21:15:39 IP is by Global ... Mar 22 21:16:16 Hmm .. is there even PCIe support in the Linux SnapDragon kernel? Mar 22 21:16:40 Is SnapDragon multiplatform enabled yet? Mar 22 21:17:53 Not that that's relevant to the question, per se, but it probably makes PCIe enablement slightly more likely. Unless it's wildly different from other SoCs in how it works. Which it might be. Mar 22 21:30:16 Mrrf. Mar 22 21:30:24 Well, found a snapdragon dev board Mar 22 21:30:33 ex-pen-sive doens't even begin to describe it Mar 22 21:30:56 This is as expensive as the ARM development platforms for A15 when it first came out .. the one with the big Xylinx Spartan 7 on it **** ENDING LOGGING AT Sat Mar 23 02:59:58 2013