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 <asomers at freebsd.org> 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 <alandaluz at gmail.com> 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 at freebsd.org mailing list > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org > " >
For those curious, COMPAT_FREEBSD6 and COMPAT_FREEBSD7 were the ticket to get tw_cli working on FreeBSD 11.0. Wish Broadcom would roll a new binary. On Tue, May 30, 2017 at 3:55 PM, CBL <alandaluz at gmail.com> 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 <asomers at freebsd.org> 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 <alandaluz at gmail.com> 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 at freebsd.org mailing list >> > https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at fr >> eebsd.org" >> > >
I am pretty sure you're going to need to go all the way back to COMPAT_FREEBSD5 for that. Or just do what GENERIC does and go all the way back to COMPAT_FREEBSD32 (and everything in between). michael On 5/30/17 2:55 PM, 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 <asomers at freebsd.org> 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 <alandaluz at gmail.com> 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 at freebsd.org mailing list >>> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >>> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org >> " >> > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >
% 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 <asomers at freebsd.org> 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 <alandaluz at gmail.com> 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 at freebsd.org mailing list > > > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > > > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org > > " > > > _______________________________________________ > freebsd-stable at freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org" >