From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <289299487ad8b104193a761eba3fe691@gmx.de> To: gabidiaz@gmail.com, 9fans@cse.psu.edu Date: Sat, 8 Sep 2007 16:27:39 +0100 Subject: Re: [9fans] venti woes with brand new install From: cinap_lenrek@gmx.de MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Cc: Topicbox-Message-UUID: bba33a4a-ead2-11e9-9d60-3106f5b1d025 > hello > here is what you suggested: > > cid% venti/venti -r -L -d -s -c /dev/sdC0/arenas -a 'tcp!127.1!59999' -h 'tcp!127.1!8009' > T+0.0000 venti: conf... > corrupt zblock: 18042e0 b->_size=8192 > 64 65 66 67 68 69 6a 6b > 6c 6d 6e 6f 70 71 72 73 > 74 75 76 6b 00 00 00 00 > 20 00 00 cd 22 80 01 b8 > venti 1400: suicide: sys: trap: fault read addr=0x0 pc=0x0002120d > cid% acid 1400 > /proc/1400/text:386 plan 9 executable found it! that is "defghijklmnopqrstuv..." instead of the expected "1234567890abc..." 13 bytes! b->data is incremented (and b->len decremented)13 bytes to skip the "venti config" magic in readifile() ifile.c:39. and freezblock() alculates the position of the zmagic by b->data + b->_size. maybe add a b->_data in ZBuffer or fix ifile.c? cinap