Bug 153105 - Hercules 3.03 complains about specification exception on CXGBR 0,11
Summary: Hercules 3.03 complains about specification exception on CXGBR 0,11
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 5
Hardware: i686 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Hannes Reinecke
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-23 15:43 UTC by Joerg Reuter
Modified: 2006-03-10 10:14 UTC (History)
1 user (show)

See Also:
Found By: Beta-NTS
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joerg Reuter 2006-02-23 15:43:19 UTC
SLES10 Beta 5 for s390x isn't properly installable on Hercules 3.03 as Hercules complains about CXGBR-commands and throws specification exceptions on "mv" and "cp" (gcc-4.1 uses that opcode quite often...):

starting yast...
HHCCP014I CPU0000: Specification exception CODE=0006 ILC=4
CPU0000:  PSW=0705E001 80000000 0000000080008604 INST=B3A6000B     CXGBR 0,11   
[..]
/usr/lib/YaST2/startup/First-Stage/F07-config: line 9:  1652 Illegal instruction
     (core dumped) cp -f /proc/mounts /etc/mtab                                 

I found the following on the hercules-390 mailing list on this subject:

To: hercules-390@yahoogroups.com
Cc: zHercules@yahoogroups.com
From: Pasi Pirhonen <upi@iki.fi>
List-Id: <hercules-390.yahoogroups.com>
Date: Wed, 15 Feb 2006 12:00:38 +0200
Subject: Re: [hercules-390] Do we have problem with emulation (Fedora Core 5 level linux stuff)

Hi,

On Wed, Feb 15, 2006 at 04:20:25AM -0500, Greg Smith wrote:
> On Wed, 2006-02-15 at 10:31 +0200, Pasi Pirhonen wrote:
>
> > HHCCP014I CPU0001: Specification exception CODE=0006 ILC=4
> > CPU0001:  PSW=0705E001 80000000 0000000080008B90 INST=B3A6000B CXGBR 0,11
>
>
> Hmmm, TFM says "For CXFBR and CXGBR, the R1 field must designate a valid
> floating-point-register pair; otherwise, a specification exception is
> recognized."
>
> But the code is doing `BFPREGPAIR2_CHECK(r1, r2, regs);'.  This should
> probably be `BFPREGPAIR2_CHECK(r1, 0, regs);' instead??
>

--- hercules-cvs/ieee.c.BAD     2006-02-08 16:42:11.000000000 +0200
+++ hercules-cvs/ieee.c 2006-02-15 11:48:23.000000000 +0200
@@ -2032,7 +2032,7 @@
     RRE(inst, regs, r1, r2);
     //logmsg("CXGBR r1=%d r2=%d\n", r1, r2);
     BFPINST_CHECK(regs);
-    BFPREGPAIR2_CHECK(r1, r2, regs);
+    BFPREGPAIR2_CHECK(r1, 0, regs);

     op2 = regs->GR_G(r2);

[..]
Comment 1 Joerg Reuter 2006-02-24 17:43:18 UTC
Hmm, it complains about STSCH 0(3) now:

HHCCP014I CPU0000: Operand exception CODE=0015 ILC=4                            
CPU0000:  PSW=07041001 80000000 000000000033F0FA INST=B2343000     STSCH 0(3)
Comment 2 Joerg Reuter 2006-02-24 18:18:59 UTC
Hmm... Coming in this very minute:

----------

To: hercules-390@yahoogroups.com, hercules-390-announce@yahoogroups.com,
        zhercules@yahoogroups.com, ibm-main@bama.ua.edu,
        linux-390@vm.marist.edu
From: Jay Maynard <jmaynard@conmicro.cx>
Mailing-List: list hercules-390@yahoogroups.com; contact hercules-390-owner@yahoogroups.com
Date: Fri, 24 Feb 2006 11:01:27 -0600
Subject: [hercules-390] Hercules 3.04 announcement

What's new in release 3.04

Release date: 24 February 2006

        CCKD garbage collection fix (Greg Smith)
        Reworked timing functions (Jan Jaeger)
        Codepage 1047 conversion tables (Kevin Leonard)
        Fixed off-by-one-day bug with SYSEPOCH other than 1900;
                added new config parameter, YROFFSET, and added warning if
                SYSEPOCH is not 1900 or 1960 (Jay Maynard, Jan Jaeger)
        New 2305 CKD disk emulation (Jay Maynard)
        Added floating point instructions CEGR, CDGR and CXGR (Bernard van
                der Helm)
        Added support for cgi-bin dynamic modules (David "Fish" Trout)
        Instruction fixes: PLO, CVB, CXFBR, CXGBR (Bernard van der Helm,
                David "Fish" Trout, Greg Smith, Pasi Pirhonen)
        Fix for Windows ..\relative path dasd files (David "Fish" Trout)

This is a recommended update for all Hercules users. The CCKD garbage
collection fix, in particular, fixes a problem that might cause CCKD DASD
files to grow uncontrollably in unusual circumstances.

-- 
Jay Maynard, K5ZC                    http://www.conmicro.cx
http://jmaynard.livejournal.com      http://www.tronguy.net
http://www.hercules-390.org               (Yes, that's me!)
Buy Hercules stuff at http://www.cafepress.com/hercules-390

----------

Does not mention the STSCH messages, but fixes various other issues as well.
Comment 3 Joerg Reuter 2006-02-27 15:50:11 UTC
Okay, the STSCH thing is still in 3.04... And it still needs the overflow patch...
Comment 4 Ulrich Hecht 2006-03-09 16:31:44 UTC
Seems to be a kernel problem, see this mail by Cornelia Huck:

http://permalink.gmane.org/gmane.linux.kernel/383551

Hannes, please get this patch into our kernel.
Comment 5 Hannes Reinecke 2006-03-10 10:14:13 UTC
Already upstream & part of Beta7.