PCI controller rs232 Moschip 9865, error install driver

fever_wits

Renowned Member
Sep 13, 2009
35
1
73
Bulgaria
hgs.name
I have a PCI Controller Moschip 9865 (2xRS232 and 1 parallel port). I downloaded the source code for the driver. Driver is compiled on another computer. I downloaded the kernel source 2.6.32-17, copied. Config file from my server and compiled the driver. But printing error, please help how to fix it.

proxmox:/# uname -a
Linux proxmox 2.6.32-17-pve #1 SMP Wed Nov 28 07:15:55 CET 2012 x86_64 GNU/Linux

proxmox:/# pveversion -v
pve-manager: 2.2-32 (pve-manager/2.2/3089a616)
running kernel: 2.6.32-17-pve
proxmox-ve-2.6.32: 2.2-83
pve-kernel-2.6.18-2-pve: 2.6.18-5
pve-kernel-2.6.32-14-pve: 2.6.32-74
pve-kernel-2.6.32-17-pve: 2.6.32-83
pve-kernel-2.6.32-7-pve: 2.6.32-60
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-1
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-34
qemu-server: 2.0-71
pve-firmware: 1.0-21
libpve-common-perl: 1.0-40
libpve-access-control: 1.0-25
libpve-storage-perl: 2.0-36
vncterm: 1.0-3
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.3-7
ksm-control-daemon: 1.1-1

proxmox:~/serial_port/MCS9865_Linux_Driver_v2.0.0_Source# make install
cp mcs9865.ko mcs9865-isa.ko /lib/modules/2.6.32-17-pve/kernel/drivers/serial/
depmod -A
chmod +x mcs9865
cp mcs9865 /etc/init.d/
ln -s /etc/init.d/mcs9865 /etc/rcS.d/S99mcs9865 || true
modprobe mcs9865
FATAL: Error inserting mcs9865 (/lib/modules/2.6.32-17-pve/kernel/drivers/serial/mcs9865.ko): Invalid module format
make: *** [install] Error 1
 

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!