[linux-dvb] HD5000 Frontend loaded but card hangs (symbol rate 0?)

K Stanton stantonx at comcast.net
Tue Dec 13 03:38:48 CET 2005


OK, I'm stumped.  I have my HD5000 installed, and after reverting from 
2.6.14 to 2.6.13 it's registering the frontend, so Linux is happy.  
However, I try to azap or dvbscan and it hangs.  I have used the card in 
a Windows machine, and it works.  I swapped it again today to get all 
the pertinent tuning frequencies.  Back in Linux I entered one (ESPNHD) 
into a channels.conf to test:

ESPNHD:531000000:QAM_256:0:0

[root at localhost szap]# ./azap -r espnhd
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 531000000 Hz
video pid 0x0000, audio pid 0x0000

Message from syslogd at localhost at Sun Dec 11 17:25:52 2005 ...
localhost kernel: Oops: 0010 [1]

Message from syslogd at localhost at Sun Dec 11 17:25:52 2005 ...
localhost kernel: CR2: 0000000000000000
status 00 | signal 11aa | snr fc00 | ber 00000000 | unc 0000ea5f |
<ctrl-c>
[root at localhost szap]# ./azap -r ESPNHD
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'

The first try looks like it makes better progress.  The next try hangs 
earlier in the process.

dmesg upon boot:

Dec 12 19:26:40 localhost kernel: b2c2-flexcop: B2C2 FlexcopII/II(b)/III 
digital TV receiver chip loaded successfully
Dec 12 19:26:40 localhost kernel: flexcop-pci: will use the HW PID filter.
Dec 12 19:26:40 localhost kernel: flexcop-pci: card revision 2
Dec 12 19:26:40 localhost kernel: ACPI: PCI Interrupt 0000:05:07.0[A] -> 
Link [APC2] -> GSI 17 (level, low) -> IRQ 233
Dec 12 19:26:40 localhost kernel: DVB: registering new adapter (FlexCop 
Digital TV device).
Dec 12 19:26:40 localhost kernel: b2c2-flexcop: MAC address = 
00:d0:d7:0e:6c:f2
Dec 12 19:26:40 localhost kernel: b2c2-flexcop: i2c master_xfer failed
Dec 12 19:26:40 localhost last message repeated 2 times
Dec 12 19:26:40 localhost kernel: mt352_read_register: readreg error 
(reg=127, ret==-121)
Dec 12 19:26:40 localhost kernel: b2c2-flexcop: i2c master_xfer failed
Dec 12 19:26:40 localhost kernel: i2c_readbytes: i2c read error (addr 
0a, err == -121)
Dec 12 19:26:40 localhost kernel: b2c2-flexcop: found the lgdt3303 at 
i2c address: 0x59
Dec 12 19:26:40 localhost kernel: DVB: registering frontend 0 (LG 
Electronics LGDT3303 VSB/QAM Frontend)...
Dec 12 19:26:40 localhost kernel: b2c2-flexcop: initialization of 
'Air2PC/AirStar 2 ATSC 3rd generation (HD5000)' at the 'PCI' bus 
controlled by a 'FlexCopIIb' complete

dmesg after hang:

Unable to handle kernel NULL pointer dereference at 0000000000000000 RIP:
<0000000000000000>{stext+2146431208}
PGD 0
Oops: 0010 [1]
CPU 0
Modules linked in: parport_pc(U) lp(U) parport(U) autofs4(U) rfcomm(U) 
l2cap(U) bluetooth(U) sunrpc(U) pcmcia(U) yenta_socket(U) 
rsrc_nonstatic(U) pcmcia_core(U) jfs(U) dm_mod(U) video(U) button(U) 
battery(U) ac(U) nvidia(U) ipv6(U) ohci1394(U) ieee1394(U) ohci_hcd(U) 
ehci_hcd(U) i2c_nforce2(U) shpchp(U) tda9887(U) wm8775(U) cx25840(U) 
tuner(U) tveeprom(U) ivtv(U) i2c_algo_bit(U) videodev(U) snd_intel8x0(U) 
snd_ac97_codec(U) snd_seq_dummy(U) snd_seq_oss(U) snd_seq_midi_event(U) 
snd_seq(U) snd_seq_device(U) snd_pcm_oss(U) snd_mixer_oss(U) snd_pcm(U) 
snd_timer(U) snd(U) soundcore(U) snd_page_alloc(U) b2c2_flexcop_pci(U) 
b2c2_flexcop(U) dvb_core(U) mt352(U) bcm3510(U) stv0299(U) dvb_pll(U) 
nxt2002(U) stv0297(U) lgdt330x(U) mt312(U) i2c_core(U) forcedeth(U) 
sk98lin(U) ext3(U) jbd(U) raid0(U) sata_nv(U) libata(U) sd_mod(U) 
scsi_mod(U)
Pid: 3494, comm: kdvb-fe-0 Tainted: P      2.6.13-prep
RIP: 0010:[<0000000000000000>] <0000000000000000>{stext+2146431208}
RSP: 0018:ffff810021a0fe50  EFLAGS: 00010246
RAX: ffffffff88120420 RBX: ffff81003f2cd000 RCX: 0000000090ea00b2
RDX: 0000000000000090 RSI: 0000000000000000 RDI: ffff81003f2cd150
RBP: ffff81003da1d408 R08: 0000000000000000 R09: ffffffff880de269
R10: 0000000000000000 R11: 0000000000000001 R12: ffff81003f2cd150
R13: 000000001fa66ac0 R14: 0000000000000000 R15: ffff81003da1d608
FS:  00002aaaaaad13c0(0000) GS:ffffffff80661800(0000) 
knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 0000000000000000 CR3: 0000000034f1e000 CR4: 00000000000006e0
Process kdvb-fe-0 (pid: 3494, threadinfo ffff810021a0e000, task 
ffff8100286117b0)
Stack: ffffffff880dc491 ffff81003da1d400 ffff81003f2cd150 0000000000000000
      ffffffff88105c30 ffffffff8014bd61 0000000000000287 00000000000002ed
      ffff81003da1d660 ffff810021a0fec8
Call Trace:<ffffffff880dc491>{:lgdt330x:lgdt330x_set_parameters+408}
      <ffffffff88105c30>{:dvb_core:dvb_frontend_autotune+485}
      <ffffffff8014bd61>{process_timeout+0} 
<ffffffff881070aa>{:dvb_core:dvb_frontend_thread+970}
      <ffffffff80167360>{autoremove_wake_function+0} 
<ffffffff80110242>{child_rip+8}
      <ffffffff88106ce0>{:dvb_core:dvb_frontend_thread+0}
      <ffffffff8011023a>{child_rip+0}

Code:  Bad RIP value.
RIP <0000000000000000>{stext+2146431208} RSP <ffff810021a0fe50>
CR2: 0000000000000000
<3>Debug: sleeping function called from invalid context at 
include/linux/rwsem.h:43
in_atomic():0, irqs_disabled():1

Call Trace:<ffffffff8013fa7a>{profile_task_exit+21} 
<ffffffff80142948>{do_exit+32}
      <ffffffff80127135>{do_page_fault+1804} 
<ffffffff8013d820>{vprintk+1703}
      <ffffffff8811908e>{:b2c2_flexcop:flexcop_i2c_operation+94}
      <ffffffff88119366>{:b2c2_flexcop:flexcop_i2c_request+587}
      <ffffffff8011008d>{error_exit+0} 
<ffffffff880dc491>{:lgdt330x:lgdt330x_set_parameters+408}
      <ffffffff88105c30>{:dvb_core:dvb_frontend_autotune+485}
      <ffffffff8014bd61>{process_timeout+0} 
<ffffffff881070aa>{:dvb_core:dvb_frontend_thread+970}
      <ffffffff80167360>{autoremove_wake_function+0} 
<ffffffff80110242>{child_rip+8}
      <ffffffff88106ce0>{:dvb_core:dvb_frontend_thread+0}
      <ffffffff8011023a>{child_rip+0}

Also, attempting to do a channel scan in mythtv-setup makes mythtv-setup 
hang.  Again, I'm stumped!  Please find the clue I don't see.  I'm able 
to decypher this set of lines from the terminal window a little better.  
Why would my symbol rate be set to 0? ...and how do I set it?

<attempting channel scan with mythtv-setup>

2005-12-12 19:28:03.718 Joystick disabled.
2005-12-12 19:28:28.152 New DB connection, total: 2
2005-12-12 19:31:45.170 New DB connection, total: 3
2005-12-12 19:32:39.727 DVB#0 DVB SI Table Parser Started
2005-12-12 19:32:39.728 DVB#0 Using DVB card 0, with frontend LG 
Electronics LGDT3303 VSB/QAM Frontend.
2005-12-12 19:32:39.750 DVB#0 DVB Signal Monitor Starting
2005-12-12 19:32:39.753 DVB#0 WARNING - Symbol Rate setting (0) is out 
of range (min/max:10762000/10762000)

Message from syslogd at localhost at Mon Dec 12 19:32:39 2005 ...
localhost kernel: Oops: 0010 [1]

Message from syslogd at localhost at Mon Dec 12 19:32:40 2005 ...
localhost kernel: CR2: 0000000000000000

<hangs here>



More information about the linux-dvb mailing list