From owner-freebsd-stable Fri Jun 29 12:16:12 2001 Delivered-To: freebsd-stable@freebsd.org Received: from karon.dynas.se (karon.dynas.se [192.71.43.4]) by hub.freebsd.org (Postfix) with SMTP id 52EDC37B403 for ; Fri, 29 Jun 2001 12:16:08 -0700 (PDT) (envelope-from mikko@dynas.se) Received: (qmail 25076 invoked from network); 29 Jun 2001 19:16:06 -0000 Received: from spirit.sto.dynas.se (HELO spirit.dynas.se) (172.16.1.10) by 172.16.1.1 with SMTP; 29 Jun 2001 19:16:06 -0000 Received: (qmail 3710 invoked from network); 29 Jun 2001 19:16:06 -0000 Received: from explorer.rsa.com (10.81.217.59) by spirit.dynas.se with SMTP; 29 Jun 2001 19:16:06 -0000 Received: (from mikko@localhost) by explorer.rsa.com (8.11.3/8.11.3) id f5TJG3O14126; Fri, 29 Jun 2001 12:16:03 -0700 (PDT) (envelope-from mikko) Date: Fri, 29 Jun 2001 12:16:03 -0700 (PDT) From: Mikko Tyolajarvi Message-Id: <200106291916.f5TJG3O14126@explorer.rsa.com> To: roman@harmonic.co.il Cc: stable@freebsd.org Subject: Re: Unable to run linux unace Newsgroups: local.freebsd.stable References: <993766542.3b3bac8e564d4@webmail.harmonic.co.il> <993772061.3b3bc21db3df0@webmail.harmonic.co.il> X-Newsreader: NN version 6.5.6 (NOV) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In local.freebsd.stable you write: >Quoting Roman Shterenzon : >> 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