Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Oct 2000 17:23:54 -0400
From:      Robert LaThanh <hybrid@pearlmagik.com>
To:        freebsd-questions@freebsd.org
Subject:   Crash every 45 days in 4.0-RELEASE (sometimes sooner)
Message-ID:  <39EA206A.F874F806@pearlmagik.com>

next in thread | raw e-mail | index | archive | help
(I'm not sure if this is the right group to be posting to, can someone
tell me which group would be more appropriate?)

My web server used to be running Red Hat Linux 5.2 and had reached an
uptime of about 150 days. This summer I switched over to FreeBSD
4.0-RELEASE and I haven't been able to get an uptime of more than 45
days. While browsing through kernel code I noticed a comment that read:
"Increment time in/out of memory and sleep time (if sleeping). We ignore

overflow; with 16-bit int's (remember them?) overflow takes 45 days." in

src/sys/kern/kern_synch.c.

I don't know (and I don't think) that this directly has anything to do
with my crashing, but I'm thinking that something in my system is using
a 16-bit int to count minutes and crashes my system every 45.5 days
(which is almost exactly how frequently it's been crashing according to
my logs). Is this a known issue with FreeBSD, or are there any known
programs that have this issue?

About 6 times a day I get the message "/kernel: dc0: TX underrun --
resetting". It doesn't seem to be affecting the availability of my
server at all, it still seems to perform as expected, otherwise. Could
this have anything to do with the crashing?

Where should I look for the cause of my crashes? I only know to look
at /var/log/messages, but the only unusual messages there are the TX
underrun ones.

I'm marking Nov 16 on my calendar as the next expected crash date.

Thanks,
Robert LaThanh
hybrid - pearlmagik.com

Here are messages related to dc0:
Oct  2 20:49:32 giggles /kernel: dc0: <82c169 PNIC 10/100BaseTX> port
0xf800-0xf8ff mem 0xfedffc00-0xfedffcff irq 10 at device 16.0 on pci0
Oct  2 20:49:32 giggles /kernel: dc0: Ethernet address:
00:a0:cc:25:be:c7
Oct  2 20:49:32 giggles /kernel: miibus0: <MII bus> on dc0
Oct  2 20:49:32 giggles /kernel: dc0: supplying EUI64:
00:a0:cc:ff:fe:25:be:c7
Oct  2 20:49:32 giggles /kernel: dc0: starting DAD for
fe80:0001::02a0:ccff:fe25:bec7
Oct  2 20:49:32 giggles /kernel: dc0: DAD complete for
fe80:0001::02a0:ccff:fe25:bec7 - no duplicates found
Oct  3 04:01:13 giggles /kernel: dc0: TX underrun -- resetting
Oct  3 05:53:50 giggles /kernel: dc0: TX underrun -- resetting
Oct  3 07:54:32 giggles /kernel: dc0: TX underrun -- resetting
Oct  3 11:28:06 giggles /kernel: dc0: TX underrun -- resetting
Oct  3 12:54:49 giggles /kernel: dc0: TX underrun -- resetting
Oct  3 13:32:59 giggles /kernel: dc0: TX underrun -- resetting
Oct  3 15:02:49 giggles /kernel: dc0: TX underrun -- resetting






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39EA206A.F874F806>