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] 9atom & virtualbox 4.0.10 networking issue
Date: Thu,  7 Jul 2011 11:29:57 -0400	[thread overview]
Message-ID: <eb3b906d06620e2784fa9032367ca6a6@ladd.quanstro.net> (raw)
In-Reply-To: <20110707075350.0BCF1B827@mail.bitblocks.com>

> It seems igbe never gets an interrupt (as per ether0/ifstats
> rintr == 0, rsleep == 1).  Pkts received count going up may
> have to do with some emulated h/w counter incremented by vbox.
>
> To test this theory I changed code to call igbeinterrupt()
> every 4 ticks instead of a real interrupt. In igberproc() I
> replaced
>
>         sleep(&ctrl->rrendez, igberim, ctlr);
> with
>         tsleep(&up->sleep, return0, 0, 4);
>         igbeinterrupt(0, edev);
>
> And things seem to be working well enough for '9fs sources'
> etc.!  Note: this is just a test hack. Ideally interrupt
> handling under vbox is fixed up by someone knowledgeable (I
> haven't dealt with this stuff in ages).

can you send me the output of /dev/irqalloc?

- erik



      reply	other threads:[~2011-07-07 15:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-06 18:40 Bakul Shah
2011-07-07  1:10 ` Fernan Bolando
2011-07-08  6:19   ` Bakul Shah
2011-07-08 15:14     ` erik quanstrom
2011-07-08 16:28       ` ron minnich
     [not found]       ` <CAP6exYKc4mXGWQi7a06a3tkhDe+z+VCX-z2BhapaSq=ZNYpPJg@mail.gmail.c>
2011-07-08 17:04         ` erik quanstrom
2011-07-08 17:43           ` ron minnich
2011-07-08 20:41             ` Bakul Shah
2011-10-27 19:47               ` andrey mirtchovski
2011-07-07  7:53 ` Bakul Shah
2011-07-07 15:29   ` erik quanstrom [this message]

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=eb3b906d06620e2784fa9032367ca6a6@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).