From: junio@siamese.dhis.twinsun.com
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: linux-kernel@vger.kernel.org
Subject: Re: ide.2.4.1-p3.01112001.patch
Date: 13 Jan 2001 14:06:59 -0800 [thread overview]
Message-ID: <7vvgrjm7i4.fsf@siamese.dhis.twinsun.com> (raw)
In-Reply-To: <Pine.LNX.4.10.10101120949040.1858-100000@penguin.transmeta.com> <Pine.LNX.4.10.10101121009230.1147-100000@master.linux-ide.org> <93njuq$21n$1@penguin.transmeta.com> <20010112204626.A2740@suse.cz>
In-Reply-To: <20010112204626.A2740@suse.cz>
With vt86c686b (AOpen AK73Pro) I am having a strange problem.
When accessing disks old-fashioned way (/dev/hdaN or /dev/hdcN)
I do not see corruption, but writing to a RAID-1 made out of
them produces corrupted results.
Does RAID code access the underlying block device the same way
as single partitions are accessed from the userland?
My test goes like this:
cd /
raidstop /dev/md2
# Baseline: single device case seem to work OK
# with both 2.1e and 3.11
for dev in a7 c7
do
mke2fs /dev/hd$dev
mount /dev/hd$dev /mnt
tar cf - usr | ( cd /mnt && tar xfp - )
sync
umount /mnt
mount -o ro /dev/hd$dev /mnt
tar cf - usr | ( cd /mnt && tar df - )
# no problem reported from `tar df'
umount /mnt
done
# RAID-1 /dev/md2 is built out of /dev/hda7 and /dev/hdc7
# not quite, but exact `force' switch withheld :-)
mkraid /dev/md2
# wait until /proc/mdstat says /dev/md2 is fully reconstructed
mke2fs /dev/md2
mount /dev/md2 /mnt
tar cf - usr | ( cd /mnt && tar xfp - )
sync
umount /mnt
mount -o ro /dev/md2 /mnt
tar cf - usr | ( cd /mnt && tar df - )
# many errors.
umount /mnt
raidstop /dev/md2
sync
mkdir -p /mnt/1 /mnt/2
mount -o ro /dev/hda7 /mnt/1
mount -o ro /dev/hdc7 /mnt/2
tar cf - usr | ( cd /mnt/1 && tar df - )
# many differences.
tar cf - usr | ( cd /mnt/2 && tar df - )
# many differences.
umount /dev/hda7
umount /dev/hdc7
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-01-13 22:07 UTC|newest]
Thread overview: 60+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-12 8:44 ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-12 8:55 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-12 17:51 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-12 18:13 ` ide.2.4.1-p3.01112001.patch Alan Cox
2001-01-12 18:37 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-12 21:26 ` ide.2.4.1-p3.01112001.patch Adrian Bunk
2001-01-12 18:17 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-12 18:55 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-12 19:46 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-12 19:57 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-12 20:24 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-12 23:47 ` ide.2.4.1-p3.01112001.patch Alan Cox
2001-01-13 13:45 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-13 17:09 ` ide.2.4.1-p3.01112001.patch Bryan O'Sullivan
2001-01-13 17:19 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-13 0:09 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-13 0:25 ` ide.2.4.1-p3.01112001.patch Alan Cox
2001-01-12 16:43 ` ide.2.4.1-p3.01112001.patch John Heil
2001-01-13 0:52 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-12 17:09 ` ide.2.4.1-p3.01112001.patch John Heil
2001-01-13 1:16 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-15 10:15 ` ide.2.4.1-p3.01112001.patch Matthias Andree
2001-01-13 1:12 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-13 1:18 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-13 1:24 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-13 1:31 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-13 1:48 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-13 1:51 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-13 14:02 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-13 14:00 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-13 19:46 ` ide.2.4.1-p3.01112001.patch Alan Cox
2001-01-13 20:00 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-14 3:41 ` ide.2.4.1-p3.01112001.patch TimO
2001-01-14 8:55 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-15 13:06 ` ide.2.4.1-p3.01112001.patch Stephen Clark
[not found] ` <Pine.LNX.4.30.0101130559060.19743-100000@wr5z.localdomain>
2001-01-13 14:22 ` VIA IDE corruption - anyone experiencing it with 2.4.0? Vojtech Pavlik
2001-01-12 23:43 ` ide.2.4.1-p3.01112001.patch Alan Cox
2001-01-13 2:43 ` ide.2.4.1-p3.01112001.patch davej
2001-01-13 13:42 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-13 3:03 ` ide.2.4.1-p3.01112001.patch Tkil
2001-01-13 13:44 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-13 13:35 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-14 19:38 ` ide.2.4.1-p3.01112001.patch Jamie Lokier
2001-01-14 22:39 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-15 0:06 ` ide.2.4.1-p3.01112001.patch Albert Cranford
2001-01-15 23:47 ` ide.2.4.1-p3.01112001.patch Henrique de Moraes Holschuh
2001-01-15 1:13 ` ide.2.4.1-p3.01112001.patch Jamie Lokier
2001-01-13 22:06 ` junio [this message]
2001-01-13 7:12 ` ide.2.4.1-p3.01112001.patch Andre Hedrick
2001-01-13 16:42 ` ide.2.4.1-p3.01112001.patch David Woodhouse
2001-01-13 17:04 ` ide.2.4.1-p3.01112001.patch Linus Torvalds
2001-01-14 17:22 ` ide.2.4.1-p3.01112001.patch David Woodhouse
2001-01-13 18:54 ` ide.2.4.1-p3.01112001.patch Russell King
2001-01-12 8:56 ` ide.2.4.1-p3.01112001.patch Craig Schlenter
-- strict thread matches above, loose matches on Subject: below --
2001-01-13 23:40 ide.2.4.1-p3.01112001.patch Andrzej Krzysztofowicz
2001-01-14 8:46 ` ide.2.4.1-p3.01112001.patch Vojtech Pavlik
2001-01-14 3:53 ide.2.4.1-p3.01112001.patch Tony Parsons
2001-01-14 8:31 ` ide.2.4.1-p3.01112001.patch David D.W. Downey
2001-01-14 9:03 ` ide.2.4.1-p3.01112001.patch David D.W. Downey
2001-01-15 10:29 ` ide.2.4.1-p3.01112001.patch Paul Flinders
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=7vvgrjm7i4.fsf@siamese.dhis.twinsun.com \
--to=junio@siamese.dhis.twinsun.com \
--cc=linux-kernel@vger.kernel.org \
--cc=vojtech@suse.cz \
/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