From owner-freebsd-current@FreeBSD.ORG Wed Dec 29 16:38:55 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F4CE1065673 for ; Wed, 29 Dec 2010 16:38:55 +0000 (UTC) (envelope-from ndenev@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9522F8FC0C for ; Wed, 29 Dec 2010 16:38:54 +0000 (UTC) Received: by ewy24 with SMTP id 24so5009692ewy.13 for ; Wed, 29 Dec 2010 08:38:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-pgp-agent:x-mailer; bh=r18e/KUXCf5KzSStaoKz8K+8/PruWt1HDg0StuOtpa8=; b=GjS7TVOatSTyM2YSkVFDz5EKTH0YdGVN0THDj7wP/BwfCIDKnKDDLwXJwgqJPNo/1V P8PlWoGQ86G+M3fOt3LTajRzSU92QyQWN2QAOwGCyHsSdHFO0JsAaL1CiasuLpRU9d59 rVTVVnFI2fwf2kGn4XZZNIhmXIDBBKqYXydWM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-pgp-agent :x-mailer; b=xIatxrgKthmqG3Sb1AUAmzPrvplZAG3CcG9RD8EXvLOrTHH7pGXbkD8Wcnj4f0GNv/ aER6XAzXRQ7daSoGAepceYtozPUGvcmyMxNTtjkOfuOzcesvl2ROaz9UooGXVhWUQNPV zzHDWHu8QwtzoEoW0SOtPdYLxdfNEuJwhi1cE= Received: by 10.213.7.17 with SMTP id b17mr13260522ebb.44.1293638994645; Wed, 29 Dec 2010 08:09:54 -0800 (PST) Received: from [10.0.69.4] ([78.90.209.87]) by mx.google.com with ESMTPS id q58sm10661975eeh.15.2010.12.29.08.09.52 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 29 Dec 2010 08:09:52 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii From: Nikolay Denev In-Reply-To: <1880316.880341293477607558.JavaMail.defaultUser@defaultHost> Date: Wed, 29 Dec 2010 18:09:46 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <4A4ACB13-5EF4-4118-95BF-B8B40389A081@gmail.com> References: <1880316.880341293477607558.JavaMail.defaultUser@defaultHost> To: Barbara X-Pgp-Agent: GPGMail 1.3.1 X-Mailer: Apple Mail (2.1082) Cc: freebsd-current@freebsd.org Subject: Re: ahci timeout X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Dec 2010 16:38:55 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 27 Dec, 2010, at 21:20 , Barbara wrote: >=20 > As my old PATA hard disk was failing, I had to replace it with a new = SATA=20 > drive where I moved my FreeBSDs installations, as PATA drives are not = easy to=20 > find these days. > So I had to move one of my data drive from a VIA8237A SATA controller = to the=20 > last free SATA slot on a Marvell 88SX6121 to make room for the new hd. > The hd I moved was working perfectly when connected to the VIA = controller. > Now, with the Marvell I'm getting messages like the following twos = while using=20 > the disk: > ahcich0: Timeout on slot 10 > ahcich0: is 00000000 cs 3ffff800 ss 3ffffc00 rs 3ffffc00 tfd = 50010040 serr=20 > 00000000 >=20 > ahcich0: Timeout on slot 5 > ahcich0: is 00000000 cs 00000180 ss 000001e0 rs 000001e0 tfd = 50040040 serr=20 > 00000000 >=20 > This doesn't happen regularly. For example downloading from a slow = website on=20 > it, so few kb/s, is ok. > But if I copy files from the disk attacked to the Marvell controller = to=20 > another another disk, or for example run md5 on some files, it's very = likely to=20 > happen. > The process accessing the disk can not be killed even with -9, ^C does=20= > nothing, and umount doesn't exit. > If I'm copying files on it from another disk it can't be unmounted too = as the=20 > unkillable process has it in use. > On shutdown many disk doesn't get unmounted, so there are a lot of = fsck on=20 > boot, and on CURRENT (last built yesterday), FreeBSD enter debugger as = it fail=20 > flushing disk caches. >=20 > Relevant part from dmesg: >=20 > atapci0: port = 0xdc00-0xdc07,0xd880- > 0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem = 0xfbdffc00-0xfbdfffff irq=20 > 28 at device 0.0 on pci6 > ahci0: on atapci0 > ahci0: AHCI v1.00 with 2 3Gbps ports, Port Multiplier supported > ahcich0: at channel 0 on ahci0 > ahcich1: at channel 1 on ahci0 > ata2: on atapci0 > atapci1: port = 0xbc00-0xbc07,0xb880-0xb883, > 0xb800-0xb807,0xb480-0xb483,0xb400-0xb40f,0xb000-0xb0ff irq 21 at = device 15.0=20 > on pci0 > ata3: on atapci1 > ata4: on atapci1 > atapci2: port = 0x1f0-0x1f7,0x3f6,0x170-0x177, > 0x376,0xfc00-0xfc0f at device 15.1 on pci0 > ata0: on atapci2 > ata1: on atapci2 >=20 > ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 > ada0: ATA-8 SATA 2.x device > ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) > ada0: Command Queueing enabled > ada0: 953869MB (1953525168 512 byte sectors: 16H 63S/T 16383C) > ada1 at ata3 bus 0 scbus3 target 0 lun 0 > ada1: ATA-7 SATA 2.x device > ada1: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) > ada1: 238475MB (488397168 512 byte sectors: 16H 63S/T 16383C) > ada2 at ata4 bus 0 scbus4 target 0 lun 0 > ada2: ATA-8 SATA 1.x device > ada2: 150.000MB/s transfers (SATA 1.x, UDMA5, PIO 8192bytes) > ada2: 476940MB (976773168 512 byte sectors: 16H 63S/T 16383C) > ada3 at ata0 bus 0 scbus5 target 0 lun 0 > ada3: ATA-7 device > ada3: 100.000MB/s transfers (UDMA5, PIO 8192bytes) > ada3: 152627MB (312581808 512 byte sectors: 16H 63S/T 16383C) >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to = "freebsd-current-unsubscribe@freebsd.org" Just to add a "me too". I'm running -STABLE but have the same problems with Marvell 88SX6121 = giving "ahci timeout" messages. Regards, Nikolay -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (Darwin) iEYEARECAAYFAk0bXUwACgkQHNAJ/fLbfrnWbQCdHQtnxDHkv0GXV5+gL3/qo46e Q1YAn3eQkCbQ95WRiWG1+ELMEzKXRFT9 =3DzG6+ -----END PGP SIGNATURE-----