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

Содержание

Журнал

Воскресенье (12/24/06)

/dev/pts/0
17:27:55
#lspci
00:00.0 Host bridge: Intel Corporation 5000P Chipset Memory Controller Hub (rev 93)
00:02.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 2 (rev 93)
00:03.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 3 (rev 93)
00:04.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 4-5 (rev 93)
00:05.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 5 (rev 93)
00:06.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x8 Port 6-7 (rev 93)
00:07.0 PCI bridge: Intel Corporation 5000 Series Chipset PCI Express x4 Port 7 (rev 93)
00:10.0 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting Registers (rev 93)
00:10.1 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting Registers (rev 93)
00:10.2 Host bridge: Intel Corporation 5000 Series Chipset Error Reporting Registers (rev 93)
...
04:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev c2)
05:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 11)
09:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Upstream Port (rev 01)
09:00.3 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express to PCI-X Bridge (rev 01)
0a:00.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E1 (rev 01)
0a:01.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E2 (rev 01)
0a:02.0 PCI bridge: Intel Corporation 6311ESB/6321ESB PCI Express Downstream Port E3 (rev 01)
0e:00.0 PCI bridge: Broadcom EPB PCI-Express to PCI-X Bridge (rev b4)
0f:04.0 PCI bridge: Broadcom HT1000 PCI/PCI-X bridge (rev b2)
0f:08.0 RAID bus controller: Hewlett-Packard Company Unknown device 3238
прошло 34 минуты
18:02:29
#whereis lspci
lspci: /bin/lspci /usr/bin/lspci /usr/X11R6/bin/lspci /usr/bin/X11/lspci /usr/share/man/man8/lspci.8.gz
18:02:35
#dpkg -S /usr/bin/lsp
lspci    lspgpot
18:02:35
#dpkg -S /usr/bin/lspci
pciutils: /usr/bin/lspci
18:02:54
#make bzImage -j2

18:02:54
#make modules
make[3]: Цель `modules' не требует выполнения команд.
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/char/drm'
make -C pcmcia modules
make[3]: Entering directory `/usr/src/linux-2.4.34/drivers/char/pcmcia'
make[3]: Цель `modules' не требует выполнения команд.
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/char/pcmcia'
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/char'
make -C hotplug modules
make[2]: Entering directory `/usr/src/linux-2.4.34/drivers/hotplug'
make[2]: Цель `modules' не требует выполнения команд.
...
make[1]: Цель `modules' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/kernel'
make -C  arch/i386/mm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.34/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/mm'
make[1]: Цель `modules' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/mm'
make -C  arch/i386/lib CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.34/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/lib'
make[1]: Цель `modules' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/lib'
18:08:53
#make modules_install
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/char/pcmcia'
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/char'
make -C hotplug modules_install
make[2]: Entering directory `/usr/src/linux-2.4.34/drivers/hotplug'
make[2]: Цель `modules_install' не требует выполнения команд.
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/hotplug'
make -C ide modules_install
make[2]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
make -C arm modules_install
make[3]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/arm'
...
make[1]: Цель `modules_install' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/mm'
make -C  arch/i386/lib modules_install
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/lib'
make[1]: Цель `modules_install' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/lib'
cd /lib/modules/2.4.34; \
        mkdir -p pcmcia; \
        find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.34; fi
18:09:01
#scp -r /lib/modules/2.
2.4.34/           2.6.17-2-686/     2.6.17-2-xen-686/ 2.6.18-3-xen-686/
18:09:01
#scp -r /lib/modules/2.4.34 192.168.15.15:/opt/ltsp/i386/lib
softirq.h                                                100%  708     0.7KB/s   00:00
spinlock.h                                               100% 4680     4.6KB/s   00:00
dma.h                                                    100% 8786     8.6KB/s   00:00
sembuf.h                                                 100%  615     0.6KB/s   00:00
perfctr.h                                                100% 5810     5.7KB/s   00:00
system.h                                                 100%   12KB  11.7KB/s   00:00
head.h                                                   100% 1473     1.4KB/s   00:00
a.out.h                                                  100% 3087     3.0KB/s   00:00
atomic.h                                                 100% 1979     1.9KB/s   00:00
solerrno.h                                               100% 8938     8.7KB/s   00:00
...
siginfo.h                                                100% 6637     6.5KB/s   00:00
mtrr.h                                                   100% 4412     4.3KB/s   00:00
socket.h                                                 100% 1671     1.6KB/s   00:00
acpi.h                                                   100% 4974     4.9KB/s   00:00
scatterlist.h                                            100% 1052     1.0KB/s   00:00
statfs.h                                                 100%  338     0.3KB/s   00:00
edd.h                                                    100% 4872     4.8KB/s   00:00
parport.h                                                100%  507     0.5KB/s   00:00
kmap_types.h                                             100%  213     0.2KB/s   00:00
elf.h                                                    100% 3289     3.2KB/s   00:00
прошло 20 минут
18:29:44
#make menuconfig
  x x--- USB Device Class drivers                                                    x x
  x x< >   USB Audio support                                                         x x
  x x< >   USB MIDI support                                                          x x
  x x<*>   USB Mass Storage support                                                  x x
  x x<*> Support for USBorage verbose debug                                          x x
  x x[ ]   USB verbose debug messages support                                        x x
  x x--- Miscellaneous USB optionse support                                          x x
     <*>   UHCI Alternate Driver (JE) support
  x x<*>   OHCI (Compaq, iMacs, OPTi, SiS, ALi, ...) support                         x x
     --- USB Device Class drivers
...
     < >   USB Audio support
  x x< >   USB MIDI supports                                                         x x
     < >   USB MIDI support
  x x< >   USB Kodak DC-2xx Camera support                                           x x
  x x< >   USB Scanner support                                                       x x
  x mv(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
                             <Select>    < Exit >    < Help >                          x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
  x
18:31:01
#scp -r /lib/modules/2.4.34 192.168.15.15:/opt/ltsp/i386/lib

18:31:01
#make bzImage -j2

18:31:01
#make dep
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- i2c-adap-ite.c i2c-algo-bit.c i2c-algo-ite.c i2c-algo-pcf.c i2c-algo-sgi.c i2c-
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/i2c'
make -C ide fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- ide.c ide-cd.c ide-cd.h ide-default.c ide-disk.c ide-dma.c ide-floppy.c ide-geo
make _sfdep_arm _sfdep_legacy _sfdep_pci _sfdep_ppc _sfdep_raid _FASTDEP_ALL_SUB_DIRS="arm legacy pci ppc raid"
make[5]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
make -C arm fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/arm'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -I../ -nostdinc -iwithprefix include -- icside.c rapide.c > .depend
...
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- amd766rom.c amd76xrom.c autcpu12-nvram.c cdb89712.c ceiva.c cfi_flagadm.c cstm_
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd/maps'
make -C nand fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/mtd/nand'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- autcpu12.c edb7312.c nand.c nand_ecc.c nand_ids.c spia.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd/nand'
make[5]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd'
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd'
make -C net fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/net'
18:31:16
#scp -r /lib/modules/2.4.34 192.168.15.15:/opt/ltsp/i386/lib

18:31:16
#make modules
make -C pcmcia modules
make[3]: Entering directory `/usr/src/linux-2.4.34/drivers/char/pcmcia'
make[3]: Цель `modules' не требует выполнения команд.
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/char/pcmcia'
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/char'
make -C hotplug modules
make[2]: Entering directory `/usr/src/linux-2.4.34/drivers/hotplug'
make[2]: Цель `modules' не требует выполнения команд.
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/hotplug'
make -C ide modules
...
make[1]: Цель `modules' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/kernel'
make -C  arch/i386/mm CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.34/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/mm'
make[1]: Цель `modules' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/mm'
make -C  arch/i386/lib CFLAGS="-D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4.34/include/linux/modversions.h" MAKING_MODULES=1 modules
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/lib'
make[1]: Цель `modules' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/lib'
18:31:25
#scp -r /lib/modules/2.4.34 192.168.15.15:/opt/ltsp/i386/lib

18:31:25
#make modules_install
make -C hotplug modules_install
make[2]: Entering directory `/usr/src/linux-2.4.34/drivers/hotplug'
make[2]: Цель `modules_install' не требует выполнения команд.
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/hotplug'
make -C ide modules_install
make[2]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
make -C arm modules_install
make[3]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/arm'
make[3]: Цель `modules_install' не требует выполнения команд.
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/ide/arm'
...
make[1]: Цель `modules_install' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/mm'
make -C  arch/i386/lib modules_install
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/lib'
make[1]: Цель `modules_install' не требует выполнения команд.
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/lib'
cd /lib/modules/2.4.34; \
        mkdir -p pcmcia; \
        find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.4.34; fi
18:31:30
#scp -r /lib/modules/2.4.34 192.168.15.15:/opt/ltsp/i386/lib

18:31:30
#rsync -auvz /lib/modules/2.4.34/ 192.168.15.15:/opt/ltsp/i386/li
/modules/2.4.34/
bash: rsync: command not found
18:32:00
#apt-get install rsync
Чтение списков пакетов... Готово
Построение дерева зависимостей... Готово
НОВЫЕ пакеты, которые будут установлены:
  rsync
обновлено 0, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 53 пакетов не обновлено.
Необходимо скачать 261kБ архивов.
После распаковки объем занятого дискового пространства возрастёт на 512kB.
Получено:1 http://debian.org.ua unstable/main rsync 2.6.9-2 [261kB]
Получено 261kB за 1s (225kB/c)
Выбор ранее не выбранного пакета rsync.
(Чтение базы данных... на данный момент установлено 30413 файлов и каталогов.)
Распаковывается пакет rsync (из файла .../rsync_2.6.9-2_i386.deb)...
Настраивается пакет rsync (2.6.9-2) ...
18:32:26
#apt-get install rsync
Password:
building file list ... done
./
rsync: delete_file: rmdir "/opt/ltsp/i386/lib/modules/2.4.34/build" failed: Directory not empty (39)
modules.dep
modules.generic_string
modules.ieee1394map
modules.isapnpmap
modules.parportmap
modules.pcimap
...
kernel/drivers/usb/
kernel/drivers/usb/hid.o
kernel/net/
kernel/net/ipv4/
kernel/net/ipv4/netfilter/
kernel/net/ipv4/netfilter/ip_tables.o
pcmcia/
sent 8836 bytes  received 510 bytes  812.70 bytes/sec
total size is 35212  speedup is 3.77
rsync error: some files could not be transferred (code 23) at main.c(977) [sender=2.6.9]
18:32:26
#make modules_install

18:32:26
#make menuconfig
 Linux Kernel v2.4.34 Configuration
18:41:04
#make menuconfig

18:41:30
#apt-get install rsync

18:41:30
#make modules_install

18:41:30
#make dep && make modules && make modules_install
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- i2c-adap-ite.c i2c-algo-bit.c i2c-algo-ite.c i2c-algo-pcf.c i2c-algo-sgi.c i2c-
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/i2c'
make -C ide fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- ide.c ide-cd.c ide-cd.h ide-default.c ide-disk.c ide-dma.c ide-floppy.c ide-geo
make _sfdep_arm _sfdep_legacy _sfdep_pci _sfdep_ppc _sfdep_raid _FASTDEP_ALL_SUB_DIRS="arm legacy pci ppc raid"
make[5]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
make -C arm fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/arm'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -I../ -nostdinc -iwithprefix include -- icside.c rapide.c > .depend
...
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- amd766rom.c amd76xrom.c autcpu12-nvram.c cdb89712.c ceiva.c cfi_flagadm.c cstm_
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd/maps'
make -C nand fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/mtd/nand'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- autcpu12.c edb7312.c nand.c nand_ecc.c nand_ids.c spia.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd/nand'
make[5]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd'
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd'
make -C net fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/net'
18:41:57
#apt-get install rsync

прошло 44 минуты
19:26:32
#make menuconfig
  x  features.  Press <Esc><Esc> to exit, <?> for Help.  Legend: [*] built-in  [ ]     x
  x  excluded  <M> module  < > module capable                                          x
  x lqqqq^(-)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x                                                                                x x
  x x    [ ]     /dev/hiddev raw HID device support                                  x x
  x x    < >   USB HIDBP Keyboard (basic) support                                    x x
  x x    < >   USB HIDBP Mouse (basic) support                                       x x
19:27:33
#make dep && make modules && make modules_install

19:27:33
#make dep && make modules && make modules_install
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- i2c-adap-ite.c i2c-algo-bit.c i2c-algo-ite.c i2c-algo-pcf.c i2c-algo-sgi.c i2c-
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/i2c'
make -C ide fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- ide.c ide-cd.c ide-cd.h ide-default.c ide-disk.c ide-dma.c ide-floppy.c ide-geo
make _sfdep_arm _sfdep_legacy _sfdep_pci _sfdep_ppc _sfdep_raid _FASTDEP_ALL_SUB_DIRS="arm legacy pci ppc raid"
make[5]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
make -C arm fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/arm'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -I../ -nostdinc -iwithprefix include -- icside.c rapide.c > .depend
...
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- amd766rom.c amd76xrom.c autcpu12-nvram.c cdb89712.c ceiva.c cfi_flagadm.c cstm_
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd/maps'
make -C nand fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/mtd/nand'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- autcpu12.c edb7312.c nand.c nand_ecc.c nand_ids.c spia.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd/nand'
make[5]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd'
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/mtd'
make -C net fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/net'
19:28:13
#aoe-stat
      e9.0       160.041GB   eth1 up
19:35:06
#/etc/init.d/lvm start
Setting up LVM Volume Groups...
  Reading all physical volumes.  This may take a while...
  Found volume group "NAS1" using metadata type lvm2
  22 logical volume(s) in volume group "NAS1" now active
19:35:12
#vi /etc/xen/2003server0
21c21
< memory = 256
---
> memory = 512
19:35:40
#xm create 2003server0
Using config file "/etc/xen/2003server0".
Error: Disk image does not exist: /data/ISO/windows-server-2003.iso
19:35:53
#mount -L ISO

19:35:59
#xm create 2003server0
Using config file "/etc/xen/2003server0".
Started domain 2003server0

Понедельник (12/25/06)

/dev/tty2
20:24:57
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:71:79:F8:9A
          inet addr:192.168.15.252  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::218:71ff:fe79:f89a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:398597 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327712 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:265374210 (253.0 MiB)  TX bytes:240542128 (229.3 MiB)
eth1      Link encap:Ethernet  HWaddr 00:18:71:79:F8:98
          inet addr:192.168.16.2  Bcast:192.168.16.255  Mask:255.255.255.0
...
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
xenbr0    Link encap:Ethernet  HWaddr 92:C1:1B:01:5D:E6
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:15555 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1736 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1618833 (1.5 MiB)  TX bytes:55552 (54.2 KiB)
/dev/pts/1
20:26:17
#cd /usr/src/linux-2.4.34
linux-2.4.34/        linux-2.4.34.tar.gz
20:26:17
#cd /usr/src/linux-2.4.34/

20:26:51
#make menuconfig
                         lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
                         x   Do you wish to save your new kernel configuration?     x
                         tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
                         x                   < Yes >      <  No  >                  x
                         mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
Your kernel configuration changes were NOT saved.
20:27:16
#make menuconfig
  x x             < >     Digi Intl. RightSwitch SE-X support                                           x x
  x x             < >     Davicom DM910x/DM980x support                                                 x x
  x x             <M>     EtherExpressPro/100 support (eepro100, original Becker driver)                x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
  x x                                                                                                   x x
20:31:26
#make clean
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/linux-2.4.34/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
                | grep -v lxdialog/ | xargs rm -f
rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c drivers/char/conmakehash drivers/char/drm/*-mod.c drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h drivers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.b
rm -rf modules
make -C Documentation/DocBook clean
make[1]: Entering directory `/usr/src/linux-2.4.34/Documentation/DocBook'
rm -f core *~
rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml kernel-api.sgml parportbook.sgml kernel-hacking.sgml kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml deviceiobook.sgml procfs-guide.sgml tulip-user.sgml journal-api.sgml libata.sgml
rm -f  wanbook.dvi  z8530book.dvi  mcabook.dvi  videobook.dvi  kernel-api.dvi  parportbook.dvi  kernel-hacking.dvi  kernel-locking.dvi  via-audio.dvi  mousedrivers.dvi  sis900.dvi  deviceiobook.dvi  procfs-guide.dvi  tulip-user.dvi  journal-api.dvi  libata.dvi  wanbook.aux  z8530book.aux  mcabook.aux  videobook.aux  kernel-api.aux  parportbook.aux  kernel-hacking.aux  kernel-locking.aux  via-audio
rm -f  parport-share.png  parport-multi.png  parport-structure.png  parport-share.eps  parport-multi.eps  parport-structure.eps
rm -f procfs_example.sgml
make[1]: Leaving directory `/usr/src/linux-2.4.34/Documentation/DocBook'
20:31:33
#make dep -j2
make[7]: Entering directory `/usr/src/linux-2.4.34/drivers/char/ftape'
make -C compressor fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/fs/hfsplus'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- bfind.c bnode.c brec.c btree.c catalog.c dir.c extents.c hfsplus_fs.h hfsplus_r
make[8]: Entering directory `/usr/src/linux-2.4.34/drivers/char/ftape/compressor'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- lzrw3.c lzrw3.h zftape-compress.c zftape-compress.h > .depend
make[4]: Leaving directory `/usr/src/linux-2.4.34/fs/hfsplus'
make -C hpfs fastdep
make[8]: Leaving directory `/usr/src/linux-2.4.34/drivers/char/ftape/compressor'
make -C lowlevel fastdep
...
make[4]: Leaving directory `/usr/src/linux-2.4.34/fs/openpromfs'
make -C partitions fastdep
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/ide/legacy'
make -C pci fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/fs/partitions'
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/pci'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -I../ -nostdinc -iwithprefix include -- adma100.c adma100.h aec62xx.c aec62xx.h alim15x3.c alim15x3.h amd74xx.c am
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- acorn.c acorn.h amiga.c amiga.h atari.c atari.h check.c check.h efi.c efi.h ibm
make[4]: Leaving directory `/usr/src/linux-2.4.34/fs/partitions'
make -C proc fastdep
20:32:42
#make -j2 && make modules -j2 && make modules_install
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_default  -c -o ide-default.o ide-default.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_probe  -DEXPORT_SYMTAB -c ide-probe.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=n_tty  -c -o n_tty.o n_tty.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_proc  -DEXPORT_SYMTAB -c ide-proc.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=tty_ioctl  -DEXPORT_SYMTAB -c tty_ioctl.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=setup_pci  -DEXPORT_SYMTAB -c setup-pci.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=raw  -c -o raw.o raw.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_dma  -DEXPORT_SYMTAB -c ide-dma.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=pty  -DEXPORT_SYMTAB -c pty.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=misc  -DEXPORT_SYMTAB -c misc.c
...
make -C cramfs
make[2]: Entering directory `/usr/src/linux-2.4.34/fs/cramfs'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.34/fs/cramfs'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=inode  -c -o inode.o inode.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=e1000_param  -c -o e1000_param.o e1000_param.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=uncompress -I /usr/src/linux-2.4.34/fs/inflate_fs -c -o uncompress.o uncompress.c
rm -f cramfs.o
ld -m elf_i386 -e stext  -r -o cramfs.o inode.o uncompress.o
make[3]: Leaving directory `/usr/src/linux-2.4.34/fs/cramfs'
20:35:29
#ls -l arch/
alpha/   cris/    ia64/    mips/    parisc/  ppc64/   s390x/   sh64/    sparc64/
arm/     i386/    m68k/    mips64/  ppc/     s390/    sh/      sparc/   x86_64/
20:35:29
#ls -l arch/i386/boot/
итого 100
-rw-r--r-- 1 root root 10626 2006-12-23 22:34 bootsect.S
drwxr-xr-x 2 root root  4096 2006-12-25 20:31 compressed
-rw-r--r-- 1 root root   974 2006-12-23 22:34 install.sh
-rw-r--r-- 1 root root  2833 2006-12-23 22:34 Makefile
-rw-r--r-- 1 root root 29550 2006-12-23 22:34 setup.S
drwxr-xr-x 2 root root  4096 2006-12-25 20:31 tools
-rw-r--r-- 1 root root 38962 2006-12-23 22:34 video.S
20:37:15
#ls -l /boot/
итого 19632
-rw-r--r-- 1 root root   67933 2006-09-13 18:43 config-2.6.17-2-686
-rw-r--r-- 1 root root   64299 2006-09-14 02:04 config-2.6.17-2-xen-686
-rw-r--r-- 1 root root   67700 2006-12-05 00:39 config-2.6.18-3-xen-686
drwxr-xr-x 2 root root    4096 2006-12-10 23:13 grub
-rw-r--r-- 1 root root 4391046 2006-06-13 07:43 initrd.img-2.6.17-2-686
-rw-r--r-- 1 root root 4413857 2006-12-06 16:54 initrd.img-2.6.17-2-xen-686
-rw-r--r-- 1 root root 4995933 2006-12-10 23:13 initrd.img-2.6.18-3-xen-686
-rw-r--r-- 1 root root  687920 2006-09-14 01:12 System.map-2.6.17-2-686
-rw-r--r-- 1 root root  694010 2006-09-14 02:04 System.map-2.6.17-2-xen-686
-rw-r--r-- 1 root root  729357 2006-12-05 00:39 System.map-2.6.18-3-xen-686
-rw-r--r-- 1 root root 1214094 2006-09-14 01:12 vmlinuz-2.6.17-2-686
-rw-r--r-- 1 root root 1187021 2006-09-14 02:02 vmlinuz-2.6.17-2-xen-686
-rw-r--r-- 1 root root 1234717 2006-12-05 00:38 vmlinuz-2.6.18-3-xen-686
-rw-r--r-- 1 root root  244899 2006-11-02 21:39 xen-3.0.3-1-i386.gz
drwxr-xr-x 2 root root    4096 2006-12-13 00:25 xen-for-oes1
20:37:34
#make -j2 && make modules -j2 && make modules_install

20:38:00
#make install
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/ide/ppc'
make -C raid
make[3]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/raid'
make all_targets
make[4]: Entering directory `/usr/src/linux-2.4.34/drivers/ide/raid'
make[4]: Цель `all_targets' не требует выполнения команд.
make[4]: Leaving directory `/usr/src/linux-2.4.34/drivers/ide/raid'
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/ide/raid'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.34/drivers/ide'
...
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ds  -DEXPORT_SYMTAB -c ds.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=cs  -DEXPORT_SYMTAB -c cs.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=cardbus  -c -o cardbus.o cardbus.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=yenta  -DEXPORT_SYMTAB -c yenta.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=pci_socket  -DEXPORT_SYMTAB -c pci_socket.c
rm -f pcmcia.o
ld -m elf_i386 -e stext  -r -o pcmcia.o cistpl.o rsrc_mgr.o bulkmem.o ds.o cs.o cardbus.o yenta.o pci_socket.o
make[3]: Leaving directory `/usr/src/linux-2.4.34/drivers/pcmcia'
make[2]: Leaving directory `/usr/src/linux-2.4.34/drivers/pcmcia'
make -C pnp
20:41:18
#ls -l /boot/vmlinuz-2.4.34
-rw-r--r-- 1 root root 1526234 2006-12-25 20:41 /boot/vmlinuz-2.4.34
20:41:31
#make menuconfig

прошло 17 минут
20:58:32
#make clean
make[1]: Entering directory `/usr/src/linux-2.4.34/arch/i386/boot'
rm -f tools/build
rm -f setup bootsect zImage compressed/vmlinux.out
rm -f bsetup bbootsect bzImage compressed/bvmlinux.out
make[2]: Entering directory `/usr/src/linux-2.4.34/arch/i386/boot/compressed'
rm -f vmlinux bvmlinux _tmp_*
make[2]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/boot/compressed'
make[1]: Leaving directory `/usr/src/linux-2.4.34/arch/i386/boot'
find . \( -name '*.[oas]' -o -name core -o -name '.*.flags' \) -type f -print \
                | grep -v lxdialog/ | xargs rm -f
rm -f kernel/ksyms.lst include/linux/compile.h vmlinux System.map .tmp* drivers/char/consolemap_deftbl.c drivers/video/promcon_tbl.c drivers/char/conmakehash drivers/char/drm/*-mod.c drivers/pci/devlist.h drivers/pci/classlist.h drivers/pci/gen-devlist drivers/zorro/devlist.h drivers/zorro/gen-devlist drivers/sound/bin2hex drivers/sound/hex2hex drivers/atm/fore200e_mkfirm drivers/atm/{pca,sba}*{.b
rm -rf modules
make -C Documentation/DocBook clean
make[1]: Entering directory `/usr/src/linux-2.4.34/Documentation/DocBook'
rm -f core *~
rm -f wanbook.sgml z8530book.sgml mcabook.sgml videobook.sgml kernel-api.sgml parportbook.sgml kernel-hacking.sgml kernel-locking.sgml via-audio.sgml mousedrivers.sgml sis900.sgml deviceiobook.sgml procfs-guide.sgml tulip-user.sgml journal-api.sgml libata.sgml
rm -f  wanbook.dvi  z8530book.dvi  mcabook.dvi  videobook.dvi  kernel-api.dvi  parportbook.dvi  kernel-hacking.dvi  kernel-locking.dvi  via-audio.dvi  mousedrivers.dvi  sis900.dvi  deviceiobook.dvi  procfs-guide.dvi  tulip-user.dvi  journal-api.dvi  libata.dvi  wanbook.aux  z8530book.aux  mcabook.aux  videobook.aux  kernel-api.aux  parportbook.aux  kernel-hacking.aux  kernel-locking.aux  via-audio
rm -f  parport-share.png  parport-multi.png  parport-structure.png  parport-share.eps  parport-multi.eps  parport-structure.eps
rm -f procfs_example.sgml
make[1]: Leaving directory `/usr/src/linux-2.4.34/Documentation/DocBook'
20:58:34
#make dep -j2
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- attribute.c befs_fs_types.h befs.h btree.c btree.h datastream.c datastream.h de
make[4]: Leaving directory `/usr/src/linux-2.4.34/fs/befs'
make -C bfs fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/char/mwave'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -DMW_TRACE -nostdinc -iwithprefix include -- 3780i.c 3780i.h mwavedd.c mwavedd.h mwavepub.h smapi.c smapi.h tp3780
make[4]: Entering directory `/usr/src/linux-2.4.34/fs/bfs'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- bfs_defs.h dir.c file.c inode.c > .depend
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/char/mwave'
make -C pcmcia fastdep
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/char/pcmcia'
...
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/isdn/divert'
make -C eicon fastdep
make[4]: Entering directory `/usr/src/linux-2.4.34/fs/jfs'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time -D_JFS_4K -nostdinc -iwithprefix include -- file.c inode.c jfs_btree.h jfs_debug.c jfs_debug.h jfs_dinode.h jfs_dm
make[6]: Entering directory `/usr/src/linux-2.4.34/drivers/isdn/eicon'
/usr/src/linux-2.4.34/scripts/mkdep -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time  -nostdinc -iwithprefix include -- adapter.h bri.c common.c constant.h divalog.h divas.h Divas_mod.c dsp_defs.h ds
make[4]: Leaving directory `/usr/src/linux-2.4.34/fs/jfs'
make -C lockd fastdep
make[6]: Leaving directory `/usr/src/linux-2.4.34/drivers/isdn/eicon'
make -C hisax fastdep
20:58:49
#make bzImage -j2 && make modules -j2 && make modules_install
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_proc  -DEXPORT_SYMTAB -c ide-proc.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=setup_pci  -DEXPORT_SYMTAB -c setup-pci.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=tty_ioctl  -DEXPORT_SYMTAB -c tty_ioctl.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=raw  -c -o raw.o raw.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_dma  -DEXPORT_SYMTAB -c ide-dma.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=pty  -DEXPORT_SYMTAB -c pty.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_disk  -DEXPORT_SYMTAB -c ide-disk.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=misc  -DEXPORT_SYMTAB -c misc.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=random  -DEXPORT_SYMTAB -c random.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=ide_cd  -c -o ide-cd.o ide-cd.c
...
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=waitq  -c -o waitq.o waitq.c
gcc -D__KERNEL__ -I/usr/src/linux-2.4.34/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fno-builtin-sprintf -fomit-frame-pointer -Wno-pointer-sign -pipe -mpreferred-stack-boundary=2 -march=c3-2 -fno-unit-at-a-time   -nostdinc -iwithprefix include -DKBUILD_BASENAME=expire  -c -o expire.o expire.c
rm -f autofs4.o
ld -m elf_i386 -e stext  -r -o autofs4.o init.o inode.o root.o symlink.o waitq.o expire.o
make[3]: Leaving directory `/usr/src/linux-2.4.34/fs/autofs4'
make[2]: Leaving directory `/usr/src/linux-2.4.34/fs/autofs4'
make -C cramfs
make[2]: Entering directory `/usr/src/linux-2.4.34/fs/cramfs'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.34/fs/cramfs'
21:01:00
#pwd
/usr/src/linux-2.4.34
21:04:45
#ls arch/i386/boot/b
bbootsect    bbootsect.o  bbootsect.s  bootsect.S   bsetup       bsetup.o     bsetup.s     bzImage
21:04:45
#ls -l
-rw-r--r-- 1 root root 1605403 2006-12-25 21:00 arch/i386/boot/bzImage
21:05:08
#cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.34

прошло 92 минуты
/dev/tty2
22:37:13
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
64 bytes from 10.0.35.1: icmp_seq=1 ttl=64 time=4.25 ms
--- 10.0.35.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 4.253/4.253/4.253/0.000 ms

Вторник (12/26/06)

/dev/pts/1
12:41:49
#xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
2003server0                               14      512     1 -b----    462.0
Domain-0                                   0     2238     2 r-----   2049.6
12:41:52
#xm list
Name                                      ID Mem(MiB) VCPUs State   Time(s)
2003server0                               15      512     1 -b----      9.2
Domain-0                                   0     2238     2 r-----   2077.8
12:44:51
#ping -f -s 20000 10.0.37.1
PING 10.0.37.1 (10.0.37.1) 20000(20028) bytes of data.
.............................................................................................................................................................................................................................................................................................................................................................................................................. .
--- 10.0.37.1 ping statistics ---
47494 packets transmitted, 1804 received, 96% packet loss, time 566358ms
rtt min/avg/max/mdev = 8.219/64.871/20950.208/1060.576 ms, pipe 1748, ipg/ewma 11.925/8.470 ms
прошло >3 часов
16:38:36
#ping -f 10.0.37.1
PING 10.0.37.1 (10.0.37.1) 56(84) bytes of data.

Среда (12/27/06)

/dev/pts/2
10:50:40
#shutdown -h +5

Суббота (01/20/07)

/dev/tty1
17:26:35
#mi
mii-tool  minfo
17:26:35
#mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not supported
eth1: negotiated 100baseTx-FD flow-control, link ok
17:26:40
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:71:79:F8:9A
          inet addr:192.168.15.252  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::218:71ff:fe79:f89a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:6 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:192 (192.0 b)  TX bytes:1866 (1.8 KiB)
eth1      Link encap:Ethernet  HWaddr 00:18:71:79:F8:98
          inet addr:192.168.16.2  Bcast:192.168.16.255  Mask:255.255.255.0
...
          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1866 (1.8 KiB)  TX bytes:192 (192.0 b)
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:40 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1306 (1.2 KiB)  TX bytes:96 (96.0 b)
17:26:50
#ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
64 bytes from 192.168.16.2: icmp_seq=1 ttl=64 time=0.031 ms
64 bytes from 192.168.16.2: icmp_seq=2 ttl=64 time=0.020 ms
--- 192.168.16.2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 999ms
rtt min/avg/max/mdev = 0.020/0.025/0.031/0.007 ms
17:27:11
#ping 192.168.16.1
PING 192.168.16.1 (192.168.16.1) 56(84) bytes of data.
64 bytes from 192.168.16.1: icmp_seq=1 ttl=64 time=2.72 ms
64 bytes from 192.168.16.1: icmp_seq=2 ttl=64 time=0.195 ms
--- 192.168.16.1 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1002ms
rtt min/avg/max/mdev = 0.195/1.458/2.721/1.263 ms
17:27:14
#mount -a
mount: special device LABEL=ISO does not exist
17:27:17
#mount
/dev/cciss/c0d0p1 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
devshm on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,nodev)
/dev/pts/0
17:34:21
#ls -l /boot/
итого 21876
lrwxrwxrwx 1 root root      13 2006-12-25 20:41 config -> config-2.4.34
-rw-r--r-- 1 root root   23431 2006-12-25 20:41 config-2.4.34
-rw-r--r-- 1 root root   67933 2006-09-13 18:43 config-2.6.17-2-686
-rw-r--r-- 1 root root   64299 2006-09-14 02:04 config-2.6.17-2-xen-686
-rw-r--r-- 1 root root   67700 2006-12-05 00:39 config-2.6.18-3-xen-686
drwxr-xr-x 2 root root    4096 2006-12-10 23:13 grub
-rw-r--r-- 1 root root 4391046 2006-06-13 07:43 initrd.img-2.6.17-2-686
-rw-r--r-- 1 root root 4413857 2006-12-06 16:54 initrd.img-2.6.17-2-xen-686
-rw-r--r-- 1 root root 4995933 2006-12-10 23:13 initrd.img-2.6.18-3-xen-686
...
-rw-r--r-- 1 root root  687920 2006-09-14 01:12 System.map-2.6.17-2-686
-rw-r--r-- 1 root root  694010 2006-09-14 02:04 System.map-2.6.17-2-xen-686
-rw-r--r-- 1 root root  729357 2006-12-05 00:39 System.map-2.6.18-3-xen-686
lrwxrwxrwx 1 root root      14 2006-12-25 20:41 vmlinuz -> vmlinuz-2.4.34
-rw-r--r-- 1 root root 1605403 2006-12-25 21:05 vmlinuz-2.4.34
-rw-r--r-- 1 root root 1214094 2006-09-14 01:12 vmlinuz-2.6.17-2-686
-rw-r--r-- 1 root root 1187021 2006-09-14 02:02 vmlinuz-2.6.17-2-xen-686
-rw-r--r-- 1 root root 1234717 2006-12-05 00:38 vmlinuz-2.6.18-3-xen-686
-rw-r--r-- 1 root root  244899 2006-11-02 21:39 xen-3.0.3-1-i386.gz
drwxr-xr-x 2 root root    4096 2006-12-13 00:25 xen-for-oes1
17:34:26
#cd /usr/src/

17:34:41
#ls
linux-2.4.34  linux-2.4.34.tar.gz
17:34:42
#cd linux-2.4.34

17:34:48
#ls -l .config
-rw-r--r-- 1 root root 23601 2006-12-25 20:58 .config
17:34:52
#vim .config
17:35:43
#ls -lh .config
-rw-r--r-- 1 root root 24K 2006-12-25 20:58 .config
17:35:48
#scp .config root@192.168.16.1:/tmp
root@192.168.16.1's password:
.config                                                              100%   23KB  23.1KB/s   00:00

Воскресенье (01/21/07)

/dev/pts/0
11:00:02
#cd /usr/src/

11:00:07
#ls
linux-2.4.34  linux-2.4.34.tar.gz
11:00:09
#ping mail.ru

11:01:22
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.16.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.15.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         192.168.15.254  0.0.0.0         UG    0      0        0 eth0
11:11:09
#route del default gw 192.168.15.254

11:11:29
#route add default gw 192.168.16.2

11:11:43
#ping mail.ru

11:11:48
#vim /etc/resolv.conf
11:11:55
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
--- 10.0.35.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
/dev/pts/0
11:12:40
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
--- 10.0.35.1 ping statistics ---
3 packets transmitted, 0 received, 100% packet loss, time 1999ms
11:12:50
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:71:79:F8:9A
          inet addr:192.168.15.252  Bcast:192.168.15.255  Mask:255.255.255.0
          inet6 addr: fe80::218:71ff:fe79:f89a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2142 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26907 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:68544 (66.9 KiB)  TX bytes:1161746 (1.1 MiB)
eth1      Link encap:Ethernet  HWaddr 00:18:71:79:F8:98
          inet addr:192.168.16.2  Bcast:192.168.16.255  Mask:255.255.255.0
...
          TX packets:2142 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1161746 (1.1 MiB)  TX bytes:68544 (66.9 KiB)
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:26907 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1071 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:785048 (766.6 KiB)  TX bytes:34272 (33.4 KiB)
11:12:53
#ifconfig eth0 0.0.0.0

11:13:09
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
From 192.168.16.2 icmp_seq=1 Destination Host Unreachable
From 192.168.16.2 icmp_seq=2 Destination Host Unreachable
From 192.168.16.2 icmp_seq=3 Destination Host Unreachable
--- 10.0.35.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5012ms
, pipe 3
11:13:15
#ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
64 bytes from 192.168.16.2: icmp_seq=1 ttl=64 time=0.021 ms
--- 192.168.16.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.021/0.021/0.021/0.000 ms
/dev/pts/0
11:14:08
#ping 10.0.35.1
PING 10.0.35.1 (10.0.35.1) 56(84) bytes of data.
From 192.168.16.2 icmp_seq=1 Destination Host Unreachable
From 192.168.16.2 icmp_seq=2 Destination Host Unreachable
From 192.168.16.2 icmp_seq=3 Destination Host Unreachable
--- 10.0.35.1 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5013ms
, pipe 3
11:14:16
#ping 192.168.16.1
PING 192.168.16.1 (192.168.16.1) 56(84) bytes of data.
64 bytes from 192.168.16.1: icmp_seq=1 ttl=64 time=0.217 ms
--- 192.168.16.1 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.217/0.217/0.217/0.000 ms
11:14:20
#ping 192.168.16.2
PING 192.168.16.2 (192.168.16.2) 56(84) bytes of data.
64 bytes from 192.168.16.2: icmp_seq=1 ttl=64 time=0.018 ms
--- 192.168.16.2 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.018/0.018/0.018/0.000 ms
11:14:22
#route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.16.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
0.0.0.0         192.168.16.2    0.0.0.0         UG    0      0        0 eth1
11:14:26
#ifconfig
eth0      Link encap:Ethernet  HWaddr 00:18:71:79:F8:9A
          inet6 addr: fe80::218:71ff:fe79:f89a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2144 errors:0 dropped:0 overruns:0 frame:0
          TX packets:26917 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:68608 (67.0 KiB)  TX bytes:1162156 (1.1 MiB)
eth1      Link encap:Ethernet  HWaddr 00:18:71:79:F8:98
          inet addr:192.168.16.2  Bcast:192.168.16.255  Mask:255.255.255.0
          inet6 addr: fe80::218:71ff:fe79:f898/64 Scope:Link
...
          TX packets:2144 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1162156 (1.1 MiB)  TX bytes:68608 (67.0 KiB)
xenbr0    Link encap:Ethernet  HWaddr FE:FF:FF:FF:FF:FF
          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
          UP BROADCAST RUNNING NOARP  MTU:1500  Metric:1
          RX packets:26917 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1072 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:785318 (766.9 KiB)  TX bytes:34304 (33.5 KiB)
11:14:29
#route del default gw 192.168.16.2

11:14:42
#route add default gw 192.168.16.1

Статистика

Время первой команды журнала17:27:55 2006-12-24
Время последней команды журнала11:14:42 2007- 1-21
Количество командных строк в журнале101
Процент команд с ненулевым кодом завершения, % 9.90
Процент синтаксически неверно набранных команд, % 0.99
Суммарное время работы с терминалом *, час 1.93
Количество командных строк в единицу времени, команда/мин 0.87
Частота использования команд
make27|=========================| 25.23%
ping14|=============| 13.08%
ls11|==========| 10.28%
scp7|======| 6.54%
&6|=====| 5.61%
route6|=====| 5.61%
ifconfig5|====| 4.67%
cd5|====| 4.67%
xm4|===| 3.74%
apt-get4|===| 3.74%
mount3|==| 2.80%
dpkg2|=| 1.87%
vim2|=| 1.87%
pwd1|| 0.93%
cp1|| 0.93%
whereis1|| 0.93%
aoe-stat1|| 0.93%
/etc/init.d/lvm1|| 0.93%
lspci1|| 0.93%
mi1|| 0.93%
vi1|| 0.93%
shutdown1|| 0.93%
rsync1|| 0.93%
mii-tool1|| 0.93%
____
*) Интервалы неактивности длительностью 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$