From owner-freebsd-stable@FreeBSD.ORG Sat Mar 13 15:57:35 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBF43106566C; Sat, 13 Mar 2010 15:57:34 +0000 (UTC) (envelope-from svein-listmail@stillbilde.net) Received: from mail.stillbilde.net (unknown [IPv6:2002:51af:3dc3:0:20c:29ff:fece:79f3]) by mx1.freebsd.org (Postfix) with ESMTP id 629108FC12; Sat, 13 Mar 2010 15:57:34 +0000 (UTC) Received: from [IPv6:2002:51af:3dc3:0:79cc:a126:7e59:782f] (unknown [IPv6:2002:51af:3dc3:0:79cc:a126:7e59:782f]) (Authenticated sender: svein-listmail) by mail.stillbilde.net (Familien Skogens mail) with ESMTPSA id EE59F23; Sat, 13 Mar 2010 16:57:53 +0100 (CET) Message-ID: <4B9BB600.5080200@stillbilde.net> Date: Sat, 13 Mar 2010 16:57:52 +0100 From: "Svein Skogen (Listmail Account)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; 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, "Stable, FreeBSD" , current@FreeBSD.org References: <4B9A4D9D.6040805@stillbilde.net> In-Reply-To: <4B9A4D9D.6040805@stillbilde.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: Subject: Re: Amanda, FreeBSD8, amtype, hairpulling, etc. X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2010 15:57:35 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12.03.2010 15:20, Svein Skogen wrote: > I'm having trouble getting Amanda (2.6.1p2 from ports) to play nicely > with my hardware. > > Devices are: > at scbus0 target 1 lun 0 (sa0,pass0) > at scbus0 target 1 lun 1 (pass1,ch0) > connected via: > mpt0: port 0x9000-0x90ff mem > 0xfe4fc000-0xfe4fffff,0xfe4e0000-0xfe4effff irq 16 at device 0.0 on pci2 > mpt0: [ITHREAD] > mpt0: MPI Version=1.5.20.0 > > os and number in question is: > FreeBSD storage.stillbilde.net 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Mar > 9 07:01:59 UTC 2010 > svein@storage.stillbilde.net:/usr/obj/usr/src/sys/GENERIC amd64 > > Tapes are regular LTO-3 (HP C7973A). > > amtapetype simply hangs (after writing 3-4 tps for 5 seconds, then > simple silence both on sa0 and console) > > Has anybody run into this problem with FreeBSD8+mpt+autoloader? > > //Svein > I'm finally starting to make sense of what I'm seeing (hence the crossposting) Seems I've stumbled onto some strange incompatibility between my SAS controller (LSI 3801E), Tape-library, and FreeBSD+Solaris. The behavior I'm seeing is consistent with this solaris bug: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6894775 but luckily (?) for me, my disks are on an MFI controller. I'm seeing the exact same behavior in both FreeBSD and OpenSolaris 133 and 134. Linux and Windows installs on the box (this box is currently being set up, so I'm rather liberated from reinstall-concerns) seems unaffected, atleast the HP Software doesn't fail the way tar/dump/dd/amanda/bacula/whatnot does at random intervals. The errors only occur when the device I'm reading/writing from is 100% laoded (reading or writing 56mb/sec + compression), which when fed from a raid capable of more than 6 times that is quite likely to happen during backups. The Solaris bug seems to be around MSI handling, but there are several reports "over there" about this error occuring even with MSI disabled. Right now I'm dumbstruck about this, and might install Linux "just to get backups up and running this year", because I'm too tired of this entire process, but I'd REALLY rather run FreeBSD or OpenSolaris. This is based on a personal preference and nothing else, but if anybody has some blinding insights on how to get this working, I'm open for suggestions. //Svein - -- - --------+-------------------+------------------------------- /"\ |Svein Skogen | svein@d80.iso100.no \ / |Solberg Østli 9 | PGP Key: 0xE5E76831 X |2020 Skedsmokorset | svein@jernhuset.no / \ |Norway | PGP Key: 0xCE96CE13 | | svein@stillbilde.net ascii | | PGP Key: 0x58CD33B6 ribbon |System Admin | svein-listmail@stillbilde.net Campaign|stillbilde.net | PGP Key: 0x22D494A4 +-------------------+------------------------------- |msn messenger: | Mobile Phone: +47 907 03 575 |svein@jernhuset.no | RIPE handle: SS16503-RIPE - --------+-------------------+------------------------------- If you really are in a hurry, mail me at svein-mobile@stillbilde.net This mailbox goes directly to my cellphone and is checked even when I'm not in front of my computer. - ------------------------------------------------------------ Picture Gallery: https://gallery.stillbilde.net/v/svein/ - ------------------------------------------------------------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkubtf8ACgkQODUnwSLUlKTfGgCgndwhQdAjFjlUp2jCh5POr0jp 0rYAoKUsR2AjzlBCM/eqMfUjGfKtWXof =2lnD -----END PGP SIGNATURE-----