9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cblack1@uiuc.edu
To: 9fans@cse.psu.edu
Subject: [9fans] Alpha bootloader "kernel stack not valid"
Date: Wed, 22 Feb 2006 22:55:18 -0600	[thread overview]
Message-ID: <20060223045518.GA32556@slash.bytex64.net> (raw)

I have an AlphaPC 164LX that I've decided to try Plan 9 on, but I've hit
a roadblock in my efforts. I've successfully compiled the binaries,
kernel, and bootloader on another machine, and found a network card that
works with the SRM bootp/tftp bootloader (Intel 82559, oddly enough).
Bootp works great, the loader loads, the loader loads its configuration
perfectly, but as soon as it gets the first block of the kernel, the
process gets a "kernel stack not valid halt". I've got the latest SRM
console, V5.8-1, and the Plan 9 sources are from the Plan 9 ISO image I
pulled down several days ago.

I've traced it down to the memmove() call on line 532 of
/sys/src/boot/alphapc/bootp.c (or at least I think that's where it is, I
mangled the file a bit in the process of debugging). Apparently any
access to 0x80400020 (The hard-coded load address in the Alpha kernel)
results in this error. I'm aware that the Intel 8255x isn't known to
work with Plan 9 on Alpha, but that shouldn't make a difference before
the kernel is actually loaded, should it? Any idea at which bits I
should begin poking?

~chip


             reply	other threads:[~2006-02-23  4:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-23  4:55 cblack1 [this message]
2006-02-23  6:57 ` geoff
2006-02-23  7:30   ` cblack1
2006-02-23  8:15     ` geoff
2006-02-23  9:19       ` cblack1
2006-02-23  9:40         ` geoff
2006-02-23  9:48           ` cblack1
2006-02-23 16:25       ` LiteStar numnums

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=20060223045518.GA32556@slash.bytex64.net \
    --to=cblack1@uiuc.edu \
    --cc=9fans@cse.psu.edu \
    /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).