From: Stefan Traby <stefan@hello-penguin.com>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Jens Axboe <axboe@suse.de>, Andre Hedrick <andre@linux-ide.org>,
Linus Torvalds <torvalds@transmeta.com>,
linux-kernel@vger.kernel.org
Subject: Re: Chipsets, DVD-RAM, and timeouts....
Date: Mon, 1 Jan 2001 23:19:58 +0100 [thread overview]
Message-ID: <20010101231958.A1942@stefan.sime.com> (raw)
In-Reply-To: <20010101175005.B1650@suse.de> <E14D8qR-00015A-00@the-village.bc.nu>
In-Reply-To: <E14D8qR-00015A-00@the-village.bc.nu>; from alan@lxorguk.ukuu.org.uk on Mon, Jan 01, 2001 at 05:34:01PM +0000
On Mon, Jan 01, 2001 at 05:34:01PM +0000, Alan Cox wrote:
> > for FAT etc when reading. Writing is a bit more difficult, as that
> > then turns out to generate a read before we can commit a dirty
> > block. IMO, this type of thing does not belong in the drivers --
> > we should _never_ receive request for < hard block size.
>
> Unfortunately someone ripped the support out from 2.2 to do this, then didnt
> fix it. So right now 2.4 is useless to anyone with an M/O drive.
"ripped the support" is a bit nice for a thing that causes here
a hard freeze.
Famous last word:
Jan 1 19:34:52 xterm kernel: MSDOS: Hardware sector size is 2048
ext2 works, but it's extremely slow (compared to linear write using
dd)
"Don't do it then" is a bit hard, because I use "-t auto" on mount
and both 2048 && 512 byte medias (yes, the girl that leaves my bed
when I enter it uses msdos on 512b/sect medias).
I don't know how hard a fix would be, I don't need it but I only want
to avoid crashes.
--- linux/fs/fat/inode.c.orig Mon Jan 1 20:06:17 2001
+++ linux/fs/fat/inode.c Mon Jan 1 20:06:51 2001
@@ -460,7 +460,7 @@
opts.isvfat = sbi->options.isvfat;
if (!parse_options((char *) data, &fat, &blksize, &debug, &opts,
cvf_format, cvf_options)
- || (blksize != 512 && blksize != 1024 && blksize != 2048))
+ || (blksize != 512 && blksize != 1024))
goto out_fail;
/* N.B. we should parse directly into the sb structure */
memcpy(&(sbi->options), &opts, sizeof(struct fat_mount_options));
--
ciao -
Stefan
" ( cd /lib ; ln -s libBrokenLocale-2.2.so libNiedersachsen.so ) "
Stefan Traby Linux/ia32 fax: +43-3133-6107-9
Mitterlasznitzstr. 13 Linux/alpha phone: +43-3133-6107-2
8302 Nestelbach Linux/sparc http://www.hello-penguin.com
Austria mailto://st.traby@opengroup.org
Europe mailto://stefan@hello-penguin.com
-
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-01 22:51 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-01 8:07 Chipsets, DVD-RAM, and timeouts Andre Hedrick
2001-01-01 15:27 ` Jens Axboe
2001-01-01 16:12 ` Alan Cox
2001-01-01 16:50 ` Jens Axboe
2001-01-01 17:34 ` Alan Cox
2001-01-01 22:19 ` Stefan Traby [this message]
2001-01-01 22:44 ` Alan Cox
2001-01-02 14:31 ` Jens Axboe
2001-01-02 18:02 ` Kai Henningsen
2001-01-01 18:13 ` Linus Torvalds
2001-01-01 19:06 ` Andre Hedrick
2001-01-01 19:13 ` Alan Cox
2001-01-01 19:53 ` Andre Hedrick
2001-01-01 20:27 ` Linus Torvalds
2001-01-01 20:32 ` Andre Hedrick
2001-01-02 17:30 ` David Woodhouse
2001-01-02 18:38 ` Hakan Lennestal
2001-01-02 18:42 ` Linus Torvalds
2001-01-02 19:15 ` Hakan Lennestal
2001-01-03 0:46 ` James H. Cloos Jr.
2001-01-02 19:44 ` Andre Hedrick
2001-01-02 19:53 ` Alan Cox
2001-01-02 22:27 ` David Woodhouse
2001-01-02 22:42 ` Dan Hollis
2001-01-02 22:44 ` Linus Torvalds
2001-01-02 22:49 ` Andre Hedrick
2001-01-02 22:56 ` Dan Hollis
2001-01-02 22:50 ` Jens Axboe
2001-01-02 22:59 ` Dan Hollis
2001-01-02 22:59 ` Jens Axboe
2001-01-02 23:48 ` davej
2001-01-05 1:42 ` Hakan Lennestal
2001-01-05 3:42 ` Andre Hedrick
2001-01-03 12:40 ` Zdenek Kabelac
-- strict thread matches above, loose matches on Subject: below --
2001-01-03 15:00 Alex Deucher
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=20010101231958.A1942@stefan.sime.com \
--to=stefan@hello-penguin.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=andre@linux-ide.org \
--cc=axboe@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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