On Thu, Apr 29, 2004 at 09:11:03AM -0400, Andrew Gallatin wrote:
>
> The first problem I have is really stumping me. The linux kernel
> (http://uml.linode.com/linux-2.4.19-5.bz2) is failing to start very
> early. Its creating a 1785856 byte sparse file and failing to mmap
> it:
>
> 2974 linux-2.4.19-5 CALL linux_llseek(0x3,0,0x1b4000,0xbfbfe280,0)
> 2974 linux-2.4.19-5 RET linux_llseek 0
> 2974 linux-2.4.19-5 CALL write(0x3,0xbfbfe2d7,0x1)
> 2974 linux-2.4.19-5 GIO fd 3 wrote 1 byte
> "\0"
> 2974 linux-2.4.19-5 RET write 1
> 2974 linux-2.4.19-5 CALL linux_fcntl64(0x3,0x2,0x1)
> 2974 linux-2.4.19-5 RET linux_fcntl64 0
> 2974 linux-2.4.19-5 CALL linux_mmap(0xbfbfe2d0)
> 2974 linux-2.4.19-5 RET linux_mmap -1 errno 12 Cannot allocate
> memory
> 2974 linux-2.4.19-5 PSIG SIGSEGV SIG_DFL
> 2974 linux-2.4.19-5 NAMI "linux-2.4.19-5.core"


Two things you might wan to look into:
1. Is there an issue with mmap(2)'ing sparse files?
2. Are limits being hit (most notably RLIMIT_DATA)?

--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
_______________________________________________
freebsd-emulation@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...ebsd-emulation
To unsubscribe, send any mail to "freebsd-emulation-unsubscribe@freebsd.org"