LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-03-2014, 09:07 AM   #1
GEphil
LQ Newbie
 
Registered: Apr 2014
Location: The wrong planet
Distribution: Debian
Posts: 11

Rep: Reputation: Disabled
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?
 
Old 06-03-2014, 12:26 PM   #2
replica9000
Senior Member
 
Registered: Jul 2006
Distribution: Debian Unstable
Posts: 1,130
Blog Entries: 2

Rep: Reputation: 260Reputation: 260Reputation: 260
Do you have the Linux headers installed?
 
Old 06-03-2014, 02:34 PM   #3
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,151

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
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".
 
1 members found this post helpful.
Old 06-04-2014, 11:35 AM   #4
GEphil
LQ Newbie
 
Registered: Apr 2014
Location: The wrong planet
Distribution: Debian
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by smallpond View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Migrating PCI device driver from kernel 2.6.9 to 2.6.32 but no interrupts? Kevin R. DeYoung Linux - Kernel 3 06-29-2011 04:01 PM
Ethernet e1000e(on PCI express) driver - with kernel 2.2.12, please help... vico3000 Programming 1 11-22-2009 08:02 AM
Intel 536ep PCI modem driver: workarounds for >= 2.6.24.4 kernel GrapefruiTgirl Linux - Hardware 3 08-18-2009 11:27 PM
PCI ATA RAID on Debian 3.1 [Building Driver's into the Kernel] elliotfuller Linux - Hardware 1 09-02-2005 10:00 AM
Motorola SM56 PCI Modem Driver for Fedora Core 2(Kernel-2.6.5) ppvinod Linux - Hardware 3 03-22-2005 12:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration