[linux-dvb] Twinhan DTV MiniCab DVB-C has many artifacts

Jonek jonek at gmx.net
Sat Feb 11 22:07:28 CET 2006


On Sat, 2006-02-11 at 20:38 +0400, Manu Abraham wrote:
> Jonek wrote:
> > On Fri, 2006-02-10 at 09:58 +0400, Manu Abraham wrote:
> >> Test with this tree, let's know how it looks for you.
> >> http://www.thadathil.net/cgi-bin/hgwebdir.cgi/v4l-algo-test?cmd=archive;node=70266933831bc8efd85ecf808651595f79aede60;type=bz2
> >
> > Tanks for your prompt answer. In the archive you pointed me to I made
> > make and copied the following files over the ones in my current kernel's
> > module dir:
> >
> > # cp bt878.ko dst.ko dst_ca.ko
> > dvb-bt8xx.ko /lib/modules/2.6.15.3/kernel/drivers/media/dvb/bt8xx

[...]

> > ~ > Tuning to : VOX / autocount : 0
> > Using DVB card "DST DVB-C"
> > tuning DVB-C to 458000000
> > inv:2 sr:6900000 fecH:0 mod:3
> > polling....
> > Getting frontend event
> >
> > Unable to handle kernel NULL pointer dereference at virtual address
> > 00000000
> >  printing eip:
> > f93106a1
> > *pde = 00000000
> > Oops: 0002 [#2]
> > PREEMPT SMP 
> > Modules linked in: dvb_bt8xx nxt6000 mt352 dvb_pll sp887x dst_ca
> > dvb_core cx24110 or51211 lgdt330x dst bt878 tuner bttv video_buf
> > v4l2_common btcx_risc tveeprom videodev nvidia bnep rfcomm l2cap nfsd
> > exportfs lockd sunrpc nls_iso8859_15 ntfs dm_mod sd_mod usb_storage
> > scsi_mod hci_usb bluetooth usbhid snd_emu10k1_synth snd_emux_synth
> > snd_seq_virmidi snd_seq_midi_emul snd_seq_midi snd_seq_midi_event
> > snd_seq snd_emu10k1 snd_intel8x0 snd_rawmidi snd_seq_device
> > snd_ac97_codec snd_pcm_oss snd_mixer_oss em8300 snd_pcm adv717x
> > snd_timer snd_ac97_bus snd_util_mem snd_hwdep snd ehci_hcd uhci_hcd
> > sk98lin firmware_class i2c_i801 snd_page_alloc usbcore
> > CPU:    0
> > EIP:    0060:[<f93106a1>]    Tainted: P      VLI
> > EFLAGS: 00210246   (2.6.15.3) 
> > EIP is at dst_tune_frontend+0xf0/0xfc [dst]  
> 
> 
> You need to do a make, and a make install for the modules to work, you 
> copied only the immediate dependencies and hence the Oops.

Ok, thank you for pointing that out. I thought I could copy only needed
modules over to /lib/modules/[current kernel]. Or is that what make
install does - to copy only what's needed?

Sorry for all the typos and mistakes in my last mail :) I was in a
hurry. So here we go again after a make install, anticipating that it
did not work :(.

 # modprobe dst verbose=5

Linux video capture interface: v1.00
bttv: driver version 0.9.16 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
ACPI: PCI Interrupt 0000:02:0d.0[A] -> GSI 21 (level, low) -> IRQ 21
bttv0: Bt878 (rev 17) at 0000:02:0d.0, irq: 21, latency: 64, mmio:
0xf7efe000
bttv0: detected: Twinhan VisionPlus DVB [card=113], PCI subsystem ID is
1822:0001
bttv0: using: Twinhan DST + clones [card=113,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
bttv0: using tuner=4
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI Interrupt 0000:02:0d.1[A] -> GSI 21 (level, low) -> IRQ 21
bt878(0): Bt878 (rev 17) at 02:0d.1, irq: 21, latency: 64, memory:
0xf7eff000

 # modprobe dvb_bt8xx

DVB: registering new adapter (bttv0).
dst(0) dst_comm_init: Initializing DST.
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
dst(0) rdc_reset_state: Resetting state machine
dst(0) dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002]
writing [ 00 06 00 00 00 00 00 fa ]
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) read_dst: reply is 0xff
dst(0) dst_wait_dst_ready: dst wait ready after 0
dst(0) read_dst: reply is 0x0
 0x44 0x43 0x54 0x2d 0x43 0x49 0x6c
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) dst_get_device_id: Recognise [DCT-CI]
dst(0) dst_type_print: DST type: cable
DST type flags : 0x8 firmware version = 1 0x10 firmware version = 2
dst(0) dst_comm_init: Initializing DST.
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
dst(0) rdc_reset_state: Resetting state machine
dst(0) dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002]
writing [ 00 0a 00 00 00 00 00 f6 ]
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) read_dst: reply is 0xff
dst(0) dst_wait_dst_ready: dst wait NOT ready after 200
dst(0) dst_get_mac: Unsupported Command
dst(0) dst_probe: MAC: Unsupported command
dst_ca_attach: registering DST-CA device
DVB: registering frontend 0 (DST DVB-C)...

  ~ > czap ARD

dvb_frontend_thread: using FE_ALGO_HW 
dst(0) dst_set_freq: set Frequency 410000000
dst(0) dst_tune_frontend: Set Frequency=[410000000]
dst(0) dst_set_symbolrate: set symrate 6900000
dst(0) dst_set_symbolrate: DCT-CI
dst(0) dst_write_tuna: type_flags 0x218 
dst(0) dst_comm_init: Initializing DST.
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
dst(0) rdc_reset_state: Resetting state machine
dst(0) dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[0002], enbb=[0002], outhigh=[0002]
writing [ 06 41 90 00 1a f4 40 db ]
dst(0) write_dst: _write_dst error (err == -5, len == 0x08, b0 == 0x06)
dst(0) dst_error_recovery: Trying to return from previous errors.
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
dst(0) write_dst: _write_dst error (err == -5, len == 0x08, b0 == 0x06)
dst(0) dst_error_recovery: Trying to return from previous errors.
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0001], outhigh=[0000]
dst(0) write_dst: RDC 8820 RESET
dst(0) dst_error_bailout: Trying to bailout from previous error.
dst(0) rdc_8820_reset: Resetting DST
dst(0) dst_gpio_outb: mask=[0004], enbb=[0004], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[0004], enbb=[0004], outhigh=[0004]
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) dst_gpio_outb: mask=[ffffffff], enbb=[0000], outhigh=[0000]
dst(0) dst_write_tuna: write not successful
dvb_frontend_thread: using FE_ALGO_HW

 ~ > dvbstream -v 101 -a 102 -o > test.ts

last message repeated 87 times

There was NO data in test.ts :(. Now it's totaly broken :(. Is there
something I can examine further to help you fixing this behaviour??
Could you please point out in short what the differences are between the
version of the modules in the 2.6.15.3 kernel and the new ones you have
given to me? I'm asking because it looks like a step back.

I'm very grateful for your help!!

Jonek




More information about the linux-dvb mailing list