[mythtv-users] seg fault after upgrade to mythtv-0.14

Wayne Vosberg wayne at mindtunnel.com
Thu Feb 5 12:26:52 EST 2004


I upgraded MythTV to .14 (from .13) and now mythfrontend and mythtvsetup
seg fault.  (dual PII-450, PVR-250, Nvidia GeForce4 MX 440)

- sound is working
- tv out is working (X on TV)
- "mplayer /dev/video0" works just fine.
- mythbackend appears to be fine
- mythfrontend fails with a Segmentation fault:

$ mythfrontend --verbose all
2004-02-05 10:11:40 mythfrontend version: 0.14.20040123-1 www.mythtv.org
2004-02-05 10:11:40 Enabled verbose msgs :all
Segmentation fault

$ tail /var/log/mythtv/mythtv/mythbackend.log
Starting up as the master server.
2004-02-05 09:13:59 mythbackend version: 0.14.20040123-1 www.mythtv.org
2004-02-05 09:13:59 Enabled verbose msgs : important general
2004-02-05 09:14:02 Found changes in the todo list.

Also, if I try to 'rmmod ivtv' I get a seg fault and a kernel bug 
message logged:

# rmmod ivtv
Segmentation fault
Feb  5 10:22:30 homer kernel: ------------[ cut here ]------------
Feb  5 10:22:30 homer kernel: kernel BUG at pid.c:153!
Feb  5 10:22:30 homer kernel: invalid operand: 0000
Feb  5 10:22:30 homer kernel: snd-mixer-oss nfs nvidia-1.0-4363 
usbserial lirc_i2c lirc_dev ivtv msp3400 saa7115 tuner i2c-algo-bit 
i2c-core videodev snd-seq-midi snd-seq-midi-event snd-se
Feb  5 10:22:30 homer kernel: CPU:    1
Feb  5 10:22:30 homer kernel: EIP:    0060:[<c01368d0>]    Tainted: P 
Feb  5 10:22:30 homer kernel: EFLAGS: 00010246
Feb  5 10:22:30 homer kernel: 
Feb  5 10:22:30 homer kernel: EIP is at find_task_by_pid [kernel] 0x60 
(2.4.22-1.2166.nptl_35.rhfc1.atsmp)
Feb  5 10:22:30 homer kernel: eax: 01000000   ebx: 000009b2   ecx: 
c044a8b8   edx: 00004dd8
Feb  5 10:22:30 homer kernel: esi: f2ad4604   edi: e0583ec0   ebp: 
00000000   esp: e0583eac
Feb  5 10:22:30 homer kernel: ds: 0068   es: 0068   ss: 0068
Feb  5 10:22:30 homer kernel: Process rmmod (pid: 3621, stackpage=e0583000)
Feb  5 10:22:30 homer kernel: Stack: f2ad4680 f2ad2870 000009b2 f0aa6a10 
00000286 00000000 00000000 00000001 
Feb  5 10:22:30 homer kernel:        e0583ecc e0583ecc c19a3300 e0583ef0 
f0a9d1e8 00000000 00000000 00000001 
Feb  5 10:22:30 homer kernel:        e0583eec e0583eec 00000000 00000001 
e0583efc ec333d80 00000003 00000000 
Feb  5 10:22:30 homer kernel: Call Trace:   [<f2ad4680>] irctls 
[lirc_dev] 0x0 (0xe0583eac)
Feb  5 10:22:30 homer kernel: [<f2ad2870>] lirc_unregister_plugin 
[lirc_dev] 0xe0 (0xe0583eb0)
Feb  5 10:22:30 homer kernel: [<f0aa6a10>] detach_inform [ivtv] 0x0 
(0xe0583eb8)
Feb  5 10:22:30 homer kernel: [<f0a9d1e8>] msp_detach [msp3400] 0x88 
(0xe0583edc)
Feb  5 10:22:30 homer kernel: [<f0ab4984>] ivtv_cards [ivtv] 0x284 
(0xe0583f0c)
Feb  5 10:22:30 homer kernel: [<f2ad6729>] ir_detach [lirc_i2c] 0x19 
(0xe0583f10)
Feb  5 10:22:30 homer kernel: [<f0a89211>] i2c_del_adapter_Rsmp_d5ead764 
[i2c-core] 0x81 (0xe0583f1c)
Feb  5 10:22:30 homer kernel: [<f0ab4700>] ivtv_cards [ivtv] 0x0 
(0xe0583f30)
Feb  5 10:22:30 homer kernel: [<f0aa49eb>] ivtv_remove [ivtv] 0x11b 
(0xe0583f40)
Feb  5 10:22:30 homer kernel: [<f0ab4984>] ivtv_cards [ivtv] 0x284 
(0xe0583f44)
Feb  5 10:22:30 homer kernel: [<f0ab2940>] ivtv_pci_driver [ivtv] 0x0 
(0xe0583f58)
Feb  5 10:22:30 homer kernel: [<c01fb418>] pci_unregister_driver 
[kernel] 0x58 (0xe0583f60)
Feb  5 10:22:30 homer kernel: [<f0aa65bd>] module_cleanup [ivtv] 0xd 
(0xe0583f70)
Feb  5 10:22:30 homer kernel: [<f0ab2940>] ivtv_pci_driver [ivtv] 0x0 
(0xe0583f74)
Feb  5 10:22:30 homer kernel: [<c0126572>] free_module [kernel] 0xd2 
(0xe0583f90)
Feb  5 10:22:30 homer kernel: [<c01257a7>] sys_delete_module [kernel] 
0xe7 (0xe0583fa4)
Feb  5 10:22:30 homer kernel: [<c0109b27>] system_call [kernel] 0x33 
(0xe0583fc0)
Feb  5 10:22:30 homer kernel: 
Feb  5 10:22:30 homer kernel: Code: 0f 0b 99 00 eb 9f 2a c0 eb c0 8d b6 
00 00 00 00 56 53 83 ec 


More detailed configuration info follows.   Anybody else see this on the 
.14 upgrade or
have any idea what could be causing this?

I want my MythTV ;)
- Wayne

--------------------------------------------------------------------------------------------------------------------

# uname -r
2.4.22-1.2166.nptl_35.rhfc1.atsmp

# rpm -qa | grep -e kmdl -e ivtv -e alsa -e lirc -e nvidia | sort
alsa-driver-1.0.2-20.rhfc1.at
alsa-kmdl-smp-2.4.22-1.2166.nptl_35.rhfc1.at-1.0.2-20.rhfc1.at
alsa-lib-1.0.2-10.rhfc1.at
alsa-tools-1.0.1-3.rhfc1.at
alsa-utils-1.0.2-5.rhfc1.at
gnome-alsamixer-0.9.6-2.fr
ivtv-0.1.9-24.rhfc1.at
ivtv-firmware-17_21288-1.at
ivtv-kmdl-smp-2.4.22-1.2166.nptl_35.rhfc1.at-0.1.9-24.rhfc1.at
lirc-0.7.0-pre2_16.rhfc1.at
lirc-kmdl-smp-2.4.22-1.2166.nptl_35.rhfc1.at-0.7.0-pre2_16.rhfc1.at
lirc-lib-0.7.0-pre2_16.rhfc1.at
lirc-lib-devel-0.7.0-pre2_16.rhfc1.at
perl-Video-ivtv-0.12-3
strictdep-kernel-kmdl-2.4.22-1.2140.nptl-1-1.rhfc1.at
strictdep-kernel-kmdl-2.4.22-1.2149.nptl-1-1.rhfc1.at

# rpm -qa | grep myth | sort
libmyth-0.14-58.rhfc1.at
mythbrowser-0.14-9.rhfc1.at
mythdvd-0.14-23.rhfc1.at
mythgallery-0.14-45.rhfc1.at
mythgame-0.14-44.rhfc1.at
mythmkmovie-1.0.1-3.rhfc1.at
mythmusic-0.14-45.rhfc1.at
mythnews-0.14-15.rhfc1.at
mythtv-0.14-58.rhfc1.at
mythtv-backend-0.14-58.rhfc1.at
mythtv-frontend-0.14-58.rhfc1.at
mythtv-suite-0.14-37.at
mythtv-theme-gant-0.pr1-1.at
mythtv-theme-photo-4-5.at
mythtv-theme-purplegalaxy-0.20031214-2.at
mythtv-theme-sleek-0.35-1.at
mythtv-theme-visor-0.13.1-3.at
mythvideo-0.14-41.rhfc1.at
mythweather-0.14-42.rhfc1.at
mythweb-0.14-44.rhfc1.at



# lspci
00:00.0 Host bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX Host bridge 
(rev 03)
00:01.0 PCI bridge: Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX AGP bridge 
(rev 03)
00:04.0 ISA bridge: Intel Corp. 82371AB/EB/MB PIIX4 ISA (rev 02)
00:04.1 IDE interface: Intel Corp. 82371AB/EB/MB PIIX4 IDE (rev 01)
00:04.2 USB Controller: Intel Corp. 82371AB/EB/MB PIIX4 USB (rev 01)
00:04.3 Bridge: Intel Corp. 82371AB/EB/MB PIIX4 ACPI (rev 02)
00:09.0 Multimedia video controller: Internext Compression Inc iTVC15 
MPEG-2 Encoder (rev 01)      (PVR-250)
00:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 06)
00:0b.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 
440 AGP 8x] (rev a2)

# lsmod | grep -e ivtv -e alsa -e lirc -e nvid -e sound
nvidia-1.0-4363      1669224   4  (autoclean)
lirc_i2c                4768   0  (autoclean) (unused)
lirc_dev               10096   1  (autoclean) [lirc_i2c]
ivtv                   94592   0  (autoclean)
i2c-algo-bit            8584   0  (autoclean) [ivtv]
i2c-core               21572   0  (autoclean) [lirc_i2c ivtv msp3400 
saa7115 tuner i2c-algo-bit]
videodev                9280   3  (autoclean) [ivtv]
soundcore               7044   3  [snd]




Boot up messages:
mythbackend: mythbackend startup succeeded
alsasound: Starting sound driver: snd-ens1371
alsasound: done
kernel: Linux video capture interface: v1.00
kernel: i2c-core.o: i2c core module version 2.8.2 (20031211)
rc: Starting alsasound:  succeeded
kernel: ivtv: version 0.1.9 (release) loading
kernel: ivtv: SGarray_size = 340, DSGarray_size = 16
kernel: ivtv: Found an iTVC15 based chip
kernel: ivtv: Unreasonably low latency timer, setting to 64 (was 32)
kernel: tuner: chip found @ 0xc2
kernel: tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and 
compatibles)) [insmod]
kernel: saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
kernel: saa7114.c: detecting saa7114 client on address 0x42
kernel: saa7115.c: writing init values
lircd 0.7.0pre2[2441]: lircd(hauppauge) ready
lircd: lircd startup succeeded
kernel: msp34xx: init: chip=MSP3435G-B6, has NICAM support
kernel: msp3410: daemon started
kernel: ivtv: Encoder revision: 0x02040011
kernel: ivtv: Decoder revision: 0x02020023
kernel: ivtv: Registered v4l2 device, minor 0
kernel: ivtv: Registered v4l2 device, minor 32
kernel: ivtv: Registered v4l2 device, minor 224
kernel: ivtv: loaded
kernel: lirc_dev: IR Remote Control driver registered, at major 61
kernel: bttv: driver version 0.7.107 loaded
kernel: bttv: using 4 buffers with 2080k (8320k total) for capture
kernel: bttv: Host bridge is Intel Corp. 440BX/ZX/DX - 82443BX/ZX/DX 
Host bridge

(NOTE: next errors have always been there ------------------- I use the 
tuner & s-video inputs and both are fine
kernel: bttv: Host bridge needs ETBF enabled.
insmod: 
/lib/modules/2.4.22-1.2166.nptl_35.rhfc1.atsmp/kernel/drivers/media/video/bttv.o: 
init_module: No such device
insmod: Hint: insmod errors can be caused by incorrect module 
parameters, including invalid IO or IRQ parameters.       You may find 
more information in syslog or the output from dmesg
insmod: 
/lib/modules/2.4.22-1.2166.nptl_35.rhfc1.atsmp/kernel/drivers/media/video/bttv.o: 
insmod bttv failed
modprobe: modprobe: Can't locate module rivatv
------------------)

kernel: lirc_i2c: chip found @ 0x18 (Hauppauge IR)
kernel: lirc_dev: lirc_register_plugin:sample_rate: 10
kernel: saa7115[0]: decoder set norm NTSC
kernel: saa7115[0] set audio: 0x02
kernel: saa7115[0]: decoder set picture bright=128 contrast=64 
saturation=64 hue=0
kernel: saa7115[0]: decoder set picture bright=128 contrast=64 
saturation=50 hue=0
kernel: saa7115[0]: decoder set picture bright=135 contrast=64 
saturation=50 hue=0
kernel: saa7115[0]: decoder set picture bright=135 contrast=64 
saturation=50 hue=0
modprobe: modprobe: Can't locate module char-major-10-134
kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module  
1.0-4363  Sat Apr 19 17:46:46 PDT 2003
insmod: Warning: loading 
/lib/modules/2.4.22-1.2166.nptl_35.rhfc1.atsmp/updates/drivers/video/nvidia/nvidia-1.0-4363.o 
will taint the kernel: non-GPL license - NVIDIA
insmod:   See http://www.tux.org/lkml/#export-tainted for information 
about tainted modules
insmod: Module nvidia-1.0-4363 loaded, with warnings
kernel: ivtv: ivtv-api.c: unknown ioctl 0x803c7601
modprobe: modprobe: Can't locate module char-major-81-1




More information about the mythtv-users mailing list