[7419] in linux-scsi channel archive

home help back first fref pref prev next nref lref last post

Re: Can't allocate tape buffer

daemon@ATHENA.MIT.EDU (Marc SCHAEFER)
Tue Oct 26 12:55:17 1999

To:     linux-scsi@vger.rutgers.edu
From:   Marc SCHAEFER <schaefer@alphanet.ch>
Date:   26 Oct 1999 18:35:48 +0200
Message-ID: <7v4l94$l2i$1@vulcan.alphanet.ch>

Harry Brueckner <brueckner@respublica.de> wrote:
> I have the SCSI tape support compiled as a module and when I try e.g. "mt
> -f /dev/st0 status" I get the following lines in my syslog:

This could be the result of fragmentation. If the tape driver requests
a single contiguous DMA buffer (instead of requesting vmalloced memory,
which needs to be scatter-gathered into physical pages, which may not be
contiguous), maybe your system doesn't have enough contiguous page.

As a temporary work-around, try launching a big application (which will
cause swapping, ie paging out), and exit it, maybe the module can be loaded.

For me, the only correct work-around at this time is to compile anything
which needs more than one page contiguous DMA memory in the kernel. The
fix would maybe be to use scatter-gather, but not all low-level SCSI
drivers support it.


-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu

home help back first fref pref prev next nref lref last post