Bug 110851

Summary: Kodicom 4400R not detected
Product: Drivers Reporter: Bjorn Helgaas (bjorn)
Component: PCIAssignee: drivers_pci (drivers_pci)
Status: NEW ---    
Severity: normal CC: rf
Priority: P1    
Hardware: All   
OS: Linux   
URL: http://lkml.kernel.org/r/5698191B.1070904@keynet-technology.com
Kernel Version: 3.0.76 Subsystem:
Regression: No Bisected commit-id:
Attachments: DMESG - Machine A - older MSI with PCIe and 2 x PCI cards
MODPROBE - Machine A
LSPCI -vvv - Machine A, after modprobing
Machine B - newer LGA1155
Machine B - 3.12.52 kernel
Machine B - adding another BT878 card (IVC-100) in adjacent slot
Machine B - lspci -vvv
Machine B - 4.3.3 Kernel
Machine B - 4.4.0 Kernel
Machine B - 4.4.0 Kernel with pci test patch
Machine B - 4.3.3 Kernel with pci=routeirq
Machine A - 4.3.3 Kernel - lcpci -xxx
Machine B - 4.3.3 Kernel - lcpci -xxx
Now in an HP 8300 CMT - 4.3.3 Kernel - it works!

Description Bjorn Helgaas 2016-01-15 17:22:50 UTC
Richard F <lists@keynet-technology.com> reported problems detecting a Kodicom 4400R:

  3.0.76  on machine A: works correctly
  3.0.76  on machine B: Kodicom not detected
  3.12.52 on machine B: Kodicom not detected
Comment 1 Richard F 2016-01-17 20:38:58 UTC
Created attachment 200231 [details]
DMESG - Machine A - older MSI with PCIe and 2 x PCI cards

SLES 11 SP3 default kernel
Comment 2 Richard F 2016-01-17 20:40:37 UTC
Created attachment 200241 [details]
MODPROBE - Machine A

modprobe bttv gbuffers=16 card=133,132,133,133

as recommended https://www.linuxtv.org/wiki/index.php/Kodicom_4400R
Comment 3 Richard F 2016-01-17 20:43:34 UTC
Created attachment 200251 [details]
LSPCI -vvv - Machine A, after modprobing
Comment 4 Richard F 2016-01-17 20:46:32 UTC
Created attachment 200261 [details]
Machine B - newer LGA1155

3.0.101 kernel (SLES 11 SP4 default)
Card not recognised, no effect when modprobing
Comment 5 Richard F 2016-01-17 20:48:43 UTC
Created attachment 200271 [details]
Machine B - 3.12.52 kernel

Pretty much the same result as 3.0 kernel
Modprobe has no effect
Comment 6 Richard F 2016-01-17 20:53:34 UTC
Created attachment 200281 [details]
Machine B - adding another BT878 card (IVC-100) in adjacent slot

This sends the boot process a bit crazy. 

NOTE also that the KMC card prevents BIOS booting when it is in this adjacent slot, regardless of other cards or OS.

Makes me think the BIOS may be broken.
Comment 7 Richard F 2016-01-17 20:54:45 UTC
Created attachment 200291 [details]
Machine B - lspci -vvv
Comment 8 Richard F 2016-01-17 20:59:28 UTC
So given that card doesn't work at all - no boot in 1 slot, I flashed the BIOS to a previous version (C29F1P01) to check - made no difference.

I have not had time to create any later kernel build to test with as yet.

Please suggest any steps to diagnose further / check for broken BIOS.

Thanks
Comment 9 Richard F 2016-01-18 14:46:23 UTC
Created attachment 200411 [details]
Machine B - 4.3.3 Kernel

Could not boot 4.4.0 kernel unfortunately, this is latest I can get working atm
Comment 10 Richard F 2016-01-19 17:38:14 UTC
Created attachment 200471 [details]
Machine B - 4.4.0 Kernel

Some new warnings about microcode, not sure relevant
Still doesn't recognise the card when modprobe'd
Comment 11 Richard F 2016-01-30 17:48:47 UTC
Created attachment 202411 [details]
Machine B - 4.4.0 Kernel with pci test patch

This hasn't made bttv spring into life unfortuantely
Comment 12 Richard F 2016-01-30 17:51:41 UTC
Created attachment 202421 [details]
Machine B - 4.3.3 Kernel with pci=routeirq

This also hasn't helped unfortunatley
Comment 13 Richard F 2016-02-03 20:01:14 UTC
Created attachment 202871 [details]
Machine A - 4.3.3 Kernel - lcpci -xxx

Working
Comment 14 Richard F 2016-02-03 20:02:03 UTC
Created attachment 202881 [details]
Machine B - 4.3.3 Kernel - lcpci -xxx

Not working
Comment 15 Richard F 2016-02-03 20:03:19 UTC
(In reply to Richard F from comment #13)
> Created attachment 202871 [details]
> Machine A - 4.3.3 Kernel - lcpci -xxx
> 
> Working

Sorry, this is actually 3.0.101 kernel
Comment 16 Richard F 2016-02-17 16:39:29 UTC
Created attachment 203811 [details]
Now in an HP 8300 CMT - 4.3.3 Kernel - it works!

I weakened and moved everything to an HP 8300 CMT which conferred some other advantages - and same config and kernel and the card works as advertised. Something about the Foxconn card / BIOS that made it fail.