I have recently upgraded from Suse 10.0 (which shipped with gcc-4.0)
to SUSE 10.1 (which ships with gcc-4.1) and my custom kernel (2.16.2)/ivtv
setup which was compiled with the old compiler works nearly flawlessly
in the 10.1 SUSE userland. However exactly the same kernel/ivtv config
compiled with the new gcc fails to detect my tuner correctly (everything else
works fine). System is an Athlon 64 X2 3800+, 2GB, nforce4, 64bit installation.

Any ideas?

I have attached the syslog output of both versions below (with some
debug flags used while inserting the modules) :

WORKING (compiled with gcc-4.0 under SuSE 10.0 running under SuSE 10.1):
----------------------------------------------------------------------
May 24 03:00:14 diavolo kernel: ivtv:  ==================== START INIT
IVTV ====================
May 24 03:00:14 diavolo kernel: ivtv:  version 0.6.3 (development
revision 3288) loading
May 24 03:00:14 diavolo kernel: ivtv:  Linux version:
2.6.16.2-smp-diavolo SMP gcc-4.0
May 24 03:00:14 diavolo kernel: ivtv:  In case of problems please
include the debug info between
May 24 03:00:14 diavolo kernel: ivtv:  the START INIT IVTV and END
INIT IVTV lines, along with
May 24 03:00:14 diavolo kernel: ivtv:  any module options, when
mailing the ivtv-users mailinglist.
May 24 03:00:14 diavolo kernel: ivtv0: Autodetected Hauppauge WinTV
PVR-350 card (cx23415 based)
May 24 03:00:14 diavolo kernel: ACPI: PCI Interrupt Link [APC2]
enabled at IRQ 17
May 24 03:00:14 diavolo kernel: GSI 21 sharing vector 0xD9 and IRQ 21
May 24 03:00:14 diavolo kernel: ACPI: PCI Interrupt 0000:01: 07.0[A]
-> Link [APC2] -> GSI 17 (level, low) -> IRQ 21
May 24 03:00:14 diavolo kernel: ivtv0: Unreasonably low latency timer,
setting to 64 (was 32)
May 24 03:00:14 diavolo kernel: saa7127 5-0044: detecting saa7127
client on address 0x88
May 24 03:00:14 diavolo kernel: saa7127 5-0044: Configuring encoder
May 24 03:00:14 diavolo kernel: saa7127 5-0044: Selecting 60 Hz video Standard
May 24 03:00:14 diavolo kernel: saa7127 5-0044: Selecting S-Video +
Composite output type
May 24 03:00:14 diavolo kernel: saa7127 5-0044: Selecting Normal Encoder Input
May 24 03:00:14 diavolo kernel: saa7127 5-0044: Enable Video Output
May 24 03:00:14 diavolo kernel: saa7127 5-0044: saa7127 found @ 0x88
(ivtv i2c driver #0)
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: full 256-byte eeprom dump:
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 00: 84 09 00 04 20 77
00 40 af 86 6c 00 73 05 99 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 10: 84 08 00 06 06 bc
00 00 17 35 a9 72 07 70 73 09
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 20: 13 5f 73 0a 04 2f
73 0b 59 8c 72 0e 01 72 0f 01
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 30: 72 10 01 72 11 00
79 31 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 40: 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 50: 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 60: 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 70: 00 00 00 00 00 00
00 00 00 00 00 00 13 eb 00 70
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 80: 84 09 00 04 20 77
00 40 af 86 6c 00 73 05 99 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: 90: 84 08 00 06 06 bc
00 00 17 35 a9 72 07 70 73 09
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: a0: 13 5f 73 0a 04 2f
73 0b 59 8c 72 0e 01 72 0f 01
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: b0: 72 10 01 72 11 00
79 31 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: c0: 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: d0: 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: e0: 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: f0: 00 00 00 00 00 00
00 00 00 00 00 00 13 eb 00 70
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [04] + 8 bytes:
20 77 00 40 af 86 6c 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [05] + 2 bytes: 99 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [06] + 7 bytes:
06 bc 00 00 17 35 a9
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [07] + 1 bytes: 70
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [09] + 2 bytes: 13 5f
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [0a] + 2 bytes: 04 2f
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [0b] + 2 bytes: 59 8c
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [0e] + 1 bytes: 01
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [0f] + 1 bytes: 01
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [10] + 1 bytes: 01
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Not sure what to do
with tag [10]
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Tag [11] + 1 bytes: 00
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Not sure what to do
with tag [11]
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: Hauppauge model
48134, rev J347, serial# 7112367
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: tuner model is LG
TP18PSB01D (idx 47, type 28)
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: TV standards PAL(B/G)
(eeprom 0x04)
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: audio processor is
MSP4418 (idx 25)
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: decoder processor is
SAA7115 (idx 19)
May 24 03:00:14 diavolo kernel: tveeprom 5-0050: has radio, has IR remote
May 24 03:00:14 diavolo kernel: tuner 5-0061: chip found @ 0xc2 (ivtv
i2c driver #0)
May 24 03:00:14 diavolo kernel: saa7115 5-0021: saa7115 found @ 0x42
(ivtv i2c driver #0)
May 24 03:00:15 diavolo kernel: msp3400 5-0040: MSP4418G-A2 found @
0x80 (ivtv i2c driver #0)
May 24 03:00:15 diavolo kernel: msp3400 5-0040: MSP4418G-A2 supports
nicam and radio, mode is autodetect and autoselect
May 24 03:00:15 diavolo kernel: ivtv0: loaded v4l-cx2341x-enc.fw
firmware (262144 bytes)
May 24 03:00:15 diavolo kernel: ivtv0: loaded  v4l-cx2341x-dec.fw
firmware (262144 bytes)
May 24 03:00:16 diavolo kernel: ivtv0: Encoder revision: 0x02050032
May 24 03:00:16 diavolo kernel: ivtv0: Decoder revision: 0x02020023
May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA encoder MPEG
stream: 128 x 32768 buffers (4096KB total)
May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA encoder YUV
stream: 161 x 12960 buffers (2048KB total)
May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA encoder VBI
stream: 80 x 26208 buffers (2048KB total)
  May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA encoder PCM
audio stream: 455 x 4608 buffers (2048KB total)
May 24 03:00:16 diavolo kernel: ivtv0: Create encoder radio stream
May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA decoder MPEG
stream: 16 x 65536 buffers (1024KB total)
May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA decoder VBI
stream: 512 x 2048 buffers (1024KB total)
May 24 03:00:16 diavolo kernel: ivtv0: Create decoder VOUT stream
May 24 03:00:16 diavolo kernel: ivtv0: Allocate DMA decoder YUV
stream: 20 x 51840 buffers (1024KB total)
May 24 03:00:16 diavolo kernel: ivtv0: loaded v4l-cx2341x-init.mpg
firmware (155648 bytes)
May 24 03:00:16 diavolo kernel: tuner 5-0061: type set to 28 (LG
PAL_BG+FM (TPI8PSB01D))
May 24 03:00:16 diavolo kernel: saa7127 5-0044: Selecting 50 Hz video Standard
May 24 03:00:17 diavolo kernel: ivtv0: Initialized Hauppauge WinTV
PVR-350, card #0
May 24 03:00:17 diavolo kernel: ivtv:  ====================  END INIT
IVTV  ====================



NOT WORKING (compiled with gcc-4.1 under SuSE 10.1 running under SuSE 10.1):
----------------------------------------------------------------------
May 24 12:17:49 diavolo kernel: ivtv:  ==================== START INIT
IVTV ====================
May 24 12:17:49 diavolo kernel: ivtv:  version 0.6.3 (development
revision 3288) loading
May 24 12:17:49 diavolo kernel: ivtv:  Linux version:
2.6.16.2-smp-diavoloSL101 SMP gcc-4.1
May 24 12:17:49 diavolo kernel: ivtv:  In case of problems please
include the debug info between
May 24 12:17:49 diavolo kernel: ivtv:  the START INIT IVTV and END
INIT IVTV lines, along with
May 24 12:17:49 diavolo kernel: ivtv:  any module options, when
mailing the ivtv-users mailinglist.
May 24 12:17:49 diavolo kernel: ivtv0: Autodetected Hauppauge WinTV
PVR-350 card (cx23415 based)
May 24 12:17:49 diavolo kernel: ACPI: PCI Interrupt Link [APC2]
enabled at IRQ 17
May 24 12:17:49 diavolo kernel: GSI 21 sharing vector 0xD9 and IRQ 21
May 24 12:17:49 diavolo kernel: ACPI: PCI Interrupt 0000:01:07.0[A] ->
Link [APC2] -> GSI 17 (level, low) -> IRQ 21
May 24 12:17:49 diavolo kernel: ivtv0: Unreasonably low latency timer,
setting to 64 (was 32)
May 24 12:17:49 diavolo kernel: saa7127 5-0044: detecting saa7127
client on address 0x88
May 24 12:17:49 diavolo kernel: saa7127 5-0044: saa7127 not found
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: full 256-byte eeprom dump:
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 00: ff 00 00 00 00 ff
00 00 ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 10: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 20: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 30: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 40: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 50: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 60: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 70: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 80: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: 90: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: a0: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: b0: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: c0: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: d0: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: e0: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: f0: ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff
May 24 12:17:49 diavolo kernel: tveeprom 5-0050: Encountered bad
packet header [ff]. Corrupt or not a Hauppauge eeprom.
May 24 12:17:49 diavolo kernel: ivtv0: No tuner detected, default to NTSC
May 24 12:17:49 diavolo kernel: msp3400 5-0040: MSP18431O-A31 found @
0x80 (ivtv i2c driver #0)
May 24 12:17:49 diavolo kernel: msp3400 5-0040: MSP18431O-A31 supports
radio, mode is autodetect and autoselect
May 24 12:17:49 diavolo kernel: msp3400 5-0044: [EMAIL PROTECTED] found @
0x88 (ivtv i2c driver #0)
May 24 12:17:49 diavolo kernel: msp3400 5-0044: [EMAIL PROTECTED] supports
radio, mode is autodetect and autoselect
May 24 12:17:50 diavolo kernel: ivtv0: loaded v4l-cx2341x-enc.fw
firmware (262144 bytes)
May 24 12:17:50 diavolo kernel: ivtv0: loaded v4l-cx2341x-dec.fw
firmware (262144 bytes)
May 24 12:17:50 diavolo kernel: ivtv0: Encoder revision: 0x02050032
May 24 12:17:50 diavolo kernel: ivtv0: Decoder revision: 0x02020023
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA encoder MPEG
stream: 128 x 32768 buffers (4096KB total)
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA encoder YUV
stream: 194 x 10800 buffers (2048KB total)
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA encoder VBI
stream: 120 x 17472 buffers (2048KB total)
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA encoder PCM audio
stream: 455 x 4608 buffers (2048KB total)
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA decoder MPEG
stream: 16 x 65536 buffers (1024KB total)
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA decoder VBI
stream: 512 x 2048 buffers (1024KB total)
May 24 12:17:50 diavolo kernel: ivtv0: Create decoder VOUT stream
May 24 12:17:50 diavolo kernel: ivtv0: Allocate DMA decoder YUV
stream: 24 x 43200 buffers (1024KB total)
May 24 12:17:50 diavolo kernel: ivtv0: loaded v4l-cx2341x-init.mpg
firmware (155648 bytes)
May 24 12:17:51 diavolo kernel: ivtv0: i2c addr 0x21 not found for
command 0x40045613!
May 24 12:17:51 diavolo kernel: ivtv0: i2c addr 0x21 not found for
command 0xc0045627!
May 24 12:17:51 diavolo kernel: ivtv0: i2c addr 0x21 not found for
command 0x40045612!
May 24 12:17:51 diavolo kernel: ivtv0: i2c addr 0x21 not found for
command 0x40045613!
May 24 12:17:51 diavolo kernel: ivtv0: i2c addr 0x21 not found for
command 0x40045612!
May 24 12:17:52 diavolo kernel: ivtv0: Initialized Hauppauge WinTV
PVR-350, card #0
May 24 12:17:52 diavolo kernel: ivtv:  ====================  END INIT
IVTV  ====================

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to