Журнал лабораторных работ

Содержание

Журнал

Суббота (08/12/06)

/dev/pts/5
14:20:08
#rm /var/log/qemu-dm.*

14:20:21
#rm /var/log/qemu-dm.*

14:20:21
#tail /var/log/qemu-dm.13047.log
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
domid: 2
qemu: the number of cpus is 1
xc_get_pfn_list returned error 22
14:20:24
#rm /var/log/qemu-dm.*

14:20:24
#vi ../patches/xen-mm
14:20:24
#grep -r "xc_get_pfn_list returned error" ..
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
../patches/ioemu-ia64:         fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../patches/xen-mm:+        fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../vl.c:        fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
Binary file ../i386-dm/vl.o matches
Binary file ../i386-dm/qemu-dm matches
14:20:33
#grep -r xc_get_pfn_list ..
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
../patches/ioemu-ia64:     if (xc_get_pfn_list(xc_handle, domid, page_array, nr_pages) != nr_pages) {
../patches/ioemu-ia64:         fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../patches/xen-mm:+    if (xc_get_pfn_list(xc_handle, domid, page_array, nr_pages) != nr_pages) {
../patches/xen-mm:+        fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
../vl.c:    if (xc_get_pfn_list(xc_handle, domid, page_array, nr_pages) != nr_pages) {
../vl.c:        fprintf(logfile, "xc_get_pfn_list returned error %d\n", errno);
Binary file ../i386-dm/vl.o matches
Binary file ../i386-dm/qemu-dm matches
14:20:58
#grep -r xc_get_pfn_list ../..
Binary file ../../libxc/xc_core.opic matches
Binary file ../../libxc/xc_private.opic matches
Binary file ../../libxc/xc_ptrace.opic matches
Binary file ../../libxc/libxenctrl.so.3.0.0 matches
Binary file ../../libxc/libxenctrl.so.3.0 matches
Binary file ../../libxc/libxenctrl.so matches
Binary file ../../libxc/xc_linux_build.o matches
Binary file ../../libxc/xc_linux_restore.o matches
Binary file ../../libxc/xc_hvm_build.o matches
Binary file ../../libxc/libxenguest.a matches
Binary file ../../libxc/xc_linux_build.opic matches
Binary file ../../libxc/xc_linux_restore.opic matches
Binary file ../../libxc/xc_hvm_build.opic matches
Binary file ../../libxc/libxenguest.so.3.0.0 matches
Binary file ../../libxc/libxenguest.so.3.0 matches
Binary file ../../libxc/libxenguest.so matches
Binary file ../../xenstat/libxenstat/src/libxenstat.a matches
14:21:17
#vi ../../libxc/xc_private.c
14:22:05
#vi ../../libxc/xc_private.c
14:22:54
#cd ../../

14:22:56
#ls
blktap   debugger  guest-headers  libxc     pygrub    security  vnet          xcutils  xenstore
check    examples  ioemu          Makefile  python    sv        vtpm          xenmon   xentrace
console  firmware  libaio         misc      Rules.mk  tests     vtpm_manager  xenstat  xm-test
14:22:57
#cd ../

14:22:58
#ls
buildconfigs  COPYING  install.sh               Makefile                  ref-linux-2.6.16.13
ChangeLog     dist     linux-2.6.16.13.tar.bz2  patches                   tools
config        docs     linux-2.6.16.13-xen      pristine-linux-2.6.16.13  xen
Config.mk     extras   linux-2.6-xen-sparse     README
14:22:58
#make clean
rm -f config-host.mak config-host.h
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in i386-dm; do \
        rm -rf $d || exit 1 ; \
        done
make[3]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu'
make[2]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools'
make[1]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools'
make -C docs clean
make[1]: Entering directory `/usr/src/xen-unstable/xen-unstable/docs'
rm -rf .word_count *.aux *.dvi *.bbl *.blg *.glo *.idx *~
rm -rf *.ilg *.log *.ind *.toc *.bak core
rm -rf  ps pdf html
rm -rf api
rm -rf man5
rm -rf man1
make[1]: Leaving directory `/usr/src/xen-unstable/xen-unstable/docs'
14:23:44
#make world
make[5]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu/tests'
for d in ; do \
        [ -d $d ] && make -C $d clean || exit 0 ; \
        done
rm -f config-host.mak config-host.h
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in ; do \
        rm -rf $d || exit 1 ; \
        done
make[4]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu'
...
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
/dev/pts/3
14:28:13
#apt-get remove xen-utils-3.0
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Reading package lists... Done
Building dependency tree... Done
The following packages will be REMOVED
  xen-utils-3.0
0 upgraded, 0 newly installed, 1 to remove and 2 not upgraded.
Need to get 0B of archives.
After unpacking 1368kB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 34217 files and directories currently installed.)
Removing xen-utils-3.0 ...
Shutting down Xen domains:Error: Error connecting to xend: Connection refused.  Is xend running?
Error: Error connecting to xend: Connection refused.  Is xend running?
  [done]
14:28:27
#/etc/init.d/xend
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
xend        xendomains
14:28:27
#/etc/init.d/xend stop
/etc/init.d/xend: line 34: xend: command not found
14:28:39
#xen
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
xenbaked         xencons          xenperf          xentrace
xen-bugtool      xenmon.py        xenstore-chmod   xentrace_format
14:28:39
#xen
xenbaked         xencons          xenperf          xentrace
xen-bugtool      xenmon.py        xenstore-chmod   xentrace_format
14:28:39
#apt-get remove xen-utils-3.0
Reading package lists... Done
Building dependency tree... Done
Package xen-utils-3.0 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
14:28:48
#dpkg -l xen
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
un  xen                 <none>              (no description available)
14:28:56
#dpkg -l xen.*
No packages found matching xen.*.
14:28:58
#dpkg -l xen*
No packages found matching xen-unstable.
No packages found matching xen-unstable.hg.
No packages found matching xen-unstable.hgold.tar.gz.
No packages found matching xen-unstable-src.tgz.
14:29:03
#dpkg -l 'xen*'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
un  xen                 <none>              (no description available)
un  xen-hypervisor      <none>              (no description available)
un  xen-hypervisor-3.0  <none>              (no description available)
ii  xen-hypervisor-3.0- 3.0.2+hg9697-1      The Xen Hypervisor for i386
ii  xen-hypervisor-3.0- 3.0.2+hg9697-1      The Xen Hypervisor for i386 (pae enabled version)
un  xen-hypervisor-i386 <none>              (no description available)
un  xen-hypervisor-i386 <none>              (no description available)
ii  xen-tools           2.2-3               Tools to manage debian XEN virtual servers
un  xen-utils           <none>              (no description available)
rc  xen-utils-3.0       3.0.2+hg9697-1      XEN administrative tools
un  xen-vm              <none>              (no description available)
un  xengine             <none>              (no description available)
14:29:09
#apt-get remove xen-utils
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Reading package lists... Done
Building dependency tree... Done
Note, selecting xen-utils-3.0 for regex ‘xen-utils’
Package xen-utils-3.0 is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
14:29:49
#ls /usr/lib/python/
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
grub  xen
14:29:59
#ls /usr/lib/python/xen/
__init__.py  __init__.pyc  lowlevel  sv  util  web  xend  xm
14:30:00
#ls ~?
ls: ~?: No such file or directory
14:30:06
#ls ~/
BACKUP_python2.3_site-packages
14:30:08
#mv /usr/lib/python/xen ~/usr_lib_python_xeb
-full-screen    start in full screen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
14:30:24
#mv /usr/lib/python/grub ~/usr_lib_python_grub
-full-screen    start in full screen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
14:30:33
#dpkg -L xen-utils-3.0
/etc/xen/scripts/locking.sh
/etc/xen/scripts/logging.sh
/etc/xen/scripts/xen-hotplug-common.sh
/etc/xen/scripts/xen-network-common.sh
/etc/xen/scripts/vif-common.sh
/etc/xen/scripts/block-common.sh
/etc/xen/scripts/vtpm-common.sh
/etc/xen/scripts/vtpm-hotplug-common.sh
/etc/xen/scripts/network-dummy
/etc/xen/xend-config.sxp
/etc/init.d
/etc/init.d/xend
/etc/init.d/xendomains
/etc/default
/etc/default/xendomains
/usr/lib/xen
/usr/lib/xen/bin
14:33:20
#ls /usr/lib/xen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
bin  boot
14:33:32
#ls /usr/lib/xen/bin/
qemu-dm  qemu-dm.debug
14:33:34
#ls /etc/xen
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
debian-vm0  scripts        xend-config.sxp          xend-pci-quirks.sxp  xmexample2     xmexample.vti
qemu-ifup   windowsxp-vm0  xend-pci-permissive.sxp  xmexample1           xmexample.hvm
14:33:54
#ls -l /etc/xen/
total 68
-rw-r--r-- 1 root root  199 2006-08-11 19:43 debian-vm0
-rwxr-xr-x 1 root root  164 2006-08-11 23:37 qemu-ifup
drwxr-xr-x 2 root root 4096 2006-08-12 00:30 scripts
-rw-r--r-- 1 root root  480 2006-08-11 23:33 windowsxp-vm0
-rw-r--r-- 1 root root 4292 2006-05-31 13:07 xend-config.sxp
-rw-r--r-- 1 root root 1256 2006-08-11 22:43 xend-pci-permissive.sxp
-rw-r--r-- 1 root root 4129 2006-08-11 22:43 xend-pci-quirks.sxp
-rw-r--r-- 1 root root 5463 2006-08-11 22:43 xmexample1
-rw-r--r-- 1 root root 6746 2006-08-11 22:43 xmexample2
-rw-r--r-- 1 root root 6511 2006-08-11 22:43 xmexample.hvm
-rw-r--r-- 1 root root 4907 2006-08-11 22:43 xmexample.vti
14:33:57
#ls -ld /etc/xen*
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
drwxr-xr-x 3 root root 4096 2006-08-12 14:28 /etc/xen
drwxr-xr-x 4 root root 4096 2006-08-12 00:27 /etc/xen.BACKUP
drwxr-xr-x 3 root root 4096 2006-08-10 19:25 /etc/xen-tools
14:34:02
#mv /etc/xen{,.BACKUP-12Aug1434}
-full-screen    start in full screen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
14:34:23
#dpkg -l python2.3
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
ii  python2.3           2.3.5-15            An interactive high-level object-oriented language (ve
прошло 33 минуты
/dev/pts/5
15:07:53
#apt-cache search python dev
python2.4-sip4-dev - Python/C++ bindings generator - Python2.4+Qt3 devel
python2.5-dev - Header files and a static library for Python (v2.5)
pythoncard - wxPython-based GUI construction framework (meta-package)
pythoncard-doc - wxPython-based GUI construction framework (documentation and samples)
pythoncard-tools - wxPython-based GUI construction framework (optional development tools)
quantlib-python - Python bindings for the Quantlib Quantitative Finance library
quixote - A highly Pythonic Web application framework
quixote1 - A highly Pythonic Web application framework
rekall - graphical database front-end
samba - a LanManager-like file and printer server for Unix
sip - Python/C++ bindings generator
sip4 - Python/C++ bindings generator
tinywm - tiny window manager
vtk-examples - C++, Tcl and Python example programs/scripts for VTK
zope2.8 - Open Source Web Application Server
zope2.9 - Open Source Web Application Server
zope3 - Open Source Web Application Server (Libraries)
15:08:03
#which python
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
/usr/bin/python
15:08:09
#ls -l `!!`
ls -l `which python`
lrwxrwxrwx 1 root root 9 2006-08-12 00:22 /usr/bin/python -> python2.3
15:08:13
#apt-cache search python2.3 dev
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
python-all-dev - Package depending on all supported Python development packages
python2.3-dev - Header files and a static library for Python (v2.3)
python2.3-sip-dev - Python/C++ bindings generator - Python2.3+Qt3 devel
python2.3-sip4-dev - Python/C++ bindings generator - Python2.3+Qt3 devel
samba - a LanManager-like file and printer server for Unix
15:08:19
#apt-get install python2.3-dev
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed
  python2.3-dev
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/1422kB of archives.
After unpacking 4493kB of additional disk space will be used.
Selecting previously deselected package python2.3-dev.
(Reading database ... 34069 files and directories currently installed.)
Unpacking python2.3-dev (from .../python2.3-dev_2.3.5-15_i386.deb) ...
Setting up python2.3-dev (2.3.5-15) ...
15:08:32
#make world
make[5]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu/tests'
for d in ; do \
        [ -d $d ] && make -C $d clean || exit 0 ; \
        done
rm -f config-host.mak config-host.h
rm -f qemu-{doc,tech}.{info,aux,cp,dvi,fn,info,ky,log,pg,toc,tp,vr}
for d in ; do \
        rm -rf $d || exit 1 ; \
        done
make[4]: Leaving directory `/usr/src/xen-unstable/xen-unstable/tools/ioemu'
...
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
gcc -O2 -fomit-frame-pointer -DNDEBUG -m32 -march=i686 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/usr/src/xen-unstable/xen-unstable/xen/include -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mach-generic -I/usr/src/xen-unstable/xen-unstable/xen/include/asm-x86/mac
прошло 42 минуты
15:50:40
#make install
  CC      drivers/media/dvb/frontends/dib3000mc.mod.o
  LD [M]  drivers/media/dvb/frontends/dib3000mc.ko
  CC      drivers/media/dvb/frontends/dvb-pll.mod.o
  LD [M]  drivers/media/dvb/frontends/dvb-pll.ko
  CC      drivers/media/dvb/frontends/l64781.mod.o
  LD [M]  drivers/media/dvb/frontends/l64781.ko
  CC      drivers/media/dvb/frontends/lgdt330x.mod.o
  LD [M]  drivers/media/dvb/frontends/lgdt330x.ko
  CC      drivers/media/dvb/frontends/mt312.mod.o
  LD [M]  drivers/media/dvb/frontends/mt312.ko
  CC      drivers/media/dvb/frontends/mt352.mod.o
  LD [M]  drivers/media/dvb/frontends/mt352.ko
  CC      drivers/media/dvb/frontends/nxt200x.mod.o
  LD [M]  drivers/media/dvb/frontends/nxt200x.ko
  CC      drivers/media/dvb/frontends/nxt6000.mod.o
  LD [M]  drivers/media/dvb/frontends/nxt6000.ko
  CC      drivers/media/dvb/frontends/or51132.mod.o
прошло 16 минут
16:07:30
#ls /boot/
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
config-2.6.16.13-xen            vmlinux-syms-2.6.16.13-xen  xen-3.0-i386.gz
config-xen0-2.6.16-xen0-b4      vmlinuz-2.6.16.13-xen       xen-3.0-unstable.gz
grub                            vmlinuz-2.6.16-xen          xen-3.gz
initrd.img-2.6.16-xen0-b4       vmlinuz-2.6.17-prexen       xen.gz
initrd.img-2.6.17-prexen        vmlinuz-2.6-xen             xen-syms-3.0-unstable
System.map-2.6.16.13-xen        xen0-linux-2.6.16-xen0-b4
System.map-xen0-2.6.16-xen0-b4  xen-3.0.gz
16:09:51
#vi /boot/grub/menu.lst
16:11:26
#mkinitramfs -o /boot/initrd.img-2.6.16.13-xen 2.6.16.13-xen
-full-screen    start in full screen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
16:11:49
#ls /boot/
config-2.6.16.13-xen        System.map-xen0-2.6.16-xen0-b4  xen-3.0.gz
config-xen0-2.6.16-xen0-b4  vmlinux-syms-2.6.16.13-xen      xen-3.0-i386.gz
grub                        vmlinuz-2.6.16.13-xen           xen-3.0-unstable.gz
initrd.img-2.6.16.13-xen    vmlinuz-2.6.16-xen              xen-3.gz
initrd.img-2.6.16-xen0-b4   vmlinuz-2.6.17-prexen           xen.gz
initrd.img-2.6.17-prexen    vmlinuz-2.6-xen                 xen-syms-3.0-unstable
System.map-2.6.16.13-xen    xen0-linux-2.6.16-xen0-b4
16:11:52
#vi /boot/grub/menu.lst
48c48
< kernel	/boot/xen-3.0-i386.gz dom0_mem=262144
---
> kernel	/boot/xen-3.0-unstable.gz dom0_mem=262144
16:12:14
#xm Error: Error connecting to xend: Connection refused. Is xend running?

16:12:14
#xen
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
xenbaked          xend              xenstore-control  xenstore-ls       xentop
xen-bugtool       xenmon.py         xenstored         xenstore-read     xentrace
xencons           xenperf           xenstore-exists   xenstore-rm       xentrace_format
xenconsoled       xenstore-chmod    xenstore-list     xenstore-write
16:12:14
#xend start

16:12:27
#ls /var/log/xen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
xend-debug.log   xend.log         xen-hotplug.log
16:12:27
#ls /var/log/xend.log
/var/log/xend.log
16:12:38
#tail /var/log/xend.log
[2006-08-12 14:07:38 xend] DEBUG (__init__:988) Waiting for devices vtpm.
[2006-08-12 14:07:38 xend] INFO (__init__:988) Domain windowsxp-vm0 (2) unpaused.
[2006-08-12 14:28:26 xend] INFO (__init__:988) Xend stopped due to signal 15.
[2006-08-12 16:12:27 xend 31341] INFO (__init__:988) Xend Daemon started
[2006-08-12 16:12:27 xend 31341] ERROR (__init__:988) Exception starting xend ((22, 'Invalid argument'))
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line 286, in run
    xinfo = xc.xeninfo()
Error: (22, 'Invalid argument')
[2006-08-12 16:12:27 xend 31336] INFO (__init__:988) Xend exited with status 1.
16:12:39
#python
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Python 2.3.5 (#2, Jul 30 2006, 15:57:01)
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
16:13:02
#vi /usr/lib/python/xen/xend/server/SrvDaemon.py
16:14:30
#vi /usr/lib/python/xen/lowlevel/__init__.py
16:14:30
#vi /usr/lib/python/xen/lowlevel/__init__.py
16:14:47
#vi /usr/lib/python/xen/lowlevel/__init__.py
16:14:47
#vi /usr/lib/python/xen/lowlevel/__init__.pyc
16:14:53
#ls -l /usr/lib/python/xen/lowlevel/
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
total 144
-rwxr-xr-x 1 root root 20647 2006-08-12 15:50 acm.so
-rw-r--r-- 1 root root     2 2006-08-11 08:12 __init__.py
-rw-r--r-- 1 root root   121 2006-08-12 16:07 __init__.pyc
-rwxr-xr-x 1 root root 62675 2006-08-12 15:50 xc.so
-rwxr-xr-x 1 root root 43820 2006-08-12 15:50 xs.so
16:15:03
#fix xen/
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
acm/      common/   drivers/  Makefile  tools/    xen.gz
arch/     COPYING   include/  Rules.mk  xen       xen-syms
16:15:03
#fix xen/tools/
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
figlet/    Makefile   symbols    symbols.c
16:15:03
#fix tools/
blktap/        firmware/      Makefile       security/      vtpm_manager/  xentrace/
check/         guest-headers/ misc/          sv/            xcutils/       xm-test/
console/       ioemu/         pygrub/        tests/         xenmon/
debugger/      libaio/        python/        vnet/          xenstat/
examples/      libxc/         Rules.mk       vtpm/          xenstore/
16:15:03
#find . -name lowlevel
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
./tools/python/xen/lowlevel
./tools/python/build/lib.linux-i686-2.3/xen/lowlevel
./tools/python/build/temp.linux-i686-2.3/xen/lowlevel
./dist/install/usr/lib/python/xen/lowlevel
./ref-linux-2.6.16.13/drivers/char/ftape/lowlevel
./pristine-linux-2.6.16.13/drivers/char/ftape/lowlevel
./linux-2.6.16.13-xen/drivers/char/ftape/lowlevel
16:15:57
#cd ./dist/install/usr/lib/python/xen/lowlevel
-full-screen    start in full screen
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
16:16:05
#cd ./dist/install/usr/lib/python/xen/lowlevel
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
bash: cd: ./dist/install/usr/lib/python/xen/lowlevel: No such file or directory
16:16:12
#pwd
/usr/src/xen-unstable/xen-unstable/dist/install/usr/lib/python/xen/lowlevel
/dev/pts/3
16:18:24
#dpkg -l python2.4
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
rc  python2.4           2.4.3-8             An interactive high-level object-oriented language (ve
16:18:26
#dpkg -r python2.4
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
dpkg - warning: ignoring request to remove python2.4, only the config
 files of which are on the system.  Use --purge to remove them too.
16:18:33
#dpkg -R
dpkg: need an action option
Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;
Type dpkg --license for copyright license and lack of warranty (GNU GPL) [*].
Options marked [*] produce a lot of output - pipe it through `less' or `more' !
16:18:38
#man dpkg
16:18:55
#dpkg -p python2.4
Package: python2.4
Priority: optional
Section: python
Installed-Size: 9980
Maintainer: Matthias Klose <doko@debian.org>
Architecture: i386
Version: 2.4.3-8
Replaces: python2.4-minimal (<< 2.4-3), python2.4-dev (<< 2.4.3-4), idle-python2.4 (<< 2.4.3-8), python-tk (<< 2.4.3-2)
Provides: python2.4-cjkcodecs
Depends: python2.4-minimal (= 2.4.3-8), mime-support, libbz2-1.0, libc6 (>= 2.3.6-6), libdb4.4, libncurses5 (>= 5.4-5), libncursesw5 (>= 5.4-5), libreadline5 (>= 5.1), libssl0.9.8 (>= 0.9.8b-1)
Suggests: python2.4-doc
Conflicts: python2.4-dev (<< 2.3.95-2), python-central (<< 0.5), idle-python2.4 (<< 2.4.3-8), python-tk (<< 2.4.3-2)
Size: 3011410
Description: An interactive high-level object-oriented language (version 2.4)
 Version 2.4 of the high-level, interactive object oriented language,
 includes an extensive class library with lots of goodies for
 network programming, system administration, sounds and graphics.
Python-Version: 2.4
16:18:58
#dpkg -P python2.4
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
(Reading database ... 34258 files and directories currently installed.)
Removing python2.4 ...
Purging configuration files for python2.4 ...
16:19:14
#dpkg -l python2.4
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
pn  python2.4           <none>              (no description available)
16:19:21
#dpkg -l python2.4f
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
No packages found matching python2.4f.
16:19:34
#dpkg -l python
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
ii  python              2.3.5-11            An interactive high-level object-oriented language (de
16:19:36
#which python2.4
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
/usr/bin/python2.4
16:19:50
#ls -l python2.4
ls: python2.4: No such file or directory
16:19:52
#ls -l `which python2.4`
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
-rwxr-xr-x 1 root root 1015360 2006-07-30 18:46 /usr/bin/python2.4
16:19:56
#dpkg -S `which python2.4`
python2.4-minimal: /usr/bin/python2.4
16:20:00
#dpkg -P python2.4-minimail
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
dpkg - warning: ignoring request to remove python2.4-minimail which isn't installed.
16:20:09
#dpkg -P python2.4-minima
(Reading database ... 34258 files and directories currently installed.)
Removing python2.4-minimal ...
Unlinking and removing bytecode for runtime python2.4
Purging configuration files for python2.4-minimal ...
16:20:11
#dpkg -l python
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name                Version             Description
+++-===================-===================-======================================================
ii  python              2.3.5-11            An interactive high-level object-oriented language (de
16:20:20
#dpkg -l python
Display all 997 possibilities? (y or n)
16:20:20
#dpkg -l python2.
python2.2-glade2              python2.3-pygresql            python2.4-htmltmpl
python2.2-gnome2              python2.3-pyinotify           python2.4-ieee1284
python2.2-gtk2                python2.3-pylibacl            python2.4-imaging
python2.2-iconvcodec          python2.3-pylint              python2.4-imaging-sane
python2.2-imaging             python2.3-pymacs              python2.4-imaging-tk
python2.2-japanese-codecs     python2.3-pymad               python2.4-imdbpy
python2.2-korean-codecs       python2.3-pyme                python2.4-iplib
python2.2-medusa              python2.3-pyogg               python2.4-ipy
python2.2-mpz                 python2.3-pyopenssl           python2.4-ipython
python2.2-optik               python2.3-pyorbit             python2.4-jabber
python2.2-profiler            python2.3-pyorbit-omg         python2.4-japanese-codecs
python2.2-pylint              python2.3-pyparsing           python2.4-kinterbasdb
python2.2-pymacs              python2.3-pypoker-eval        python2.4-kjbuckets
python2.2-pyx                 python2.3-pyrex               python2.4-korean-codecs
python2.2-rpy                 python2.3-pyrss2gen           python2.4-ldap
python2.2-ssl                 python2.3-pysnmp2             python2.4-libhamlib2
python2.2-tau                 python2.3-pysqlite1.1         python2.4-librdf
16:20:20
#dpkg -l python2.4
Display all 239 possibilities? (y or n)
16:20:20
#dpkg -l | less
16:20:42
#dpkg -l | grep python
ii  python                                 2.3.5-11                    An interactive high-level object-oriented la
rc  python-central                         0.5.1                       register and build utility for Python packag
rc  python-support                         0.3.8                       automated rebuilding support for python modu
ii  python2.3                              2.3.5-15                    An interactive high-level object-oriented la
ii  python2.3-dev                          2.3.5-15                    Header files and a static library for Python
16:20:46
#ls /usr/lib/python
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
grub  xen
16:20:55
#ls /usr/share/p
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
pam/        perl/       perl5/      pixmaps/    pkgconfig/  po-debconf/ proll/      python/
16:20:55
#ls /usr/share/python/
debian_defaults  pyversions.py
16:20:55
#python2.4
-win2k-hack     use it when installing Windows 2000 to avoid a disk full bug
-usb            enable the USB driver (will be the default soon)
-usbdevice name add the host or guest USB device 'name'
Network options:
-net nic[,vlan=n][,macaddr=addr][,model=type]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                create a new Network Interface Card and connect it to VLAN 'n'
-net tap[,vlan=n][,fd=h][,ifname=name][,script=file][,bridge=br]
                connect the host TAP network interface to VLAN 'n' and use
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
bash: python2.4: command not found
16:21:18
#find /usr -name \*python\*
                the network script 'file' (default=%s);
                use 'fd=h' to connect to an already opened TAP interface
-net socket[,vlan=n][,fd=h][,listen=[host]:port][,connect=host:port]
                connect the vlan 'n' to another VLAN using a socket connection
-net socket[,vlan=n][,fd=h][,mcast=maddr:port]
                connect the vlan 'n' to multicast maddr and port
/usr/share/doc/python2.3-dev
/usr/share/doc/python2.3
/usr/share/doc/python2.3/python-policy.sgml.gz
/usr/share/doc/python2.3/python-policy.html
/usr/share/doc/python2.3/python-policy.txt.gz
/usr/share/doc/python
/usr/share/doc/python/python-policy.sgml.gz
/usr/share/doc/python/python-policy.html
/usr/share/doc/python/python-policy.html/ch-python.html
/usr/share/doc/python/python-policy.txt.gz
16:21:25
#find /usr -name \*python\* | less
16:23:57
#find /usr -name \*python\* | less

Статистика

Время первой команды журнала14:20:08 2006- 8-12
Время последней команды журнала16:23:57 2006- 8-12
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, %10.89
Процент синтаксически неверно набранных команд, % 3.96
Суммарное время работы с терминалом *, час 0.80
Количество командных строк в единицу времени, команда/мин 2.10
Частота использования команд
dpkg23|=====================| 21.90%
ls22|====================| 20.95%
vi10|=========| 9.52%
cd4|===| 3.81%
make4|===| 3.81%
apt-get4|===| 3.81%
grep4|===| 3.81%
find4|===| 3.81%
xen3|==| 2.86%
fix3|==| 2.86%
rm3|==| 2.86%
less3|==| 2.86%
mv3|==| 2.86%
/etc/init.d/xend2|=| 1.90%
tail2|=| 1.90%
which2|=| 1.90%
apt-cache2|=| 1.90%
man1|| 0.95%
pwd1|| 0.95%
python1|| 0.95%
xm1|| 0.95%
mkinitramfs1|| 0.95%
python2.41|| 0.95%
xend1|| 0.95%
____
*) Интервалы неактивности длительностью 30 минут и более не учитываются

Справка

Для того чтобы использовать LiLaLo, не нужно знать ничего особенного: всё происходит само собой. Однако, чтобы ведение и последующее использование журналов было как можно более эффективным, желательно иметь в виду следующее:
  1. В журнал автоматически попадают все команды, данные в любом терминале системы.

  2. Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.

  3. Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
    $ l s-l
    bash: l: command not found
    

  4. Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
    $ test 5 -lt 4
    Обратите внимание на то, что код завершения команды может быть отличен от нуля не только в тех случаях, когда команда была выполнена с ошибкой. Многие команды используют код завершения, например, для того чтобы показать результаты проверки

  5. Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
    $ find / -name abc
    find: /home/devi-orig/.gnome2: Keine Berechtigung
    find: /home/devi-orig/.gnome2_private: Keine Berechtigung
    find: /home/devi-orig/.nautilus/metafiles: Keine Berechtigung
    find: /home/devi-orig/.metacity: Keine Berechtigung
    find: /home/devi-orig/.inkscape: Keine Berechtigung
    ^C
    

  6. Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
    # id
    uid=0(root) gid=0(root) Gruppen=0(root)
    

  7. Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
    $ vi ~/.bashrc
    2a3,5
    >    if [ -f /usr/local/etc/bash_completion ]; then
    >         . /usr/local/etc/bash_completion
    >        fi
    

  8. Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
    $ patch ~/.bashrc
    В данном случае изменения применяются к файлу ~/.bashrc

  9. Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.

    Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.

  10. Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.

  11. Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора

  12. Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.

  13. Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.

  14. Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:

    $ whoami
    
    user
    
    $ #^ Интересно, кто я?
    
    в журнале это будет выглядеть так:
    $ whoami
    
    user
    
    Интересно, кто я?

  15. Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:

    $ whoami
    
    user
    
    $ cat > /dev/null #^ Интересно, кто я?
    
    Программа whoami выводит имя пользователя, под которым 
    мы зарегистрировались в системе.
    -
    Она не может ответить на вопрос о нашем назначении 
    в этом мире.
    
    В журнале это будет выглядеть так:
    $ whoami
    user
    
    Интересно, кто я?
    Программа whoami выводит имя пользователя, под которым
    мы зарегистрировались в системе.

    Она не может ответить на вопрос о нашем назначении
    в этом мире.
    Для разделения нескольких абзацев между собой используйте символ "-", один в строке.

  16. Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=

  17. Содержимое файла может быть показано в журнале. Для этого его нужно вывести с помощью программы cat. Если вывод команды отметить симоволами #!, содержимое файла будет показано в журнале в специально отведённой для этого секции.
  18. Для того чтобы вставить скриншот интересующего вас окна в журнал, нужно воспользоваться командой l3shot. После того как команда вызвана, нужно с помощью мыши выбрать окно, которое должно быть в журнале.
  19. Команды в журнале расположены в хронологическом порядке. Если две команды давались одна за другой, но на разных терминалах, в журнале они будут рядом, даже если они не имеют друг к другу никакого отношения.
    1
        2
    3   
        4
    
    Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.

О программе

LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008

$Id$