[Error] cs: warning: no high memory space available!

Dominik Brodowski linux at dominikbrodowski.net
Sun Feb 21 04:00:08 EST 2010


Hey,

On Sun, Feb 21, 2010 at 04:05:35PM +0900, Komuro wrote:
> Hi,
> 
> After "pccardctl" eject and "pccardctl insert",
> I get the message "cs: warning: no high memory space available!"
> in the PCMCIA patches(brodo/pcmcia-2.6.git).

Ah, that's nothing to worry about. Fixed by this patch, which I squashed
into 
    pcmcia: validate late-added resources

Best,
	Dominik

diff --git a/drivers/pcmcia/rsrc_nonstatic.c b/drivers/pcmcia/rsrc_nonstatic.c
index 7e32cd6..5e5961c 100644
--- a/drivers/pcmcia/rsrc_nonstatic.c
+++ b/drivers/pcmcia/rsrc_nonstatic.c
@@ -498,6 +498,8 @@ static int validate_mem(struct pcmcia_socket *s, unsigned int probe_mask)
 	if (probe_mask & MEM_PROBE_HIGH) {
 		if (inv_probe(s_data->mem_db.next, s) > 0)
 			return 0;
+		if (s_data->mem_db_valid.next != &s_data->mem_db_valid)
+			return 0;
 		dev_printk(KERN_NOTICE, &s->dev,
 			   "cs: warning: no high memory space available!\n");
 		return -ENODEV;



More information about the linux-pcmcia mailing list