NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/37251: Seagate disks larger than 900GB don't get caught by the force_lba48 quirk in /usr/src/sys/dev/ata/wd.c



The following reply was made to PR kern/37251; it has been noted by GNATS.

From: buhrow%lothlorien.nfbcal.org@localhost (Brian Buhrow)
To: gnats-bugs%NetBSD.org@localhost
Cc: buhrow%lothlorien.nfbcal.org@localhost
Subject: Re: kern/37251: Seagate disks larger than 900GB don't get caught by 
the force_lba48 quirk in /usr/src/sys/dev/ata/wd.c
Date: Tue, 4 Mar 2008 23:17:20 -0800

        hello.  Now that Seagate has bought Maxtor, the Maxtor disks exhibit
 the same bug as Seagate disks with regard to LBA48 addressing.
        Although a general fix for such disks has been pulled up into -current
 and 4.0, it doesn't look like a fix for such disks is in 3.x trees.  So,
 here is a diff which covers the new Maxtor disks as well for those of you
 still running 3.X systems.
 -Brian
 
 
 Index: wd.c
 ===================================================================
 RCS file: /cvsroot/src/sys/dev/ata/wd.c,v
 retrieving revision 1.298.2.13
 diff -u -r1.298.2.13 wd.c
 --- wd.c       20 Nov 2006 15:41:15 -0000      1.298.2.13
 +++ wd.c       5 Mar 2008 07:12:37 -0000
 @@ -248,6 +248,12 @@
        /* Attempt to catch all seagate drives larger than 200GB */
        { "ST3[2-9][0-9][0-9][0-9][0-9][0-9][A-Z]*",
          WD_QUIRK_FORCE_LBA48 },
 +      { "ST3[1-9][0-9][0-9][0-9][0-9][0-9][0-9][A-Z]*",
 +        WD_QUIRK_FORCE_LBA48 },
 +      { "MAXTOR STM3[0-9][0-9][0-9][0-9][0-9][0-9][A-Z]*",
 +        WD_QUIRK_FORCE_LBA48 },
 +      { "MAXTOR STM3[0-9][0-9][0-9][0-9][0-9][0-9][0-9][A-Z]*",
 +        WD_QUIRK_FORCE_LBA48 },
        { NULL,
          0 }
  };
 


Home | Main Index | Thread Index | Old Index