lkml.org 
[lkml]   [2001]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Chipsets, DVD-RAM, and timeouts....
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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site