Re: [2.0.30] solid lock with SCSI, floppy and audio access

Hubert Mantel (mantel@suse.de)
Mon, 23 Jun 1997 09:48:51 +0200 (MEST)


Hello,

On Sun, 22 Jun 1997, Hans-Joachim Baader wrote:

> In article <33AD1FCB.6594DB95@brasil.enemy.org>,
> Claudio Matsuoka <linux-kernel@vger.rutgers.edu> wrote:
> >Jun 21 22:23:34 pris kernel: floppy0: floppy timeout called
> >Jun 21 22:23:34 pris kernel: end_request: I/O error, dev 02:00, sector
>
> Yes, the 2.0.30 floppy driver seems to be evil :-( I also have a problem
> with it which seems only to happen on machines with very little memory.
> If someone wants to investigate it, try the following:
>
> Boot linux with the option 'mem=5m'
> Try some operations with the floppy, eg. fdformat, read, write.
>
> The machine will crash or spill endless messages 'coudn't get a free page'.

This is not the fault of the floppy driver.

> I tried this on a box with real 5 MB of memory (386/40) and another one
> with the 'mem=5m' option (AMD 5x86). I tried 5.25" and 3.5" disks. I also
> tried the stock 2.0.30 kernel and 2.0.pre31-2.

Just copy fs/buffer.c and include/linux/fs.h from 2.0..29 to your 2.0.30
tree and everything is fine.

> hjb

Hubert mantel@suse.de