From: Chris Rankin <rankinc@pacbell.net>
To: linux-kernel@vger.kernel.org
Subject: Re: xine pauses with recent (not -ac) kernels
Date: Sat, 13 Oct 2001 21:31:20 -0700 (PDT) [thread overview]
Message-ID: <200110140431.f9E4VKpp000976@twopit.underworld> (raw)
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);
next reply other threads:[~2001-10-14 4:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-14 4:31 Chris Rankin [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-10-17 21:38 xine pauses with recent (not -ac) kernels Guenter Bartsch
2001-10-13 20:40 Andrei Lahun
2001-10-13 19:39 Andrei Lahun
2001-10-12 6:55 Duncan Sands
[not found] ` <20011012161052.R714@athlon.random>
2001-10-12 22:08 ` Duncan Sands
2001-10-12 22:15 ` Andrea Arcangeli
2001-10-13 13:24 ` Duncan Sands
2001-10-13 14:10 ` Andrea Arcangeli
2001-10-13 3:51 ` Linus Torvalds
2001-10-13 14:23 ` Andrea Arcangeli
2001-10-13 19:58 ` Duncan Sands
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200110140431.f9E4VKpp000976@twopit.underworld \
--to=rankinc@pacbell.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.