jldugger | Processor: ARM926EJ-Sid(wb) rev 0 (v5l) | 09:04 |
---|---|---|
jldugger | im assuming that's too old for ubuntu | 09:04 |
Stskeeps | nah, it's armv5te | 09:28 |
Stskeeps | which works with ubuntu | 09:29 |
jldugger | interesting | 09:34 |
jldugger | unfortunately, ive got 64 megs of RAM on it | 09:35 |
Stskeeps | can probably run the base system :P which device is it? | 09:36 |
jldugger | D-Link DNS 323 | 09:36 |
Stskeeps | well 64 mb can probably take the base system, definately :P | 09:36 |
jldugger | theres a gig of swap | 09:36 |
Stskeeps | we have a ubuntu base system on nokia 770's, which are 64mb ram so | 09:37 |
jldugger | for the moment i'll stick with ipkg and see how that goes | 09:37 |
jldugger | there's two guides out there for running debian on this thing; one is chroot and the other is not | 09:38 |
ogra | hmm | 15:48 |
ogra | i wonder how debian does that ... htop on the nslug actually reports only 6M of 30 being used | 15:49 |
ogra | on an idling system | 15:49 |
suihkulokki | ogra: no UI, no memory problems ;) | 15:55 |
ogra | suihkulokki, well, i havent seen an ubuntu kernel running with 6M yet | 15:55 |
ogra | we even had probs booting 32M x86 systems in ltsp 48M was the bare minimum to unpack and execute the initramfs, its pretty impressing to see a 30M system booting and then running with only 6M userspace being used | 15:57 |
ogra | and i really wonder how to achieve that whithout trashing the ubuntu defaults to much | 15:57 |
ogra | hmm, so running an ubuntu userspace on the nslu2 immediately kicks me out after showing motd :( | 17:49 |
suihkulokki | ogra: I guess this extra ubuntu stuff is installed after debootstrap ? | 17:55 |
ogra | suihkulokki, https://wiki.ubuntu.com/ARM/RootfsFromScratch ... calls debootstrap, switches to qemu, does the second stage, sets up a user, locales and timezone and install the set of packages you give it ... (in this case only ubuntu-minimal) | 17:56 |
ogra | and yes, its a bunch more stuff being started than in the d-i lenny slug install | 17:57 |
ogra | but not enough to prevent a login, i think there shoud still be enough spare ram to run bash | 17:58 |
suihkulokki | because I was under the impression that debootstrap for ubuntu and debian are almost identical | 17:58 |
ogra | right | 17:58 |
suihkulokki | so I guess the bloat is in ubuntu-minimal | 17:58 |
ogra | well, the seond stage simply installs the ubuntu-minimal metapackage in ubuntu | 17:59 |
ogra | i wouldnt call it bloat :) | 17:59 |
ogra | its console-setup, klogd and some other essential settings | 17:59 |
ogra | the fun is that i actually see motd ... but then get bunped to login again | 18:00 |
ogra | *bumped | 18:00 |
ogra | http://paste.ubuntu.com/115708/ | 18:01 |
ogra | thats the ubuntu boot after leaving initramfs | 18:01 |
ogra | not actually a lot more than the debian boot .... and no MTA | 18:02 |
suihkulokki | indeed | 18:03 |
suihkulokki | perhaps there is some too funky bash config there | 18:03 |
suihkulokki | ie. try changing the user shell to dash | 18:04 |
ogra | yeah, i'll do that | 18:04 |
ogra | though it works fine on all other arms i tried it on yet .... | 18:04 |
suihkulokki | slug is a bit stretch on what makes sense for running a general purpose distro | 18:05 |
ogra | heh, yeah, 30M is something i havent seen in quite some time | 18:06 |
ogra | nope, dash doesnt help ... | 18:08 |
* ogra kills the startup links for syslog and klogd | 18:08 | |
ogra | aha, an error message | 18:13 |
ogra | init: ttyS0 main process ended, respawning | 18:13 |
* ogra checks his serial console setup again | 18:13 | |
ogra | heh | 18:14 |
ogra | ok, its just me having been silly setting up the proper upstart stuff | 18:15 |
ogra | putting -L into the getty line somewhat helps :P | 18:17 |
ogra | hrm, but still doesnt let me in | 18:20 |
ogra | sigh ... apex doesnt let me set init=/bin/bash ? pfft | 18:22 |
ogra | grrr, what a crappy HW | 18:23 |
ogra | oh | 18:28 |
ogra | readonly fs ... hmm | 18:28 |
* ogra adss lots of swap to exclude ram issues | 18:49 | |
ogra | GRRRRR | 18:49 |
ogra | no go :( | 18:50 |
Stskeeps | how much ram does the slug have anyway? | 18:51 |
ogra | 30M | 18:57 |
ogra | but it has 256M swap now | 18:57 |
ogra | so its not ram thats the issue | 18:57 |
* ogra curses ... i'd so love to know what that is | 18:58 | |
ogra | and that shitty bootloader doesnt let you change the cmdline on boot, you can only change it with apex-utils | 18:59 |
ogra | from the running system ... to which i cant log in to | 18:59 |
ogra | so booting with init=/bin/bash literally means to replace init each time i test something and need eth live HW | 19:01 |
ogra | *the | 19:01 |
ogra | hmm, so unsetting the rootpw gets me in as root | 19:22 |
ogra | but still no way to do it as user | 19:22 |
ogra | ah, well, so the ubuntu basic system with additionally running sshd uses up 7M | 20:46 |
ogra | nt to bad | 20:46 |
ogra | *not | 20:46 |
ogra | root@nslu2:~# sudo -u ogra ls | 21:34 |
ogra | Killed | 21:34 |
ogra | hmm | 21:34 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!