ivtv / read() blocks for more than 2s sometimes

From: Arne Wörner
Date: Thu Jul 03 2008 - 13:52:51 EST


Hi!

I use fedora core 8 x86_64 (athlon64 X2 5000+, 2gb ram, asrock mb) and update the packages whenever yum-updatesd notifies me...

About once a month
(i reboot about daily and record about 10-15 hrs of tv shows per day
(mostly from just one tv card at the same time))
one of my 2 hauppauge pvr 250 cards or their ivtv kernel module refuse to provide a read() call with data.
Whenever that happens my selfmade recording program closes the device issues "/usr/local/bin/ivtv-tune -t europe-west -d /dev/video0 -c E9" 4 times. Then it tries to read again from it.
That repeats 5 minutes and then i reboot automatically, so that i loose about 7 minutes each time...

Is there an easier way?
Can I reset a single pci device
(e.g. by detaching the driver of a certain pci device and re-attaching it)?

Thx.

Bye
Arne



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/