Skip to contentSkip to conversation

ide-2.6 update

PATCH Chuck Ebbert 6 participants 6 messages Oct 27, 2004 – Oct 30, 2004 libata

lore
Share & tools
lore
#0 lore raw

Review line 571

Quoted 10 lines · On Wed, 27 Oct 2004 at 15:07:14 +0200 Bartlomiej Zolnierkiewicz wrote:
(quoted diff) +2 -1
@@ -585,7 +564,8 @@
      struct pci_dev *dev = hwif->pci_dev;
 
      /* PDC20265 has problems with large LBA48 requests */
-      if (dev->device == PCI_DEVICE_ID_PROMISE_20265)
+      if ((dev->device == PCI_DEVICE_ID_PROMISE_20267) ||
+          (dev->device == PCI_DEVICE_ID_PROMISE_20265))
              hwif->rqsize = 256;
 
      hwif->autodma = 0;

You forgot to update the comment...

I added this and the smart_thresholds() fix to my 2.6.9-base patches.

Now I have these ide fixes:

- smart_thresholds() fix
- pdc202xx_old LBA48 fix
- accept bad Maxtor drive serial number
- allow drive that reports no geometry

Should anything more really be in there?

--Chuck Ebbert 27-Oct-04 12:04:38

#1 lore raw
Quoted 11 lines · Chuck Ebbert
Quoted 9 lines · On Wed, 27 Oct 2004 at 15:07:14 +0200 Bartlomiej Zolnierkiewicz wrote:
(quoted diff) +2 -1
@@ -585,7 +564,8 @@
      struct pci_dev *dev = hwif->pci_dev;
 
      /* PDC20265 has problems with large LBA48 requests */
-      if (dev->device == PCI_DEVICE_ID_PROMISE_20265)
+      if ((dev->device == PCI_DEVICE_ID_PROMISE_20267) ||
+          (dev->device == PCI_DEVICE_ID_PROMISE_20265))
              hwif->rqsize = 256;
 
Quoted 4 lines

Review line 571

Quoted 1 line
(quoted diff) +0 -0
      hwif->autodma = 0;

You forgot to update the comment...

ah, care to send a patch?

Quoted 10 lines

I added this and the smart_thresholds() fix to my 2.6.9-base patches.

Now I have these ide fixes:

- smart_thresholds() fix
- pdc202xx_old LBA48 fix
- accept bad Maxtor drive serial number
- allow drive that reports no geometry

Should anything more really be in there?

Nope, looks like you've all critical stuff.

#2 lore raw
In reply to Chuck Ebbert
Quoted 1 line · Chuck Ebbert

- accept bad Maxtor drive serial number

This should not be applied. If your drive is no longer reporting its serial number then its faulty.

#3 lore raw
Quoted 5 lines · Alan Cox
Quoted 1 line · Chuck Ebbert

- accept bad Maxtor drive serial number

This should not be applied. If your drive is no longer reporting its serial number then its faulty.

ISTR he wrote that he had 2 (identical?) drives that were reporting the same serial number. Somewhat, but not exactly like I have two different epson printers, both usb driven, and which except for the reported serial number, return otherwise identical data when queried by the usb drivers during dmesg. Which I find odd because one is a C82, 4 color model, and the other is a Photo 820, 6 color model.

Signature · 8 lines
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
99.28% setiathome rank, not too shabby for a WV hillbilly
Yahoo.com attorneys please note, additions to this message
by Gene Heskett are:
Copyright 2004 by Maurice Eugene Heskett, all rights reserved.
#4 lore raw

One of two things is happening:

1) Two drives are identically corrupted, producing the invalid serial numbers being reported in the ID block. My belief is that this wasn't likely, given the low volume of reports. The reported bad SN was "M0000000000000000000" which based on our firmware, I don't see how it could happen. A corruption of the config sector (the most likely cause) *should* be catastrophic to the drive's functionality.

2) There is a code or hardware bug somewhere outside of the drive itself that is causing this data to become corrupted.

Either way, I believe the best course of action is to RMA the drives for new ones. I don't think good stuff will come from having the linux kernel use drives that appear to be broken.

It'd be nice to test these drives on more systems, or with a bus analyzer, to identify the cause.

--eric

Quoted 13 lines · Gene Heskett
Quoted 5 lines · Alan Cox
Quoted 1 line · Chuck Ebbert

- accept bad Maxtor drive serial number

This should not be applied. If your drive is no longer reporting its serial number then its faulty.

ISTR he wrote that he had 2 (identical?) drives that were reporting the same serial number. Somewhat, but not exactly like I have two different epson printers, both usb driven, and which except for the reported serial number, return otherwise identical data when queried by the usb drivers during dmesg. Which I find odd because one is a C82, 4 color model, and the other is a Photo 820, 6 color model.

#5 lore raw
Quoted 9 lines · Eric Mudama

One of two things is happening:

1) Two drives are identically corrupted, producing the invalid serial numbers being reported in the ID block. My belief is that this wasn't likely, given the low volume of reports. The reported bad SN was "M0000000000000000000" which based on our firmware, I don't see how it could happen. A corruption of the config sector (the most likely cause) *should* be catastrophic to the drive's functionality.

	Mine was the "D3000000" serial, not the "M0000000000000000000" serial. 

and the drives are not 100% identical, tho they are the same capacity, hooked to the same PDC20265 IDE bus, on a ASUS A7V266-E.

I'd submit the /proc/ide/hd[gh]/identify but atm /proc seems to be
blocking on that request. I'd submitted it before anyway.

Quoted 6 lines

2) There is a code or hardware bug somewhere outside of the drive itself that is causing this data to become corrupted.

Either way, I believe the best course of action is to RMA the drives for new ones. I don't think good stuff will come from having the linux kernel use drives that appear to be broken.

The drives worked previously before the ide-probe patch, and have not
been a problem before. and as I believe they only have a 1 year Maxtor warranty, i'm not sure i can RMA them, tho i'll keep it in mind.

Quoted 3 lines

It'd be nice to test these drives on more systems, or with a bus analyzer, to identify the cause.

Well... if i can't RMA them, and I do replace them, I offer to send
them to you via UPS or FedEx.

Quoted 31 lines

--eric

On Wed, 27 Oct 2004 14:58:17 -0400, Gene Heskett

Quoted 7 lines · <[email protected]> wrote:
Quoted 5 lines · Alan Cox
Quoted 1 line · Chuck Ebbert

- accept bad Maxtor drive serial number

This should not be applied. If your drive is no longer reporting its serial number then its faulty.

Quoted 7 lines

ISTR he wrote that he had 2 (identical?) drives that were reporting the same serial number. Somewhat, but not exactly like I have two different epson printers, both usb driven, and which except for the reported serial number, return otherwise identical data when queried by the usb drivers during dmesg. Which I find odd because one is a C82, 4 color model, and the other is a Photo 820, 6 color model.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Signature · 1 line
Windows 95 is crash compatible with Windows 1.0, 2.x, and 3.x.