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

Содержание

Журнал

Пятница (05/29/09)

/dev/pts/8
14:11:39
#debootstrap --help
Usage: debootstrap [OPTION]... <suite> <target> [<mirror> [<script>]]
Bootstrap Debian base system.
      --help                 display this help and exit
      --version              display version information and exit
      --verbose              don't turn off the output of wget
      --download-only        download packages, but don't perform installation
      --print-debs           print the packages to be installed, and exit
      --arch=A               set the target architecture (use if no dpkg)
                               [ --arch=powerpc ]
      --include=A,B,C        adds specified names to the list of base packages
...
      --keyring=K            check Release files against keyring K
      --no-resolve-deps      don't try to resolve dependencies automatically
      --unpack-tarball=T     acquire .debs from a tarball instead of http
      --make-tarball=T       download .debs and create a tarball (tgz format)
      --second-stage-target=DIR
                             Run second stage in a subdirectory instead of root
                               (can be used to create a foreign chroot)
                               (requires --second-stage)
      --boot-floppies        used for internal purposes by boot-floppies
      --debian-installer     used for internal purposes by debian-installer
/dev/pts/7
14:11:39
#debootstrap --help
Usage: debootstrap [OPTION]... <suite> <target> [<mirror> [<script>]]
Bootstrap Debian base system.
      --help                 display this help and exit
      --version              display version information and exit
      --verbose              don't turn off the output of wget
      --download-only        download packages, but don't perform installation
      --print-debs           print the packages to be installed, and exit
      --arch=A               set the target architecture (use if no dpkg)
                               [ --arch=powerpc ]
      --include=A,B,C        adds specified names to the list of base packages
...
      --keyring=K            check Release files against keyring K
      --no-resolve-deps      don't try to resolve dependencies automatically
      --unpack-tarball=T     acquire .debs from a tarball instead of http
      --make-tarball=T       download .debs and create a tarball (tgz format)
      --second-stage-target=DIR
                             Run second stage in a subdirectory instead of root
                               (can be used to create a foreign chroot)
                               (requires --second-stage)
      --boot-floppies        used for internal purposes by boot-floppies
      --debian-installer     used for internal purposes by debian-installer
/dev/pts/8
14:11:43
#debootstrap lenny .е/tmp/deb http://127.0.0.1/debian/
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
I: Retrieving Release
E: Failed getting release file http://127.0.0.1/debian/dists/lenny/Release
/dev/pts/7
14:11:43
#debootstrap lenny .е/tmp/deb http://127.0.0.1/debian/
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
I: Retrieving Release
E: Failed getting release file http://127.0.0.1/debian/dists/lenny/Release
/dev/pts/8
14:13:38
#debootstrap sid /tmp/deb http://127.0.0.1/debian/
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
I: Retrieving Release
E: Failed getting release file http://127.0.0.1/debian/dists/sid/Release
/dev/pts/7
14:13:38
#debootstrap sid /tmp/deb http://127.0.0.1/debian/
dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.
I: Retrieving Release
E: Failed getting release file http://127.0.0.1/debian/dists/sid/Release
14:15:13
#apt-get update
Hit http://www.debian-multimedia.org sid Release.gpg
Hit http://www.debian-multimedia.org sid/main Translation-en_US
Hit http://127.0.0.1 sid Release.gpg
Hit http://www.debian-multimedia.org sid Release
Hit http://www.debian-multimedia.org sid/main Packages/DiffIndex
Ign http://127.0.0.1 sid/main Translation-en_US
Get:1 http://127.0.0.1 lenny Release.gpg [1032B]
Ign http://127.0.0.1 lenny/main Translation-en_US
Hit http://127.0.0.1 sid Release
Get:2 http://127.0.0.1 lenny Release [73.6kB]
Ign http://127.0.0.1 sid/main Packages/DiffIndex
Ign http://127.0.0.1 lenny/main Packages
Ign http://127.0.0.1 sid/main Packages
Get:3 http://127.0.0.1 lenny/main Packages [6924kB]
Hit http://127.0.0.1 sid/main Packages
Fetched 6998kB in 5s (1239kB/s)
Reading package lists... Done
/dev/pts/8
14:15:13
#apt-get update
Hit http://www.debian-multimedia.org sid Release.gpg
Hit http://www.debian-multimedia.org sid/main Translation-en_US
Hit http://127.0.0.1 sid Release.gpg
Hit http://www.debian-multimedia.org sid Release
Hit http://www.debian-multimedia.org sid/main Packages/DiffIndex
Ign http://127.0.0.1 sid/main Translation-en_US
Get:1 http://127.0.0.1 lenny Release.gpg [1032B]
Ign http://127.0.0.1 lenny/main Translation-en_US
Hit http://127.0.0.1 sid Release
Get:2 http://127.0.0.1 lenny Release [73.6kB]
Ign http://127.0.0.1 sid/main Packages/DiffIndex
Ign http://127.0.0.1 lenny/main Packages
Ign http://127.0.0.1 sid/main Packages
Get:3 http://127.0.0.1 lenny/main Packages [6924kB]
Hit http://127.0.0.1 sid/main Packages
Fetched 6998kB in 5s (1239kB/s)
Reading package lists... Done
14:15:36
#debootstrap lenny /tmp/deb http://127.0.0.1:9999/debian/
I: Configuring lzma...
I: Configuring ncurses-base...
I: Configuring ncurses-bin...
I: Configuring base-files...
I: Configuring libdevmapper1.02.1...
I: Configuring e2fslibs...
I: Configuring dpkg...
I: Configuring sysvinit-utils...
I: Configuring bash...
I: Configuring lsb-base...
...
I: Configuring libcwidget3...
I: Configuring libgnutls26...
I: Configuring debian-archive-keyring...
I: Configuring apt...
I: Configuring libept0...
I: Configuring apt-utils...
I: Configuring aptitude...
I: Configuring tasksel-data...
I: Configuring tasksel...
I: Base system installed successfully.
/dev/pts/7
14:15:36
#debootstrap lenny /tmp/deb http://127.0.0.1:9999/debian/
I: Configuring lzma...
I: Configuring ncurses-base...
I: Configuring ncurses-bin...
I: Configuring base-files...
I: Configuring libdevmapper1.02.1...
I: Configuring e2fslibs...
I: Configuring dpkg...
I: Configuring sysvinit-utils...
I: Configuring bash...
I: Configuring lsb-base...
...
I: Configuring libcwidget3...
I: Configuring libgnutls26...
I: Configuring debian-archive-keyring...
I: Configuring apt...
I: Configuring libept0...
I: Configuring apt-utils...
I: Configuring aptitude...
I: Configuring tasksel-data...
I: Configuring tasksel...
I: Base system installed successfully.
/dev/pts/8
14:19:45
#chroot /tmp/deb
linux3:/# apt-get update
Get:1 http://127.0.0.1 lenny Release.gpg [1032B]
Hit http://127.0.0.1 lenny Release
Ign http://127.0.0.1 lenny/main Packages/DiffIndex
Hit http://127.0.0.1 lenny/main Packages
Fetched 1032B in 1s (849B/s)
Reading package lists... Done
linux3:/# cat /etc/apt/sources.list
deb http://127.0.0.1:9999/debian lenny main
linux3:/# exit
exit
/dev/pts/7
14:19:45
#chroot /tmp/deb
linux3:/# apt-get update
Get:1 http://127.0.0.1 lenny Release.gpg [1032B]
Hit http://127.0.0.1 lenny Release
Ign http://127.0.0.1 lenny/main Packages/DiffIndex
Hit http://127.0.0.1 lenny/main Packages
Fetched 1032B in 1s (849B/s)
Reading package lists... Done
linux3:/# cat /etc/apt/sources.list
deb http://127.0.0.1:9999/debian lenny main
linux3:/# exit
exit
/dev/pts/8
14:22:52
#ls -l /tmp/deb
total 72
drwxr-xr-x  2 root root 4096 2009-05-29 14:19 bin
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 boot
drwxr-xr-x  4 root root 4096 2009-05-29 14:19 dev
drwxr-xr-x 39 root root 4096 2009-05-29 14:19 etc
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 home
drwxr-xr-x 10 root root 4096 2009-05-29 14:19 lib
drwxr-xr-x  2 root root 4096 2009-05-29 14:18 media
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 mnt
drwxr-xr-x  2 root root 4096 2009-05-29 14:18 opt
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 proc
drwxr-xr-x  2 root root 4096 2009-05-29 14:22 root
drwxr-xr-x  2 root root 4096 2009-05-29 14:19 sbin
drwxr-xr-x  2 root root 4096 2008-09-16 10:38 selinux
drwxr-xr-x  2 root root 4096 2009-05-29 14:18 srv
drwxr-xr-x  2 root root 4096 2008-08-12 17:09 sys
drwxrwxrwt  2 root root 4096 2009-05-29 14:19 tmp
drwxr-xr-x 10 root root 4096 2009-05-29 14:18 usr
drwxr-xr-x 13 root root 4096 2009-05-29 14:18 var
/dev/pts/7
14:22:52
#ls -l /tmp/deb
total 72
drwxr-xr-x  2 root root 4096 2009-05-29 14:19 bin
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 boot
drwxr-xr-x  4 root root 4096 2009-05-29 14:19 dev
drwxr-xr-x 39 root root 4096 2009-05-29 14:19 etc
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 home
drwxr-xr-x 10 root root 4096 2009-05-29 14:19 lib
drwxr-xr-x  2 root root 4096 2009-05-29 14:18 media
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 mnt
drwxr-xr-x  2 root root 4096 2009-05-29 14:18 opt
drwxr-xr-x  2 root root 4096 2009-04-11 16:49 proc
drwxr-xr-x  2 root root 4096 2009-05-29 14:22 root
drwxr-xr-x  2 root root 4096 2009-05-29 14:19 sbin
drwxr-xr-x  2 root root 4096 2008-09-16 10:38 selinux
drwxr-xr-x  2 root root 4096 2009-05-29 14:18 srv
drwxr-xr-x  2 root root 4096 2008-08-12 17:09 sys
drwxrwxrwt  2 root root 4096 2009-05-29 14:19 tmp
drwxr-xr-x 10 root root 4096 2009-05-29 14:18 usr
drwxr-xr-x 13 root root 4096 2009-05-29 14:18 var
/dev/pts/8
14:29:55
#ls /proc
1     175    2396  2558  2620  2773  2787  2895  3099  3313  3560  6    858        bus        driver       ioports     loadavg  pagetypeinfo  sysrq-trigger  vmstat
1032  2      2399  2572  2621  2774  2788  2948  3103  3320  3605  61   860        cgroups    execdomains  irq         locks    partitions    sysvipc        zoneinfo
12    2089   2462  2592  2646  2775  2790  2949  3156  3446  4     63   8884       cmdline    fb           kallsyms    meminfo  sched_debug   timer_list
125   2099   2503  2604  2659  2777  2794  2995  3157  3447  456   65   9          cpuinfo    filesystems  kcore       misc     self          timer_stats
157   2110   2535  2616  2763  2778  2800  2999  3208  3488  457   66   957        crypto     fs           key-users   modules  slabinfo      tty
172   2376   2540  2617  2766  2780  2843  3     3217  3492  5     7    acpi       devices    ide          kmsg        mounts   stat          uptime
173   2386   2549  2618  2767  2781  2844  3052  3277  3506  542   8    asound     diskstats  interrupts   kpagecount  mtrr     swaps         version
174   23919  2551  2619  2769  2786  2891  3053  3312  3517  543   831  buddyinfo  dma        iomem        kpageflags  net      sys           vmallocinfo
/dev/pts/7
14:29:55
#ls /proc
1     175    2396  2558  2620  2773  2787  2895  3099  3313  3560  6    858        bus        driver       ioports     loadavg  pagetypeinfo  sysrq-trigger  vmstat
1032  2      2399  2572  2621  2774  2788  2948  3103  3320  3605  61   860        cgroups    execdomains  irq         locks    partitions    sysvipc        zoneinfo
12    2089   2462  2592  2646  2775  2790  2949  3156  3446  4     63   8884       cmdline    fb           kallsyms    meminfo  sched_debug   timer_list
125   2099   2503  2604  2659  2777  2794  2995  3157  3447  456   65   9          cpuinfo    filesystems  kcore       misc     self          timer_stats
157   2110   2535  2616  2763  2778  2800  2999  3208  3488  457   66   957        crypto     fs           key-users   modules  slabinfo      tty
172   2376   2540  2617  2766  2780  2843  3     3217  3492  5     7    acpi       devices    ide          kmsg        mounts   stat          uptime
173   2386   2549  2618  2767  2781  2844  3052  3277  3506  542   8    asound     diskstats  interrupts   kpagecount  mtrr     swaps         version
174   23919  2551  2619  2769  2786  2891  3053  3312  3517  543   831  buddyinfo  dma        iomem        kpageflags  net      sys           vmallocinfo
/dev/pts/8
14:31:01
#mount --bind /dev /tmp/deb/dev

/dev/pts/7
14:31:01
#mount --bind /dev /tmp/deb/dev

/dev/pts/8
14:31:22
#mount --bind /proc /tmp/deb/proc

/dev/pts/7
14:31:22
#mount --bind /proc /tmp/deb/proc

/dev/pts/8
14:31:34
#^proc^sys
mount --bind /sys /tmp/deb/proc
/dev/pts/7
14:31:34
#^proc^sys
mount --bind /sys /tmp/deb/proc
/dev/pts/8
14:31:52
#umount /tmp/deb/proc

/dev/pts/7
14:31:52
#umount /tmp/deb/proc

/dev/pts/8
14:32:44
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev on /tmp/deb/dev type none (rw,bind)
/proc on /tmp/deb/proc type none (rw,bind)
/proc on /tmp/deb/proc type none (rw,bind)
/dev/pts/7
14:32:44
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev on /tmp/deb/dev type none (rw,bind)
/proc on /tmp/deb/proc type none (rw,bind)
/proc on /tmp/deb/proc type none (rw,bind)
/dev/pts/8
14:33:01
#umount /tmp/deb/proc

/dev/pts/7
14:33:01
#umount /tmp/deb/proc

/dev/pts/8
14:33:16
#mount --bind /sys /tmp/deb/sys

/dev/pts/7
14:33:16
#mount --bind /sys /tmp/deb/sys

/dev/pts/8
14:33:26
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev on /tmp/deb/dev type none (rw,bind)
/proc on /tmp/deb/proc type none (rw,bind)
/sys on /tmp/deb/sys type none (rw,bind)
/dev/pts/7
14:33:26
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev on /tmp/deb/dev type none (rw,bind)
/proc on /tmp/deb/proc type none (rw,bind)
/sys on /tmp/deb/sys type none (rw,bind)
/dev/pts/8
14:33:29
#!chr
chroot /tmp/deb
linux3:/# ls /ptoc
ls: cannot access /ptoc: No such file or directory
linux3:/# ls /proc
1     2      24049  2592  2659  2778  2843  3052  3312  3560  61   8884       cpuinfo      fs          kmsg        mtrr          sys            vmstat
1032  2089   2462   2604  2763  2780  2844  3053  3313  3605  63   9          crypto       ide         kpagecount  net           sysrq-trigger  zoneinfo
12    2099   2503   2616  2766  2781  2891  3099  3320  4     65   957        devices      interrupts  kpageflags  pagetypeinfo  sysvipc
125   2110   2535   2617  2767  2786  2895  3103  3446  456   66   acpi       diskstats    iomem       loadavg     partitions    timer_list
157   2376   2540   2618  2769  2787  2948  3156  3447  457   7    asound     dma          ioports     locks       sched_debug   timer_stats
172   2386   2549   2619  2773  2788  2949  3157  3488  5     8    buddyinfo  driver       irq         meminfo     self          tty
173   2396   2551   2620  2774  2790  2995  3208  3492  542   831  bus        execdomains  kallsyms    misc        slabinfo      uptime
174   2399   2558   2621  2775  2794  2999  3217  3506  543   858  cgroups    fb           kcore       modules     stat          version
175   24047  2572   2646  2777  2800  3     3277  3517  6     860  cmdline    filesystems  key-users   mounts      swaps         vmallocinfo
linux3:/# echo $LANG
en_US.UTF-8
linux3:/# exit
exit
/dev/pts/7
14:33:29
#!chr
chroot /tmp/deb
linux3:/# ls /ptoc
ls: cannot access /ptoc: No such file or directory
linux3:/# ls /proc
1     2      24049  2592  2659  2778  2843  3052  3312  3560  61   8884       cpuinfo      fs          kmsg        mtrr          sys            vmstat
1032  2089   2462   2604  2763  2780  2844  3053  3313  3605  63   9          crypto       ide         kpagecount  net           sysrq-trigger  zoneinfo
12    2099   2503   2616  2766  2781  2891  3099  3320  4     65   957        devices      interrupts  kpageflags  pagetypeinfo  sysvipc
125   2110   2535   2617  2767  2786  2895  3103  3446  456   66   acpi       diskstats    iomem       loadavg     partitions    timer_list
157   2376   2540   2618  2769  2787  2948  3156  3447  457   7    asound     dma          ioports     locks       sched_debug   timer_stats
172   2386   2549   2619  2773  2788  2949  3157  3488  5     8    buddyinfo  driver       irq         meminfo     self          tty
173   2396   2551   2620  2774  2790  2995  3208  3492  542   831  bus        execdomains  kallsyms    misc        slabinfo      uptime
174   2399   2558   2621  2775  2794  2999  3217  3506  543   858  cgroups    fb           kcore       modules     stat          version
175   24047  2572   2646  2777  2800  3     3277  3517  6     860  cmdline    filesystems  key-users   mounts      swaps         vmallocinfo
linux3:/# echo $LANG
en_US.UTF-8
linux3:/# exit
exit
/dev/pts/8
14:34:43
#umount /tmp/deb/dev

/dev/pts/7
14:34:43
#umount /tmp/deb/dev

/dev/pts/8
14:35:48
#^dev^proc
umount /tmp/deb/proc
/dev/pts/7
14:35:48
#^dev^proc
umount /tmp/deb/proc
/dev/pts/8
14:35:59
#^dev^sys
bash: :s^dev^sys: substitution failed
/dev/pts/7
14:35:59
#^dev^sys
bash: :s^dev^sys: substitution failed
/dev/pts/8
14:36:15
#^proc^sys
umount /tmp/deb/sys
/dev/pts/7
14:36:15
#^proc^sys
umount /tmp/deb/sys
/dev/pts/8
14:36:25
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
/dev/pts/7
14:36:25
#mount
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
rootfs on / type rootfs (rw)
прошло 67 минут
/dev/pts/4
15:44:10
#passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
/dev/pts/3
15:44:10
#passwd root
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
прошло 25 минут
/dev/tty1
16:09:50
#dpkg-reconfigure console-cyrillic

прошло 97 минут
/dev/pts/1
17:46:57
#echo $LANG
en_US.UTF-8
/dev/pts/2
17:46:57
#echo $LANG
en_US.UTF-8
прошло 22 минуты
/dev/pts/1
18:09:19
#apt-get install pciutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
pciutils is already the newest version.
pciutils set to manually installed.
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
/dev/pts/4
18:09:19
#apt-get install pciutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
pciutils is already the newest version.
pciutils set to manually installed.
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
/dev/pts/1
18:09:37
#apt-get install usbutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
usbutils is already the newest version.
usbutils set to manually installed.
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
/dev/pts/4
18:09:37
#apt-get install usbutils
Reading package lists... Done
Building dependency tree
Reading state information... Done
usbutils is already the newest version.
usbutils set to manually installed.
The following packages were automatically installed and are no longer required:
  portmap
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 22 not upgraded.
/dev/pts/1
18:09:47
#lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
/dev/pts/4
18:09:47
#lspci
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
/dev/pts/1
18:10:13
#lspci
1              .bashrc        .lilalo/       screen.png     .ssh/          .vim/
.bash_history  .gqview/       .profile       .screenrc      .swp           .viminfo
.bash_profile  .l3rc          screen.dot     .sendxmpprc    t1.txt
/dev/pts/4
18:10:13
#lspci
1              .bashrc        .lilalo/       screen.png     .ssh/          .vim/
.bash_history  .gqview/       .profile       .screenrc      .swp           .viminfo
.bash_profile  .l3rc          screen.dot     .sendxmpprc    t1.txt
/dev/pts/1
18:10:13
#lspci --help
lspci: invalid option -- '-'
Usage: lspci [<switches>]
Basic display modes:
-mm             Produce machine-readable output (single -m for an obsolete format)
-t              Show bus tree
Display options:
-v              Be verbose (-vv for very verbose)
-k              Show kernel drivers handling each device
-x              Show hex-dump of the standard part of the config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
...
Other options:
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)
PCI access options:
-A <method>     Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
-G              Enable PCI access debugging
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read PCI configuration dump from a given file
/dev/pts/4
18:10:13
#lspci --help
lspci: invalid option -- '-'
Usage: lspci [<switches>]
Basic display modes:
-mm             Produce machine-readable output (single -m for an obsolete format)
-t              Show bus tree
Display options:
-v              Be verbose (-vv for very verbose)
-k              Show kernel drivers handling each device
-x              Show hex-dump of the standard part of the config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
...
Other options:
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)
PCI access options:
-A <method>     Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
-G              Enable PCI access debugging
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read PCI configuration dump from a given file
/dev/pts/1
18:10:34
#lspci -x
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00: 86 80 70 25 06 01 90 20 02 00 00 06 00 00 00 00
10: 08 00 00 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 70 25
30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00: 86 80 72 25 07 00 90 00 02 00 00 03 00 00 00 00
10: 08 00 00 f0 00 00 a8 ff 01 ec 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 43 4c
30: 00 00 00 00 d0 00 00 00 00 00 00 00 0b 01 00 00
...
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
00: 86 80 d5 24 06 00 90 02 02 00 01 04 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 f8 a7 ff 00 f4 a7 ff
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 02 e0
30: 00 00 00 00 50 00 00 00 00 00 00 00 03 02 00 00
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
00: 86 80 19 10 07 00 38 02 00 00 00 02 08 00 00 00
10: 00 00 8e ff 00 00 00 00 01 bc 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 3b 30
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0a 01 ff 00
/dev/pts/4
18:10:34
#lspci -x
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00: 86 80 70 25 06 01 90 20 02 00 00 06 00 00 00 00
10: 08 00 00 f8 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 70 25
30: 00 00 00 00 e4 00 00 00 00 00 00 00 00 00 00 00
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
00: 86 80 72 25 07 00 90 00 02 00 00 03 00 00 00 00
10: 08 00 00 f0 00 00 a8 ff 01 ec 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 43 4c
30: 00 00 00 00 d0 00 00 00 00 00 00 00 0b 01 00 00
...
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
00: 86 80 d5 24 06 00 90 02 02 00 01 04 00 00 00 00
10: 00 00 00 00 00 00 00 00 00 f8 a7 ff 00 f4 a7 ff
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 02 e0
30: 00 00 00 00 50 00 00 00 00 00 00 00 03 02 00 00
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
00: 86 80 19 10 07 00 38 02 00 00 00 02 08 00 00 00
10: 00 00 8e ff 00 00 00 00 01 bc 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 86 80 3b 30
30: 00 00 00 00 dc 00 00 00 00 00 00 00 0a 01 ff 00
/dev/pts/1
18:10:55
#lspci -k
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
        Subsystem: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
        Subsystem: Intel Corporation Desktop Board D865GLC
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
        Subsystem: Intel Corporation Desktop Board D865GLC
        Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
...
        Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
        Subsystem: Intel Corporation Desktop Board D865GLC
        Kernel driver in use: i801_smbus
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Intel Corporation SoundMax Intergrated Digital Audio
        Kernel driver in use: Intel ICH
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
        Subsystem: Intel Corporation Device 303b
        Kernel driver in use: e1000
/dev/pts/4
18:10:55
#lspci -k
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
        Subsystem: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface
        Kernel driver in use: agpgart-intel
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
        Subsystem: Intel Corporation Desktop Board D865GLC
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
        Subsystem: Intel Corporation Desktop Board D865GLC
        Kernel driver in use: uhci_hcd
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
...
        Kernel driver in use: ata_piix
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
        Subsystem: Intel Corporation Desktop Board D865GLC
        Kernel driver in use: i801_smbus
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
        Subsystem: Intel Corporation SoundMax Intergrated Digital Audio
        Kernel driver in use: Intel ICH
01:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
        Subsystem: Intel Corporation Device 303b
        Kernel driver in use: e1000
/dev/pts/1
18:10:58
#lspci -i
lspci: option requires an argument -- 'i'
Usage: lspci [<switches>]
Basic display modes:
-mm             Produce machine-readable output (single -m for an obsolete format)
-t              Show bus tree
Display options:
-v              Be verbose (-vv for very verbose)
-k              Show kernel drivers handling each device
-x              Show hex-dump of the standard part of the config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
...
Other options:
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)
PCI access options:
-A <method>     Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
-G              Enable PCI access debugging
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read PCI configuration dump from a given file
/dev/pts/4
18:10:58
#lspci -i
lspci: option requires an argument -- 'i'
Usage: lspci [<switches>]
Basic display modes:
-mm             Produce machine-readable output (single -m for an obsolete format)
-t              Show bus tree
Display options:
-v              Be verbose (-vv for very verbose)
-k              Show kernel drivers handling each device
-x              Show hex-dump of the standard part of the config space
-xxx            Show hex-dump of the whole config space (dangerous; root only)
...
Other options:
-i <file>       Use specified ID database instead of /usr/share/misc/pci.ids.gz
-p <file>       Look up kernel modules in a given file instead of default modules.pcimap
-M              Enable `bus mapping' mode (dangerous; root only)
PCI access options:
-A <method>     Use the specified PCI access method (see `-A help' for a list)
-O <par>=<val>  Set PCI access parameter (see `-O help' for a list)
-G              Enable PCI access debugging
-H <mode>       Use direct hardware access (<mode> = 1 or 2)
-F <file>       Read PCI configuration dump from a given file
/dev/pts/1
18:11:02
#lspci -n
00:00.0 0600: 8086:2570 (rev 02)
00:02.0 0300: 8086:2572 (rev 02)
00:03.0 0604: 8086:2573 (rev 02)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.1 0101: 8086:24db (rev 02)
00:1f.2 0101: 8086:24d1 (rev 02)
00:1f.3 0c05: 8086:24d3 (rev 02)
00:1f.5 0401: 8086:24d5 (rev 02)
01:01.0 0200: 8086:1019
/dev/pts/4
18:11:02
#lspci -n
00:00.0 0600: 8086:2570 (rev 02)
00:02.0 0300: 8086:2572 (rev 02)
00:03.0 0604: 8086:2573 (rev 02)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.1 0101: 8086:24db (rev 02)
00:1f.2 0101: 8086:24d1 (rev 02)
00:1f.3 0c05: 8086:24d3 (rev 02)
00:1f.5 0401: 8086:24d5 (rev 02)
01:01.0 0200: 8086:1019
/dev/pts/1
18:11:09
#grep 8086.*24db /lib/modules/2.6.29-2-686/modules.alias

/dev/pts/4
18:11:09
#grep 8086.*24db /lib/modules/2.6.29-2-686/modules.alias

/dev/pts/1
18:14:46
#lspci -n
00:00.0 0600: 8086:2570 (rev 02)
00:02.0 0300: 8086:2572 (rev 02)
00:03.0 0604: 8086:2573 (rev 02)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.1 0101: 8086:24db (rev 02)
00:1f.2 0101: 8086:24d1 (rev 02)
00:1f.3 0c05: 8086:24d3 (rev 02)
00:1f.5 0401: 8086:24d5 (rev 02)
01:01.0 0200: 8086:1019
/dev/pts/4
18:14:46
#lspci -n
00:00.0 0600: 8086:2570 (rev 02)
00:02.0 0300: 8086:2572 (rev 02)
00:03.0 0604: 8086:2573 (rev 02)
00:1d.0 0c03: 8086:24d2 (rev 02)
00:1d.1 0c03: 8086:24d4 (rev 02)
00:1d.2 0c03: 8086:24d7 (rev 02)
00:1d.3 0c03: 8086:24de (rev 02)
00:1d.7 0c03: 8086:24dd (rev 02)
00:1e.0 0604: 8086:244e (rev c2)
00:1f.0 0601: 8086:24d0 (rev 02)
00:1f.1 0101: 8086:24db (rev 02)
00:1f.2 0101: 8086:24d1 (rev 02)
00:1f.3 0c05: 8086:24d3 (rev 02)
00:1f.5 0401: 8086:24d5 (rev 02)
01:01.0 0200: 8086:1019
/dev/pts/1
18:17:24
#lsmod | grep e1000
e1000                 101696  0
/dev/pts/4
18:17:24
#lsmod | grep e1000
e1000                 101696  0
/dev/pts/1
18:17:51
#dmesg | grep e1000
[    1.871691] e1000 0000:01:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    1.871755] e1000 0000:01:01.0: setting latency timer to 64
[    2.036549] e1000: 0000:01:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:07:e9:3c:2c:ba
[    2.302322] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[   10.209659] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
/dev/pts/4
18:17:51
#dmesg | grep e1000
[    1.871691] e1000 0000:01:01.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[    1.871755] e1000 0000:01:01.0: setting latency timer to 64
[    2.036549] e1000: 0000:01:01.0: e1000_probe: (PCI:33MHz:32-bit) 00:07:e9:3c:2c:ba
[    2.302322] e1000: eth0: e1000_probe: Intel(R) PRO/1000 Network Connection
[   10.209659] e1000: eth0 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: RX
/dev/pts/1
18:18:08
#ls /tmp/
e1000e-0.5.18.3.tar.gz  keyring-lMkfHJ  orbit-user  ssh-yvyzgW2616
/dev/pts/4
18:18:08
#ls /tmp/
e1000e-0.5.18.3.tar.gz  keyring-lMkfHJ  orbit-user  ssh-yvyzgW2616
/dev/pts/1
18:21:01
#cd /tmp/

/dev/pts/4
18:21:01
#cd /tmp/

/dev/pts/1
18:21:09
#tar xvfz e1000e-0.5.18.3.tar.gz
e1000e-0.5.18.3/
e1000e-0.5.18.3/SUMS
e1000e-0.5.18.3/src/
e1000e-0.5.18.3/src/e1000_manage.h
e1000e-0.5.18.3/src/e1000_defines.h
e1000e-0.5.18.3/src/kcompat.h
e1000e-0.5.18.3/src/e1000_ich8lan.h
e1000e-0.5.18.3/src/Makefile
e1000e-0.5.18.3/src/e1000_80003es2lan.c
e1000e-0.5.18.3/src/e1000_phy.h
...
e1000e-0.5.18.3/src/e1000_manage.c
e1000e-0.5.18.3/src/e1000_ich8lan.c
e1000e-0.5.18.3/src/e1000.h
e1000e-0.5.18.3/src/ethtool.c
e1000e-0.5.18.3/src/kcompat_ethtool.c
e1000e-0.5.18.3/e1000e.spec
e1000e-0.5.18.3/COPYING
e1000e-0.5.18.3/README
e1000e-0.5.18.3/pci.updates
e1000e-0.5.18.3/e1000e.7
/dev/pts/4
18:21:09
#tar xvfz e1000e-0.5.18.3.tar.gz
e1000e-0.5.18.3/
e1000e-0.5.18.3/SUMS
e1000e-0.5.18.3/src/
e1000e-0.5.18.3/src/e1000_manage.h
e1000e-0.5.18.3/src/e1000_defines.h
e1000e-0.5.18.3/src/kcompat.h
e1000e-0.5.18.3/src/e1000_ich8lan.h
e1000e-0.5.18.3/src/Makefile
e1000e-0.5.18.3/src/e1000_80003es2lan.c
e1000e-0.5.18.3/src/e1000_phy.h
...
e1000e-0.5.18.3/src/e1000_manage.c
e1000e-0.5.18.3/src/e1000_ich8lan.c
e1000e-0.5.18.3/src/e1000.h
e1000e-0.5.18.3/src/ethtool.c
e1000e-0.5.18.3/src/kcompat_ethtool.c
e1000e-0.5.18.3/e1000e.spec
e1000e-0.5.18.3/COPYING
e1000e-0.5.18.3/README
e1000e-0.5.18.3/pci.updates
e1000e-0.5.18.3/e1000e.7
/dev/pts/1
18:21:28
#ls -l
total 224
drwxr-xr-x 3 root root   4096 2009-03-05 20:43 e1000e-0.5.18.3
-rw-r--r-- 1 root root 206603 2009-05-29 18:20 e1000e-0.5.18.3.tar.gz
drwx------ 2 user user   4096 2009-05-29 17:49 keyring-lMkfHJ
drwx------ 2 user user   4096 2009-05-29 17:55 orbit-user
drwx------ 2 user user   4096 2009-05-29 17:49 ssh-yvyzgW2616
/dev/pts/4
18:21:28
#ls -l
total 224
drwxr-xr-x 3 root root   4096 2009-03-05 20:43 e1000e-0.5.18.3
-rw-r--r-- 1 root root 206603 2009-05-29 18:20 e1000e-0.5.18.3.tar.gz
drwx------ 2 user user   4096 2009-05-29 17:49 keyring-lMkfHJ
drwx------ 2 user user   4096 2009-05-29 17:55 orbit-user
drwx------ 2 user user   4096 2009-05-29 17:49 ssh-yvyzgW2616
/dev/pts/1
18:21:31
#cd e1000e-0.5.18.3/

/dev/pts/4
18:21:31
#cd e1000e-0.5.18.3/

/dev/pts/1
18:21:39
#ls -l
total 80
-rw-r--r-- 1 root root 18671 2009-03-05 20:43 COPYING
-rwxr-Sr-t 1 root root  8145 2009-03-05 20:43 e1000e.7
-rw-r--r-- 1 root root 11534 2009-03-05 20:43 e1000e.spec
-rw-r--r-- 1 root root  3482 2009-03-05 20:43 pci.updates
-rwxr-Sr-t 1 root root 28003 2009-03-05 20:43 README
drwxr-xr-x 2 root root  4096 2009-03-05 20:43 src
-rw-r--r-- 1 root root   826 2009-03-05 20:43 SUMS
/dev/pts/4
18:21:39
#ls -l
total 80
-rw-r--r-- 1 root root 18671 2009-03-05 20:43 COPYING
-rwxr-Sr-t 1 root root  8145 2009-03-05 20:43 e1000e.7
-rw-r--r-- 1 root root 11534 2009-03-05 20:43 e1000e.spec
-rw-r--r-- 1 root root  3482 2009-03-05 20:43 pci.updates
-rwxr-Sr-t 1 root root 28003 2009-03-05 20:43 README
drwxr-xr-x 2 root root  4096 2009-03-05 20:43 src
-rw-r--r-- 1 root root   826 2009-03-05 20:43 SUMS
/dev/pts/1
18:21:41
#cat README
  executing command: ethtool -E eth0 magic 0x109a8086 offset 0x1e value 0xdf
  Change made. You *MUST* reboot your machine before changes take effect!
  The script can be downloaded at
  http://e1000.sourceforge.net/files/fixeep-82573-dspd.sh
  Dropped Receive Packets on Half-duplex 10/100 Networks
  ------------------------------------------------------
  If you have an Intel PCI Express adapter running at 10mbps or 100mbps, half-
  duplex, you may observe occasional dropped receive packets.  There are no
  workarounds for this problem in this network configuration.  The network must
  be updated to operate in full-duplex, and/or 1000mbps only.
...
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
The full GNU General Public License is included in this distribution in
the file called "COPYING".
Trademarks
==========
Intel, Itanium, and Pentium are trademarks or registered trademarks of
Intel Corporation or its subsidiaries in the United States and other
countries.
* Other names and brands may be claimed as the property of others.
/dev/pts/4
18:21:41
#cat README
  executing command: ethtool -E eth0 magic 0x109a8086 offset 0x1e value 0xdf
  Change made. You *MUST* reboot your machine before changes take effect!
  The script can be downloaded at
  http://e1000.sourceforge.net/files/fixeep-82573-dspd.sh
  Dropped Receive Packets on Half-duplex 10/100 Networks
  ------------------------------------------------------
  If you have an Intel PCI Express adapter running at 10mbps or 100mbps, half-
  duplex, you may observe occasional dropped receive packets.  There are no
  workarounds for this problem in this network configuration.  The network must
  be updated to operate in full-duplex, and/or 1000mbps only.
...
this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
The full GNU General Public License is included in this distribution in
the file called "COPYING".
Trademarks
==========
Intel, Itanium, and Pentium are trademarks or registered trademarks of
Intel Corporation or its subsidiaries in the United States and other
countries.
* Other names and brands may be claimed as the property of others.
/dev/pts/1
18:21:46
#less README
/dev/pts/4
18:21:46
#less README
/dev/pts/1
18:22:43
#cd src/

/dev/pts/4
18:22:43
#cd src/

/dev/pts/1
18:22:48
#make
Makefile:70: *** Linux kernel source not found in any of these locations:
Makefile:71:
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again.  Stop.
/dev/pts/4
18:22:48
#make
Makefile:70: *** Linux kernel source not found in any of these locations:
Makefile:71:
Makefile:72: *** Install the appropriate kernel development package, e.g.
Makefile:73: *** kernel-devel, for building kernel modules and try again.  Stop.
/dev/pts/1
18:22:57
#uname -a
Linux linux4 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 GNU/Linux
/dev/pts/4
18:22:57
#uname -a
Linux linux4 2.6.29-2-686 #1 SMP Sun May 17 17:56:29 UTC 2009 i686 GNU/Linux
/dev/pts/1
18:23:25
#apt-cache search 2.6.29.
aufs-modules-2.6.29-2-486 - Stackable unification filesystem for Linux 2.6.29 on x86
aufs-modules-2.6.29-2-686 - Stackable unification filesystem for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
aufs-modules-2.6.29-2-686-bigmem - Stackable unification filesystem for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
aufs-modules-2.6.29-2-amd64 - Stackable unification filesystem for Linux 2.6.29 on AMD64
batman-adv-modules-2.6.29-2-486 - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on x86
batman-adv-modules-2.6.29-2-686 - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
batman-adv-modules-2.6.29-2-686-bigmem - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
batman-adv-modules-2.6.29-2-amd64 - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on AMD64
batmand-gateway-modules-2.6.29-2-486 - B.A.T.M.A.N. kernelland gateway for Linux 2.6.29 on x86
batmand-gateway-modules-2.6.29-2-686 - B.A.T.M.A.N. kernelland gateway for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
...
tp-smapi-modules-2.6.29-2-686 - ThinkPad hardware/firmware access for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
tp-smapi-modules-2.6.29-2-686-bigmem - ThinkPad hardware/firmware access for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
tp-smapi-modules-2.6.29-2-amd64 - ThinkPad hardware/firmware access for Linux 2.6.29 on AMD64
virtualbox-ose-guest-modules-2.6.29-2-486 - PC virtualization solution for Linux 2.6.29 on x86
virtualbox-ose-guest-modules-2.6.29-2-686 - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-guest-modules-2.6.29-2-686-bigmem - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.29-2-486 - PC virtualization solution for Linux 2.6.29 on x86
virtualbox-ose-modules-2.6.29-2-686 - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.29-2-686-bigmem - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.29-2-amd64 - PC virtualization solution for Linux 2.6.29 on AMD64
/dev/pts/4
18:23:25
#apt-cache search 2.6.29.
aufs-modules-2.6.29-2-486 - Stackable unification filesystem for Linux 2.6.29 on x86
aufs-modules-2.6.29-2-686 - Stackable unification filesystem for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
aufs-modules-2.6.29-2-686-bigmem - Stackable unification filesystem for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
aufs-modules-2.6.29-2-amd64 - Stackable unification filesystem for Linux 2.6.29 on AMD64
batman-adv-modules-2.6.29-2-486 - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on x86
batman-adv-modules-2.6.29-2-686 - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
batman-adv-modules-2.6.29-2-686-bigmem - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
batman-adv-modules-2.6.29-2-amd64 - B.A.T.M.A.N. on Layer 2 for Linux 2.6.29 on AMD64
batmand-gateway-modules-2.6.29-2-486 - B.A.T.M.A.N. kernelland gateway for Linux 2.6.29 on x86
batmand-gateway-modules-2.6.29-2-686 - B.A.T.M.A.N. kernelland gateway for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
...
tp-smapi-modules-2.6.29-2-686 - ThinkPad hardware/firmware access for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
tp-smapi-modules-2.6.29-2-686-bigmem - ThinkPad hardware/firmware access for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
tp-smapi-modules-2.6.29-2-amd64 - ThinkPad hardware/firmware access for Linux 2.6.29 on AMD64
virtualbox-ose-guest-modules-2.6.29-2-486 - PC virtualization solution for Linux 2.6.29 on x86
virtualbox-ose-guest-modules-2.6.29-2-686 - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-guest-modules-2.6.29-2-686-bigmem - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.29-2-486 - PC virtualization solution for Linux 2.6.29 on x86
virtualbox-ose-modules-2.6.29-2-686 - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.29-2-686-bigmem - PC virtualization solution for Linux 2.6.29 on PPro/Celeron/PII/PIII/P4
virtualbox-ose-modules-2.6.29-2-amd64 - PC virtualization solution for Linux 2.6.29 on AMD64
/dev/pts/1
18:23:40
#apt-cache search 2.6.29 | grep eade
linux-headers-2.6.29-2-486 - Header files for Linux 2.6.29-2-486
linux-headers-2.6.29-2-686 - Header files for Linux 2.6.29-2-686
linux-headers-2.6.29-2-686-bigmem - Header files for Linux 2.6.29-2-686-bigmem
linux-headers-2.6.29-2-all - All header files for Linux 2.6.29
linux-headers-2.6.29-2-all-i386 - All header files for Linux 2.6.29
linux-headers-2.6.29-2-amd64 - Header files for Linux 2.6.29-2-amd64
linux-headers-2.6.29-2-common - Common header files for Linux 2.6.29-2
/dev/pts/4
18:23:40
#apt-cache search 2.6.29 | grep eade
linux-headers-2.6.29-2-486 - Header files for Linux 2.6.29-2-486
linux-headers-2.6.29-2-686 - Header files for Linux 2.6.29-2-686
linux-headers-2.6.29-2-686-bigmem - Header files for Linux 2.6.29-2-686-bigmem
linux-headers-2.6.29-2-all - All header files for Linux 2.6.29
linux-headers-2.6.29-2-all-i386 - All header files for Linux 2.6.29
linux-headers-2.6.29-2-amd64 - Header files for Linux 2.6.29-2-amd64
linux-headers-2.6.29-2-common - Common header files for Linux 2.6.29-2

Файлы

  • README
  • README
    >
      executing command: ethtool -E eth0 magic 0x109a8086 offset 0x1e value 0xdf
      Change made. You *MUST* reboot your machine before changes take effect!
      The script can be downloaded at
      http://e1000.sourceforge.net/files/fixeep-82573-dspd.sh
      Dropped Receive Packets on Half-duplex 10/100 Networks
      ------------------------------------------------------
      If you have an Intel PCI Express adapter running at 10mbps or 100mbps, half-
      duplex, you may observe occasional dropped receive packets.  There are no
      workarounds for this problem in this network configuration.  The network must
      be updated to operate in full-duplex, and/or 1000mbps only.
      Driver Compilation
      ------------------
      When trying to compile the driver by running make install, the following
      error may occur:
        "Linux kernel source not configured - missing version.h"
      To solve this issue, create the version.h file by going to the Linux source
      tree and entering:
        # make include/linux/version.h.
      Performance Degradation with Jumbo Frames
      -----------------------------------------
      Degradation in throughput performance may be observed in some Jumbo frames
      environments.  If this is observed, increasing the application's socket
      buffer size and/or increasing the /proc/sys/net/ipv4/tcp_*mem entry values
      may help.  See the specific application manual and
      /usr/src/linux*/Documentation/networking/ip-sysctl.txt for more details.
      Jumbo Frames on Foundry BigIron 8000 switch
      -------------------------------------------
      There is a known issue using Jumbo frames when connected to a Foundry
      BigIron 8000 switch.  This is a 3rd party limitation.  If you experience
      loss of packets, lower the MTU size.
      Allocating Rx Buffers when Using Jumbo Frames
      ---------------------------------------------
      Allocating Rx buffers when using Jumbo Frames on 2.6.x kernels may fail if
      the available memory is heavily fragmented. This issue may be seen with PCI-X
      adapters or with packet split disabled. This can be reduced or eliminated
      by changing the amount of available memory for receive buffer allocation, by
      increasing /proc/sys/vm/min_free_kbytes.
      Multiple Interfaces on Same Ethernet Broadcast Network
      ------------------------------------------------------
      Due to the default ARP behavior on Linux, it is not possible to have
      one system on two IP networks in the same Ethernet broadcast domain
      (non-partitioned switch) behave as expected.  All Ethernet interfaces
      will respond to IP traffic for any IP address assigned to the system.
      This results in unbalanced receive traffic.
      If you have multiple interfaces in a server, either turn on ARP
      filtering by entering:
        echo 1 > /proc/sys/net/ipv4/conf/all/arp_filter
      (this only works if your kernel's version is higher than 2.4.5),
      NOTE: This setting is not saved across reboots.  The configuration
      change can be made permanent by adding the line:
        net.ipv4.conf.all.arp_filter = 1
      to the file /etc/sysctl.conf
          or,
      install the interfaces in separate broadcast domains (either in
      different switches or in a switch partitioned to VLANs).
      Disable rx flow control with ethtool
      ------------------------------------
      In order to disable receive flow control using ethtool, you must turn
      off auto-negotiation on the same command line.
      For example:
       ethtool -A eth? autoneg off rx off
      Unplugging network cable while ethtool -p is running
      ----------------------------------------------------
      In kernel versions 2.5.50 and later (including 2.6 kernel), unplugging
      the network cable while ethtool -p is running will cause the system to
      become unresponsive to keyboard commands, except for control-alt-delete.
      Restarting the system appears to be the only remedy.
      MSI-X Issues with Kernels between 2.6.19 - 2.6.21 (inclusive)
      -------------------------------------------------------------
      Kernel panics and instability may be observed on any MSI-X hardware if you
      use irqbalance with kernels between 2.6.19 and 2.6.21. If such problems are
      encountered, you may disable the irqbalance daemon or upgrade to a newer
      kernel.
      Rx Page Allocation Errors
      -------------------------
      Page allocation failure. order:0 errors may occur under stress with kernels
      2.6.25 and above. This is cause by the way the Linux kernel reports this
      stressed condition.
    Support
    =======
    For general information, go to the Intel support website at:
        http://support.intel.com
    or the Intel Wired Networking project hosted by Sourceforge at:
        http://sourceforge.net/projects/e1000
    If an issue is identified with the released source code on the supported
    kernel with a supported adapter, email the specific information related
    to the issue to e1000-devel@lists.sf.net
    License
    =======
    Intel Gigabit Linux driver.
    Copyright(c) 1999 - 2008 Intel Corporation.
    This program is free software; you can redistribute it and/or modify it
    under the terms and conditions of the GNU General Public License,
    version 2, as published by the Free Software Foundation.
    This program is distributed in the hope it will be useful, but WITHOUT
    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
    more details.
    You should have received a copy of the GNU General Public License along with
    this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
    The full GNU General Public License is included in this distribution in
    the file called "COPYING".
    Trademarks
    ==========
    Intel, Itanium, and Pentium are trademarks or registered trademarks of
    Intel Corporation or its subsidiaries in the United States and other
    countries.
    * Other names and brands may be claimed as the property of others.
    

    Статистика

    Время первой команды журнала14:11:39 2009- 5-29
    Время последней команды журнала18:23:40 2009- 5-29
    Количество командных строк в журнале101
    Процент команд с ненулевым кодом завершения, %11.88
    Процент синтаксически неверно набранных команд, % 0.00
    Суммарное время работы с терминалом *, час 1.45
    Количество командных строк в единицу времени, команда/мин 1.16
    Частота использования команд
    lspci16|==============| 14.95%
    mount12|===========| 11.21%
    ls10|=========| 9.35%
    grep8|=======| 7.48%
    debootstrap8|=======| 7.48%
    umount6|=====| 5.61%
    cd6|=====| 5.61%
    apt-get6|=====| 5.61%
    ^proc^sys4|===| 3.74%
    apt-cache4|===| 3.74%
    ^dev^sys2|=| 1.87%
    passwd2|=| 1.87%
    ^dev^proc2|=| 1.87%
    chroot2|=| 1.87%
    make2|=| 1.87%
    !chr2|=| 1.87%
    dmesg2|=| 1.87%
    echo2|=| 1.87%
    less2|=| 1.87%
    cat2|=| 1.87%
    lsmod2|=| 1.87%
    uname2|=| 1.87%
    tar2|=| 1.87%
    dpkg-reconfigure1|| 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$