[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: starting qemu: shm problem



On Fri, Nov 24, 2006 at 12:05:06PM +0100, Mirto Silvio Busico wrote:
> Hi all,
> I'm trying to star qemu but I have problems.
> 
> I'm using Etch and qemu 0.8.1-1
> 
> When I try to start I receive an error message stating that I have not
> enough shared memory.
> 
> the mount command says:
>     devshm on /dev/shm type tmpfs (rw)
> 
> If I do what qemu suggest:
>     umount /dev/shm
>     mount -t tmpfs -o size=144m none /dev/shm
> 
> the emulation starts correcty
> 
> Here my questions:
> 
>    1. is this the expected behaviour?
>    2. where can I find documentation about shm device and temporary file
>       systems?

For a start, you can read the comments in /etc/init.d/mountvirtfs

>    3. how can I change the shm device?
> 
Create an /etc/default/tmpfs containing the line 
TMPFS_SIZE=144M 

The default size is half of available memory, so I suppose your system 
has 256M or less?


-- 
All I want is a warm bed and a kind word and unlimited power.
		-- Ashleigh Brilliant



Reply to: