misc/77163: File cache gets corrupted, system randomly hangs, sometimes with disk corruption

Yuri yuri at tsoft.com
Sun Feb 6 02:30:26 PST 2005


>Number:         77163
>Category:       misc
>Synopsis:       File cache gets corrupted, system randomly hangs, sometimes with disk corruption
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 06 10:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Yuri
>Release:        5.3-RELEASE i386 on AMD64
>Organization:
NA
>Environment:
FreeBSD xxx.xxx.org 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 04:19:18UTC 2004     root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
My system periodically hangs, sometimes there are disk corruption after reboot.

While running I was comparing number of identical files between harddrive and CD copies. Comparison fails randomly (~one out of 100 files of 560MB worth of files).
Once file gets in cache it always fails if repeatedly compared. When it gets out of cache -- some other will fail. Sometimes bad copy is in CD, sometimes in HD. Once it gets out of cache -- doesn't fail again, but some other one will.

Differences in files that I've spotted: from 1 to ~32 bytes continuously.

What's unusual about my system:
* I have SATA RAID disk array (2 identical disks Maxtor 6Y120M0/YAR51HW0, mirrored) (became supported only in 5.3 ?)
* I run i386 on AMD64
* I have recent NVidia card, but problem happens even w/out drivers installed.

Difference in copy of file coming from CD to my mind is telling that it's not HD hardware.
And it's not memory: I've ran each of two 512MB memory cards separately -- happens on both of them.

Looks like someone in kernel does a bad write in the memory.

I know this is a tough one
but I am lost with this problem.

>How-To-Repeat:
N/A
>Fix:
N/A
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list