Re: `clang -pg` generates binary which coredumps on start

2021-01-29 Thread Lev Serebryakov
On 29.01.2021 10:47, Dimitry Andric wrote: I'm trying to profile my user-level program on FreeBSD 12-STABLE (amd64). When I build it with `cc -g -pg -O3` it coredumps on start. What do I do wrong? (lldb) bt * thread #1, name = 'mergenets', stop reason = signal SIGSEGV * frame #0: 0x0

ses device over T-SGPIO

2021-01-29 Thread Slawa Olhovchenkov
I am have Supermicro MB X9DBU-iF connected to bcakplane BPN-SAS-825TQ by T-SGPIO cables. sesutil don't found any SES device. Is this posible to have control to this backplane? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/

Re: ses device over T-SGPIO

2021-01-29 Thread Alan Somers
The short story is: SGPIO sucks. It doesn't detect drive presence, much less provide physical path information. The only thing you can do with it is control the fault LEDs. But doing that usefully requires you to have some extra source of information about what drives are installed in what slots

Re: ses device over T-SGPIO

2021-01-29 Thread Slawa Olhovchenkov
On Fri, Jan 29, 2021 at 09:22:47AM -0700, Alan Somers wrote: > The short story is: SGPIO sucks. It doesn't detect drive presence, much > less provide physical path information. The only thing you can do with it > is control the fault LEDs. But doing that usefully requires you to have > some ext

Re: ses device over T-SGPIO

2021-01-29 Thread Alan Somers
I've never used any tool with SGPIO. The hardware simply isn't powerful enough to be useful. sesutil works, in theory, to control the LEDs. But it's of limited usefulness since there's no way to tell which drives are installed in which slots. -Alan On Fri, Jan 29, 2021 at 9:44 AM Slawa Olhovche

Re: ses device over T-SGPIO

2021-01-29 Thread Slawa Olhovchenkov
On Fri, Jan 29, 2021 at 09:51:33AM -0700, Alan Somers wrote: > I've never used any tool with SGPIO. The hardware simply isn't powerful > enough to be useful. sesutil works, in theory, to control the LEDs. But > it's of limited usefulness since there's no way to tell which drives are > installed

Re: ses device over T-SGPIO

2021-01-29 Thread Alan Somers
What does "camcontrol devlist" show? On Fri, Jan 29, 2021 at 10:06 AM Slawa Olhovchenkov wrote: > On Fri, Jan 29, 2021 at 09:51:33AM -0700, Alan Somers wrote: > > > I've never used any tool with SGPIO. The hardware simply isn't powerful > > enough to be useful. sesutil works, in theory, to con

Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-21:02.extattr

2021-01-29 Thread Martin Simmons
> On Fri, 29 Jan 2021 02:34:06 + (UTC), FreeBSD Errata Notices said: > > 2) To update your system via a source code patch: > > The following patches have been verified to apply to the applicable > FreeBSD release branches. > > a) Download the relevant patch from the location below, and v

Re: [FreeBSD-Announce] FreeBSD Errata Notice FreeBSD-EN-21:02.extattr

2021-01-29 Thread Gordon Tetlow via freebsd-stable
On Jan 29, 2021, at 4:09 AM, Martin Simmons wrote: > >> On Fri, 29 Jan 2021 02:34:06 + (UTC), FreeBSD Errata Notices said: >> >> 2) To update your system via a source code patch: >> >> The following patches have been verified to apply to the applicable >> FreeBSD release branches. >> >

Re: ses device over T-SGPIO

2021-01-29 Thread Slawa Olhovchenkov
On Fri, Jan 29, 2021 at 10:12:03AM -0700, Alan Somers wrote: > What does "camcontrol devlist" show? Only 2 disk: usb-flash and da1 (isci connected) (I am currently just boot from 12.2 install) > On Fri, Jan 29, 2021 at 10:06 AM Slawa Olhovchenkov wrote: > > > On Fri, Jan 29, 2021 at 09:51:33AM

Re: ses device over T-SGPIO

2021-01-29 Thread Alan Somers
Oh, that means you don't have SGPIO after all. If you do, you'll see entries like this: at scbus0 target 0 lun 0 (pass0,ada0) at scbus1 target 0 lun 0 (pass1,ada1) at scbus2 target 0 lun 0 (pass2,ada2) at scbus6 target 0 lun 0 (ses0,pass3) On Fri, Jan 29, 2021 at 1:34 PM Slawa Olho