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] Missing interrupts in 9pxeload?
Date: Fri,  5 Jun 2009 14:28:08 -0400	[thread overview]
Message-ID: <a670439cab10dcc08e8db1ab3e3b5ac2@quanstro.net> (raw)
In-Reply-To: <aa7e41150906041338u66c43391o4fcd16e44a822f6b@mail.gmail.com>

> below).  The machine has no mass storage device of any kind, nor an
> optical drive.  It does have a VGA interface and is connected to a
> keyboard and mouse by the onboard PS/2 connectors.  It is not using
> USB at all.  I have disabled pretty much everything except the
> graphics adapter and ethernet in the BIOS.
>
> I am attempting to PXE boot it from my file/auth/boot/cpu server (the
> aforementioned machine that is having some problems).  The machine
> DHCP's fine, and will load 9pxeload via TFTP, but then hangs.  I
> started playing around with 9pxeload to see what was going on,
> including updating the driver in /sys/src/boot/pc using Erik's latest
> from his directory on sources, but still no go.  I finally traced
> through the code far enough to see that it is getting stuck in the
> wait() routine in ether.c; that is defined in l.s, and just calls
> 'HLT' and 'RET'.  Ie, do nothing until you receipt of an interrupt and
> return.  However, no interrupts ever arrive; modifying wait() to
> comment out the call to idle() and then printing m->ticks every
> million or so iterations through the loop shows that m->ticks doesn't
> change.  It's as if all interrupts somehow got turned off prior to the
> call to wait().  Has anyone else seen this?  Could there be something
> somewhere that's disabling interrupts that I should look into?  Could
> things be being routed weirdly on an Atom processor?

how are you verifying that this machine isn't getting any
interrupts?  the wait loop will loop if an interrupt is rx'd
unless ring->owner != owner or it times out.  are you saying
that wait doesn't even timeout?

or do you mean that it's not getting any ethernet interrupts?
what irq is being enabled by ether8269.c?

- erik



  reply	other threads:[~2009-06-05 18:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-04 20:38 Dan Cross
2009-06-05 18:28 ` erik quanstrom [this message]
2009-06-05 20:49   ` Dan Cross
2009-06-05 21:30     ` balaji
2009-06-05 22:18       ` Dan Cross
2009-06-06  2:18         ` erik quanstrom
2009-06-06  6:57           ` Dan Cross
2009-06-06 15:00             ` erik quanstrom
2009-06-06  2:19     ` erik quanstrom

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