mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Tomasz Kvarsin" <kvarsin@gmail.com>
To: "Andrew Morton" <akpm@osdl.org>
Cc: "Alexander Viro" <viro@zeniv.linux.org.uk>,
	linux-kernel@vger.kernel.org,
	"Evgeniy Dushistov" <dushistov@mail.ru>
Subject: Re: [BUG] garbage instead of zeroes in UFS
Date: Wed, 20 Dec 2006 14:41:58 +0300	[thread overview]
Message-ID: <5157576d0612200341r12358fcai17cd7315402a666b@mail.gmail.com> (raw)
In-Reply-To: <20061220030955.bd3acdbc.akpm@osdl.org>

On 12/20/06, Andrew Morton <akpm@osdl.org> wrote:
> On Wed, 20 Dec 2006 14:04:06 +0300
> "Tomasz Kvarsin" <kvarsin@gmail.com> wrote:
>
> > Forgot to say I use linux-2.6.20-rc1-mm1
> >
> > On 12/20/06, Tomasz Kvarsin <kvarsin@gmail.com> wrote:
> > > I have some problems with write support of UFS.
> > > Here is script which demonstrate problem:
> > >
> > > #create image
> > > mkdir /tmp/ufs-expirements && cd /tmp/ufs-expirements/
> > > for ((i=0; i<1024*1024*2; ++i)); do printf "z"; done > image
> > >
> > > #build ufs tools
> > > wget 'http://heanet.dl.sourceforge.net/sourceforge/ufs-linux/ufs-tools-0.1.tar.bz2'
> > > && tar xjf ufs-tools-0.1.tar.bz2 && cd ufs-tools-0.1
> > > wget http://lkml.org/lkml/diff/2006/5/20/48/1 -O build.patch
> > > patch -p1 < build.patch && make
> > >
> > > #create UFS file system on image
> > > ./mkufs -O 1 -b 16384 -f 2048 ../image
> > > cd .. && mkdir root
> > > mount -t ufs image root -o loop,ufstype=44bsd
> > > cd root/
> > > touch a.txt
> > > echo "END" > end.txt
> > > dd if=./end.txt of=./a.txt bs=16384 seek=1
> > >
> > > and at the end content of "a.txt" not only  "END" and zeroes,
> > > "a.txt" also contains "z".
> > >
> > > The real situation happened when I deleted big file,
> > > and create new one with holes. This script just easy way to reproduce bug.
> > >
>
> Does 2.6.20-rc1 have the same problem?
>

Yes.
Actually, if it is important,
I start my searching of stable UFS write support from 2.6.10 + RH patches.
It just hang up time to time,
I try 2.6.19, it is pretty stable, but has this bug,
2.6.20-rc1 has it.

  reply	other threads:[~2006-12-20 11:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-20 11:02 Tomasz Kvarsin
2006-12-20 11:04 ` Tomasz Kvarsin
2006-12-20 11:09   ` Andrew Morton
2006-12-20 11:41     ` Tomasz Kvarsin [this message]
2006-12-20 14:54     ` [BUG] [PATCH] [RFC] " Evgeniy Dushistov
2006-12-20 16:52       ` Tomasz Kvarsin
2006-12-21  5:35       ` Andrew Morton
2006-12-28 16:04         ` Evgeniy Dushistov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5157576d0612200341r12358fcai17cd7315402a666b@mail.gmail.com \
    --to=kvarsin@gmail.com \
    --cc=akpm@osdl.org \
    --cc=dushistov@mail.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=viro@zeniv.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®