Can't load  driver

MrRed128
MrRed128 used Ask the Experts™
on
I have a HP dc7800 with the following config...

Ubuntu 10.04 - 2.6.32-33-server
gig onboad enabled
2 pcie x1 cards with intel gig

The machine boots, only utilizeing 2 of the 3 nics. Both pcie nics work, as I have swapped them in ether port and installed on other machines.

From /var/log/message

eth0: (PCI Express:2.5GB/s:Width x1) 00:0f:fe:a2:c5:ad
eth0: Intel(R) PRO/1000 Network Connection
eth0: MAC: 7, PHY: 6, PBA No: 1062ff-0ff
e1000e 0000:20:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
eth1: (PCI Express:2.5GB/s:Width x1) 00:1b:21:ad:bf:c1
eth1: Intel(R) PRO/1000 Network Connection
eth1: MAC: 1, PHY: 4, PBA No: d50861-006
e1000e 0000:30:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
eth2: (PCI Express:2.5GB/s:Width x1) 00:1b:21:ad:bf:e5
eth2: Intel(R) PRO/1000 Network Connection
eth2: MAC: 1, PHY: 4, PBA No: d50861-006


What is notably missing here is the e1000e module does not load for eth2, but is completely recognised otherwise.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2015

Commented:
/sbin/ifconfig -a

Author

Commented:
It lists only two ethernet interfaces.

Commented:
cat /etc/network/interfaces
Build an E-Commerce Site with Angular 5

Learn how to build an E-Commerce site with Angular 5, a JavaScript framework used by developers to build web, desktop, and mobile applications.

Author

Commented:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto bond0
iface bond0 inet static
        address 192.168.1.59
        netmask 255.255.255.0
        network 192.168.1.0
        broadcast 192.168.1.255
        gateway 192.168.1.13
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 192.168.1.200 192.168.1.227 192.168.1.57
        dns-search samuelsohn
        slaves eth0 eth1 eth2
        bond-mode 4
        bond-miimode 100

Commented:
The output of /sbin/lsmod could perhaps help also.

Author

Commented:
Module                  Size  Used by
iptable_filter          1841  0
ip_tables              18201  1 iptable_filter
x_tables               22361  1 ip_tables
bonding                99465  0
iscsi_trgt             91016  9
crc32c                  2983  0
nfsd                  304374  13
exportfs                4202  1 nfsd
nfs                   310933  0
lockd                  75079  2 nfsd,nfs
nfs_acl                 2709  2 nfsd,nfs
auth_rpcgss            44452  2 nfsd,nfs
sunrpc                228454  15 nfsd,nfs,lockd,nfs_acl,auth_rpcgss
fbcon                  39270  71
tileblit                2487  1 fbcon
font                    8053  1 fbcon
bitblit                 5811  1 fbcon
softcursor              1565  1 bitblit
vga16fb                12757  0
vgastate                9857  1 vga16fb
snd_hda_codec_analog    78702  1
tpm_infineon            9217  0
nouveau               515227  1
ttm                    60975  1 nouveau
snd_hda_intel          25805  0
drm_kms_helper         30742  1 nouveau
snd_hda_codec          85663  2 snd_hda_codec_analog,snd_hda_intel
psmouse                65040  0
drm                   198470  3 nouveau,ttm,drm_kms_helper
ppdev                   6375  0
lp                      9336  0
tpm_tis                 9912  0
parport_pc             29958  1
tpm                    16304  2 tpm_infineon,tpm_tis
snd_hwdep               6778  1 snd_hda_codec
serio_raw               4950  0
snd_pcm                87312  2 snd_hda_intel,snd_hda_codec
tpm_bios                6402  1 tpm
i2c_algo_bit            6024  1 nouveau
parport                37160  3 ppdev,lp,parport_pc
intel_agp              29287  0
snd_timer              23617  1 snd_pcm
snd                    71074  6 snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
soundcore               8052  1 snd
snd_page_alloc          8500  2 snd_hda_intel,snd_pcm
raid10                 21450  0
raid456                54784  1
async_pq                3891  1 raid456
async_xor               3111  2 raid456,async_pq
xor                     4685  1 async_xor
async_memcpy            1537  1 raid456
async_raid6_recov       1816  1 raid456
raid1                  22514  0
raid6_pq               80147  2 async_pq,async_raid6_recov
async_tx                2545  5 raid456,async_pq,async_xor,async_memcpy,async_raid6_recov
raid0                   6778  0
floppy                 63156  0
multipath               7181  0
sata_sil                8895  0
linear                  4158  0
e1000e                136301  0

Commented:
The module e1000e is correctly loaded but not used.

The problem is that the interface is probably not configured in the right way. Your file /etc/network/interfaces looks different from what I am used to see. Mmmm. Can you explain more about what you aim to do with these settings?

Which IP-address do you expect to have for eth2? A static one or some dhcp allocated address?

Author

Commented:
This is a bonding interface (ifenslave) and all interfaces will have the same IP address. This has nothing to do with the scope of the question.

The issue as pointed out clearly in the kernel log, is the driver is not attaching to the device. No networking can be configured until the device becomes attached. The device has been switched with the other, with the previously non working card working and the previously working card not working.

Only one driver module needs to be loaded as it should be used for all three cards. Both eth1 & eth2 have the same id (PBA #) and thus should both attach; yet only one does.
Commented:
Try to add a file /etc/modprobe.d/custom.conf containing:

    alias eth0 e1000e
    alias eth1 e1000e
    alias eth2 e1000e

and reboot?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial