lkml.org 
[lkml]   [2001]   [Oct]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: xine pauses with recent (not -ac) kernels
This is interesting, because I am using 2.4.12 SMP with > 1 GB RAM,
devfs, and I am also seeing large unnatural pauses with xine. However,
only with one particular DVD ("BlackAdder : Back and Forth"). I tried
the suggested fix of:

sleep 100000 < /dev/cdroms/rdvd&

and it *did* work. The slider control started working again as well.

I have no idea why it affects this one particular DVD and not others;
I had thought that it was a xine bug.

BTW, I have patched my kernel to at least create the /dev/rawctl
device and /dev/raw directory when using devfs. It's better than
nothing.

Cheers,
Chris

--- drivers/char/raw.c.orig Wed Jun 27 17:10:55 2001
+++ drivers/char/raw.c Sat Sep 1 14:54:43 2001
@@ -15,6 +15,7 @@
#include <linux/raw.h>
#include <linux/capability.h>
#include <linux/smp_lock.h>
+#include <linux/devfs_fs_kernel.h>
#include <asm/uaccess.h>

#define dprintk(x...)
@@ -53,7 +54,24 @@
static int __init raw_init(void)
{
int i;
- register_chrdev(RAW_MAJOR, "raw", &raw_fops);
+
+ if (devfs_register_chrdev(RAW_MAJOR, "raw", &raw_fops) != 0) {
+ printk(KERN_ERR "Unable to get major device %d for raw block devices",
+ RAW_MAJOR);
+ } else {
+ /*
+ * Make a directory for raw devices to go in ...
+ */
+ devfs_mk_dir(NULL, "raw", NULL);
+
+ /*
+ * Make the "control" device node for raw devices ...
+ */
+ devfs_register(NULL, "rawctl", DEVFS_FL_DEFAULT,
+ RAW_MAJOR, 0,
+ S_IFCHR | S_IRUSR | S_IWUSR,
+ &raw_fops, NULL);
+ }

for (i = 0; i < 256; i++)
init_MUTEX(&raw_devices[i].mutex);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:08    [W:0.030 / U:33.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site