Re: *SOLVED* OpenVZ: No driver for NIC RTL8111/8168B [solved] [message #39296 is a reply to message #25385] |
Sat, 03 April 2010 20:14   |
abdicar
Messages: 17 Registered: April 2010
|
Junior Member |
|
|
Ok, installing...
Quote: | [root@22491 ~]# yum install vzctl vzquota
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrordenver.fdcservers.net
* base: mirrordenver.fdcservers.net
* extras: mirrordenver.fdcservers.net
* openvz-kernel-rhel5: mirrors.igsobe.com
* openvz-utils: mirrors.igsobe.com
* updates: mirrordenver.fdcservers.net
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package vzctl.i386 0:3.0.23-1 set to be updated
--> Processing Dependency: vzctl-lib = 3.0.23-1 for package: vzctl
--> Processing Dependency: libvzctl-0.0.2.so for package: vzctl
---> Package vzquota.i386 0:3.0.12-1 set to be updated
--> Running transaction check
---> Package vzctl-lib.i386 0:3.0.23-1 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
============================================================ ============================================================ =================================
Package Arch Version Repository Size
============================================================ ============================================================ =================================
Installing:
vzctl i386 3.0.23-1 openvz-utils 143 k
vzquota i386 3.0.12-1 openvz-utils 82 k
Installing for dependencies:
vzctl-lib i386 3.0.23-1 openvz-utils 175 k
Transaction Summary
============================================================ ============================================================ =================================
Install 3 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 400 k
Is this ok [y/N]: y
Downloading Packages:
http://mirrors.igsobe.com/openvzcurrent/vzquota-3.0.12-1.i38 6.rpm: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
(1/3): vzquota-3.0.12-1.i386.rpm | 82 kB 00:00
(2/3): vzctl-3.0.23-1.i386.rpm | 143 kB 00:00
(3/3): vzctl-lib-3.0.23-1.i386.rpm | 175 kB 00:00
------------------------------------------------------------ ------------------------------------------------------------ ---------------------------------
Total 198 kB/s | 400 kB 00:02
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : vzctl-lib 1/3
Installing : vzquota 2/3
Installing : vzctl 3/3
Installed:
vzctl.i386 0:3.0.23-1 vzquota.i386 0:3.0.12-1
Dependency Installed:
vzctl-lib.i386 0:3.0.23-1
Complete!
[root@22491 ~]# /sbin/service vz start
Starting OpenVZ: [ OK ]
Bringing up interface venet0: [ OK ]
Configuring interface venet0: [ OK ]
[root@22491 ~]#
|
ok now, lets create a demo container...
Quote: | [root@22491 cache]# wget http://download.openvz.org/template/precreated/centos-5-x86. tar.gz
--2010-04-03 22:03:04-- http://download.openvz.org/template/precreated/centos-5-x86. tar.gz
Resolving download.openvz.org... 64.131.90.11
Connecting to download.openvz.org|64.131.90.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 179985449 (172M) [application/x-gzip]
Saving to: `centos-5-x86.tar.gz'
100%[======================================================= ======================================================== >] 179,985,449 1.12M/s in 2m 34s
2010-04-03 22:05:38 (1.11 MB/s) - `centos-5-x86.tar.gz' saved [179985449/179985449]
[root@22491 cache]#
[root@22491 cache]# vzctl create 101 --ostemplate centos-5-x86
Unable to get full ostemplate name for centos-5-x86
Creating container private area (centos-5-x86)
Performing postcreate actions
Container private area was created
[root@22491 cache]# vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
101 - stopped - -
[root@22491 cache]# vzctl set 101 --ipadd x.73.100.179 --save
Saved parameters for CT 101
[root@22491 cache]# vzctl set 101 --nameserver 4.2.2.1 --save
Saved parameters for CT 101
[root@22491 cache]# vzctl start 101
Starting container ...
Container is mounted
Adding IP address(es): x.73.100.179
Setting CPU units: 1000
Configure meminfo: 65536
File resolv.conf was modified
Container start in progress...
[root@22491 cache]# ping x.73.100.179
PING x.73.100.179 (x.73.100.179) 56(84) bytes of data.
64 bytes from x.73.100.179: icmp_seq=1 ttl=64 time=0.073 ms
64 bytes from x.73.100.179: icmp_seq=2 ttl=64 time=0.046 ms
[3]+ Stopped ping x.73.100.179
[root@22491 cache]# vzctl -a
Bad command: -a
[root@22491 cache]# vzlist -a
CTID NPROC STATUS IP_ADDR HOSTNAME
101 8 running x.73.100.179 -
[root@22491 cache]# vzctl set 101 --hostname ns01.test.com --save
Set hostname: ns01.test.com
Saved parameters for CT 101
[root@22491 cache]# vzctl enter 101
entered into CT 101
[root@ns01 /]# hostname
ns01.test.com
[root@ns01 /]# hostname -i
x.73.100.179
|
Ok, Now; all start to failed.
Quote: | [root@ns01 /]# ping www.yahoo.com
[1]+ Stopped ping www.yahoo.com
[root@ns01 /]# mii-tool
SIOCGMIIPHY on 'eth0' failed: Operation not permitted
SIOCGMIIPHY on 'eth1' failed: Operation not permitted
SIOCGMIIPHY on 'eth2' failed: Operation not permitted
SIOCGMIIPHY on 'eth3' failed: Operation not permitted
SIOCGMIIPHY on 'eth4' failed: Operation not permitted
SIOCGMIIPHY on 'eth5' failed: Operation not permitted
SIOCGMIIPHY on 'eth6' failed: Operation not permitted
SIOCGMIIPHY on 'eth7' failed: Operation not permitted
no MII interfaces found
[root@ns01 /]# ethtool eth0
Settings for eth0:
Cannot get device settings: No such device
Cannot get wake-on-lan settings: No such device
Cannot get message level: No such device
Cannot get link status: No such device
No data available
[root@ns01 /]# ifconfig /all
/all: error fetching interface information: Device not found
[root@ns01 /]# service network restart
Shutting down interface venet0: [ OK ]
Shutting down loopback interface: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface venet0: SIOCADDRT: Network is unreachable
[ OK ]
[root@ns01 /]#
|
So, now? I should recompile the driver of the NIC or It is another problem?
...
[Updated on: Sat, 03 April 2010 20:17] Report message to a moderator
|
|
|