lkml.org 
[lkml]   [1996]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectSpecial handling for DMA memory?
Date
From
Hiho

Do we need a special handling for DMA-able memory especially when modules
are used? I often try to insmod the scsi tape module, but all I get is:

Detected scsi tape st0 at scsi0, channel 0, id 3, lun 0
st: Can't allocate new tape buffer (nbr 0).
Can't continue without at least one tape buffer.

There is enough memory free, but no DMA memory (especially if the memory
is requested GFP_ATOMIC). Similar things happen with the floppy module as
well.

I suggest a pool of reserved DMA memory that is only used if the memory is
requested GFP_DMA and the request would fail otherwise. Maybe its size
should be set via a kernel parameter.

Matthias

O .---------------. .___________. O
/\/ . `. m_sattle@ ,' / \ +FAX . \/\
__..--- ' /\/ | `._________,' | (___)/ * * \(___) \/ \ ` ---..__
""---__ \/`. | informatik. | / | \ +49 (0)6333 ,'\/ __---""
`.. / | .uni-kl.de | | `...' | -65079 \ ...'
`---------------' `._____.'

--> Don't take life too seriously -- you'll never get out of it alive. <--



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.233 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site