From owner-freebsd-stable@freebsd.org Tue May 30 22:38:27 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E01D5BEFF2E for ; Tue, 30 May 2017 22:38:27 +0000 (UTC) (envelope-from martin.mato@orange.fr) Received: from smtp.smtpout.orange.fr (smtp03.smtpout.orange.fr [80.12.242.125]) by mx1.freebsd.org (Postfix) with ESMTP id 3C9837DB96 for ; Tue, 30 May 2017 22:38:26 +0000 (UTC) (envelope-from martin.mato@orange.fr) Received: from wwinf1g18 ([10.232.37.62]) by mwinf5d06 with ME id SmWn1v00Y1LTB0S03mWno7; Wed, 31 May 2017 00:30:47 +0200 X-ME-Helo: wwinf1g18 X-ME-Auth: bWFydGluLm1hdG9Ab3JhbmdlLmZy X-ME-Date: Wed, 31 May 2017 00:30:48 +0200 X-ME-IP: 86.193.79.26 Date: Wed, 31 May 2017 00:30:47 +0200 (CEST) From: Martin MATO Reply-To: Martin MATO To: FreeBSD Message-ID: <731703634.18333.1496183447919.JavaMail.www@wwinf1g18> In-Reply-To: References: Subject: Re: 11.0 and tw_cli fail MIME-Version: 1.0 X-Originating-IP: [86.193.79.26] X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 22:38:28 -0000 =C2=A0 >From my experience; =C2=A0 I posess one 9650se card 12 ports with a computer build with freeBSD=20 with a custom kernel build. i haved this particular error one day (it uses old mmap calls, which have r= emoved=C2=A0 some time ago) =C2=A0 you can see why it fails by invoking the tw_cli after the truss(1) command =C2=A0 # truss tw_cli readlink("/etc/malloc.conf",0x7fffffffea50,63)=C2=A0=C2=A0 ERR#2 'No such f= ile or directory' issetugid()=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 =3D 0 (0x0) compat6.mmap(0x0,0x1000,0x3,0x1002,0xffffffff,0x0,0x0) =3D 34366898176 (0x8= 006d4000) break(0x78f000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0 (0x0) break(0x790000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0 (0x0) break(0x791000)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =3D 0 (0x0) sysarch(AMD64_SET_FSBASE,0x7fffffffeb10)=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0 =3D 0 (0x0) ----snip---- =C2=A0 the tw_cli utility worked again=C2=A0 with COMPAT_FREEBSD6 compiled in the = kernel and the compat libraries from the same version also installed... =C2=A0 this two things solved this very particular problem; for me at least. =C2=A0 hope=C2=A0 it helps you. =C2=A0 Regards. =C2=A0 > Message du 30/05/17 23:34 > De : "Alan Somers"=20 > A : "CBL"=20 > Copie =C3=A0 : "FreeBSD"=20 > Objet : Re: 11.0 and tw_cli fail >=20 > Was the tw_cli utility built for FreeBSD 10? If so, you need to > either rebuilt it, or build your kernel with COMPAT_FREEBSD10 in the > config file. It's in the GENERIC config file, so you'll have it if > you don't use a custom kernel. > -Alan >=20 > On Tue, May 30, 2017 at 3:19 PM, CBL wrote: > > Updated a box to 11.0 with a legacy 3ware 9690SA using the twe driver. > > Now the tw_cli utility is now throwing "Bad system call (core dumped). > > > > Anybody have any suggestions? Was working fine on 10.3. > > > > Thanks > > _______________________________________________ > > freebsd-stable@freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.or= g" > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > From owner-freebsd-stable@freebsd.org Tue May 30 22:40:51 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 56367BF010E for ; Tue, 30 May 2017 22:40:51 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from mail.in-addr.com (mail.in-addr.com [IPv6:2a01:4f8:191:61e8::2525:2525]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 221867DD36; Tue, 30 May 2017 22:40:51 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from gjp by mail.in-addr.com with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1dFpom-0003Jk-Sz; Tue, 30 May 2017 23:40:48 +0100 Date: Tue, 30 May 2017 23:40:48 +0100 From: Gary Palmer To: CBL Cc: Alan Somers , FreeBSD Subject: Re: 11.0 and tw_cli fail Message-ID: <20170530224048.GA51893@in-addr.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: gpalmer@freebsd.org X-SA-Exim-Scanned: No (on mail.in-addr.com); SAEximRunCond expanded to false X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 May 2017 22:40:51 -0000 % file tw_cli tw_cli: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), statically linked, for FreeBSD 5.4, stripped Try COMPAT_FREEBSD5 Regards, Gary On Tue, May 30, 2017 at 03:55:03PM -0600, CBL wrote: > Yeah, I have a custom kernel with COMPAT_FREEBSD10 already in it and no > joy. However, I checked GENERIC and it works. Then I tried COMPAT_FREEBSD9 > too and no go.. guess I'll keep playing. > > On Tue, May 30, 2017 at 3:33 PM, Alan Somers wrote: > > > Was the tw_cli utility built for FreeBSD 10? If so, you need to > > either rebuilt it, or build your kernel with COMPAT_FREEBSD10 in the > > config file. It's in the GENERIC config file, so you'll have it if > > you don't use a custom kernel. > > -Alan > > > > On Tue, May 30, 2017 at 3:19 PM, CBL wrote: > > > Updated a box to 11.0 with a legacy 3ware 9690SA using the twe driver. > > > Now the tw_cli utility is now throwing "Bad system call (core dumped). > > > > > > Anybody have any suggestions? Was working fine on 10.3. > > > > > > Thanks > > > _______________________________________________ > > > freebsd-stable@freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org > > " > > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >