9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: erik quanstrom <quanstro@quanstro.net>
To: 9fans@9fans.net
Subject: Re: [9fans] Cannot boot plan9
Date: Tue, 18 Mar 2014 15:43:41 -0400	[thread overview]
Message-ID: <ab02d4c5bb96760df30be0923d659b03@ladd.quanstro.net> (raw)
In-Reply-To: <20140318182858.GA746@spark.home>

> Do you think that there is a point in trying to solve it? Where should I
> start when I would like to fix this issue. Is it easy or rather hard
> task? How does the develop process looks like when doing such things?

i think this is a hard question to answer.  on the one hand, i don't want
to be discouraging or anything like that.  but on the other hand, it's a
little bit like a mensa question.  it's possible to get really stuck.  and there's
the h/w availability issue.

if you really want to do it, why don't you write a proposal.

since there are no docs, you will have to get the linux or *bsd driver,
and start disecting it.
1.  understand the general scope
2.  find bits like toe that can be completely dropped.
3.  work out what the os interface is.

since this gets boring and i tend to get antsy without working code,
i generally start writing a skeleton driver.  think of wirth's example of
writing a program.  it's a pretty good approach for drivers.

i'm sure you can recognize (but not drive) the hardware on the first day.
break things down into steps so that each bit of code adds functionality.
resist at all costs the temptation to have nothing working till the last
semicolon is in place.

that's my recommendation.

> > i would recommend running from usb on this machine.
> Does plan9 suport something like linux tmpfs?

ramfs.  on plan 9 this is a user-level process. you can run it at any time,
and concurrently run several in different namespaces.

> because when I boot
> the system from the image you have given me I cannot save any file. Does
> plan9 support saving the state of live session?

that's a bit surprising.

try
	echo >/lib/emptyfile

does that yield an error?

> > alternatively, find an ahci add in card.
> It's probably a noob question but how can I do this? Is it's controled
> by some bios software or it needs some hardware changes?

each add-in card determines the register interface it would like to present.
bios has no say in the matter.

- erik



  reply	other threads:[~2014-03-18 19:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-16 15:53 Szymon Olewniczak
2014-03-16 16:14 ` erik quanstrom
2014-03-17 22:19   ` Szymon Olewniczak
2014-03-17 22:33     ` erik quanstrom
2014-03-18 10:51       ` cinap_lenrek
2014-03-18 12:31         ` erik quanstrom
2014-03-18 14:31           ` cinap_lenrek
2014-03-18 16:05             ` erik quanstrom
2014-03-18 18:28       ` Szymon Olewniczak
2014-03-18 19:43         ` erik quanstrom [this message]
2014-03-21 22:32           ` Szymon Olewniczak
2014-03-21 22:38             ` erik quanstrom
2014-04-01 18:20               ` Szymon Olewniczak
2014-04-01 19:11                 ` erik quanstrom
2014-03-22  2:33       ` Alex Jordan
2014-03-22  2:55         ` erik quanstrom

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=ab02d4c5bb96760df30be0923d659b03@ladd.quanstro.net \
    --to=quanstro@quanstro.net \
    --cc=9fans@9fans.net \
    /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).