[linux-dvb] TwinhanDTV Sat CI 1030D (VP-1030C)

Robert Kloibhofer r.kloibhofer at inode.at
Sun Jul 10 16:22:44 CEST 2005


Hello!

Allan,

I've applied your patch as well as the 6 patches you have mentioned in
your post against a 2.6.12.2 kernel.

Modules loaded as before, but the result is not better.
scan with Astra-19.2E does find some channels now, but there are lots of
doubles and also lots of tuning failed messages.
there are lots of messages in the kernel logs now, even without any
debug options set. I've added an excerpt at the end of the mail.

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

Another Problem i have seems to arise from the combination of the
Twinhan card with an old analog Haupauge WinTV card, which i had removed
for the tests in my first mail.

When both cards are in place, sometimes the dst module isn't able to
initialise or something. I think this mainly appears, when the analog
card is detected as the first card, but sometimes also if they are the
other way round, as in this case (debug options enabled):

--snip--
Jul 10 13:08:26 okibil kernel: DVB: registering new adapter (bttv0).
Jul 10 13:08:26 okibil kernel: write_dst: write_dst error (err == -5,
len == 0x08, b0 == 0x00)
Jul 10 13:08:29 okibil last message repeated 3 times
Jul 10 13:08:30 okibil kernel: dst_check_ci: write not successful, maybe
no card?
Jul 10 13:08:30 okibil kernel: dvb-bt8xx: A frontend driver was not
found for device 109e/0878 subsystem 1822/0001
--snip--

I now have the Twinhan DTV detected as first card. When i now access the
radio0 device i get Ooops, television works, as long as i don't use
radio. It doesn't matter here, whether dvb_bt8xx and dst are loaded or
not.

Unable to handle kernel NULL pointer dereference at 0000000000000034 RIP: 
<ffffffff8883a290>{:bttv:radio_open+80}
PGD 243f5067 PUD 24753067 PMD 0
Oops: 0000 [1]
CPU 0
Modules linked in: tvaudio msp3400 tuner bttv video_buf firmware_class i2c_algo_bit v4l2_common btcx_risc tveeprom videodev md5 ipv6 nfs lockd sunrpc snd_via82xx gameport snd_ac97_codec snd_mpu401_uart snd_rawmidi snd_seq_device snd_bt87x snd_pcm_oss snd_mixer_oss snd_pcm snd_timer snd soundcore snd_page_alloc reiserfs nvidia ext3 jbd mbcache ide_generic
via82cxxx trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old opti621 ns87415 hpt366 hpt34x generic cy82c693 cs5530 cs5520 cmd64x atiixp amd74xx alim15x3 aec62xx
pdc202xx_new usbhid ide_cd cdrom ehci_hcd uhci_hcd ohci1394 ieee1394 shpchp pci_hotplug sd_mod w83627hf eeprom i2c_sensor i2c_isa i2c_viapro i2c_core tsdev evdev sk98lin psmouse sata_via libata
scsi_mod ide_disk ide_core fbcon tileblit font bitblit unix
Pid: 7226, comm: gnomeradio Tainted: P      2.6.12.2-trebor1
RIP: 0010:[__nosave_end+138359440/2132512768] <ffffffff8883a290>{:bttv:radio_open+80}
RSP: 0000:ffff8100246c1e18  EFLAGS: 00010292
RAX: 0000000000000000 RBX: 0000000000000040 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: ffff810033cff9a0
RBP: 0000000000000000 R08: 0000000000000006 R09: 0000000000000004
R10: ffff81002adc2b68 R11: 0000000000000000 R12: ffff81002367b580
R13: ffff810033cff9a0 R14: 0000000000000000 R15: 0000000000000000
FS:  00002aaaab19e700(0000) GS:ffffffff804189c0(0063) knlGS:0000000056339a20
CS:  0010 DS: 002b ES: 002b CR0: 0000000080050033
CR2: 0000000000000034 CR3: 0000000024795000 CR4: 00000000000006e0
Process gnomeradio (pid: 7226, threadinfo ffff8100246c0000, task ffff810025e1a760)
Stack: ffffffff88819420 ffffffff88819400 ffff81002367b580 ffffffff888171b0
       ffff81003a7d4680 ffff810033cff9a0 0000000000000000 0000000000000000
       ffff81002367b580 ffffffff801787fe
Call Trace:<ffffffff888171b0>{:videodev:video_open+224} <ffffffff801787fe>{chrdev_open+302}
       <ffffffff8016f40d>{dentry_open+205} <ffffffff8016f322>{filp_open+66}
       <ffffffff802b8cb4>{thread_return+0} <ffffffff8016f558>{get_unused_fd+88}
       <ffffffff80121eb9>{sys32_open+73} <ffffffff80120381>{ia32_sysret+0}

Code: 39 58 34 74 0d ff c1 39 f1 72 e5 48 85 ed 75 15 eb 09 48 8d
RIP <ffffffff8883a290>{:bttv:radio_open+80} RSP <ffff8100246c1e18>Jul 10 13:58:44 okibil kernel: CR2: 0000000000000034

I want to figure this thing out further, but first i'll try a patch from
http://linuxtv.org/downloads/patches/2.6.12/ and maybe 2.6.13 with cvs.

Greetings,
Robert

==========================

kernel output while scanning:
(all in all thees are over 9000 lines during the full scan)

Jul 10 14:50:25 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:27 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:27 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:27 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:27 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:27 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:27 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:27 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:27 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:27 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:27 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:30 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:30 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:30 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:30 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:30 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:30 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:30 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:30 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:30 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:30 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:32 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:32 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:32 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:32 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:32 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:32 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:32 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:32 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:32 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:32 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:32 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:32 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:32 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:32 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:32 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:32 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:32 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:32 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:32 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:33 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:33 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:33 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:33 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:33 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:33 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:33 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:33 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:33 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:33 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:33 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:33 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:33 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
Jul 10 14:50:33 okibil kernel: dst_error_recovery: Trying to return from previous errors...
Jul 10 14:50:33 okibil kernel: dst_error_bailout: Trying to bailout from previous error...
Jul 10 14:50:33 okibil kernel: dst_write_tuna: write not successful
Jul 10 14:50:33 okibil kernel: dst_set_polarization: Polarization=[Vertical]
Jul 10 14:50:33 okibil kernel: write_dst: _write_dst error (err == -5, len == 0x0a, b0 == 0x09)
...






More information about the linux-dvb mailing list