[mythtv-users] Re: axel's patched kernel kernel panics with
ivtv -- stock fedora one doesn't
Scott White
scott-mythtv at riskboys.com
Sun Feb 1 14:18:13 EST 2004
Hmm, looks like I may be hitting a related problem. This rig is
unchanged and was working 12 hours ago with RH9 and Alex's RPMs and with
my own kernel which includes dvb.
[root at linserv etc]# modprobe ivtv
Segmentation fault
[root at linserv root]# lsmod | grep ivtv
ivtv 89324 1 (initializing)
videodev 8928 0 [ivtv]
i2c-algo-bit 8552 0 [ivtv]
i2c-core 20868 0 [ivtv msp3400 saa7115 tuner
i2c-algo-bit]
[root at linserv root]# rpm -q -a | egrep \
'(kmdl|kernel|ivtv|bttv|v4l|cx88)' | sort
alsa-kmdl-2.4.22-1.2163.nptl_34.rhfc1.at-1.0.2-20.rhfc1.at
cx88-kmdl-2.4.22-1.2163.nptl_34.rhfc1.at-0.0.1-5.rhfc1.at
ivtv-0.1.9-24.rhfc1.at
ivtv-firmware-17_21288-1.at
ivtv-kmdl-2.4.22-1.2163.nptl_34.rhfc1.at-0.1.9-24.rhfc1.at
kernel-2.4.22-1.2163.nptl_34.rhfc1.at
kernel-utils-2.4-9.1.101.fedora
perl-Video-ivtv-0.12-3
Feb 1 17:58:10 linserv kernel: i2c-core.o: i2c core module version
2.8.2 (20031211)
Feb 1 17:58:10 linserv kernel: Linux video capture interface: v1.00
Feb 1 17:58:10 linserv kernel: ivtv: version 0.1.9 (release) loading
Feb 1 17:58:10 linserv kernel: ivtv: SGarray_size = 320, DSGarray_size
= 16
Feb 1 17:58:10 linserv kernel: ivtv: Found an iTVC16 based chip
Feb 1 17:58:10 linserv kernel: PCI: Found IRQ 5 for device 00:0a.0
Feb 1 17:58:10 linserv kernel: ivtv: Unreasonably low latency timer,
setting to 64 (was 32)
Feb 1 17:58:10 linserv kernel: tuner: chip found @ 0xc2
Feb 1 17:58:10 linserv kernel: Unable to handle kernel NULL pointer
dereference at virtual address 000003be
Feb 1 17:58:10 linserv kernel: printing eip:
Feb 1 17:58:10 linserv kernel: c026a29c
Feb 1 17:58:10 linserv kernel: *pde = 0810a067
Feb 1 17:58:10 linserv kernel: *pte = 00000000
Feb 1 17:58:10 linserv kernel: Oops: 0000
Feb 1 17:58:10 linserv kernel: ivtv msp3400 saa7115 tuner videodev
i2c-algo-bit i2c-core parport_pc lp parport nfsd lockd sunrpc autofs4
3c59x floppy sg scsi_mod serial microcode keybdev mo
Feb 1 17:58:10 linserv kernel: CPU: 0
Feb 1 17:58:10 linserv kernel: EIP: 0060:[<c026a29c>] Not tainted
Feb 1 17:58:10 linserv kernel: EFLAGS: 00010097
Feb 1 17:58:10 linserv kernel:
Feb 1 17:58:10 linserv kernel: EIP is at vsnprintf [kernel] 0x2ec
(2.4.22-1.2163.nptl_34.rhfc1.at)
Feb 1 17:58:10 linserv kernel: eax: 000003be ebx: 0000000a ecx:
000003be edx: fffffffe
Feb 1 17:58:10 linserv kernel: esi: c03ad87a edi: 00000000 ebp:
c03adc5f esp: c80edd18
Feb 1 17:58:10 linserv kernel: ds: 0068 es: 0068 ss: 0068
Feb 1 17:58:10 linserv kernel: Process modprobe (pid: 2416,
stackpage=c80ed000)
Feb 1 17:58:10 linserv kernel: Stack: c03ad876 c03adc5f ffffffff
ffffffff 0000000a ffffffff 00000000 00000002
Feb 1 17:58:10 linserv kernel: ffffffff ffffffff c03ad860
00000246 c839b7a8 00000000 c011cfe4 c03ad860
Feb 1 17:58:10 linserv kernel: 00000400 d093b71b c80edd90
00000061 00000061 00000000 c839b700 c839b700
Feb 1 17:58:10 linserv kernel: Call Trace: [<c011cfe4>] printk
[kernel] 0x64 (0xc80edd50)
Feb 1 17:58:10 linserv kernel: [<d093b71b>] .rodata.str1.32 [tuner]
0x81b (0xc80edd5c)
On Sun, 2004-02-01 at 11:28, Jarod C. Wilson wrote:
> 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-------------
More information about the mythtv-users
mailing list