From owner-freebsd-current@FreeBSD.ORG Fri Jan 18 11:44:04 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A55E2B42; Fri, 18 Jan 2013 11:44:04 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by mx1.freebsd.org (Postfix) with ESMTP id DEAB2B9; Fri, 18 Jan 2013 11:44:03 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id j5so1920006bkw.40 for ; Fri, 18 Jan 2013 03:44:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=Tf9h1qcLsoKTIaeeFucptiuCeQdW4mtPZloAjNejNF4=; b=e+6/z1/9c31YZDGW09LTj2DvBcJb7c52zaHYfac0xHqREbeM0V3yFewtb75O7z6pXh xhs8OufAXsRUdJCAG2rAzFCz6Z8P0o9Rn66iFAzXqoW9iip6KcRW4mQuvtuZYNIdXYSn 8TNZlGGGZSWWWfmI3thdDs4P/U8BrPxSRoc23xWOlu/Du0fmEQRiNJJrIzieU+TEJViN 0rNC++rHrgqWzQu1H5MIdSxHRFnx0NxRUqwHt6eXSMpXlKSNEHo6PC0PdCk4LHkP9xpZ BB0FKD/ElY/WEjZ6AaUt6cSJEfU1IHB4RybyUKSAFWVMaQTS699Dh+edou+KxxFWtu9O zjHg== X-Received: by 10.204.150.137 with SMTP id y9mr2409540bkv.103.1358509442616; Fri, 18 Jan 2013 03:44:02 -0800 (PST) Received: from mavbook.mavhome.dp.ua (mavhome.mavhome.dp.ua. [213.227.240.37]) by mx.google.com with ESMTPS id o7sm3511392bkv.13.2013.01.18.03.44.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 18 Jan 2013 03:44:01 -0800 (PST) Sender: Alexander Motin Message-ID: <50F9357F.8040109@FreeBSD.org> Date: Fri, 18 Jan 2013 13:43:59 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: satan@ukr.net Subject: Re: panic after r244584 References: <20130118073600.GA70874@hell.ukr.net> <20130118094424.GD2331@FreeBSD.org> <50F93165.60809@FreeBSD.org> <20130118113934.GA60441@hell.ukr.net> In-Reply-To: <20130118113934.GA60441@hell.ukr.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: jh@freebsd.org, Gleb Smirnoff , freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Fri, 18 Jan 2013 11:44:04 -0000 On 18.01.2013 13:39, Vitalij Satanivskij wrote: > Alexander Motin wrote: > AM> On 18.01.2013 11:44, Gleb Smirnoff wrote: > AM> > On Fri, Jan 18, 2013 at 09:36:00AM +0200, Vitalij Satanivskij wrote: > AM> > V> After upgrading server from old hardware/software to freebsd current (## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/245479), > AM> > V> system hung's with message - > AM> > V> panic: make_dev_alias_v: bad si_name (error=22 si_name=enc@n5003048000bab37d/tpe0/slot@1/elmdesc@Slot 01/pass7) > AM> > > AM> > EINVAL (22) is caused by space character in the si_name: > AM> > > AM> > si_name=enc@n5003048000bab37d/tpe0/slot@1/elmdesc@Slot 01/pass7 > AM> > > AM> > I think Alexander (in Cc) has idea on why did that happen and how > AM> > should that be fixed. > AM> > AM> The panic is triggered by the check added by the recent r244584 change. > AM> The space in device name came from the enclosure device, and I guess it > AM> may be quite often situation. Using human readable name supposed to help > AM> system administrators, but with spaces banned that may be a problem. > > That's was not created by human, it was generated (I think so) by system. These strings are flashed into enclosure firmware by manufacturer. > May be problem not in r244584 at all but in incorect generation of the si_name ? May be. But before r244584 it didn't cause panics and most of people were happy, except devctl consumers, who can't parse these events properly. > More info > > drive (actualy drives, all 36 have same problem) inserted in backplane on supermicro chasis with "LSI CORP SAS2X36 0417" on board. > > All of them attached to lsi sas 9211-4i controler in HBA mode. -- Alexander Motin