>-----Original Message-----
>From: Brian Ashe [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, July 20, 2000 2:52 AM
>To: Jeff Graves
>Subject: Re: Still having network problems in 6.2
>
>
>Hi Jeff,
>
>Well I've been following the thread here, and I have a few
>suggestions/ideas/things to try.
>
>1. Can you give a hardware list for this machine? Does it differ
from the
>one you say is working with RH6.0?

The 6.0 has a 3com etherlink III ISA Nic, Cirrus Logic 545x PCI
Video Card, Pentium 166 with 64MB of RAM, IDE hard drive and CDROM.
Now originally I had just wanted to put a new hard drive in that
computer so I could run IMAP. I had a nice seagate 18GB SCSI drive
to use and a Symbios Logic card with a 53c876 chip. Redhat 6.0
doesn't have a driver for this so I tried compiling one but that
didn't work. So I built another machine with similar parts (3com ISA
nic, Cirrus Logic 545x PCI vid card, Pentium 133 32MB RAM, Symbios
Logic SCSI adapter, 18GB SCSI Disk, IDE CDROM) and installed RH6.2
on it. After it was installed I tried swapping out the hard drive
and SCSI card into the 6.0 box. That's when this problem first
arose. So I resorted to building a different machine with a fresh
install of 6.2 that had similar components and then just swap (make
the DNS changes and hook the new box up. 48 Hours later take the old
box off network) out the whole box when the time came. So I now have
an identical Pentium 166 motherboard and chip with 32MB of RAM a
Cirrus Logic 545x PCI vid card, 3com ISA nic, symbios logic SCSI,
18GB Hard Disk, IDE CD-ROM.

>2. Can you provide the output of an strace on the failing ping?

See the file that I attached.

>3. When you changed out the nic card was it one that used a
different
>driver? (may be a good thing to try)

Yes. I used a Realtek PCI nic (uses the net2k-pci module). It's
acutally still in the box

>4. Are there other networking problems besides ping? Are these
problems only
>when trying to reach outside of the LAN? (ie. everything works when
the
>protocols can use the hosts file for the internal LAN)

Well, traceroute seg faults sometimes. And one time route seg
faulted but I think it was an isolated incident.

>5. If you do a ping -n host does it work without seg faulting?

Yes. If i ping -n 216.64.108.1 (router which normally seg faults) it
pings ok.

>6. Try downloading a new copy of glibc and installing it. Just to
make sure
>there is no corruption in the libs you have. The strace may also
point out a
>problem with that. (you don't need to an updated glibc, just one
from a
>different source then the one you installed from)

Downloading as we speak.

>7. Are there any firewalls this machine has to go through that may
be
>causing packet corruption? Check the rules if it's ipchains. Also
check to
>see if you are properly handling packet fragmentation.

No. No firewalls or anything like that. It sits on a switch (next to
the other comptuers in the /etc/hosts file) which are all connected
to that Cabletron box.

>8. Have you tried any other OS/version of RH on the hardware to try
to
>eliminate the hardware issue?

Haven't tried that yet. The only reason I didn't was that if I got
6.1 working on it, I might be tempted to leave it and I'd much
rather figure this out for future reference.

>9. To answer one of your questions and to offer another suggestion,
the rpm
>that contains ping, traceroute etc., is iputils. (rpm -qf /bin/ping
to find
>this yourself) You may also want to try installing a new one of
that rpm
>like I suggested above for glibc.

Downloading that as well.

>Ping shouldn't die with a seg fault, regardless of what is going
on. (dns
>lookup or not, good packets or not) So there is something else
wrong. The
>last time I saw something similar was on RH 6.0 for Alpha, which
was due to
>a problem with the glibc libraries(for alpha not i386). So you have
probably
>got a hardware problem, some kind of file corruption or a very
obscure bug
>(or something else I can't think of, hey I've been wrong plenty of
times ;) )
>
>I would bet on a hardware problem (probably not what you want to
hear) but
>there is still much to check before condemning anything. I look
forward to
>your feedback. Good luck.
>
>Have fun,

Thanks for the input.

Jeff
execve("/bin/ping", ["ping", "216.64.108.1"], [/* 32 vars */]) = 0
brk(0)                                  = 0x805d3d4
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40014000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=14048, ...}) = 0
old_mmap(NULL, 14048, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3)                                = 0
open("/lib/libresolv.so.2", O_RDONLY)   = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=169720, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340&\0"..., 4096) = 4096
old_mmap(NULL, 60956, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40019000
mprotect(0x40025000, 11804, PROT_NONE)  = 0
old_mmap(0x40025000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xb000) = 
0x40025000
old_mmap(0x40026000, 7708, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 
-1, 0) = 0x40026000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=4101324, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\210\212"..., 4096) = 4096
old_mmap(NULL, 1001564, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40028000
mprotect(0x40115000, 30812, PROT_NONE)  = 0
old_mmap(0x40115000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xec000) = 
0x40115000
old_mmap(0x40119000, 14428, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 
-1, 0) = 0x40119000
close(3)                                = 0
mprotect(0x40028000, 970752, PROT_READ|PROT_WRITE) = 0
mprotect(0x40028000, 970752, PROT_READ|PROT_EXEC) = 0
munmap(0x40015000, 14048)               = 0
personality(PER_LINUX)                  = 0
getpid()                                = 802
getuid()                                = 0
socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
setuid(0)                               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sin_family=AF_INET, sin_port=htons(1025), 
sin_addr=inet_addr("216.64.108.1")}}, 16) = 0
getsockname(4, {sin_family=AF_INET, sin_port=htons(1024), 
sin_addr=inet_addr("216.64.108.206")}}, [16]) = 0
close(4)                                = 0
bind(3, {sin_family=AF_INET, sin_port=htons(0), 
sin_addr=inet_addr("216.64.108.206")}}, 16) = 0
setsockopt(3, IPPROTO_RAW1, [-6202], 4) = 0
brk(0)                                  = 0x805d3d4
brk(0x805d4ac)                          = 0x805d4ac
brk(0x805e000)                          = 0x805e000
getpid()                                = 802
fstat64(0x1, 0xbffff104)                = -1 ENOSYS (Function not implemented)
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40015000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "PING 216.64.108.1 (216.64.108.1)"..., 77) = 77
rt_sigaction(SIGINT, {0x804a670, [], SA_INTERRUPT|0x4000000}, NULL, 8) = 0
rt_sigaction(SIGALRM, {0x8049e74, [], SA_INTERRUPT|0x4000000}, NULL, 8) = 0
gettimeofday({964101875, 154508}, NULL) = 0
gettimeofday({964101875, 154759}, NULL) = 0
sendmsg(3, {msg_name(16)={sin_family=AF_INET, sin_port=htons(0), 
sin_addr=inet_addr("216.64.108.1")}}, 
msg_iov(1)=[{"\10\0\367\\\"\3\0\0\363\6w9\207\\\2\0\10\t\n\v\f\r\16\17"..., 64}], 
msg_controllen=0, msg_flags=0}, 0) = 64
setitimer(ITIMER_REAL, {it_interval={0, 0}, it_value={1, 0}}, NULL) = 0
time(NULL)                              = 964101875
recvfrom(3, "E\0\0TZX\0\0\377\1\327\377\330@l\1\330@l\316\0\0\377\\"..., 192, 0, 
{sin_family=AF_INET, sin_port=htons(4544), sin_addr=inet_addr("216.64.108.1")}}, [16]) 
= 84
gettimeofday({964101875, 163184}, NULL) = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 4
connect(4, {sin_family=AF_UNIX, path="                                                 
                                      /var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED 
(Connection refused)
close(4)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1808, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
read(4, "#\n# /etc/nsswitch.conf\n#\n# An ex"..., 4096) = 1808
brk(0x805f000)                          = 0x805f000
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=14048, ...}) = 0
old_mmap(NULL, 14048, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4011d000
close(4)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=246652, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p \0\000"..., 4096) = 4096
old_mmap(NULL, 36384, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40121000
mprotect(0x40129000, 3616, PROT_NONE)   = 0
old_mmap(0x40129000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x7000) = 
0x40129000
close(4)                                = 0
munmap(0x4011d000, 14048)               = 0
gettimeofday({964101875, 173177}, NULL) = 0
getpid()                                = 802
open("/etc/resolv.conf", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=90, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
read(4, "domain image-src.com\nsearch imag"..., 4096) = 90
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
open("/etc/host.conf", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=27, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
read(4, "order hosts, bind\nmulti on\n", 4096) = 27
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
open("/etc/hosts", O_RDONLY)            = 4
fcntl(4, F_GETFD)                       = 0
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=256, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0x40016000
read(4, "216.64.108.206\tmailsrv\t\tmailsrv."..., 4096) = 256
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40016000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=14048, ...}) = 0
old_mmap(NULL, 14048, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4011d000
close(4)                                = 0
open("/lib/libnss_nisplus.so.2", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=252234, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20\37\0"..., 4096) = 4096
old_mmap(NULL, 41972, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4012a000
mprotect(0x40133000, 5108, PROT_NONE)   = 0
old_mmap(0x40133000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x8000) = 
0x40133000
close(4)                                = 0
open("/lib/libnsl.so.1", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=370141, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\20?\0\000"..., 4096) = 4096
old_mmap(NULL, 88104, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40135000
mprotect(0x40147000, 14376, PROT_NONE)  = 0
old_mmap(0x40147000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x11000) = 
0x40147000
old_mmap(0x40149000, 6184, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, 
-1, 0) = 0x40149000
close(4)                                = 0
munmap(0x4011d000, 14048)               = 0
uname({sys="Linux", node="mailsrv.image-src.com", ...}) = 0
open("/var/nis/NIS_COLD_START", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=14048, ...}) = 0
old_mmap(NULL, 14048, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4011d000
close(4)                                = 0
open("/lib/libnss_nis.so.2", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=255963, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\37\0\000"..., 4096) = 4096
old_mmap(NULL, 38488, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x4014b000
mprotect(0x40153000, 5720, PROT_NONE)   = 0
old_mmap(0x40153000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x7000) = 
0x40153000
close(4)                                = 0
munmap(0x4011d000, 14048)               = 0
uname({sys="Linux", node="mailsrv.image-src.com", ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=14048, ...}) = 0
old_mmap(NULL, 14048, PROT_READ, MAP_PRIVATE, 4, 0) = 0x4011d000
close(4)                                = 0
open("/lib/libnss_dns.so.2", O_RDONLY)  = 4
fstat(4, {st_mode=S_IFREG|0755, st_size=67580, ...}) = 0
read(4, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\r\0"..., 4096) = 4096
brk(0x8060000)                          = 0x8060000
old_mmap(NULL, 15088, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) = 0x40155000
mprotect(0x40158000, 2800, PROT_NONE)   = 0
old_mmap(0x40158000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 4, 0x2000) = 
0x40158000
close(4)                                = 0
munmap(0x4011d000, 14048)               = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sin_family=AF_INET, sin_port=htons(53), 
sin_addr=inet_addr("216.64.31.76")}}, 16) = 0
send(4, "\241\251\1\0\0\1\0\0\0\0\0\0\0011\003108\00264\003216\7"..., 43, 0) = 43
time(NULL)                              = 964101875
poll([{fd=4, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
recvfrom(4, "\241\251\205\200\0\1\0\1\0\2\0\2\0011\003108\00264\003"..., 1024, 0, 
{sin_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("216.64.31.76")}}, [16]) = 
180
close(4)                                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Reply via email to