On Wed, 06 Jul 2011 11:40:08 PDT Bakul Shah <ba...@bitblocks.com>  wrote:
> Good news: 9atom installs fine on virtualbox 4.0.10 (the
>    latest) and most everything works
> Bad news: network access fails

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

Reply via email to