linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Bastien Nocera <hadess@hadess.net>
To: AMANO Kazuhiro <haa13142@jnb.odn.ne.jp>
Cc: "linuxppc-dev@lists.linuxppc.org" <linuxppc-dev@lists.linuxppc.org>
Subject: Re: MATSHITADVD-ROM SR-8176
Date: 03 Feb 2002 19:10:30 +0000	[thread overview]
Message-ID: <1012763434.29823.13.camel@dozo> (raw)
In-Reply-To: <20020203155250172.VDPS.18601.t-mta3.odn.ne.jp@mta3.odn.ne.jp>


On Sun, 2002-02-03 at 15:52, AMANO Kazuhiro wrote:
>
> I'm in trouble with MATSHITA DVD-ROM SR-8176 drive on iBook2
>  under kernel-2.4.18-pre7-ben0.
>
> First problem is in audio CD play. I'm using xmms-cdread-0.14a, but
> I cannot get track list of CD and cannot play.
>
> To solve this problem, I made a tiny patch:
> --- linux/drivers/ide/ide-cd.c-ORIG	Mon Jan 28 20:20:31 2002
> +++ linux/drivers/ide/ide-cd.c	Sun Feb  3 22:03:42 2002
> @@ -2644,7 +2644,8 @@
>  	 * but they do support reading TOC & audio datas
>  	 */
>  	if (strcmp (drive->id->model, "MATSHITADVD-ROM SR-8187") == 0 ||
> -	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0)
> +	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8186") == 0 ||
> +	    strcmp (drive->id->model, "MATSHITADVD-ROM SR-8176") == 0)
>  		CDROM_CONFIG_FLAGS (drive)->audio_play = 1;
>
>  #if ! STANDARD_ATAPI

Blimey! All this time this little patch was the thing missing ? Thanks a
lot for it !

> ---
>
> Second problem is in DVD-video play. I'm using xine-0.4.3 or
> vlc(videolan)-0.2.92, but I get only low performance.
>
> In /var/log/messages, some errors were reported:
> Feb  3 23:40:17 phaser kernel: hdb: DMA disabled
> Feb  3 23:40:17 phaser kernel: hdb: command error: status=0x51 { DriveReady SeekComplete Error }
> Feb  3 23:40:17 phaser kernel: hdb: command error: error=0x54
> Feb  3 23:40:17 phaser kernel: end_request: I/O error, dev 03:40 (hdb), sector 369232
>
> I can pass through this problem, by "hdparm -d1 -X34 /deb/hdb" to force
> Multiword DMA 2 Mode. But this hdparm command sometimes cause hung up.
>
> Both problem do not appear with ide-scsi driver.

Apparently there were some problems with the computers having both
drives on the same channel and DMA. Ben and Olaf probably know more
about it though.

Cheers

--
/Bastien Nocera
http://hadess.net

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

  reply	other threads:[~2002-02-03 19:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-03 15:52 MATSHITADVD-ROM SR-8176 AMANO Kazuhiro
2002-02-03 19:10 ` Bastien Nocera [this message]
2002-02-03 22:31   ` Michel Dänzer
2002-02-03 22:40     ` Benjamin Herrenschmidt
2002-02-03 19:39 ` Benjamin Herrenschmidt

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=1012763434.29823.13.camel@dozo \
    --to=hadess@hadess.net \
    --cc=haa13142@jnb.odn.ne.jp \
    --cc=linuxppc-dev@lists.linuxppc.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).