[Prev][Next][Index][Thread]
Re: an error on swapon
On Fri, 28 Jun 2002, [iso-8859-1] zheng helen wrote:
> I want to build an environment of virtual space with paging. I run
> /examples/x86/sproc/kernel Image with mkmb2 ,I met the same problem
> with you:an error on swapon("/swapfile").now how about your problem?
> thanks
Hi Helen,
The gmake procedure creates a swapfile in the same directory as the
kernel. It's just a huge file of zeroes. You should include the swapfile,
as well as the usermain_* executables while doing mkmb2.
i.e.
mkmb2 kernel swapfile usermain_hello usermain_testproc usermain_malloc
--suresh
References: