From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 8 Sep 2007 23:45:01 +0200 From: John Soros To: 9fans@cse.psu.edu Subject: Re: [9fans] venti woes with brand new install In-Reply-To: <39e534b3d8edea8971c2bc53088928d6@gmx.de> References: <3e90b031be3e4fc9eafb1eeadfb9f9e1@quanstro.net> <39e534b3d8edea8971c2bc53088928d6@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-ID: <46e317e0.0bbf5e0a.6dc1.4c5f@mx.google.com> Topicbox-Message-UUID: bc00153a-ead2-11e9-9d60-3106f5b1d025 re all! Well after quite a debugging session with cinap tonight on irc, I can confirm that the patch from eric with the modifications cinap made to it works like a charm. I was able to boot the new kernel, and it's now up and running. regards John On Sat, 8 Sep 2007 21:08:34 +0200 cinap_lenrek@gmx.de wrote: > > n/sources/plan9//sys/src/cmd/venti/srv/ifile.c:36,43 - ifile.c:36,44 > > freepart(p); > > return -1; > > } > > - b->data += m; > > - b->len -= m; > > + memmove(b->data, b->data+m, 8192-m); > > /* > * > + memset(b->data+8192-m, 0, 8192-m); > */ > > memset(b->data + 8192-m, 0, m); > > > + > > z = memchr(b->data, 0, b->len); > > if(z) > > b->len = z - b->data; > > cinap >