INSTALLATION OF PHYSMEM LIBRARY on SLC4 ======================================= Import physmem package from DDL homepage: http://cern.ch/ddl/physmem_v3.3.tgz To compile, enter: > tar -xzf physmem_v3.3.tgz > ln -s v3.3 physmem > cd physmem > make > make driver > make dev # (as root) > cp physmem.ko /lib/modules/`uname -r`/kernel/drivers/misc/ # (as root) > /sbin/depmod # (as root) - Edit the file /boot/grub/menu.lst (as root). - Pass the argument 'mem=xxxM' to the kernel to limit LINUX memory to xxxMegaBytes (xxx should be replaced by a number). - Edit the file /etc/rc.modules (as root). - Add the line '/sbin/modprobe physmem physmemsize0=xxx' to limit the size of the /dev/physmem0 PHYSMEM device to xxxMegaBytes. The size of the /dev/physmem1 device will be the complement of the LINUX memory and the /dev/physmem0 memory. RORC sw test programs use /dev/physmem0, while DATE uses /dev/physmem1 memories. > chmod +x /etc/rc.modules # (as root) - Switch off autoupdate by the following way (as root). > /etc/rc.d/init.d/yum-autoupdate stop - Check /var/lock/subsys/yum-autoupdate (have to create if missing). - Edit /etc/sysconfig/yum-autoupdate : YUMUPDATE=0 YUMONBOOT=0 - Reboot.