https://bugzilla.novell.com/show_bug.cgi?id=657093
https://bugzilla.novell.com/show_bug.cgi?id=657093#c0
Summary: git uncovers possible hardware or kernel disk cache vm
corruption
Classification: openSUSE
Product: openSUSE 11.1
Version: Final
Platform: x86-64
OS/Version: openSUSE 11.1
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Kernel
AssignedTo: bnc-team-screening@forge.provo.novell.com
ReportedBy: d.a.van.delft@gmail.com
QAContact: qa@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.11)
Gecko/20100714 SUSE/3.5.11-0.1.1 Firefox/3.5.11
Error occured during git rebasing (git version 1.7.2.1):
port@tilia:/home/port/devel 1039 # ../rebase_tmp_diversen
No local changes to save
Switched to a new branch 'rebasing'
Switched to branch 'exit_handling'
Current branch exit_handling is up to date.
Switched to branch 'Link-utf8'
Current branch Link-utf8 is up to date.
error: inflate: data stream error (incorrect data check)
fatal: object 3dba60b2e86c69451c357f2c5e94a9c1e871bc8e is corrupted
which object is this:
git log --raw --all --full-history
and search for 3dba60b (first 7 characters of SHA1 of corrupt object)
which pointed to
:100755 100755 3dba60b... f5e4bac... M siteroot/.site_local_profile
which had disappeared from the filesystem!
Subsequent login gave error message, but this is a coincidence:
site_local_profile gets sourced during login.
A compare of the object with a backup:
port@tilia:/home/port/devel 1008 # cmp
/backups/tilia/Versioned/Versions/home.20101202091706/port/devel/.git/objects/3d/ba60b2e86c69451c357f2c5e94a9c1e871bc8e
git/objects/3d/ba60b2e86c69451c357f2c5e94a9c1e871bc8e
/backups/tilia/Versioned/Versions/home.20101202091706/port/devel/.git/objects/3d/ba60b2e86c69451c357f2c5e94a9c1e871bc8e
git/objects/3d/ba60b2e86c69451c357f2c5e94a9c1e871bc8e verschillen: byte 375,
regel 2
Okay, they differ (and, not shown here, other available backup's in the same
position as well)
Try a git fsck:
port@tilia:/home/port/devel 1027 # git fsck
error: inflate: data stream error (incorrect data check)
fatal: object 3dba60b2e86c69451c357f2c5e94a9c1e871bc8e is corrupted
Hmm, triggered by a Google search on:
"error: inflate: data stream error (incorrect data check) fatal: object is
corrupted", came up with
http://lists-archives.org/git/709953-git-fsck-uncovers-hardware-kernel-probl...
So, let's flush the kernel memory caches:
port@tilia:/home/port/devel 1028 # echo 3 | sudo tee /proc/sys/vm/drop_caches
root's password:
3
port@tilia:/home/port/devel 1029 # git fsck