[mythtv-users] Re: axel's patched kernel kernel panics with ivtv -- stock fedora one doesn't

Jarod C. Wilson jcw at wilsonet.com
Sun Feb 1 06:28:02 EST 2004


On Feb 1, 2004, at 1:23 AM, Axel Thimm wrote:

> On Sun, Feb 01, 2004 at 12:57:36AM -0800, Reza Naima wrote:
>> I removed Axel's kernel, and all the various ivtv/bttv drivers.  I
>> reinstalled the kernel RPMs, and built the ivtv driver by hand.  It
>> seemed to work this time.
>>
>> I'm guessing something must have gotten out of whack.  I'm just glad I
>> didn't have to do a full rebuild like I had planned.
>
> O.K., so it's the ivtv driver. Which version are you using now? The
> 0.1.9 released version or the CVS snapshot?
> -- 
> Axel.Thimm at physik.fu-berlin.de

This may be a more general problem, actually. There's an almost 
identical posting on the v4l mailing lists for someone using bttv 
0.9.12 with a pcHDTV card. My oopses looked nearly identical, but with 
ivtv inserted instead of bttv in most places. That leads me to believe 
it may not actually be the bttv module itself, but rather something 
like the msp3400 or tuner modules causing the problem. See below... 
(FYI, the oops below is just after msp3400 loads, mine was just after 
tuner loaded, so who knows what the real culprit is). I can provide a 
full listing like below for my system if it helps.


------------from v4l list-------------
From: jklaas <jklaas at comcast.net>
Date: January 28, 2004 8:32:15 AM PST
To: video4linux-list at redhat.com
Subject: Kernel oops with 0.9.12
Reply-To: video4linux-list at redhat.com


Hello all,

I am making another attempt at doing a pvr box, this time with a pcHDTV
card.

I am using Gentoo linux on an nforce2 based motherboard (Biostar M7NCD)
with an AMD 2500+ and 512MB DDR333.  I have an nVidia MX440SE based 
video
card with the 3DFX VooDoo tv 200 and the pcHDTV capture card.

After looking through the nforcershq lists, I decided to go with the
mm set of patches to the 2.6.1 kernel.  This patchset includes support 
for
the pcHDTV card and uses the latest bttv drivers (0.9.12).  I also 
looked
through the archives for this list to see what I could find and didn't 
see
any description of my problem.

It doesn't appear to matter when I load the bttv drivers relative to the
other pieces that are needed to run (like the sound and network 
drivers).
When I insmod bttv (after loading the other modules necessary: msp3400,
btcx-risc, i2c-algo-bit, video-buf) I get the following kernel oops:

lindvr bttv: driver version 0.9.12 loaded
lindvr bttv: using 8 buffers with 2080k (520 pages) each for capture
lindvr bttv: Bt8xx card found (0).
lindvr bttv0: Bt878 (rev 17) at 0000:01:07.0, irq: 11, latency: 32, 
mmio: 0xe6000000
lindvr bttv0: detected: pcHDTV HD-2000 TV [card=112], PCI subsystem ID 
is 7063:2000
lindvr bttv0: using: pcHDTV HD-2000 TV [card=112,autodetected]
lindvr bttv0: gpio: en=00000000, out=00000000 in=0080007f [init]
lindvr i2c_adapter i2c-0: registered as adapter #0
lindvr bttv0: using tuner=42
lindvr bttv0: i2c: checking for MSP34xx @ 0x80... <7>i2c_adapter i2c-0: 
master_recv: reading 1 bytes.
lindvr Unable to handle kernel NULL pointer dereference at virtual 
address 00000000
lindvr printing eip:
lindvr e091e1c7
lindvr *pde = 00000000
lindvr Oops: 0000 [#1]
lindvr PREEMPT
lindvr CPU:    0
lindvr EIP:    0060:[<e091e1c7>]    Not tainted VLI
lindvr EFLAGS: 00010282
lindvr EIP is at i2c_master_recv+0xd7/0x130 [i2c_core]
lindvr eax: 00000000   ebx: e096fe20   ecx: 00000001   edx: e0970018
lindvr esi: ffffff87   edi: e096fe04   ebp: dddcbe18   esp: dddcbde4
lindvr ds: 007b   es: 007b   ss: 0068
lindvr Process modprobe (pid: 5122, threadinfo=dddca000 task=deaff900)
lindvr Stack: e096fe04 dddcbdfc e097008c ffffff87 00000001 00000040 
00010040 00000001
lindvr dddcbe33 00000246 00000080 e096fe00 e09628df dddcbe40 e09602fa 
e0970018
lindvr dddcbe33 00000001 00000080 0096fe30 e096fe00 00000000 00000001 
dddcbe5c
lindvr Call Trace:
lindvr [<e09602fa>] bttv_I2CRead+0x8a/0x100 [bttv]
lindvr [<e095b882>] bttv_init_card2+0x372/0x630 [bttv]
lindvr [<e095a1cf>] bttv_probe+0x47f/0x6b0 [bttv]
lindvr [<c0167024>] dput+0x24/0x270
lindvr [<c027517b>] pci_device_probe_static+0x4b/0x60
lindvr [<c02751cc>] __pci_device_probe+0x3c/0x50
lindvr [<c027520c>] pci_device_probe+0x2c/0x50
lindvr [<c02a29cd>] bus_match+0x3d/0x70
lindvr [<c02a2afa>] driver_attach+0x5a/0x90
lindvr [<c02a2df4>] bus_add_driver+0xa4/0xc0
lindvr [<c02a3251>] driver_register+0x31/0x40
lindvr [<c02753eb>] pci_register_driver+0x5b/0x80
lindvr [<e095a909>] bttv_init_module+0xa9/0x130 [bttv]
lindvr [<c01332a0>] sys_init_module+0x130/0x280
lindvr [<c038145b>] syscall_call+0x7/0xb
lindvr
lindvr Code: 1c 0f 8e 73 16 00 00 8b 4d 10 8b 55 08 8b 42 08 89 74 24 
0c 89 4c 24 10 89 44 24 14 89 d0 83 c0 74 89 44 24 08 8b 82 8c 00 00 00 
<8b> 00 c7 04 24 60 ff 91 e0 89 44 24 04 e8 a7 ed 7f df 8b 45 10

Can anyone help me out?
------------end from v4l list-------------

-- 
Jarod C. Wilson, RHCE

Got a question? Read this first...
     http://catb.org/~esr/faqs/smart-questions.html
MythTV, Fedora Core & ATrpms documentation:
     http://wilsonet.com/mythtv/
MythTV Searchable Mailing List Archive
     http://www.gossamer-threads.com/archive/MythTV_C2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040201/5c478488/PGP.pgp


More information about the mythtv-users mailing list