Hi all, I'm trying to set up swap memory for my UML and for this, I followed directions from 2 places and I'm having problems in both approaches.
1. As per Jeff's book, I did - (a) < dd if=/dev/zero of=uml_swap bs=1024 seek=$[ 1024 * 1024 ] count=1> from the main UML directory (/root/uml/linux-2.6.21/). (b)[host]# uml_mconsole linux config udb1=swap_file Warning: couldn't stat file: /root/.uml/linux/mconsole - No such file or directory Warning: couldn't stat file: /tmp/uml/linux/mconsole - No such file or directory Sending command to 'linux' : Connection refused [EMAIL PROTECTED] linux-2.6.21]# 2. I also followed the instructions swap on http://www.ime.usp.br/~baroni/docs/uml-en.html. Basically, I did - $ cd /dev $mkdir /ubd $cd ubd $ for i in 0 1 2 3 4 5 6 7; do mknod ubd$i b 98 $[ $i * 16 ]; done $ dd if=/dev/zero of=swap_file count=200 bs=1M $ mkswap swap_file $ umount /mnt/vmfs During bootup I see the following log - ubda: unknown partition table Couldn't stat "swap_file" : err = 2 Failed to initialize ubd device 1 :Couldn't determine size of device's file and I start my UMl with the following options - ./linux ubd0=root_fs ubd1=uml_swap mem=128M con0=fd:0,fd:1 con=xterm eth0=tuntap,tap0,FE:F0:00:00:00:01,192.168.0.254 umid=vm001 My problem is that in both cases /proc/meminfo in the UML does not show swap memory. Can anyone tell me what I am missing ? Thanks, KM ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user