Subject: port-vax/34784: ps/top/systat die on -current vax w/ Illegal instruction
To: None <port-vax-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <oster@cs.usask.ca>
List: netbsd-bugs
Date: 10/11/2006 16:10:00
>Number: 34784
>Category: port-vax
>Synopsis: ps/top/systat die on -current vax w/ Illegal instruction
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: port-vax-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Oct 11 16:10:00 +0000 2006
>Originator: oster@cs.usask.ca
>Release: NetBSD 4.99.3
>Organization:
Sometimes.
>Environment:
System: NetBSD floyd 4.99.3 NetBSD 4.99.3 (GENERIC) #0: Mon Oct 9 12:44:02 CST 2006 oster@count:/u1/builds/build9/src/sys/arch/vax/compile/GENERIC vax
Architecture: vax
Machine: vax
>Description:
The following commands do not work on a cross-built -current
(i386->vax):
oster@floyd-28> ps -u
Illegal instruction
oster@floyd-29> top
Illegal instruction
oster@floyd-30> systat pigs
[screen clears, then]
Illegal instruction
floyd# gdb /bin/ps
GNU gdb 5.3nb1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "vax--netbsdelf"...(no debugging symbols found)...
(gdb) run -u
Starting program: /bin/ps -u
Program received signal SIGILL, Illegal instruction.
0x801afa9e in ??
(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16384, 0, 0, 0, 0, 0, 0, 0, 2147475284, -2147467149, 0, 16832, 0, 16, 2139086864, 536576, 1, 16278, 0, 546296, 536576, 2147475284, 2147475264, 2147475256, 81334, 62914560, 0, 536870912, 2147475316, 2147475296, 80242, 1, 34, 528629, 0, 536870912, 2147475368, 2147475332, 72202, 2, -2147467149, 0, 528629, 0, 599785472, 2147475424, 2147475380, 76457, 0, 0, 72012, 528640, 1, 536576, 336067, 0, 801112064, 2147475532, 2147475488, 268141, 546296, 0, 536576, 556016, 536576, 30, 2, 536576, 546296, 2147475460, 66903, 1, 1, 5, 0, 648, 536576, 2147475544, 31, 20088, 2147475584, 0, 0, 801112064, 2147478820, 2147478776, 78587, 0, 0, 0, 0, 5, 1, 4, 536576, 31, 648, 75818, 2147478904, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
(gdb)
>How-To-Repeat:
Cross-build -current for vax on i386. Install. Boot.
Attempt to run 'ps -aux'. Watch it fail. Determine 'ps -u' doesn't
work. Try 'top'. Watch it die too. Investigate if 'systat pigs'
dies too. It does. ('systat iostat' and 'systat vmstat' work just
fine... )
>Fix:
Please.