[mythtv-users] Setup locking up when I go into capture cards

Bill Chmura Bill at Explosivo.com
Thu May 5 02:31:05 UTC 2005


Well, I went back and reinstalled all the ivtv stuff and now something
different happens.  When I select Capture cards from the mythtv-setup
and then new card I get a seg fault.  This happens on 0.18 and on CVS
from about 2 weeks ago.

Any ideas would be great!

As far as I can tell ivtv is still loaded and active.

This from dmesg...

Unable to handle kernel NULL pointer dereference at virtual address
00000037 printing eip:
e087916b
*pde = 00000000
Oops: 0000 [#1]
PREEMPT SMP 
Modules linked in: ivtv_fb msp3400 saa7127 saa7115 tuner tveeprom ivtv
i2c_algo_                           bit i2c_core videodev CPU:    0
EIP:    0060:[<e087916b>]    Not tainted VLI
EFLAGS: 00010206   (2.6.11-gentoo-r5) 
EIP is at video_open+0x4b/0x120 [videodev]
eax: 00000003   ebx: 00000000   ecx: 00000000   edx: dabcc100
esi: dabcc100   edi: 00000000   ebp: df2d88a0   esp: db930edc
ds: 007b   es: 007b   ss: 0068
Process mythtv-setup (pid: 6392, threadinfo=db930000 task=dfca1040)
Stack: db930000 c0167960 000000ff dfcc7380 e0879120 00000000 df2d88a0
c0167806 df2d88a0 dabcc100 db930f0c 00000001 00000000 dabcc100 00000000
df2d88a0 c1510ec0 c015cf6a df2d88a0 dabcc100 00000001 00000000 00008002
0000000c Call Trace:
 [<c0167960>] exact_match+0x0/0x10
 [<e0879120>] video_open+0x0/0x120 [videodev]
 [<c0167806>] chrdev_open+0xf6/0x1c0
 [<c015cf6a>] dentry_open+0x16a/0x270
 [<c015cdf8>] filp_open+0x68/0x70
 [<c03d4fad>] _spin_unlock+0xd/0x30
 [<c015d112>] get_unused_fd+0xa2/0xd0
 [<c015d235>] sys_open+0x45/0xe0
 [<c01032af>] syscall_call+0x7/0xb
Code: 24 0c 8b 5d 38 81 e3 ff ff 0f 00 81 fb ff 00 00 00 77 48 f0 ff 0d
c4 a5 87                            e0 0f 88 53 05 00 00 8b 04 9d 40 a7
87 e0 85 c0 74 6f <8b> 40 34 8b 5e 10 85 c0
74 0b 8b 10 85 d2 74 07 83 3a 02 75 02 


This is from before in the dmesg when the ivtv stuff loads...

Linux video capture interface: v1.00
ivtv: ==================== START INIT IVTV ====================
ivtv: version 0.2.0 (rc3j) loading
ivtv: Linux version: 2.6.11-gentoo-r5 SMP preempt PENTIUMIII 4KSTACKS
gcc-3.3 ivtv: In case of problems please include the debug info
ivtv: between the START INIT IVTV and END INIT IVTV lines when
ivtv: mailing the ivtv-devel mailinglist.
ivtv: Autodetected WinTV PVR 350 card
ivtv: Found an iTVC15 based chip
ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 12
PCI: setting IRQ 12 as level-triggered
ACPI: PCI interrupt 0000:02:0e.0[A] -> GSI 12 (level, low) -> IRQ 12
ivtv: Unreasonably low latency timer, setting to 64 (was 32)
ivtv: XXX PCI device: 0x1130 vendor: 0x8086
tveeprom: Hauppauge: model = 48132, rev = K168, serial# = 2947544
tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47)
tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000)
tveeprom: audio_processor = MSP3440 (type = 11)
ivtv: i2c attach [client=tveeprom[0],ok]
ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model
0x00ad1598, Rev                           ision 0x00000001 ivtv: NTSC
tuner detected ivtv: Radio detected
tuner: Ignoring new-style parameters in presence of obsolete ones
tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0
ivtv: i2c attach [client=(tuner unset),ok]
saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7115: detecting saa7115 client on address 0x42
saa7115: writing init values
ivtv: i2c attach [client=saa7115[0],ok]
saa7115: status: (1E) 0x48, (1F) 0xc0
saa7127: Ignoring new-style parameters in presence of obsolete ones
saa7127: video encoder driver version V 0.3 loaded
saa7127: detecting saa7127 client on address 0x88
saa7127: Selecting NTSC video Standard
saa7127: Selecting S-Video+Composite
saa7127: Turn WSS off
saa7127: Widescreen Mode 4:3 Full Format
saa7127: Selecting Normal Encoder Input
saa7127: Enable Video Output
ivtv: i2c attach [client=saa7127[0],ok]
msp34xx: ivtv version
msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode,
simpler (G)                            no-thread mode msp34xx: $Id$
compiled on: May  4 2005 21:41:18 ivtv: i2c attach [client=MSP3448W-
A2,ok] ivtv: Encoder revision: 0x02040024
ivtv: Encoder Firmware may be buggy, use version 0x02040011
ivtv: Decoder revision: 0x02020023
ivtv: Configuring WinTV PVR 350 card with 9 streams
ivtv: Create DMA stream 0 using 256 16384 byte buffers  4194304 kbytes
total ivtv: Registered v4l2 device, streamtype 0 minor 1
ivtv: Create DMA stream 1 
ivtv: Registered v4l2 device, streamtype 1 minor 32
ivtv: Create stream 2 using 40 52224 byte buffers  2097152 kbytes total
ivtv: Registered v4l2 device, streamtype 2 minor 224
ivtv: Create DMA stream 3 using 455 4608 byte buffers  2097152 kbytes
total ivtv: Registered v4l2 device, streamtype 3 minor 24
ivtv: Create stream 4 
ivtv: Registered v4l2 device, streamtype 4 minor 67
ivtv: Create DMA stream 5 using 16 65536 byte buffers  1048576 kbytes
total ivtv: Registered v4l2 device, streamtype 5 minor 16
ivtv: Create stream 6 using 1024 2048 byte buffers  262144 kbytes total
ivtv: Registered v4l2 device, streamtype 6 minor 228
ivtv: Create stream 7 
ivtv: Registered v4l2 device, streamtype 7 minor 232
ivtv: Create DMA stream 8 
ivtv: Registered v4l2 device, streamtype 8 minor 48
ivtv: Setting Tuner 47
tuner: type set to 47 (LG NTSC (TAPE series)) by ivtv i2c driver #0
saa7115: decoder set input (4)
saa7115: now setting Composite input
ivtv: Setting audio matrix to input 3, output 1
ivtv: Switching standard to NTSC.
ivtv: ivtv_enc_thread: pid = 4649, itv = 0xe08de100
ivtv: ivtv_dec_thread: pid = 4650, itv = 0xe08de100
saa7115: decoder set norm NTSC
saa7115: set audio: 0x01
saa7127: Setting Encoder Video Standard
saa7127: Set NTSC Video Mode
saa7127: Selecting NTSC video Standard
ivtv: Initialized WinTV PVR 350, card #0
ivtv: ====================  END INIT IVTV  ====================
ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0)
ivtv-osd: Framebuffer is at decoder-relative address 0x00510000 and has
1704960                            bytes. ivtv-osd: screen coords: [0
0] -> [720 480] ivtv-osd: original global alpha = 208
ivtv-osd: current OSD state = 39
ivtv-osd: new global alpha = 208 (1 255 0)
ivtv-osd: framebuffer at 0xe9510000, mapped to 0xe1790000, size 1350k
ivtv-osd: mode is 720x480x32, linelength=2880
ivtv-osd: fb0: iTVC15 TV out frame buffer device



On Wed, 4 May 2005 18:23:49 -0400
Bill Chmura <Bill at Explosivo.com> wrote:

> 
> Well, that would be cool...
> 
> But I did let it sit... I walked away and came back later kinda sit.  
> 
> Thanks anyway...
> 
> 
> 
> 
> 
> On Wed, 4 May 2005 16:01:43 -0600
> Garry Cook <garrycook at gmail.com> wrote:
> 
> > On 5/4/05, Bill Chmura <Bill at explosivo.com> wrote:
> > > 
> > > Hello,
> > > 
> > > I am helping a friend get his mythbox working... We've got a PVR-350
> > > (He mentioned it was the second revision) and Mythtv from 0.18 and also
> > > from CVS.  In both cases, when we go into setup everything is okay
> > > until we go to the capture cards screen.  Then the whole setup just
> > > freezes.  Nothing, nada.
> > > 
> > > I have not found any errors anywhere.
> > > 
> > > has anyone experienced this?
> > > 
> > > (Gentoo, 2.6 kernel, ivtv 2.0 drivers)
> > > 
> > > Bill
> > > 
> > 
> > IIRC, Jarod mentions something about this in his setup guide... Yeah,
> > here it is:
> > 
> > "
> > It is highly recommended that you go through the setup steps in order.
> > Follow the on-screen instruction, with aid from the MythTV website's
> > documentation on this page:
> > 
> > http://www.mythtv.org/docs/mythtv-HOWTO-9.html 
> > NOTE: your system may appear to hang at step 3; give it time, it isn't
> > locked up, that part just takes a while!
> > "
> > 
> > I never experienced a hang, but this may be what you are running into.
> > 
> > -g
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users at mythtv.org
> > http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
> 
> -- 
> 
> Bill Chmura
> Director of Internet Technology
> Explosivo ITG
> Wolcott, CT
> 
> p: 860.621.8693
> e: bill at Explosivo.com
> w. http://www.explosivo.com
> 


-- 

Bill Chmura
Director of Internet Technology
Explosivo ITG
Wolcott, CT

p: 860.621.8693
e: bill at Explosivo.com
w. http://www.explosivo.com


More information about the mythtv-users mailing list