Bug 5203 - Illegal instruction in in endservent ()
Illegal instruction in in endservent ()
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: libc (Show other bugs)
6.0
i386 Linux
medium Severity high
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-09-18 05:48 EDT by John Newbigin
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-09-18 14:45:53 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Newbigin 1999-09-18 05:48:50 EDT
nslookup and other related tools (host, named) either lockup
(require kill -9) or core dump with Illegal instruction

Output of gdb /usr/bin/nslookup core

GNU gdb 4.17.0.11 with Linux support
Copyright 1998 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 "i386-redhat-linux"...(no
debugging symbols found)...
Core was generated by `nslookup'.
Program terminated with signal 4, Illegal instruction.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
#0  0x8059c47 in endservent ()
(gdb)



I installed RedHat on a pentium, but when copied to am AMD
386, it causes problems.  I think the problem is libc
related, somewhere in name resolution.

The CPU does suffer from the popd bug.. here is dmesg

Linux version 2.2.5-15 (root@porky.devel.redhat.com) (gcc
version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
) #1 Mon Apr 19 21:39:28 EDT 1999
Console: colour VGA+ 80x25
Calibrating delay loop... 7.94 BogoMIPS
Memory: 14648k/16640k available (1060k kernel code, 412k
reserved, 460k data, 60k init)
Checking if this processor honours the WP bit even in
supervisor mode... No.
VFS: Diskquotas version dquot_6.4.0 initialized
CPU: 386
Checking 'hlt' instruction... OK.
Checking for popad bug... Buggy.
....
Comment 1 John Newbigin 1999-09-18 06:15:59 EDT
The asm command which appears to cause the problem is the
bswap %edi
Comment 2 Bill Nottingham 1999-09-18 14:45:59 EDT
Yup. If you grab the latest bind-utils from Raw Hide it should
be fixed. The compiler was outputting 486+ instructions when it
shouldn't have.

Note You need to log in before you can comment on or make changes to this bug.