From: "Ronald G. Minnich" <rminnich@lanl.gov>
To: Russ Cox <russcox@gmail.com>,
Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] xen progress ...
Date: Wed, 24 Nov 2004 09:10:26 -0700 [thread overview]
Message-ID: <Pine.LNX.4.58.0411240907300.1285@linux.site> (raw)
In-Reply-To: <ee9e417a04112318264521fe1b@mail.gmail.com>
On Tue, 23 Nov 2004, Russ Cox wrote:
> > You can see the problem below.
>
> Where are the old R messages below?
>
> > srvold9p:->Rwrite tag 10 count 29
> > srvold9p:<-Twrite tag 10 fid 298 offset 52 count 5 'cpu% '
> > srvold9p:=>old Twrite tag 10 fid 298 offset 52 count 5 'cpu% '
> > srvold9p:->Rwrite tag 10 count 5
> > srvold9p:<-Tread tag 10 fid 296 offset 5 count 512
> > srvold9p:=>old Tread tag 10 fid 296 offset 5 count 512
> > srvold9p:->Rread tag 10 count 3 'ps
> > '
> > srvold9p:<-Twrite tag 8 fid 298 offset 57 count 3667 'bootes 1 0:01 0:04 88K Await init
> > bootes'
> > srvold9p:=>old Twrite tag 8 fid 298 offset 57 count 3667 'bootes 1 0:01 0:04 88K Await init
> > bootes'
> > srvold9p: (pid 101, errstr read or write too large) wrote -1 to old system; should be 3683
it's a peculiarity of srvold9p that it seems not to log old R messages.
Not sure why, I'm about to turn this logging off anyways ...
> I think that what is happening is your old 9P server (drawterm?)
> is responding with an old Rwrite with a -1 length, but that's not
> acceptable (it should respond with an Rerror
> instead), and the srvold9p code treats the number as
> unsigned and complains that it is too big (as too big
> as it could possibly be!).
it was worse. Xen was silently dropping MAXMTU transmit packets from Plan
9 as they come across with a size of 1516, not 1514 bytes. You would see
1516 on a MAXMTU "DMA" to Xen because I carelessly copied some code from
other plan 9 drivers that did a ROUNDUP of packet size to 4 byte
boundaries -- this is ok with real ethernet hardware, it just ignores the
last two bytes, but Xen was a little too smart for its own good. A fix of
ROUNDUP to 2 byte boundaries fixed things.
ron
next prev parent reply other threads:[~2004-11-24 16:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-23 19:27 Ronald G. Minnich
2004-11-23 19:49 ` andrey mirtchovski
2004-11-23 19:53 ` Skip Tavakkolian
2004-11-23 20:04 ` andrey mirtchovski
2004-11-23 23:16 ` David Leimbach
2004-11-23 23:33 ` David Leimbach
2004-11-24 2:26 ` Russ Cox
2004-11-24 16:07 ` Ronald G. Minnich
2004-11-24 16:11 ` David Leimbach
2004-11-24 16:22 ` Ronald G. Minnich
2004-11-24 16:27 ` David Leimbach
2004-11-24 16:10 ` Ronald G. Minnich [this message]
2004-11-24 16:39 ` Fco. J. Ballesteros
2004-11-24 19:20 ` Skip Tavakkolian
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=Pine.LNX.4.58.0411240907300.1285@linux.site \
--to=rminnich@lanl.gov \
--cc=9fans@cse.psu.edu \
--cc=russcox@gmail.com \
/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).