From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 22 Sep 2010 22:01:12 +0200 From: frank@inua.be To: 9fans@9fans.net Message-ID: <20100922200111.GA7689@chiron.galaxy> References: <20100921214147.GA9775@chiron.galaxy> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [9fans] pxe booting net4801 Topicbox-Message-UUID: 593cfb26-ead6-11e9-9d60-3106f5b1d025 On Tue, Sep 21, 2010 at 11:29:49PM -0400, erik quanstrom wrote: > > I can't get a Soekris net4801 box to boot Plan 9 via PXE. > > > > On my Plan 9 fileserver (which also runs ip/dhcpd and ip/tftpd), I > > created /cfg/pxe/, which is > > almost identical to the file I use for a diskless terminal. The only > > differences are that I put mouseport, monitor and vgasize in > > comment. The remaining things, bootfile and nobootprompt are the same > > as for the terminal. I first tried to boot /386/9pc.gz and then > > /386/9pccpu.gz (see below). I also added *nomp=1 but that doesn't seem > > to get it any further. The console output looks as follows: > > the output stops after the jump to the kernel proper. so > either the jump the kernel, or the very early boot process before > the "Plan 9" print hung, or the serial console isn't working in the > kernel proper. > > have you set up the serial console in your pxe'd plan9.ini? For the record... although 9600 baud, 8 bits and 1 stopbit is the default for serial lines, the default console is cga... Adding console=0 to the pxe'd plan9.ini solved the issue. > that would cover the second case. if you're using the distribution > 9load, serial baud setting is via baud=. the kernel baud setting > is , e.g. "console=0 b19200". i changed 9load in 9atom to recognize > kernel-style console configuration when i was booting soekris > boxen. > > i haven't used a soekris for quite some time. (too slow!) iirc, Good enough to play around and learn something new. I would like to turn it into an auth-only server booting from a fileserver, as indicated on [*]. More specifically, I wonder if this would be safe: on the one hand, an auth server actually shouldn't provide other services, on the other hand it would get everything via the network. Another thing to check would be the usage of a piece of a CF card as NVRAM. [*] http://www.plan9.bell-labs.com/wiki/plan9/Configuring_a_standalone_CPU_server/index.html > some versions of bios are more friendly than others. iirc 1.33 > was a problem with plan 9 on my particular hardware. > > as a wild guess, one might disable the functions in cga.c > obviously, there's no cga. Thanks for mentioning this as it caught my eye when re-reading the console part of the plan9.ini manpage. > - erik -- Frank Lenaerts ---------------------------------------- frank@inua.be