/l3/users/eb/2009/linux13/root :1 :2 :3 :4 :5 :6 :7 :8 :9 :10 :11 :12 :13 :14 :15 :16 :17 :18 :19 :20 :21 :22 :23 :24 :25 :26 :27 :28 :29 :30 :31 :32 :33 :34 :35 :36 :37 :38 :39 :40 :41 :42 :43 :44 :45 :46 :47 :48 :49 :50 :51 :52 :53 :54 :55 :56 :57 :58 :59 :60 :61 :62 :63 :64 :65 :66 :67 :68 :69 :70 :71 :72 :73 :74 :75 :76 |
|
#lspci
00:00.0 Host bridge: Intel Corporation 82P965/G965 Memory Controller Hub (rev 02) 00:02.0 VGA compatible controller: Intel Corporation 82G965 Integrated Graphics Controller (rev 02) 00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #4 (rev 02) 00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 02) 00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 02) 00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 02) 00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 02) 00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 02) 00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 02) 00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 02) 00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 02) 00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 02) 00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev f2) 00:1f.0 ISA bridge: Intel Corporation 82801HB/HR (ICH8/R) LPC Interface Controller (rev 02) 00:1f.2 IDE interface: Intel Corporation 82801H (ICH8 Family) 4 port SATA IDE Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 02) 00:1f.5 IDE interface: Intel Corporation 82801H (ICH8 Family) 2 port SATA IDE Controller (rev 02) 01:00.0 IDE interface: JMicron Technologies, Inc. JMB368 IDE controller 02:00.0 Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter (rev b0) |
#lspci -n
00:00.0 0600: 8086:29a0 (rev 02) 00:02.0 0300: 8086:29a2 (rev 02) 00:1a.0 0c03: 8086:2834 (rev 02) 00:1a.1 0c03: 8086:2835 (rev 02) 00:1a.7 0c03: 8086:283a (rev 02) 00:1b.0 0403: 8086:284b (rev 02) 00:1c.0 0604: 8086:283f (rev 02) 00:1c.1 0604: 8086:2841 (rev 02) 00:1d.0 0c03: 8086:2830 (rev 02) 00:1d.1 0c03: 8086:2831 (rev 02) 00:1d.2 0c03: 8086:2832 (rev 02) 00:1d.7 0c03: 8086:2836 (rev 02) 00:1e.0 0604: 8086:244e (rev f2) 00:1f.0 0601: 8086:2810 (rev 02) 00:1f.2 0101: 8086:2820 (rev 02) 00:1f.3 0c05: 8086:283e (rev 02) 00:1f.5 0101: 8086:2825 (rev 02) 01:00.0 0101: 197b:2368 02:00.0 0200: 1969:1048 (rev b0) |
#lspci -n
00:00.0 0600: 8086:29a0 (rev 02) 00:02.0 0300: 8086:29a2 (rev 02) 00:1a.0 0c03: 8086:2834 (rev 02) 00:1a.1 0c03: 8086:2835 (rev 02) 00:1a.7 0c03: 8086:283a (rev 02) 00:1b.0 0403: 8086:284b (rev 02) 00:1c.0 0604: 8086:283f (rev 02) 00:1c.1 0604: 8086:2841 (rev 02) 00:1d.0 0c03: 8086:2830 (rev 02) 00:1d.1 0c03: 8086:2831 (rev 02) 00:1d.2 0c03: 8086:2832 (rev 02) 00:1d.7 0c03: 8086:2836 (rev 02) 00:1e.0 0604: 8086:244e (rev f2) 00:1f.0 0601: 8086:2810 (rev 02) 00:1f.2 0101: 8086:2820 (rev 02) 00:1f.3 0c05: 8086:283e (rev 02) 00:1f.5 0101: 8086:2825 (rev 02) 01:00.0 0101: 197b:2368 02:00.0 0200: 1969:1048 (rev b0) |
#ls -l /lib/modules/2.6.29-2-686/
kernel/ modules.alias.bin modules.dep.bin modules.symbols.bin modules.alias modules.dep modules.symbols |
#ls -l /lib/modules/2.6.29-2-686/
kernel/ modules.alias.bin modules.dep.bin modules.symbols.bin modules.alias modules.dep modules.symbols |
#ls -l /lib/modules/2.6.29-2-686/
kernel/ modules.alias.bin modules.dep.bin modules.symbols.bin modules.alias modules.dep modules.symbols |
#ls -l /lib/modules/2.6.29-2-686/
kernel/ modules.alias.bin modules.dep.bin modules.symbols.bin modules.alias modules.dep modules.symbols |
#grep 1969 /lib/modules/2.6.29-2-686/modules.alias
alias pci:v0000125Dd00001969sv*sd*bc*sc*i* snd_es1938 alias usb:v17CCp1969d*dc*dsc*dp*ic*isc*ip* snd_usb_caiaq alias pci:v00001969d00002048sv*sd*bc*sc*i* atl2 alias pci:v00001969d00001048sv*sd*bc*sc*i* atl1 alias pci:v00001969d00001062sv*sd*bc*sc*i* atl1c alias pci:v00001969d00001063sv*sd*bc*sc*i* atl1c alias pci:v00001969d00001026sv*sd*bc*sc*i* atl1e |
#grep 1969 /lib/modules/2.6.29-2-686/modules.alias
alias pci:v0000125Dd00001969sv*sd*bc*sc*i* snd_es1938 alias usb:v17CCp1969d*dc*dsc*dp*ic*isc*ip* snd_usb_caiaq alias pci:v00001969d00002048sv*sd*bc*sc*i* atl2 alias pci:v00001969d00001048sv*sd*bc*sc*i* atl1 alias pci:v00001969d00001062sv*sd*bc*sc*i* atl1c alias pci:v00001969d00001063sv*sd*bc*sc*i* atl1c alias pci:v00001969d00001026sv*sd*bc*sc*i* atl1e |
#cd /tmp
|
#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 |
#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 |
#ls
e1000e-0.5.18.3 e1000e-0.5.18.3.tar.gz keyring-eNqKEn orbit-user ssh-DvbAzU3520 |
#ls
e1000e-0.5.18.3 e1000e-0.5.18.3.tar.gz keyring-eNqKEn orbit-user ssh-DvbAzU3520 |
#ls
COPYING e1000e.7 e1000e.spec pci.updates README src SUMS |
#tree e1000e.
e1000e. [error opening dir] 0 directories, 0 files |
#tree e1000e-0.5.18.3
e1000e-0.5.18.3 |-- COPYING |-- README |-- SUMS |-- e1000e.7 |-- e1000e.spec |-- pci.updates `-- src |-- Makefile |-- e1000.h ... |-- e1000_phy.h |-- e1000_regs.h |-- ethtool.c |-- hw.h |-- kcompat.c |-- kcompat.h |-- kcompat_ethtool.c |-- netdev.c `-- param.c 1 directory, 31 files |
#tree e1000e-0.5.18.3
e1000e-0.5.18.3 |-- COPYING |-- README |-- SUMS |-- e1000e.7 |-- e1000e.spec |-- pci.updates `-- src |-- Makefile |-- e1000.h ... |-- e1000_phy.h |-- e1000_regs.h |-- ethtool.c |-- hw.h |-- kcompat.c |-- kcompat.h |-- kcompat_ethtool.c |-- netdev.c `-- param.c 1 directory, 31 files |
#cd e1000e-0.5.18.3/
|
#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. |
#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. |
#cd src
|
#ls
e1000_80003es2lan.c e1000_defines.h e1000_mac.c e1000_nvm.c e1000_regs.h kcompat_ethtool.c param.c e1000_80003es2lan.h e1000.h e1000_mac.h e1000_nvm.h ethtool.c kcompat.h e1000_82571.c e1000_ich8lan.c e1000_manage.c e1000_phy.c hw.h Makefile e1000_82571.h e1000_ich8lan.h e1000_manage.h e1000_phy.h kcompat.c netdev.c |
#ls
e1000_80003es2lan.c e1000_defines.h e1000_mac.c e1000_nvm.c e1000_regs.h kcompat_ethtool.c param.c e1000_80003es2lan.h e1000.h e1000_mac.h e1000_nvm.h ethtool.c kcompat.h e1000_82571.c e1000_ich8lan.c e1000_manage.c e1000_phy.c hw.h Makefile e1000_82571.h e1000_ich8lan.h e1000_manage.h e1000_phy.h kcompat.c netdev.c |
#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. |
#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. |
#apt-get up
update upgrade |
#apt-get update
Hit http://192.168.15.13 sid Release.gpg Ign http://192.168.15.13 sid/main Translation-en_US Ign http://192.168.15.13 sid/contrib Translation-en_US Ign http://192.168.15.13 sid/non-free Translation-en_US Hit http://192.168.15.13 sid Release Ign http://192.168.15.13 sid/main Packages/DiffIndex Ign http://192.168.15.13 sid/contrib Packages/DiffIndex Ign http://192.168.15.13 sid/non-free Packages/DiffIndex Ign http://192.168.15.13 sid/main Packages Ign http://192.168.15.13 sid/contrib Packages Ign http://192.168.15.13 sid/non-free Packages Hit http://192.168.15.13 sid/main Packages Hit http://192.168.15.13 sid/contrib Packages Hit http://192.168.15.13 sid/non-free Packages Reading package lists... Done |
#apt-get update
Hit http://192.168.15.13 sid Release.gpg Ign http://192.168.15.13 sid/main Translation-en_US Ign http://192.168.15.13 sid/contrib Translation-en_US Ign http://192.168.15.13 sid/non-free Translation-en_US Hit http://192.168.15.13 sid Release Ign http://192.168.15.13 sid/main Packages/DiffIndex Ign http://192.168.15.13 sid/contrib Packages/DiffIndex Ign http://192.168.15.13 sid/non-free Packages/DiffIndex Ign http://192.168.15.13 sid/main Packages Ign http://192.168.15.13 sid/contrib Packages Ign http://192.168.15.13 sid/non-free Packages Hit http://192.168.15.13 sid/main Packages Hit http://192.168.15.13 sid/contrib Packages Hit http://192.168.15.13 sid/non-free Packages Reading package lists... Done |
#apt-get install linux-headers-2.6.29-2-686
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: portmap Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gcc-4.3 libc6 libc6-dev libc6-i686 linux-headers-2.6.29-2-common linux-kbuild-2.6.29 linux-libc-dev Suggested packages: gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc gcc-4.3-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg ... Selecting previously deselected package linux-headers-2.6.29-2-686. Unpacking linux-headers-2.6.29-2-686 (from .../linux-headers-2.6.29-2-686_2.6.29-5_i386.deb) ... Processing triggers for man-db ... Setting up libc6-i686 (2.9-13) ... Setting up gcc-4.3 (4.3.3-10) ... Setting up linux-libc-dev (2.6.29-5) ... Setting up libc6-dev (2.9-13) ... Setting up linux-headers-2.6.29-2-common (2.6.29-5) ... Setting up linux-kbuild-2.6.29 (2.6.29-1) ... Setting up linux-headers-2.6.29-2-686 (2.6.29-5) ... |
#apt-get install linux-headers-2.6.29-2-686
Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: portmap Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gcc-4.3 libc6 libc6-dev libc6-i686 linux-headers-2.6.29-2-common linux-kbuild-2.6.29 linux-libc-dev Suggested packages: gcc-4.3-multilib libmudflap0-4.3-dev gcc-4.3-doc gcc-4.3-locales libgcc1-dbg libgomp1-dbg libmudflap0-dbg ... Selecting previously deselected package linux-headers-2.6.29-2-686. Unpacking linux-headers-2.6.29-2-686 (from .../linux-headers-2.6.29-2-686_2.6.29-5_i386.deb) ... Processing triggers for man-db ... Setting up libc6-i686 (2.9-13) ... Setting up gcc-4.3 (4.3.3-10) ... Setting up linux-libc-dev (2.6.29-5) ... Setting up libc6-dev (2.9-13) ... Setting up linux-headers-2.6.29-2-common (2.6.29-5) ... Setting up linux-kbuild-2.6.29 (2.6.29-1) ... Setting up linux-headers-2.6.29-2-686 (2.6.29-5) ... |
#make
make -C /lib/modules/2.6.29-2-686/build SUBDIRS=/tmp/e1000e-0.5.18.3/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.29-2-686' CC [M] /tmp/e1000e-0.5.18.3/src/netdev.o CC [M] /tmp/e1000e-0.5.18.3/src/ethtool.o CC [M] /tmp/e1000e-0.5.18.3/src/param.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_82571.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_ich8lan.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_80003es2lan.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_mac.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_nvm.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_phy.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_manage.o CC [M] /tmp/e1000e-0.5.18.3/src/kcompat.o LD [M] /tmp/e1000e-0.5.18.3/src/e1000e.o Building modules, stage 2. MODPOST 1 modules CC /tmp/e1000e-0.5.18.3/src/e1000e.mod.o LD [M] /tmp/e1000e-0.5.18.3/src/e1000e.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-2-686' |
#make
make -C /lib/modules/2.6.29-2-686/build SUBDIRS=/tmp/e1000e-0.5.18.3/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.29-2-686' CC [M] /tmp/e1000e-0.5.18.3/src/netdev.o CC [M] /tmp/e1000e-0.5.18.3/src/ethtool.o CC [M] /tmp/e1000e-0.5.18.3/src/param.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_82571.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_ich8lan.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_80003es2lan.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_mac.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_nvm.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_phy.o CC [M] /tmp/e1000e-0.5.18.3/src/e1000_manage.o CC [M] /tmp/e1000e-0.5.18.3/src/kcompat.o LD [M] /tmp/e1000e-0.5.18.3/src/e1000e.o Building modules, stage 2. MODPOST 1 modules CC /tmp/e1000e-0.5.18.3/src/e1000e.mod.o LD [M] /tmp/e1000e-0.5.18.3/src/e1000e.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-2-686' |
#make install
make -C /lib/modules/2.6.29-2-686/build SUBDIRS=/tmp/e1000e-0.5.18.3/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.29-2-686' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-2-686' gzip -c ../e1000e.7 > e1000e.7.gz # remove all old versions of the driver find /lib/modules/2.6.29-2-686 -name e1000e.ko -exec rm -f {} \; || true find /lib/modules/2.6.29-2-686 -name e1000e.ko.gz -exec rm -f {} \; || true install -D -m 644 e1000e.ko /lib/modules/2.6.29-2-686/kernel/drivers/net/e1000e/e1000e.ko /sbin/depmod -a || true install -D -m 644 e1000e.7.gz /usr/share/man/man7/e1000e.7.gz man -c -P'cat > /dev/null' e1000e || true man: cannot write to /var/cache/man/cat7/e1000e.7.gz in catman mode e1000e. |
#make install
make -C /lib/modules/2.6.29-2-686/build SUBDIRS=/tmp/e1000e-0.5.18.3/src modules make[1]: Entering directory `/usr/src/linux-headers-2.6.29-2-686' Building modules, stage 2. MODPOST 1 modules make[1]: Leaving directory `/usr/src/linux-headers-2.6.29-2-686' gzip -c ../e1000e.7 > e1000e.7.gz # remove all old versions of the driver find /lib/modules/2.6.29-2-686 -name e1000e.ko -exec rm -f {} \; || true find /lib/modules/2.6.29-2-686 -name e1000e.ko.gz -exec rm -f {} \; || true install -D -m 644 e1000e.ko /lib/modules/2.6.29-2-686/kernel/drivers/net/e1000e/e1000e.ko /sbin/depmod -a || true install -D -m 644 e1000e.7.gz /usr/share/man/man7/e1000e.7.gz man -c -P'cat > /dev/null' e1000e || true man: cannot write to /var/cache/man/cat7/e1000e.7.gz in catman mode e1000e. |
#lsmod
Module Size Used by i915 130336 2 drm 133296 3 i915 i2c_algo_bit 4888 1 i915 ipv6 232468 16 snd_hda_codec_realtek 173504 1 snd_hda_intel 22092 0 snd_hda_codec 58808 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 6000 1 snd_hda_codec snd_pcm_oss 31708 0 ... atl1 26892 0 intel_agp 22548 1 ehci_hcd 29936 0 mii 4648 1 atl1 usbcore 124912 3 uhci_hcd,ehci_hcd agpgart 30624 3 drm,intel_agp thermal 15092 0 processor 39540 1 thermal fan 4104 0 thermal_sys 10272 3 thermal,processor,fan |
#lsmod
Module Size Used by i915 130336 2 drm 133296 3 i915 i2c_algo_bit 4888 1 i915 ipv6 232468 16 snd_hda_codec_realtek 173504 1 snd_hda_intel 22092 0 snd_hda_codec 58808 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 6000 1 snd_hda_codec snd_pcm_oss 31708 0 ... atl1 26892 0 intel_agp 22548 1 ehci_hcd 29936 0 mii 4648 1 atl1 usbcore 124912 3 uhci_hcd,ehci_hcd agpgart 30624 3 drm,intel_agp thermal 15092 0 processor 39540 1 thermal fan 4104 0 thermal_sys 10272 3 thermal,processor,fan |
#modinfo mii
filename: /lib/modules/2.6.29-2-686/kernel/drivers/net/mii.ko license: GPL description: MII hardware support library author: Jeff Garzik <jgarzik@pobox.com> depends: vermagic: 2.6.29-2-686 SMP mod_unload modversions 686 |
#modinfo mii
filename: /lib/modules/2.6.29-2-686/kernel/drivers/net/mii.ko license: GPL description: MII hardware support library author: Jeff Garzik <jgarzik@pobox.com> depends: vermagic: 2.6.29-2-686 SMP mod_unload modversions 686 |
#ды ls /etc/udev
links.conf rules.d udev.conf |
#ls /etc/udev/rules.d/
70-persistent-cd.rules 70-persistent-net.rules |
#ssh 10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 30 09:51:26 2009 from linux4.unix.nt l3-agent is already running: pid=1683; pidfile=/root/.lilalo/l3-agent.pid |
#ssh 10.0.35.100
root@10.0.35.100's password: Linux linux0 2.6.18-6-xen-686 #1 SMP Sun Feb 10 22:43:13 UTC 2008 i686 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sat May 30 09:51:26 2009 from linux4.unix.nt l3-agent is already running: pid=1683; pidfile=/root/.lilalo/l3-agent.pid |
#dmesg
[ 1.458639] uhci_hcd: USB Universal Host Controller Interface driver [ 1.612049] ata_piix 0000:00:1f.2: setting latency timer to 64 [ 1.612113] scsi0 : ata_piix [ 1.612248] scsi1 : ata_piix [ 1.614025] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xff90 irq 14 [ 1.614079] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xff98 irq 15 [ 2.144419] hda: TSSTcorpDVD-ROM SH-D162D, ATAPI CD/DVD-ROM drive [ 2.262632] ata1.00: SATA link down (SStatus 0 SControl 300) [ 2.262686] ata1.01: SATA link down (SStatus 4 SControl 300) [ 2.816082] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 ... [ 9.230177] atl1 0000:02:00.0: eth0 link is up 100 Mbps full duplex [ 9.230242] atl1 0000:02:00.0: eth0 link is up 1000 Mbps full duplex [ 9.694062] NET: Registered protocol family 10 [ 9.694611] lo: Disabled Privacy Extensions [ 16.107019] [drm] Initialized drm 1.1.0 20060810 [ 16.115453] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 16.115458] pci 0000:00:02.0: setting latency timer to 64 [ 16.117586] pci 0000:00:02.0: irq 27 for MSI/MSI-X [ 16.117620] [drm] Initialized i915 1.6.0 20080730 on minor 0 [ 19.716013] eth0: no IPv6 routers present |
#dmesg
[ 1.458639] uhci_hcd: USB Universal Host Controller Interface driver [ 1.612049] ata_piix 0000:00:1f.2: setting latency timer to 64 [ 1.612113] scsi0 : ata_piix [ 1.612248] scsi1 : ata_piix [ 1.614025] ata1: SATA max UDMA/133 cmd 0x1f0 ctl 0x3f6 bmdma 0xff90 irq 14 [ 1.614079] ata2: SATA max UDMA/133 cmd 0x170 ctl 0x376 bmdma 0xff98 irq 15 [ 2.144419] hda: TSSTcorpDVD-ROM SH-D162D, ATAPI CD/DVD-ROM drive [ 2.262632] ata1.00: SATA link down (SStatus 0 SControl 300) [ 2.262686] ata1.01: SATA link down (SStatus 4 SControl 300) [ 2.816082] hda: host max PIO5 wanted PIO255(auto-tune) selected PIO4 ... [ 9.230177] atl1 0000:02:00.0: eth0 link is up 100 Mbps full duplex [ 9.230242] atl1 0000:02:00.0: eth0 link is up 1000 Mbps full duplex [ 9.694062] NET: Registered protocol family 10 [ 9.694611] lo: Disabled Privacy Extensions [ 16.107019] [drm] Initialized drm 1.1.0 20060810 [ 16.115453] pci 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 16.115458] pci 0000:00:02.0: setting latency timer to 64 [ 16.117586] pci 0000:00:02.0: irq 27 for MSI/MSI-X [ 16.117620] [drm] Initialized i915 1.6.0 20080730 on minor 0 [ 19.716013] eth0: no IPv6 routers present |
#ls /dev
adsp hpet pts rtc0 tty15 tty33 tty51 ttyS3 vcs4 agpgart initctl ram0 sda tty16 tty34 tty52 urandom vcs5 audio input ram1 sda1 tty17 tty35 tty53 usbdev1.1_ep00 vcs6 audio1 kmem ram10 sdb tty18 tty36 tty54 usbdev1.1_ep81 vcs7 block kmsg ram11 sdb1 tty19 tty37 tty55 usbdev2.1_ep00 vcsa bsg log ram12 shm tty2 tty38 tty56 usbdev2.1_ep81 vcsa1 bus loop0 ram13 snapshot tty20 tty39 tty57 usbdev3.1_ep00 vcsa2 cdrom MAKEDEV ram14 snd tty21 tty4 tty58 usbdev3.1_ep81 vcsa3 char mem ram15 sndstat tty22 tty40 tty59 usbdev4.1_ep00 vcsa4 console mixer ram2 stderr tty23 tty41 tty6 usbdev4.1_ep81 vcsa5 core mixer1 ram3 stdin tty24 tty42 tty60 usbdev5.1_ep00 vcsa6 cpu_dma_latency net ram4 stdout tty25 tty43 tty61 usbdev5.1_ep81 vcsa7 disk network_latency ram5 tty tty26 tty44 tty62 usbdev6.1_ep00 xconsole dri network_throughput ram6 tty0 tty27 tty45 tty63 usbdev6.1_ep81 zero dsp null ram7 tty1 tty28 tty46 tty7 usbdev7.1_ep00 dsp1 port ram8 tty10 tty29 tty47 tty8 usbdev7.1_ep81 dvd ppp ram9 tty11 tty3 tty48 tty9 vcs fd printer random tty12 tty30 tty49 ttyS0 vcs1 full psaux root tty13 tty31 tty5 ttyS1 vcs2 hda ptmx rtc tty14 tty32 tty50 ttyS2 vcs3 |
#ls /dev
adsp hpet pts rtc0 tty15 tty33 tty51 ttyS3 vcs4 agpgart initctl ram0 sda tty16 tty34 tty52 urandom vcs5 audio input ram1 sda1 tty17 tty35 tty53 usbdev1.1_ep00 vcs6 audio1 kmem ram10 sdb tty18 tty36 tty54 usbdev1.1_ep81 vcs7 block kmsg ram11 sdb1 tty19 tty37 tty55 usbdev2.1_ep00 vcsa bsg log ram12 shm tty2 tty38 tty56 usbdev2.1_ep81 vcsa1 bus loop0 ram13 snapshot tty20 tty39 tty57 usbdev3.1_ep00 vcsa2 cdrom MAKEDEV ram14 snd tty21 tty4 tty58 usbdev3.1_ep81 vcsa3 char mem ram15 sndstat tty22 tty40 tty59 usbdev4.1_ep00 vcsa4 console mixer ram2 stderr tty23 tty41 tty6 usbdev4.1_ep81 vcsa5 core mixer1 ram3 stdin tty24 tty42 tty60 usbdev5.1_ep00 vcsa6 cpu_dma_latency net ram4 stdout tty25 tty43 tty61 usbdev5.1_ep81 vcsa7 disk network_latency ram5 tty tty26 tty44 tty62 usbdev6.1_ep00 xconsole dri network_throughput ram6 tty0 tty27 tty45 tty63 usbdev6.1_ep81 zero dsp null ram7 tty1 tty28 tty46 tty7 usbdev7.1_ep00 dsp1 port ram8 tty10 tty29 tty47 tty8 usbdev7.1_ep81 dvd ppp ram9 tty11 tty3 tty48 tty9 vcs fd printer random tty12 tty30 tty49 ttyS0 vcs1 full psaux root tty13 tty31 tty5 ttyS1 vcs2 hda ptmx rtc tty14 tty32 tty50 ttyS2 vcs3 |
#tree /dev
| |-- 9 | `-- ptmx |-- ram0 |-- ram1 |-- ram10 |-- ram11 |-- ram12 |-- ram13 |-- ram14 |-- ram15 ... |-- vcsa1 |-- vcsa2 |-- vcsa3 |-- vcsa4 |-- vcsa5 |-- vcsa6 |-- vcsa7 |-- xconsole `-- zero 26 directories, 395 files |
#tree /dev
| |-- 9 | `-- ptmx |-- ram0 |-- ram1 |-- ram10 |-- ram11 |-- ram12 |-- ram13 |-- ram14 |-- ram15 ... |-- vcsa1 |-- vcsa2 |-- vcsa3 |-- vcsa4 |-- vcsa5 |-- vcsa6 |-- vcsa7 |-- xconsole `-- zero 26 directories, 395 files |
#mknod --help
Usage: mknod [OPTION]... NAME TYPE [MAJOR MINOR] Create the special file NAME of the given TYPE. Mandatory arguments to long options are mandatory for short options too. -m, --mode=MODE set file permission bits to MODE, not a=rw - umask -Z, --context=CTX set the SELinux security context of NAME to CTX --help display this help and exit --version output version information and exit Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they must be omitted when TYPE is p. If MAJOR or MINOR begins with 0x or 0X, it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal; otherwise, as decimal. TYPE may be: b create a block (buffered) special file c, u create a character (unbuffered) special file p create a FIFO NOTE: your shell may have its own version of mknod, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports. Report mknod bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report mknod translation bugs to <http://translationproject.org/team/> |
#mknod --help
Usage: mknod [OPTION]... NAME TYPE [MAJOR MINOR] Create the special file NAME of the given TYPE. Mandatory arguments to long options are mandatory for short options too. -m, --mode=MODE set file permission bits to MODE, not a=rw - umask -Z, --context=CTX set the SELinux security context of NAME to CTX --help display this help and exit --version output version information and exit Both MAJOR and MINOR must be specified when TYPE is b, c, or u, and they must be omitted when TYPE is p. If MAJOR or MINOR begins with 0x or 0X, it is interpreted as hexadecimal; otherwise, if it begins with 0, as octal; otherwise, as decimal. TYPE may be: b create a block (buffered) special file c, u create a character (unbuffered) special file p create a FIFO NOTE: your shell may have its own version of mknod, which usually supersedes the version described here. Please refer to your shell's documentation for details about the options it supports. Report mknod bugs to bug-coreutils@gnu.org GNU coreutils home page: <http://www.gnu.org/software/coreutils/> General help using GNU software: <http://www.gnu.org/gethelp/> Report mknod translation bugs to <http://translationproject.org/team/> |
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.
Время первой команды журнала | 18:08:18 2009- 5-29 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Время последней команды журнала | 09:43:33 2009- 5-30 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в журнале | 101 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент команд с ненулевым кодом завершения, % | 7.92 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Процент синтаксически неверно набранных команд, % | 3.96 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Суммарное время работы с терминалом *, час | 1.16 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Количество командных строк в единицу времени, команда/мин | 1.45 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Частота использования команд |
|
В журнал автоматически попадают все команды, данные в любом терминале системы.
Для того чтобы убедиться, что журнал на текущем терминале ведётся, и команды записываются, дайте команду w. В поле WHAT, соответствующем текущему терминалу, должна быть указана программа script.
Команды, при наборе которых были допущены синтаксические ошибки, выводятся перечёркнутым текстом:
$ l s-l bash: l: command not found |
Если код завершения команды равен нулю, команда была выполнена без ошибок. Команды, код завершения которых отличен от нуля, выделяются цветом.
$ test 5 -lt 4 |
Команды, ход выполнения которых был прерван пользователем, выделяются цветом.
$ 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 |
Команды, выполненные с привилегиями суперпользователя, выделяются слева красной чертой.
# id uid=0(root) gid=0(root) Gruppen=0(root) |
Изменения, внесённые в текстовый файл с помощью редактора, запоминаются и показываются в журнале в формате ed. Строки, начинающиеся символом "<", удалены, а строки, начинающиеся символом ">" -- добавлены.
$ vi ~/.bashrc
|
Для того чтобы изменить файл в соответствии с показанными в диффшоте изменениями, можно воспользоваться командой patch. Нужно скопировать изменения, запустить программу patch, указав в качестве её аргумента файл, к которому применяются изменения, и всавить скопированный текст:
$ patch ~/.bashrc |
Для того чтобы получить краткую справочную информацию о команде, нужно подвести к ней мышь. Во всплывающей подсказке появится краткое описание команды.
Если справочная информация о команде есть, команда выделяется голубым фоном, например: vi. Если справочная информация отсутствует, команда выделяется розовым фоном, например: notepad.exe. Справочная информация может отсутствовать в том случае, если (1) команда введена неверно; (2) если распознавание команды LiLaLo выполнено неверно; (3) если информация о команде неизвестна LiLaLo. Последнее возможно для редких команд.
Большие, в особенности многострочные, всплывающие подсказки лучше всего показываются браузерами KDE Konqueror, Apple Safari и Microsoft Internet Explorer. В браузерах Mozilla и Firefox они отображаются не полностью, а вместо перевода строки выводится специальный символ.
Время ввода команды, показанное в журнале, соответствует времени начала ввода командной строки, которое равно тому моменту, когда на терминале появилось приглашение интерпретатора
Имя терминала, на котором была введена команда, показано в специальном блоке. Этот блок показывается только в том случае, если терминал текущей команды отличается от терминала предыдущей.
Вывод не интересующих вас в настоящий момент элементов журнала, таких как время, имя терминала и других, можно отключить. Для этого нужно воспользоваться формой управления журналом вверху страницы.
Небольшие комментарии к командам можно вставлять прямо из командной строки. Комментарий вводится прямо в командную строку, после символов #^ или #v. Символы ^ и v показывают направление выбора команды, к которой относится комментарий: ^ - к предыдущей, v - к следующей. Например, если в командной строке было введено:
$ whoami
user
$ #^ Интересно, кто я?в журнале это будет выглядеть так:
$ whoami
user
Интересно, кто я? |
Если комментарий содержит несколько строк, его можно вставить в журнал следующим образом:
$ whoami
user
$ cat > /dev/null #^ Интересно, кто я?
Программа whoami выводит имя пользователя, под которым мы зарегистрировались в системе. - Она не может ответить на вопрос о нашем назначении в этом мире.В журнале это будет выглядеть так:
$ whoami user
|
Комментарии, не относящиеся непосредственно ни к какой из команд, добавляются точно таким же способом, только вместо симолов #^ или #v нужно использовать символы #=
1 2 3 4Группы команд, выполненных на разных терминалах, разделяются специальной линией. Под этой линией в правом углу показано имя терминала, на котором выполнялись команды. Для того чтобы посмотреть команды только одного сенса, нужно щёкнуть по этому названию.
LiLaLo (L3) расшифровывается как Live Lab Log.
Программа разработана для повышения эффективности обучения Unix/Linux-системам.
(c) Игорь Чубин, 2004-2008