network card - gigabite Atheros AR8151 - is it supported by Proxmox Kernel 2.6.35

nicolasdiogo

Member
Mar 16, 2010
92
0
6
hello

i have installed a new motherboard with a network card which proxmox is not recognising

the chipset is a Atheros AR8151

i can find a module for my running kernel, but it is not identifying my network card:
Code:
modinfo atl1c
filename:       /lib/modules/2.6.35-1-pve/kernel/drivers/net/atl1c/atl1c.ko
version:        1.0.0.2-NAPI
license:        GPL
description:    Atheros 1000M Ethernet Network Driver
author:         Jie Yang <jie.yang@atheros.com>
srcversion:     DD089D2E4AEAF5FC653AC92
alias:          pci:v00001969d00001073sv*sd*bc*sc*i*
alias:          pci:v00001969d00002062sv*sd*bc*sc*i*
alias:          pci:v00001969d00002060sv*sd*bc*sc*i*
alias:          pci:v00001969d00001062sv*sd*bc*sc*i*
alias:          pci:v00001969d00001063sv*sd*bc*sc*i*
depends:        
vermagic:       2.6.35-1-pve SMP mod_unload modversions


but according to the debian discussions this module was back-ported to linux-2.6 2.6.32
http://ircbots.debian.net/factoid.php?key=ar8151

i have added this module to /etc/modules without sucess

so is there something that i should do to enable this module? or simply compile from source?

thanks,


Nicolas

www.brainpowered.net
 
Last edited:
Code:
lspci -nn|grep -i ethernet

04:00.0 Ethernet controller [0200]: Attansic Technology Corp. Device [1969:1083] (rev c0)
05:06.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet [10ec:8169] (rev 10)


the controller Attansic Technology Corp is the one failing - based on the motherboard documentation and internet re-search; it seems to use an Atheros AR8151

you see the board compatibility here:
http://kmuto.jp/debian/hcl/Asrock/880g+pro3

thanks
 
Last edited:
Seems 2.6.32 has no support for that card - someone needs to backport the driver for later kernel sources.
 
i am using a more recent kernel and it does not seem to be supported.

Code:
pveversion -v
pve-manager: 1.8-18 (pve-manager/1.8/6070)
running kernel: 2.6.35-1-pve
proxmox-ve-2.6.35: 1.8-11
pve-kernel-2.6.35-1-pve: 2.6.35-11
qemu-server: 1.1-30
pve-firmware: 1.0-11
libpve-storage-perl: 1.0-17
vncterm: 0.9-2
vzctl: 3.0.28-1pve1
vzdump: 1.2-14
vzprocps: 2.0.11-2
vzquota: 3.0.11-1
pve-qemu-kvm: 0.14.1-1
ksm-control-daemon: 1.0-6

could you please provide me some link as to howto go about back porting this module, if this is the case?

thanks a lot

NIcolas
 
thanks,

the vendor has been bought by another company and they have suspended their support for the moment.
all the driver that i found on the web for this card will not compile.

i will look for a solution and report back

Nicolas
 
thanks,

the vendor has been bought by another company and they have suspended their support for the moment.
all the driver that i found on the web for this card will not compile.

i will look for a solution and report back

Nicolas

Same problem here
Code:
proxmox:~# modinfo atl1c
filename:       /lib/modules/2.6.35-2-pve/kernel/drivers/net/atl1c/atl1c.ko
version:        1.0.0.2-NAPI
license:        GPL
description:    Atheros 1000M Ethernet Network Driver
author:         Jie Yang <jie.yang@atheros.com>
srcversion:     DD089D2E4AEAF5FC653AC92
alias:          pci:v00001969d00001073sv*sd*bc*sc*i*
alias:          pci:v00001969d00002062sv*sd*bc*sc*i*
alias:          pci:v00001969d00002060sv*sd*bc*sc*i*
alias:          pci:v00001969d00001062sv*sd*bc*sc*i*
alias:          pci:v00001969d00001063sv*sd*bc*sc*i*
depends:
vermagic:       2.6.35-2-pve SMP mod_unload modversions
proxmox:~#
Tried 2.6.32-6 , and 2.6.35-2 with no success.
Did you found a solution ??

Regards
 
i could not find the module/driver to install as atheros was boight by another company and their website did not list the necessary files.
so i have recompiled a kernel using proxmox config.
i think it was done using kernel v3 from kernel.org

if you have the time i am sure that there should be modules available by now.

EDIT:
just checked the server, and it has the following kernel compiled 2.6.39.4

you can download it and compile it yourself - but it is pretty good if you are using KVM.
 
Last edited:
AR8151 Driver INSTALLED

After a lot of try-errors, I've been able to install driver for Atheros AR8151, under 2.6.32.6 kernel, following these steps:

My Board is an ASUS P5G41T-MLX

1.-Find AR81Family-linux-v1.0.1.14.tar.gz file (google). I can not find what link I used, but in case you do not find it, drop me a line and I will send it (it is only 175KB)
2.-Install Kernel headers & build-essentials
3.- Decompress and make , and modprobe.

As it was my first driver install, will write step by step what I did:

[See last line of the post, as it would be almost essential to have an ethernet card to perform these steps]

aptitude update
aptitude safe-upgrade
REBOOT

proxmox:~# uname -r
2.6.32-6-pve
>>>>>>> Find headers for my kernel
proxmox:~# apt-cache search pve-headers*
pve-headers-2.6.35-1-pve - The Proxmox PVE Kernel Headers
pve-headers-2.6.32-6-pve - The Proxmox PVE Kernel Headers
....................... more

proxmox:~# apt-get install pve-headers-2.6.32-6-pve
Reading package lists... Done
....................................
...................
Installed

proxmox:~# apt-get install build-essential
Reading package lists... Done
Building dependency tree
.................
..................
..................
INSTALLED


>>>>>>>>Copy file to /usr/tmp/AR81
proxmox:/usr/tmp/AR81# ls
AR81Family-linux-v1.0.1.14.tar.gz
>>>>then untar
proxmox:/usr/tmp/AR81# tar zxvf AR81Family-linux-v1.0.1.14.tar.gz
./
./atl1e.7
./atl1e.spec
./at_osdep.h
./copying
./dkms.conf
./ldistrib.txt
./Makefile
./pci.updates
./readme
./release_note.txt
./src/
./src/.atl1c_main.c.swo
./src/atl1c.h
./src/atl1c_ethtool.c
./src/atl1c_hw.c
./src/atl1c_hw.h
./src/atl1c_main.c
./src/atl1c_param.c
./src/atl1e.h
./src/atl1e_ethtool.c
./src/atl1e_hw.c
./src/atl1e_hw.h
./src/atl1e_main.c
./src/atl1e_param.c
./src/at_common.h
./src/at_common_main.c
./src/at_osdep.h
./src/kcompat.c
./src/kcompat.h
./src/kcompat_ethtool.c
./src/Makefile

gzip: stdin: decompression OK, trailing garbage ignored
./src/Module.markers
./src/Module.symvers
./src/modules.order
tar: Child returned status 2
tar: Error exit delayed from previous errors
proxmox:/usr/tmp/AR81#

proxmox:/usr/tmp/AR81# cd src
proxmox:/usr/tmp/AR81/src# make clean
rm -rf atl1e.ko atl1e.o atl1e.mod.c atl1e.mod.o at_common_main.o atl1e_main.o atl1c_main.o atl1c_hw.o atl1e_hw.o atl1e_param.o atl1c_param.o atl1e_ethtool.o atl1c_ethtool.o kcompat.o atl1e.7.gz .*cmd .tmp_versions
proxmox:/usr/tmp/AR81/src# make install
make -C /lib/modules/2.6.32-6-pve/build SUBDIRS=/usr/tmp/AR81/src modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-6-pve'
CC [M] /usr/tmp/AR81/src/at_common_main.o
CC [M] /usr/tmp/AR81/src/atl1e_main.o
CC [M] /usr/tmp/AR81/src/atl1c_main.o
CC [M] /usr/tmp/AR81/src/atl1c_hw.o
CC [M] /usr/tmp/AR81/src/atl1e_hw.o
CC [M] /usr/tmp/AR81/src/atl1e_param.o
CC [M] /usr/tmp/AR81/src/atl1c_param.o
CC [M] /usr/tmp/AR81/src/atl1e_ethtool.o
CC [M] /usr/tmp/AR81/src/atl1c_ethtool.o
CC [M] /usr/tmp/AR81/src/kcompat.o
LD [M] /usr/tmp/AR81/src/atl1e.o
Building modules, stage 2.
MODPOST 1 modules
CC /usr/tmp/AR81/src/atl1e.mod.o
LD [M] /usr/tmp/AR81/src/atl1e.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-6-pve'
gzip -c ../atl1e.7 > atl1e.7.gz
# remove all old versions of the driver
find /lib/modules/2.6.32-6-pve -name atl1e.ko -exec rm -f {} \; || true
find /lib/modules/2.6.32-6-pve -name atl1e.ko.gz -exec rm -f {} \; || true
install -D -m 644 atl1e.ko /lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e/atl1e.ko
/sbin/depmod -a || true
install -D -m 644 atl1e.7.gz /usr/share/man/man7/atl1e.7.gz
man -c -P'cat > /dev/null' atl1e || true
man:
cannot write to /var/cache/man/cat7/atl1e.7.gz in catman mode
atl1e.
proxmox:/usr/tmp/AR81/src#

If make ends correctly you will have a new file on src:
proxmox:/usr/tmp/AR81/src# ls *.ko
atl1e.ko
proxmox:/usr/tmp/AR81/src#

it is also copied to /lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e/atl1e.ko

so cd there and
proxmox:/lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e# modprobe atl1e
gives NO error

# ifconfig -a shows new device, in my case eth1, as I first plugged an old RTL8139 card to be able to connect to internet and ssh to proxmox.

If fact, this should be the first thing to do, to allow performing all these operations.

Hope this can help to others....

Regards

Vicente
 
Last edited:
Re: AR8151 Driver INSTALLED

thanks for that.

but where did you find the driver?
you say - Find AR81Family-linux-v1.0.1.14.tar.gz file

that is where i got my problem i could not find it.
 
/lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e# modprobe atl1e
FATAL: Error inserting atl1e (/lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e/atl1e.ko): Invalid module format

please help me
 
I'm getting: FATAL: Error inserting atl1e (/lib/modules/2.6.32-6-pve/kernel/drivers/net/atl1e/atl1e.ko): Invalid module format as well, when trying to use Yosshy's module. Any tips on what to try next? I'd try and build it myself but, I don't have a spare PCI-E NIC laying around to get network connectivity to the box.
 
Hello everyone,

I have the same problem (ar8151 doesn't work) and I suggest using "make dkms" instead of "make install". It will help to avoid problems during kernel upgrades.

Regards,
Stanislav
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!