Skip to contentSkip to conversation

LAVA PCIe serial card problem

DISCUSSION Tamas Szklenar 2 participants 7 messages Feb 22, 2011 – Mar 10, 2011 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

Hi,

We bought two PCIe serial cards from LAVA, one dual and one quad port card.

My problem is that the devices are visible in lspci, but no module is loaded to the cards. I have other PCI card from this manufacturer and they are working well and the necessary module is loaded fine.

Our linux is using the 2.6.35.7 kernel version.

Could you help me to fix these card?

I attached the output of the dmesg and the lspci to my mail.

Thank you very much!

Tamas

===============================
===============================

Here is the output of the lspci -vv:

07:00.0 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Device 0104
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at 8f00 [size=8]
Region 1: Memory at fd6ff000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at fd6fe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+
AuxPwr+ TransPend-

                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, 

Latency L0 unlimited, L1 unlimited
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Power Budgeting <?>
Capabilities: [200 v1] Device Serial Number 88-99-ff-ee-dd-cc-bb-aa

07:00.1 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Device 0105
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at 8e00 [size=8]
Region 1: Memory at fd6fd000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at fd6fc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+
AuxPwr+ TransPend-

                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, 

Latency L0 unlimited, L1 unlimited
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

===============================

This is the output of the dmesg:

[    6.249634] serial 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    6.249641] serial 0000:08:00.0: PCI INT A disabled
[    6.249654] serial 0000:08:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    6.249659] serial 0000:08:00.1: PCI INT B disabled
[    6.249671] serial 0000:08:00.2: PCI INT C -> GSI 17 (level, low) -> IRQ 17
[    6.249676] serial 0000:08:00.2: PCI INT C disabled
[    6.249687] serial 0000:08:00.3: PCI INT D -> GSI 17 (level, low) -> IRQ 17
[    6.249692] serial 0000:08:00.3: PCI INT D disabled
#1 lore raw
Quoted 8 lines · Tamas Szklenar

Hi,

We bought two PCIe serial cards from LAVA, one dual and one quad port card.

My problem is that the devices are visible in lspci, but no module is loaded to the cards. I have other PCI card from this manufacturer and they are working well and the necessary module is loaded fine.

Quoted 5 lines

Our linux is using the 2.6.35.7 kernel version.

Could you help me to fix these card?

I attached the output of the dmesg and the lspci to my mail.

What driver attached to the other cards that work properly for you? Have you tried adding the device id for your new card to the "new_ids" file for this driver and seeing if that worked properly or not?

thanks,

greg k-h

#2 lore raw

Hi Greg,

Thanks for reply.
I attached no special driver to the other cards, only the kernels self "serial" driver.

I checked the 'include/linux/pci_ids.h' and the 'drivers/serial/8250_pci.c' for the support and our new pcie serial cards are already in this.

Thanks,
Tamas

Quoted 21 lines · Tamas Szklenar
Quoted 8 lines

Hi,

We bought two PCIe serial cards from LAVA, one dual and one quad port card.

My problem is that the devices are visible in lspci, but no module is loaded to the cards. I have other PCI card from this manufacturer and they are working well and the necessary module is loaded fine.

Quoted 5 lines

Our linux is using the 2.6.35.7 kernel version.

Could you help me to fix these card?

I attached the output of the dmesg and the lspci to my mail.

What driver attached to the other cards that work properly for you? Have you tried adding the device id for your new card to the "new_ids" file for this driver and seeing if that worked properly or not?

thanks,

greg k-h

#3 lore raw
In reply to Greg KH

Dear Greg (and the other serial pros),

I had a question about a pcie single and dual serial card before, please send me a mail back with the needed things (logs, config files, etc) and I will collect every information to help solve this problem.

Thanks,
Tamas

#4 lore raw
Quoted 6 lines · Tamas Szklenar

Dear Greg (and the other serial pros),

I had a question about a pcie single and dual serial card before, please send me a mail back with the needed things (logs, config files, etc) and I will collect every information to help solve this problem.

I don't know, as I don't recall the problem, sorry. Try repeating it, and include the information you think would help.

thanks,

greg k-h

#5 lore raw

Dear Greg,

This was my original message:

We bought two PCIe serial cards from LAVA, one dual and one quad port card.

My problem is that the devices are visible in lspci, but no module is loaded to the cards. I have other PCI card from this manufacturer and they are working well and the necessary module is loaded fine. I can't use these cards because of this problem.

Our linux is using the 2.6.35.7 kernel version. I checked the source code and the cards are already there in the necessary c files.

Could you help me to fix these card?

I attached the output of the dmesg and the lspci to my mail.

Thank you very much!

Tamas

===============================
===============================

Here is the output of the lspci -vv:

07:00.0 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Device 0104
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at 8f00 [size=8]
Region 1: Memory at fd6ff000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at fd6fe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+
AuxPwr+ TransPend-

                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, 

Latency L0 unlimited, L1 unlimited
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk+
DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Power Budgeting <?>
Capabilities: [200 v1] Device Serial Number 88-99-ff-ee-dd-cc-bb-aa

07:00.1 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Device 0105
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at 8e00 [size=8]
Region 1: Memory at fd6fd000 (32-bit, non-prefetchable) [size=4K]
Region 4: Memory at fd6fc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency L0s
<64ns, L1 <1us
ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal- Fatal-
Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+
AuxPwr+ TransPend-

                LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, 

Latency L0 unlimited, L1 unlimited
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- Retrain-
CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

===============================

This is the output of the dmesg:

[    6.249634] serial 0000:08:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[    6.249641] serial 0000:08:00.0: PCI INT A disabled
[    6.249654] serial 0000:08:00.1: PCI INT B -> GSI 17 (level, low) -> IRQ 17
[    6.249659] serial 0000:08:00.1: PCI INT B disabled
[    6.249671] serial 0000:08:00.2: PCI INT C -> GSI 17 (level, low) -> IRQ 17
[    6.249676] serial 0000:08:00.2: PCI INT C disabled
[    6.249687] serial 0000:08:00.3: PCI INT D -> GSI 17 (level, low) -> IRQ 17
[    6.249692] serial 0000:08:00.3: PCI INT D disabled
#6 lore raw
Quoted 6 lines · Tamas Szklenar

Dear Greg,

This was my original message:

We bought two PCIe serial cards from LAVA, one dual and one quad port card.

Quoted 7 lines

My problem is that the devices are visible in lspci, but no module is loaded to the cards. I have other PCI card from this manufacturer and they are working well and the necessary module is loaded fine. I can't use these cards because of this problem.

Our linux is using the 2.6.35.7 kernel version. I checked the source code and the cards are already there in the necessary c files.

If the device ids are in the driver for this device, are you sure the driver is loaded?

What driver should be controlling it?

Quoted 91 lines

Could you help me to fix these card?

I attached the output of the dmesg and the lspci to my mail.

Thank you very much!

Tamas

===============================
===============================

Here is the output of the lspci -vv:

07:00.0 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Device 0104
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

Interrupt: pin A routed to IRQ 17
Region 0: I/O ports at 8f00 [size=8]
Region 1: Memory at fd6ff000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at fd6fe000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency
L0s <64ns, L1 <1us
ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal-
Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+
AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s
L1, Latency L0 unlimited, L1 unlimited
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled-
Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train-
SlotClk+ DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Power Budgeting <?>
Capabilities: [200 v1] Device Serial Number 88-99-ff-ee-dd-cc-bb-aa

07:00.1 Serial controller: NetMos Technology PCIe 9901 Multi-I/O Controller (prog-if 02 [16550])
Subsystem: Lava Computer mfg Inc Device 0105
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast

Quoted 1 line

TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-

Interrupt: pin B routed to IRQ 17
Region 0: I/O ports at 8e00 [size=8]
Region 1: Memory at fd6fd000 (32-bit, non-prefetchable) [size=4K] Region 4: Memory at fd6fc000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [80] Power Management version 3
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA
PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [88] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [c0] Express (v1) Legacy Endpoint, MSI 00
DevCap: MaxPayload 256 bytes, PhantFunc 0, Latency
L0s <64ns, L1 <1us
ExtTag- AttnBtn+ AttnInd+ PwrInd+ RBE- FLReset-
DevCtl: Report errors: Correctable- Non-Fatal-
Fatal- Unsupported-
RlxdOrd+ ExtTag- PhantFunc- AuxPwr- NoSnoop+ MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+
AuxPwr+ TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s
L1, Latency L0 unlimited, L1 unlimited
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled-
Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-

===============================

This is the output of the dmesg:

Quoted 12 lines
[    6.249634] serial 0000:08:00.0: PCI INT A -> GSI 17 (level, low)
-> IRQ 17
[    6.249641] serial 0000:08:00.0: PCI INT A disabled
[    6.249654] serial 0000:08:00.1: PCI INT B -> GSI 17 (level, low)
-> IRQ 17
[    6.249659] serial 0000:08:00.1: PCI INT B disabled
[    6.249671] serial 0000:08:00.2: PCI INT C -> GSI 17 (level, low)
-> IRQ 17
[    6.249676] serial 0000:08:00.2: PCI INT C disabled
[    6.249687] serial 0000:08:00.3: PCI INT D -> GSI 17 (level, low)
-> IRQ 17
[    6.249692] serial 0000:08:00.3: PCI INT D disabled

This doesn't look like your PCI devices above, as the pci device bus numbers don't match.

Can you provide the output of:
lspci -n
lspci
lspci -k
for us?

as well as the full boot log?

thanks,

greg k-h