[linux-dvb] divide error with ST STV0297 DVB-C

Oliver Endriss o.endriss at gmx.de
Fri Jun 15 09:23:34 CEST 2007


Peter Maersk-Moller wrote:
> Hi
> 
> When trying to tune with my TT Budget T1500,I get a divide error from 
> the kernel. Tried 2.6.21.2 and 2.6.21.5.
> 
> Is this a well known issue ?

Not until now. Thanks for reporting. ;-)

> More info below. When I try to tune my TT Premium DVB-C (same front end 
> ST STV0297 DVB-C) the same dvide error happens locking up the card.
>
> ...
>
> dvbtune -c 1 -f 562000
> Using DVB card "ST STV0297 DVB-C"
> tuning DVB-C to 562000, srate=0
                          ^^^^^^^
Please test whether it works when you use a sane symbol rate.
0 does not make sense.

> ...
> Jun 14 20:36:09 dvb01 kernel: EIP is at stv0297_set_sweeprate+0xa/0x5f [stv0297]
> ...

Apparently, specifying symbol rate 0 causes a divide-by-zero error in
stv0297_set_sweeprate().

Anyway, the driver should not crash. I'll apply a fix asap.

Oliver

-- 
----------------------------------------------------------------
VDR Remote Plugin 0.3.9: http://www.escape-edv.de/endriss/vdr/
----------------------------------------------------------------




More information about the linux-dvb mailing list