by johnnyb » Sat Jun 25, 2011 5:32 am
So I'm running Fedora 15 - 2.6.38 - First problem is
/tbs/67/linux-tbs-drivers/v4l/cx25840-ir.c:1254:3: error: implicit declaration of function 'kfree' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[3]: *** [/tbs/67/linux-tbs-drivers/v4l/cx25840-ir.o] Error 1
make[2]: *** [_module_/tbs/67/linux-tbs-drivers/v4l] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.38.8-32.fc15.i686'
make[1]: *** [default] Error 2
make[1]: Leaving directory `/tbs/67/linux-tbs-drivers/v4l'
make: *** [all] Error 2
So I comment out in the v4l/.config the line for the CX25840.
make
make install
on reboot (autoload of modules) , or via modprobe:
modprobe saa716x-core or modprobe saa716x_tbs-dvb
FATAL: Error inserting saa716x_core (/lib/modules/2.6.38.8-32.fc15.i686/kernel/drivers/media/common/saa716x/saa716x_core.ko): Unknown symbol in module, or unknown parameter (see dmesg)
dmesg reports:
[93840.740088] saa716x_core: Unknown symbol spi_alloc_master (err 0)
[93840.741103] saa716x_core: Unknown symbol spi_unregister_master (err 0)
[93840.741415] saa716x_core: Unknown symbol spi_register_master (err 0)
That's where I am right now...
lspci -vvv reports:
01:00.0 Multimedia controller: Philips Semiconductors SAA7160 (rev 03)
Subsystem: Device 6925:0001
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-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Region 0: Memory at fe900000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [40] MSI: Enable- Count=1/32 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [50] Express (v1) Endpoint, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0, Latency L0s <256ns, 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 128 bytes
DevSta: CorrErr- UncorrErr- FatalErr- UnsuppReq- AuxPwr- TransPend-
LnkCap: Port #1, Speed 2.5GT/s, Width x1, ASPM L0s L1, Latency L0 <4us, L1 <64us
ClockPM- Surprise- LLActRep- BwNot-
LnkCtl: ASPM Disabled; RCB 128 bytes Disabled- Retrain- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [74] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot-,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [80] Vendor Specific Information: Len=50 <?>
Capabilities: [100 v1] Vendor Specific Information: ID=0000 Rev=0 Len=088 <?>
Kernel modules: saa716x_tbs-dvb
Johnny