Akshat Kumar | 1 Feb 2009 01:09

Re: Installation CD Problems

OK, so I'm just getting caught up on the
replies here so far.

As far as /dev/sdC0 goes -- BLS is right,
it was really /dev/sdD0, and I remembered
incorrectly. That is, the CD ROM Drive is,
indeed, second IDE master.

erik quanstrom | 1 Feb 2009 01:31
Favicon

Re: Installation CD Problems

> OK, so I'm just getting caught up on the
> replies here so far.
> 
> As far as /dev/sdC0 goes -- BLS is right,
> it was really /dev/sdD0, and I remembered
> incorrectly. That is, the CD ROM Drive is,
> indeed, second IDE master.

i think it's really likely that this change needs
to be move from the kernel into 9load's sdata.c.
but it's pretty hard for me to test.  regardless,
if this change is good enough for the kernel,
it should be good enough for 9load:

diff -c /sys/src/boot/pc-e820/sdata.c /n/sources/plan9/sys/src/boot/pc/
(other stuff)
/sys/src/boot/pc-e820/sdata.c:875,882 - /n/sources/plan9/sys/src/boot/pc//sdata.c:875,881
  	qlock(ctlr);

  	as = ataready(cmdport, ctlport, drive->dev, Bsy|Drq, Drdy, 107*1000);
- 	/* used to test as&Chk as failure too, but some CD readers use that for media change */
- 	if(as < 0){
+ 	if(as < 0 || (as&Chk)){
  		qunlock(ctlr);
  		return -1;
  	}

- erik

(Continue reading)

Kenji Arisawa | 1 Feb 2009 05:29
Picon

Pegasus 2.6 is released

Hello,

Pegasus 2.6 is released with new WebDAV script written in Lua.
Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more details.

Enjoy

Kenji Arisawa

lucio | 1 Feb 2009 05:41
Picon

Re: Pegasus 2.6 is released

> Pegasus 2.6 is released with new WebDAV script written in Lua.
> Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more details.

We need a little bit more than "plan9" in the host name :-)

++L

John Barham | 1 Feb 2009 05:43
Picon
Gravatar

Re: Pegasus 2.6 is released

Kenji Arisawa wrote:

> Pegasus 2.6 is released with new WebDAV script written in Lua.
> Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more details.

Do you have a non-local URL host name?

Kenji Arisawa | 1 Feb 2009 05:47
Picon

Re: Pegasus 2.6 is released

Sorry,

http://plan9.aichi-u.ac.jp/pegasus/eman-2.6/

Kenji Arisawa

On 2009/02/01, at 13:41, lucio <at> proxima.alt.za wrote:

>> Pegasus 2.6 is released with new WebDAV script written in Lua.
>> Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more  
>> details.
>
> We need a little bit more than "plan9" in the host name :-)
>
> ++L
>
>

lucio | 1 Feb 2009 05:47
Picon

Re: Installation CD Problems

> The only problem seems to be with the plan9.ini  
> file, /sys/lib/dist/pc/plan9.ini.cd, which specifically asks to boot  
> from /dev/sdD0

If I understand the handling of the bootfile and bootargs, multiple
entries for most variables cause a menu prompt.  But that does not
apply here, you're referring to the second option, the first,
[install], boots off the floppy.  Where is the plan9.ini that the
floppy consults?

++L

Kenji Arisawa | 1 Feb 2009 05:50
Picon

Re: Pegasus 2.6 is released

Sorry,

http://plan9.aichi-u.ac.jp/pegasus/eman-2.6/

Kenji Arisawa

On 2009/02/01, at 13:41, lucio <at> proxima.alt.za wrote:

>> Pegasus 2.6 is released with new WebDAV script written in Lua.
>> Take a look at http://plan9/remoty/pegasus/eman-2.6/ for more  
>> details.
>
> We need a little bit more than "plan9" in the host name :-)
>
> ++L

andrey mirtchovski | 1 Feb 2009 05:50
Picon

Re: Pegasus 2.6 is released

http://plan9.aichi-u.ac.jp/pegasus/eman-2.6/

John Barham | 1 Feb 2009 06:47
Picon
Gravatar

Re: Pegasus 2.6 is released

> Pegasus 2.6 is released with new WebDAV script written in Lua.

Interesting that you used Lua.  I think it's generally
under-appreciated but IMO is very well designed and philosophically a
good fit for Plan 9.  However, inasmuch as you had to build a custom
interpreter to add features for Pegasus this exposes a weakness of
Plan 9 in that it can't dynamically load libraries at run-time which
is the normal extension mechanism for scripting languages on other
platforms.

Can someone comment on how feasible it would be to add general support
for dynamically loading libraries to Plan 9?  Is there some structural
reason why it can't be done or is it just that nobody has done the
work yet?  Note that I am specifically not asking about "shared"
libraries...

  John


Gmane