9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] making plan9 use sdD0
@ 2003-04-17 15:49 ron minnich
  2003-04-17 15:52 ` David Presotto
  0 siblings, 1 reply; 15+ messages in thread
From: ron minnich @ 2003-04-17 15:49 UTC (permalink / raw)
  To: 9fans


the boards I have come up with IDE on sdD0, not sdC0.

Any good ideas on how to make Plan 9 look there?

thanks

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 15:49 [9fans] making plan9 use sdD0 ron minnich
@ 2003-04-17 15:52 ` David Presotto
  2003-04-17 15:53   ` ron minnich
  0 siblings, 1 reply; 15+ messages in thread
From: David Presotto @ 2003-04-17 15:52 UTC (permalink / raw)
  To: 9fans

[-- Attachment #1: Type: text/plain, Size: 34 bytes --]

grep sdC0 in /sys/src/9/pc/pcdisk?

[-- Attachment #2: Type: message/rfc822, Size: 1724 bytes --]

From: ron minnich <rminnich@lanl.gov>
To: 9fans@cse.psu.edu
Subject: [9fans] making plan9 use sdD0
Date: Thu, 17 Apr 2003 09:49:07 -0600 (MDT)
Message-ID: <Pine.LNX.4.44.0304170948400.13014-100000@maxroach.lanl.gov>


the boards I have come up with IDE on sdD0, not sdC0.

Any good ideas on how to make Plan 9 look there?

thanks

ron

^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 15:52 ` David Presotto
@ 2003-04-17 15:53   ` ron minnich
  2003-04-17 17:20     ` ron minnich
  0 siblings, 1 reply; 15+ messages in thread
From: ron minnich @ 2003-04-17 15:53 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003, David Presotto wrote:

> grep sdC0 in /sys/src/9/pc/pcdisk?

damn. that easy? OK, I feel dumb again :-)

thanks

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 15:53   ` ron minnich
@ 2003-04-17 17:20     ` ron minnich
  2003-04-17 17:24       ` Dan Cross
  2003-04-17 17:25       ` rsc
  0 siblings, 2 replies; 15+ messages in thread
From: ron minnich @ 2003-04-17 17:20 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003, ron minnich wrote:

> On Thu, 17 Apr 2003, David Presotto wrote:
>
> > grep sdC0 in /sys/src/9/pc/pcdisk?
>
> damn. that easy? OK, I feel dumb again :-)

oh, no, not that easy.

I don't want booting on sdD0 to be an option. I just want plan9 to always
boot il, but to use sdD0/nvram for the nvram.

Does that make any more sense?

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 17:20     ` ron minnich
@ 2003-04-17 17:24       ` Dan Cross
  2003-04-17 17:28         ` ron minnich
  2003-04-17 17:25       ` rsc
  1 sibling, 1 reply; 15+ messages in thread
From: Dan Cross @ 2003-04-17 17:24 UTC (permalink / raw)
  To: 9fans

> oh, no, not that easy.
>
> I don't want booting on sdD0 to be an option. I just want plan9 to always
> boot il, but to use sdD0/nvram for the nvram.
>
> Does that make any more sense?

Set the nvram environment variable somehow; that'll do it.  You guys
are using a custom version of 9load, if I recall correctly.  Do you
have some mechanism for setting the environment?

	- Dan C.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 17:20     ` ron minnich
  2003-04-17 17:24       ` Dan Cross
@ 2003-04-17 17:25       ` rsc
  2003-04-17 21:26         ` ron minnich
  1 sibling, 1 reply; 15+ messages in thread
From: rsc @ 2003-04-17 17:25 UTC (permalink / raw)
  To: 9fans

set nvram=#S/sdD0/nvram
in your plan9.ini



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 17:24       ` Dan Cross
@ 2003-04-17 17:28         ` ron minnich
  0 siblings, 0 replies; 15+ messages in thread
From: ron minnich @ 2003-04-17 17:28 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003, Dan Cross wrote:

> Set the nvram environment variable somehow; that'll do it.  You guys
> are using a custom version of 9load, if I recall correctly.  Do you
> have some mechanism for setting the environment?

ah, ok. I'll let andrey tell me how :-)

that sounds good to me.

Now I realize I never looked to see how env got from 9load to plan9, so
that's next.

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 17:25       ` rsc
@ 2003-04-17 21:26         ` ron minnich
  2003-04-17 21:36           ` Dan Cross
  0 siblings, 1 reply; 15+ messages in thread
From: ron minnich @ 2003-04-17 21:26 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003 rsc@plan9.bell-labs.com wrote:

> set nvram=#S/sdD0/nvram
> in your plan9.ini

OK, I would do this but just noticed that 9load is not finding sdD0.

OK, why would this happen? (Yes, I'm perusing code but still haven't seen
why).

thanks

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:26         ` ron minnich
@ 2003-04-17 21:36           ` Dan Cross
  2003-04-17 21:43             ` ron minnich
  0 siblings, 1 reply; 15+ messages in thread
From: Dan Cross @ 2003-04-17 21:36 UTC (permalink / raw)
  To: 9fans

> > set nvram=#S/sdD0/nvram
> > in your plan9.ini
>
> OK, I would do this but just noticed that 9load is not finding sdD0.
>
> OK, why would this happen? (Yes, I'm perusing code but still haven't seen
> why).

It shouldn't matter that 9load doesn't see sdD0 (unless you have a
plan9.ini on it), since nothing touches nvram in 9load.

	- Dan C.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:36           ` Dan Cross
@ 2003-04-17 21:43             ` ron minnich
  2003-04-17 21:48               ` rsc
  2003-04-17 21:49               ` Dan Cross
  0 siblings, 2 replies; 15+ messages in thread
From: ron minnich @ 2003-04-17 21:43 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003, Dan Cross wrote:

> > > set nvram=#S/sdD0/nvram
> > > in your plan9.ini
              ^^^^^^^^^
> It shouldn't matter that 9load doesn't see sdD0 (unless you have a
> plan9.ini on it), since nothing touches nvram in 9load.

So I think I want 9load to see sdD0 to get plan9.ini so I can set env
variables.

ron




^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:43             ` ron minnich
@ 2003-04-17 21:48               ` rsc
  2003-04-17 21:57                 ` ron minnich
  2003-04-17 21:49               ` Dan Cross
  1 sibling, 1 reply; 15+ messages in thread
From: rsc @ 2003-04-17 21:48 UTC (permalink / raw)
  To: 9fans

9load has an old version of the ata driver,
and it probably can't handle the lack of sdC0.
i'm surprised the kernel proper handles it.
it's very weird that your first ide interface
doesn't configure itself as sdC0.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:43             ` ron minnich
  2003-04-17 21:48               ` rsc
@ 2003-04-17 21:49               ` Dan Cross
  2003-04-17 21:58                 ` ron minnich
  1 sibling, 1 reply; 15+ messages in thread
From: Dan Cross @ 2003-04-17 21:49 UTC (permalink / raw)
  To: 9fans

> > > > set nvram=#S/sdD0/nvram
> > > > in your plan9.ini
>               ^^^^^^^^^
> > It shouldn't matter that 9load doesn't see sdD0 (unless you have a
> > plan9.ini on it), since nothing touches nvram in 9load.
>
> So I think I want 9load to see sdD0 to get plan9.ini so I can set env
> variables.

Sorry, I'm confused; I thought you guys had a custom 9load that ignored
disks and things like that, and just booted from the network.  I assumed
you had a mechanism for hardwiring environment variables that would be
sufficient.  My bad.

	- Dan C.



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:48               ` rsc
@ 2003-04-17 21:57                 ` ron minnich
  2003-04-17 22:22                   ` jmk
  0 siblings, 1 reply; 15+ messages in thread
From: ron minnich @ 2003-04-17 21:57 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003 rsc@plan9.bell-labs.com wrote:

> it's very weird that your first ide interface
> doesn't configure itself as sdC0.

it's the way this board works. Compact flash is sdD0.

Not fixable.

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:49               ` Dan Cross
@ 2003-04-17 21:58                 ` ron minnich
  0 siblings, 0 replies; 15+ messages in thread
From: ron minnich @ 2003-04-17 21:58 UTC (permalink / raw)
  To: 9fans

On Thu, 17 Apr 2003, Dan Cross wrote:

> I assumed you had a mechanism for hardwiring environment variables that
> would be sufficient.


We do as of about the last 5 minutes :-)

ron



^ permalink raw reply	[flat|nested] 15+ messages in thread

* Re: [9fans] making plan9 use sdD0
  2003-04-17 21:57                 ` ron minnich
@ 2003-04-17 22:22                   ` jmk
  0 siblings, 0 replies; 15+ messages in thread
From: jmk @ 2003-04-17 22:22 UTC (permalink / raw)
  To: 9fans

On Thu Apr 17 17:59:24 EDT 2003, rminnich@lanl.gov wrote:
> On Thu, 17 Apr 2003 rsc@plan9.bell-labs.com wrote:
>
> > it's very weird that your first ide interface
> > doesn't configure itself as sdC0.
>
> it's the way this board works. Compact flash is sdD0.
>
> Not fixable.
>
> ron

	/*
	 * Legacy controllers are always 'C' and 'D' and if
	 * they exist and have drives will be first in the list.
	 * If there are no active legacy controllers, native
	 * controllers start at 'C'.
	 */


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2003-04-17 22:22 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-17 15:49 [9fans] making plan9 use sdD0 ron minnich
2003-04-17 15:52 ` David Presotto
2003-04-17 15:53   ` ron minnich
2003-04-17 17:20     ` ron minnich
2003-04-17 17:24       ` Dan Cross
2003-04-17 17:28         ` ron minnich
2003-04-17 17:25       ` rsc
2003-04-17 21:26         ` ron minnich
2003-04-17 21:36           ` Dan Cross
2003-04-17 21:43             ` ron minnich
2003-04-17 21:48               ` rsc
2003-04-17 21:57                 ` ron minnich
2003-04-17 22:22                   ` jmk
2003-04-17 21:49               ` Dan Cross
2003-04-17 21:58                 ` ron minnich

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).