public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Alan Tyson <atyson@hp.com>
To: linux-ia64@vger.kernel.org
Subject: KDB errors from kdba_mca_init on HP rx8620 running SLES9 SP3
Date: Tue, 31 Oct 2006 18:45:54 +0000	[thread overview]
Message-ID: <454799E2.5070203@hp.com> (raw)

Hi Keith,

When running SLES9 SP3, which has KDB compiled in, it is not possible to
enter into KDB or LKCD when a TC (transfer control) command is issued. 
TC results in the OS init handler running and calling kdba_mca_init() 
which gives the following error:

 kdba_mca_init: not enough data in pal_min_state_area for kdb backtrace, cpu 3

This error results in the following some time later on:
 kdba_release_init_slave_stack: INIT slave tripped on cpu 0 when not in 
 kdb,should never happen

The reason for the initial error is that kdba_mca_init() expects that 
the floating point registers were saved by SAL when in fact they were 
not.  The SAL spec states that it is not necessary to store them and, 
in the interests of NMRAM real estate, the HP rx7620 and rx8620 systems 
do not.

What would be the down-side of ignoring the valid.fr bit?  I notice that
cr and minstate bits seem to have been ignored in previous changes.  
Here is the code:

1782         if (!s ||
1783 #if 0
1784             /* Itanium Erratum 66:
1785              *  on some models CR is always reported invalid
1786              *  minstate being zero could be an inherited error
1787              */
1788             !s->valid.cr ||
1789             !s->valid.minstate ||
1790 #endif
1791             !s->valid.br ||
1792             !s->valid.ar ||
1793             !s->valid.rr ||
1794             !s->valid.fr) {                              <=
1795                 /* Use printk to get the text in dmesg */
1796                 printk("%s: not enough data in pal_min_state_area for kdb
backtrace, cpu %d\n",
1797                                 __FUNCTION__, smp_processor_id());
1798                 goto out;
1799         }

Does removing the !s->valid.fr check seem like the appropriate fix, or 
do you have another suggestion?

Thanks,

Alan Tyson, HP Services. 


             reply	other threads:[~2006-10-31 18:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-31 18:45 Alan Tyson [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-11-01  5:46 KDB errors from kdba_mca_init on HP rx8620 running SLES9 SP3 Keith Owens

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=454799E2.5070203@hp.com \
    --to=atyson@hp.com \
    --cc=linux-ia64@vger.kernel.org \
    /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