Mailing List Archive

Red Hat 8.0- mythtv - Hangs system
I'm having a problem getting mythtv functioning after converting to Red
Hat 8.0.

After starting mythtv the system hangs completely and requires
rebooting.

Both my sound card and tv tuner card appear to be working ok with the
OS. I can watch tv with xawtv etc. and record audio without problems.
Whenever I try to start mythtv the system hangs.

It reports that it is changing state to running the tv and almost
immediately hangs the system.

I can tell that it is enabling the tv tuner card with the mixer adjusted
I can hear sound. But the system is completely hung and has to be shut
down ugly (flip the reset button).

I have tried to run the last release and a current shot from cvs with
the same response. I tried both OSS and Alsa drivers for my sound
card. I am currently using Alsa.

My system config:
Red Hat 8.0
Sound Blaster Live
ATI TV Wonder

Tried Linux kernels:
Red Hat linux-2.4.18-14
Generic kernel linux-2.4.19

I did have mythtv working with this sound card/tv tuner prior to moving
to Red Hat 8.0.

What is the easiest way to enable debugging symbols in mythtv? I'd like
to trace the problem a little further with gdb.

Anyone have suggestions or experiencing similiar problems?

Thanks,
Brent Hills.
Re: Red Hat 8.0- mythtv - Hangs system [ In reply to ]
Can you to an strace and try to record what you see on the screen, just
prior to the hang? Or perhaps you can try sshing into the system?

On Sat, 2002-11-09 at 01:39, Brent Hills wrote:
> I'm having a problem getting mythtv functioning after converting to Red
> Hat 8.0.
>
> After starting mythtv the system hangs completely and requires
> rebooting.
>
> Both my sound card and tv tuner card appear to be working ok with the
> OS. I can watch tv with xawtv etc. and record audio without problems.
> Whenever I try to start mythtv the system hangs.
>
> It reports that it is changing state to running the tv and almost
> immediately hangs the system.
>
> I can tell that it is enabling the tv tuner card with the mixer adjusted
> I can hear sound. But the system is completely hung and has to be shut
> down ugly (flip the reset button).
>
> I have tried to run the last release and a current shot from cvs with
> the same response. I tried both OSS and Alsa drivers for my sound
> card. I am currently using Alsa.
>
> My system config:
> Red Hat 8.0
> Sound Blaster Live
> ATI TV Wonder
>
> Tried Linux kernels:
> Red Hat linux-2.4.18-14
> Generic kernel linux-2.4.19
>
> I did have mythtv working with this sound card/tv tuner prior to moving
> to Red Hat 8.0.
>
> What is the easiest way to enable debugging symbols in mythtv? I'd like
> to trace the problem a little further with gdb.
>
> Anyone have suggestions or experiencing similiar problems?
>
> Thanks,
> Brent Hills.
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
Re: Red Hat 8.0- mythtv - Hangs system [ In reply to ]
On Sat, 2002-11-09 at 13:54, GrandMasterLee wrote:
> Can you to an strace and try to record what you see on the screen, just
> prior to the hang? Or perhaps you can try sshing into the system?

strace is a new utility to me. Thanks for suggesting sshing back into
the machine from another. Run locally the strace hung without storing
the file. I pasted the tail end of the script session below. I can
provide more of the strace if needed.

Does the ENOENT open failure indicate the problem source?

open("/dev/video", O_RDWR) = 7
ioctl(7, VIDIOCGTUNER, 0xbffffa60) = 0
ioctl(7, VIDIOCSTUNER, 0xbffffa60) = 0
ioctl(7, EXT2_IOC_GETVERSION, 0xbffffa20) = 0
ioctl(7, EXT2_IOC_SETVERSION, 0xbffff9f0) = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4001b000
write(1, "Probed: /dev/video - Television\n", 32Probed: /dev/video -
Television
) = 32
ioctl(7, EXT2_IOC_SETVERSION, 0xbffff9f0) = 0
write(1, "Probed: /dev/video - Composite1\n", 32Probed: /dev/video -
Composite1
) = 32
ioctl(7, EXT2_IOC_SETVERSION, 0xbffff9f0) = 0
write(1, "Probed: /dev/video - S-Video\n", 29Probed: /dev/video -
S-Video
) = 29
ioctl(7, EXT2_IOC_SETVERSION, 0xbffff9f0) = 0
ioctl(7, VIDIOCSCHAN, 0xbffff9f0) = 0
fcntl64(6, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(6, 0x81c3ea8, 8192) = -1 EAGAIN (Resource
temporarily unavailable)
fcntl64(6, F_SETFL, O_RDWR) = 0
write(6, "\376\0\0\0\3SELECT channel.finetune FRO"..., 258) = 258
read(6, "\1\0\0\1", 4) = 4
read(6, "\1", 1) = 1
read(6, "\33\0\0\2", 4) = 4
read(6, "\7channel\10finetune\3\v\0\0\1\3\3\0\0\0", 27) = 27
read(6, "\1\0\0\3", 4) = 4
read(6, "\376", 1) = 1
brk(0x81cc000) = 0x81cc000
read(6, "\2\0\0\4", 4) = 4
read(6, "\0010", 2) = 2
read(6, "\1\0\0\5", 4) = 4
read(6, "\376", 1) = 1
ioctl(7, VIDIOCSFREQ, 0xbffffa18) = 0
close(7) = 0
open("", O_RDWR) = -1 ENOENT (No such file or
directory)
getrlimit(0x3, 0xbffff608) = 0
pipe([7, 8]) = 0
clone(child_stack=0x81c8e88,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND) = 1457
write(8, "\253\200\0@\5\0\0\0\0\0\0\0pb\6@p\371\377\277T~\0@\232"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
write(8, "\200@u@\0\0\0\0\0\0\0\0\0\37\5\10\370\345\33\10\0\0\0\200"...,
148) = 148
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([] <unfinished ...>
--- SIGRTMIN (Real-time signal 0) ---
<... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system
call)
sigreturn() = ? (mask now [RTMIN])
nanosleep({0, 50000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, Changing from None to WatchingLiveTV
NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, NULL) = 0
nanosleep({0, 1000000}, Read from remote host desktop.openshores.local:
Connection reset by peer
Connection to desktop.openshores.local closed.