Date: Fri, 29 Jun 2001 12:16:03 -0700 (PDT) From: Mikko Tyolajarvi <mikko@dynas.se> To: roman@harmonic.co.il Cc: stable@freebsd.org Subject: Re: Unable to run linux unace Message-ID: <200106291916.f5TJG3O14126@explorer.rsa.com> References: <993766542.3b3bac8e564d4@webmail.harmonic.co.il> <993772061.3b3bc21db3df0@webmail.harmonic.co.il>
next in thread | previous in thread | raw e-mail | index | archive | help
In local.freebsd.stable you write: >Quoting Roman Shterenzon <roman@harmonic.co.il>: >> Hello, >> I wanted to use linux unace from www.winace.com >> (http://praf.nirvanet.net/winace/linunace203.tgz), >> but unfortunately it doesn't work. >> When I used truss on it, I've seen this: [...] >> linux_mremap(0x28109000,0x61000,0x81000,0x1) ERR#12 'Cannot allocate >> memory' [...] >This is what I get when I run it on remote linux system: >mremap(0x40000000, 135168, 266240, MREMAP_MAYMOVE) = 0x40000000 [...] >It doesn't give me any hints :( From a Linux mremap() man page: void *mremap(void *old_address, size_t old_size, size_t new_size, unsigned long flags); And from linux_mremap() in the linuxulator (linux_misc.c): if (args->new_len > args->old_len) { p->p_retval[0] = 0; return ENOMEM; } To me it looks like extending a mmapped region with mremap() isn't supported. $.02, /Mikko -- Mikko Työläjärvi_______________________________________mikko@rsasecurity.com RSA Security To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106291916.f5TJG3O14126>