Just bringing more folks into the discussion, and ensuring this
strangeness will be archived in the lists.

----- Forwarded message from "Nikita V. Youshchenko" <[EMAIL PROTECTED]> -----

From: "Nikita V. Youshchenko" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: Bug#111581: [EMAIL PROTECTED]: Bug#111581: what to do about umul 
instructions and old SPARC boxen]
Date: Tue, 20 Aug 2002 12:15:10 +0400
Message-Id: <[EMAIL PROTECTED]>
X-Spam-Status: No, hits=-8.4 required=4.0
        tests=SENT_BY_BTS,IN_REP_TO,FORGED_RCVD_FOUND
        version=2.31

>
> I just ran the program on my SPARC LX, which is a single sun4m system.
> It executed just fine. It's running woody, and running a custom 2.2.20
> kernel (stock source).
>
> It could still be a kernel problem. Perhaps it is detecting a math
> co-processor that doesn't have proper capabilities? Maybe his Math
> co-processor is just broken?

Hmm...
The system in question used to work last 5 years without major problems, 
so I don't think it has hardware problems.
But it does think that umul is illegal.
Is it possible to ask kernel what capabilities it detected? E.g. by adding 
some printk() somewhere?

[EMAIL PROTECTED]:~> cat main.c
int main()
{
  asm volatile ( "umul  %o0, %o1, %o0" );
  return 0;
}
[EMAIL PROTECTED]:~> ./main
Illegal instruction
[EMAIL PROTECTED]:~> cat /proc/cpuinfo
cpu             : Cypress/ROSS CY7C601
fpu             : Cypress CY7C602 FPU
promlib         : Version 3 Revision 2
prom            : 2.5
type            : sun4m
ncpus probed    : 2
ncpus active    : 2
Cpu0Bogo        : 39.83
Cpu1Bogo        : 39.93
MMU type        : ROSS Cypress-605(MP)
invall          : 75
invmm           : 6264
invrnge         : 20697
invpg           : 67634
contexts        : 4096
CPU0            : online
CPU1            : online
[EMAIL PROTECTED]:~> uname -a
Linux snuppy 2.2.20 #1 SMP Fri Nov 16 16:15:32 EST 2001 sparc unknown
[EMAIL PROTECTED]:~>


----- End forwarded message -----

-- 
G. Branden Robinson                |    Religion is regarded by the common
Debian GNU/Linux                   |    people as true, by the wise as
[EMAIL PROTECTED]                 |    false, and by the rulers as useful.
http://people.debian.org/~branden/ |    -- Lucius Annaeus Seneca

Attachment: pgpAMFxv1yYDM.pgp
Description: PGP signature

Reply via email to