On Tue, 2002-04-23 at 00:59, Gordon Messmer wrote:
> On Mon, 2002-04-22 at 13:49, Bret Hughes wrote:
> > > I have some strange happenings on one of my machines this morning
> > > looking around I found that one repeatebale symtom is that cat coredumps
> > > everytime it runs.  I am no c coder so if anyone can give me a tip as to
> > > what might be screwing up I would appreciate it.
> > > 
> > > Here is an strace 
> > > 
> > > [root@ele3c display]# strace cat running
> ...
> > > open("/lib/i686/libc.so.6", O_RDONLY)   = 3
> ...
> > > old_mmap(0x4014f000, 14120, PROT_READ|PROT_WRITE,
> > > MAP_PRIVATE|MAP_FIXED|MAP_ANON
> > > YMOUS, -1, 0) = 0x4014f000
> > > close(3)                                = 0
> > > --- SIGSEGV (Segmentation fault) ---
> > > +++ killed by SIGSEGV +++
> 
> OK, so cat segfaults immediately after loading the i686 glibc.  So, have
> you recently changed kernels?  If so, did you install an i686 arch
> kernel?  Or maybe you loaded glibc-...i686 on a non-i686 machine?  Or
> maybe it's the reason so many mysterious things happen... and the
> machine was hacked and modified.
> 
OK I see that , thanks.  No upgrades. but this is running on a duron.  

A reboot fixed the cat problem but problems still exist.

>From /var/log/messages yesterday:
Apr 22 08:57:04 ele3c kernel: memory.c:83: bad pmd 00400000.
Apr 22 08:57:05 ele3c kernel: Kernel logging (proc) stopped.
Apr 22 08:57:05 ele3c kernel: Kernel log daemon terminating.

This is when I rebooted.
 


had problems (different) again tonight

Apr 23 00:02:56 ele3c kernel: VM: killing process netscape-naviga
Apr 23 00:02:56 ele3c kernel: Unused swap offset entry in swap_dup
00400000
Apr 23 00:02:56 ele3c kernel: VM: killing process netscape-naviga
Apr 23 00:02:56 ele3c kernel: Unused swap offset entry in swap_dup
00400000
Apr 23 00:02:56 ele3c kernel: VM: killing process netscape-naviga
Apr 23 00:02:57 ele3c kernel: VM: Bad swap entry 00400000
Apr 23 03:59:25 ele3c kernel: attempt to access beyond end of device
Apr 23 03:59:25 ele3c kernel: 03:09: rw=0, want=4440444, limit=257008
Apr 23 03:59:25 ele3c kernel: attempt to access beyond end of device
Apr 23 03:59:25 ele3c kernel: 03:09: rw=0, want=4440444, limit=257008
Apr 23 04:57:29 ele3c kernel: Kernel logging (proc) stopped.
Apr 23 04:57:29 ele3c kernel: Kernel log daemon terminating.

This looks bad.  If I understand this correctly device 03:09 is
/dev/hda9.  That is my / partition.
 [root@ele3c log]# mount
/dev/hda9 on / type ext2 (rw)
none on /proc type proc (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
/dev/hda1 on /boot type ext2 (rw)
/dev/hda6 on /home type ext2 (rw,sync)
/dev/hda10 on /tmp type ext2 (rw)
/dev/hda5 on /usr type ext2 (rw)
/dev/hda7 on /var type ext2 (rw,sync)
none on /dev/pts type devpts (rw,gid=5,mode=620)
automount(pid521) on /misc type autofs
(rw,fd=5,pgrp=521,minproto=2,maxproto=3)

[root@ele3c log]# fdisk -l

Disk /dev/hda: 255 heads, 63 sectors, 2434 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1         5     40131   83  Linux
/dev/hda2             6      2434  19510942+   5  Extended
/dev/hda5             6       325   2570368+  83  Linux
/dev/hda6           326       645   2570368+  83  Linux
/dev/hda7           646       773   1028128+  83  Linux
/dev/hda8           774       838    522081   82  Linux swap
/dev/hda9           839       870    257008+  83  Linux
/dev/hda10          871       902    257008+  83  Linux



Hmmm. I wonder if this has been going on for awhile?

[root@ele3c log]# grep 'memory.c' /var/log/messages*
/var/log/messages:Apr 22 08:57:04 ele3c kernel: memory.c:83: bad pmd
00400000.
/var/log/messages.1:Apr 20 09:05:13 ele3c kernel: memory.c:83: bad pmd
00400000.

[root@ele3c log]# grep 'attempt' /var/log/messages*
/var/log/messages:Apr 23 03:59:25 ele3c kernel: attempt to access beyond
end of device
/var/log/messages:Apr 23 03:59:25 ele3c kernel: attempt to access beyond
end of device

[root@ele3c log]# grep 'VM' /var/log/messages*
/var/log/messages:Apr 22 02:05:09 ele3c kernel: VM: Bad swap entry
00400000
/var/log/messages:Apr 22 07:51:30 ele3c kernel: VM: Bad swap entry
00400000
/var/log/messages:Apr 22 12:05:08 ele3c kernel: VM: Bad swap entry
00400000
/var/log/messages:Apr 23 00:02:53 ele3c kernel: VM: Bad swap entry
00400000
/var/log/messages:Apr 23 00:02:56 ele3c kernel: VM: killing process
netscape-naviga
/var/log/messages:Apr 23 00:02:56 ele3c kernel: VM: killing process
netscape-naviga
/var/log/messages:Apr 23 00:02:56 ele3c kernel: VM: killing process
netscape-naviga
/var/log/messages:Apr 23 00:02:57 ele3c kernel: VM: Bad swap entry
00400000
/var/log/messages.1:Apr 19 08:05:15 ele3c kernel: VM: Bad swap entry
00400000

Seems like there is something began to happen on Apr 19.  I wonder if
there was a power failure or something?

[root@ele3c log]# grep 'Apr 19' boot.log*
boot.log.1:Apr 19 04:02:52 ele3c ntpd: ntpd shutdown succeeded
boot.log.1:Apr 19 04:02:52 ele3c ntpd:  succeeded
boot.log.1:Apr 19 04:02:52 ele3c ntpd: ntpd startup succeeded

Nope I am at a loss.

Once again a reboot seems to have the machine running ok right now.

BTW this is one of 28 identical machines and a random check of 5 of them
show none of these errors.

Any Ideas any one?  Is this a hardware issue of some sort? 

Any help appreciated.

Bret



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to