From owner-freebsd-questions@FreeBSD.ORG Fri Jun 3 12:37:30 2011 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 8E688106564A for ; Fri, 3 Jun 2011 12:37:30 +0000 (UTC) (envelope-from kayasaman@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 216A58FC21 for ; Fri, 3 Jun 2011 12:37:29 +0000 (UTC) Received: by wyf23 with SMTP id 23so1903623wyf.13 for ; Fri, 03 Jun 2011 05:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=B3hpUmlFJ4+hxe3zStSbcdv/WpVHJwpnoQ/vC2s9+J4=; b=K6fn4HRNzIQh3tqeAYHzOw+VR7iXec1K5xY5hqwfrRA2eqDRlRr811BtFdNxiG8R+H DdagfJc3PHbKoToYx+OaiHDNNeaENW+TOOYT4qjYACheu/ArqsaC5P8zBp6mJbLJcjvn CH1Hz7bkVWZao1eOqTnbNZrFVyL+GBsYCgS1s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=ViqEqKFBBURyXJ5SKzzpunqg+TomKyI5BP5zQGOzx/QCjG7Am0PmWNMTjQXqirAmMT m9AfP8o8Jz4dii0xNNWYj/IGFDDACg+86jKlcMjvDQ1CtIkApsaxzqKKPzzJTxwsvW6y 2fHFS7Afi/mTwTdNQjhuAE5KuaPtUBKWdl2xo= Received: by 10.227.178.202 with SMTP id bn10mr1905557wbb.16.1307103004598; Fri, 03 Jun 2011 05:10:04 -0700 (PDT) Received: from [10.16.0.3] ([78.186.130.149]) by mx.google.com with ESMTPS id fm14sm1005606wbb.7.2011.06.03.05.09.57 (version=SSLv3 cipher=OTHER); Fri, 03 Jun 2011 05:09:59 -0700 (PDT) Message-ID: <4DE8CF13.1040304@gmail.com> Date: Fri, 03 Jun 2011 15:09:55 +0300 From: Kaya Saman User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.8) Gecko/20100227 Lightning/1.0b1 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Strange system lockups - kernel saying disk error 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: Fri, 03 Jun 2011 12:37:30 -0000 Hi, I have an ancient pre-HT PIV machine with <500MB RAM. The system has an extra PCI->SATA card installed so I can make use of modern high capacity drives. Everything was running fine until round about 2 days ago when the system started locking up on me? Current drive configuration for the system is: 40GB IDE drive as root (ad2) - UFS2 500GB IDE drive for storage (ad3) - EXT3 1TB SATA drive for storage (ad4) - UFS2 750GB SATA drive for storage (ad8) - EXT3 I had an issue with the 750GB drive which the file system seemed to have got corrupted so I powered down and backed the information up to a 2TB SATA drive using ddrescue and the Gentoo Linux based System Rescue CD. I put the 2TB drive in place of the 1TB ad4 drive physically. Once backed up I powered down again and re-installed the 1TB SATA drive into ad4 position on system and completely removed the 2TB backup. When booted back into FreeBSD upon boot I received this error: WARNING: Kernel Errors Present ad4: FAILURE - WRITE_DMA48 status=51 error=4 LBA=1 ...: 1 Time(s) g_vfs_done():ad4e[WRITE(offset=974444691456, length=16384)]error = 5 ...: 1 Time(s) The current status of the disks seemed to be ok though: 1 Time(s): ad2: 38166MB at ata1-master UDMA33 1 Time(s): ad2: DMA limited to UDMA33, controller found non-ATA66 cable 1 Time(s): ad3: 476940MB at ata1-slave UDMA33 1 Time(s): ad3: DMA limited to UDMA33, controller found non-ATA66 cable 1 Time(s): ad4: 953869MB at ata2-master SATA150 1 Time(s): ad8: 715404MB at ata4-master SATA150 1 Time(s): agp0: on hostb0 1 Time(s): ata0: on atapci0 1 Time(s): ata0: [ITHREAD] 1 Time(s): ata1: on atapci0 1 Time(s): ata1: [ITHREAD] 1 Time(s): ata2: on atapci1 1 Time(s): ata2: [ITHREAD] 1 Time(s): ata3: on atapci1 1 Time(s): ata3: [ITHREAD] 1 Time(s): ata4: on atapci1 1 Time(s): ata4: [ITHREAD] 1 Time(s): ata5: on atapci1 In order to test if the error was due to disk failure I powered down and disconnected the ad4 and ad3 disks and powered back up. The system still seems to be locking on me and I can't understand why? Through Google'ing a discovered a post by Jeremy Chadwick about these kinds of errors: http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting however since the system board is pre-SATA is doesn't even have S.M.A.R.T. so I'm totally lost on how to fix this. I mean the best remedy would be to get a new computer and migrate the stored information (something like this is on the way) but currently I don't have access to any of the disks at all and to make matters worse no NTP or DNS server as I was running these services on the same machine or TFTP boot server for my IP phones. - I do run multiboot UNIX on my notebook so Bind9 is naturally installed hence me writing this but I only activate in emergencies. I mean one way I thought of for fixing this would be to grab a USB -> ATA/SATA adapter: http://www.startech.com/product/USB2SATAIDE-USB-20-to-IDE-or-SATA-Adapter-Cable and hook the drives up to both Linux and FreeBSD in my notebook and copy the information across to the new system when it arrives in a few months. Aside from that is there anyway to fix the kernel error quickly? Thanks, Kaya 1 Time(s): ata5: [ITHREAD]