11.0 and tw_cli fail
Martin MATO
martin.mato at orange.fr
Tue May 30 22:38:28 UTC 2017
>From my experience;
I posess one 9650se card 12 ports with a computer build with freeBSD
with a custom kernel build.
i haved this particular error one day (it uses old mmap calls, which have removed some time ago)
you can see why it fails by invoking the tw_cli after the truss(1) command
# truss tw_cli
readlink("/etc/malloc.conf",0x7fffffffea50,63) ERR#2 'No such file or directory'
issetugid() = 0 (0x0)
compat6.mmap(0x0,0x1000,0x3,0x1002,0xffffffff,0x0,0x0) = 34366898176 (0x8006d4000)
break(0x78f000) = 0 (0x0)
break(0x790000) = 0 (0x0)
break(0x791000) = 0 (0x0)
sysarch(AMD64_SET_FSBASE,0x7fffffffeb10) = 0 (0x0)
----snip----
the tw_cli utility worked again with COMPAT_FREEBSD6 compiled in the kernel
and the compat libraries from the same version also installed...
this two things solved this very particular problem; for me at least.
hope it helps you.
Regards.
> Message du 30/05/17 23:34
> De : "Alan Somers"
> A : "CBL"
> Copie à : "FreeBSD"
> Objet : Re: 11.0 and tw_cli fail
>
> 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 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"
>
More information about the freebsd-stable
mailing list