9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: andrey mirtchovski <andrey@lanl.gov>
To: 9fans@cse.psu.edu
Subject: [9fans] ether probing and 9load
Date: Thu, 14 Mar 2002 15:40:51 -0700	[thread overview]
Message-ID: <20020314223726.4DCE119995@mail.cse.psu.edu> (raw)

hi,

we put 9load in flash around here (disk on chip) and are having
linuxbios load it as a kernel.  it works quite nice on some
architectures and not so nice on others, but we're trying to squash
the bugs as much as possible.

the modifications we had to do to 9load to make it work with linuxbios
were amazingly few and mostly involved commenting out 16-bit asm
from l.s...  simple is good.

one problem that we're having is that 9load decidedly is unable to
find a plan9.ini file to read the machine configuration from.  if we
plug a disk into the machine and wait for it to spin (yes, by the time
linuxbios+9load start probing for disks they haven't even spun up yet)
then we can use the plan9.ini there, but the ultimate goal is to have
9load etherboot off the net.  therein lies the problem -- etherinit()
is called, but because isaconfig() finds no ethernet card there is no
card to call reset() for and as a result no ethernet appears in the
'boot from:' menu...

the question is: is there an easy way to probe for all ethercards[] or
should we stick with the 'in-house' solution, which is strcpy(ctlr->type, "rtl8139"); in etherinit()

thanx, andrey




             reply	other threads:[~2002-03-14 22:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14 22:40 andrey mirtchovski [this message]
2002-03-15  3:12 jmk

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=20020314223726.4DCE119995@mail.cse.psu.edu \
    --to=andrey@lanl.gov \
    --cc=9fans@cse.psu.edu \
    /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;
as well as URLs for NNTP newsgroup(s).