Date: Mon, 9 Jul 2001 14:15:05 +0300 (IDT) From: Roman Shterenzon <roman@harmonic.co.il> To: <freebsd-hackers@freebsd.org> Subject: Re: Unable to run linux unace (fwd) Message-ID: <20010709141439.C73818-100000@mail.harmonic.co.il>
next in thread | raw e-mail | index | archive | help
Hi, Could someone please shed some light on this issue? Thank you very much in advance, --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] ---------- Forwarded message ---------- Date: Sat, 30 Jun 2001 15:01:02 +0300 (IDT) From: Roman Shterenzon <roman@harmonic.co.il> To: Mikko Tyolajarvi <mikko@dynas.se> Cc: "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org> Subject: Re: Unable to run linux unace Quoting Mikko Tyolajarvi <mikko@dynas.se>: > 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) =3D 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, > =09 unsigned long flags); > > And from linux_mremap() in the linuxulator (linux_misc.c): > > if (args->new_len > args->old_len) { > p->p_retval[0] =3D 0; > return ENOMEM; > } > > To me it looks like extending a mmapped region with mremap() isn't > supported. > > $.02, > /Mikko > -- > Mikko > Ty=F6l=E4j=E4rvi_______________________________________mikko@rsasecurity.= com > RSA Security > Hmm.. Is it possible to completely unmap and then remap this region? And if it is, how? The fd is not known to the mremap handler. :( --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010709141439.C73818-100000>