Noah Evans | 1 Feb 03:02 2006
Picon

Re: malloc/ (long)((void*)v)

Bingo:

ulong test = 0xAFAFAFAF;

void
main(void)
{

	ulong i = 0, j = 0;
	memcpy(etext,bdata,edata-bdata);
	memset(edata, 0, end-edata);		/* clear the BSS */
	
	while(1) {
		i++; /* change a lot so I can see which reg its in */

Watching the registers(no screen yet) the value is getting hosed.

Noah

On Feb 1, 2006, at 4:33 AM, Ronald G Minnich wrote:

> Noah Evans wrote:
>> One last question before I go to bed.
>> I've got the Data and BSS sections set up reasonably it seems,  
>> but  malloc blows the kernel to shreds.
>
> it might be what you said, but when I've had this before it's  
> because I screwed up the location of the data segment, in which  
> case initialized data was wrong.
>
(Continue reading)

Christopher Nielsen | 1 Feb 05:28 2006
Picon

Van Jacobsen's network stack restructure

anyone seen this?

http://www.lemis.com/grog/Documentation/vj/

i don't know if his methods have any application to Plan 9, since the
Plan 9 IP stack doesn't seem to have the lineage of the linux and bsd
stacks. i am not intimate with the IP stack code, but it might bear a
lookover.

it at least has me curious enough to go digging around through the code. :-)

--
Christopher Nielsen
"They who can give up essential liberty for temporary
safety, deserve neither liberty nor safety." --Benjamin Franklin
ems | 1 Feb 06:57 2006
Picon
Picon

Re: Van Jacobsen's network stack restructure

Do the PDFs on that site seem malformed? Or is it just a corrupted
download?
On Tue, 2006-01-31 at 20:28 -0800, Christopher Nielsen wrote:
> anyone seen this?
> 
> http://www.lemis.com/grog/Documentation/vj/
> 
> i don't know if his methods have any application to Plan 9, since the
> Plan 9 IP stack doesn't seem to have the lineage of the linux and bsd
> stacks. i am not intimate with the IP stack code, but it might bear a
> lookover.
> 
> it at least has me curious enough to go digging around through the code. :-)
> 
> --
> Christopher Nielsen
> "They who can give up essential liberty for temporary
> safety, deserve neither liberty nor safety." --Benjamin Franklin

Christopher Nielsen | 1 Feb 07:00 2006
Picon

Re: Van Jacobsen's network stack restructure

they were fine for me.

using debian/x86, acrobat7

On 1/31/06, ems <oat <at> iinet.net.au> wrote:
> Do the PDFs on that site seem malformed? Or is it just a corrupted
> download?
> On Tue, 2006-01-31 at 20:28 -0800, Christopher Nielsen wrote:
> > anyone seen this?
> >
> > http://www.lemis.com/grog/Documentation/vj/
> >
> > i don't know if his methods have any application to Plan 9, since the
> > Plan 9 IP stack doesn't seem to have the lineage of the linux and bsd
> > stacks. i am not intimate with the IP stack code, but it might bear a
> > lookover.
> >
> > it at least has me curious enough to go digging around through the code. :-)
> >
> > --
> > Christopher Nielsen
> > "They who can give up essential liberty for temporary
> > safety, deserve neither liberty nor safety." --Benjamin Franklin
>
>

--
Christopher Nielsen
"They who can give up essential liberty for temporary
safety, deserve neither liberty nor safety." --Benjamin Franklin
(Continue reading)

Federico G. Benavento | 1 Feb 07:03 2006
Picon

Re: Van Jacobsen's network stack restructure

oat, 

the pdf works fine with page(1)
Picon Picon
From: ems <oat <at> iinet.net.au>
Subject: Re: [9fans] Van Jacobsen's network stack restructure
Date: 2006-02-01 05:57:31 GMT
Do the PDFs on that site seem malformed? Or is it just a corrupted
download?
On Tue, 2006-01-31 at 20:28 -0800, Christopher Nielsen wrote:
> anyone seen this?
> 
> http://www.lemis.com/grog/Documentation/vj/
> 
> i don't know if his methods have any application to Plan 9, since the
> Plan 9 IP stack doesn't seem to have the lineage of the linux and bsd
> stacks. i am not intimate with the IP stack code, but it might bear a
> lookover.
> 
> it at least has me curious enough to go digging around through the code. :-)
> 
> --
> Christopher Nielsen
(Continue reading)

ems | 1 Feb 07:06 2006
Picon
Picon

Re: Van Jacobsen's network stack restructure

Thanks, I downloaded it again, still malformed for me.

I am also using debian/x86. My reader is Evince. Going to file a bug.

Thanks.

On Tue, 2006-01-31 at 22:00 -0800, Christopher Nielsen wrote:
> they were fine for me.
> 
> using debian/x86, acrobat7
> 
> On 1/31/06, ems <oat <at> iinet.net.au> wrote:
> > Do the PDFs on that site seem malformed? Or is it just a corrupted
> > download?
> > On Tue, 2006-01-31 at 20:28 -0800, Christopher Nielsen wrote:
> > > anyone seen this?
> > >
> > > http://www.lemis.com/grog/Documentation/vj/
> > >
> > > i don't know if his methods have any application to Plan 9, since the
> > > Plan 9 IP stack doesn't seem to have the lineage of the linux and bsd
> > > stacks. i am not intimate with the IP stack code, but it might bear a
> > > lookover.
> > >
> > > it at least has me curious enough to go digging around through the code. :-)
> > >
> > > --
> > > Christopher Nielsen
> > > "They who can give up essential liberty for temporary
> > > safety, deserve neither liberty nor safety." --Benjamin Franklin
(Continue reading)

uriel | 1 Feb 12:08 2006

Stitch and EFIS

I was reading in the 9fans archives of 2001 about stitch[1], any
chance whatever code exists could be released?

And I have asked before but got no answer: any chance that the EFIS
program mentioned in the "Distributed Computing With Plan 9"[2] paper by
by Sape Mullender and Dave Presotto could be released?

uriel

[1] http://groups.google.com/group/comp.os.plan9/msg/1c785f11824ec0aa
[2] http://www.cs.unibo.it/ersads/tutorials/mullender.ps

Dave Eckhardt | 1 Feb 18:18 2006
Picon

Re: Stitch and EFIS

> I was reading in the 9fans archives of 2001 about stitch[1],
> any chance whatever code exists could be released?

Not exactly the same thing, but it might work for your purposes,
is Chao-Kuo Lin's divergefs.  It's on the contributed software
page under "de0u" (my alter ego).

What are your purposes, BTW?  If divergefs doesn't serve, there's
a chance Chao-Kuo would be willing to move it in your direction.

Dave Eckhardt

uriel | 1 Feb 18:46 2006

Re: Van Jacobsen's network stack restructure

> anyone seen this?
> 
> http://www.lemis.com/grog/Documentation/vj/
Yes quite interesting, and here is a nice writeup: 
http://vger.kernel.org/~davem/cgi-bin/blog.cgi/2006/01/27

> i don't know if his methods have any application to Plan 9, since the
> Plan 9 IP stack doesn't seem to have the lineage of the linux and bsd
> stacks. i am not intimate with the IP stack code, but it might bear a
> lookover.
>From the very little I know about our IP stack(which comes from reading Nemo's
excellent commentary on the 3rd edition kernel source), we might be not too
far from a design similar to what is described there, but I might be completely
wrong.

And even if it's not, /net makes it easy to put the IP stack in user space without
having to change a single line of application code. Ah, the more I deal with
Plan 9, the more I love it :)

Maybe we should try to convince those lunix people to replace sockets with
something like /net? ;)

uriel

> 
> it at least has me curious enough to go digging around through the code. :-)
> 

Skip Tavakkolian | 1 Feb 19:10 2006

Re: Van Jacobsen's network stack restructure

> Maybe we should try to convince those lunix people to replace sockets with
> something like /net? ;)

i would highly recommend gene therapy over transplantation.


Gmane