xen kernel and e1000 problem
I have tried to search for this on this mailing list however haven't had any luck with a solution.
The problem basically is as follows:
WoodCrest 5150
Intel s5000xvn Motherboard
4GB Ram
750 GB SATA
Now when i run centos 4.4 kernel, the onboard 2 Intel Gigabit ethernet work out of the box.
However when i compile a xen kernel (tried "make dist", manual kernel compile), the two ethernet stop working. It looks as though the system tries to setup them as wireless cards. Here is the output of /etc/init.d/network restart with xen enabled kernel.
Shutting down loopback interface: [ OK ] Setting network parameters: [ OK ] Bringing up loopback interface: [ OK ] Bringing up interface eth0: Error for wireless request "Set Encode" (8B2A)
:
SET failed on device eth0 ; No such device.
Error for wireless request "Set ESSID" (8B1A) :
SET failed on device eth0 ; No such device.
SIOCGIFFLAGS: No such device
Failed to bring up eth0.
[FAILED]
I also tried to manually build the kernel, and instead of making the intel driver as module, compiled it into the kernel. However the problem remains same. lspci shows both the cards present under xen kernel.
Can someone please tell me what can be done to resolve this issue ? Will really appreciate it.
Signature · 3 lines
regards, Anand Gupta
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
A message that is not in the archive (sent off-list or not yet received): 1167163618.7466.4.camel@hagrid
Hi Roberto,
thanks for the quick response. I will try to do that.
Btw I had tried to load Ubuntu Edgy on this machine earlier and under that the card worked (i believe it has 2.6.17 series kernel).
Quoted 38 lines · Roberto De Ioris
Quoted 10 lines · Anand Gupta
I have tried to search for this on this mailing list however haven't had any luck with a solution.
The problem basically is as follows:
WoodCrest 5150
Intel s5000xvn Motherboard
4GB Ram
750 GB SATAQuoted 7 lines
Now when i run centos 4.4 kernel, the onboard 2 Intel Gigabit ethernet work out of the box.
However when i compile a xen kernel (tried "make dist", manual kernel compile), the two ethernet stop working. It looks as though the system tries to setup them as wireless cards. Here is the output of
/etc/init.d/networkrestart with xen enabled kernel.Probably your card is not supported by the e1000 driver in 2.6.16 kernel.
You can compile the latest e1000 module (taken from intel website)
http://support.intel.com/support/network/adapter/1000/software.htm
for kernel 2.6.16
--
Roberto De Ioris
http://unbit.it
JID: [email protected]
Signature · 3 lines
regards, Anand Gupta
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
Anand Gupta írta:
Quoted 40 lines
Hi Roberto,
thanks for the quick response. I will try to do that.
Btw I had tried to load Ubuntu Edgy on this machine earlier and under that the card worked (i believe it has 2.6.17 series kernel).
On 12/27/06, *Roberto De Ioris* <[email protected]
<mailto:[email protected]>> wrote:On mer, 2006-12-27 at 01:31 +0530, Anand Gupta wrote:
> I have tried to search for this on this mailing list however haven't > had any luck with a solution.
>
> The problem basically is as follows:
>
> WoodCrest 5150
> Intel s5000xvn Motherboard
> 4GB Ram
> 750 GB SATA
>
> Now when i run centos 4.4 kernel, the onboard 2 Intel Gigabit ethernet
> work out of the box.
>
> However when i compile a xen kernel (tried "make dist", manual kernel
> compile), the two ethernet stop working. It looks as though the system
> tries to setup them as wireless cards. Here is the output > of/etc/init.d/networkrestart with xen enabled kernel.Probably your card is not supported by the e1000 driver in 2.6.16 kernel.
You can compile the latest e1000 module (taken from intel website)
http://support.intel.com/support/network/adapter/1000/software.htm
Quoted 22 lines
for kernel 2.6.16
--
Roberto De Ioris
http://unbit.it
JID: [email protected] <mailto:[email protected]>Signature · 9 lines
regards, Anand Gupta ------------------------------------------------------------------------ _______________________________________________ Xen-users mailing list [email protected] http://lists.xensource.com/xen-users
It should be some CentOS configuration issue as e1000 is working fine for me in two machines: Debian Etch, Xen 3.0/kernel 2.6.16 and Debian Etch, Xen 3.0/kernel 2.6.18. What should be noted with the bridged setup in Debian you don't try to activate the interfaces at all, just the bridges you've configured on them.
Good Luck!
Geza
Quoted 7 lines · Gémes Géza
It should be some CentOS configuration issue as e1000 is working fine for me in two machines: Debian Etch, Xen 3.0/kernel 2.6.16 and Debian Etch, Xen 3.0/kernel 2.6.18. What should be noted with the bridged setup in Debian you don't try to activate the interfaces at all, just the bridges you've configured on them.
I am sorry but i didn't understand the meaning of this ? Why shouldn't i activate the interfaces ?
Btw i resolved the problem as per Roberto's suggestion. I first tried to compile the nic drivers which came with the mb for linux, they didn't compile. Then i got the latest drivers from http://sf.net/projects/e1000,
drivers release dated 14th Dec, worked. I was able to compile them, issue modprobe, assign them an ip and i can now activate the interfaces and ping outside network.
Signature · 3 lines
regards, Anand Gupta
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
These are the steps i followed, incase someone else requires it.
1. Download e1000 latest driver from
http://sourceforge.net/project/showfiles.php?group_id=42302. As on date, the latest drivers are dated Dec.14th, 2006.
2. Copy the file to /usr/src/. Extract it out. Go to /usr/src/e1000-x.x/src
3. Run "make install"
4. To ensure any old module has been removed, run "rmmod e1000"
5. Now run "modprobe e1000"
6. Assign an ip to the interface, "ifconfig ethx x.x.x.x"
7. See if you can ping the interface now.
Hope this helps you.
Signature · 3 lines
regards, Anand Gupta
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users
I have gotten in trouble with another woodcrest. This is a 5130.
I followed my own steps to compile a driver for e1000, however it didn't work.
modprobe e1000kobject_register failed for e1000 (-17)
[<c01dabfd>] kobject_register+0x5d/0x70 [<c022cabf>] bus_add_driver+0x6f/0xc0 [<c01e5fba>] __pci_register_driver+0x5a/0x90 [<c0121027>] printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83 [e1000] [<c013e837>] sys_init_module+0x127/0x1d0 [<c0105461>] syscall_call+0x7/0xb
When i try to do ifup eth0
ifup
eth0
kobject_register failed for e1000
(-17)
[<c01dabfd>]kobject_register+0x5d/0x70
[<c022cabf>]bus_add_driver+0x6f/0xc0
[<c01e5fba>]__pci_register_driver+0x5a/0x90
[<c0121027>]
printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83
[e1000]
[<c013e837>]sys_init_module+0x127/0x1d0
[<c0105461>]syscall_call+0x7/0xb
kobject_register failed for e1000
(-17)
[<c01dabfd>]kobject_register+0x5d/0x70
[<c022cabf>]bus_add_driver+0x6f/0xc0
[<c01e5fba>]__pci_register_driver+0x5a/0x90
[<c0121027>]
printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83
[e1000]
[<c013e837>]sys_init_module+0x127/0x1d0
[<c0105461>]syscall_call+0x7/0xb
kobject_register failed for e1000
(-17)
[<c01dabfd>]kobject_register+0x5d/0x70
[<c022cabf>]bus_add_driver+0x6f/0xc0
[<c01e5fba>]__pci_register_driver+0x5a/0x90
[<c0121027>]
printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83
[e1000]
[<c013e837>]sys_init_module+0x127/0x1d0
[<c0105461>]syscall_call+0x7/0xb
Error for wireless request "Set Encode" (8B2A)
:
SET failed on device eth0 ; No such
device.
kobject_register failed for e1000
(-17)
[<c01dabfd>]kobject_register+0x5d/0x70
[<c022cabf>]bus_add_driver+0x6f/0xc0
[<c01e5fba>]__pci_register_driver+0x5a/0x90
[<c0121027>]
printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83
[e1000]
[<c013e837>]sys_init_module+0x127/0x1d0
[<c0105461>]syscall_call+0x7/0xb
Error for wireless request "Set ESSID" (8B1A)
:
SET failed on device eth0 ; No such
device.
kobject_register failed for e1000
(-17)
[<c01dabfd>]kobject_register+0x5d/0x70
[<c022cabf>]bus_add_driver+0x6f/0xc0
[<c01e5fba>]__pci_register_driver+0x5a/0x90
[<c0121027>]
printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83
[e1000]
[<c013e837>]sys_init_module+0x127/0x1d0
[<c0105461>]syscall_call+0x7/0xb
ip_tables: (C) 2000-2006 Netfilter Core
Team
kobject_register failed for e1000
(-17)
[<c01dabfd>]kobject_register+0x5d/0x70
[<c022cabf>]bus_add_driver+0x6f/0xc0
[<c01e5fba>]__pci_register_driver+0x5a/0x90
[<c0121027>]
printk+0x17/0x20 [<f4804046>] e1000_init_module+0x46/0x83
[e1000]
[<c013e837>]sys_init_module+0x127/0x1d0
[<c0105461>]syscall_call+0x7/0xb
SIOCGIFFLAGS: No such
device
Failed to bring up
eth0.
Any help on this will be appreciated.
Quoted 14 lines · Anand Gupta
These are the steps i followed, incase someone else requires it.
1. Download e1000 latest driver from
http://sourceforge.net/project/showfiles.php?group_id=42302. As on date, the latest drivers are dated Dec.14th, 2006.
2. Copy the file to/usr/src/. Extract it out. Go to/usr/src/e1000-x.x/src
3. Run "make install"
4. To ensure any old module has been removed, run "rmmod e1000"
5. Now run "modprobe e1000"
6. Assign an ip to the interface, "ifconfig ethx x.x.x.x"
7. See if you can ping the interface now.
Signature · 3 lines
regards, Anand Gupta
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Problem resolved.
The problem was caused because i had compiled e1000 drivers into the kernel. I changed it back to be compiled as modules and followed the procedure, thus network interface started to work.
Quoted 28 lines · Anand Gupta
I have gotten in trouble with another woodcrest. This is a 5130.
I followed my own steps to compile a driver for e1000, however it didn't work.
Quoted 14 lines · Anand Gupta
These are the steps i followed, incase someone else requires it.
1. Download e1000 latest driver from
http://sourceforge.net/project/showfiles.php?group_id=42302. As on date, the latest drivers are dated Dec.14th, 2006.
2. Copy the file to/usr/src/. Extract it out. Go to/usr/src/e1000-x.x/src
3. Run "make install"
4. To ensure any old module has been removed, run "rmmod e1000"
5. Now run "modprobe e1000"
6. Assign an ip to the interface, "ifconfig ethx x.x.x.x"
7. See if you can ping the interface now.--
regards,Anand Gupta
Signature · 3 lines
regards, Anand Gupta
_______________________________________________
Xen-users mailing list
[email protected]
http://lists.xensource.com/xen-users