LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   wanted: PCI driver for 3.2 kernel (https://www.linuxquestions.org/questions/debian-26/wanted-pci-driver-for-3-2-kernel-4175506890/)

GEphil 06-03-2014 09:07 AM

wanted: PCI driver for 3.2 kernel
 
My machine has a mini PCIe card on which are 2 off RS485 ports. Here is the o/p from uname -a

Linux fujitsu-debian-shcp1 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux

Here is the o/p from lspci

00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Root Complex [1022:1536]
00:01.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Device [1002:9835]
00:01.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Device [1002:9840]
00:02.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 0 [1022:1538]
00:02.2 PCI bridge [0604]: Advanced Micro Devices [AMD] Family 16h Processor Functions 5:1 [1022:1439]
00:02.3 PCI bridge [0604]: Advanced Micro Devices [AMD] Family 16h Processor Functions 5:1 [1022:1439]
00:10.0 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB XHCI Controller [1022:7814] (rev 01)
00:11.0 SATA controller [0106]: Advanced Micro Devices [AMD] FCH SATA Controller [AHCI mode] [1022:7801] (rev 40)
00:12.0 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB OHCI Controller [1022:7807] (rev 39)
00:12.2 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
00:13.0 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB OHCI Controller [1022:7807] (rev 39)
00:13.2 USB controller [0c03]: Advanced Micro Devices [AMD] FCH USB EHCI Controller [1022:7808] (rev 39)
00:14.0 SMBus [0c05]: Advanced Micro Devices [AMD] FCH SMBus Controller [1022:780b] (rev 3a)
00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] FCH Azalia Controller [1022:780d] (rev 02)
00:14.3 ISA bridge [0601]: Advanced Micro Devices [AMD] FCH LPC Bridge [1022:780e] (rev 11)
00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 0 [1022:1530]
00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 1 [1022:1531]
00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 2 [1022:1532]
00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 3 [1022:1533]
00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 4 [1022:1534]
00:18.5 Host bridge [0600]: Advanced Micro Devices [AMD] Family 16h Processor Function 5 [1022:1535]
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0c)
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 0c)

I don't think the mini-PCIe card has been recognised. I've contacted the supplier of the machine, and he suggested downloading a PCI driver from fujitsu, which I did. However I can't build it, the make falls over with:
"linux/smp_lock.h: No such file or directory"

Given that I have a 3.2 kernel, and that the name of the directory supplied from fujitsu is:
"mPCI3-AddonLinux2.6"
I conclude that this 'ere driver needs an update to make it work with a 3.2 kernel. I've asked the machine suppliers, who can't help, I've done lots of googling and drawn a blank.

I can't be the only person who want a driver like this to work with a 3.2 kernel!

Does anyone know where to look?

replica9000 06-03-2014 12:26 PM

Do you have the Linux headers installed?

smallpond 06-03-2014 02:34 PM

The big kernel lock was removed in 2.6.39.
I don't think any driver will work if the device doesn't show up on the PCI bus. How would the driver find it? lspci should still list it as "Unknown device".

GEphil 06-04-2014 11:35 AM

Quote:

Originally Posted by smallpond (Post 5181763)
The big kernel lock was removed in 2.6.39.
I don't think any driver will work if the device doesn't show up on the PCI bus. How would the driver find it? lspci should still list it as "Unknown device".

Quite right. I'll have to solve that one before doing angthing else


All times are GMT -5. The time now is 11:30 PM.