linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tabris <tabris@tabris.net>
To: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Cc: linux-kernel@vger.kernel.org, Andrew Morton <akpm@osdl.org>,
	Jens Axboe <axboe@suse.de>
Subject: Re: DVD/ide-cd related Oops 2.6.[89]-mm
Date: Fri, 22 Oct 2004 12:45:23 -0400	[thread overview]
Message-ID: <200410221245.23693.tabris@tabris.net> (raw)
In-Reply-To: <58cb370e04102207351d79c481@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 745 bytes --]

On Friday 22 October 2004 10:35 am, Bartlomiej Zolnierkiewicz wrote:
> On Fri, 22 Oct 2004 05:01:45 -0400, Tabris <tabris@tabris.net> wrote:
> >         undecoded slave fixup is a oneliner patch in ide-probe to
> > recognize both of my Maxtor drives that appear to have the same
> > serial number, D3000000. This fix was discussed a month ago or so,
> > as I had run into it, but nothing official came of it, and it was
> > never merged to -mm.
>
> Did you test it on different controller (as asked by Eric)?
>
> > Patch attached.
>
> thanks, I'll apply it
	Patch attached with a comment. Possibly not necessary, but as it's a 
fixup, probably should anyway.
>
> Bartlomiej

--
tabris
-
Some people only open up to tell you that they're closed.

[-- Attachment #2: ide-probe+undecoded_slave-Maxtor-fixup.diff --]
[-- Type: text/x-diff, Size: 704 bytes --]

Signed-off by tabris@tabris.net

--- ide-probe.c~	2004-10-22 12:40:41.366608575 -0400
+++ ide-probe.c	2004-10-22 12:41:40.789111900 -0400
@@ -730,6 +730,8 @@ static void probe_hwif(ide_hwif_t *hwif)
 			    /* And beware of confused Maxtor drives that go "M0000000000"
 			      "The SN# is garbage in the ID block..." [Eric] */
 			    strncmp(drive->id->serial_no, "M0000000000000000000", 20) &&
+			    /* Same goes for another set of Maxtor drives that say "D3000000" */
+			    strncmp(drive->id->serial_no, "D3000000", 8) &&
 			    strncmp(hwif->drives[0].id->serial_no, drive->id->serial_no, 20) == 0) {
 				printk(KERN_WARNING "ide-probe: ignoring undecoded slave\n");
 				drive->present = 0;

  parent reply	other threads:[~2004-10-22 17:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22  9:01 DVD/ide-cd related Oops 2.6.[89]-mm Tabris
2004-10-22 14:35 ` Bartlomiej Zolnierkiewicz
2004-10-22 15:35   ` tabris
2004-10-22 16:45   ` tabris [this message]
2004-10-27  7:41 ` tabris

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=200410221245.23693.tabris@tabris.net \
    --to=tabris@tabris.net \
    --cc=akpm@osdl.org \
    --cc=axboe@suse.de \
    --cc=bzolnier@gmail.com \
    --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 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).