From: Steev Klimaszewski <steev@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] openrc 0.12 - netifrc/newnet mix-up
Date: Tue, 10 Dec 2013 04:31:31 -0600 [thread overview]
Message-ID: <1386671491.1145.24.camel@oswin.hackershack.net> (raw)
In-Reply-To: <CAGfcS_=g3j5KLDWBLGosNOdee2OXjABqx35=RjMFSPmS4BLskQ@mail.gmail.com>
On Mon, 2013-12-09 at 20:33 -0500, Rich Freeman wrote:
> On Mon, Dec 9, 2013 at 2:56 PM, Rick "Zero_Chaos" Farina
> <zerochaos@gentoo.org> wrote:
> > I really don't like the idea of having no networking in the stage3 by
> > default, however, I'm becoming more open minded on what qualifies as
> > networking. What I'm wrestling with is this, what if I want to slap a
> > stage3 on a device and then access it from the network?
>
> Hit your head on the wall because it doesn't contain a kernel?
> Stage3s in general aren't functional systems.
You're thinking with your x86/amd64 hat on here. An ARM device can be
booted with the kernel over networking (or even via usb, as is the case
with most Android devices) and rootfs on local storage. Just because
x86/amd64 doesn't do it, doesn't mean others can't/don't.
What exactly is missing from a stage3 aside from a kernel? At this
point on most ARM devices, it goes like this:
extract stage3
edit inittab (and if needed) securetty
create net.eth0 & symlink it to the default runlevel, along with
openssh(assuming headless system)
copy your kernel & modules into their proper places (if needed)
put sdcard into arm device, watch it magically boot and work
What you're proposing is:
extract stage3
install qemu (assuming you don't have it yet)
mount dev/proc
chroot
emerge a-network-manager
<go get coffee, have a beer, make a three course meal>
set password (might as well, since you're chrooted)
vim inittab <oh wait, no vim, right, gotta run nano>
nano inittab (and if needed) securetty
exit chroot
unmount dev/proc
copy kernel & momdules to their proper places
put sdcard into arm device, watch it magically boot and work
Why exactly is the latter one better? the emerge a-network-manager step
would be far faster on the device itself, even the RPi.
I plan to look into the SUSE Qemu fork, as they've supposedly sped it up
immensely (iirc it takes about a week to build gcc according to armin76
for aarch64) but even then, that would be a hack as their patches may or
may not have been sent upstream - and they may be aarch64 specific and
arm could still be slow as balls.
So remember, just because your laptop/desktop can't do awesome stuff,
doesn't mean other devices can't :)
next prev parent reply other threads:[~2013-12-10 10:33 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-01 10:20 [gentoo-dev] openrc 0.12 - netifrc/newnet mix-up Alessandro DE LAURENZIS
2013-12-01 10:36 ` Alexander V Vershilov
2013-12-02 20:28 ` William Hubbs
2013-12-02 21:19 ` Rick "Zero_Chaos" Farina
2013-12-02 21:24 ` Ian Stakenvicius
2013-12-03 17:32 ` Alexander V Vershilov
2013-12-03 21:11 ` William Hubbs
2013-12-03 21:43 ` Ian Stakenvicius
2013-12-03 23:00 ` William Hubbs
2013-12-03 23:29 ` Ian Stakenvicius
2013-12-04 1:14 ` mingdao
2013-12-04 15:57 ` William Hubbs
2013-12-04 16:46 ` Samuli Suominen
2013-12-04 21:25 ` William Hubbs
2013-12-04 21:30 ` Mike Gilbert
2013-12-04 22:31 ` William Hubbs
2013-12-04 22:36 ` Mike Gilbert
2013-12-04 23:42 ` William Hubbs
2013-12-05 17:03 ` Samuli Suominen
2013-12-05 8:01 ` Martin Gysel
2013-12-05 9:23 ` Steev Klimaszewski
2013-12-04 23:45 ` Patrick Lauer
2013-12-05 0:13 ` William Hubbs
2013-12-05 0:20 ` Patrick Lauer
2013-12-05 0:17 ` Mike Gilbert
2013-12-05 1:56 ` William Hubbs
2013-12-06 15:26 ` Ian Stakenvicius
2013-12-06 15:38 ` Ben Kohler
2013-12-05 7:39 ` Alan McKinnon
2013-12-05 12:30 ` Rich Freeman
2013-12-05 17:01 ` Samuli Suominen
2013-12-07 5:52 ` Rick "Zero_Chaos" Farina
2013-12-07 12:42 ` Rich Freeman
2013-12-07 14:22 ` Rick "Zero_Chaos" Farina
2013-12-07 23:25 ` Rich Freeman
2013-12-08 2:34 ` Peter Stuge
2013-12-08 22:31 ` William Hubbs
2013-12-14 6:22 ` Jorge Manuel B. S. Vicetto
2013-12-14 17:18 ` Jeroen Roovers
2013-12-07 15:04 ` Peter Stuge
2013-12-08 22:25 ` William Hubbs
2013-12-09 14:50 ` Rick "Zero_Chaos" Farina
2013-12-09 15:28 ` Rich Freeman
2013-12-09 18:47 ` Steev Klimaszewski
2013-12-09 19:56 ` Rick "Zero_Chaos" Farina
2013-12-10 1:33 ` Rich Freeman
2013-12-10 10:31 ` Steev Klimaszewski [this message]
2013-12-10 11:23 ` Rich Freeman
2013-12-10 18:46 ` Steev Klimaszewski
2013-12-11 17:51 ` [gentoo-dev] " Steven J. Long
2013-12-16 22:33 ` [gentoo-dev] " Rick "Zero_Chaos" Farina
2013-12-11 2:57 ` William Hubbs
2013-12-14 5:56 ` Jorge Manuel B. S. Vicetto
2013-12-14 20:13 ` William Hubbs
2013-12-14 20:47 ` Jorge Manuel B. S. Vicetto
2013-12-14 21:57 ` William Hubbs
2013-12-14 22:22 ` Luis Ressel
2013-12-16 22:38 ` Rick "Zero_Chaos" Farina
2013-12-14 17:24 ` mingdao
2013-12-15 0:59 ` William Hubbs
2013-12-15 1:37 ` mingdao
2013-12-16 22:41 ` Rick "Zero_Chaos" Farina
2013-12-09 23:30 ` Patrick Lauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1386671491.1145.24.camel@oswin.hackershack.net \
--to=steev@gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox