From: Wu Fengguang on
Hello,

After upgrading kernel, I got this message on every boot:

zsh: corrupt history file /home/wfg/.zsh_history

The .zsh_history seem to always contain some rubbish text/binary
viminfo data. The content is different on each boot. Last working
kernel is 2.6.33. The kernel is built from Jul 30's Linus tree.

$ grep /home /proc/$$/mountinfo
29 15 8:3 / /home rw,relatime - ext3 /dev/sda3 rw,errors=continue,commit=360,barrier=0,data=journal

$ dmesg
[ 23.534259] EXT3-fs (sda3): using internal journal
[ 23.534607] EXT3-fs (sda3): mounted filesystem with journal data mode
[ 23.745891] EXT3-fs: barriers not enabled

$ hdparm -i /dev/sda

/dev/sda:

Model=HITACHI HTS542525K9SA00 , FwRev=BBFZC3HP, SerialNo=080311BB0F02WDHMSXKC
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7229kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=488397168
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 *udma6
AdvancedPM=yes: mode=0x80 (128) WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-2,3,4,5,6,7

* signifies the current active mode


Thanks,
Fengguang