Re: Bug 237666 - repeated messages of "uhub_reattach_port: giving up port reset - device vanished"

2020-08-11 Thread tech-lists

On Tue, Aug 04, 2020 at 01:53:16PM -0400, Gerard E. Seibert wrote:

I was told to resubmit this with the bug's title in the subject line.
Therefore, I am.

I am just inquiring to see if any progress had been made regarding bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237666

This bug affects both the 12.x and 13.x branches of FreeBSD.
Fortunately, it does not affect <= 11.x branches.

FreeBSD 12.2 is due out in October and version 13.0 only five months
later. At present, this bug infects both the 12.x and 13.x branches
making updating systems beyond 11.x impossible for users of the
afflicted systems. The fact that this bug has gone unremedied for so
long is somewhat disheartening.


Hi,

I encountered this bug sometime last year; this year in April it was
bothersome enough to try to do something about it. I "fixed" it by compiling
and installing a new kernel with everything USB-related removed. Fortunately
the machine does not need a USB peripheral of any sort. I've only ever run
12-stable on this machine. And it gave the usb error messages with nothing usb
attached, before installing the new kernel.

--
J.


signature.asc
Description: PGP signature


Re: 11.4 sendmail with SASL and ports openssl?

2020-08-11 Thread George Mitchell
On 2020-08-11 09:49, Bengt Ahlgren wrote:
> I have since long compiled sendmail in base with SASL using a src.conf
> like this:
> 
> # sendmail with SASL required for outgoing SMTP AUTH, see:
> # https://www.freebsd.org/doc/en/books/handbook/SMTP-Auth.html
> # depends on port security/cyrus-sasl2
> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
> SENDMAIL_LDFLAGS=-L/usr/local/lib
> SENDMAIL_LDADD=-lsasl2
> 
> Since I'm still using 11.4, I had to start using openssl from ports due
> to qt5 5.15.  Then the above didn't work anymore, so a bit reluctantly I
> added -I/usr/local/include to the CFLAGS above, fearing that some other
> random include file could be picked up.  It however compiled and the
> resulting binary is linked thus:
> 
> # ldd /usr/obj/usr/src/usr.sbin/sendmail/sendmail
> /usr/obj/usr/src/usr.sbin/sendmail/sendmail:
> libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x8008db000)
> libutil.so.9 => /lib/libutil.so.9 (0x800af9000)
> libssl.so.11 => /usr/local/lib/libssl.so.11 (0x800d0d000)
> libcrypto.so.11 => /usr/local/lib/libcrypto.so.11 (0x80100)
> libwrap.so.6 => /usr/lib/libwrap.so.6 (0x8014cb000)
> libc.so.7 => /lib/libc.so.7 (0x8016d4000)
> libdl.so.1 => /usr/lib/libdl.so.1 (0x801a8b000)
> libthr.so.3 => /lib/libthr.so.3 (0x801c8c000)
> 
> Does this look right?  Are there any know issues with this?
> 
> Thanks,
> 
> Bengt
> [...]

I've run into enough problems over SSL with qt5 and FreeBSD 11 that I
have been running this command:

cd /usr/ports; svn update -r541317 Mk/Uses/qt.mk devel/qt5 */qt5-*

after every svn update to circumvent the very problem you're seeing.
For some reason or other, I haven't yet been able to muster a whole
lot of enthusiasm for updating to FreeBSD 12 yet. -- George



signature.asc
Description: OpenPGP digital signature


Re: 11.4 sendmail with SASL and ports openssl?

2020-08-11 Thread Eugene Grosbein
11.08.2020 20:49, Bengt Ahlgren wrote:

> I have since long compiled sendmail in base with SASL using a src.conf
> like this:
> 
> # sendmail with SASL required for outgoing SMTP AUTH, see:
> # https://www.freebsd.org/doc/en/books/handbook/SMTP-Auth.html
> # depends on port security/cyrus-sasl2
> SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
> SENDMAIL_LDFLAGS=-L/usr/local/lib
> SENDMAIL_LDADD=-lsasl2
> 
> Since I'm still using 11.4, I had to start using openssl from ports due
> to qt5 5.15.  Then the above didn't work anymore, so a bit reluctantly I
> added -I/usr/local/include to the CFLAGS above, fearing that some other
> random include file could be picked up.

The Handbook was updated. Take a look to the link you have in the comment above
for new settings.

> It however compiled and the
> resulting binary is linked thus:
> 
> # ldd /usr/obj/usr/src/usr.sbin/sendmail/sendmail
> /usr/obj/usr/src/usr.sbin/sendmail/sendmail:
> libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x8008db000)
> libutil.so.9 => /lib/libutil.so.9 (0x800af9000)
> libssl.so.11 => /usr/local/lib/libssl.so.11 (0x800d0d000)
> libcrypto.so.11 => /usr/local/lib/libcrypto.so.11 (0x80100)
> libwrap.so.6 => /usr/lib/libwrap.so.6 (0x8014cb000)
> libc.so.7 => /lib/libc.so.7 (0x8016d4000)
> libdl.so.1 => /usr/lib/libdl.so.1 (0x801a8b000)
> libthr.so.3 => /lib/libthr.so.3 (0x801c8c000)
> 
> Does this look right?  Are there any know issues with this?

If it's working for you, that's fine. If you like to minimize linking with 
ports libraries,
use updated instructions from the Handbook. Sendmail will build and link with 
base system
libssl/libcrypto and use only libsasl2 from ports/packages.


___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


11.4 sendmail with SASL and ports openssl?

2020-08-11 Thread Bengt Ahlgren
I have since long compiled sendmail in base with SASL using a src.conf
like this:

# sendmail with SASL required for outgoing SMTP AUTH, see:
# https://www.freebsd.org/doc/en/books/handbook/SMTP-Auth.html
# depends on port security/cyrus-sasl2
SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

Since I'm still using 11.4, I had to start using openssl from ports due
to qt5 5.15.  Then the above didn't work anymore, so a bit reluctantly I
added -I/usr/local/include to the CFLAGS above, fearing that some other
random include file could be picked up.  It however compiled and the
resulting binary is linked thus:

# ldd /usr/obj/usr/src/usr.sbin/sendmail/sendmail
/usr/obj/usr/src/usr.sbin/sendmail/sendmail:
libsasl2.so.3 => /usr/local/lib/libsasl2.so.3 (0x8008db000)
libutil.so.9 => /lib/libutil.so.9 (0x800af9000)
libssl.so.11 => /usr/local/lib/libssl.so.11 (0x800d0d000)
libcrypto.so.11 => /usr/local/lib/libcrypto.so.11 (0x80100)
libwrap.so.6 => /usr/lib/libwrap.so.6 (0x8014cb000)
libc.so.7 => /lib/libc.so.7 (0x8016d4000)
libdl.so.1 => /usr/lib/libdl.so.1 (0x801a8b000)
libthr.so.3 => /lib/libthr.so.3 (0x801c8c000)

Does this look right?  Are there any know issues with this?

Thanks,

Bengt
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"