Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Start of TV application locks Computer



Hello,

I want to use a IBM Netfinity 7000 (Dual PIII Xeon 550) with a Hauppauge 
Nexus-S Rev. 2.1 and vdr.

Unfortunately I have a problem with vdr or szap. The maschine locks up 
when I start an application. Maybe someone can give me a hint about 
solving my problem.

When I load the driver I get the following output:

Nov 27 21:42:28 S003 kernel: Linux video capture interface: v1.00
Nov 27 21:42:28 S003 kernel: saa7146: register extension 'dvb'.
Nov 27 21:42:29 S003 kernel: saa7146: found saa7146 @ mem f8c18c00 
(revision 1,irq 35) (0x13c2,0x0003).
Nov 27 21:42:29 S003 kernel: DVB: registering new adapter 
(Technotrend/Hauppauge WinTV Nexus-S rev2.X).
Nov 27 21:42:29 S003 kernel: adapter has MAC addr = 00:d0:5c:21:05:40
Nov 27 21:42:29 S003 kernel: dvb-ttpci: gpioirq unknown type=0 len=0
Nov 27 21:42:29 S003 kernel: dvb-ttpci: info @ card 0: firm f0240009, 
rtsl b0250018, vid 71010068, app 8000261c
Nov 27 21:42:29 S003 kernel: dvb-ttpci: firmware @ card 0 supports CI 
link layer interface
Nov 27 21:42:29 S003 kernel: dvb-ttpci: adac type set to 0 @ card 0
Nov 27 21:42:29 S003 kernel: saa7146_vv: saa7146 (0): registered device 
video0 [v4l2]
Nov 27 21:42:30 S003 kernel: DVB: registering frontend 0 (ST STV0299 
DVB-S)...
Nov 27 21:42:30 S003 kernel: dvb-ttpci: found av7110-0.

I'm using devfs and the devices are created:

S003 dev # ls -la dvb/*
total 0
drwxr-xr-x  1 root root       0 Jan  1  1970 .
drwxr-xr-x  1 root root       0 Jan  1  1970 ..
crw-rw----  1 root video 212, 1 Jan  1  1970 audio0
crw-rw----  1 root video 212, 6 Jan  1  1970 ca0
crw-rw----  1 root video 212, 4 Jan  1  1970 demux0
crw-rw----  1 root video 212, 5 Jan  1  1970 dvr0
crw-rw----  1 root video 212, 3 Jan  1  1970 frontend0
crw-rw----  1 root video 212, 7 Jan  1  1970 net0
crw-rw----  1 root video 212, 8 Jan  1  1970 osd0
crw-rw----  1 root video 212, 0 Jan  1  1970 video0

The card gets an interrupt:

S003 root # cat /proc/interrupts
           CPU0       CPU1
  0:    2244172        143    IO-APIC-edge  timer
  1:          4          5    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
  8:          2          0    IO-APIC-edge  rtc
 18:          0          0   IO-APIC-level  uhci_hcd
 30:       4136          0   IO-APIC-level  eth1
 31:      41650          0   IO-APIC-level  eth0
 33:      11537         19   IO-APIC-level  ips
 35:          1          1   IO-APIC-level  saa7146 (0)
NMI:          0          0
LOC:    2243859    2243858
ERR:          0
MIS:          0

AFAIK till now everything looks fine.

Now I use "szap ZDF" and the maschine locks up. All I can do is to power 
off. I changed the PCI slot. I tried various kernels with SMP and 
without. Currently I'm using the mm patch from kernel.org because I 
read there are newer DVB drivers included. I also tried the stable 
kernel with cvs-driver and without. I got the tip to verifiy the module 
and kernl version. The versions match. Always the same. When I start an 
application like vdr or szap the maschine locks up. I tried the almost 
same kernel in another SMP maschine (Primergy 561 Dual Pentium Pro 200) 
with the same card and everything is ok. I use strace to get more 
information but I can't interpret the result. Maybe someone can help 
me.

S003 2.6.10-rc2-mm3 # strace szap ZDF
execve("/usr/bin/szap", ["szap", "ZDF"], [/* 41 vars */]) = 0
uname({sys="Linux", node="S003", ...})  = 0
brk(0)                                  = 0x804c000
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or 
directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=32433, ...}) = 0
mmap2(NULL, 32433, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe4000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pP\1\000"..., 
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1189968, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7fe3000
mmap2(NULL, 1120876, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 
0) = 0xb7ed1000
mmap2(0xb7fdd000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x10b) = 0xb7fdd000
mmap2(0xb7fe0000, 10860, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_ANONYMOUS, -1, 0) = 0xb7fe0000
close(3)                                = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fe3780, 
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, 
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7fe4000, 32433)               = 0
open("/dev/urandom", O_RDONLY)          = 3
read(3, "\3263\353o", 4)                = 4
close(3)                                = 0
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7feb000
write(1, "reading channels from file \'/roo"..., 55reading channels from 
file '/root/.szap/channels.conf'
) = 55
brk(0)                                  = 0x804c000
brk(0x806d000)                          = 0x806d000
open("/root/.szap/channels.conf", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=59901, ...}) = 0
mmap2(NULL, 131072, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 
0) = 0xb7eb1000
read(3, ":->Favoriten\nDas Erste:11837:hC3"..., 131072) = 59901
write(1, "zapping to 3 \'ZDF\':\n", 20zapping to 3 'ZDF':
) = 20
write(1, "sat 0, frequency = 11954 MHz H, "..., 82sat 0, frequency = 
11954 MHz H, symbolrate 27500000, vpid = 0x006e, apid = 0x0078
) = 82
close(3)                                = 0
munmap(0xb7eb1000, 131072)              = 0
write(1, "using \'/dev/dvb/adapter0/fronten"..., 67using 
'/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
) = 67
open("/dev/dvb/adapter0/frontend0", O_RDWR|O_NONBLOCK) = 3
ioctl(3, 0x80a86f3d, 0x804ba00)         = 0
open("/dev/dvb/adapter0/demux0", O_RDWR) = 4
open("/dev/dvb/adapter0/demux0", O_RDWR) = 5
ioctl(3, 0x6f42, 0x1)                   = 0
ioctl(3, 0x6f43

The last line is not always shown. Any hints where to search the 
problem?

Thanks in advance.

Philipp




Home | Main Index | Thread Index