Re: [ivtv-devel] [PATCH AVAIL.]ivtv:Crash 2.6.26 with KUROTOSIKOUCX23416-STVLP

From: Kyuma Ohta
Date: Thu Jul 17 2008 - 19:15:50 EST


Dear Hans,
Thanx for reply.

Hans Verkuil wrote:
> On Thursday 17 July 2008 17:20:14 Kyuma Ohta wrote:
> > Hi,
> > I'm testing 2.6.26/amd64 with Athlon64 x2 Box with
> > KUROTOSIKOU CX23416-STVLP,always crash ivtv driver
> > when loading upd64083 driver.
> > I checked crash dump,this issue cause of loading
> > upd64083.ko with i2c_probed_new_device().
> > So,I fixed ivtv-i2c.c of 2.6.26 vanilla,and
> > fixed *pretty* differnce memory allocation,structure
> > of upd64083.c.
> > I'm running patched 2.6.26 vanilla with below attached
> > patches over 24hrs,and over 10hrs recording from ivtv,
> > not happend anything;-)
> > Please apply below to 2.6.26.x..
> >
> > Best regards,
> > Ohta.
>
> Hi Ohta,
>
> Thanks for the patches. If I'm not mistaken there are several variants
> of this card: without upd* devices, only with upd64083 and with both
> upd devices. Which one do you have?
>
> Can you also show the dmesg output when ivtv loads?
>
> Looking at the four patches, I would say that the only relevant patch is
> the fix-probing patch. If you try it with only that one applied, does
> it still work correct for you? Note that this patch will not work with
> a KUROTOSIKOU card that has no upd* devices at all.
>
> Can you also give me the kernel backtrace when you load ivtv with the
> vanilla 2.6.26? I do not quite understand why it should crash.
>
> Regards,
>
> Hans
>

I have a ivtv card with *both* upd64083 and upd64031a.
I don't still try testing apply only one of patch,only
apply all of...

I attach compressed logs when loading ivtv at boottime,
parallel probing saa7134 v4l2 device,
both applied (successed) ,not applied (failed).

Best regards,
Ohta



E-Mail: whatisthis.sowhat@xxxxxxxxx (Public)
Home Page: http://d.hatena.ne.jp/artane/
(Sorry,not maintaining,and written in Japanese only...)
Twitter: Artanejp (Mainly Japanese)
ICQ: 366538955
KEYID: 6B79F95F
FINGERPRINT:
9AB3 8569 6033 FDBE 352B CB6D DBFA B9E2 6B79 F95F


Attachment: ivtv-2.6.26-20080716-2011.error.txt.bz2
Description: application/bzip

Attachment: ivtv-2.6.26-20080716-2032-success?.txt.bz2
Description: application/bzip

lspci -n
00:00.0 0500: 10de:03ea (rev a1)
00:01.0 0601: 10de:03e0 (rev a2)
00:01.1 0c05: 10de:03eb (rev a2)
00:01.2 0500: 10de:03f5 (rev a2)
00:02.0 0c03: 10de:03f1 (rev a2)
00:02.1 0c03: 10de:03f2 (rev a2)
00:04.0 0604: 10de:03f3 (rev a1)
00:05.0 0403: 10de:03f0 (rev a2)
00:06.0 0101: 10de:03ec (rev a2)
00:07.0 0680: 10de:03ef (rev a2)
00:08.0 0101: 10de:03f6 (rev a2)
00:08.1 0101: 10de:03f6 (rev a2)
00:09.0 0604: 10de:03e8 (rev a2)
00:18.0 0600: 1022:1100
00:18.1 0600: 1022:1101
00:18.2 0600: 1022:1102
00:18.3 0600: 1022:1103
01:06.0 0200: 10ec:8139 (rev 10)
01:07.0 0480: 1131:7134 (rev 01)
01:08.0 0400: 4444:0016 (rev 01)
01:09.0 0401: 1102:0008
01:0e.0 0c00: 104c:8024
02:00.0 0300: 10de:0404 (rev a1)
---
lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a2)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
01:07.0 Multimedia controller: Philips Semiconductors SAA7134/SAA7135HL Video Broadcast Decoder (rev 01)
01:08.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
01:09.0 Multimedia audio controller: Creative Labs SB0400 Audigy2 Value
01:0e.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)
02:00.0 VGA compatible controller: nVidia Corporation GeForce 8400 GS (rev a1)

Attachment: dot.config.2.6.26.bz2
Description: application/bzip