From owner-freebsd-questions@FreeBSD.ORG Sun Feb 24 17:06:10 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5786616A408 for ; Sun, 24 Feb 2008 17:06:10 +0000 (UTC) (envelope-from g.p.demmenie@student.tudelft.nl) Received: from mailservice.tudelft.nl (mailservice.tudelft.nl [130.161.131.5]) by mx1.freebsd.org (Postfix) with ESMTP id CC2E013C4EC for ; Sun, 24 Feb 2008 17:06:09 +0000 (UTC) (envelope-from g.p.demmenie@student.tudelft.nl) Received: from localhost (localhost [127.0.0.1]) by rav.antivirus (Postfix) with ESMTP id EFAB822EEBE for ; Sun, 24 Feb 2008 17:44:46 +0100 (CET) X-Virus-Scanned: amavisd-new at tudelft.nl X-Spam-Flag: NO X-Spam-Score: -2.589 X-Spam-Level: X-Spam-Status: No, score=-2.589 tagged_above=-99 required=5 tests=[BAYES_00=-2.599, PROLO_LEO3=0.01] Received: from mailservice.tudelft.nl ([127.0.0.1]) by localhost (tudelft.nl [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XJg5nnBdwH-O for ; Sun, 24 Feb 2008 17:44:45 +0100 (CET) Received: from smtp-a.tudelft.nl (smtp-a.tudelft.nl [130.161.129.18]) by mx1.tudelft.nl (Postfix) with ESMTP id 93E1C22EEC5 for ; Sun, 24 Feb 2008 17:44:45 +0100 (CET) Received: from [10.0.1.2] (rottnic.demon.nl [83.160.164.231]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-a.tudelft.nl (Postfix) with ESMTP id 544B9B3A62 for ; Sun, 24 Feb 2008 17:44:44 +0100 (CET) Message-Id: From: Guido Demmenie To: FreeBSD Users Questions Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 24 Feb 2008 17:44:43 +0100 X-Mailer: Apple Mail (2.919.2) Subject: Harddisks DMA errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Feb 2008 17:06:10 -0000 Hello, After having problems with DMA errors on my old PATA 200GB disks because of a faulty harddisk, I switched to SATA 500GB disks. I used fdisk to create slices and newfs them, then copied everything using dump & restore to my new harddisks. Now I have problems running into the next error for both my harddiscs: ---------------- ad4: WARNING - READ_DMA UDMA ICRC error (retrying request) LBA=268435454 ad4: WARNING - SETFEATURES SET TRANSER MODE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES SET TRANSER MODE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES SET RCHACHE MODE taskqueue timeout - completing request directly ad4: WARNING - SETFEATURES SET WCHACHE MODE taskqueue timeout - completing request directly ad4: WARNING - SET_MULTI taskqueue timeout - completing request directly ad4: TIMEOUT - READ_DMA retrying (0 retries left) LBA=268435454 ad4: FAILURE = READ_DMA status=ff error = ff < ICRC ,UNCORRECTABLE ,MEDIA_CHANGED ,NID_NOT_FOUND,MEDIA_CHANGE_REQUEST,ABORTED,NO_MEDIA,ILLEGAL_LENGTH> LBA=268435454 ---------------- I am able to reproduce this error at will if I issue the following command: # dd if=/dev/ad4 of=/dev/null bs=1024 What surprises me is that it the following information is provided by dd: ---------------- dd: /dev/ad4: Input/output error 134217727+0 records in 134217727+0 records out 137438952448 bytes transferred in 9732.012957 secs (14122356 bytes/sec) ---------------- This number of _bytes transfered_ looks an awful lot like 137 GB which normal LBA can handle. And it probably isn't coincidence that "normal" LBA can only handle 268435455 locations. Large LBA should work better I suppose. Problem is that I have used fdisk to newfs and slice my disk and they were fully accessible then. My Promise SATA300 TX2Plus does have support for LargeLBA so there again it should work. I'm quite sure the disks aren't faulty because I get the problem on both disks and the errors are exactly the same. I'm not sure what the SETFEATURE error has to do with this all, maybe someone can explain. So it ends up in two questions: 1. How do I get those drives working? 2. If it is of relevance what does that SETFEATURES warning mean? Anyone that can help me? -- Guido Please reply to this address, because the address that was subscribed doesn't work now because if this server failure.