Just bringing more folks into the discussion, and ensuring this
strangeness will be archived in the lists.
----- Forwarded message from "Nikita V. Youshchenko" <yoush@cs.msu.su> -----
From: "Nikita V. Youshchenko" <yoush@cs.msu.su>
To: 111581@bugs.debian.org, bcollins@debian.org
Subject: Bug#111581: [bcollins@debian.org: Bug#111581: what to do about umul instructions and old SPARC boxen]
Date: Tue, 20 Aug 2002 12:15:10 +0400
Message-Id: <200208201207.02417@zigzag.cs.msu.su>
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?
root@snuppy:~> cat main.c
int main()
{
asm volatile ( "umul %o0, %o1, %o0" );
return 0;
}
root@snuppy:~> ./main
Illegal instruction
root@snuppy:~> 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
root@snuppy:~> uname -a
Linux snuppy 2.2.20 #1 SMP Fri Nov 16 16:15:32 EST 2001 sparc unknown
root@snuppy:~>
----- End forwarded message -----
--
G. Branden Robinson | Religion is regarded by the common
Debian GNU/Linux | people as true, by the wise as
branden@debian.org | false, and by the rulers as useful.
http://people.debian.org/~branden/ | -- Lucius Annaeus Seneca
Attachment:
pgpSLR9izI35_.pgp
Description: PGP signature