**** BEGIN LOGGING AT Wed Sep 21 02:59:57 2011 Sep 21 03:12:24 howdy. I would like to install ubuntu on an ARM machine for hacking/server usage Sep 21 03:12:40 dash: what kind of ARM machine Sep 21 03:12:45 but I don't know if a machine suitable for that exists :) Sep 21 03:13:01 twb`: that is my question! where can I find an ARM box that has, like, SATA connections Sep 21 03:13:12 and a non-tiny amount of RAM Sep 21 03:13:24 "box", it's not, but the Freescale i.MX53 QuickStart has SATA. Sep 21 03:14:39 Whatever Debian's armel porter boxes run (efikamx?) are probably good for that role Sep 21 03:15:01 yeah i was looking at the efika smarttop Sep 21 03:15:16 Which is a motorol^W freescale underneath Sep 21 03:15:22 The quickstart's definitely faster. Sep 21 03:15:36 (And Debian's new buildds are those) Sep 21 03:15:48 infinity: who do you buy one from? Sep 21 03:16:11 I got mine from DigiKey. Sep 21 03:16:14 I mean presumably they're BGA so you need to get a mobo+soc combination Sep 21 03:16:45 http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB Sep 21 03:17:09 Huh, I never heard of them but they sound big Sep 21 03:17:58 It's about 4 inches square... Sep 21 03:18:25 I meant the company Sep 21 03:18:35 "Digi-Key is the fourth largest electronic component distributor in North America" Sep 21 03:18:51 Oh. Yeah. Sep 21 03:18:58 http://search.digikey.com/scripts/DkSearch/dksus.dll?Cat=2621773&k=mx53 Sep 21 03:19:15 Assuming that works without my cookie... Their catalog can be annoying. Sep 21 03:19:35 That gives me: (Download)Save file to: dksus.dll Sep 21 03:19:44 Yeah, figured it might. Useful. Sep 21 03:19:53 This is why I avoid .com domains Sep 21 03:20:43 Just searching for mx53 and clicking on General Embedded Dev Boards will bring it up. Sep 21 03:40:21 GrueMaster: Grr. Despite this fs size bug, everything still works fine on one of my cards. :/ Sep 21 03:41:00 infinity: that looks nice. Sep 21 03:41:23 1GB RAM and sata connector means you could use it for something real :) Sep 21 03:41:52 pity it's the A8 instead of the A9, but whatever Sep 21 03:42:22 Yeah, A8 is its only failing, really. Well, that and being a dev board. :P Sep 21 03:43:13 meh, i've got gaffer tape :) Sep 21 03:44:17 i'm just looking for a dinky home server that i can build some software on Sep 21 03:44:26 to replace my thinkpad t42 whose fan just died Sep 21 03:44:59 dash: My MX53 is my Debian and Ubuntu mirror, among other things, when it's not busy rebooting for dev work. Sep 21 03:45:09 dash: Works fairly solidly. Sep 21 03:45:56 nice Sep 21 03:46:12 well i could always turn my old athlon back on Sep 21 03:46:25 but that's loud and hot :) Sep 21 03:46:43 Yeah, same reason most of my POWER systems aren't on. :/ Sep 21 03:49:55 hmm, welp Sep 21 03:50:10 this is the first piece of kit i've wanted this year that fry's hasn't had :D Sep 21 03:50:48 DigiKey is next day FedEx for 8 bucks (or maybe less in the US?), free for orders over 200. Sep 21 03:50:52 So, not the end of the world. Sep 21 03:51:32 At least, that's what they do for Canadians. Maybe they're more cruel to locals. :P Sep 21 04:02:19 1GB is pretty standard these days surely Sep 21 06:00:51 Holy crap Sep 21 06:01:05 why didn't i notice trimslice.com before i ordered that mx53 :) Sep 21 06:02:38 They're tegra 250s, not as nice Sep 21 06:03:12 oh really Sep 21 06:03:32 i haven't compared tegra vs cortex very closely Sep 21 06:04:29 tegra is a9 Sep 21 06:04:33 But no SIMD NEON Sep 21 06:04:53 And reflashing them is a PITA, you have to use stupid nvidia proprietary flashing tool Sep 21 06:05:10 oh right Sep 21 06:05:15 had to do that with my phone Sep 21 08:27:22 Note to self: next time doing a dist-upgrade within a chroot on a foreign architecture, do --download-only Sep 21 08:27:36 * twb watches dpkg chug along from within a qemu userspace emulation Sep 21 10:41:01 janimo, no updated mx5 images ? Sep 21 10:41:37 ogra_, apparently none with the newer jasper Sep 21 10:41:41 still at .60 Sep 21 10:42:23 why didnt infinity start a rebuild, do you know ? Sep 21 10:42:32 jasper should be long done Sep 21 10:47:17 no idea, I was asleep Sep 21 10:48:32 ok, there were issues with ca-certificates and a mozilla update Sep 21 10:48:53 seems new builds were started around 6am UTC by pitti Sep 21 10:49:13 so we should have them this afternoon (about 6h for one build) Sep 21 10:53:30 janimo, within the next 2h we should have them Sep 21 10:54:52 ok Sep 21 10:55:14 so let me find that silly wlan debug setting Sep 21 10:55:26 hello, I'd like to use ubuntu 10.10 without desktop ... the question is ... how disinstall gnome? Sep 21 10:55:51 morning Sep 21 10:55:56 janimo, phy0 -> rt2800usb_txdone_entry_check: Warning - TX status report missed for queue 2 entry 47 ... thats the message in dmesg you get thanks to it ... one every few mins Sep 21 10:56:20 then i will want to start my own QT/QML ... based on Qt 4.7.4 Sep 21 10:56:50 ogra_, ah, so not _that _ spammy - I thought it was flooding dmesg Sep 21 10:56:55 janimo, CONFIG_RT2X00_DEBUG Sep 21 10:56:59 it can actually be a good debugging clue Sep 21 10:57:00 is available a debian package for qt4.7.4 for arm with prebuilded libraries? Sep 21 10:57:19 well, spammy enough that you cant read the actual dmesg messages because of it at times Sep 21 10:57:51 its not as bad as one line per second, but still annoying and nothing for a release :) Sep 21 10:59:05 huge, I know there are qt 4.7.4 libs in Ubuntu Oneiric, technically debian packages but not sure it's what you're after Sep 21 10:59:05 sigh, but 6h for one desktop image build run is pretty bad, we will need way more livefs builders next release Sep 21 10:59:15 I put my usb SSD in and my CF And booted the daily server and things seem to have gone better Sep 21 10:59:18 but right now it's stopped at "Waiting for network configuration" Sep 21 10:59:22 ogra_, why does a debootstrap take that long? Sep 21 10:59:28 what else is happening there? Sep 21 10:59:34 janimo, i think for Qt they package upstream and dont sync Sep 21 10:59:49 (i might be wrong, but i think i remember something like that) Sep 21 11:00:05 janimo, which debootstrap ? Sep 21 11:00:14 ogra_, no idea, how do live images get built? Sep 21 11:00:17 you mean running it locally ? Sep 21 11:00:20 ah Sep 21 11:00:20 not by debostrapping initially? Sep 21 11:00:29 well, there si debootstrap involved Sep 21 11:00:40 did you ever use rootstock ? Sep 21 11:00:45 yes Sep 21 11:00:47 it functions pretty much the same Sep 21 11:00:57 huge: debian currently have 4.6.5 in testing/unstable. the quickest way to remove gnome are apt-get remove gdm and then apt-get install kdm Sep 21 11:00:59 but that did never take close to 6 hours here Sep 21 11:01:02 an hour at most maybe Sep 21 11:01:11 debootstrap -> apt-get install ubuntu-desktop^ Sep 21 11:01:18 then configure some stuff Sep 21 11:01:34 ah they happen natively that's why it is slow? Sep 21 11:01:34 and roll the whole into a filesystem image of any kind Sep 21 11:01:42 they have to Sep 21 11:02:42 while we dont really require fast disks for normal buildds (usually CUP and RAM are more important there), livefs builds totally depend on disk speed Sep 21 11:03:20 and thats something we heavily miss (even with fast USB disks you are limited to the bus speed) Sep 21 11:03:52 we shoudl consider an mx5 cluster for livefs builders, so we can use SATA Sep 21 11:58:42 hello, i've problems with ubuntu-omap4-extras, after installation ubuntu (10.10) does not work fine any more Sep 21 11:58:56 graphics does not work properly Sep 21 11:59:05 how to fix this issues?? Sep 21 12:07:10 some help? Sep 21 12:09:08 huge: are xorg running? Sep 21 12:09:26 huge: did graphics stop after you installed the package? Sep 21 12:10:49 yes ... after reboot ubuntu is starting in graphics mode but it is not usable Sep 21 12:11:14 xorg is running. Sep 21 12:11:27 my HW is pandaboard Sep 21 12:12:34 huge: fist check that your pandaboard gets enough power.. how many A can your powersupply deliver? Sep 21 12:13:25 huge: try reduce powerconsumption from the board by connecting keyboard and mouse to a self powered usb hub instead of directly connecting them to the board Sep 21 12:14:05 power supply is +5V Sep 21 12:14:38 huge: how many A at 5V can your powersupply deliver i want to know how many Watt (A *V) Sep 21 12:14:52 ah ... sorry Sep 21 12:15:06 2.4 A Sep 21 12:15:46 huge: ok thats a bit on the low side Sep 21 12:16:02 huge: do you have a watt meter? Sep 21 12:16:16 yes Sep 21 12:16:37 what to do? Sep 21 12:18:16 huge: check that you do not use more than 12W or else you risk a brownout when using the board Sep 21 12:18:27 huge: since you powersupply can only deliver 12W Sep 21 12:18:47 huge: a brownout will manifest itself like random crashes and segfaults Sep 21 12:19:06 huge: since the board will not get enough power Sep 21 12:19:24 janimo, did you care for mx5 vto be on the iso tracker ? Sep 21 12:19:35 huge: if you exceed 12W or are close to using 12W then buy a better powersupply Sep 21 12:19:37 pitti just asks in #ubuntu-release Sep 21 12:19:59 huge: that can deliver say 4A 5V+ Sep 21 12:22:07 ogra_, no idea. I know too little about the iso tracker and what the implications are for an image to be there Sep 21 12:22:21 we want to have the image usable so probably yes i'd say Sep 21 12:22:30 can you tell pitti you want mx5 (and where on the tracker it should go) Sep 21 12:22:43 so i have need a 20W powersupply?? Sep 21 12:22:59 huge: remember that one usb device connected to the panda can consume up to 2.5w so if you connect two usb devices you allready use 5W of the 12W Sep 21 12:23:10 leaving only 7w left for the board itself Sep 21 12:23:39 you really only need the 4A if you drive a lot of USB devices on the pand Sep 21 12:23:39 a Sep 21 12:24:06 2.5 to 3.0 should be fine for normal operations off an SD card Sep 21 12:24:50 ogra_: huge's powersupply are 2.4A Sep 21 12:26:01 yes, i saw that Sep 21 12:26:13 for bare SD card installation that should still be ok Sep 21 12:28:45 huge: still you have not mentioned why your graphics mode is not usable Sep 21 12:28:51 huge: is it stalled ? Sep 21 12:30:50 no is it not stalled ... the mouse pointer is evil ... when i start application i see only green windows Sep 21 12:31:15 how can i'm sure that is not an sw problem? Sep 21 12:33:02 now i've downloaded SGX with Demo Package from http://neuvoo.org/neuvoo/distfiles/SGX-3.01.00.07-SDK.tar.gz ./OGLESEvilSkull Does not start Sep 21 12:33:27 huge: can you paste any error message? Sep 21 12:34:05 libGLES_CM.so is missing Sep 21 12:35:07 * ogra_ would recommend waiting for rsalveti or robclark Sep 21 12:35:24 they maintain the sgx drivers (one for TI, one for linaro/ubuntu) Sep 21 12:35:42 they are both on US timezones and should show up soon Sep 21 12:36:06 maybe can be a reason ... becouse i donìt have libgles2-sgx-omap4-dev installed Sep 21 12:37:30 huge: install -dev package Sep 21 12:37:32 huge: try sudo apt-get install libegl1-sgx-omap4 libgles1-sgx-omap4 libgles2-sgx-omap4 Sep 21 12:41:50 i've installed libgles2-sgx-omap4-dev ... but nothing changed Sep 21 12:47:18 now i've solved ... was missing a simbolic link for libGLES_CM.so ... but to start ./OGLESEvilSkull i need to have X up ... but in graphics mode ubuntu is not utilizable Sep 21 12:55:14 also on startx i've: startx (EE) AIGLX error: dlopen of /usr/lib/dri/pvr_dri.so failed (/usr/lib/dri/pvr_dri.so: cannot open shared object file: No such file or directory) Sep 21 13:05:01 xrandy tried with usb hub ... same problems Sep 21 13:08:56 * ogra_ runs an ac100 test install ... brb Sep 21 13:09:36 xrandy what i don't understand ... is that X start, gnome start ... and seems fast ... then when i try to open a simple terminal (in graphic mode) i've white screen Sep 21 13:11:03 huge: sounds like a gfx driver bug Sep 21 13:11:19 huge: did you check your board powerusage witht he watt meter? Sep 21 13:11:26 just to rule out that source of error Sep 21 13:11:52 i'm going to do ... i need to reboot Sep 21 13:12:01 just 5 minutes Sep 21 13:17:39 done Sep 21 13:18:10 it is max 5 W Sep 21 13:20:05 so we can exclude problems about powerusage Sep 21 13:20:53 huge: great, hopefully robclark here and rsalveti know hot to debug the sgx drivers and can come up with an idea why you get a white screen when you launch the terminal Sep 21 13:23:04 thank you, robclark/rsalveti could you help me? Sep 21 13:26:43 it looks as though the install runs into issues if you don't have your CF card zero'd out before you start your install Sep 21 13:29:10 hello hello Sep 21 13:31:21 huge, umm, ok, what is the issue then? Sep 21 13:32:21 issues is that after omap4-extra installation, I can't use ubuntu in graphics mode Sep 21 13:32:57 robclark: (15.09.06) huge: xrandy what i don't understand ... is that X start, gnome start ... and seems fast ... then when i try to open a simple terminal (in graphic mode) i've white screen Sep 21 13:33:23 xterm? Or gnome-terminal? Sep 21 13:33:39 dmesg or /var/log/Xorg.0.log have anything interesting? Sep 21 13:34:00 gnome-terminal Sep 21 13:35:53 is this compiz, or metacity? Sep 21 13:36:20 and Sep 21 13:36:52 sgxCopy PVR2DBlt3D with error code -7 Sep 21 13:37:10 sgxComposite: failed to do composition Sep 21 13:37:17 k.. can you pastebin the xorg log? Sep 21 13:37:34 (and also check dmesg.. maybe we crashed sgx somehow) Sep 21 13:38:38 ok, i will ... Sep 21 13:41:38 i need to install telnetd and to reboot Sep 21 13:42:04 (or sshd) Sep 21 13:47:02 http://pastebin.com/JUd5dwwD Sep 21 13:47:15 var/log/Xorg Sep 21 13:48:40 dmesg seems ok Sep 21 13:48:47 * robclark looks Sep 21 13:49:50 error 0x00000003 is INVALID_PARAMS... Sep 21 13:50:13 I'm guessing something is fubar in the package.. Sep 21 13:50:32 maybe some patch merged badly or something like that? Sep 21 13:50:51 but sgxCopy shouldn't really fail like that.. it is a pretty basic operation Sep 21 13:51:51 huge: are you using the sgx packages from stable or trunk ppa? Sep 21 13:52:12 http://pastebin.com/RMDXYdng Sep 21 13:54:24 huge, yeah, kernel level stuff looks ok.. Sep 21 13:54:47 yes yes Sep 21 13:56:52 i don't understand really ... Sep 21 13:58:15 i've used this: sudo add-apt-repository ppa:tiomap-dev/omap-trunk Sep 21 13:58:42 and followed this guide Sep 21 13:58:50 http://www.omappedia.org/wiki/Ubuntu_OMAP_trunk Sep 21 14:25:04 GrueMaster, respin in progress, enjoy your morning coffee and relax :) Sep 21 14:32:01 planned on it. Sep 21 14:32:36 seems pitti didnt think that üpreinstalled needs ubiquity at all Sep 21 14:32:51 so we have a broken oem-config still Sep 21 14:33:08 (crashing very badly if you do a non networked install) Sep 21 14:38:44 sigh Sep 21 15:22:20 robclack ... some help ? :) Sep 21 15:52:07 rsalveti : do you suggest to use sudo add-apt-repository ppa:tiomap-dev/release ?? Sep 21 15:52:18 instead of trunk? Sep 21 15:56:39 huge: trunk in theory works Sep 21 15:56:54 unless something else changed and broke the ppa Sep 21 15:57:36 so how to solve my isuess? :( Sep 21 15:58:14 ogra_: jasper is still broken. Sep 21 16:10:30 GrueMaster, on mx5 ? Sep 21 16:10:42 janimo, ^^^ Sep 21 16:11:24 ogra_: nevermind. Appears my mirror sync was not sync'd. It gets confused when we start triggering builds manually. Sep 21 16:11:56 .oO( would really be helpful if that was discussed here and not in teh other channel ) Sep 21 16:11:58 ;) Sep 21 16:12:09 GrueMaster, thanks for notifying here :) Sep 21 16:12:59 I tend to go where the people that can fix things pop their heads up. Kind of like whack-a-dev. Sep 21 16:13:46 (since so few of you guys seem to use windowed IRC systems and only hover over one channel at a time). Sep 21 16:14:12 i dont :) Sep 21 16:15:07 Ew? Sep 21 16:15:12 Err, "Eh". Sep 21 16:15:29 I get lovely annoyances when people correctly nick highlight me. :P Sep 21 16:15:41 And I blissfully ignore even the window I'm "watching" when they don't. Sep 21 16:17:02 infinity: This is based on years of conditioning on this team. Not everyone is the same, however I tend to follow best practices for all. Sep 21 16:18:13 And when I see a critical release-stopping issue, I go hunting for immediate assistance. You should have seen the flack a few releases ago when I didn't. Sep 21 16:20:14 well, stop making up excuses we all fail in that regard (including me) and use the wrong channel to often Sep 21 16:24:45 infinity: I still don't see a 0.62 tag in jasper bzr. Sep 21 16:24:54 infinity, so there are people poking me about a partitioner in the ac100 installer ... which i refuse to write ... i'm wondering, since you wanted to move the jasper bits into d-i, we could probably also have a tarball installer udeb Sep 21 16:26:14 I do see your patch to fix partition detection. Sep 21 16:27:14 GrueMaster: That would be because I didn't tag it. :P Sep 21 16:27:56 GrueMaster: There. Happy? ;) Sep 21 16:28:20 Like I said yesterday, I am just keeping everyone on their toes. Sep 21 16:28:34 ogra_: Yeah, it should all be in d-i somehow or other. Sep 21 16:28:35 * ogra_ whacks infinity Sep 21 16:28:47 use debcommit ! Sep 21 16:29:07 it auto tags if the changelog is right Sep 21 16:29:39 Meh. Sep 21 16:30:55 I'm actally completely opposed to people trying to switch source packages to bzr repositories, I might be avoiding tagging as a subconscious protest. :P Sep 21 16:31:19 oh, i fyou actuvely do it i will join in Sep 21 16:31:39 * ogra_ prefers source debs too, but gave up on fighting for it Sep 21 16:31:48 it doesnt look like it has much chance Sep 21 16:32:39 I have no problems with package collaboration in a VCS, I have huge issues with building directly from that VCS. Maemo did that, and it wasn't an improvement over the old skool Debian way in any way. It just made people feel like they were more "cutting edge" or some crap. Sep 21 16:33:23 well, i still also prefer apt-get source ... edit, dpkg-buildpackage ... upload Sep 21 16:33:50 and theoretically UDD should DTRT with that and push it into the bzr branch Sep 21 16:34:21 ogra_: And some day, it might. I hope. Sep 21 16:34:46 ogra_: I dislike the idea that one person's workflow needs to be imposed on another. So, if that can all Just Work, cool. Sep 21 16:35:08 heh Sep 21 16:39:40 so I just took the time to zero out both SD cards and flash the preinstalled server image Sep 21 16:39:45 lets hope it works this time :( Sep 21 16:41:25 GrueMaster: Phew. Sep 21 16:41:30 GrueMaster: Resize works here. :P Sep 21 16:41:37 GrueMaster: Your stale mirror has me scared. :) Sep 21 16:41:42 s/has/had/ Sep 21 16:41:50 ok. Still pulling updated images here. Sep 21 16:42:23 So, who's good at partition math? Sep 21 16:42:32 * ogra_ hides Sep 21 16:42:39 It's as if zsync completely fell over for all the images I pull. Each one is taking ~15 minutes to pull. Sep 21 16:43:10 I suspect this is a bug we've had for months/years, but I think we're generating images that are a block short around 50% of the time. Sep 21 16:43:15 And my link light on my DSL router is blinking faster than my eyes can refresh. Sep 21 16:43:23 Which means losing a bit of random data off the end of the ext* filesystem. Sep 21 16:43:37 you mean it woulod try to write there ? Sep 21 16:43:54 I mean the partition is shorter than the filesystem. Sep 21 16:43:58 infinity: on the dailies? Sep 21 16:44:00 hmpf Sep 21 16:44:14 after resize or at build time ? Sep 21 16:44:14 brandini: Mmhmm. Sep 21 16:44:26 EXT4-fs (sdb2): bad geometry: block count 897024 exceeds size of device (897008 blocks) Sep 21 16:44:29 Build time. Sep 21 16:44:33 bah Sep 21 16:44:35 After resize, it's "fine". Sep 21 16:44:37 I notice it more with 16G SD. Not sure but could be layout related. Sep 21 16:44:39 Because it re-fits it. Sep 21 16:44:40 that's why all my daily attempts fail :( Sep 21 16:44:51 But that still means it's missing a tiny bit of data, and we have no idea what. :) Sep 21 16:44:58 me too, my 32GB SD works and my 16 doesnt :( Sep 21 16:45:14 infinity, given that we add 50M spare space .... Sep 21 16:45:22 ogra_: Err, where? Sep 21 16:45:28 chances are good its just empty space Sep 21 16:45:32 brandini: If you are trying daily-preinstalled this week, it fails for a whole lot of reasons. Next build "should" be better. Sep 21 16:45:38 infinity, in the TI contract :) Sep 21 16:45:40 ogra_: Oh, you mean on the livefs itself. Sep 21 16:46:03 infinity, i originally added 50M to the post-boot scripts, if thats not there anymore, ask who removed it Sep 21 16:46:04 ogra_: Still, the partition being short for the FS is broken. :P Sep 21 16:46:09 sure Sep 21 16:46:26 ogra_: Wait. No, I'm confused. You're adding 50M padding to the partition, or to the filesystems? Sep 21 16:46:35 but if the overlap is for empty space and the partitioning is fine after install, thats not a biggie Sep 21 16:46:38 ogra_: Cause I see no padding on the partitions. Sep 21 16:46:45 to the fs indeed Sep 21 16:46:48 Which is sort of the problem.. Sep 21 16:46:54 GrueMaster: :( Sep 21 16:46:55 so TI can modify the panda images for blaze Sep 21 16:47:12 well, the 50M are added before the partitions are created Sep 21 16:47:56 iirc we are creating an img file with 50M more than the chroo occupies Sep 21 16:48:00 ogra_: I must be missing where that happens. Sep 21 16:48:00 *chroot Sep 21 16:48:19 ogra_: Or it doesn't anymore. :P Sep 21 16:48:20 should be in post-boot Sep 21 16:48:31 I've been staring at post-boot for the last day. Sep 21 16:48:36 that might be, i havent touched the omap/omap4 script in a release Sep 21 16:48:44 Though, mostly that one block of shell arithmetic. Sep 21 16:48:48 sounds like more craknschpiel. Sep 21 16:48:48 That I think is off by a block. Sep 21 16:48:52 i think only NCommander did Sep 21 16:50:18 the 50M are essential though Sep 21 16:50:31 so I should use the 11.04 release instead? Sep 21 16:51:07 Current oneiric server images seem fine. Sep 21 16:51:18 Keep in mind that some cards will just hate you, too. :P Sep 21 16:51:22 :) Sep 21 16:51:25 they all do! Sep 21 16:52:00 infinity, oh, might be that we did it in livefs.sh, not in post-processing code Sep 21 16:52:05 * ogra_ chaks livecd-rootfs Sep 21 16:53:24 ogra_: That would make more sense, if the goal is to have a bigger FS. Sep 21 16:53:35 ogra_: Since a bigger partition doesn't actually give you a bigger filesystem. :) Sep 21 16:53:36 yes Sep 21 16:53:44 I really wish I could boot off my usb drive Sep 21 16:54:19 livefs_ext2() Sep 21 16:54:19 { Sep 21 16:54:19 # Add 1024MiB extra free space for first boot + ext3 journal + swapfile Sep 21 16:54:19 size=$(($(du -ks ${ROOT} | cut -f1) + (1024000))) Sep 21 16:54:23 there it is Sep 21 16:54:49 no idea why thats not 50M anymore Sep 21 16:55:38 infinity, oh, btw, are we still properly creating the swapfile in live-build ? else beagle C4 wont work anymore Sep 21 16:55:53 * ogra_ just noticed we moved that into livecd.sh Sep 21 16:57:23 I doubt it. Sep 21 16:57:25 (C4 will OOM if you try to run desktop and have no swap) Sep 21 16:57:42 But nothing there was turning it on either... Sep 21 16:57:50 jasper does Sep 21 16:58:00 Then jasper can create it too? Sep 21 16:58:01 it also used to create the file Sep 21 16:58:12 but that adds 10.15 min to the jasper run Sep 21 16:58:17 10-15 Sep 21 16:58:20 Eh? Sep 21 16:58:23 It should be instant. Sep 21 16:58:27 no Sep 21 16:58:35 you have to dd 512MB Sep 21 16:58:46 You can dd it sparse. Sep 21 16:58:48 sawpfiles cant have zeros Sep 21 16:58:55 or holes Sep 21 16:59:13 mkswap will refuse to use it, try it Sep 21 16:59:34 (ignore that i said zeros above :) ) Sep 21 17:02:40 root@vishnu:~# time dd if=/dev/zero of=test.swp bs=512 count=0 seek=1048576 Sep 21 17:02:40 0+0 records in Sep 21 17:02:41 0+0 records out Sep 21 17:02:41 0 bytes (0 B) copied, 6.2626e-05 s, 0.0 kB/s Sep 21 17:02:41 real 0m0.011s Sep 21 17:02:43 user 0m0.000s Sep 21 17:02:49 sys 0m0.000s Sep 21 17:02:49 root@vishnu:~# time mkswap test.swp Sep 21 17:02:51 mkswap: test.swp: warning: don't erase bootbits sectors on whole disk. Use -f to force. Sep 21 17:02:54 Setting up swapspace version 1, size = 524284 KiB Sep 21 17:02:56 no label, UUID=87833675-2023-43d1-83a8-63afbd948484 Sep 21 17:02:59 real 0m1.531s Sep 21 17:03:01 user 0m0.000s Sep 21 17:03:04 sys 0m0.010s Sep 21 17:03:06 ogra_: ^--- Not seeing a problem. Sep 21 17:03:08 swapon ? Sep 21 17:03:24 Oh. :P Sep 21 17:03:31 You said mkswap would refuse to use it. ;) Sep 21 17:03:37 * ogra_ would have been surprised :) Sep 21 17:03:48 sorry, its a year ago i had to do with it ... Sep 21 17:03:56 so it was swapon Sep 21 17:04:05 i just know it doesnt work Sep 21 17:04:32 That's a bit silly, given that I can create files on a filesystem on a loopback device with holes. Sep 21 17:04:48 In fact, I could create a swapfile on a filesystem on a loopback with holes, and it would work! Sep 21 17:04:56 well, swapon would refuse too in that case i bet Sep 21 17:05:03 Nope. Sep 21 17:05:20 (Hint: Our SD card image has "holes") Sep 21 17:05:25 sure Sep 21 17:05:48 the swapfile itself doesnt Sep 21 17:06:06 not sure how that gets handled on fs level if your fs has holes though Sep 21 17:06:24 Well, holes are a temporary inconvenience. Sep 21 17:06:33 The VFS layer masks around sparse files. Sep 21 17:07:01 I can only assume that VMM is doing nasty things to VFS, and they should sit down for a timeout. Sep 21 17:07:55 might be ... Sep 21 17:08:24 Anyhow. That whole swap creation thing has been broken/nonexistant for months (ever since the live-build switch), and no one has complained. :P Sep 21 17:08:35 well, in any case we need to look into that for post beta Sep 21 17:09:16 likely because not even GrueMaster tests desktop on C4 anymore :) Sep 21 17:09:47 That was sort of my point. Sep 21 17:09:50 I haven't tested desktop on much of anything in the last few weeks. Sep 21 17:09:53 I suspect no one tests or uses it. Sep 21 17:10:01 (On that hardware) Sep 21 17:10:02 well, but if we offer images for it, it has to work Sep 21 17:10:11 or we restrict what we support Sep 21 17:10:15 or drop the image Sep 21 17:10:32 We offer images for "omap", we don't specify which boards... Sep 21 17:10:39 * ogra_ wouldnt mind to drop C4 support Sep 21 17:10:45 Can't drop the image. It still supports XM Sep 21 17:10:54 That's like saying Ubuntu Desktop works on every x86 machine (it doesn't). Sep 21 17:11:00 infinity, we offer omap3 images for beagleboards Sep 21 17:11:14 ogra_: Yes, there are lots of beagles that it works on. Sep 21 17:11:16 we need to make clear ^that we dont support C4 imho Sep 21 17:11:21 We can limit what we support, and leave other systems to user discression. Sep 21 17:11:34 especially since the C4 was our only supported TI board for a while Sep 21 17:11:48 XM in, C4 out for desktop. Sep 21 17:11:54 right Sep 21 17:11:58 ogra_: Well, the other option is to have jasper take that 10 minutes to dd a swapfile if (and only if) you're on a C4. Sep 21 17:12:00 needs to go into the release notes Sep 21 17:12:11 * ogra_ will happily see the swapfile crap die Sep 21 17:12:30 infinity: Anything on C4 takes a lot longer than on other platforms. Sep 21 17:12:38 infinity, well, i didnt like that hack when i added it, i dont like it more today :) Sep 21 17:12:43 Heh. Sep 21 17:13:27 I will say I was pretty effin' shocked to discover a swapfile on my SD card when I first set up the Panda. Sep 21 17:13:43 As to my beagle, I honestly do not have any room for that atm. I am out of desk space/network drops/power cords. Sep 21 17:13:48 Cause swapping to nand flash is about as smart as shaving your scrotum with a cheese grater. Sep 21 17:13:53 that i'm the guy who writes most of the scary weired hacks doesnt mean that i particulary admire what i hack together :) Sep 21 17:14:00 *weird Sep 21 17:14:14 done that. Sep 21 17:14:40 infinity, as you mantioned above, swapfiles sit on top of the VFS layer ... they should be less harmful than a swap partiton Sep 21 17:14:55 i wonder where all these typos come from today Sep 21 17:15:09 ogra_: It's pretty harmful. But so it almost everything a modern system can do to flash. Sep 21 17:15:18 (I've killed a card here just with /var/log) Sep 21 17:15:28 s/so it/so is/ Sep 21 17:15:32 well, you have a stack of FTL->VFS->swapfile Sep 21 17:15:40 at least on SD Sep 21 17:16:05 But I wasn't just referring to the destruction of the flash, I was also just talking the speed. I'd probably rather invoke the OOM killer than swap to monkeys with pencils. Sep 21 17:16:13 * ogra_ hasnt killed a card in 4 years ... i had some dead USB keays from my classmate times Sep 21 17:16:32 OOM will tear your app down Sep 21 17:16:37 Yup! Sep 21 17:16:44 swapping will come back after the IO is done Sep 21 17:16:52 so you can still save your document Sep 21 17:16:59 From the C4 perspective (that couldn't run desktop at all), the swapfile made sense. Sep 21 17:16:59 even if it takes 1h Sep 21 17:17:10 On my Panda, it made less sense. :P Sep 21 17:17:13 S'all I'm saying. Sep 21 17:17:24 swapfile makes always sense on systems where you potentially can hit OOM imho Sep 21 17:17:32 just because of the above Sep 21 17:17:34 That's every system in the world. Sep 21 17:17:42 But you'll still OOM when you fill swap. Sep 21 17:17:43 So. Sep 21 17:17:56 well, chances on my 4G intel are less than on my 512M XM Sep 21 17:17:59 Eventually, you hit a point where you're saying "this is how much memory I have". Sep 21 17:18:20 happy medium: use zram to cache swap pages in compressed memory, and reduce soujourns to disk until it's absolutely necessary? Sep 21 17:18:23 (Unless you do the dynamic swap thing, then your wall is just disk space) Sep 21 17:18:35 Neko, yes, we used to use compcache in the past Sep 21 17:18:45 i was planning to have a spec on it for UDS Sep 21 17:19:04 What is going on with cdimage? My zsync is extremely slow. Been updaing one image now for almost an hour. Sep 21 17:19:15 Honestly, I think we're hitting a point where we don't care anymore about that sort of thing. Or shouldn't. Sep 21 17:19:18 GrueMaster, many people download ? Sep 21 17:19:34 Modern ARM systems (at least the ones we target) have RAM, can have more, and can swap to storage that isn't flash. Sep 21 17:19:37 * GrueMaster hates release week. Sep 21 17:19:41 infinity, well, zram/compcache can easily add another 50% of ram for no costs Sep 21 17:20:02 and its a good first level swap Sep 21 17:20:15 ogra_: The cost is CPU time. That never mattered on ARM, where memory I/O was shit, and CPU was free as a result, but that's changing. Sep 21 17:20:35 the cup time cost isnt really noticeable Sep 21 17:20:39 ogra_: When we become cycle-bound instead of i/o bound, we need to watch our solutions. Sep 21 17:20:46 big problem though, you have to make sure it is added first. When we ran the init scripts they came up far, far after disk swap was enabled, and without specifically bumping priority to 0 (since disk swap came in at -1) it wouldn't use it Sep 21 17:20:55 we did experiment with compcache in the past on the C4 and older Sep 21 17:21:12 and there wasnt a noticeable hit on CPU back then Sep 21 17:21:13 then of course, if you use prelink, running firefox with a few tabs, leaving a system on for days and days, your compressed swap fills with discarded linker data Sep 21 17:21:27 ubuntu will never use prelink i think Sep 21 17:21:29 ogra_: Yes, I know the CPU time wasn't noticeable (and, in fact, it probably made things faster), but like I said, all ARM systems until now have been I/O bound. Sep 21 17:21:42 sure Sep 21 17:21:43 ogra_: When your CPU is idle half the time, waiting on RAM, compressing RAM is a huge win. Sep 21 17:21:53 and they will stay that way for more releases :) Sep 21 17:21:59 efika isn't so i/o bound :) Sep 21 17:22:19 Its memory bandwidth isn't that exciting. Sep 21 17:22:31 its CPU neither :) Sep 21 17:22:32 it isn't on most ARM boxes Sep 21 17:22:43 Thank you for restating my point? Sep 21 17:23:26 tegra has a pretty decent memory bandwith Sep 21 17:23:35 faster than panda Sep 21 17:23:39 you can have all the memory bandwidth in the world but running off a USB disk or SD card is basically negating everything there Sep 21 17:23:55 Eh? Sep 21 17:24:11 Are you from the "I benchmark applications by cold-cache starting them?" camp? Sep 21 17:24:22 How fast Firefox starts != how fast it runs. Sep 21 17:24:22 well, let's put it this way; it took 4 hours to compile a kernel on pandaboard. I can do it in 70 minutes on an Efika with -j3. Sep 21 17:24:28 And memory I/O is hugely important. Sep 21 17:25:22 Neko: Odd, I have both here, and the Panda nearly always wins compile races. Sep 21 17:25:31 definitely Sep 21 17:25:39 Neko: Was that when you were getting 5MB/s off a Panda's USB? Sep 21 17:25:41 it's purely down to the SD card in use.. and it's a good SD card Sep 21 17:25:43 ac100 wins over both though :) Sep 21 17:25:48 no I don't use USB on the Panda Sep 21 17:26:04 Neko: Oh, if you're compiling on SD, that's a lost cause. And a pointless comparison. Sep 21 17:26:06 just a UHS SD card.. which isn't so ultra-high-speed since the bus seems limited to about 10MB/s Sep 21 17:26:20 thats bad Sep 21 17:27:17 booting over USB on Panda helps but for some reason it doesn't help all that much. it still loses the kernel compile race, even building on another disk.. there is some very strange stuff there, I think combined with the extremely poor SD and USB performance, even when that's fixed, SMP slows things down.. it builds faster on -j1 than it does on -j2 Sep 21 17:27:33 Neko, what is the performance on the efika with the same SD card doing the same job? Sep 21 17:27:35 I can't say I've attemped it in about 3 weeks though Sep 21 17:27:55 GrueMaster, about the same, the point would be that no matter how good you think your SD card is, it's actually not. Sep 21 17:28:15 kernel patch fixed usb performance last week. Retest, then talk about it. Sep 21 17:28:17 and USB disks don't solve anything... Sep 21 17:28:37 Neko: don't talk bad about the pandaboard Sep 21 17:28:38 They do if they work. :P Sep 21 17:28:43 I like my pandaboard Sep 21 17:29:14 The point is, when you spout performance benchmarks on two different systems, that you are actually reducing as many variables in the test setup. Comparing Sd vs Sata is blindingly stupid and invalid. Sep 21 17:29:34 btw USB disk in question was an A-Data MLC SSD.. the bus limits it's performance over USB (but it's topping out somewhere else). Sep 21 17:29:45 nobody ships a SATA system except Quickstart Sep 21 17:29:59 Again, update kernel & retest. Sep 21 17:30:08 Neko: About 7 times now, people have mentioned that your USB disk tests were getting about 5MB/s, and that's fixed. Sep 21 17:30:34 Neko: i just found out about trimslice Sep 21 17:30:38 Neko: And yes, when your I/O is throttled that low, -jN will make it worse, since concurent reads just block hard. Sep 21 17:30:44 trimslice is USB to SATA Sep 21 17:30:47 ! Sep 21 17:30:52 well that's no good Sep 21 17:30:57 glad i bought an mx53 instead then Sep 21 17:31:06 the only chip out there with a native sata controller is the mx53.. it's sad to say, it really is Sep 21 17:31:45 soon i will have my first web server with an accelerometer Sep 21 17:31:51 trimslisce has the fill PCIe bus available (unlige other tegra implementations) you can easily use a miniPCI SATA card Sep 21 17:31:58 s7fill/full/ Sep 21 17:32:45 infinity, I tried a bunch of things, there were questions about SMP causing it, which turned into that write buffer flush patch.. I disabled SMP a long while back and it gave me back my performance, but it still lost. Perhaps the CPU itself, or some power management was in the way, or just USB being the worst possible protocol with too much overhead and zero possibility for DMA Sep 21 17:57:27 infinity: the post-boot scripts for armel are made otu of cheap gum and duct tape Sep 21 18:05:48 oh, i take it back, that thinkpad had an accelerometer. Sep 21 18:31:51 infinity: The current respin, what was affected? oem-config? Sep 21 19:38:50 Wow. Lots more chatter from the kernel in dmesg. Mostly audio and wifi. There will be bug reports. Sep 21 19:40:32 :) Sep 21 21:38:30 * GrueMaster stares at the beaglexm screen and silently wonders why oem-config restarted a second time. Sep 21 21:56:27 So, we no longer are doing swap files on omap images? System is real slow. Sep 21 21:56:56 We haven't been for months. Sep 21 22:02:13 Why not? This is very slow with only 512M. Sep 21 22:02:47 Had I been able to do daily image testing, I would have raised a flag a long time ago. Sep 21 22:03:01 Because that code was in livecd-rootfs, and it never got moved to live-build, and no one noticed until today. Sep 21 22:03:18 I swear we just had this conversation this morning. That was the context of "dropping C4 support". Sep 21 22:04:09 And not to question what you're seeing, but the speed issues could be elsewhere. I refuse to believe that swapping to flash could make anything *faster*, just less prone to OOMing. Sep 21 22:04:20 Well, may as well drop all armel support without it. Even the panda daily is very slow, with all of the cruft added by DX. Sep 21 22:05:16 crap. panda hung. Sep 21 22:05:41 Hard hang while oem-config was configuring locales. Sep 21 22:08:54 As to swap, not sure what is going on, but my loadavg just dropped after creating a 1G swapfile and enabling it. Sep 21 22:18:38 GrueMaster: I'm happy to hack swapfiles into live-build to resurrect the functionality. It's just not happening for B2. Sep 21 22:19:28 Wasn't talking about B2 required. But it would be nice to know about these changes before release. Sep 21 22:19:30 They do drastically infalte the size of the image, though (not the zipped size, since the swap is empty, but the real size). Sep 21 22:19:47 Yeah, no one seemed to be aware until, like I said, today. :P Sep 21 22:19:52 But it's been like this since the switch. Sep 21 22:19:59 And yes, I am seeing a huge amount of swapper errors in dmesg on beaglexm. Sep 21 22:20:31 Like..? Sep 21 22:20:37 You can't reall have swap errors without swap. Sep 21 22:20:43 s/reall/really/ Sep 21 22:21:13 Can't? Tell that to my system. Sep 21 22:21:38 Oh, wait. You mean a page allocation error? Sep 21 22:21:47 If so, then yeah, that's just OOMing. Sep 21 22:22:12 I find it a bit sick that we can't boot with 512M of RAM. But whatever. :P Sep 21 22:22:21 We'll fix it. Sep 21 22:25:04 Yea, I've heard that line a lot this cycle. :P Sep 21 22:25:35 BTW: Installer is still on the unity menu bar after login. Sep 21 22:25:48 Lovely. Sep 21 22:28:03 Rebooted beaglexm with /SWAP.swp, desktop looks much different. Sep 21 22:28:30 I have a top indicator bar, for example. Sep 21 22:29:56 Picky, picky. ;) Sep 21 22:30:34 Yeah, fuck omap3 for now, then. If it boots at all, ship it, realising that the underlying software is identical to omap4. And light a fire under my ass post-B2 to get you swapfiles back. Sep 21 22:35:59 Bah. ENONETWORK again on my beaglexm. Sep 21 22:58:56 is there a new daily image that is worth downloading? Sep 21 23:01:05 also, is there any way to make the serial console actually display useful output ? Sep 21 23:01:29 Define useful? Sep 21 23:02:18 well right now when I connect and the installer comes up it's so jumbled I can't even tell what it says Sep 21 23:02:37 using the default terminal app in ubuntu, export TERM=vt220 minicom and no dice :( Sep 21 23:03:06 brandini: Oh, minicom's just crap. Sep 21 23:03:17 I also tried screen, cu and gtkterm Sep 21 23:03:29 brandini: "screen /dev/ttyUSB0 115200" is your friend. Sep 21 23:03:35 (Or whatever your serial device is) Sep 21 23:03:53 At least, it always DTRT here. Sep 21 23:04:06 I did try that... not looking good Sep 21 23:05:24 Not sure what to suggest, then. That always works for me. It's not perfect, but it's certainly usable. Sep 21 23:05:58 I think terminal emulation became a lost art when BBSes died. I miss Telemate and Telix. Sep 21 23:06:02 brandini: Do you have a null modem cable attached? If so, remove it. Sep 21 23:06:20 What image are you trying? Sep 21 23:06:21 GrueMaster: I have a usb to serial adapter Sep 21 23:06:36 Ok, plug that straight into the panda. Sep 21 23:06:48 oneiric-preinstalled-server Sep 21 23:07:17 does the preinstalled from today have the partition/packaging issue fixed? Sep 21 23:07:30 Today's? 20110921 is the one you want. Sep 21 23:07:36 ok Sep 21 23:07:42 Seems to. Sep 21 23:07:56 this mirror is SO SLOW Sep 21 23:08:02 an hour to grab 500mb? Sep 21 23:08:14 I don't need the manifest or zsync right? Sep 21 23:08:33 Yea, having same issue here and I use zsync (which in theory only pulls binary differences). Sep 21 23:08:38 No, but if you have the old image, you could just "zsync http://path/to/zsyncfile" Sep 21 23:08:45 oh really... Sep 21 23:08:47 * brandini tries Sep 21 23:08:58 Once you have the img.gz, you can update it with zsync. Sep 21 23:08:59 The old image needs to be in your CWD. Sep 21 23:09:28 I can handle that much:) Sep 21 23:09:41 not nessarily. Use "zsync -i http://cdimage...." Sep 21 23:10:06 Well, yes. But no need for -i if you just want to update it in place. :) Sep 21 23:10:15 The "old image" can even be a different name (or even subarch, which is kind of interesting). Sep 21 23:10:39 88% complete Sep 21 23:10:43 nice! Sep 21 23:11:01 I didn't know about zsync Sep 21 23:12:19 this pandaboard seems like it will be absolutely great as a webserver Sep 21 23:13:07 I've tested it. As long as you don't expect high (as in slashdot.org) traffic, it is pretty nice. Sep 21 23:13:16 no, I don't Sep 21 23:13:23 what are your apps written in? Sep 21 23:13:33 Part of my testing included the entire lamp stack. Sep 21 23:13:34 or just static html Sep 21 23:14:03 More install and run some prepackaged website. Sep 21 23:14:13 Then nuke and run some other test. Sep 21 23:14:59 I'm using go Sep 21 23:15:33 Let me know how it works out. Sep 21 23:18:01 even on my atom proc it does thousands of reqs/sec Sep 21 23:19:07 I just hope to get an arm based server in the near future. Testing the server stacks on what is essentially a cell phone is not pleasant. Sep 21 23:19:30 (although running 6 pandas in a filesystem cluster makes me giggle). Sep 21 23:20:13 :) Sep 21 23:20:20 I wouldn't mind a panda farm Sep 21 23:20:59 mmm, panda farm Sep 21 23:21:17 of course. how else would we get those delicious panda steaks Sep 21 23:21:42 :) Sep 21 23:22:42 GrueMaster: I did have go built on the arm on 10.10... decided I wanted 11.x and didn't build any of my apps on the pandaboard Sep 21 23:24:25 Do you have a link? Sep 21 23:24:47 * GrueMaster is always interested in using new apps as test suites. Sep 21 23:25:10 www.golang.org Sep 21 23:25:23 it's the new python, ruby, java :) Sep 21 23:25:52 sigh. yet another language for me to learn. Sep 21 23:26:17 eh Sep 21 23:26:22 go isn't all that. Sep 21 23:26:59 it's a bunch of old ideas thrown together, some of them good, some of them dumb Sep 21 23:28:02 I'm self taught in C, C++, JAVA, Perl, Atari-basic, x86 assembly, to name a few. Adding to the stack heap is getting painful. Sep 21 23:28:24 No formal programming training. Sep 21 23:28:39 GrueMaster: You didn't see Gustavo's Go presentation in Dublin? Sep 21 23:28:58 * GrueMaster was teaching more than learning in the University of Phoenix course. Sep 21 23:29:04 GrueMaster: And the company-wide challenge to go (re)write random crap in Go for kicks? Sep 21 23:29:09 infinity: I may have missed it. Sep 21 23:29:26 (and when have I had spare time to go programming for kicks?) Sep 21 23:29:38 Apparently, there are prizes at stake. Sep 21 23:29:44 in any language. Sep 21 23:29:46 This hasn't motivated me, mind you. Sep 21 23:30:07 hmm, prizes you say. Sep 21 23:30:12 heh Sep 21 23:30:25 go! it's so great, they have to bribe people to use it. Sep 21 23:30:33 * GrueMaster wonders how many engineers and managers he could piss off by rewriting all of the qa tests in go? Sep 21 23:36:42 if you rewrite a C program in Go you have to use Go conventions rather than your C conventions Sep 21 23:36:49 or it's not worth the effort Sep 21 23:51:32 even this new images says "If you created or changed a DOS partition, /dev/(1) to zero the first 512 bytes: dd if=/dev/zero... Sep 21 23:52:30 oh, it says partition 2 does not end at a cylinder boundary Sep 21 23:53:48 Ignore it (unless it has actually failed). Sep 21 23:55:17 still resizing Sep 21 23:55:26 95/100 Sep 21 23:55:54 What size SD? Sep 21 23:56:15 32GB Sep 21 23:56:40 Whoa. If you run into issues, please let me know. I don't have anything that big. Sep 21 23:56:48 ok Sep 21 23:56:58 if that fails should I try a 16GB? Sep 21 23:57:18 I have a few 16G, and a lot of 8G. Nothing bigger. Sep 21 23:57:44 Well, it hasn't been tested (by me) on 32G. Sep 21 23:58:10 I'm on a 16G right now. No problems yet. Sep 21 23:58:15 My Panda runs on a 32G, but I haven't tested that since early oneiric. Sep 21 23:58:21 I see no reason why it would have stopped working, though. Sep 21 23:58:40 it hit 100/100 and the lights are still blinken Sep 21 23:58:45 I have a stupidly high miss rate for bad media in general though. :/ Sep 21 23:58:59 Kingston? Sep 21 23:59:03 All over the map. Sep 21 23:59:28 Kingston, Patrio, non-name junk, Lexar. Sep 21 23:59:38 the one I'm using now has the rainbow on the front Sep 21 23:59:47 brandini: That is normal. The counter is just a shell script routine. resize does a litlle post-processing. Sep 21 23:59:50 Actually, the Lexar cards are the only ones that have never acted up, but I doubt that's a quality thing, and suspect it's just random statistical luck. Sep 22 00:00:04 woot, creating bootloade Sep 22 00:00:37 just restarted Sep 22 00:03:09 I sure hope the defaults are good cause I still can't read this console :) Sep 22 00:07:28 Serial console? Sep 22 00:07:53 yeah Sep 22 00:08:21 I wonder if you have a bad connection or possibly a bad port on the panda. Sep 22 00:09:10 it IS going to a usb hub first Sep 22 00:09:39 Shouldn't matter. I have 8 usb serial cables on a hub for all my systems. Sep 22 00:10:27 And my serial port monitoring system is an older Atom based system in a mini itx case that I remote to. Sep 22 00:10:33 is the primary network interface during install the wireless or the lan? Sep 22 00:12:55 On server, lan. Sep 22 00:13:21 I don't think we have all the packages installed for wifi on the server image. Will check. Sep 22 00:13:36 I need the lan one I just couldn't read it Sep 22 00:13:55 top default option. Sep 22 00:14:44 GrueMaster: The server image will do wifi in the clear or with WEP, but I suspect WPA will fail. Haven't tested. Sep 22 00:15:07 (I always used to have a WEP fallback just for d-i testing, but maybe it does WPA properly now) Sep 22 00:15:17 will bad things happen if I reset in the middle of this install? Sep 22 00:15:27 infinity: The firmware used to be missing from the image. Haven't tested it recently. Sep 22 00:15:45 brandini: Is it at a prompt or doing something? Sep 22 00:15:56 prompting for network configuration Sep 22 00:16:26 You can restart. Main thing is to not reboot during a write process. Sep 22 00:17:47 * infinity takes off for the evening. Sep 22 00:24:15 anyone use a macbook to do the serial connection? Sep 22 00:24:23 I've not been able to figure it out on the mac :) Sep 22 00:33:41 Not me. never owned one. Sep 22 00:34:59 you're not missing anything Sep 22 00:35:00 ;) Sep 22 00:47:22 * GrueMaster wanders off the grid for a while until the kubuntu images finish downloading. Sep 22 01:13:14 sweet, I finally got the serial cable working on my mac and the display is much better :) Sep 22 01:14:36 are oem-config-firstboot errors trying to write to /var/log/oem-config.log because of a read-only filesystem normal? Sep 22 01:29:49 No. You should not have a read-only filesystem Sep 22 01:30:14 You may need to reflash and restart. Sep 22 01:30:32 done and done Sep 22 01:36:56 GrueMaster: nope, same thing happened... "Running post-installation trigger man-db" 100% /usr/sbin/oem-config-firstboot: line 58: /var/log/oem-config.log: Read-only file system Sep 22 01:37:29 Hmm. I would suggest trying a smaller SD card. Sep 22 01:37:36 ext4_mb_generate_buddy:736: group 160, 4045 blocks in bitmap, 4096 in gd Sep 22 01:37:38 Could that be coming from errors=remount-ro ? Sep 22 01:37:54 looks like it is Sep 22 01:38:00 let me paste it all... Sep 22 01:38:07 In that case get a card that isn't buggered Sep 22 01:39:03 http://pastebin.com/S8e7CXGH Sep 22 01:42:39 brandini: Need to see why journal aborted. Is there any messages before the first line? Sep 22 01:42:48 not that I can see Sep 22 01:42:52 Im' trying another card Sep 22 01:49:36 Everything worked fine here with the latest image. But as I have not tested on anything bigger than 16G, I suspect your card (or the system may not like your card). Sep 22 01:50:08 I've never had any luck with CF Sep 22 01:57:35 CF? Sep 22 01:58:04 These are SD. Not nearly as fast. Sep 22 01:58:40 Class 20 SD cards will be mainstream in a few months Sep 22 01:58:40 * GrueMaster uses CF cards in Sata adapters for rootfs on 2 servers and a firewall. Sep 22 01:59:22 Oddly, I have found that the lower the class, the more reliable and better overall performance. Sep 22 01:59:26 with the 16GB card it's been at Resizing, pass: 1 [100/100] for a few minutes... Sep 22 01:59:51 The higher class are great for sustained sequential reads/writes (like video cameras). Sep 22 02:00:15 brandini: any activity on the LEDs? Sep 22 02:00:26 brandini, you need fsck the partition, bro... Sep 22 02:00:37 the one closest to the SD card is solid and the other is blinken lots Sep 22 02:01:13 the journal is in status (ABRT) Sep 22 02:01:36 power off and fsck the card? Sep 22 02:01:52 do sudo fsck /dev/mmcblk0p2 -c -y Sep 22 02:01:57 yes Sep 22 02:02:07 in another machine right? Sep 22 02:02:11 yes Sep 22 02:03:42 also, I would suggest not using a journalling file system on an SD card Sep 22 02:03:46 EXT2 is best Sep 22 02:04:01 I didn't format it before flashing this image Sep 22 02:04:42 Actually, I have benchmarked and found ext4 to be very fast. But we are just now (like Monday) in the process of switching on the SD preinstalled images. Sep 22 02:05:11 I didn't know I was supposed to format the preinstalled image? Sep 22 02:05:17 Shouldn't matter. The dd process will overwrite the first 1.6G. Resize will clear the rest. Sep 22 02:05:22 its is very fast, but is designed for magnetic media, not FLASH based media, such as the NOR flash in SD cards Sep 22 02:05:45 ok, it fixed things Sep 22 02:05:51 now lets hope it boots :) Sep 22 02:05:59 the journal is constantly rewritten, even if just for a read, making it burn the Flash media in the journals blocks Sep 22 02:06:07 Actually, ext4 is designed for SSD, which is based on the same tech as SD. Sep 22 02:06:25 GrueMaster, you are mistaken Sep 22 02:06:35 btrfs is supposed to be even better, but it isn't stable yet. Sep 22 02:06:55 SSD's have wear leveling, SD cards have bit shifting for wear leveling (poor for repeated writes) Sep 22 02:06:58 it's resizing again :) Sep 22 02:07:30 the wear leveling in SSD's is much more robust than the wear leveling in SD cards Sep 22 02:07:58 I can destroy an SD card in a matter of hours, with sparsewriting routines, from EXT4, or ReiserFS Sep 22 02:08:14 92/100 Sep 22 02:08:33 EXT2 is much more suited to older lessstable media, with SD fits into Sep 22 02:08:43 sorry, my spacebar is failing Sep 22 02:08:52 too much pepsi ;) Sep 22 02:09:18 brandini, you getting jitters? Sep 22 02:09:28 * GrueMaster is being called to dinner. Biab. Sep 22 02:09:40 I don't think this is going to work Sep 22 02:10:09 brandini, did you do what I asked you to? Sep 22 02:10:24 yup, only sudo fsck /dev/sdc2 -c y Sep 22 02:10:24 sudo fsck /dev/mmcblk0p2 -c -y? Sep 22 02:10:31 ok Sep 22 02:10:48 did it write a new error block? Sep 22 02:10:58 bad block inode Sep 22 02:11:03 yes Sep 22 02:11:07 yup Sep 22 02:11:13 did it write a new bad block inode? Sep 22 02:11:23 you have a failing SD card, then... Sep 22 02:11:30 oh fun! Sep 22 02:11:32 it's new! Sep 22 02:12:05 brand name? Sep 22 02:12:16 /dev/sdc2: Updating bad block inode. Sep 22 02:12:17 It could also be something like he is writing the partition smaller than the filesystem, right? Sep 22 02:12:32 it's a kingston class 10 Sep 22 02:12:43 but I'm seeing the same error on my transcend Sep 22 02:12:59 I would zero the card Sep 22 02:13:08 ugh, ok Sep 22 02:13:08 brandini: hey, do you know what kind of FTLs (micro) SD cards have? I couldn't find *any* documentation in wikipedia or google Sep 22 02:13:20 Sorry, s/brandini/brokencodes/ Sep 22 02:13:21 dd if=/dev/zero of=/dev/sdb bs=8192 Sep 22 02:13:42 FTL? Sep 22 02:13:47 flash translation layer Sep 22 02:13:47 brokencodes: I did that this morning but I flashed the previous daily and then todays daily Sep 22 02:13:52 you mean Mean Write before failure? Sep 22 02:13:58 The thing that makes it look like a /dev/sda instead of /dev/mmc Sep 22 02:14:21 its usually in the SD card interface Sep 22 02:14:29 As in the reader? Sep 22 02:14:36 si, the reader Sep 22 02:14:52 Thanks, I kinda suspected that. Sep 22 02:15:14 crappy reader == crappy sd card performance / reliability Sep 22 02:15:27 So what I should do is the equivalent of lspci -nn for whatever bus I have instead of PCI, and then look up what kind of FTL I have Sep 22 02:15:40 I would say yes Sep 22 02:15:50 most emulate ata / atapi Sep 22 02:16:35 Also, are micro SD to SD adapters passive (i.e. just changing the physical shape), or do they have active components? Sep 22 02:16:58 no, just wires Sep 22 02:17:06 passive Sep 22 02:17:59 if your SD card reader is plugged into usb, you would do lsusb instead, but you prolly knew that already Sep 22 02:18:19 It'd be nice if SD readers had a ioctl you could issue to bypass their FTLs, and just use jffs2/logfs or something :-P Sep 22 02:18:33 you can Sep 22 02:18:42 its just a block device Sep 22 02:18:56 yoyu can make a link, and write as normal NOR flash Sep 22 02:19:02 Not if the kernel tells me "hey, here's /dev/sda" Sep 22 02:19:09 surely Sep 22 02:19:29 ln /dev/sda /dev/mmcblk0 Sep 22 02:19:37 wow, really Sep 22 02:20:14 ln /dev/sdb2 /dev/mmcblk0p2 Sep 22 02:20:16 yep Sep 22 02:20:17 No, that can't be right Sep 22 02:20:23 * infinity does a whois and suddenly wonders if brokencodes == thebroken, or if it's just odd coincidence. Sep 22 02:20:31 The kernel doesn't care what the name is, only the major/minor Sep 22 02:20:32 yes Sep 22 02:20:38 I'm thebroken Sep 22 02:21:14 some utilities wont allow certain functions on certain device names Sep 22 02:21:46 They're wrong, then. But I mean stuff like dd and mkfs Sep 22 02:22:06 https://secure.wikimedia.org/wikipedia/en/wiki/Memory_Technology_Device <-- what I'm thinking of, where you bypass the FTL Sep 22 02:22:19 *bypass, or there isn't an FTL to begin with Sep 22 02:23:38 http://paste.debian.net/131503/ <-- they show up as character devices, not block devices Sep 22 02:24:01 Or a mix. Or something. I guess I don't know what I'm talking about Sep 22 02:24:57 I guess a better question would be: if I have a micro SD card that presents as /dev/sda or /dev/mmcblk0, would it be better to use LogFS rather than ext[234] ? Sep 22 02:25:28 you could also mknod on the device, and chage to the type of device you want, could work, might not Sep 22 02:26:14 I think both sda and mmc are going via the FTL Sep 22 02:27:12 Whereas MTD bypasses the hardware FTL and implements on inside the Linux kernel -- mtdblock (b) is mtd (c) + kernel FTL Sep 22 02:27:41 Thats what I was referring to also Sep 22 02:29:57 I sure hope zeroing makes it work :) Sep 22 02:32:51 twb: yup that's it Sep 22 02:32:58 well mtd doesn't bypass ftl, it's more that there is no ftl :p Sep 22 02:33:12 phh: right Sep 22 02:33:29 twb: logfs is theorically better than ext* Sep 22 02:33:40 i don't need how it goes in real world Sep 22 02:33:46 nilfs2 is indeed faster than ext* Sep 22 02:34:12 phh: I'm saying "gee, it'd be nice if I could bypass the crappy hardware FTL when there *is* one, and use jffs2 or whatever on the mtd character device" -- brokencodes says it might work, but I think he's wrong. Sep 22 02:34:23 but hum logfs is more for mtd than for FTLed device Sep 22 02:34:28 Unless it's some developer board-type SD card reader Sep 22 02:34:32 twb: he is wrong Sep 22 02:34:41 Thanks, I feel better now :-) Sep 22 02:35:32 the thing is that the MMC """api""" doesn't make it easy to make a FTL-less (or FTL bypassed) device Sep 22 02:35:47 well afaik Sep 22 02:35:48 And since I can't bypass the hardware FTL, I am screwed by it regardless and I might as well use a fs designed for block devices Sep 22 02:36:02 twb: na Sep 22 02:36:43 twb: on MMCs, hardware FTL sucks Sep 22 02:36:52 so a (real) logged FS is way better Sep 22 02:37:06 Even on top of the crappy hardware FTL? Sep 22 02:38:13 yes Sep 22 02:38:21 OK, so I have an 32GB eMMC /dev/mmcblk0p1 that will have the root filesystem, and a 16GB micro SD /dev/sda that will have /home on it. What's the best filesystem to use? Sep 22 02:38:38 (ogra_ is going to kill me.) Sep 22 02:38:50 Oh, and this is with 2.6.38 Sep 22 02:39:15 twb: basically, nilfs2 is the best FS i've found for MMC and friends, now the devs are saying it's unstable, so you might not want to rely on it for your data Sep 22 02:39:35 Well I'm using btrfs on my SSD in my old netbook :-P Sep 22 02:39:58 Incidentally, stupid SD card reader doesn't handle ext4 -o discard :-/ Sep 22 02:40:22 and sdcard does ? :p Sep 22 02:40:29 I don't know Sep 22 02:40:39 I magical imagination land where everything DWIMs, yes :-) Sep 22 02:40:52 DWIMs ? Sep 22 02:40:58 Does What I Mean Sep 22 02:41:11 :) Sep 22 02:41:24 phh: that's where all my hardware has OpenFirmware too :P Sep 22 02:41:43 twb: i've been through some specs about it, and trim/erase/whatever it is called is only in some eMMC docs Sep 22 02:42:05 (yes eMMC/SD/uSD/MMC/whatever are using the same protocol, and yes it seems there are different specs for them, why ? :D) Sep 22 02:42:56 Because as long as it boots windows they will sell it :P Sep 22 02:47:11 I really hope this zero'ing pays off... I'm doubtful Sep 22 02:48:10 brandini: it depends on how clever FTLs are Sep 22 02:48:14 so yes i'm kind of doubtful too :D Sep 22 02:48:27 :) Sep 22 02:48:58 About as clever as a five year old on PCP cut with draino Sep 22 02:53:32 well seeing as I've got two brand new SD cards that were both rated to work well and they completely don't work I don't know where to turn Sep 22 02:53:39 can the pandaboard boot off usb? Sep 22 02:59:41 It's using u-boot? Can you get into the u-boot serial console? **** ENDING LOGGING AT Thu Sep 22 02:59:56 2011