Kartsa kirjoitti:
Marko Mäkelä kirjoitti:
On Mon, Jan 22, 2007 at 06:16:05PM +0200, Kartsa wrote:
Btw. is there an easy way to see this from the logs because my vdr box is situated in a difficult place where I can easily get only by ssh?
#hdparm -d /dev/hda
To enable it, use
#hdparm -d 1 /dev/hda
This does not seem to work with sata drives. It gives hdparm -d 1 /dev/sda /dev/sda: setting using_dma to 1 (on) HDIO_SET_DMA failed: Inappropriate ioctl for device
Like you, I am cursed by the VIA chipset, but luckily I haven't experienced any DMA lockups, which have been reported for many generations of VIA hardware. Every now and then, the system must be completely powered off, because something apparently in the PCI controller gets misconfigured so badly that Linux panics or hangs at boot. The system reset or soft power-off won't help in this situation. Also, the system must be rebooted in order for nvram-wakeup to work, and Wake-on-LAN often ceases to work. This is an Intel Celeron 900 MHz on an MSI 694T Pro motherboard: http://www.msi.com.tw/program/products/mainboard/mbd/pro_mbd_detail.php?UID=...
I have nvram-installed and it shuts down the box every night.
So, hdparm did no good. I have been running vdr now for a couple days with
#define PLAYERBUFSIZE MEGABYTE(64) in dvbplayer.c
and for now it seems like better as in no stuttering. But I am still testing it.
\Kartsa