From owner-freebsd-current@freebsd.org Mon Dec 31 00:38:57 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 89036143B898 for ; Mon, 31 Dec 2018 00:38:57 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic304-12.consmr.mail.bf2.yahoo.com (sonic304-12.consmr.mail.bf2.yahoo.com [74.6.128.35]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2F9F75565 for ; Mon, 31 Dec 2018 00:38:55 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: 5ER293AVM1nYvxUVQp1SOJ2JY9oTqoEra0yamggZlr6CsuilPTlX3gomiy4MtUd Ai16CS9aKKe0y63Eu0yMAi4HgptjfXkUHxkx2xwotBJ81PkM35hsMX9WRbffkFH4wHX1XxgEkUVy qphqY1NniQt2sG0lE4VBG3wIFVVX._j9tv0B8bIQ7HX33PEnpqIi8kSSB8FCP6Duvw06QfkcPX90 j64kjbA60H1vx1oC2lPTu2XHILSDr6s0a9n1W8K_scpf7BNmSdgFPM4SZJ4Yl2X6iKguTX6i0qWX V6A0Mh8wfahwP7DA3eC1wXPmfPSmiEKfOdkk5ckpPaZJ30Qfgim9N9LHJt3IvmBx3cBiRara_7Ba LlxTiMTN.rrDZyXRzz.UgRMsG53XDvoGRKN1CITGni.GPFoKzPz25zK4zO_NUGDRIjcHgIlDyRXX GXK0e4HAKVM_.uHb50YfbZKmDp.I_vE.445lN16zMku9FkQ35gnzDUzJ5NemPhKjIxWtPSBCWwce ZKrErVCcrwLRwkoIcCnI.NG2eroXWJtwa9hsr_MgEhU2E7ue.wC5kg.pAddj5lA47_.DWtsaH0gk 6RGrWwsPmPvn_7_k7wSXy8P.8hJJkdhSHL9AjhNPjxd2iSWSN8H1tvTAGxGnpcNVxlgA6A8dwRW7 PWaVhGv6lAaNXGU_xxC68g2rvDZASL1M7mePK4xVOTtmycZflzCTJbWGQAaNvC2KqZCZ61rr2fdv U4w6kMiNrSMIf_6npPOMwv85gLKWY9yQelxlBs8lAq_9whoYozrqceWpsvzxW8crmcC_IyhQpPB6 XC_WL0uznyX9_8tEP_Y8WK7TGykFbWPbwoC0Pk8gI2gOCXFCn9Y7G2obXG1zw9J.sljgCfdmQH_u 4pf6A7HIm_gMJPM4TojLBoWqcYhGN4BOtK6wERh2944zfcQerFxrp5HZEAcF2z8m25LgZ4vqtlb9 3NIV9Ki8UcyKekwfOkzNGdVbnzHmC1_RROrbOrsTsPsLnwhQI_060DFpqseYJaYNkOlH50Dezy1x Q1HKf093xalJFKBw45_dU_i3.dOKz.iUlJ4HDvgTtUHA0PkZWyKz0TulI.U9OtjLxiQ0op.A- Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.bf2.yahoo.com with HTTP; Mon, 31 Dec 2018 00:38:49 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp422.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 57b6b0495726289929d5de26bdecfcdf; Mon, 31 Dec 2018 00:38:44 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] From: Mark Millard In-Reply-To: <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> Date: Sun, 30 Dec 2018 16:38:42 -0800 Cc: freebsd-emulation@freebsd.org, FreeBSD Current , ports-list freebsd , freebsd-arm , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> To: mmel@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: F2F9F75565 X-Spamd-Bar: / X-Spamd-Result: default: False [0.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.31)[-0.307,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.46)[0.457,0]; NEURAL_HAM_LONG(-0.11)[-0.108,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.41)[ip: (4.36), ipnet: 74.6.128.0/21(1.54), asn: 26101(1.23), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[35.128.6.74.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 00:38:57 -0000 On 2018-Dec-28, at 12:12, Mark Millard wrote: > On 2018-Dec-28, at 05:13, Michal Meloun = wrote: >=20 >> Mark, >> this is known problem with qemu-user-static. >> Emulation of every single interruptible syscall is broken by design = (it >> have signal related races). Theses races cannot be solved without = major >> rewrite of syscall emulation code. >> Unfortunately, nobody actively works on this, I think. >>=20 >=20 > Thanks for the note setting some expectations. > . . . It turns out that I've been through (part of?) this before and mikael.urankar@gmail.com had back then provided a qemu-user-static patch (that might have been arm specific or 32-bit target specific when running on a 64-bit host). (The qemu-user-static code structure seems to have changed some afterwards and the patch is no longer where he had pointed me to back then.) To show size and offsets on armv7 vs. armd64 for struct kevent I use: # more kevent_size_offsets.c=20 #include "/usr/include/sys/event.h" // kevent #include // offsetof #include // printf int main() { printf("%lu\n", (unsigned long) sizeof(struct kevent)); printf("ident %lu\n", (unsigned long) offsetof(struct kevent, = ident)); printf("filter %lu\n", (unsigned long) offsetof(struct kevent, = filter)); printf("flags %lu\n", (unsigned long) offsetof(struct kevent, = flags)); printf("fflags %lu\n", (unsigned long) offsetof(struct kevent, = fflags)); printf("data %lu\n", (unsigned long) offsetof(struct kevent, = data)); printf("udata %lu\n", (unsigned long) offsetof(struct kevent, = udata)); printf("ext %lu\n", (unsigned long) offsetof(struct kevent, = ext)); return 0; } It ends up showing on armv7 (under qemu-arm-static insteead of native, = not that it matters here): # ./a.out 64 ident 0 filter 4 flags 6 fflags 8 data 16 udata 24 ext 32 On amd64 (native) it ends up as: # ./a.out 64 ident 0 filter 8 flags 10 fflags 12 data 16 udata 24 ext 32 Thus a translation of layout is required when hosted. This is for: struct kevent { __uintptr_t ident; /* identifier for this event */ short filter; /* filter for event */ unsigned short flags; /* action flags for kqueue */ unsigned int fflags; /* filter flag value */ __int64_t data; /* filter data value */ void *udata; /* opaque user data identifier = */ __uint64_t ext[4]; /* extensions */ }; But qemu-user-static has for translation purposes: struct target_freebsd_kevent { abi_ulong ident; int16_t filter; uint16_t flags; uint32_t fflags; int64_t data; abi_ulong udata; uint64_t ext[4]; } __packed; (note the __packed) for which in amd64's qemu_arm_static has the size and offsets: # gdb qemu-arm-static . . . (gdb) p/d sizeof(struct target_freebsd_kevent) $1 =3D 56 (gdb) p/d &((struct target_freebsd_kevent *)0)->ident $2 =3D 0 (gdb) p/d &((struct target_freebsd_kevent *)0)->filter $3 =3D 4 (gdb) p/d &((struct target_freebsd_kevent *)0)->flags $4 =3D 6 (gdb) p/d &((struct target_freebsd_kevent *)0)->fflags $5 =3D 8 (gdb) p/d &((struct target_freebsd_kevent *)0)->data $6 =3D 12 (gdb) p/d &((struct target_freebsd_kevent *)0)->udata $7 =3D 20 (gdb) p/d &((struct target_freebsd_kevent *)0)->ext $8 =3D 24 which which does not match the armv7 offsets for data, udata, or ext and does not have the right size for struct target_freebsd_kevent[] indexing to match armv7's struct target_freebsd_kevent[] indexing. This in turn makes the do_freebsd_kevent code do the wrong thing in its: struct target_freebsd_kevent *target_changelist, *target_eventlist; . . . for (i =3D 0; i < arg3; i++) { __get_user(changelist[i].ident, = &target_changelist[i].ident); __get_user(changelist[i].filter, = &target_changelist[i].filter); __get_user(changelist[i].flags, = &target_changelist[i].flags); __get_user(changelist[i].fflags, = &target_changelist[i].fflags); __get_user(changelist[i].data, &target_changelist[i].data); /* __get_user(changelist[i].udata, = &target_changelist[i].udata); */ #if TARGET_ABI_BITS =3D=3D 32 changelist[i].udata =3D (void = *)(uintptr_t)target_changelist[i].udata; tswap32s((uint32_t *)&changelist[i].udata); #else changelist[i].udata =3D (void = *)(uintptr_t)target_changelist[i].udata; tswap64s((uint64_t *)&changelist[i].udata); #endif __get_user(changelist[i].ext[0], = &target_changelist[i].ext[0]); __get_user(changelist[i].ext[1], = &target_changelist[i].ext[1]); __get_user(changelist[i].ext[2], = &target_changelist[i].ext[2]); __get_user(changelist[i].ext[3], = &target_changelist[i].ext[3]); } . . . for (i =3D 0; i < arg5; i++) { __put_user(eventlist[i].ident, &target_eventlist[i].ident); __put_user(eventlist[i].filter, = &target_eventlist[i].filter); __put_user(eventlist[i].flags, &target_eventlist[i].flags); __put_user(eventlist[i].fflags, = &target_eventlist[i].fflags); __put_user(eventlist[i].data, &target_eventlist[i].data); /* __put_user(eventlist[i].udata, = &target_eventlist[i].udata);*/ #if TARGET_ABI_BITS =3D=3D 32 tswap32s((uint32_t *)&eventlist[i].data); target_eventlist[i].data =3D (uintptr_t)eventlist[i].data; #else tswap64s((uint64_t *)&eventlist[i].data); target_eventlist[i].data =3D (uintptr_t)eventlist[i].data; #endif __put_user(eventlist[i].ext[0], = &target_eventlist[i].ext[0]); __put_user(eventlist[i].ext[1], = &target_eventlist[i].ext[1]); __put_user(eventlist[i].ext[2], = &target_eventlist[i].ext[2]); __put_user(eventlist[i].ext[3], = &target_eventlist[i].ext[3]); } I'll eventually do something to have struct target_freebsd_kevent for amd64-native targeting armv7 and see if that is sufficient to avoid the problem in my context. Previously removing the __packed was enough to make the structure the same size with the same offsets as for armv7. (Such might not have been appropriate to all targets.) armv6 would have the same problem as I understand things. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Mon Dec 31 01:26:16 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 019A7143D1FF for ; Mon, 31 Dec 2018 01:26:16 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic314-14.consmr.mail.bf2.yahoo.com (sonic314-14.consmr.mail.bf2.yahoo.com [74.6.132.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91D1577034 for ; Mon, 31 Dec 2018 01:26:14 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: GCCA8DAVM1kUKxhiZC8K8BRc3IuZ3yLJKqIXG.4_x_.P8EH8M7AagoQvnyA5vTG 5AvuN8stcgjNaxL9Z1HIvS79Yf0mnvF8yWwGNK9H6I22rLXQr2cvQYUyBzb2NHeyKzEhNkF.I7gf AT1gqwO8UQnMy.f1xseIx2lRfJkWnUWBs_paoelClh02aNIc3k9EY0r_VbabEIO7CzEcCfYCRP2l Ixws9HIw2mjF6Se.Hx2WqSXUaVb8E6RvQ6e3q6dhZ1C_C4hXbjVCu6pTCPL0X1EaVq39iWMvt5Ax fGIfgOZjZoGrc._pWtdtDh2v5bncKvsKRtrb1Zvy3tIq22USMlsBVWA_e_PuStLvnJ.sqae.XQ7V zh9MCPnhpvnoyqnQYpnfaBk4kx9zMU5VYMu.gvvJdGrrH6R0D4EmwDuSe_uW3dT4ol0q1qXdSlA0 vPO0WFE_pPYCyvY8K6Zi7G.L2Be3AwqPdu.1a2dQgCLmUrl79701SNNnSXakEW6ZGknARz9bIpos .9Y0n6yjA5L8Rbc7MyTr2bH8ZlaUS64_Ruwxr6gSZMEaKI1lCnDt5Foc0uckzQ3nFNU9ZyZ.JShv pPjfq1vTyBQgQOX9VT_fivUoIzeKMEnE_ssLiLtNCaaYkaaHePGd_qB.JH2.cNhlaYTDFsTkJICT gYph1la6EJ3H3Vw_9_rzr3HlZ42tPP_nx9F1TY0cjjsCAchArofoNlvGR20iSDJmqw8W2NnxWySG SLqtcoRlD0r3zTxeysQF1Bg5Es0fgnHdnK7oBJ7IXrIWGIaDxqIPAIBE1MEaPqhKG9sFwUkCBQS3 OZ7FyYGxbEcgBTBjTawK2zxNK6povtllziHMruDNUD1dMfjSV.Iq5KerMx5N8_XQUkDW1EOdWS2t RzOFeJTi8LzkH8K7ZkzZTrWjnlcBicPFnD2P0StLY_u9yUzHwyEDWTiKqYGc1BtGUVicKersZZCP Zz2TZD3eMQmwUktY5oQf9gnEPj37V6KQZEbhPWjXdMik47gtXxU5JGLD._BtPwN_I0UR8uHwgWn8 LjRqP9RCh_FovgCix9YUfMf6RTes7Jg0TnRGkTO_tc7YFQeWCt4mSY1UNWd_g9Lj2BiImZLE0VMg - Received: from sonic.gate.mail.ne1.yahoo.com by sonic314.consmr.mail.bf2.yahoo.com with HTTP; Mon, 31 Dec 2018 01:26:08 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp403.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 04ffb892c2e4a018446db2706dc31fd2; Mon, 31 Dec 2018 01:26:04 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] From: Mark Millard In-Reply-To: Date: Sun, 30 Dec 2018 17:26:01 -0800 Cc: freebsd-emulation@freebsd.org, FreeBSD Current , ports-list freebsd , freebsd-arm , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> To: mmel@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 91D1577034 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.10)[-0.098,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.90)[0.904,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.58)[ip: (5.23), ipnet: 74.6.128.0/21(1.54), asn: 26101(1.23), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.13)[0.125,0]; RCVD_IN_DNSWL_NONE(0.00)[124.132.6.74.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 01:26:16 -0000 [Removing __packed did make the size and offsets match armv7 and the build worked based on the reconstructed qemu-arm-static.] On 2018-Dec-30, at 16:38, Mark Millard wrote: > On 2018-Dec-28, at 12:12, Mark Millard wrote: >=20 >> On 2018-Dec-28, at 05:13, Michal Meloun = wrote: >>=20 >>> Mark, >>> this is known problem with qemu-user-static. >>> Emulation of every single interruptible syscall is broken by design = (it >>> have signal related races). Theses races cannot be solved without = major >>> rewrite of syscall emulation code. >>> Unfortunately, nobody actively works on this, I think. >>>=20 >>=20 >> Thanks for the note setting some expectations. >> . . . >=20 >=20 > It turns out that I've been through (part of?) this before and > mikael.urankar@gmail.com had back then provided a qemu-user-static > patch (that might have been arm specific or 32-bit target specific > when running on a 64-bit host). (The qemu-user-static code structure > seems to have changed some afterwards and the patch is no longer > where he had pointed me to back then.) >=20 > To show size and offsets on armv7 vs. armd64 for struct kevent > I use: >=20 > # more kevent_size_offsets.c=20 > #include "/usr/include/sys/event.h" // kevent > #include // offsetof > #include // printf >=20 > int > main() > { > printf("%lu\n", (unsigned long) sizeof(struct kevent)); > printf("ident %lu\n", (unsigned long) offsetof(struct kevent, = ident)); > printf("filter %lu\n", (unsigned long) offsetof(struct kevent, = filter)); > printf("flags %lu\n", (unsigned long) offsetof(struct kevent, = flags)); > printf("fflags %lu\n", (unsigned long) offsetof(struct kevent, = fflags)); > printf("data %lu\n", (unsigned long) offsetof(struct kevent, = data)); > printf("udata %lu\n", (unsigned long) offsetof(struct kevent, = udata)); > printf("ext %lu\n", (unsigned long) offsetof(struct kevent, = ext)); > return 0; > } >=20 > It ends up showing on armv7 (under qemu-arm-static insteead of native, = not > that it matters here): >=20 > # ./a.out > 64 > ident 0 > filter 4 > flags 6 > fflags 8 > data 16 > udata 24 > ext 32 >=20 > On amd64 (native) it ends up as: >=20 > # ./a.out > 64 > ident 0 > filter 8 > flags 10 > fflags 12 > data 16 > udata 24 > ext 32 >=20 > Thus a translation of layout is required when hosted. This is for: >=20 > struct kevent { > __uintptr_t ident; /* identifier for this event */ > short filter; /* filter for event */ > unsigned short flags; /* action flags for kqueue */ > unsigned int fflags; /* filter flag value */ > __int64_t data; /* filter data value */ > void *udata; /* opaque user data identifier = */ > __uint64_t ext[4]; /* extensions */ > }; >=20 > But qemu-user-static has for translation purposes: >=20 > struct target_freebsd_kevent { > abi_ulong ident; > int16_t filter; > uint16_t flags; > uint32_t fflags; > int64_t data; > abi_ulong udata; > uint64_t ext[4]; > } __packed; >=20 > (note the __packed) for which in amd64's qemu_arm_static has > the size and offsets: >=20 > # gdb qemu-arm-static > . . . > (gdb) p/d sizeof(struct target_freebsd_kevent) > $1 =3D 56 > (gdb) p/d &((struct target_freebsd_kevent *)0)->ident > $2 =3D 0 > (gdb) p/d &((struct target_freebsd_kevent *)0)->filter > $3 =3D 4 > (gdb) p/d &((struct target_freebsd_kevent *)0)->flags > $4 =3D 6 > (gdb) p/d &((struct target_freebsd_kevent *)0)->fflags > $5 =3D 8 > (gdb) p/d &((struct target_freebsd_kevent *)0)->data > $6 =3D 12 > (gdb) p/d &((struct target_freebsd_kevent *)0)->udata > $7 =3D 20 > (gdb) p/d &((struct target_freebsd_kevent *)0)->ext > $8 =3D 24 >=20 > which which does not match the armv7 offsets for > data, udata, or ext and does not have the right size > for struct target_freebsd_kevent[] indexing to > match armv7's struct target_freebsd_kevent[] indexing. >=20 > This in turn makes the do_freebsd_kevent code do the wrong > thing in its: >=20 > struct target_freebsd_kevent *target_changelist, *target_eventlist; > . . . > for (i =3D 0; i < arg3; i++) { > __get_user(changelist[i].ident, = &target_changelist[i].ident); > __get_user(changelist[i].filter, = &target_changelist[i].filter); > __get_user(changelist[i].flags, = &target_changelist[i].flags); > __get_user(changelist[i].fflags, = &target_changelist[i].fflags); > __get_user(changelist[i].data, &target_changelist[i].data); > /* __get_user(changelist[i].udata, = &target_changelist[i].udata); */ > #if TARGET_ABI_BITS =3D=3D 32 > changelist[i].udata =3D (void = *)(uintptr_t)target_changelist[i].udata; > tswap32s((uint32_t *)&changelist[i].udata); > #else > changelist[i].udata =3D (void = *)(uintptr_t)target_changelist[i].udata; > tswap64s((uint64_t *)&changelist[i].udata); > #endif > __get_user(changelist[i].ext[0], = &target_changelist[i].ext[0]); > __get_user(changelist[i].ext[1], = &target_changelist[i].ext[1]); > __get_user(changelist[i].ext[2], = &target_changelist[i].ext[2]); > __get_user(changelist[i].ext[3], = &target_changelist[i].ext[3]); > } > . . . > for (i =3D 0; i < arg5; i++) { > __put_user(eventlist[i].ident, &target_eventlist[i].ident); > __put_user(eventlist[i].filter, = &target_eventlist[i].filter); > __put_user(eventlist[i].flags, &target_eventlist[i].flags); > __put_user(eventlist[i].fflags, = &target_eventlist[i].fflags); > __put_user(eventlist[i].data, &target_eventlist[i].data); > /* __put_user(eventlist[i].udata, = &target_eventlist[i].udata);*/ > #if TARGET_ABI_BITS =3D=3D 32 > tswap32s((uint32_t *)&eventlist[i].data); > target_eventlist[i].data =3D (uintptr_t)eventlist[i].data; > #else > tswap64s((uint64_t *)&eventlist[i].data); > target_eventlist[i].data =3D (uintptr_t)eventlist[i].data; > #endif > __put_user(eventlist[i].ext[0], = &target_eventlist[i].ext[0]); > __put_user(eventlist[i].ext[1], = &target_eventlist[i].ext[1]); > __put_user(eventlist[i].ext[2], = &target_eventlist[i].ext[2]); > __put_user(eventlist[i].ext[3], = &target_eventlist[i].ext[3]); > } >=20 >=20 >=20 > I'll eventually do something to have struct target_freebsd_kevent for > amd64-native targeting armv7 and see if that is sufficient to avoid = the > problem in my context. Previously removing the __packed was enough to > make the structure the same size with the same offsets as for armv7. > (Such might not have been appropriate to all targets.) >=20 > armv6 would have the same problem as I understand things. Using commented out __packed in: struct target_freebsd11_kevent { abi_ulong ident; int16_t filter; uint16_t flags; uint32_t fflags; abi_long data; abi_ulong udata; } ; // __packed; struct target_freebsd_kevent { abi_ulong ident; int16_t filter; uint16_t flags; uint32_t fflags; int64_t data; abi_ulong udata; uint64_t ext[4]; } ; // __packed; in = /wrkdirs/usr/ports/emulators/qemu-user-static/work/qemu-bsd-user-4ef7d07/b= sd-user/syscall_defs.h was sufficient to allow the multimedia/gstreamer1-qt@qt5 build to = complete: no more hang-up. So this is likely what is wrong for the packages-builders as well. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Mon Dec 31 08:05:46 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95E4C142AD57 for ; Mon, 31 Dec 2018 08:05:46 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-20.consmr.mail.ne1.yahoo.com (sonic309-20.consmr.mail.ne1.yahoo.com [66.163.184.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 347A98F003 for ; Mon, 31 Dec 2018 08:05:44 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: oyA5EscVM1mqNZkxzVcgwUqOKvV_U3MMD3PfEZxE_7AieulH4igtebPJaoW6pk8 hK1ONZrFGv8Fx0ncA0cuBJWacJMWD1G7hV0Y0AqB1C2fAD4ztXhFj7ocFQsK9Ne6WEpIFgyExWdW KmCzFjIoUcrt0bGjBCftAzAyOXlkNlseptznyyiodskp2aVZDpVIR2bCswSmxCK_yMEvhYqMkIJP D9jQs4KXG2W756WJvaDhMAPwb.ekLf2XxUEPYUq2TTJL0TzgVULeXcPPwpPu8Piiofi5FcdV90vS 0P2hDfePQJJPjAV0FsSZSKpFGozNPw0GjZggko7PRs8Y3wM7IOdZAu_Vt6Bh0B0pv6moKi9f4Nfq eDdq8QE6iNl1kyhqjZOylUhTXpqjXvzqcUZ63KiZs1ruVFKNDtFcRFyPGjIVl.eK3vpdGQYiP5_q rLf4hq0k6zDPDSOdkXAhZIv53AJpWWcgKWwQiDgrPDvRp7EcSRCL3GWE5a..dGHkXxk0bCXxhbMr aV3Bjj0XOAw4dOxyjYMZ31FU6euUTAblvg8Vhd2ToLDzlQpR3zF3HGnqh9TVW0Jb4nyR7INTSO1g plKKY7L66YOEVkHXPE1ekAe0S0.eahjFXC7Z2va20w_glHUvfDYq6HzqOidIhdK87VVVd3Sdacw_ bnq0vVK46MXBETwCHXHTmCNv.4IqOxtTYRA0ZoPgidpAN0Z1slNo4OHSXAkLKo0IdfxvkQZnXvB_ VGL8c4VFYm.GxUTocR9EiNSNm53GtP9W7p270Nf67NvbjV4iQhU6.QOhmPWtSyvb5iKK8AuZY8k. ZoIm0q3v0iEwLxjR8fxPb.Ebd6UCstE5ZZRk.PVpyLR3CHwjN9eGaU7E2mpJdd.dctz9xHiBwgky E0YLlmYJF0H8jiv63SpL0vg00vTT0I233ZtpMjTvl8yP4NtafXdo0OQK_oOhqPBRfAPAY4WYDnLI SsAJgLEjCP5DTCocGB_VEOx7EL5GmNC4pFbD2zxyiuOSZTnHEPRS37Kqvt0JZAJ6qxnuIXhB1cMP sUEcdez.ZPgMgsrTYQxXkm06kjleBPqrGKoWksaTpySWvZpThuUwLy6H5APtAf3gm4.UoSmAjsoc - Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Mon, 31 Dec 2018 08:05:37 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp417.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 9a7d61f623df156aa1a0a58f98273bbf; Mon, 31 Dec 2018 08:05:33 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] From: Mark Millard In-Reply-To: Date: Mon, 31 Dec 2018 00:05:31 -0800 Cc: mmel@freebsd.org, freebsd-emulation@freebsd.org, FreeBSD Current , freebsd-arm , ports-list freebsd , FreeBSD Toolchain Content-Transfer-Encoding: 7bit Message-Id: <82478A45-7D15-4995-B333-FC42B39E5345@yahoo.com> References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> To: Jonathan Chen X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 347A98F003 X-Spamd-Bar: + X-Spamd-Result: default: False [1.74 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; RCPT_COUNT_SEVEN(0.00)[7]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.544,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.64)[0.642,0]; NEURAL_HAM_LONG(-0.42)[-0.425,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.08)[ip: (3.39), ipnet: 66.163.184.0/21(1.15), asn: 36646(0.92), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[146.184.163.66.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[146.184.163.66.rep.mailspike.net : 127.0.0.17]; SUSPICIOUS_RECIPS(1.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 08:05:46 -0000 On 2018-Dec-30, at 21:01, Jonathan Chen wrote: > On Mon, 31 Dec 2018 at 14:34, Mark Millard via freebsd-ports > wrote: >> >> [Removing __packed did make the size and offsets match armv7 >> and the build worked based on the reconstructed qemu-arm-static.] > > Thanks for the analysis Mark! I've been suffering quite a few hangups > with my ports crossbuilds on amd64->armv7 on 12-STABLE, and I'll be > trying your suggestions to see whether it resolves the issue. If you have something like a kqread state for a hang-up consistently in the same place, then Mikael Urankar 's fix (or any other way of getting the right sizes and field offsets for kevent) has a chance of fixing what you have observed. But if you have a form of hang-up that shows no sign of being tied to kevent or hangs-up only sometimes, I'd be surprised if the __packed change(s) would fix the issue. I've seen such racy hang-ups from lld's creation of (#cpu)+2 threads, as FreeBSD counts cpus. I've selectively forced -Wl,--no-threads at times in specific contexts to avoid that. binutils ld does not tolerate the option. ports does not appear to have an equivalent of: LDFLAGS.lld+= -Wl,--no-threads that would be lld specific. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Mon Dec 31 11:28:06 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2762E142FE20 for ; Mon, 31 Dec 2018 11:28:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 08A6295235 for ; Mon, 31 Dec 2018 11:28:04 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.111.61] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gdvjg-0007ln-N6 for freebsd-current@freebsd.org; Mon, 31 Dec 2018 12:27:56 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id wBVBRtMJ002393 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Mon, 31 Dec 2018 12:27:55 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id wBVBRtMa002392 for freebsd-current@freebsd.org; Mon, 31 Dec 2018 12:27:55 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Mon, 31 Dec 2018 12:27:55 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: stop in make installworld: ld-elf.so.1: symbol lstat1@FBSD_1.5 not found Message-ID: <20181231112755.GA2358@e6330-r314251> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.8.0 (2017-02-23) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.111.61 X-Rspamd-Queue-Id: 08A6295235 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.48 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; IP_SCORE(-2.78)[ip: (-8.02), ipnet: 178.254.0.0/19(-3.26), asn: 42730(-2.61), country: DE(-0.01)]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; RECEIVED_SPAMHAUS_PBL(0.00)[61.111.217.88.zen.spamhaus.org : 127.0.0.10]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[unixarea.de]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 11:28:06 -0000 Hello, I'm updating the usual way a system from r314251 the the actual CURRENT. The 'make installworld' failes in single user mode with: ld-elf.so.1: /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/rm: Undefined symbol lstat1@FBSD_1.5 What can I do? Thanks matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, =E2=8C=82 http://www.unixarea.d= e/ =E2=98=8E +49-176-38902045 From owner-freebsd-current@freebsd.org Mon Dec 31 12:08:59 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A6D1E1431AF9 for ; Mon, 31 Dec 2018 12:08:59 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A8B1996AA7 for ; Mon, 31 Dec 2018 12:08:58 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from x59cc8775.dyn.telefonica.de ([89.204.135.117] helo=[127.0.0.1]) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gdwNL-0007Ah-NJ for freebsd-current@freebsd.org; Mon, 31 Dec 2018 13:08:56 +0100 Date: Mon, 31 Dec 2018 12:08:55 +0000 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: stop in make installworld: ld-elf.so.1: symbol lstat1@FBSD_1.5 not found Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20181231112755.GA2358@e6330-r314251> References: <20181231112755.GA2358@e6330-r314251> Message-ID: MIME-Version: 1.0 X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.117 X-Rspamd-Queue-Id: A8B1996AA7 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.64 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_XOIP(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; IP_SCORE(-2.67)[ip: (-7.70), ipnet: 178.254.0.0/19(-3.14), asn: 42730(-2.51), country: DE(-0.01)]; FROM_EQ_ENVFROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; DMARC_NA(0.00)[unixarea.de]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.76)[-0.758,0]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_SPF_NA(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[117.135.204.89.zen.spamhaus.org : 127.0.0.11] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 12:08:59 -0000 On Mon, 31 Dec 2018 12:27:55 +0100, Matthias Apitz wrote: > > Hello, > > I'm updating the usual way a system from r314251 to tje actual CURRENT= r342378. > The 'make installworld' failes in single user mode with: > > ld-elf.so.1: /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/rm: > Undefined symbol lstat1@FBSD_1.5 > > What can I do? As I had no other idead, I run the 'make installworld' again, now with suc= cess. What does this mean? matthias -- Sent using Dekko from my Ubuntu device http://www.unixarea.de/ +49 176 38902045 From owner-freebsd-current@freebsd.org Mon Dec 31 05:01:28 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 210331421CB4 for ; Mon, 31 Dec 2018 05:01:28 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-ua1-x941.google.com (mail-ua1-x941.google.com [IPv6:2607:f8b0:4864:20::941]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 63F1E870B0 for ; Mon, 31 Dec 2018 05:01:25 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-ua1-x941.google.com with SMTP id d2so8408692ual.2 for ; Sun, 30 Dec 2018 21:01:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QFPFb9gWPIEkXrgIwZErCATYwfa5hjOLLmWTWs7MFh8=; b=XwfRu4l07HKkDgYJMTBNHWd4xdPiktOFg5uaO/uaFQDDAz97yjgsxnZdV6g12Pe3Sj EdiFSZo20vxTScii9v9WjxKnDYAIdztrB+eW/nwLfyauJhOr9/BRT9Pp7iB25mplFb5R glFehgS5T3yyTmxXqAnJATIor3hCOTsqd8haEby93UGsGYxYML7Fs/9uNy9zXoxKReoe f/UqmEeUmv4+iv5WYFEHocb49UthVmbdBhjU/UFD0b/0S7cbWLGZZ5RpCdEDEiUfsexP pztzvElMfFI+iI9NywXtzz0xjRHy+xDb3drdyBeBFkjju5ePndbM7cMeScDse6fLjsTF xwmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QFPFb9gWPIEkXrgIwZErCATYwfa5hjOLLmWTWs7MFh8=; b=CWy1DNgaUCrA65uXO2nFQn6wNiohDV6xCYXblaxNzIPsFHxFz9yoAFCkhe7Uc2sRY1 kDpV5iyrKOAWfqu8bOJSVWax380MrawLetT4soVsw+fmj30ZlZlRc2RkrN8VczfvPy99 ASrGfZvtiG0Ry3+Jj/NnpgA1lfzzC7i32j5DOFpi9bFu7a6mGJNk/ndSFgjzDulI2cwc o4kGlkrFCXTDTbjeBJea4i4hJQlH6/6d78XH86Nl/Emlbza0gr2A5wEf+yyI4fIZTjt3 6qQ16OFCviZ6bZZqlzwrKxMEZ3b+/DfNblPwFlh+6wX5f9lixlZNmXivGCYL4yoJnGOv 3gKQ== X-Gm-Message-State: AJcUukehOqHmsyqM4iVTh5qPgfPJ3iEYI8IxX3q8pbMemTZJBdLoWZhd qmggToDoPKmjNN/KwyTsssP4PzjeqjooHYPjP56M6A== X-Google-Smtp-Source: ALg8bN4J8U9fsaGZYK/bh16OjkRonekxzqt8NmRA+IHsb83EmbS/YLQ83Dp+gRCgqwKwaNqAFpnblxe3aGzb65QIQAc= X-Received: by 2002:ab0:73c4:: with SMTP id m4mr13774871uaq.101.1546232484418; Sun, 30 Dec 2018 21:01:24 -0800 (PST) MIME-Version: 1.0 References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> In-Reply-To: From: Jonathan Chen Date: Mon, 31 Dec 2018 18:01:13 +1300 Message-ID: Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] To: Mark Millard Cc: mmel@freebsd.org, freebsd-emulation@freebsd.org, FreeBSD Current , freebsd-arm , ports-list freebsd , FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 63F1E870B0 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=XwfRu4l0 X-Spamd-Result: default: False [0.22 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.96)[-0.958,0]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.94)[0.943,0]; IP_SCORE(-0.04)[ip: (3.34), ipnet: 2607:f8b0::/32(-1.91), asn: 15169(-1.55), country: US(-0.08)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[chen.org.nz]; NEURAL_HAM_LONG(-0.91)[-0.911,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_IN_DNSWL_NONE(0.00)[1.4.9.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-Mailman-Approved-At: Mon, 31 Dec 2018 12:47:20 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 05:01:28 -0000 On Mon, 31 Dec 2018 at 14:34, Mark Millard via freebsd-ports wrote: > > [Removing __packed did make the size and offsets match armv7 > and the build worked based on the reconstructed qemu-arm-static.] Thanks for the analysis Mark! I've been suffering quite a few hangups with my ports crossbuilds on amd64->armv7 on 12-STABLE, and I'll be trying your suggestions to see whether it resolves the issue. Cheers. -- Jonathan Chen From owner-freebsd-current@freebsd.org Mon Dec 31 13:12:22 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 50DC21433BFA for ; Mon, 31 Dec 2018 13:12:22 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7B4D6B1E1 for ; Mon, 31 Dec 2018 13:12:21 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::142a:a2b0:ddaf:2740] (unknown [IPv6:2001:470:7a58:0:142a:a2b0:ddaf:2740]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B74F498E3; Mon, 31 Dec 2018 14:12:19 +0100 (CET) From: Dimitry Andric Message-Id: <87A4E7BB-97E0-4823-B910-4E3706EA088D@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_96455FFE-B2A7-45B8-BBEE-380F3F3A7F65"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: stop in make installworld: ld-elf.so.1: symbol lstat1@FBSD_1.5 not found Date: Mon, 31 Dec 2018 14:12:15 +0100 In-Reply-To: Cc: freebsd-current@freebsd.org To: Matthias Apitz References: <20181231112755.GA2358@e6330-r314251> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 13:12:22 -0000 --Apple-Mail=_96455FFE-B2A7-45B8-BBEE-380F3F3A7F65 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 31 Dec 2018, at 13:08, Matthias Apitz wrote: >=20 > On Mon, 31 Dec 2018 12:27:55 +0100, Matthias Apitz wrote: >>=20 >> Hello, >>=20 >> I'm updating the usual way a system from r314251 to tje actual = CURRENT r342378. >> The 'make installworld' failes in single user mode with: >>=20 >> ld-elf.so.1: /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/rm: >> Undefined symbol lstat1@FBSD_1.5 >>=20 >> What can I do? >=20 > As I had no other idead, I run the 'make installworld' again, now with = success. >=20 > What does this mean? I think what may have happened was the following. The "legacy" rm which failed was likely a symlink to /bin/rm, like so: $ ls -l /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/rm lrwxr-xr-x 1 dim dim 7 2018-12-29 16:22:12 = /usr/obj/usr.old/src/amd64.amd64/tmp/legacy/usr/bin/rm@ -> /bin/rm For some reason, /bin/rm may have been overwritten before your /lib/libc.so.7, which caused the "Undefined symbol" error from ld-elf.so.1. Alternatively, installing /lib/libc.so.7 may have failed without the Makefile noticing it, after which the first /bin/rm would show that same error. When you re-ran "make installworld", the installation of /lib/libc.so.7 likely succeeded, and after that the symlinked commands in /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin which used new symbols started to work. -Dimitry --Apple-Mail=_96455FFE-B2A7-45B8-BBEE-380F3F3A7F65 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXCoVrwAKCRCwXqMKLiCW o4LBAKDp1eLU34ntDF9hwhR+kl76xpiHiQCeJilgVtq/PFc2r4+oL2fRlwwQD80= =eEhy -----END PGP SIGNATURE----- --Apple-Mail=_96455FFE-B2A7-45B8-BBEE-380F3F3A7F65-- From owner-freebsd-current@freebsd.org Mon Dec 31 14:20:12 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2DC55143613B for ; Mon, 31 Dec 2018 14:20:12 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1B0A6E1F6 for ; Mon, 31 Dec 2018 14:20:11 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from x59cc8775.dyn.telefonica.de ([89.204.135.117] helo=[127.0.0.1]) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gdyQK-0007Ou-BQ for freebsd-current@freebsd.org; Mon, 31 Dec 2018 15:20:08 +0100 Date: Mon, 31 Dec 2018 14:20:06 +0000 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: Re: stop in make installworld: ld-elf.so.1: symbol lstat1@FBSD_1.5 not found Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable In-Reply-To: <87A4E7BB-97E0-4823-B910-4E3706EA088D@FreeBSD.org> References: <20181231112755.GA2358@e6330-r314251> <87A4E7BB-97E0-4823-B910-4E3706EA088D@FreeBSD.org> Message-ID: MIME-Version: 1.0 X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.135.117 X-Rspamd-Queue-Id: C1B0A6E1F6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.994,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 14:20:12 -0000 On Mon, 31 Dec 2018 13:12:15 +0000, Dimitry Andric wrote: > On 31 Dec 2018, at 13:08, Matthias Apitz wrote: >> >> On Mon, 31 Dec 2018 12:27:55 +0100, Matthias Apitz wrote: >>> >>> Hello, >>> >>> I'm updating the usual way a system from r314251 to tje >>> actual CURRENT r342378. >>> The 'make installworld' failes in single user mode with: >>> >>> ld-elf.so.1: /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin/rm: >>> Undefined symbol lstat1@FBSD_1.5 >>> >>> What can I do? >> >> As I had no other idead, I run the 'make installworld' again, >> now with success. >> >> What does this mean? > > I think what may have happened was the following. > > The "legacy" rm which failed was likely a symlink to /bin/rm, like so: > > $ ls -l /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin/rm > lrwxr-xr-x 1 dim dim 7 2018-12-29 16:22:12 > /usr/obj/usr.old/src/amd64.amd64/tmp/legacy/usr/bin/rm@ -> > /bin/rm > > For some reason, /bin/rm may have been overwritten before your > /lib/libc.so.7, which caused the "Undefined symbol" error from > ld-elf.so.1. > > Alternatively, installing /lib/libc.so.7 may have failed without the > Makefile noticing it, after which the first /bin/rm would show that same= > error. > > When you re-ran "make installworld", the installation of /lib/libc.so.7 > likely succeeded, and after that the symlinked commands in > /usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin which used new symbols > started to work. > I still have two identical updates scheduled, based on extactly the same= src and precompiled obj tree. I will investigate the next and file a PR. matthias -- Sent using Dekko from my Ubuntu device http://www.unixarea.de/ +49 176 38902045 From owner-freebsd-current@freebsd.org Mon Dec 31 18:17:05 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 325ED143BD22 for ; Mon, 31 Dec 2018 18:17:05 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-vs1-xe43.google.com (mail-vs1-xe43.google.com [IPv6:2607:f8b0:4864:20::e43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B622276937 for ; Mon, 31 Dec 2018 18:17:02 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-vs1-xe43.google.com with SMTP id p74so16831330vsc.0 for ; Mon, 31 Dec 2018 10:17:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=oA8R8OTMVP5nqZ/84IF8NfoX9sHi/7YO4Ow7mg9WvCc=; b=jnCS1RJP+l9efv1+10mxdhoEMORIUXqbYExoOXbHJu+Wk6K2A7E619csAmTbGAUWiX hPDNQgsBfnTIoeJg2W/0xmiH9Bzl7dPdCgtYvd6DDWqLMT8yDLo5sMVplJB2+RmkvnH5 1pcKhfJrQb0houBCQiRwU1hEM8TeMkJI0DWPvNCLIMcxLAmkaSB/Rxijma1ZUicyWC+p /CycYBu4AzK7sc2oXpyAk4oxQiVYvqrM/r70AtCZJA1qYYNHQBCsOIdmBPzesCnatE+F WM0IiWeGSHackIKhVtgMy3FrODMevsZrxSVml+3tMcgr1cjDSufevcaT8mG6ghJrL81t qXng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=oA8R8OTMVP5nqZ/84IF8NfoX9sHi/7YO4Ow7mg9WvCc=; b=BMQAOncuDjXuuy7De4AECjaVwH5vE9Rj9Fc0VnkIR3PnjvjTluR537n4zLn84BPoWv aG9kcxloRlBI30XvIYPYH6Zu9HaNw3lhuTALfotYULcHfzK5YShwHxXniD6+9CXuEymM ivrWaFniretYoBvROYhK4jzLPe5KAMAmwBRF/7nx87cQyxU4olEOyI3fDdCAVrd12d6T gNumqsMmme6s37+rh4QvnYWVILJ3AP+Ifb4x3BBjBISmorTo4l2f47hvVPOYiR2HfHox SU91IwLw8pwXBXwieEmHZoVC9TFoMS7inKZfOSzp02hu4IjER7n/GyXoah9EZZ+otdf/ VxRw== X-Gm-Message-State: AA+aEWbE9LfvJ8iY/67uvP9BfJ9ThOFqvDq+13XYQRpsANy0WdMHr1cg iI0BlTm2By9w19dh0RIo8xSxOsBPlKombKK7wv/cEA== X-Google-Smtp-Source: AFSGD/WamyiZqPddZL65QVX3WFI7IxrVHjb44abOfNyRGwpfDS/3I8ZAXuthlo+BCwyrKz/KzHrqfqNF5k9lgT+qJpA= X-Received: by 2002:a67:5bdc:: with SMTP id w89mr15553112vsg.109.1546280221720; Mon, 31 Dec 2018 10:17:01 -0800 (PST) MIME-Version: 1.0 References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> <82478A45-7D15-4995-B333-FC42B39E5345@yahoo.com> In-Reply-To: <82478A45-7D15-4995-B333-FC42B39E5345@yahoo.com> From: Jonathan Chen Date: Tue, 1 Jan 2019 07:16:40 +1300 Message-ID: Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] To: Mark Millard Cc: mmel@freebsd.org, freebsd-emulation@freebsd.org, FreeBSD Current , freebsd-arm , ports-list freebsd , FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: B622276937 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chen-org-nz.20150623.gappssmtp.com header.s=20150623 header.b=jnCS1RJP X-Spamd-Result: default: False [0.19 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.85)[-0.848,0]; R_DKIM_ALLOW(-0.20)[chen-org-nz.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; NEURAL_SPAM_SHORT(0.50)[0.502,0]; IP_SCORE(0.09)[ip: (4.03), ipnet: 2607:f8b0::/32(-1.95), asn: 15169(-1.56), country: US(-0.08)]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[chen.org.nz]; NEURAL_HAM_LONG(-0.75)[-0.745,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: alt1.aspmx.l.google.com]; DKIM_TRACE(0.00)[chen-org-nz.20150623.gappssmtp.com:+]; RCPT_COUNT_SEVEN(0.00)[7]; RCVD_IN_DNSWL_NONE(0.00)[3.4.e.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[yahoo.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; SUSPICIOUS_RECIPS(1.50)[] X-Mailman-Approved-At: Mon, 31 Dec 2018 18:36:35 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 18:17:05 -0000 On Mon, 31 Dec 2018 at 21:05, Mark Millard wrote: [...] > But if you have a form of hang-up that shows no sign of being tied > to kevent or hangs-up only sometimes, I'd be surprised if the __packed > change(s) would fix the issue. With the __packed-modified qemu-user-static, the amd64->armv7 crossbuilds does not hang anymore, but I get build failures instead. Interestingly enough, an unmodified qemu-user-static gets further along in a amd64->armv6 crossbuild, with only one reproducible hang. Cheers. -- Jonathan Chen From owner-freebsd-current@freebsd.org Mon Dec 31 18:37:02 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 41946143C78A for ; Mon, 31 Dec 2018 18:37:02 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 33E0377AA4; Mon, 31 Dec 2018 18:37:01 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: by mail-lj1-x22d.google.com with SMTP id s5-v6so24065156ljd.12; Mon, 31 Dec 2018 10:37:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=4dv1NxMz63qxbLjYnd8kdfPrCRKePH49/bOXYGe88E8=; b=plnjZ9BKfeDy64HmDnP51XBApbKMem18GJbuC4qHsV9CZrwiZaFoe4RMYbI5F3ysNT CA5z4MCZhjEwZGOqVo7eK8rVIUbMrs6f2FCpscNZ4OXCfSIYQiYB525IcPIPTys7ayS2 BTV2NTcF64Kt9ni+TszrJ4uXuDppfOTU4TH1BiqIwY8EXjjSMZLNIzmqkL68xERszELt lyrikB573vhYlsi7s3BvsTIzt9FmViAXyk/R7y8em1DAXVqoxU1o5cSqnMBIZiXWgZIK cYqT1mH7HsBt1VnqGddyhlrpg0VO8cscwdCYbST9/Glyjn9fWhHnMSezqam1LrvTNDG2 wNiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=4dv1NxMz63qxbLjYnd8kdfPrCRKePH49/bOXYGe88E8=; b=ICx0tr/bIZOpKDyrsgi3w1xIA4nWN6m5M9gTOWG41/h53qoaV5VUlKXzYdYoZD+U76 sMJh/RuhbsqLIRRg0XdkKXoOEIIJCu0V73yTXlCDuoYmMbBma2ErvYDhMriQTdUj8DJi Sby95NDWrUQLUgs9oZHsTwzN+PyhUeWqFVRzcCXu3pCTDcYWhx5JXqlpSXk70zTeUb9o FMCTPT8x7tkwtaXPVf+t/UaHvOHnD3P50oOXXz7pLOJz1EqbTaBWT44jJgxmTwa8Ugwk ew9u8aEt73/mdLclFHspcBtCHij6y2TsOXEml3RcuHgf8DV24PK5yCksJNOOFULS4v4A aYQw== X-Gm-Message-State: AJcUukdZiiWJf0lKssJdOOLLLIz6Mkhmt6yXIyLqHpjCGzdDizG2WgpI 6xIxu751Hu+tvzArVJ633HcWaoL/Ig9IRwAJH63u6AAH X-Google-Smtp-Source: ALg8bN71NnpXTmlVWeKdjttFS1rHBHqRxf5Vnnr8gS8NDGspabQmlFfan290dkSG0qO5or7g4UUttDdBIIcV4grnoDs= X-Received: by 2002:a2e:841:: with SMTP id g1-v6mr23840799ljd.21.1546281419377; Mon, 31 Dec 2018 10:36:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ryan Stone Date: Mon, 31 Dec 2018 13:36:49 -0500 Message-ID: Subject: Re: buildworld falure: truncated or malformed archive To: Ed Maste Cc: Warner Losh , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 33E0377AA4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=plnjZ9BK; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of rysto32@gmail.com designates 2a00:1450:4864:20::22d as permitted sender) smtp.mailfrom=rysto32@gmail.com X-Spamd-Result: default: False [-4.52 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[d.2.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-0.69)[ipnet: 2a00:1450::/32(-1.80), asn: 15169(-1.56), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.83)[-0.826,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_COUNT_TWO(0.00)[2]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 18:37:02 -0000 Does this mean that it's currently impossible to build a world with debug symbols? From owner-freebsd-current@freebsd.org Mon Dec 31 20:05:52 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6623F143E894 for ; Mon, 31 Dec 2018 20:05:52 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic310-22.consmr.mail.ne1.yahoo.com (sonic310-22.consmr.mail.ne1.yahoo.com [66.163.186.203]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3DD6082F54 for ; Mon, 31 Dec 2018 20:05:51 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: UQN7FI0VM1n5nZk3WR3voHWoQkVFc6BC1vW._8LcwBAopbwO7AHVzxG7qmOPrlx u50CR1tA3.WxwmDlKbwNj8g8eYbLA4i8GBr2XryOSXBXnkHqCyf7wR..dwylwJosA8HBa8z9xNDk l5a7x3z.bV17_Ej_JvXYfE0Mo7jL_cOhTJzIlzNHi6xRUffUJdSAZCRLmBEWGWwIlvI7G22Ud.Ta D7HveKucFNnU7jtBYndMvV6b5BAh9aRJ.RlMm18pzIxflRK0pBA1a9olyHtbtRGJv7lXtnRTr60q 0FdzRc6Em3k_Qgoy3q.WEa1pxqav4MpLlaiTi0Tjbjg_6Bie.3qvw46S7Uv2.baDUmJgXYEhcnuK CUYHQpVZSzZkovyYweOeM47ig8Hj1qK8_HPkcufNw_.ADmUqk0E6_v.BtPX_GWrMPJqfNoVG8rID G9e4gh6SCTaZiQRxOwSOZs3Jow5lMbx1w4F0MS3R1zexC0O.FnurA7ey2GL4MxJnVLRUimGkWUJc AzNip8NuCDI4X8EOq6rfHsX9qDta_ZpiElLGPMROOrtM8SybWX6k9mzFaPX5.0.VxFITauYev82o 25wWdSe0iaIwl.eYGb0Ik7GH4qTefPVzuYmsWDsiSTdS4movVJz2XaTAbjVtuYN2pZvhg_MGGevb EcjeejGw.VhCRi69NPw3ADGA33XGbsoHeDyZXo.eiTcM1WPMBSOHtkne8kqijQbadAKhOOJVbqK0 kmVzK9fPFTKDH4pkMRQUleVMk_mVSDQlVLY4qc1efmZTPDTquHdJiC_tQMtsDqpuhEs46acJR5T4 txwRCOVOntd13W42m.2PwnHMq_nBea.440oPOkGeapy1tPXkUJje0hHqesXDCd3PSmQhLVe5oypm uCGoXH82YZnQD1_QWmEpHiGkf3Ayx_yfaBN9kN_DFaumSZOkDKilGebtSBVUzbOMwZP_1cIcg9jJ bA.df6KbWuB8F1p0.bP.FAzSarQjsYPBZMkYyGoKNAk2POecB5ZvKqYqGPqbLhuOGJYt1qh0xSbS mCKsJ0AujfgArFk5N6KAnPv2Z69tLoKudQpOmBUJgxASb77WfuQ6RsbXhYe.4t2WUCs8w Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ne1.yahoo.com with HTTP; Mon, 31 Dec 2018 20:05:43 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp409.mail.ne1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 0742405770bc6c0a367a982b1de2352c; Mon, 31 Dec 2018 20:05:39 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] From: Mark Millard In-Reply-To: Date: Mon, 31 Dec 2018 12:05:37 -0800 Cc: freebsd-emulation@freebsd.org, FreeBSD Current , freebsd-arm , ports-list freebsd , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <984303F3-ADCD-442A-B1E9-412B8365B399@yahoo.com> References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> <82478A45-7D15-4995-B333-FC42B39E5345@yahoo.com> To: Jonathan Chen X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 3DD6082F54 X-Spamd-Bar: / X-Spamd-Result: default: False [0.55 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36646, ipnet:66.163.184.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.50)[-0.495,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.84)[0.844,0]; NEURAL_HAM_LONG(-0.40)[-0.397,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.11)[ip: (3.58), ipnet: 66.163.184.0/21(1.13), asn: 36646(0.91), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[203.186.163.66.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 20:05:52 -0000 On 2018-Dec-31, at 10:16, Jonathan Chen wrote: > On Mon, 31 Dec 2018 at 21:05, Mark Millard = wrote: > [...] >> But if you have a form of hang-up that shows no sign of being tied >> to kevent or hangs-up only sometimes, I'd be surprised if the = __packed >> change(s) would fix the issue. >=20 > With the __packed-modified qemu-user-static, the amd64->armv7 > crossbuilds does not hang anymore, but I get build failures instead. > Interestingly enough, an unmodified qemu-user-static gets further > along in a amd64->armv6 crossbuild, with only one reproducible hang. I tend to compare cross-build failures to native-build attempts. The multimedia-gstreamer1-qt@qt5 hang-up was qemu-arm-static specific, not occurring native. That and being reliable about hanging-up is what prompted the investigation. The lld thread fanout hangup also has only happened under qemu-arm-static but I do not have a context with more than 4 cores for armv7: far less than 28 (FreeBSD under Hyper-V) or 32 cpus (FreeBSD native) that I use for cross-builds. I do not know if you care to but it is possible to see if the FreeBSD package builders get failures or hangs for the same ports. I use head port build examples below: http://beefy16.nyi.freebsd.org/jail.html?mastername=3Dhead-armv7-default http://beefy8.nyi.freebsd.org/jail.html?mastername=3Dhead-armv6-default The pages displayed show a list of port version (p??????) and freebsd version (s??????) looking like p??????_s?????? . Those links take you to pages for exploring the built, failed, skipped, and ignored ports. Of course, for race-condition problems in builds, checking is messier because of needing to look at possibly many port/system combinations. My attempts to build x11/lumina fail for: [00:01:02] [01] [00:00:00] Building multimedia/libvpx | libvpx-1.7.0_2 [00:02:23] [01] [00:01:21] Saved multimedia/libvpx | libvpx-1.7.0_2 = wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailArmV7-default/default/libvpx= -1.7.0_2.tar [00:02:23] [01] [00:01:21] Finished multimedia/libvpx | libvpx-1.7.0_2: = Failed: build [00:02:24] [01] [00:01:22] Skipping multimedia/ffmpeg | ffmpeg-4.1,1: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed [00:02:24] [01] [00:01:22] Skipping multimedia/gstreamer1-libav | = gstreamer1-libav-1.14.4_2: Dependent port multimedia/libvpx | = libvpx-1.7.0_2 failed [00:02:24] [01] [00:01:22] Skipping multimedia/gstreamer1-plugins-core | = gstreamer1-plugins-core-1.14: Dependent port multimedia/libvpx | = libvpx-1.7.0_2 failed [00:02:24] [01] [00:01:22] Skipping x11/lumina | lumina-1.4.1,3: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed [00:02:24] [01] [00:01:22] Skipping x11/lumina-core | lumina-core-1.4.1: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed . . . [00:06:19] Failed ports: multimedia/libvpx:build [00:06:19] Skipped ports: multimedia/ffmpeg multimedia/gstreamer1-libav = multimedia/gstreamer1-plugins-core x11/lumina x11/lumina-core [FBSDFSSDjailArmV7-default] [2018-12-30_17h04m02s] [committing:] Queued: = 7 Built: 1 Failed: 1 Skipped: 5 Ignored: 0 Tobuild: 0 Time: = 00:06:16 Native build attempts on an armv7 get the same. But I'm still at: # svnlite info | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 341836 Last Changed Rev: 341836 because I froze at that while investigating the reliable hang and have not started progressing again yet. Last I looked the head-armv7-default package builds were also failing for libvpx if I remember right. =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Mon Dec 31 20:08:32 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 30D42143EA93 for ; Mon, 31 Dec 2018 20:08:32 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 64518831B2 for ; Mon, 31 Dec 2018 20:08:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qk1-x72b.google.com with SMTP id g125so16075077qke.4 for ; Mon, 31 Dec 2018 12:08:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=54hpoIHiWBB+1qLc9ewd1FeuM3hBSKTDxzQz6jvn+aM=; b=bnunh0cGgdwe1i3Q+CD6yy28ArYHX/ivr/Cg7EX51ucZ3VYRunk9wE5Ax8AAeMLiCl kNuPqFVY+vUmi1f2DEzVfYp0KTRehvq/Mec9d+Fo4yybfZRQKas695yyq61RumoaDchx IXbGb09IsMZSK+CI64k8daRB31CdbKv5GQXvzJj0r17xscnBVo3m5Jtj2VkeDqpu9z97 Tzx1fWJyCWxNYQzPnQrwrmAgztPaRv2Ia0D3Z+li9/H4TMdjRgD3PFfcT1FL2sjxcX7R SA24v8yNt3R/mGgMbDy4+69W0TSy5lZxHR6fnG6z3zWRNa8QaL6n7a1rVyc2aqZyRt8M kxzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=54hpoIHiWBB+1qLc9ewd1FeuM3hBSKTDxzQz6jvn+aM=; b=WGb1kYEjYiixoswlH5mFNVo/yqUUONJbMoq7h5LhZBfZ+clp844m9a1myTtrGUO1lH isIE4gBWlDwPZ5eF94tuv25IQAgaiGjFGlAJq2gH2bCPPgL44lTG0LUb5uCltHGK6DRe Rsg21/W7X5HgtzJpE4tlEe2+Tn2unNvG+JnpSlTA6NsgXrZri7S71rTJSaNIzZYDtZ0f +Cw/fzOoqgw0PsV0XddHqWkhRqHcwR1K8CQx1oSNii3UtCxhvSQvPWTbqYKHRmiOzs5o k2PcKce6w5dKF/PxBTf/fl3zP/cmMhkLTYyPgno2bp6M4ZhRykCfuumMNBZDgcHY45xU 3fPg== X-Gm-Message-State: AJcUukezXt76m4riBsWa18psLla86CB8hrbXPKaI4sgi5OVlGubxvaq+ F9PM5EiWfOtnk+DVDgI+9uyvGwJQWlgBdQF73UT1aw== X-Google-Smtp-Source: ALg8bN4R6/ErSXogunNf8VxwEXADs0YM9mnu+WAX7vqAuyPGNFSrBaz33z+1jRK33efGDAOMqgKvNCS9g28krwA2OBc= X-Received: by 2002:a37:9201:: with SMTP id u1mr36459673qkd.258.1546286910832; Mon, 31 Dec 2018 12:08:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Mon, 31 Dec 2018 13:08:18 -0700 Message-ID: Subject: Re: buildworld falure: truncated or malformed archive To: Ryan Stone Cc: Ed Maste , FreeBSD Current X-Rspamd-Queue-Id: 64518831B2 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=bnunh0cG X-Spamd-Result: default: False [-5.29 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; MX_GOOD(-0.01)[cached: ALT1.aspmx.l.google.com]; RCVD_IN_DNSWL_NONE(0.00)[b.2.7.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.92)[-0.923,0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+,1:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; IP_SCORE(-2.36)[ip: (-8.21), ipnet: 2607:f8b0::/32(-1.95), asn: 15169(-1.56), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 20:08:32 -0000 On Mon, Dec 31, 2018, 1:36 PM Ryan Stone Does this mean that it's currently impossible to build a world with > debug symbols? > Yes. Clang is simply too big until 64 bit offset support goes in. Warner > From owner-freebsd-current@freebsd.org Mon Dec 31 21:48:45 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCF25141B2CB for ; Mon, 31 Dec 2018 21:48:45 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: from mail-it1-f178.google.com (mail-it1-f178.google.com [209.85.166.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99A29867AB for ; Mon, 31 Dec 2018 21:48:44 +0000 (UTC) (envelope-from cse.cem@gmail.com) Received: by mail-it1-f178.google.com with SMTP id b5so34946708iti.2 for ; Mon, 31 Dec 2018 13:48:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc; bh=n0hmQfcRyIvWWMYso0p/cAYeXDisp1l4Z9hEOJamanE=; b=GO6yyWaHeETUd2RY8Q6LY34hzf0JPk3i/u5hM29wvDGmIHi+ejNJLyUfL7UI6GQGRW 8VfArRkYijKVLZlj3qGJSBVmoeVmfTuZn5S0XbCk9p/V5lTqewI9R2HIMIi/iY/LBP1D p8ZtBp0eqifjzgPEI5Rr7ygqmStgOhhBrE3I2iKBTMzGtgd7Kj948B7TpZKWriADHqi+ GxyvvRWi9XLG7Q0PnIDKZPj9WFP3SSRtE1abVXqXqDCOvBNq21kOvLCXfiL2hbn6+lG1 z+NdN/k8eqNrqrgbBbRFdPMpSzdXaCSAZcmE6bAxQmhMcKewC/cdMdjS1SOrH6XOBY2k V2LA== X-Gm-Message-State: AJcUukeNlef71rRhG1+KFN4lQ0syWrs3R6k9i6b6PTkz8soA+kqha8aS OhXXaG9XZljZ5YjrAxVHgs98tBvN X-Google-Smtp-Source: ALg8bN6YhJuE99JX+OtrgZ7kmRbv4sqe1DXyLbVB8H2ywQxTPsgTRpP6ZGNupty/opuDZUW5CqKiQA== X-Received: by 2002:a24:2914:: with SMTP id p20mr15473979itp.156.1546292918021; Mon, 31 Dec 2018 13:48:38 -0800 (PST) Received: from mail-io1-f43.google.com (mail-io1-f43.google.com. [209.85.166.43]) by smtp.gmail.com with ESMTPSA id r15sm23267903ioh.12.2018.12.31.13.48.37 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Dec 2018 13:48:37 -0800 (PST) Received: by mail-io1-f43.google.com with SMTP id f4so3754925ion.2 for ; Mon, 31 Dec 2018 13:48:37 -0800 (PST) X-Received: by 2002:a6b:6111:: with SMTP id v17mr28913592iob.107.1546292917477; Mon, 31 Dec 2018 13:48:37 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Reply-To: cem@freebsd.org From: Conrad Meyer Date: Mon, 31 Dec 2018 13:48:26 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: buildworld falure: truncated or malformed archive To: Warner Losh Cc: Ryan Stone , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 99A29867AB X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of csecem@gmail.com designates 209.85.166.178 as permitted sender) smtp.mailfrom=csecem@gmail.com X-Spamd-Result: default: False [-5.96 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[cem@freebsd.org]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; FORGED_SENDER(0.30)[cem@freebsd.org,csecem@gmail.com]; IP_SCORE(-2.95)[ip: (-9.37), ipnet: 209.85.128.0/17(-3.76), asn: 15169(-1.56), country: US(-0.08)]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[cem@freebsd.org,csecem@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[178.166.85.209.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_CC(0.00)[gmail.com] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Dec 2018 21:48:46 -0000 There's always 'WITHOUT_CLANG=1' in src.conf. Best, Conrad On Mon, Dec 31, 2018 at 12:09 PM Warner Losh wrote: > > On Mon, Dec 31, 2018, 1:36 PM Ryan Stone > > Does this mean that it's currently impossible to build a world with > > debug symbols? > > > > Yes. Clang is simply too big until 64 bit offset support goes in. > > Warner > > > > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@freebsd.org Tue Jan 1 03:10:47 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 08260142556E for ; Tue, 1 Jan 2019 03:10:47 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-22.consmr.mail.gq1.yahoo.com (sonic309-22.consmr.mail.gq1.yahoo.com [98.137.65.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B991F6A5AB for ; Tue, 1 Jan 2019 03:10:45 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: Wz_.scgVM1khe5KePqMyFXlkE6GTgublMfEO44SQCg.lgOj5KMs4VaCw7ajcmPi k_BdqefUXyaEiRGRe6GlzEHe6_IluIhSfsBiLsGgx1kSjbRjnUyaNFgV6qnHlf54d9vwGDLemX0G g7eGRlQadi2HOBwKHDivodc8Bb3G_hqa92WVpfuOHjL.DyVmH9PqGT6tSpdwhzhOk03G6pZVm8fs 535tE7AEviK.nB8wA5oGsgxEhrfmAiLXhSwbtJQkXRmvYY_f5Vikc__ecd5vmLlLJaLLyUJWx5go TlhvcFZrZDi89jMgpDX.3n.6rbT7M8pW1ICXlIYVd8VqyaOArzaoWpiAxkzMEF0p2WCLH_YL3rlg Kl4CkQkM9.dnCjvRNW5y8xEDRHDiiAkPbqOo1kBJ5K.HA8u0r4Ah1xMr9DRLSSXKOIXl7obqSXlV DlhDb.KnHnn_pSAtN0HO1FdU18rE3jPivtF51VPq9hSdLyzIkwZtpUOyfW.RDR69l3QHewiWuTcW oB.4Av.0BCGvLlI.k9OWyEKA7KwO5blugxNqzT1zj5OT3Qf0xM1fT88Z1lOEvKw8XAY8BsiWD0sB PUU9_c2b.Zy0jS4_GSJYhP8riDn488Xh9EdGp4.5bdJP1XZRUJ.Y6jslg23wYSB5ecgq1qCbw107 ks3_G5DeU3IyGroq5XnZQWoq3zb2HAEPNDtUb2oBIqCKWY61RwDzjvN.NYVxhG.JbMIEnQZekzAU EhF0d5lq7cagsXNxnpYOK2gLpqAD.uSj_eHzh_kcMqph_e3zsg3hW6Ld8QVFkrE7an_zp.HvNptf XyMS6MgzJ5RQ5MG4FZ1X1qMTmIs2Rw1GJd5cQabQQlFERRlC1Ix8kzNBeeow2EFzBayE4lZ6uktl KVic4.m8t4_vWYSCPSXAo3ftBDHiHd8VRc3MHnHiyVLLSwvb8_k9p0yHt6KR3.DGxp3w7wmjZhRj LEZTclDGa1fwp0G1T1shZuKidWjhKC6sDEsTRdjLoH2VDSHDDozOiU28Xm012.iWg.mfKgU_iF7t msW7W6o67K88YhjIWmiRIulHWzYUbVaOBj4dYEDfLDnasL0JR1jOL1_MECXGoGZqqSg-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Tue, 1 Jan 2019 03:10:43 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp414.mail.gq1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID dbd0bb2a6a724229abedbad683618265; Tue, 01 Jan 2019 02:50:24 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) [details of a specific qemu-arm-static source code problem] From: Mark Millard In-Reply-To: <984303F3-ADCD-442A-B1E9-412B8365B399@yahoo.com> Date: Mon, 31 Dec 2018 18:50:23 -0800 Cc: freebsd-emulation@freebsd.org, FreeBSD Current , freebsd-arm , ports-list freebsd , FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <642A3C38-5229-4BA3-9BA7-CD78F52D0335@yahoo.com> References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> <82478A45-7D15-4995-B333-FC42B39E5345@yahoo.com> <984303F3-ADCD-442A-B1E9-412B8365B399@yahoo.com> To: Jonathan Chen X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: B991F6A5AB X-Spamd-Bar: -- X-Spamd-Result: default: False [-2.19 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCPT_COUNT_FIVE(0.00)[6]; RCVD_COUNT_THREE(0.00)[3]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DKIM_TRACE(0.00)[yahoo.com:+]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.995,0]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.11)[0.111,0]; NEURAL_HAM_LONG(-0.99)[-0.995,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(0.20)[ipnet: 98.137.64.0/21(0.61), asn: 36647(0.49), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[148.65.137.98.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2019 03:10:47 -0000 [I listed my /usr/src svn veriosn information instead of /usr/ports . Correcting. . .] On 2018-Dec-31, at 12:05, Mark Millard wrote: > On 2018-Dec-31, at 10:16, Jonathan Chen wrote: >=20 >> On Mon, 31 Dec 2018 at 21:05, Mark Millard = wrote: >> [...] >>> But if you have a form of hang-up that shows no sign of being tied >>> to kevent or hangs-up only sometimes, I'd be surprised if the = __packed >>> change(s) would fix the issue. >>=20 >> With the __packed-modified qemu-user-static, the amd64->armv7 >> crossbuilds does not hang anymore, but I get build failures instead. >> Interestingly enough, an unmodified qemu-user-static gets further >> along in a amd64->armv6 crossbuild, with only one reproducible hang. >=20 > I tend to compare cross-build failures to native-build attempts. The > multimedia-gstreamer1-qt@qt5 hang-up was qemu-arm-static specific, > not occurring native. That and being reliable about hanging-up is > what prompted the investigation. >=20 > The lld thread fanout hangup also has only happened under > qemu-arm-static but I do not have a context with more than 4 cores for > armv7: far less than 28 (FreeBSD under Hyper-V) or 32 cpus (FreeBSD > native) that I use for cross-builds. >=20 > I do not know if you care to but it is possible to see if the FreeBSD > package builders get failures or hangs for the same ports. I use > head port build examples below: >=20 > http://beefy16.nyi.freebsd.org/jail.html?mastername=3Dhead-armv7-default= >=20 > http://beefy8.nyi.freebsd.org/jail.html?mastername=3Dhead-armv6-default >=20 > The pages displayed show a list of port version (p??????) and freebsd > version (s??????) looking like p??????_s?????? . Those links take you > to pages for exploring the built, failed, skipped, and ignored > ports. >=20 > Of course, for race-condition problems in builds, checking is messier > because of needing to look at possibly many port/system combinations. >=20 > My attempts to build x11/lumina fail for: >=20 > [00:01:02] [01] [00:00:00] Building multimedia/libvpx | libvpx-1.7.0_2 > [00:02:23] [01] [00:01:21] Saved multimedia/libvpx | libvpx-1.7.0_2 = wrkdir to: = /usr/local/poudriere/data/wrkdirs/FBSDFSSDjailArmV7-default/default/libvpx= -1.7.0_2.tar > [00:02:23] [01] [00:01:21] Finished multimedia/libvpx | = libvpx-1.7.0_2: Failed: build > [00:02:24] [01] [00:01:22] Skipping multimedia/ffmpeg | ffmpeg-4.1,1: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping multimedia/gstreamer1-libav | = gstreamer1-libav-1.14.4_2: Dependent port multimedia/libvpx | = libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping multimedia/gstreamer1-plugins-core = | gstreamer1-plugins-core-1.14: Dependent port multimedia/libvpx | = libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping x11/lumina | lumina-1.4.1,3: = Dependent port multimedia/libvpx | libvpx-1.7.0_2 failed > [00:02:24] [01] [00:01:22] Skipping x11/lumina-core | = lumina-core-1.4.1: Dependent port multimedia/libvpx | libvpx-1.7.0_2 = failed > . . . > [00:06:19] Failed ports: multimedia/libvpx:build > [00:06:19] Skipped ports: multimedia/ffmpeg = multimedia/gstreamer1-libav multimedia/gstreamer1-plugins-core = x11/lumina x11/lumina-core > [FBSDFSSDjailArmV7-default] [2018-12-30_17h04m02s] [committing:] = Queued: 7 Built: 1 Failed: 1 Skipped: 5 Ignored: 0 Tobuild: 0 = Time: 00:06:16 >=20 > Native build attempts on an armv7 get the same. >=20 > But I'm still at: >=20 > . . . Correcting to have the /usr/ports information: # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 484783 Last Changed Rev: 484783 >=20 > because I froze at that while investigating the reliable hang and > have not started progressing again yet. Last I looked the > head-armv7-default package builds were also failing for libvpx if > I remember right. Looks like more recently libvpx builds on the package builders. So next = time that I update the ports tree I'll get to see the next problem (if any). =3D=3D=3D Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Tue Jan 1 13:52:07 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 77D4A14193D2; Tue, 1 Jan 2019 13:52:07 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7801B6FA98; Tue, 1 Jan 2019 13:52:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.106.199] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1geKSc-0000gq-AF; Tue, 01 Jan 2019 14:51:58 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x01Dpv4q003609 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Tue, 1 Jan 2019 14:51:57 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x01DpvdT003608; Tue, 1 Jan 2019 14:51:57 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Tue, 1 Jan 2019 14:51:56 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Cc: freebsd-usb@freebsd.org Subject: r342378: usbconfig takes 3-5 minutes to read the bus Message-ID: <20190101135156.GA3557@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Operating-System: FreeBSD 12.0-CURRENT r314251 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.106.199 X-Rspamd-Queue-Id: 7801B6FA98 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-3.59 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.31)[-0.314,0]; RECEIVED_SPAMHAUS_PBL(0.00)[199.106.217.88.zen.spamhaus.org : 127.0.0.10]; IP_SCORE(-2.57)[ip: (-7.39), ipnet: 178.254.0.0/19(-3.02), asn: 42730(-2.41), country: DE(-0.01)]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; R_DKIM_NA(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2019 13:52:07 -0000 I updated my amd64 laptop Acer C720 from r314251 to r342378. The OpenPGP Card HID Global OMNIKEY 6121 was working in r314251 nicely and after withdraw and re-insert GnuPG was just asking for the PIN again and access to the ciphered material or signing keys was fine. Now with r342378, it works only after boot but not after withdraw/re-insert anymore. To separate the problem from GnuPG and it's software stack, I have here some small tests with usbconfig(8). First usbconfig reads fine the bus, but then it takes 3-5 minutes to get any results, see below. Please, what can I check or enable to get additional logs for the problem. Thanks # uname -a FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC amd64 # usbconfig list ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) # usbconfig -d ugen0.4 list ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) # usbconfig -d ugen0.4 dump_device_desc ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x076b idProduct = 0x6632 bcdDevice = 0x0103 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 >From now it takes 3++ minutes to get the information from USB: # date ; usbconfig -d ugen0.4 dump_device_desc ; date Tue Jan 1 11:51:55 CET 2019 ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x076b idProduct = 0x6632 bcdDevice = 0x0103 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Tue Jan 1 11:54:59 CET 2019 # date ; usbconfig -d ugen0.4 dump_device_desc ; date Tue Jan 1 14:30:19 CET 2019 ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x076b idProduct = 0x6632 bcdDevice = 0x0103 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Tue Jan 1 14:34:05 CET 2019 # tail -f /var/log/messages ... Jan 1 14:34:30 c720-r342378 kernel: ugen0.4: at usbus0 (disconnected) Jan 1 14:34:36 c720-r342378 kernel: ugen0.4: at usbus0 # date ; usbconfig -d ugen0.4 dump_device_desc ; date Tue Jan 1 14:34:46 CET 2019 ugen0.4: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (100mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x076b idProduct = 0x6632 bcdDevice = 0x0103 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Tue Jan 1 14:39:13 CET 2019 -- Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, Druschba instead of Nazis, to live instead of to survive. From owner-freebsd-current@freebsd.org Tue Jan 1 20:36:45 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 820CC1429489; Tue, 1 Jan 2019 20:36:45 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C80986E72; Tue, 1 Jan 2019 20:36:28 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-wr1-x42a.google.com with SMTP id p4so28788755wrt.7; Tue, 01 Jan 2019 12:36:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :mime-version:content-disposition:user-agent; bh=9/0EUg3KZIx+cWs1gGPNBgb8Y1zlbWg+FBWX2vC/PPw=; b=Mb2Kh92dTO2/jyEkZKod87XRXM9qLc9CZVltKCIS7nJLGnhlu8cxQuztrgbdtx+BbD tYisqpHbyifa/hwEZf8yg98Gpbz0uizJ4ofWZvYIKgVXEJ5qfnBpuZXH2egmkQ88C8Y6 /8azhuWsXpHXDvQ9uZXISiZDz9OBHjE5D8WIsSLKvoXym/RpHVOgkZ31KLq9g0UUj6Hv GyHH3aEErHT6NmM5EGCuctcF5Om/gTFFGs+olfB3EcMifqYjWmtIYMWGtFOWgSkFHLDy 3Ffd9y/dljSJowpyqGQF05KA5UxM35P/PKUFUtwvgZE4O2JLmfGbVqQbXkFJSLQyRdfS Yv0g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:mime-version:content-disposition:user-agent; bh=9/0EUg3KZIx+cWs1gGPNBgb8Y1zlbWg+FBWX2vC/PPw=; b=BY18/uDHDLvWd9Ujyh6i7wx9zXSkLguiVq/FLrN7xQxXeCEQSlO2mHa7w8d32qia7W Cezmb8e4LvkCiOKvWbPWg6q4M89SJ5L1qqbVuYWvSimR/zASJvo+JTUoDtpbp7cNmjYr mrqiUOO8deGfRcCydNlhkhqfUWGAKx55BntSKLNZLsEr5iwayyetbd1XRCqlhzLqRJfJ fXmxrPjVmhXnrsNVfmdkCUaL9T5cjwQJYAHVkyIiHJNOyN/hf9ZIGaT0TcF1gNYN6Tke zoh+MIZCRpJoDMbLxMHGB4FR5Cc745jqQpdxP8B+ursKdn2z1LbvD/lADK9iG1FkyBSk 2l6w== X-Gm-Message-State: AJcUukcG6mrcJs2PIYRwNc+loZYrY/GrMmodQor3y58FIkM9aKgg/Xrk CKMew9e4OMRCA7wZIcTre5dTlz4H X-Google-Smtp-Source: ALg8bN6Dq4u7Unc0CFc21ago9ZfYhacgwCAwULPbsSAsStxr3taMzuoc968TXELoLiuhHF1VMLPP+Q== X-Received: by 2002:a5d:444a:: with SMTP id x10mr37852115wrr.162.1546374981644; Tue, 01 Jan 2019 12:36:21 -0800 (PST) Received: from v2 (cpc92302-cmbg19-2-0-cust461.5-4.cable.virginm.net. [82.1.209.206]) by smtp.gmail.com with ESMTPSA id x10sm40394346wrn.29.2019.01.01.12.36.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 01 Jan 2019 12:36:20 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Sun, 30 Dec 2018 10:14:13 +0000 From: Edward Napierala To: freebsd-hackers Hackers Cc: freebsd-current Subject: Call for 2018Q4 quarterly status reports Message-ID: <20181230101413.GA2438@v2> Mail-Followup-To: freebsd-hackers Hackers , freebsd-current MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="XMCwj5IQnwKtuyBG" Content-Disposition: inline User-Agent: Mutt/1.11.1 (2018-12-01) X-Rspamd-Queue-Id: 1C80986E72 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Mb2Kh92d; spf=pass (mx1.freebsd.org: domain of etnapierala@gmail.com designates 2a00:1450:4864:20::42a as permitted sender) smtp.mailfrom=etnapierala@gmail.com X-Spamd-Result: default: False [-6.43 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; SIGNED_PGP(-2.00)[]; FORGED_SENDER(0.30)[trasz@freebsd.org,etnapierala@gmail.com]; MIME_TRACE(0.00)[0:+,1:+,2:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[trasz@freebsd.org,etnapierala@gmail.com]; ARC_NA(0.00)[]; DATE_IN_PAST(1.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,multipart/mixed,text/plain]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; IP_SCORE(-2.66)[ip: (-9.79), ipnet: 2a00:1450::/32(-1.81), asn: 15169(-1.60), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[a.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; MID_RHS_NOT_FQDN(0.50)[] X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2019 20:36:45 -0000 --XMCwj5IQnwKtuyBG Content-Type: multipart/mixed; boundary="ftEhullJWpWg/VHq" Content-Disposition: inline --ftEhullJWpWg/VHq Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Dear FreeBSD Community, The deadline for the next FreeBSD Quarterly Status update is January 31, 2019, for work done since the last round of Quarterly Reports: October, 2018 =E2=80=93 September, 2018. Status report submissions do not need to be very long. They may be about anything happening in the FreeBSD project and community, and provide a great way to inform FreeBSD users and developers about work that is underway and completed. Submission of reports is not restricted to committers; anyone doing anything interesting and FreeBSD related can -- and should -- write one! The preferred method is to follow the guidelines at the Quarterly GitHub repository: https://github.com/freebsd/freebsd-quarterly Alternatively you can fetch the Markdown template, fill it in, and email it to quarterly@FreeBSD.org. The template can be found at: https://raw.githubusercontent.com/freebsd/freebsd-quarterly/master/report-s= ample.md The old XML generator and templates are no longer used. We look forward to seeing your 2018Q4 reports! Thanks, Edward (on behalf of quarterly@) --ftEhullJWpWg/VHq Content-Disposition: inline MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" --ftEhullJWpWg/VHq-- --XMCwj5IQnwKtuyBG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGmBAEBCgCQFiEEbvjBe1hu6u1NeinjJCKD+Vwk/7oFAlwomnVfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDZF RjhDMTdCNTg2RUVBRUQ0RDdBMjlFMzI0MjI4M0Y5NUMyNEZGQkESHHRyYXN6QGZy ZWVic2Qub3JnAAoJECQig/lcJP+6QTIIAJpI/37B/anJ6izTB3SdZ5xzKPkRq4Ph nHMSHOc/JF5ZIMGps/G9tomULKce4HfqLA8dalsUH3jqgM7T37TTwBDXFdHqyJcm OlZVVsKjbZGdYy6VHJviYUlRY51O9+354+WwuXJNfMMO4Zt2Ma7ITPX55YZvdItX dnS4RFb0kjlEBuPYCvcykhOVDu36zso411LzebvlNBxEGkuDPMovR5m1y31kMYWb ebeCa+yxKX9m5P7+Ez9eQm+tcBIZ6nxNqaqRjDdA6jLota9ZDQMQZc7jJ0czGs9F 1F0gD3PejCL7xjfmXjZDM0XK1uVvAL/Ee7pti+Vk4fNSvdjndzN4Yf0= =o5PS -----END PGP SIGNATURE----- --XMCwj5IQnwKtuyBG-- From owner-freebsd-current@freebsd.org Tue Jan 1 20:47:34 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F3BCE142A18E; Tue, 1 Jan 2019 20:47:33 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: from mail-ot1-f43.google.com (mail-ot1-f43.google.com [209.85.210.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CDBE889DC7; Tue, 1 Jan 2019 20:44:29 +0000 (UTC) (envelope-from etnapierala@gmail.com) Received: by mail-ot1-f43.google.com with SMTP id v23so25413464otk.9; Tue, 01 Jan 2019 12:44:29 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=m51ZzkBAmaoSKp3VnKlha9idTW2OKsUCTeD0rR6ynQ4=; b=ec9ptaeYh0GXnjs79L+FKNbodC91RpmIgL3QEwAbqXk+JtwZ91psy+kSn3So1TFSZZ gIE2Jo3boksnKlHemG29RVyvpk4weeZja4EpiLguNGb4d+oRNTlB4PBaTGtDDO0OZmbI L4ySAoNbgkVsF9eRZSSN9Ak4DyR4bIResYAx7JsUao9tAfQeVGX2gJYjloEZNoKRxkzl zodlXyk7dhMCsDiWdCIdMbcjrDEf8/AIUekV4V8GGSiy3jQ3Sr5yJaaNbjEmUDlbhVME 1HbenIGry5o6oVWPrq2dd4cDsVBoxNUvSiauALkXOUXDFm/rjDNBziJ2VqBLDW5Sx1l5 U7RA== X-Gm-Message-State: AJcUukdGS5wis5LXDk67e20Awnbvplj7SdtlCe+FfYqBniZ5QDGLwR6S 0COIFBaj9pr1hGCtNUnShJBQF5uZZTDyxbaHncsbLA== X-Google-Smtp-Source: ALg8bN75FR6nrMKisG8ysOm//GzYOQm0RMrhHGv8o9WEOzzm63pzEOnFp1EVskFoSpTJXv4Q/pn5zthixVdXQ1QhRZA= X-Received: by 2002:a9d:19eb:: with SMTP id k98mr27337443otk.205.1546375463869; Tue, 01 Jan 2019 12:44:23 -0800 (PST) MIME-Version: 1.0 References: <20181230101413.GA2438@v2> In-Reply-To: <20181230101413.GA2438@v2> From: Edward Napierala Date: Tue, 1 Jan 2019 20:44:12 +0000 Message-ID: Subject: Re: Call for 2018Q4 quarterly status reports To: freebsd-hackers Hackers Cc: freebsd-current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: CDBE889DC7 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of etnapierala@gmail.com designates 209.85.210.43 as permitted sender) smtp.mailfrom=etnapierala@gmail.com X-Spamd-Result: default: False [-3.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; NEURAL_HAM_LONG(-0.99)[-0.994,0]; IP_SCORE(-1.09)[ipnet: 209.85.128.0/17(-3.77), asn: 15169(-1.60), country: US(-0.08)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[43.210.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.84)[-0.835,0]; FORGED_SENDER(0.30)[trasz@freebsd.org,etnapierala@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[trasz@freebsd.org,etnapierala@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2019 20:47:34 -0000 wt., 1 sty 2019 o 20:36 Edward Napierala napisa=C5=82(a= ): > > Dear FreeBSD Community, [..] > We look forward to seeing your 2018Q4 reports! > > Thanks, > > Edward (on behalf of quarterly@) > Dear FreeBSD Community, > > The deadline for the next FreeBSD Quarterly Status update is October 31, > 2018, for work done since the last round of Quarterly Reports: October, > 2017 =E2=80=93 September, 2018. This latter part - a copy of the previous call for reports - obviously wasn= 't supposed to be there, sorry. From owner-freebsd-current@freebsd.org Wed Jan 2 05:52:28 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 86C7F143673D for ; Wed, 2 Jan 2019 05:52:28 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F1087462B; Wed, 2 Jan 2019 05:52:26 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.109.86] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1geZS3-00075b-UH; Wed, 02 Jan 2019 06:52:24 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x025qLK7003097 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 2 Jan 2019 06:52:22 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x025qKUm003096; Wed, 2 Jan 2019 06:52:20 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 2 Jan 2019 06:52:19 +0100 From: Matthias Apitz To: Cy Schubert Cc: Antoine Brodin , Graham Perrin , FreeBSD Current Subject: Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" Message-ID: <20190102055219.GA3050@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: Cy Schubert , Antoine Brodin , Graham Perrin , FreeBSD Current References: <201812282055.wBSKtW0e037582@slippy.cwsent.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UugvWAfsgieZRqgk" Content-Disposition: inline In-Reply-To: <201812282055.wBSKtW0e037582@slippy.cwsent.com> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.109.86 X-Rspamd-Queue-Id: 5F1087462B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.52 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; IP_SCORE(-2.77)[ip: (-7.86), ipnet: 178.254.0.0/19(-3.31), asn: 42730(-2.65), country: DE(-0.01)]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.95)[-0.945,0]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[86.109.217.88.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; MIME_TRACE(0.00)[0:+,1:+]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 05:52:28 -0000 --UugvWAfsgieZRqgk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa viernes, diciembre 28, 2018 a las 12:55:32p. m. -0800, Cy Schub= ert escribi=C3=B3: > In message il.com> > , Antoine Brodin writes: > > On Fri, Dec 28, 2018 at 8:39 PM Graham Perrin = wrote: > > > > > > On Fri, 28 Dec 2018 at 16:31, Emiel Kollof wrot > > e: > > > > > > > Confirmed with Chromium on my CURRENT box: > > > > > > =C3=A2=C2=80=C2=A6 > > > > > > Thanks folks. Should I report it as a bug with devel/glib20? > > > > Hi, > > > > I think it's a regression in the toolchain (the problem doesn't occur > > on 11.2 or 12.0), so it should be reported to freebsd-toolchain@ >=20 > No issue here however I rebuilt glib on Dec 21. I see the same with www/chromium on r342378 and ports, both from Dec 23. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --UugvWAfsgieZRqgk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlwsUZEACgkQR8z35Hb+ nRFKthAAl1ohPYavG6v/sybsmU9bPZ1wZQO8e3S7yhku7AzjNDegmQEYMBBTH7Wt 6CdrsVDMKYdgJqXV3t9QETVDZ5WAC4ugqaVnkIVMjK4vKMftvN2y5sjMO2veJ3hW 9Wfig31hh59wNz8aM7howmCLg8Gxh1f53RffFshS42eyUuaYQ+pBWJyiROryqt6O DXjIKWVwdrliJ3qxBhsf6+Ay9hj51kMK3ku4q0hXxvRgXe7gNKqpLVZShbQ7fani vW2xWQz3rsQVifq0aRdh0krA4vJM+Pln598PbeIfDiyV4/7a+7R63fqeIyeuykqA 7Q/yoJ+bpeSSBfJVHfbCdCOUcYvfx/nAoGJynclu1SWiifaYpu+Ks3xI6ru0iN+g rqdUyZ9wlyl31mvW97FWy3BT8mW4cOh9APxrh7+fx2aMP32pIZajxLZB9GZaA+p7 m46PF03OGKHn2QofXt8zHpasulgDi7D/u29GewOo/gmfi8YRsSBdDxvaO0wN0Ort ho7H31G9sLIc4WaY2IoyA1myvHaUnvjOQWYva/9qGmMoq6H/L4fbkqK6VSurhdzU BcdAMUaIWHZ+hBHjI5Dk13NVK1MRcYY/Pj8SDWs2UhM2mIp7xotEbOMxogwIsPIj wuS1F5MnXpkGjonqQdcQTLOgwQdz0/C18E01Kr1UPykvpdEP+K8= =heWT -----END PGP SIGNATURE----- --UugvWAfsgieZRqgk-- From owner-freebsd-current@freebsd.org Wed Jan 2 05:56:54 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 603C61436988 for ; Wed, 2 Jan 2019 05:56:54 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0891874805 for ; Wed, 2 Jan 2019 05:56:54 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: from mail-io1-f44.google.com (mail-io1-f44.google.com [209.85.166.44]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) (Authenticated sender: mmacy) by smtp.freebsd.org (Postfix) with ESMTPSA id BCAEF9409 for ; Wed, 2 Jan 2019 05:56:53 +0000 (UTC) (envelope-from mmacy@freebsd.org) Received: by mail-io1-f44.google.com with SMTP id k7so23771995iob.6 for ; Tue, 01 Jan 2019 21:56:53 -0800 (PST) X-Gm-Message-State: AJcUukdWOuP4V4KOGmftXnvYEM3uldH7AhYCJPUQj4JA3u/V5buYujT3 Lo07IWhtNjyCZzPJsYly9i7ycZ53Ayn2N2BB9zA= X-Google-Smtp-Source: ALg8bN6ik/2Da0q9m3uILO9EZOM3z/R4CSTYZoaxNoXKcQM1PcavEuXU89KyH4spjlajTX1IOedaKepXFrwmCpL08ao= X-Received: by 2002:a6b:7b49:: with SMTP id m9mr10043540iop.237.1546408612916; Tue, 01 Jan 2019 21:56:52 -0800 (PST) MIME-Version: 1.0 References: <201812282055.wBSKtW0e037582@slippy.cwsent.com> <20190102055219.GA3050@c720-r342378> In-Reply-To: From: Matthew Macy Date: Tue, 1 Jan 2019 21:56:41 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" To: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 0891874805 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.99 / 15.00]; local_wl_from(0.00)[freebsd.org]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; ASN(0.00)[asn:11403, ipnet:96.47.64.0/20, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 05:56:54 -0000 I just updated world/kernel/ports to today's HEAD and packages and pkg "upgraded" chrome to be broken in this way. This isn't an isolated issue. On Tue, Jan 1, 2019 at 9:55 PM Matthew Macy wrote: > > I just updated world/kernel/ports to today's HEAD and packages and > pkg "upgraded" chrome to be broken in this way. This isn't an isolated > issue. > > On Tue, Jan 1, 2019 at 9:53 PM Matthias Apitz wrote: > > > > El d=C3=ADa viernes, diciembre 28, 2018 a las 12:55:32p. m. -0800, Cy S= chubert escribi=C3=B3: > > > > > In message > > il.com> > > > , Antoine Brodin writes: > > > > On Fri, Dec 28, 2018 at 8:39 PM Graham Perrin wrote: > > > > > > > > > > On Fri, 28 Dec 2018 at 16:31, Emiel Kollof wrot > > > > e: > > > > > > > > > > > Confirmed with Chromium on my CURRENT box: > > > > > > > > > > =C3=A2=E2=82=AC=C2=A6 > > > > > > > > > > Thanks folks. Should I report it as a bug with devel/glib20? > > > > > > > > Hi, > > > > > > > > I think it's a regression in the toolchain (the problem doesn't occ= ur > > > > on 11.2 or 12.0), so it should be reported to freebsd-toolchain@ > > > > > > No issue here however I rebuilt glib on Dec 21. > > > > I see the same with www/chromium on r342378 and ports, both from Dec 23= . > > > > matthias > > > > -- > > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49= -176-38902045 > > Public GnuPG key: http://www.unixarea.de/key.pub > > October, 7 -- The GDR was different: Peace instead of Bundeswehr and wa= rs, Druschba > > instead of Nazis, to live instead of to survive. From owner-freebsd-current@freebsd.org Wed Jan 2 06:19:17 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7996514373BB for ; Wed, 2 Jan 2019 06:19:17 +0000 (UTC) (envelope-from miltonott@fastmail.com) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (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 64FA175325 for ; Wed, 2 Jan 2019 06:19:15 +0000 (UTC) (envelope-from miltonott@fastmail.com) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 945FB2082E for ; Wed, 2 Jan 2019 01:19:14 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 02 Jan 2019 01:19:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= date:from:message-id:to:subject; s=fm1; bh=yvTyiT3Losl5AuOMOmOQS FYL99/9d9hHU9H0288H0xE=; b=PwOUDzNIDagzkeIXl/1Dlzzw0Q0Vdy7sY6zm7 ySOiET20sXp34LgTp8Cg04xb50NYQ8EoXZcG6b51PpcYrzvb6Yo/ueBznFJakt3q M6De6RWrPv1dIuzEgllHfR4Qotk3VNL/niekhEMcSJP5wJKVto22OhPqiANsrUkp K6NPLO/MtItFG1sriwPnNAEMjOrI1OxDWuF4FuHFxmfXAwbj0zbPsTWpJguJrwqL 1j2U9srftBXZJLcGZT6yaGin9GSYdV3JFPC9Al/9a+InJNVtmkfH8Ixn+B3UcnUp Alb1HIeSIYTw3nr7EeQ0pcSpML4uDa1kmYW4ToSn4ZrzfJewQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=date:from:message-id:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=yvTyiT3Losl5AuOMOmOQSFYL99/9d9hHU9H0288H0xE=; b=iwdoFsrd LY0H1CamwcLaB3r0D21+J55GwiQ8O9SOT6Sdn3/YsvnCRTGB5qizAjDkZ8HLiFYm 76Y9TysUKv0mtlAsJ47fqBhKJD6uGbgi1VEkfyHbdbmwzoGBdy7tvvtdqzD5Vwtl gEu2J3wXVLFsx39XrBDwUEhsdacqQrwjXxF6dGsc45uPuI97ITnKYBzJwW4BcxKe A68CXOc4jdAf6K5AeLwuJNwETWgRFI7iX7Jb/9ZfRyQezVzO5MfW5bMJaLZsJsIa kPbfKIVqhG4eVuzr9ni/9CasPN5kFJmkZt/sgF9nAgVdEct64X5fYYAiLoz3eQM3 C/CHfY46yQFOTw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedtledrudehgdelgeculddtuddrgedtkedrtddtmd cutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfhuthen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffkvffusedttddttddttddtne cuhfhrohhmpehmihhlthhonhhothhtuceomhhilhhtohhnohhtthesfhgrshhtmhgrihhl rdgtohhmqeenucfkphepheekrddujedtrddujeekrdduheegnecurfgrrhgrmhepmhgrih hlfhhrohhmpehmihhlthhonhhothhtsehfrghsthhmrghilhdrtghomhenucevlhhushht vghrufhiiigvpedt X-ME-Proxy: Received: from fallacy.miltonslab.com (unknown [58.170.178.154]) by mail.messagingengine.com (Postfix) with ESMTPA id 8A90A100B9 for ; Wed, 2 Jan 2019 01:19:13 -0500 (EST) Received: from fallacy.miltonslab.com (localhost [127.0.0.1]) by fallacy.miltonslab.com (8.15.2/8.15.2) with ESMTPS id x026J8vt014312 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Wed, 2 Jan 2019 06:19:08 GMT (envelope-from miltonott@fallacy.miltonslab.com) Received: (from miltonott@localhost) by fallacy.miltonslab.com (8.15.2/8.15.2/Submit) id x026J8WO014311; Wed, 2 Jan 2019 06:19:08 GMT (envelope-from miltonott) Date: Wed, 2 Jan 2019 06:19:08 GMT From: miltonott Message-Id: <201901020619.x026J8WO014311@fallacy.miltonslab.com> To: freebsd-current@freebsd.org Subject: As the new year begins with celestial fireworks X-Rspamd-Queue-Id: 64FA175325 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=fastmail.com header.s=fm1 header.b=PwOUDzNI; dkim=pass header.d=messagingengine.com header.s=fm1 header.b=iwdoFsrd; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (mx1.freebsd.org: domain of miltonott@fastmail.com designates 66.111.4.25 as permitted sender) smtp.mailfrom=miltonott@fastmail.com X-Spamd-Result: default: False [-7.69 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:66.111.4.25]; FREEMAIL_FROM(0.00)[fastmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; MX_GOOD(-0.01)[in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com,in2-smtp.messagingengine.com,in1-smtp.messagingengine.com]; NEURAL_HAM_SHORT(-1.00)[-0.996,0]; RECEIVED_SPAMHAUS_PBL(0.00)[154.178.170.58.zen.spamhaus.org : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[fastmail.com]; ASN(0.00)[asn:11403, ipnet:66.111.4.0/24, country:US]; RCVD_IN_DNSWL_LOW(-0.10)[25.4.111.66.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm1,messagingengine.com:s=fm1]; RCVD_COUNT_FIVE(0.00)[6]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-3.59)[ip: (-9.45), ipnet: 66.111.4.0/24(-4.64), asn: 11403(-3.76), country: US(-0.08)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 06:19:17 -0000 Decorated officers of flamewars, right honorable computer geeks, noble and correct operators, FreeBSD nitwits, sound the praises go to you. From owner-freebsd-current@freebsd.org Wed Jan 2 08:46:30 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DBCC4143AD06; Wed, 2 Jan 2019 08:46:30 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 C9F3881B34; Wed, 2 Jan 2019 08:46:29 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id EBB4F26024E; Wed, 2 Jan 2019 09:46:24 +0100 (CET) Subject: Re: r342378: usbconfig takes 3-5 minutes to read the bus To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20190101135156.GA3557@c720-r342378> From: Hans Petter Selasky Message-ID: <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> Date: Wed, 2 Jan 2019 09:44:06 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190101135156.GA3557@c720-r342378> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C9F3881B34 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.84)[ip: (-9.03), ipnet: 2a01:4f8::/29(-2.75), asn: 24940(-2.43), country: DE(-0.01)]; MX_GOOD(-0.01)[mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 08:46:31 -0000 On 1/1/19 2:51 PM, Matthias Apitz wrote: > Now with r342378, it works only after boot but not after withdraw/re-insert > anymore. To separate the problem from GnuPG and it's software stack, I have here some > small tests with usbconfig(8). First usbconfig reads fine the bus, but then > it takes 3-5 minutes to get any results, see below. Did you update the user-space libusb aswell? Any error messages in dmesg? --HPS From owner-freebsd-current@freebsd.org Wed Jan 2 10:49:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3C3AD143E710; Wed, 2 Jan 2019 10:49:00 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5C6885F16; Wed, 2 Jan 2019 10:48:58 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.130.4] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gee51-0006Mc-U3; Wed, 02 Jan 2019 11:48:56 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x02Ams2g002743 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 2 Jan 2019 11:48:54 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x02AmrrG002742; Wed, 2 Jan 2019 11:48:53 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 2 Jan 2019 11:48:53 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: r342378: usbconfig takes 3-5 minutes to read the bus Message-ID: <20190102104853.GA2622@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20190101135156.GA3557@c720-r342378> <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.4 X-Rspamd-Queue-Id: D5C6885F16 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.70 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.965,0]; SIGNED_PGP(-2.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; RECEIVED_SPAMHAUS_PBL(0.00)[4.130.204.89.zen.spamhaus.org : 127.0.0.11]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; IP_SCORE(-2.92)[ip: (-8.21), ipnet: 178.254.0.0/19(-3.54), asn: 42730(-2.83), country: DE(-0.01)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 10:49:00 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa mi=C3=A9rcoles, enero 02, 2019 a las 09:44:06a. m. +0100, Hans = Petter Selasky escribi=C3=B3: > On 1/1/19 2:51 PM, Matthias Apitz wrote: > > Now with r342378, it works only after boot but not after withdraw/re-in= sert > > anymore. To separate the problem from GnuPG and it's software stack, I = have here some > > small tests with usbconfig(8). First usbconfig reads fine the bus, but = then > > it takes 3-5 minutes to get any results, see below. >=20 > Did you update the user-space libusb aswell? I did a complete 'make installworld' and they look updated: $ ls -l /usr/lib/libusb* -r--r--r-- 1 root wheel 573256 31 dic. 12:19 /usr/lib/libusb_p.a -r--r--r-- 1 root wheel 541506 31 dic. 12:19 /usr/lib/libusb.a lrwxr-xr-x 1 root wheel 11 31 dic. 12:33 /usr/lib/libusb.so -> libu= sb.so.3 -r--r--r-- 1 root wheel 98016 31 dic. 12:33 /usr/lib/libusb.so.3 -r--r--r-- 1 root wheel 73910 31 dic. 12:19 /usr/lib/libusbhid_p.a -r--r--r-- 1 root wheel 71390 31 dic. 12:19 /usr/lib/libusbhid.a lrwxr-xr-x 1 root wheel 14 31 dic. 12:33 /usr/lib/libusbhid.so -> l= ibusbhid.so.4 -r--r--r-- 1 root wheel 23720 31 dic. 12:33 /usr/lib/libusbhid.so.4 At boot time a process is launched by devd(8) which reads the OpenPGP card and this works fine and has the device open: $ ps ax | grep pcs 501 v0- S 0:00,22 /usr/local/sbin/pcscd --debug --foreground # lsof -p 501 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pcscd 501 root cwd VDIR 0,113 1024 2 / pcscd 501 root rtd VDIR 0,113 1024 2 / pcscd 501 root txt VREG 0,113 121992 15279826 /usr/loca= l/sbin/pcscd pcscd 501 root txt VREG 0,113 151560 29294355 /libexec/= ld-elf.so.1 pcscd 501 root txt VREG 0,113 98016 29294906 /usr/lib/= libusb.so.3 pcscd 501 root txt VREG 0,113 27640 29294864 /usr/lib/= librt.so.1 pcscd 501 root txt VREG 0,113 135712 29293769 /lib/libt= hr.so.3 pcscd 501 root txt VREG 0,113 2063072 29294412 /lib/libc= =2Eso.7 pcscd 501 root txt VREG 0,113 135192 19033335 /usr/loca= l/lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so pcscd 501 root 0r VCHR 0,43 0t0 43 /dev/null pcscd 501 root 1u VREG 0,113 35688824 11580 / (/dev/a= da0p2) pcscd 501 root 2u VREG 0,113 35688824 11580 / (/dev/a= da0p2) pcscd 501 root 3u VREG 0,113 35688824 11580 / (/dev/a= da0p2) pcscd 501 root 4u PIPE 0xfffff800162fd8e8 16384 ->0xfffff= 800162fda50 pcscd 501 root 5u PIPE 0xfffff800162fda50 0 ->0xfffff= 800162fd8e8 pcscd 501 root 6u unix 0xfffff800164036d0 0t0 /var/run/= pcscd/pcscd.comm pcscd 501 root 7u unix 0xfffff80016feaa38 0t0 /var/run/= pcscd/pcscd.comm pcscd 501 root 9u PIPE 0xfffff800162fd2f8 16384 ->0xfffff= 800162fd460, cnt=3D2, in=3D2 pcscd 501 root 10u PIPE 0xfffff800162fd460 0 ->0xfffff= 800162fd2f8 pcscd 501 root 11u PIPE 0xfffff800162f28e8 16384 ->0xfffff= 800162f2a50 pcscd 501 root 12u PIPE 0xfffff800162f2a50 0 ->0xfffff= 800162f28e8 pcscd 501 root 13u VCHR 0,87 0t0 87 /dev/usb/= 0.4.0 pcscd 501 root 14u VCHR 0,87 0t0 87 /dev/usb/= 0.4.0 $ gpg2 --card-status Reader ...........: Identiv uTrust 3512 SAM slot Token (55511725600891) 00 = 00 Application ID ...: D27600012401020100050000532B0000 Version ..........: 2.1 Manufacturer .....: ZeitControl Serial number ....: 0000532B Name of cardholder: Matthias Apitz =2E.. When I withdraw the OpenPGP card devd(8) hooks kill that proc and restarts a new one on card insert. But this new proc hangs.=20 The same happens when I disable the devd(8) start of this proc and start the same proc from a shell (for debugging). This hangs too. Looks like something makes the USB stack broken after the point where devd(8) can launch fine the first proc of pcscd. > Any error messages in dmesg? Nothing. Only on boot it sees the card: Jan 2 11:25:39 c720-r342378 kernel: ugen0.1: <0x8086 XHCI root HUB> at usb= us0 Jan 2 11:25:39 c720-r342378 kernel: ugen1.1: at usbu= s1 Jan 2 11:25:39 c720-r342378 kernel: ugen1.2: at usbus1 Jan 2 11:25:39 c720-r342378 kernel: ugen0.2: at = usbus0 Jan 2 11:25:39 c720-r342378 kernel: ugen0.3: at usbus0 Jan 2 11:25:39 c720-r342378 kernel: ugen0.4: at usbus0 matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlwslw8ACgkQR8z35Hb+ nREDYA//UlEunH3uDlbt7/CN2sjhRs/4sk77FDRbQCMcKhKM9m344ROc1UQTWdgl 4WTEuej2i0ySQn6dwMzfovn5nLxblH7OkSM5nGI6mS5+X/K29gpZsQV4cikKQHLg 0srtcBdiYYZEoDUJAH4XJ1HILsB93J52czhG2yC4DKjvJxI4izWO5s9V9P5VDXpZ Zrzfmoc4vZ6RXkNYkr/RHvtRprF1TR42nRk4Pwr2jbyVfT3IdYECziZnY0EEXY7n 2UV043tqFVm9DfhCohtkUeYyUiTmPz/aHOnN2zcRYK4ZSaUNL3MhlOpjKZ41sSZe m3ND9rTloxcJrYpjX4aWUvU4Ib1snzBbWCeR8bi1JeOfe+Ohz65SPF+Kcao0jlQC X0EWfhWiSSKQa5zXmM6magDTkyIK6C8NGU1YpTu16yP4aCS0tNDorQfiOwQK8T+j 9nUkdIJ/64lh3+11nrPakjfbEnCUb/bPLeL6Hnjv77xfyCXKj46dB28hGUc5XM38 2Jlmm0s2IQcyu9RtHqbI9x7OCFeA8lwgj/anOY9zR5Cqlf6p4Exo88v9R87FpMUO hRggkyy7WbLRq9Ygag0mOoxb7K3dI3Hdm3hojCyFvqWUdZf2iMaBp7R4WDdFEbgw jxnLdiNy7P87ifpCcIq0V0PPdzhNyLTY3rT/ETLuwPDjakf6bnk= =ck2N -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- From owner-freebsd-current@freebsd.org Wed Jan 2 05:55:36 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29E5514368B8 for ; Wed, 2 Jan 2019 05:55:36 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: from mail-it1-x143.google.com (mail-it1-x143.google.com [IPv6:2607:f8b0:4864:20::143]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5C27B74794; Wed, 2 Jan 2019 05:55:35 +0000 (UTC) (envelope-from mat.macy@gmail.com) Received: by mail-it1-x143.google.com with SMTP id b5so37644885iti.2; Tue, 01 Jan 2019 21:55:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=l3XYdQXZAChU0AYpTRW1yBqW8xx6RyZ7FXzsCO+JeiE=; b=RthL+Azk4y+atbg63ygFxSN/Wa+BUTEymWl7MNeLxhHYPmAVuhxMlvJ9nYJURw/ScL +M2uEZyWDFXpmi/ud2kyfnHESKQfyXwUbIFJQwFHdXuyswng241sTHJrRfnlfoTvp25Y +gxXzodoyEN6NUO/mW/D4Gios8tONQ/j38dEW8Acb+tuyd2qa4+3CLSM42nNc6OrHeyM j/EY7txUfir4EZjOdQ8Pv/JZmy+swnhr1F907Vt8GbgzyO7GFyzH/7OwlbSYESPMzPKA fxYqB9mFmkbZpGH0FsB0e/J7j1P9HfUYR7QPm4Eeop3R/L5LPSLoO16kKfUcNGnNROC0 EVOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:content-transfer-encoding; bh=l3XYdQXZAChU0AYpTRW1yBqW8xx6RyZ7FXzsCO+JeiE=; b=lLvJ9of18i4JViQvRql+D4VOLr/2xO55n9+eY+lQ7YIUIVrQ3EbUYvqK7Ls8Fb+Jyq +lvEsUqFvJ3uWRYxofrzINNZzggIV+2onGtoZGmtPIP3yV11f1FP5XKXiyFVw4waw4ad 9OZ/lTDJQpPDMo6HxK1tgl+tR7WwRzQUQNSRa0mUvOlqCYzeEAW9o0ZfVFPj9XzBHa6s z7J75+y/kz1Elb7HbUUXRqDUEUFx1IHtlHlcjnUWTb5vdifL7n4LEItxGHOTcdbMAALQ kOvDi3Y/IiVs1BSHyHDP3MlZViP6V7gd4dlzpakEOnWswcKoH62ZBbGlDrdH74UVsKxY fTVQ== X-Gm-Message-State: AA+aEWbsp1+cAuRbpSFVH4QFbUS3Ffdo75orbYKk/5IPCcD9b3cnqVAi SDj8a8ZxUQ0kLljLerKpCHibwSBFTuKulRRZPTo= X-Google-Smtp-Source: AFSGD/XAMojWjt6jjWaliB3+AoK7HWr/xcownYa85B7CHBrl3TG/jTWt/yvPLskKTNKRAxOiX0HdFR3AU1qma7NsLYY= X-Received: by 2002:a24:9087:: with SMTP id x129mr29124695itd.20.1546408534567; Tue, 01 Jan 2019 21:55:34 -0800 (PST) MIME-Version: 1.0 References: <201812282055.wBSKtW0e037582@slippy.cwsent.com> <20190102055219.GA3050@c720-r342378> In-Reply-To: <20190102055219.GA3050@c720-r342378> From: Matthew Macy Date: Tue, 1 Jan 2019 21:55:22 -0800 Message-ID: Subject: Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" To: Matthias Apitz , Cy Schubert , Antoine Brodin , Graham Perrin , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 5C27B74794 X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=RthL+Azk; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of matmacy@gmail.com designates 2607:f8b0:4864:20::143 as permitted sender) smtp.mailfrom=matmacy@gmail.com X-Spamd-Result: default: False [-3.03 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.980,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-0.98)[-0.980,0]; RCPT_COUNT_FIVE(0.00)[5]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.4.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-0.01)[ip: (3.74), ipnet: 2607:f8b0::/32(-2.08), asn: 15169(-1.61), country: US(-0.08)]; NEURAL_HAM_SHORT(-0.05)[-0.049,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-Mailman-Approved-At: Wed, 02 Jan 2019 11:24:21 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 05:55:36 -0000 I just updated world/kernel/ports to today's HEAD and packages and pkg "upgraded" chrome to be broken in this way. This isn't an isolated issue. On Tue, Jan 1, 2019 at 9:53 PM Matthias Apitz wrote: > > El d=C3=ADa viernes, diciembre 28, 2018 a las 12:55:32p. m. -0800, Cy Sch= ubert escribi=C3=B3: > > > In message > il.com> > > , Antoine Brodin writes: > > > On Fri, Dec 28, 2018 at 8:39 PM Graham Perrin wrote: > > > > > > > > On Fri, 28 Dec 2018 at 16:31, Emiel Kollof wrot > > > e: > > > > > > > > > Confirmed with Chromium on my CURRENT box: > > > > > > > > =C3=A2=E2=82=AC=C2=A6 > > > > > > > > Thanks folks. Should I report it as a bug with devel/glib20? > > > > > > Hi, > > > > > > I think it's a regression in the toolchain (the problem doesn't occur > > > on 11.2 or 12.0), so it should be reported to freebsd-toolchain@ > > > > No issue here however I rebuilt glib on Dec 21. > > I see the same with www/chromium on r342378 and ports, both from Dec 23. > > matthias > > -- > Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-1= 76-38902045 > Public GnuPG key: http://www.unixarea.de/key.pub > October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars= , Druschba > instead of Nazis, to live instead of to survive. From owner-freebsd-current@freebsd.org Wed Jan 2 11:26:51 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 372FF143FD8A for ; Wed, 2 Jan 2019 11:26:51 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 187A28766D for ; Wed, 2 Jan 2019 11:26:50 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x441.google.com with SMTP id c123so15086061pfb.0 for ; Wed, 02 Jan 2019 03:26:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=k1bJhCTddJhZ7tCBO9IoZN/Wg/nzpt+hUrIHejkB0/Q=; b=Jk8djLZR6/Da2QDtuRvGDrSuBE6Z5rixFxo2InmvZlzxiTk3LRrTKwA9CMj+yqub75 dRa3O1ljfoqcBVMYVMsJDg3+JwKPGMJbL/AUQmzsELODFN6zqEthMBdzCLXCQi2s/XSS Yt970FvviC4hPGyrkUaL1I1J574DqQ9/FmuBDnT55jhiMBUFb6/vsJVWirHKCA6ZP9nB tuWd72Y3ETKnBw3XICAZOHGtyLnaxsFLVqWRGYhedhtNPH/Qp7qK9LuLJA/OkWUA/SuU ASHTTkBfhLHtkf3d70b+MloWqtV1HpsaGZmSgQcN5OUd+sqxeuSrjYZFOFZ2+GTnZaYw rGAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=k1bJhCTddJhZ7tCBO9IoZN/Wg/nzpt+hUrIHejkB0/Q=; b=JbhmjoBpUDR6Hmj2lWkMut2KfCaAf20Rpw4RPA76u1VBiWf4jYa+rHDO4tf4KDo+Aq uHts9VWgK5nFlG80zCVP2JT2f5gCUb5mPlN0osiCUYIYS/E6oEpa1ti9SkhPzR8VRhD7 GRo6J0HDfCWmLzZVARUQToncbv+gkDOPSzJFnpzsQxz6MzGUp/w9Y0pk9KbUuxZvuvmP xOeyw+qFjhSMwhBwnUXpxWejDlfg9GYFqVtJgpGUXbMAvf+cq7Y6AToU3DLZDSDzXLJN hjmeXsdeWLwftRd7qO9lHYJf/rbJqcH423WwsKAev7B4uLaKV9Gb/uZMePNCB70//nC9 O31w== X-Gm-Message-State: AA+aEWblJKo2h8/STF43nC+PJm66RnHmMeyCDuR4Jab2FgAok3nvOnXW 7mDjcFDt9RspzCNZzjmXGugnWGHm X-Google-Smtp-Source: AFSGD/UCEjbFpnHyAf0rfOuHMafmpvwnvdGlX+gtppiPY+cl6JZf96dG4200dpsgPR/zU8Fa5TQHQA== X-Received: by 2002:a62:345:: with SMTP id 66mr43974108pfd.189.1546428408877; Wed, 02 Jan 2019 03:26:48 -0800 (PST) Received: from [192.168.1.105] (119-18-15-55.cust.aussiebb.net. [119.18.15.55]) by smtp.gmail.com with ESMTPSA id v191sm124945061pgb.77.2019.01.02.03.26.47 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Jan 2019 03:26:48 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: ld-elf.so.1: /usr/local/lib/libglib-2.0.so.0: Undefined symbol "environ" To: FreeBSD Current References: <201812282055.wBSKtW0e037582@slippy.cwsent.com> <20190102055219.GA3050@c720-r342378> From: Kubilay Kocak Message-ID: <8185af76-8ff1-5e16-c186-2df2c5a5df2c@FreeBSD.org> Date: Wed, 2 Jan 2019 22:26:44 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:65.0) Gecko/20100101 Thunderbird/65.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 187A28766D X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Jk8djLZR; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::441 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-1.06 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.77)[-0.774,0]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MID_RHS_MATCH_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.54)[-0.543,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; TAGGED_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DOM_EQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[FreeBSD.org]; RCPT_COUNT_ONE(0.00)[1]; IP_SCORE(0.36)[ip: (5.56), ipnet: 2607:f8b0::/32(-2.08), asn: 15169(-1.61), country: US(-0.08)]; NEURAL_SPAM_LONG(0.11)[0.106,0]; RCVD_IN_DNSWL_NONE(0.00)[1.4.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 11:26:51 -0000 On 2/01/2019 4:56 pm, Matthew Macy wrote: > I just updated world/kernel/ports to today's HEAD and packages and > pkg "upgraded" chrome to be broken in this way. This isn't an isolated > issue. > > On Tue, Jan 1, 2019 at 9:55 PM Matthew Macy wrote: >> >> I just updated world/kernel/ports to today's HEAD and packages and >> pkg "upgraded" chrome to be broken in this way. This isn't an isolated >> issue. >> >> On Tue, Jan 1, 2019 at 9:53 PM Matthias Apitz wrote: >>> >>> El día viernes, diciembre 28, 2018 a las 12:55:32p. m. -0800, Cy Schubert escribió: >>> >>>> In message >>> il.com> >>>> , Antoine Brodin writes: >>>>> On Fri, Dec 28, 2018 at 8:39 PM Graham Perrin wrote: >>>>>> >>>>>> On Fri, 28 Dec 2018 at 16:31, Emiel Kollof wrot >>>>> e: >>>>>> >>>>>>> Confirmed with Chromium on my CURRENT box: >>>>>> >>>>>> … >>>>>> >>>>>> Thanks folks. Should I report it as a bug with devel/glib20? >>>>> >>>>> Hi, >>>>> >>>>> I think it's a regression in the toolchain (the problem doesn't occur >>>>> on 11.2 or 12.0), so it should be reported to freebsd-toolchain@ >>>> >>>> No issue here however I rebuilt glib on Dec 21. >>> >>> I see the same with www/chromium on r342378 and ports, both from Dec 23. >>> >>> matthias >>> >>> -- The issue is being tracked in https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220103 Per my last comment (comment 36), any base change(s) required to resolve the issue, once identified, should be tracked separately as a blocking issue. From owner-freebsd-current@freebsd.org Wed Jan 2 11:40:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C95FF1440866; Wed, 2 Jan 2019 11:40:00 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 9ABFF883AC; Wed, 2 Jan 2019 11:39:59 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id F40B0260359; Wed, 2 Jan 2019 12:39:56 +0100 (CET) Subject: Re: r342378: usbconfig takes 3-5 minutes to read the bus To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20190101135156.GA3557@c720-r342378> <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> <20190102104853.GA2622@c720-r342378> From: Hans Petter Selasky Message-ID: <4bf80067-8e3a-572f-c1b5-ae83b1c40c22@selasky.org> Date: Wed, 2 Jan 2019 12:37:37 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190102104853.GA2622@c720-r342378> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 9ABFF883AC X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.85)[ip: (-9.05), ipnet: 2a01:4f8::/29(-2.75), asn: 24940(-2.43), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.99)[-0.988,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 11:40:01 -0000 On 1/2/19 11:48 AM, Matthias Apitz wrote: > El día miércoles, enero 02, 2019 a las 09:44:06a. m. +0100, Hans Petter Selasky escribió: > >> On 1/1/19 2:51 PM, Matthias Apitz wrote: >>> Now with r342378, it works only after boot but not after withdraw/re-insert >>> anymore. To separate the problem from GnuPG and it's software stack, I have here some >>> small tests with usbconfig(8). First usbconfig reads fine the bus, but then >>> it takes 3-5 minutes to get any results, see below. >> >> Did you update the user-space libusb aswell? > > I did a complete 'make installworld' and they look updated: > > $ ls -l /usr/lib/libusb* > -r--r--r-- 1 root wheel 573256 31 dic. 12:19 /usr/lib/libusb_p.a > -r--r--r-- 1 root wheel 541506 31 dic. 12:19 /usr/lib/libusb.a > lrwxr-xr-x 1 root wheel 11 31 dic. 12:33 /usr/lib/libusb.so -> libusb.so.3 > -r--r--r-- 1 root wheel 98016 31 dic. 12:33 /usr/lib/libusb.so.3 > -r--r--r-- 1 root wheel 73910 31 dic. 12:19 /usr/lib/libusbhid_p.a > -r--r--r-- 1 root wheel 71390 31 dic. 12:19 /usr/lib/libusbhid.a > lrwxr-xr-x 1 root wheel 14 31 dic. 12:33 /usr/lib/libusbhid.so -> libusbhid.so.4 > -r--r--r-- 1 root wheel 23720 31 dic. 12:33 /usr/lib/libusbhid.so.4 > > At boot time a process is launched by devd(8) which reads the OpenPGP > card and this works fine and has the device open: > > $ ps ax | grep pcs > 501 v0- S 0:00,22 /usr/local/sbin/pcscd --debug --foreground > > # lsof -p 501 > COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME > pcscd 501 root cwd VDIR 0,113 1024 2 / > pcscd 501 root rtd VDIR 0,113 1024 2 / > pcscd 501 root txt VREG 0,113 121992 15279826 /usr/local/sbin/pcscd > pcscd 501 root txt VREG 0,113 151560 29294355 /libexec/ld-elf.so.1 > pcscd 501 root txt VREG 0,113 98016 29294906 /usr/lib/libusb.so.3 > pcscd 501 root txt VREG 0,113 27640 29294864 /usr/lib/librt.so.1 > pcscd 501 root txt VREG 0,113 135712 29293769 /lib/libthr.so.3 > pcscd 501 root txt VREG 0,113 2063072 29294412 /lib/libc.so.7 > pcscd 501 root txt VREG 0,113 135192 19033335 /usr/local/lib/pcsc/drivers/ifd-ccid.bundle/Contents/FreeBSD/libccid.so > pcscd 501 root 0r VCHR 0,43 0t0 43 /dev/null > pcscd 501 root 1u VREG 0,113 35688824 11580 / (/dev/ada0p2) > pcscd 501 root 2u VREG 0,113 35688824 11580 / (/dev/ada0p2) > pcscd 501 root 3u VREG 0,113 35688824 11580 / (/dev/ada0p2) > pcscd 501 root 4u PIPE 0xfffff800162fd8e8 16384 ->0xfffff800162fda50 > pcscd 501 root 5u PIPE 0xfffff800162fda50 0 ->0xfffff800162fd8e8 > pcscd 501 root 6u unix 0xfffff800164036d0 0t0 /var/run/pcscd/pcscd.comm > pcscd 501 root 7u unix 0xfffff80016feaa38 0t0 /var/run/pcscd/pcscd.comm > pcscd 501 root 9u PIPE 0xfffff800162fd2f8 16384 ->0xfffff800162fd460, cnt=2, in=2 > pcscd 501 root 10u PIPE 0xfffff800162fd460 0 ->0xfffff800162fd2f8 > pcscd 501 root 11u PIPE 0xfffff800162f28e8 16384 ->0xfffff800162f2a50 > pcscd 501 root 12u PIPE 0xfffff800162f2a50 0 ->0xfffff800162f28e8 > pcscd 501 root 13u VCHR 0,87 0t0 87 /dev/usb/0.4.0 > pcscd 501 root 14u VCHR 0,87 0t0 87 /dev/usb/0.4.0 > > $ gpg2 --card-status > Reader ...........: Identiv uTrust 3512 SAM slot Token (55511725600891) 00 00 > Application ID ...: D27600012401020100050000532B0000 > Version ..........: 2.1 > Manufacturer .....: ZeitControl > Serial number ....: 0000532B > Name of cardholder: Matthias Apitz > ... > > > When I withdraw the OpenPGP card devd(8) hooks kill that proc and > restarts a new one on card insert. But this new proc hangs. > > The same happens when I disable the devd(8) start of this proc and start > the same proc from a shell (for debugging). This hangs too. > > Looks like something makes the USB stack broken after the point where > devd(8) can launch fine the first proc of pcscd. > >> Any error messages in dmesg? > Hi, > Nothing. Only on boot it sees the card: And you are using the latest version of pcsd ? > Jan 2 11:25:39 c720-r342378 kernel: ugen0.1: <0x8086 XHCI root HUB> at usbus0 > Jan 2 11:25:39 c720-r342378 kernel: ugen1.1: at usbus1 > Jan 2 11:25:39 c720-r342378 kernel: ugen1.2: at usbus1 > Jan 2 11:25:39 c720-r342378 kernel: ugen0.2: at usbus0 > Jan 2 11:25:39 c720-r342378 kernel: ugen0.3: at usbus0 > Jan 2 11:25:39 c720-r342378 kernel: ugen0.4: at usbus0 There has been some changes in libusb recently . What does "procstat -ak" output. Does it hang on any "usb" functions? --HPS From owner-freebsd-current@freebsd.org Wed Jan 2 15:47:07 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88AE31425688; Wed, 2 Jan 2019 15:47:07 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3CA79222B; Wed, 2 Jan 2019 15:47:06 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [89.204.130.4] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1geijY-0005op-64; Wed, 02 Jan 2019 16:47:04 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x02Fl2RQ014011 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 2 Jan 2019 16:47:02 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x02Fl2qA014010; Wed, 2 Jan 2019 16:47:02 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Wed, 2 Jan 2019 16:47:01 +0100 From: Matthias Apitz To: Hans Petter Selasky Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: r342378: usbconfig takes 3-5 minutes to read the bus Message-ID: <20190102154701.GA13702@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: Hans Petter Selasky , freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20190101135156.GA3557@c720-r342378> <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> <20190102104853.GA2622@c720-r342378> <4bf80067-8e3a-572f-c1b5-ae83b1c40c22@selasky.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <4bf80067-8e3a-572f-c1b5-ae83b1c40c22@selasky.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.130.4 X-Rspamd-Queue-Id: B3CA79222B X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-4.75 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; TO_DN_SOME(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; NEURAL_HAM_SHORT(-0.97)[-0.974,0]; RECEIVED_SPAMHAUS_PBL(0.00)[4.130.204.89.zen.spamhaus.org : 127.0.0.11]; IP_SCORE(-3.07)[ip: (-8.50), ipnet: 178.254.0.0/19(-3.80), asn: 42730(-3.04), country: DE(-0.01)]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; R_DKIM_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 15:47:07 -0000 El d=C3=ADa mi=C3=A9rcoles, enero 02, 2019 a las 12:37:37p. m. +0100, Hans = Petter Selasky escribi=C3=B3: > > Nothing. Only on boot it sees the card: >=20 > And you are using the latest version of pcsd ? Yes. Compiled with all ports from December 23. >=20 > > Jan 2 11:25:39 c720-r342378 kernel: ugen0.1: <0x8086 XHCI root HUB> at= usbus0 > > Jan 2 11:25:39 c720-r342378 kernel: ugen1.1: at = usbus1 > > Jan 2 11:25:39 c720-r342378 kernel: ugen1.2: at usbus1 > > Jan 2 11:25:39 c720-r342378 kernel: ugen0.2: = at usbus0 > > Jan 2 11:25:39 c720-r342378 kernel: ugen0.3: at usbus0 > > Jan 2 11:25:39 c720-r342378 kernel: ugen0.4: at usbus0 >=20 > There has been some changes in libusb recently . After card removal and insert devd(8) starts a new pcsd: Jan 2 16:39:11 c720-r342378 kernel: ugen0.4: at usbus0 Jan 2 16:39:11 c720-r342378 root[13636]: CCID uTrust, type: ATTACH, system= : USB, subsystem: INTERFACE Jan 2 16:39:11 c720-r342378 root[13637]: /usr/local/sbin/pcscd --debug --f= oreground This sits hanging on /dev/usb/1.1.0: # lsof -p 13639 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME pcscd 13639 root cwd VDIR 0,113 1024 2 / pcscd 13639 root rtd VDIR 0,113 1024 2 / pcscd 13639 root txt VREG 0,113 121992 15279826 /usr/lo= cal/sbin/pcscd pcscd 13639 root txt VREG 0,113 151560 29294355 /libexe= c/ld-elf.so.1 pcscd 13639 root txt VREG 0,113 98016 29294906 /usr/li= b/libusb.so.3 pcscd 13639 root txt VREG 0,113 27640 29294864 /usr/li= b/librt.so.1 pcscd 13639 root txt VREG 0,113 135712 29293769 /lib/li= bthr.so.3 pcscd 13639 root txt VREG 0,113 2063072 29294412 /lib/li= bc.so.7 pcscd 13639 root 0r VCHR 0,43 0t0 43 /dev/nu= ll pcscd 13639 root 1u VCHR 0,43 0t0 43 /dev/nu= ll pcscd 13639 root 2u VCHR 0,43 0t0 43 /dev/nu= ll pcscd 13639 root 3u unix 0xfffff800609ff6d0 0t0 ->0xfff= ff800163fa368 pcscd 13639 root 4u PIPE 0xfffff8004f13c2f8 16384 ->0xfff= ff8004f13c460 pcscd 13639 root 5u PIPE 0xfffff8004f13c460 0 ->0xfff= ff8004f13c2f8 pcscd 13639 root 6u unix 0xfffff80072b03a38 0t0 /var/ru= n/pcscd/pcscd.comm pcscd 13639 root 7u PIPE 0xfffff8004e5422f8 16384 ->0xfff= ff8004e542460 pcscd 13639 root 8u PIPE 0xfffff8004e542460 0 ->0xfff= ff8004e5422f8 pcscd 13639 root 9u PIPE 0xfffff8004e509000 16384 ->0xfff= ff8004e509168 pcscd 13639 root 10u PIPE 0xfffff8004e509168 0 ->0xfff= ff8004e509000 pcscd 13639 root 11u VCHR 0,52 0t0 52 /dev/us= b/1.1.0 pcscd 13639 root 12u VCHR 0,52 0t0 52 /dev/us= b/1.1.0 (note: the older working proc had open /dev/usb/0.4.0) > What does "procstat -ak" output. Does it hang on any "usb" functions? # ps ax | grep pcs 13639 - I 0:00,01 /usr/local/sbin/pcscd --debug --foreground 13967 4 S+ 0:00,01 grep pcs # procstat -k 13639 PID TID COMM TDNAME KSTACK 13639 100287 pcscd - mi_switch sleepq_switc= h sleepq_catch_signals sleepq_wait_sig _sleep pipe_read dofileread kern_rea= dv sys_read amd64_syscall fast_syscall_common 13639 100821 pcscd - mi_switch sleepq_switc= h sleepq_catch_signals sleepq_wait_sig _sleep pipe_read dofileread kern_rea= dv sys_read amd64_syscall fast_syscall_common 13639 100822 pcscd - mi_switch sleepq_switc= h sleepq_catch_signals sleepq_wait_sig _sx_xlock_hard _sx_xlock usbd_enum_l= ock_sig usb_ref_device usb_open devfs_open VOP_OPEN_APV vn_open_vnode vn_op= en_cred kern_openat amd64_syscall fast_syscall_common matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. From owner-freebsd-current@freebsd.org Wed Jan 2 16:00:14 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F351E1425F99; Wed, 2 Jan 2019 16:00:13 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [88.99.82.50]) (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 C8FC792DC1; Wed, 2 Jan 2019 16:00:12 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 0948A260477; Wed, 2 Jan 2019 17:00:03 +0100 (CET) Subject: Re: r342378: usbconfig takes 3-5 minutes to read the bus To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20190101135156.GA3557@c720-r342378> <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> <20190102104853.GA2622@c720-r342378> <4bf80067-8e3a-572f-c1b5-ae83b1c40c22@selasky.org> <20190102154701.GA13702@c720-r342378> From: Hans Petter Selasky Message-ID: <2f013cf9-b073-04fd-9932-079f86fa24b1@selasky.org> Date: Wed, 2 Jan 2019 16:57:44 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190102154701.GA13702@c720-r342378> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C8FC792DC1 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 88.99.82.50 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.59 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-3.34)[ip: (-9.51), ipnet: 88.99.0.0/16(-4.75), asn: 24940(-2.43), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.94)[-0.940,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:88.99.0.0/16, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 16:00:14 -0000 On 1/2/19 4:47 PM, Matthias Apitz wrote: > After card removal and insert devd(8) starts a new pcsd: Does pcsd install this devd(8) rule? I thought pcsd would no longer need to be restarted. --HPS From owner-freebsd-current@freebsd.org Wed Jan 2 16:07:06 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B20AC1426560; Wed, 2 Jan 2019 16:07:06 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 C751E934B6; Wed, 2 Jan 2019 16:07:05 +0000 (UTC) (envelope-from hps@selasky.org) Received: from hps2016.home.selasky.org (unknown [176.74.212.121]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 73174260477; Wed, 2 Jan 2019 17:07:02 +0100 (CET) Subject: Re: r342378: usbconfig takes 3-5 minutes to read the bus From: Hans Petter Selasky To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20190101135156.GA3557@c720-r342378> <3ac801b2-899a-ee09-1398-ecab6ec7130a@selasky.org> <20190102104853.GA2622@c720-r342378> <4bf80067-8e3a-572f-c1b5-ae83b1c40c22@selasky.org> <20190102154701.GA13702@c720-r342378> <2f013cf9-b073-04fd-9932-079f86fa24b1@selasky.org> Message-ID: Date: Wed, 2 Jan 2019 17:04:42 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <2f013cf9-b073-04fd-9932-079f86fa24b1@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: C751E934B6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-6.15 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[selasky.org]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; IP_SCORE(-2.85)[ip: (-9.07), ipnet: 2a01:4f8::/29(-2.76), asn: 24940(-2.43), country: DE(-0.01)]; MX_GOOD(-0.01)[cached: mail.turbocat.net]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 16:07:06 -0000 On 1/2/19 4:57 PM, Hans Petter Selasky wrote: > On 1/2/19 4:47 PM, Matthias Apitz wrote: >> After card removal and insert devd(8) starts a new pcsd: > > Does pcsd install this devd(8) rule? I thought pcsd would no longer need > to be restarted. > Let's move this thread freebsd-usb only. Have a look here: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231076 --HPS From owner-freebsd-current@freebsd.org Wed Jan 2 19:48:38 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C16B9142E49D for ; Wed, 2 Jan 2019 19:48:38 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 071BF6D73C for ; Wed, 2 Jan 2019 19:48:38 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id B98D0142E499; Wed, 2 Jan 2019 19:48:37 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7ECB3142E498 for ; Wed, 2 Jan 2019 19:48:37 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 30CEF6D736 for ; Wed, 2 Jan 2019 19:48:36 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1546457309; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=KzAsGOFBTXwJ/QuBXs7SW52Fht0=; b=W7hH6+W1XlucEgQhigTLvNUcDvZkilUS7PGRcLqz1lAZgLgivnZr+J6s7K4G+bxe fHMXl01+qMnXVhlSwANwFc7jdkbTYd3h1Lx959RJOEExDrzsXyaJu8vKhIeNoEzu YnLqYKn4X7uosvBFtE+kw0OAZX4EOtUVMOP8OuBwcUL5CqbodITlg6gPkbqyImH4 lleZyx5cczFNISNnnN9jXb6nVAacUOZB3vGusi/5hpm8vynZXMNrKEA4qLI6TMte X1u6Iz2+eQ4LQXObgPmcwnYNzKUqHqAr1lHLJXlUBMXxe+DQV+kkOHlsVBgKneJP 3fYUutw19587IBxVLOVVMg==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=GI9KKaFK c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=3JhidrIBZZsA:10 a=48faUk6PgeAA:10 a=vR1neg0FitkbR-YTqGEA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp02.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=softfail Authentication-Results: smtp02.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received: from [209.6.230.48] ([209.6.230.48:30774] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 76/84-44058-CD01D2C5; Wed, 02 Jan 2019 14:28:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23597.4315.739853.729163@jerusalem.litteratus.org> Date: Wed, 2 Jan 2019 14:28:27 -0500 From: Robert Huff To: current@freebsd.org CC: Robert Huff Subject: kernel config question X-Mailer: VM 8.2.0b under 26.1 (amd64-portbld-freebsd12.0) X-Rspamd-Queue-Id: 30CEF6D736 X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=rcn.com header.s=20180516 header.b=W7hH6+W1; dmarc=pass (policy=none) header.from=rcn.com; spf=pass (mx1.freebsd.org: domain of roberthuff@rcn.com designates 69.168.97.78 as permitted sender) smtp.mailfrom=roberthuff@rcn.com X-Spamd-Result: default: False [-0.49 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_DKIM_ALLOW(0.00)[rcn.com:s=20180516]; RBL_NIXSPAM(4.00)[78.97.168.69.ix.dnsbl.manitu.net]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(0.00)[+ip4:69.168.97.0/24]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; BAD_REP_POLICIES(0.10)[]; DWL_DNSWL_LOW(-1.00)[rcn.com.dwl.dnswl.org : 127.0.5.1]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[rcn.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(0.00)[rcn.com,none]; MX_GOOD(-0.01)[mx.rcn.com]; NEURAL_HAM_SHORT(-0.57)[-0.565,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; IP_SCORE(-0.82)[ipnet: 69.168.97.0/24(-3.77), asn: 36271(-0.26), country: US(-0.08)]; ASN(0.00)[asn:36271, ipnet:69.168.97.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[78.97.168.69.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 19:48:39 -0000 I'm updating a machine from: FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64 to CURRENT (as of last midnight. Does this, in src/UPDATING: [8] In order to have a kernel that can run the 4.x binaries needed to do an installworld, you must include the COMPAT_FREEBSD4 option in your kernel. Failure to do so may leave you with a system that is hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 is required to run the 5.x binaries on more recent kernels. And so on for COMPAT_FREEBSD6 and COMPAT_FREEBSD7. still apply? (It seems ... irrational ... one would need compatibility stuff going back to FreeBSD 4 to rebuild/update FreeBSD 13.) Respectfully, Robert Huff From owner-freebsd-current@freebsd.org Wed Jan 2 20:02:26 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D5DF8142EB21 for ; Wed, 2 Jan 2019 20:02:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 6BDA46E161 for ; Wed, 2 Jan 2019 20:02:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 2996B142EB20; Wed, 2 Jan 2019 20:02:26 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 17E3F142EB1F for ; Wed, 2 Jan 2019 20:02:26 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 A1E016E15A for ; Wed, 2 Jan 2019 20:02:25 +0000 (UTC) (envelope-from pi@freebsd.org) Received: from pi by home.opsec.eu with local (Exim 4.91 (FreeBSD)) (envelope-from ) id 1gemig-0002F8-KY; Wed, 02 Jan 2019 21:02:26 +0100 Date: Wed, 2 Jan 2019 21:02:26 +0100 From: Kurt Jaeger To: Robert Huff Cc: current@freebsd.org Subject: Re: kernel config question Message-ID: <20190102200226.GQ84895@home.opsec.eu> References: <23597.4315.739853.729163@jerusalem.litteratus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <23597.4315.739853.729163@jerusalem.litteratus.org> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 20:02:27 -0000 Hi! > FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64 > > to CURRENT (as of last midnight. > Does this, in src/UPDATING: > > [8] In order to have a kernel that can run the 4.x binaries > needed to do an installworld, you must include the > COMPAT_FREEBSD4 option in your kernel. [...] > (It seems ... irrational ... one would need compatibility stuff > going back to FreeBSD 4 to rebuild/update FreeBSD 13.) No, COMPAT_FREEBSD4 is not needed. Maybe COMPAT_FREEBSD11 is needed. -- pi@FreeBSD.org +49 171 3101372 One year to go ! From owner-freebsd-current@freebsd.org Wed Jan 2 20:42:20 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C4140142FCB7 for ; Wed, 2 Jan 2019 20:42:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 60F406F635; Wed, 2 Jan 2019 20:42:20 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-3.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 789FE10AFD2; Wed, 2 Jan 2019 15:42:18 -0500 (EST) Subject: Re: buildworld falure: truncated or malformed archive To: Warner Losh , Ryan Stone Cc: Ed Maste , FreeBSD Current References: From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: <24c3374e-1bc5-b568-1e97-cb8c344cd457@FreeBSD.org> Date: Wed, 2 Jan 2019 12:42:17 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Wed, 02 Jan 2019 15:42:18 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 20:42:21 -0000 On 12/31/18 12:08 PM, Warner Losh wrote: > On Mon, Dec 31, 2018, 1:36 PM Ryan Stone >> Does this mean that it's currently impossible to build a world with >> debug symbols? >> > > Yes. Clang is simply too big until 64 bit offset support goes in. We actually build clang (and llvm) with stripped down debug symbols by default. If you don't put any DEBUG_* foo in src.conf you will get debug symbols for all of the world including the limited ones for clang. (We use -gline-tables-only or some such for clang). -- John Baldwin                                                                              From owner-freebsd-current@freebsd.org Wed Jan 2 20:46:23 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 24A30142FFE0 for ; Wed, 2 Jan 2019 20:46:23 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA1D6F998 for ; Wed, 2 Jan 2019 20:46:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 5F063142FFDF; Wed, 2 Jan 2019 20:46:22 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4D75D142FFDE for ; Wed, 2 Jan 2019 20:46:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E2A196F996; Wed, 2 Jan 2019 20:46:21 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-3.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id E885710B707; Wed, 2 Jan 2019 15:46:20 -0500 (EST) Subject: Re: kernel config question To: Kurt Jaeger , Robert Huff Cc: current@freebsd.org References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> Date: Wed, 2 Jan 2019 12:46:19 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190102200226.GQ84895@home.opsec.eu> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Wed, 02 Jan 2019 15:46:21 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 20:46:23 -0000 On 1/2/19 12:02 PM, Kurt Jaeger wrote: > Hi! > >> FreeBSD 12.0-CURRENT #0 r331659: Thu Mar 29 12:31:36 EDT 2018 amd64 >> >> to CURRENT (as of last midnight. >> Does this, in src/UPDATING: >> >> [8] In order to have a kernel that can run the 4.x binaries >> needed to do an installworld, you must include the >> COMPAT_FREEBSD4 option in your kernel. [...] > >> (It seems ... irrational ... one would need compatibility stuff >> going back to FreeBSD 4 to rebuild/update FreeBSD 13.) > > No, COMPAT_FREEBSD4 is not needed. Maybe COMPAT_FREEBSD11 is needed. Yes, that text needs to be made more generic to say that you will need COMPAT_FREEBSD. Though we've also had some major branches that didn't get a COMPAT_FREEBSD option. -- John Baldwin                                                                              From owner-freebsd-current@freebsd.org Wed Jan 2 21:31:18 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F5A61431ABB for ; Wed, 2 Jan 2019 21:31:18 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id BADE371742 for ; Wed, 2 Jan 2019 21:31:17 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id 7E64C1431AB9; Wed, 2 Jan 2019 21:31:17 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6CD811431AB8 for ; Wed, 2 Jan 2019 21:31:17 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 0F61B7173B for ; Wed, 2 Jan 2019 21:31:16 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1546464676; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=Ajb4TRr5MdM2K37oaF+mDmVgiJ8=; b=sx7aKcKfMwyx0lhj8D9Fm1tjDJFK9q+S6aPqP/OkaCZvxAPRAzOCHXbV75YaM8DZ k8dxRJh7jd+kNa4kWuUwLxRm027UnKTVn8LUgl6ALltLVPyuh8jjcYWhiPmlmy3L TGsP+Q1Lz3yBI1G200SHHYBe92x7m/R85bgthvqQAlS2YUta3X54rGAYyY2nRHdz eQg82arY6K00zQwe4uT94HOJJsrgXG/7FeGV/v1W6AXUs6urkqqU3fm1xsRLSfut Nj7N5Kxfkb8muyZoHw6HHYyDCsQQAhZYdyZWvdQgXnYGixwfGKAHVV4dpwo59E2o bUDn7dzkUqQAecEHys2l2g==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=K/pgJGeI c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=3JhidrIBZZsA:10 a=48faUk6PgeAA:10 a=sDsuTwsb9jj6nZlpn8UA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp03.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=softfail Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received: from [209.6.230.48] ([209.6.230.48:52216] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 5C/DB-19624-3AD2D2C5; Wed, 02 Jan 2019 16:31:16 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23597.11683.194179.304498@jerusalem.litteratus.org> Date: Wed, 2 Jan 2019 16:31:15 -0500 From: Robert Huff To: John Baldwin Cc: current@freebsd.org Subject: Re: kernel config question In-Reply-To: <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> X-Mailer: VM 8.2.0b under 26.1 (amd64-portbld-freebsd12.0) X-Rspamd-Queue-Id: 0F61B7173B X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.986,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 21:31:18 -0000 John Baldwin writes: > >> [8] In order to have a kernel that can run the 4.x binaries > >> needed to do an installworld, you must include the > >> COMPAT_FREEBSD4 option in your kernel. [...] > > > No, COMPAT_FREEBSD4 is not needed. Maybe COMPAT_FREEBSD11 is needed. > > Yes, that text needs to be made more generic to say that you will need > COMPAT_FREEBSD. Though we've also had some major branches that > didn't get a COMPAT_FREEBSD option. Are any of those still supported? Curiously, Robert Huff From owner-freebsd-current@freebsd.org Wed Jan 2 21:54:24 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 11BF5143273C for ; Wed, 2 Jan 2019 21:54:24 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 9B493724E9 for ; Wed, 2 Jan 2019 21:54:23 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id 58E0F143273B; Wed, 2 Jan 2019 21:54:23 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 339E2143273A for ; Wed, 2 Jan 2019 21:54:23 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B9C4B724E7 for ; Wed, 2 Jan 2019 21:54:22 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-3.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id 764A810B707; Wed, 2 Jan 2019 16:54:20 -0500 (EST) Subject: Re: kernel config question To: Robert Huff Cc: current@freebsd.org References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> <23597.11683.194179.304498@jerusalem.litteratus.org> From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> Date: Wed, 2 Jan 2019 13:54:19 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <23597.11683.194179.304498@jerusalem.litteratus.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Wed, 02 Jan 2019 16:54:20 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 21:54:24 -0000 On 1/2/19 1:31 PM, Robert Huff wrote: > > John Baldwin writes: > >> >> [8] In order to have a kernel that can run the 4.x binaries >> >> needed to do an installworld, you must include the >> >> COMPAT_FREEBSD4 option in your kernel. [...] >> >> > No, COMPAT_FREEBSD4 is not needed. Maybe COMPAT_FREEBSD11 is needed. >> >> Yes, that text needs to be made more generic to say that you will need >> COMPAT_FREEBSD. Though we've also had some major branches that >> didn't get a COMPAT_FREEBSD option. > > Are any of those still supported? I'm not sure, but I mean more that you can't assume we will always have a COMPAT_FREEBSD. There was a COMPAT_FREEBSD11. It looks like we actually only skipped COMPAT_FREEBSD8 to date. Perhaps we can just avoid worrying about the lack of COMPAT_FREEBSD. The text does say "and so on" for newer versions, but it's probably not clear. How about this: Index: UPDATING =================================================================== --- UPDATING (revision 342703) +++ UPDATING (working copy) @@ -1901,12 +1901,13 @@ COMMON ITEMS: can be deleted by "make delete-old-libs", but you have to make sure that no program is using those libraries anymore. - [8] In order to have a kernel that can run the 4.x binaries needed to - do an installworld, you must include the COMPAT_FREEBSD4 option in - your kernel. Failure to do so may leave you with a system that is - hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 is - required to run the 5.x binaries on more recent kernels. And so on - for COMPAT_FREEBSD6 and COMPAT_FREEBSD7. + [8] The new kernel must be able to run existing binaries used by + an installworld. When upgrading across major versions, the new + kernel's configuration must include the correct COMPAT_FREEBSD + option for existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x + binaries). Failure to do so may leave you with a system that is + hard to boot to recover. A GENERIC kernel will include suitable + compatibility options to run binaries from older branches. Make sure that you merge any new devices from GENERIC since the last time you updated your kernel config file. -- John Baldwin                                                                              From owner-freebsd-current@freebsd.org Wed Jan 2 22:04:04 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 134BF1432B48 for ; Wed, 2 Jan 2019 22:04:04 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99D64729B9 for ; Wed, 2 Jan 2019 22:04:03 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x835.google.com with SMTP id i7so35044875qtj.10 for ; Wed, 02 Jan 2019 14:04:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=On5ArxPlje2NJXSfmmFTw3bwn4XrfdDEWnsHvLzJGyY=; b=lp74ORnBZhrqBUa5xM+dRsyb4e6gqK5AmKxp978rpWm27gGFGZe1bLiaAXTD+PWtby YW30zlfeH/KQq9JLFXIAmpS2GkG3I9iZJUaIvq6jdEogIR3zfm+JPXMwGXTWur+McWlO lcPecocLwU7yIxQc/8oKam3fT8CHmUlMo4Pp2r74NscGAMmOyjXK640nyGrRf5Krc95E +BZbUrWezCipwm/ccxBXTRFNZDJbsBNxxw+wO3EohsDTVtOKEgDjmmZ78lO5TF8Pev0Y 8GrYt7KghlC4YKbshXZdzE4e5pBqn8TEM07FT+rRXHsCgrdMiuBU82nyUzH39oB/bg8m mrAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=On5ArxPlje2NJXSfmmFTw3bwn4XrfdDEWnsHvLzJGyY=; b=ASjViAjSsExyK9yyDzYHRO/CcFW6xXPYMz5FYtPh7rpjr/OnCRX50EtYuQoyGZmm9i uhkjgZFDOJa2WBcAV+Jh5K0MjYvCiQxb79ZmN/V0nIkxvtEIJUmOqpYgCqc/UTGH8YMy RhmNyHxxNyTXaHApGu7lLW9hRgMhxNjPgiKB87Y5KSL1ntVlKVZCRmv8gLnxWsCgh2g8 xX4P/NkCOBTq0BGlxR99RS+9bbIeimZrEQEA1DE/bF/sWZEgo9JOpjZvKuTfhn6f8gb4 P1It+OAghrMsbFwR10DQzGMHiS6ezqE5dkIEOVQnfvzzmSGNUBc/SGVEzJw78PZMQw3H g/MQ== X-Gm-Message-State: AJcUukdVGqzM2/XTW4AmTG/0vHtYKINDuKRk9sjgT0hmPj04RhPohmvN g7OE+hJWlw1iJY5T9axFKLJ41kOn9/u2NOP3UaP9RA== X-Google-Smtp-Source: ALg8bN4hnRhDsaLi3hUHNEsf2IAdF8cflynln2qfSqvdnst1zE60f5SZ3O0jRZeFLZsfSyAU+P7dJaamk68s6vqj94U= X-Received: by 2002:ac8:42c1:: with SMTP id g1mr12191601qtm.118.1546466642890; Wed, 02 Jan 2019 14:04:02 -0800 (PST) MIME-Version: 1.0 References: <24c3374e-1bc5-b568-1e97-cb8c344cd457@FreeBSD.org> In-Reply-To: <24c3374e-1bc5-b568-1e97-cb8c344cd457@FreeBSD.org> From: Warner Losh Date: Wed, 2 Jan 2019 15:03:50 -0700 Message-ID: Subject: Re: buildworld falure: truncated or malformed archive To: John Baldwin Cc: Ryan Stone , Ed Maste , FreeBSD Current X-Rspamd-Queue-Id: 99D64729B9 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.94 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.94)[-0.944,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jan 2019 22:04:04 -0000 On Wed, Jan 2, 2019, 1:42 PM John Baldwin On 12/31/18 12:08 PM, Warner Losh wrote: > > On Mon, Dec 31, 2018, 1:36 PM Ryan Stone > > >> Does this mean that it's currently impossible to build a world with > >> debug symbols? > >> > > > > Yes. Clang is simply too big until 64 bit offset support goes in. > > We actually build clang (and llvm) with stripped down debug symbols by > default. If you don't put any DEBUG_* foo in src.conf you will get debug > symbols for all of the world including the limited ones for clang. (We > use -gline-tables-only or some > Yea, DEBUG_FLAGS=-g is what breaks it... Warner > From owner-freebsd-current@freebsd.org Thu Jan 3 01:01:27 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D2E4143742C for ; Thu, 3 Jan 2019 01:01:27 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id E3F85813E4 for ; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: by mailman.ysv.freebsd.org (Postfix) id A1C6D1437429; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EF661437428 for ; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) (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 246A6813DE for ; Thu, 3 Jan 2019 01:01:26 +0000 (UTC) (envelope-from roberthuff@rcn.com) DKIM-Signature: v=1; a=rsa-sha1; d=rcn.com; s=20180516; c=relaxed/simple; q=dns/txt; i=@rcn.com; t=1546477285; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=J/RWyOAFFuzfmdV0WURXOiXLaEk=; b=Q+Ze6OEm58B8ZiNmm9PCYCYKKYok+f65SqkJzcstmw1OyB2SUiFLokwEGWMrRiQ/ HB2F6S5rDTV63vgWRX8E+jwCjgWZEYbaAINoyfIDmCfHa3KFUyCfbh9WxUvusMil POh+FQJhgzVGvcSEknT/PKuUerUqh+/CJGgv0fPFqK6S3RLjT/GgAl0Ochr6pvXb EmCI7kC0ecD+eGQ9ZlJVBu76H3Wu90X78I0QmkRgAm4bp1xRY86KeE37Fd3wgmMS gzpdQpAyMOoW6L+r2Wf2xJBuK3eQ9QWvoi1+j8aI9Kqe/WZNeV4mKfWIOb5Sr0I5 L3reMPeQCuCm7wSISa+KIA==; X_CMAE_Category: , , X-CNFS-Analysis: v=2.2 cv=K/pgJGeI c=1 sm=1 tr=0 a=9TgA2UwI6Wy+6BV4wQM/cQ==:117 a=9TgA2UwI6Wy+6BV4wQM/cQ==:17 a=KGjhK52YXX0A:10 a=kj9zAlcOel0A:10 a=XRQyMpdBKAEA:10 a=3JhidrIBZZsA:10 a=48faUk6PgeAA:10 a=stKDiEJDuLZZKY9bAwEA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine X-Authed-Username: cm9iZXJ0aHVmZkByY24uY29t Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=softfail; sender-id=softfail Authentication-Results: smtp03.rcn.cmh.synacor.com smtp.user=roberthuff; auth=pass (PLAIN) Received: from [209.6.230.48] ([209.6.230.48:45062] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 3.6.25.56547 r(Core:3.6.25.0)) with ESMTPSA (cipher=AES256-GCM-SHA384) id 4A/37-19624-4EE5D2C5; Wed, 02 Jan 2019 20:01:25 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <23597.24292.297840.309399@jerusalem.litteratus.org> Date: Wed, 2 Jan 2019 20:01:24 -0500 From: Robert Huff To: John Baldwin Cc: Robert Huff , current@freebsd.org Subject: Re: kernel config question In-Reply-To: <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> <23597.11683.194179.304498@jerusalem.litteratus.org> <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> X-Mailer: VM 8.2.0b under 26.1 (amd64-portbld-freebsd12.0) X-Rspamd-Queue-Id: 246A6813DE X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.993,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jan 2019 01:01:27 -0000 John Baldwin writes: > - [8] In order to have a kernel that can run the 4.x binaries needed to > - do an installworld, you must include the COMPAT_FREEBSD4 option in > - your kernel. Failure to do so may leave you with a system that is > - hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 is > - required to run the 5.x binaries on more recent kernels. And so on > - for COMPAT_FREEBSD6 and COMPAT_FREEBSD7. > + [8] The new kernel must be able to run existing binaries used by > + an installworld. When upgrading across major versions, the new > + kernel's configuration must include the correct COMPAT_FREEBSD > + option for existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x > + binaries). Failure to do so may leave you with a system that is > + hard to boot to recover. A GENERIC kernel will include suitable > + compatibility options to run binaries from older branches. Maybe not perfect, but _much_ better. Thanks. Respectfully, Robert Huff From owner-freebsd-current@freebsd.org Fri Jan 4 05:52:30 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF10F141A96D for ; Fri, 4 Jan 2019 05:52:29 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E156A8259A for ; Fri, 4 Jan 2019 05:52:28 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.101.39] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gfIP6-00034O-5U for freebsd-current@freebsd.org; Fri, 04 Jan 2019 06:52:20 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x045qIZZ003447 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Fri, 4 Jan 2019 06:52:19 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x045qIQQ003446 for freebsd-current@freebsd.org; Fri, 4 Jan 2019 06:52:18 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 4 Jan 2019 06:52:18 +0100 From: Matthias Apitz To: freebsd-current@freebsd.org Subject: uname -a output without svn revision number Message-ID: <20190104055218.GA3408@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" Content-Disposition: inline X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.101.39 X-Rspamd-Queue-Id: E156A8259A X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.02 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; TO_DN_NONE(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; MX_GOOD(-0.01)[mail.unixarea.de]; NEURAL_HAM_SHORT(-0.89)[-0.886,0]; SIGNED_PGP(-2.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[39.101.217.88.zen.spamhaus.org : 127.0.0.10]; MIME_TRACE(0.00)[0:+,1:+]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; RCVD_TLS_LAST(0.00)[]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; IP_SCORE(-3.33)[ip: (-9.02), ipnet: 178.254.0.0/19(-4.22), asn: 42730(-3.38), country: DE(-0.01)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 05:52:30 -0000 --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I've compiled CURRENT from svn and this gave me as 'uname -a' output: FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC amd= 64 Now I've had do modify a source file (to nail down some problem) and the revision number went away from the output; it now says: FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64 Why is this? I've read in UPDATING that: =2E.. 20180913: Reproducible build mode is now on by default, in preparation for FreeBSD 12.0. This eliminates build metadata such as the user, host, and time from the kernel (and uname), unless the working tree corresponds to a modified checkout from a version control system. The previous behavior can be obtained by setting the /etc/src.conf knob WITHOUT_REPRODUCIBLE_BUILD. =2E.. But this does not explain why now the SVN revision number went away. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlwu9I8ACgkQR8z35Hb+ nRGFcA/+KDhIcvkG27Fr/9Q9XYMDj1bmgB2rStDD1LVGEP/oP8HRctzQMIKy2LL4 hGctnbwARt6sze62MmorbaLdMvVRoI43w0fCN7we+cUvxjuM44lt99uzlwCOkBno KdhUcDbx7B3f/j0J4riuMO9QBtWZvSpWsVkrdA2DLLAI2LXUXXvIWzYJy+Fl7gBT CXxUK6IKHJnfVQsRz03CWtNTyyMV0joCowylp+fIBaesv57QYz5yCXL1PIxgcC9O VyaQFkKYNUqioRxcDR4aDWYsW97AUywmg7b+McZbqAc5AAOULY1Y2eOkKohVvgUa 8wbIt/j1ocupEnOwr1l4tnxXQ9JxUW668Cz4QwQo4pvlT9+yxOjMxhQwO+p707yh /LZZDEpaJmqCJWNhELGZAJ2B5nfmz1cIT+Y1eE58m4U2sxBdOYIfgUe0qjmsyCvg z1HaQfyk7E7IM4A3xDpp/Gt05UobmNOojIHdDCGpv6LJAhGvjzn4YMzc5tUvyX1V xd81bSzm5beMZO5rt6LLwycPf+04oghDoMkD8vu0XrjnkYgfSbz0CB7EfOA/oquB LGp0II0QUI9GA26ed3wCtS5OmvjSBLxucnvCcTU3Tsg0sXf5agE6R1zrh4S1TAfq HlvEG0mG0sak5gK7Y7Fd3HSySxPMO3N7nB0RVE/EKNcTiLWN+bw= =57dA -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu-- From owner-freebsd-current@freebsd.org Fri Jan 4 06:40:23 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5C88F141BA0F for ; Fri, 4 Jan 2019 06:40:23 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C63F083641 for ; Fri, 4 Jan 2019 06:40:22 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 8A1B8141BA0E; Fri, 4 Jan 2019 06:40:22 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 677BC141BA0C for ; Fri, 4 Jan 2019 06:40:22 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: from mail-oi1-x233.google.com (mail-oi1-x233.google.com [IPv6:2607:f8b0:4864:20::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5347D8363E; Fri, 4 Jan 2019 06:40:21 +0000 (UTC) (envelope-from kob6558@gmail.com) Received: by mail-oi1-x233.google.com with SMTP id x23so29668847oix.3; Thu, 03 Jan 2019 22:40:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XRnOIIHp8nGwiz+J0F7ai8NyxCz/n/OcQATaTjyit/A=; b=Tx26wWSvSJwg7kxjU4CROHDwCVReB90hZeeA1tfn6w5MhPkverrxPbRnkvoXzMgcvo EohLJH33mj7FL/1WjO24tHhF30ZpJBANpJMQlFkmHFmjthwkhWejRk174dc9JjmHYSCS sl3ue44BKmjnE1/kSWd4/C1Dq1W9s7J0K95vKko7jBBsaknQW09hSPC9g67Wext80M9D 1DnSG06GLrSNeQRPb5GCU1x36G6gFF1WmZE9447NnGnaKxj5G9ZXLbyBtvkultthjJ/t 0gP9yHzh4bYsDZ2EGBtM3AYr2NpW3JBLsGCgNAKtmJY4JuwC2jli+YNvEUiVveYqmipI wz/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XRnOIIHp8nGwiz+J0F7ai8NyxCz/n/OcQATaTjyit/A=; b=fYA7iJEoKySEJKFfj881s4IshFfBpkvLsZFwKZHTAcdq7TDGPcL0G9eO19u6uw6qfj 2UyLaeuNKOM3SCHxFMZ+hUdXMArjPjT8hqB9LB2cl66wkvVbUP8vvxVKdKIYnxKuMREn mdecG8/fkhqusDr8RqS++7UQ07GEBU0HXMIcK4IS/Emd9mYl6sDI2oQd2m9/QuvBybjr Sm6jyydkP9xxwjXSShc/jxD/dHOlEAbTBuHHcciMqJJz6EUUQHlcgfz5byzQUtgrQyv6 kUAHr1xGrtqspv3Pp1E5Mdf82PPBQ72juFHEKYJHFCU83Nm6HA1GcsDG7iCTbvzfwv/I s4FQ== X-Gm-Message-State: AJcUukd54PiRJcFTCmAVSi1pBTVilbPvkNeKvrDf1BWhrt51gVFmos/g L6Qgq4AT5Gwt/0Za/NxxzRiwLUMCdBMuCYIR3x9tDeAt X-Google-Smtp-Source: ALg8bN6ui1EoZYFoyeis4EmioQBjPASSgwil2NaZbRXX866erA2htiAPwubiXLbQalXvP+vqcbGGu12045rmcNX8W7k= X-Received: by 2002:a54:4d81:: with SMTP id y1mr386896oix.18.1546584020113; Thu, 03 Jan 2019 22:40:20 -0800 (PST) MIME-Version: 1.0 References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> <23597.11683.194179.304498@jerusalem.litteratus.org> <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> <23597.24292.297840.309399@jerusalem.litteratus.org> In-Reply-To: <23597.24292.297840.309399@jerusalem.litteratus.org> From: Kevin Oberman Date: Thu, 3 Jan 2019 22:40:03 -0800 Message-ID: Subject: Re: kernel config question To: Robert Huff Cc: John Baldwin , current X-Rspamd-Queue-Id: 5347D8363E X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=Tx26wWSv; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of kob6558@gmail.com designates 2607:f8b0:4864:20::233 as permitted sender) smtp.mailfrom=kob6558@gmail.com X-Spamd-Result: default: False [-5.85 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.57)[-0.570,0]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; RCVD_IN_DNSWL_NONE(0.00)[3.3.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; IP_SCORE(-2.57)[ip: (-8.98), ipnet: 2607:f8b0::/32(-2.16), asn: 15169(-1.65), country: US(-0.08)]; FORGED_SENDER(0.30)[rkoberman@gmail.com,kob6558@gmail.com]; MIME_TRACE(0.00)[0:+,1:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[rkoberman@gmail.com,kob6558@gmail.com]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 06:40:23 -0000 On Wed, Jan 2, 2019 at 5:02 PM Robert Huff wrote: > > John Baldwin writes: > > > - [8] In order to have a kernel that can run the 4.x binaries needed > to > > - do an installworld, you must include the COMPAT_FREEBSD4 option in > > - your kernel. Failure to do so may leave you with a system that is > > - hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 is > > - required to run the 5.x binaries on more recent kernels. And so on > > - for COMPAT_FREEBSD6 and COMPAT_FREEBSD7. > > + [8] The new kernel must be able to run existing binaries used by > > + an installworld. When upgrading across major versions, the new > > + kernel's configuration must include the correct COMPAT_FREEBSD > > + option for existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x > > + binaries). Failure to do so may leave you with a system that is > > + hard to boot to recover. A GENERIC kernel will include suitable > > + compatibility options to run binaries from older branches. > > Maybe not perfect, but _much_ better. > Thanks. > > > Respectfully, > > > Robert Huff > Some ports may require compat ports. E.g. plexmediaserver requires compat9x. Oddly, compat9x requires compat10x, so I need 9, 10, and 11. Now that 10 is EOL, I wish Plex would start building their blobs against 11. -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkoberman@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683 From owner-freebsd-current@freebsd.org Fri Jan 4 06:52:46 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 83128141BEE5 for ; Fri, 4 Jan 2019 06:52:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 22F5583CF1; Fri, 4 Jan 2019 06:52:46 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58::421:dad0:efc3:628f] (unknown [IPv6:2001:470:7a58:0:421:dad0:efc3:628f]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 4E03E9B9E; Fri, 4 Jan 2019 07:52:44 +0100 (CET) From: Dimitry Andric Message-Id: <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: uname -a output without svn revision number Date: Fri, 4 Jan 2019 07:52:40 +0100 In-Reply-To: <20190104055218.GA3408@c720-r342378> Cc: FreeBSD Current , Ed Maste To: Matthias Apitz References: <20190104055218.GA3408@c720-r342378> X-Mailer: Apple Mail (2.3445.9.1) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 06:52:46 -0000 --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 4 Jan 2019, at 06:52, Matthias Apitz wrote: >=20 > I've compiled CURRENT from svn and this gave me as 'uname -a' output: >=20 > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC = amd64 >=20 > Now I've had do modify a source file (to nail down some problem) and = the > revision number went away from the output; it now says: >=20 > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64 >=20 > Why is this? I've read in UPDATING that: >=20 > ... > 20180913: > Reproducible build mode is now on by default, in preparation = for > FreeBSD 12.0. This eliminates build metadata such as the user, > host, and time from the kernel (and uname), unless the working = tree > corresponds to a modified checkout from a version control = system. > The previous behavior can be obtained by setting the = /etc/src.conf > knob WITHOUT_REPRODUCIBLE_BUILD. > ... >=20 > But this does not explain why now the SVN revision number went away. For me, it doesn't go away, but shows an "M" suffix, instead. In /usr/obj/usr/src/sys/GENERIC/vers.c it shows: #define VERSTR "FreeBSD 13.0-CURRENT r342593M \n" What is the output of sh /usr/src/sys/conf/newvers.sh for you? -Dimitry --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCXC8CuAAKCRCwXqMKLiCW o3DWAKDZTR6gfMGC1gGApg6UGzNitGjlSACg9Q00VRYxzD6QUfKDyW+q3cuI8sQ= =k1jV -----END PGP SIGNATURE----- --Apple-Mail=_7BFAEE00-6BAA-4EE0-91BB-3907958417A1-- From owner-freebsd-current@freebsd.org Fri Jan 4 06:56:44 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BA1F141E0A9; Fri, 4 Jan 2019 06:56:44 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3729383EC0; Fri, 4 Jan 2019 06:56:43 +0000 (UTC) (envelope-from melounmichal@gmail.com) Received: by mail-wm1-x344.google.com with SMTP id n190so286203wmd.0; Thu, 03 Jan 2019 22:56:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:reply-to:subject:to:references:openpgp:autocrypt:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=usatyWAmXZ35xb0cj4vJ5X+otTvMD3Y8WK5vM9ibfqk=; b=EqaVeZ+MtgcqEbDjTM1zZUsQuOEuMpVgH7psTso6ORP1sUDbJyxIGSmosBtKD5ckla r+1BFsB2m7gCBGwYwLe6Ivfi4PwAbq1i8fJufedle7dt7U031SZXyTgyDy8HBLrOnzSi vIM5+MVBUeGyszmhLL5X0rhZkUFF1vsunUzQb2P5XZlZ/MZLUyv9hsgxQAojlm+VKDed 0oNEVfjmKgR7MANTgBEN4RFkkM3LJDgeoGkRu/iWCLR0q/rqWQT2JykWy4Z6ggc0lCHM i50cOhEu3d5bXFdFECRjMMA2on/REPRtgmDN3RjQZGoHtcBbe+NbNvW2vCnof1jGlQIM tuIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:reply-to:subject:to:references:openpgp :autocrypt:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=usatyWAmXZ35xb0cj4vJ5X+otTvMD3Y8WK5vM9ibfqk=; b=hpeLOypp4kRvveV+EZ+NIgYvGbeYChDUFDvmBQnVght7PKyUnHZtuAfj+EmiMGmiaB NtnG2NNSttpViL9gRUK2DMwOPLpPkOQdF9GKBX/ciRMX2g4RAhEPSo3gTkrWhTvCO2s/ 4hsJMOQUbY7lg8gXl0of7GmZ/SsimdeMua02kBIX0rExta7VlH22PZ5CUQT38vSkxtLb r6wlXXVkr/oqvamEpa5sw3ELXiBpSB5yKIUPQ1GPsxljNxagUn//tH68BDQjcRytajRa ZmnjB6dUbNNMiKVSj0InMlJ0TEHonQW+i/0tyjoTnK559YrSdGV+pKwrAAU1ntW1/7AG 7ZVQ== X-Gm-Message-State: AJcUukfa92AS+JRzB9F5IlYSJ6a0fmOE5zNYcZzt6JevDYqJz6kEPyNd ZfIAIoxbrsu692RGedXRaV0= X-Google-Smtp-Source: ALg8bN5Zpor5Ok+IQ7zPygWdFm+N3SmLBhhVdGnHAX9TWo018dTNm6YcA4RAJOIQWcVUAWDSIFrUYA== X-Received: by 2002:a1c:8d12:: with SMTP id p18mr451319wmd.31.1546585001981; Thu, 03 Jan 2019 22:56:41 -0800 (PST) Received: from [88.208.79.100] (halouny.humusoft.cz. [88.208.79.100]) by smtp.gmail.com with ESMTPSA id t76sm339763wme.33.2019.01.03.22.56.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Jan 2019 22:56:41 -0800 (PST) From: Michal Meloun X-Google-Original-From: Michal Meloun Reply-To: mmel@freebsd.org Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) To: Dennis Clarke , freebsd-arm@freebsd.org, FreeBSD Current , Mark Millard References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> Openpgp: preference=signencrypt Autocrypt: addr=mmel@freebsd.org; prefer-encrypt=mutual; keydata= mQENBFYuVRkBCADZiwLCCne3wG9b9k+R2Neo5zVo2bLaZRfNNY/v9kg283i0sb1Da4EdEiNT 15El5UyozhphUIbIR/zrVpxF1TvvFdoCyzx6a68bNY2d9dBrDcNDZC+XnyDdHQoobN87DWT1 mRVkmbg9LHZ/SVUOkGYuWyE+8UYeDAcUizuXwSK5zFWmeTyIoWNa68ifrWLfQe0p4x5jC/AI VURCi17p360vU4fhgwoMvEEhrRBWCr4DYHToFjIt2WdBy3GR1qoO0+Xkd6G+OoBULo+XDfgu L2WdPvh0K69F9/LgHkMmG5Il7SCe62QGpG2vaCgRV7BQhLX+kxlvM+WrdRatWRml4Y/3ABEB AAG0IE1pY2hhbCBNZWxvdW4gPG1tZWxAZnJlZWJzZC5vcmc+iQFABBMBCgAqAhsDBQsJCAcD BRUKCQgLBRYDAgEAAh4BAheAAhkBBQJZjBHDBQkHICOqAAoJEGkesmtexaqqIKMIAJ9xTp1w ge86ns2ZYOac5++mAgpFatohSlxYUR3gwud3Y3Ej0eumavpv/C26N6dsLnspwRenKdLbIPKe 0N8lI7CcDBIJGiFyY3c4H79QjIkYpRgbWFyCM85zEyVJpB+U7BhsgXE2uwVjE9RNhEP0KBoj sp357uqq1B1+VUO4GJ+RjdmYSOcNrjR8tTfy02456qovGjJ4JcJBlhyK6GzBKvnZSoA0s+QP OMn3gd8gdomMLEJdS3kTsfhLh2rQPZa9EmzafIyjXrirWq4+4fVFgd8SiMZyyTM+Kz30ZSUe 6SmfaQTQ/WLRIl5jku2uYQWlrRIKT9xaQzRWtZO9UgtXFRG5AQ0EVi5VGQEIALqgRkfS21D/ OqWE9mXfh2bIjrp9uC8T0MCuimbsrAdLKNNorGu2nE+rebgX8n5nYM377HOnalPGyOuXvCbQ 8MFVRdWOHxenJjXJialNdBsOf2wLva3vSSVsdoPzibWDIcJqhBOQ3EuhsILyWSPvYYKEiy95 mfhrDtuTTOAYVR9aNQBOENztB2TDJyMx/qZmtGroGV3N0Hqde/znHPtQO8RG5/FQGMfHMI5G FMuycr1ceHnLo/ovrqAl4TYV+UHSHJ+FDE9dt9wXHclWbWbC0yNugchZq6rho5Jjfv4a2v7P pyn3HoDinh1lWP7hYA0ZNExGHekLnXWVqO/lzGS6bMEAEQEAAYkBJQQYAQoADwIbDAUCWYwR wwUJByAjqgAKCRBpHrJrXsWqqrsrB/4g4ESK5TLxUxi8pLWcLPyvwtN4Fmf7VsCVefkhakaG rDPmfvfnG+OFwN60Xqoni7GBeakl01xwT4RINfvVfShDy6cHpLS7QL/M8pzfulVX38MkVkOD yGZhwjE+jyT/kZNA1Olaw3N3IefHq3brskQ7G4d9oPep2DDbw7C4Q76uOBjxy34JVB0WOsB6 NyMQB9h6LGljQtdEddyUqwnRZzzHiGvp0hPtdYQHQZlqbj4FV9lTRK7a8Ega+y7MgmeMiztG zeXyjNP02r3PRHCPagwa57bPxH2aAh4Q7UzBBZ0GTMm7DLKNtCP58WDxblrrhZ+7kHqGK8Fs bdeUpDdEYLVd Message-ID: Date: Fri, 4 Jan 2019 07:56:42 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 3729383EC0 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=EqaVeZ+M; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of melounmichal@gmail.com designates 2a00:1450:4864:20::344 as permitted sender) smtp.mailfrom=melounmichal@gmail.com X-Spamd-Result: default: False [-4.18 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[mmel@freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.69)[-0.692,0]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(-0.48)[ip: (1.21), ipnet: 2a00:1450::/32(-1.87), asn: 15169(-1.65), country: US(-0.08)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_NEQ_FROM_DOM(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[4.4.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 06:56:44 -0000 On 29.12.2018 18:47, Dennis Clarke wrote: > On 12/28/18 9:56 PM, Mark Millard via freebsd-arm wrote: >> >> On 2018-Dec-28, at 12:12, Mark Millard wrote: >> >>> On 2018-Dec-28, at 05:13, Michal Meloun >>> wrote: >>> >>>> Mark, >>>> this is known problem with qemu-user-static. >>>> Emulation of every single interruptible syscall is broken by design (it >>>> have signal related races). Theses races cannot be solved without major >>>> rewrite of syscall emulation code. >>>> Unfortunately, nobody actively works on this, I think. >>>> > > Following along here quietly and I had to blink at this a few times. > Is there a bug report somewhere within the qemu world related to this >  'broken by design' qemu feature? Firstly, I apologize for late answer. Writing a technically accurate but still comprehensible report is extremely difficult for me. Major design issue with qemu-user is the fact that guest (blocking / interruptible) syscalls must be emulated atomically, including delivering of asynchronous signals (including signals originated by other thread). This is something that cannot be emulated precisely by user mode program, without specific kernel support. Let me explain this in a little more details. Assume that we have following trivial code: void sig_alarm_handler(…) { if (!done) { do some work; alarm(10); } } void foo(void) { install_signal_handler(SIGALARM, sig_alarm_handler); alarm(10); do some work; while (true) { rv = select(…, NULL); if (rv == 0) do some work; else if (rv != EINTR) Report error end exit; } } In native environment, this code works well. It calls alarm signal handler every 10s, irrespective if signal is fired in the program code or in libc implementation of select() or if program is waiting in kernel part of select() syscall. In qemu-user environment, things get significantly harder. Qemu can deliver signals to guest only on instruction boundary, the guest signal handler should see emulated CPU context in consistent state. But kernel can deliver signal to qemu in any time. Due to this, qemu must store delivered signals into queue and emit these later, when emulator steps over next instruction boundary. Assume that qemu just emulates 'syscall' instruction from guest select() call. Also assume that no other signals (but SIGALARM) are generated, and socket used in select() never received or transmits any data. The first version of qemu-user code emulating select() was: abi_long do_freebsd_select(..) { convert input guest arguments to host; rv = select(…); convert output host arguments to guest; return(rv); } But this is very racy. If alarm signal is fired before select(…) enters kernel, qemu queues it (but does not deliver it to guest because it isn't on instruction boundary) and continues in emulation. And because (in our case) select() waits indefinitely, alarm signal is never delivered to guest and whole program hangs. Actual qemu code emulating select() looks like: abi_long do_freebsd_select(..) { convert input guest arguments to host; sigfillset(&mask); sigprocmask(SIG_BLOCK, &mask, &omask); if (ts->signal_pending) { sigprocmask(SIG_SETMASK, &omask, NULL); /* We have a signal pending so just poll select() and return. */ tv2.tv_sec = tv2.tv_usec = 0; ret = select(…, , &tv2)); if (ret == 0) ret = TARGET_EINTR; } else { ret = pselect(…, &omask)); sigprocmask(SIG_SETMASK, &omask, NULL); } convert output host arguments to guest; return(rv); } This look a much better. The code blocks all signals first, then checks if any signal is pending. If yes, then does not-blocking select() (because timeout is zero) and correctly returns EINTR immediately. Otherwise, it uses other variant of select(), pselect() which adjusts right signal mask itself. That's mean that syscall is called with blocked signal delivery, but kernel adjusts right sigmask before it waits for event. While this looks like perfect solution and this code closes all races from first version, then it doesn't. pselect() uses different semantic that select(), it doesn't update timeout argument. So this solution is also inappropriate. Moreover, I think, we don't have p equivalents for all blocking syscalls. Mark, I hope that this is also the answer to your question posted to hackers@ and also the exploitation why you see hang. Linux uses different approach to overcome this issue, safe_syscall -> https://gitlab.collabora.com/tomeu/qemu/commit/4d330cee37a21aabfc619a1948953559e66951a4 It looks like workable workaround, but I'm not sure about ERESTART versus EINTR return values. Imho, this can be problem. I have list of other qemu-user problems (I mean mainly a bsd-user part of qemu code here), not counting normal coding bugs: - code is not thread safety but is used in threaded environment (rw locks for example), - emulate some sysctl's and resource limits / usage behavior is very hard (mainly if we emulate 32-bits guest on 64-bits host) - if host syscall returns ERESTART, we should do full unroll and pass it to guest. - the syscalls emulation should not use the libc functions, but syscall instruction directly. Libc shims can have side effects so we should not to execute it twice. Once in guest, second time in host. - and last major one. At this time, all guest structures are maintained by hand. Due to huge amount of these structures, this is the extreme error prone approach. We should convert this to script generated code, including guest syscalls definition. Again, my apology for slightly (or much) chaotic report, but this is the best what's I capable. Michal From owner-freebsd-current@freebsd.org Fri Jan 4 07:36:14 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8A118141EFB9 for ; Fri, 4 Jan 2019 07:36:14 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0B29D84FE7; Fri, 4 Jan 2019 07:36:13 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [82.113.121.248] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gfK1Z-0005rT-U6; Fri, 04 Jan 2019 08:36:10 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x047a8M7002738 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 4 Jan 2019 08:36:08 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x047a8Rp002737; Fri, 4 Jan 2019 08:36:08 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 4 Jan 2019 08:36:08 +0100 From: Matthias Apitz To: Dimitry Andric Cc: FreeBSD Current , Ed Maste Subject: Re: uname -a output without svn revision number Message-ID: <20190104073608.GA2604@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: Dimitry Andric , FreeBSD Current , Ed Maste References: <20190104055218.GA3408@c720-r342378> <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="UlVJffcvxoiEqYs2" Content-Disposition: inline In-Reply-To: <49D022CD-CBC4-47A9-91F7-27C48A707338@FreeBSD.org> X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.248 X-Rspamd-Queue-Id: 0B29D84FE7 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.982,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 07:36:14 -0000 --UlVJffcvxoiEqYs2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa viernes, enero 04, 2019 a las 07:52:40a. m. +0100, Dimitry Andr= ic escribi=C3=B3: > On 4 Jan 2019, at 06:52, Matthias Apitz wrote: > >=20 > > I've compiled CURRENT from svn and this gave me as 'uname -a' output: > >=20 > > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT r342378 GENERIC = amd64 > >=20 > > Now I've had do modify a source file (to nail down some problem) and the > > revision number went away from the output; it now says: > >=20 > > FreeBSD c720-r342378 13.0-CURRENT FreeBSD 13.0-CURRENT GENERIC amd64 > >=20 > > Why is this? I've read in UPDATING that: > >=20 > > ... > >=20 > > But this does not explain why now the SVN revision number went away. >=20 > For me, it doesn't go away, but shows an "M" suffix, instead. In > /usr/obj/usr/src/sys/GENERIC/vers.c it shows: >=20 > #define VERSTR "FreeBSD 13.0-CURRENT r342593M \n" >=20 > What is the output of sh /usr/src/sys/conf/newvers.sh for you? $ ls -l /usr/obj/usr/src/amd64.amd64/sys/GENERIC/vers.c -rw-r--r-- 1 root wheel 1919 3 ene. 11:59 /usr/obj/usr/src/amd64.amd64= /sys/GENERIC/vers.c $ tail -12 /usr/obj/usr/src/amd64.amd64/sys/GENERIC/vers.c #define SCCSSTR "@(#)FreeBSD 13.0-CURRENT GENERIC" #define VERSTR "FreeBSD 13.0-CURRENT GENERIC\n" #define RELSTR "13.0-CURRENT" char sccs[sizeof(SCCSSTR) > 128 ? sizeof(SCCSSTR) : 128] =3D SCCSSTR; char version[sizeof(VERSTR) > 256 ? sizeof(VERSTR) : 256] =3D VERSTR; char compiler_version[] =3D "FreeBSD clang version 7.0.1 (tags/RELEASE_701/= final 349250) (based on LLVM 7.0.1)"; char ostype[] =3D "FreeBSD"; char osrelease[sizeof(RELSTR) > 32 ? sizeof(RELSTR) : 32] =3D RELSTR; int osreldate =3D 1300005; char kern_ident[] =3D "GENERIC"; $ sh /usr/src/sys/conf/newvers.sh I did around 11:50 am (i.e. the mod time of vers.c matches) a 'make buildke= rnel NO_CLEAN=3Dyes' matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --UlVJffcvxoiEqYs2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlwvDOUACgkQR8z35Hb+ nRGF+Q//aNerpx3/oqgJ3RRRxXYjFTicol+JU9d4TZztPVRwikHbmNUhmCQ/8160 jvKYN06UmlOwwqXYSow3p7bzlJXKvV6aQY+/v0xcV0tCzpXDjFHYk2Lrpb1F2kXQ N8higD4OtNvPwbdpcV0tZIl6YGJfzKYJM4Jf81GiW7OsHzr5KTkg/DL0+WSlF7MV kbJyxRBy2qfULS3CR8KAxfWNe+lrJHtEpg6v3KwPxoLN5a4nJHvtJSN1dIo9r3Zg Ow/RFHgFrqBQI9BiBCljpdi/AQwRtz6KbOZt+KQOAb8QaSqUgI1z8WEincaDlFGn Ysmt/Q5Zp9spr2FFMF0sWO9uyyxlMLLF7VUqVPKoqDB9CfWZbeZhW0Kf1hnDlaX8 mlGMYukQyyOms6U/ti40EAZGQanheK3xlfgZgLmRC9gZYbOUpT07RYn8JQJcxxRA I5SpMbS/6KNJypnuhZn7l7CrN4F/BNHyLUZhzYhD5FDV6KfY6AQPkSSYrlZ7mzOe TZCGRChbumzwi5Qc3nM7Dly0TrHDHfXvYJ1cTI24l+REH947kmZzlEixBwwA6SDE YuQ5NWPSqLMP+97f0kSapYwDu8cZGDCME1qAvvkBdsR4V7cQzVKnsnohouYPax6r VleTqsjZO4u0k9miaa8GU3QWJyEYTN4zhbLinYzhcEQu4z6Lfso= =kyTE -----END PGP SIGNATURE----- --UlVJffcvxoiEqYs2-- From owner-freebsd-current@freebsd.org Fri Jan 4 09:18:06 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6D1431422630 for ; Fri, 4 Jan 2019 09:18:06 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic317-29.consmr.mail.bf2.yahoo.com (sonic317-29.consmr.mail.bf2.yahoo.com [74.6.129.84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7E85587DA7 for ; Fri, 4 Jan 2019 09:18:05 +0000 (UTC) (envelope-from marklmi@yahoo.com) X-YMail-OSG: _omNhBkVM1nZlTPAtL0PP1wCtfNJzm.2ufgw0cCLxwF8784wVfEjWFNhkuXFUbA eNjtNjZbC8eIadw6j50TFf_MSrs2dEKSOUBbBCkcvP.5cYzsxF3EWEvjvB3yn1xmBDkbTxebZ7Fx gRab.4LLSC_G8WV1jP9Zt_3zEQ56VjDeF6H1Zs2ZsEl7QwFCAKpX1psS8Y1eZZuAA1x.MiAmCybu oLKlhouxv8ctmMW8bQ_2tluYjOWJF2SOyvGgBQdfG1ciuxWKoOYIRuu9MbYJw.5xrB3DhjiBydIu pYpqvqvso1jakGrwMzpu1Q8gBwR71YE6FvLdsoM32tz8rxtUXRoHcQxhQM2FNc5LNj8iMLn40MIn pA0g11N6FNZZO8Rg45CgrJXZkJLRP_6lmcwXIDFLT7zRQdUJv4w65FZw.bkGLskfFY14LCPNOwyw Vn_sAcjAmmFk9tGkQ5.nTLWSG3TdaW1I3ymKsPjvYAMOsuPoSAGHnMGPTiVJnc4sS0ehGQEhU1mI DAqCQ94Q_c6B.5ap3aEMfgs0J.bWCEEdOcl8FsMr.TRkFrlQfKs5qlkdxj2d73HJq5nZhn5z.GT8 LEB2uklKvTbpjIlaviS_Up0STQYzDI._OYUQTOD3qfZpPXrnhwCwTdrdbpeyfHq8JrKbYdQziYv5 XqvezLfIVtEGmIMcSj.UenBONSd5E0K45wgh9h1CREoQRE_U9nWQrvpe2tUmNnP6okK_daprZDhh JDccCAnYIoFd0qpJ1oMUgmxoSd2nQuQKTRXO47pDWYBe3JQPgWOCMJlbUFRe7djpWsDx2i.ntlHL .CBlgvoUmvuZCFG8ppPyRfzs7Jv41b7tnzG.qewGhClzy0_0XYgzGRxcJWn9lDT_BYA.k9Osgve5 uEVOtBTlEGolpwmOd3EW0f17G9sGg_qWLDGvCRfifPAt8rFbCuU.MY1xtDobMO.bolvEGFHwRWg9 huxeaSwseG.6z_ekwZsFI9E4CN4mfocAkDFNwCPVAO1_5Wz3O8ogVYFJFVj4_6IHrmzWFnsZLxqI Ddi4ImIjZ3Ojt9P6WAHazjc8VboV9iH5zwL9IwpoSedlA5MORMuqs65txxjjI57p1reVtzr4n Received: from sonic.gate.mail.ne1.yahoo.com by sonic317.consmr.mail.bf2.yahoo.com with HTTP; Fri, 4 Jan 2019 09:17:59 +0000 Received: from c-67-170-167-181.hsd1.or.comcast.net (EHLO [192.168.1.109]) ([67.170.167.181]) by smtp428.mail.bf1.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID c4e54658c1a98d8dd65b4cbbaccdfeaa; Fri, 04 Jan 2019 09:17:55 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) From: Mark Millard In-Reply-To: Date: Fri, 4 Jan 2019 01:17:52 -0800 Cc: Dennis Clarke , freebsd-arm@freebsd.org, FreeBSD Current Content-Transfer-Encoding: 7bit Message-Id: References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> To: mmel@freebsd.org X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: 7E85587DA7 X-Spamd-Bar: ++ X-Spamd-Result: default: False [2.40 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ptr:yahoo.com]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[yahoo.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[yahoo.com:+]; MX_GOOD(-0.01)[cached: mta6.am0.yahoodns.net]; DMARC_POLICY_ALLOW(-0.50)[yahoo.com,reject]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[yahoo.com]; ASN(0.00)[asn:26101, ipnet:74.6.128.0/21, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[yahoo.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[yahoo.com:s=s2048]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_SPAM_SHORT(0.94)[0.940,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(1.38)[ip: (4.30), ipnet: 74.6.128.0/21(1.48), asn: 26101(1.18), country: US(-0.08)]; NEURAL_SPAM_MEDIUM(0.37)[0.373,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.22)[0.221,0]; RCVD_IN_DNSWL_NONE(0.00)[84.129.6.74.list.dnswl.org : 127.0.5.0]; RWL_MAILSPIKE_POSSIBLE(0.00)[84.129.6.74.rep.mailspike.net : 127.0.0.17] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 09:18:06 -0000 On 2019-Jan-3, at 22:56, Michal Meloun wrote: > On 29.12.2018 18:47, Dennis Clarke wrote: >> On 12/28/18 9:56 PM, Mark Millard via freebsd-arm wrote: >>> >>> On 2018-Dec-28, at 12:12, Mark Millard wrote: >>> >>>> On 2018-Dec-28, at 05:13, Michal Meloun >>>> wrote: >>>> >>>>> Mark, >>>>> this is known problem with qemu-user-static. >>>>> Emulation of every single interruptible syscall is broken by design (it >>>>> have signal related races). Theses races cannot be solved without major >>>>> rewrite of syscall emulation code. >>>>> Unfortunately, nobody actively works on this, I think. >>>>> >> >> Following along here quietly and I had to blink at this a few times. >> Is there a bug report somewhere within the qemu world related to this >> 'broken by design' qemu feature? > > Firstly, I apologize for late answer. Writing a technically accurate but > still comprehensible report is extremely difficult for me. Thanks for doing so. > . . . > Mark, I hope that this is also the answer to your question posted to > hackers@ and also the exploitation why you see hang. Again thanks: it was helpful for my gaining some understanding of the code structure. But it turns out that another of your list of problems is involved in the hang-up: > . . . > - and last major one. At this time, all guest structures are maintained > by hand. Due to huge amount of these structures, this is the extreme > error prone approach. We should convert this to script generated code, > including guest syscalls definition. It turns out that "struct target_cmsghdr" has the wrong overall size, the wrong first field size, and the wrong offsets for later fields for amd64->aarch64 use (or likely any 64-bit->64-bit host-target pair, even amd64->x86_64). In fact the code reports via: gemu_log("Unsupported ancillary data: %d/%d\n", cmsg->cmsg_level, cmsg->cmsg_type); because of msg->cmsg_level and cmsg->cmsg_type ending up with messed up values. It hangs after that message shows up. The more complete code containing that qemu_log call is: if ((cmsg->cmsg_level == TARGET_SOL_SOCKET) && (cmsg->cmsg_type == SCM_RIGHTS)) { int *fd = (int *)data; int *target_fd = (int *)target_data; int i, numfds = len / sizeof(int); for (i = 0; i < numfds; i++) { fd[i] = tswap32(target_fd[i]); } } else if ((cmsg->cmsg_level == TARGET_SOL_SOCKET) && (cmsg->cmsg_type == SCM_TIMESTAMP) && (len == sizeof(struct timeval))) { /* copy struct timeval to host */ struct timeval *tv = (struct timeval *)data; struct target_freebsd_timeval *target_tv = (struct target_freebsd_timeval *)target_data; __get_user(tv->tv_sec, &target_tv->tv_sec); __get_user(tv->tv_usec, &target_tv->tv_usec); } else { gemu_log("Unsupported ancillary data: %d/%d\n", cmsg->cmsg_level, cmsg->cmsg_type); memcpy(data, target_data, len); } Of 3 types of hangups that I've run into recently, one was from a missing statement, one was from struct target_kevent having the wrong overall size and wrong field offsets after the first field (amd64->armv7 was an example), and the one involving struct target_cmsghdr above. (There may be more to the target_cmsghdr one.) > Again, my apology for slightly (or much) chaotic report, but this is the > best what's I capable. Not chaotic in my view. === Mark Millard marklmi at yahoo.com ( dsl-only.net went away in early 2018-Mar) From owner-freebsd-current@freebsd.org Fri Jan 4 09:52:29 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4F1A7142356B for ; Fri, 4 Jan 2019 09:52:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id DBDB688F31 for ; Fri, 4 Jan 2019 09:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9FDC21423568; Fri, 4 Jan 2019 09:52:28 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E58B1423566 for ; Fri, 4 Jan 2019 09:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CBFB88F26 for ; Fri, 4 Jan 2019 09:52:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 80CB6BDFA for ; Fri, 4 Jan 2019 09:52:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id x049qRFq040452 for ; Fri, 4 Jan 2019 09:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id x049qROB040450 for current@FreeBSD.org; Fri, 4 Jan 2019 09:52:27 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: current@FreeBSD.org Subject: [Bug 227191] Cannot check battery status after upgrading to 12-CURRENT after r330957 (ACPI _STA method removed) Date: Fri, 04 Jan 2019 09:52:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: patch, regression X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: avg@FreeBSD.org X-Bugzilla-Flags: mfc-stable12+ X-Bugzilla-Changed-Fields: flagtypes.name keywords Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 04 Jan 2019 11:36:51 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 09:52:29 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D227191 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|mfc-stable12? |mfc-stable12+ Keywords|needs-qa | --=20 You are receiving this mail because: You are on the CC list for the bug.= From owner-freebsd-current@freebsd.org Fri Jan 4 13:42:18 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9B131142BA7C for ; Fri, 4 Jan 2019 13:42:18 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B0BAC68675 for ; Fri, 4 Jan 2019 13:42:15 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p2E52C0CB.dip0.t-ipconnect.de [46.82.192.203]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id x04Dfxdj002421 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 4 Jan 2019 13:42:06 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id x04DftSw095767 for ; Fri, 4 Jan 2019 14:41:55 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id x04DfhN6052028 for ; Fri, 4 Jan 2019 14:41:55 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201901041341.x04DfhN6052028@fire.js.berklix.net> To: FreeBSD Current Subject: Re: uname -a output without svn revision number From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Aachen Kent User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Fri, 04 Jan 2019 08:36:08 +0100." <20190104073608.GA2604@c720-r342378> Date: Fri, 04 Jan 2019 14:41:43 +0100 X-Rspamd-Queue-Id: B0BAC68675 X-Spamd-Bar: + Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [1.13 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[berklix.com]; AUTH_NA(1.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.08)[ipnet: 144.76.0.0/16(2.82), asn: 24940(-2.41), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[land.berklix.com,slim.berklix.com]; NEURAL_SPAM_LONG(0.21)[0.205,0]; NEURAL_HAM_SHORT(-0.25)[-0.255,0]; NEURAL_SPAM_MEDIUM(0.21)[0.209,0]; R_SPF_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[203.192.82.46.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:144.76.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 13:42:18 -0000 Matthias Apitz wrote: > $ sh /usr/src/sys/conf/newvers.sh Me too. Mine also returns nothing. Ditto uname. Ditto dmesg. Annoying. /usr/src/.svn_revision 342578 probably what I used to install / from, but how to tell now its been excised ? Good you reported it. (I'd assumed it was local breakage waiting my time to trace & fix). Yet another annoying half baked commit, wasting time. Cheers, Julian -- Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich Aachen Kent First referendum stole 700,000 votes from Brits in EU; 3,700,000 globaly. Lies criminal funded; jobs pound & markets down. 1.9M new voters 1.3M dead. Email MP: "A new referendum will buy UK & EU more time (Art 50.3), to avoid a hard crash, & consider all options." http://berklix.org/brexit/#mp From owner-freebsd-current@freebsd.org Fri Jan 4 14:24:49 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8C467142CE5B for ; Fri, 4 Jan 2019 14:24:49 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1FE7E6B0FF for ; Fri, 4 Jan 2019 14:24:48 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wr1-x42b.google.com with SMTP id s12so36713020wrt.4 for ; Fri, 04 Jan 2019 06:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=p5OfYht5qPJnvDGi1zcmYsCs73cdCbXu5ez71pZnrJ0=; b=X8keDlqskVBIIK6a/mIyJ7LYe7h/3r62gBfEspJA3cY9FopAXzNwIEL10j7OjfydC7 oefQoF/gHECPtPYneh3F6cSCIyW0KBEGlJD1QT6aXmAYV0y9dteiZwSyJDFSsgcJi2Dv Mv7Fx6agHtvRY9OqJZJYwKp5f63u5u4KOAV0QGsoBODeuMqNYmFD6SoDv/gXzOwSImOH H94Wo2IFRyPL8fhudc/3ckZ2Abxoz1WxF5Tm2NFCL27bpuVOT4HEcd/iPrR4ZFzjAEg4 vy1u1nsuUc6Sj3Qc7U/G/ivg5dEDK1+UyijUqW1NrcwHIRUJXBVDigHBLzj0InOb8Zbt ujgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=p5OfYht5qPJnvDGi1zcmYsCs73cdCbXu5ez71pZnrJ0=; b=Ba7MVZCelwM5GLViqT1pKiKeF+o+4x9PNN9hn/kWVKIvXsRLdatjLn/YHZ5JOk1u5t Q+huFKbm8wly/Oleii3sndBUHnYMPwkFf9heh8k5V7NR2W0kNX5AN7/vP2q3jEzT+Iv1 R+X86eFeNW7oEFIbc1t+b29ovSVj6tLJGCGqKe8eKYexWVXhV8mhoSOb93ueyk1oO7D0 Wsx1HWUndkQZ+MQRBNAzRltn0EsbpdL/9qLUmHy68Xg6JEpyuzx30p/9ofGKcIRXY5OU 9liG7F0J+/6llMcdyZ1TUvtGFF7VjKDNzrOmrhtPvCsbZp8tLdat7uvUXPNPk+EdWtxW uskw== X-Gm-Message-State: AJcUukdE4N9Ze78UafG0CAgpXUAjlVmybutBdWV5c2Ud+kYlpemh9Rl3 zdlh2RGFF7TmFmbjSsjJOgQiNtrU X-Google-Smtp-Source: ALg8bN7k1bxcpokEOs1RgerNbMn+AKYwtzbvM2mid66BRoRZKrnqiJ0nRHCftepEI4s94ZMB5/d0eA== X-Received: by 2002:adf:9467:: with SMTP id 94mr43904260wrq.305.1546611886897; Fri, 04 Jan 2019 06:24:46 -0800 (PST) Received: from ernst.home (p5B02380D.dip0.t-ipconnect.de. [91.2.56.13]) by smtp.gmail.com with ESMTPSA id t4sm51264137wrm.6.2019.01.04.06.24.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 06:24:45 -0800 (PST) Date: Fri, 4 Jan 2019 15:24:42 +0100 From: Gary Jennejohn To: "Julian H. Stacey" Cc: FreeBSD Current Subject: Re: uname -a output without svn revision number Message-ID: <20190104152442.2317b941@ernst.home> In-Reply-To: <201901041341.x04DfhN6052028@fire.js.berklix.net> References: <20190104073608.GA2604@c720-r342378> <201901041341.x04DfhN6052028@fire.js.berklix.net> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 1FE7E6B0FF X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=X8keDlqs; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::42b as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-6.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; FREEMAIL_REPLYTO(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.62)[ip: (-9.49), ipnet: 2a00:1450::/32(-1.88), asn: 15169(-1.66), country: US(-0.08)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 14:24:49 -0000 On Fri, 04 Jan 2019 14:41:43 +0100 "Julian H. Stacey" wrote: > Matthias Apitz wrote: > > $ sh /usr/src/sys/conf/newvers.sh > > Me too. Mine also returns nothing. Ditto uname. Ditto dmesg. Annoying. > > /usr/src/.svn_revision 342578 probably what I used to install / from, > but how to tell now its been excised ? > > Good you reported it. (I'd assumed it was local breakage waiting my time to > trace & fix). Yet another annoying half baked commit, wasting time. > Strange. I just made a HEAD kernel from an up-to-date /usr/src and vers.c shows: #define VERSTR "FreeBSD 13.0-CURRENT #1 r342759M: Fri Jan 4 15:17:07 CET 2019\n garyj@ernst.home:/usr/obj/usr/src/amd64.amd64/sys/ernst\n" The 'M' appears because I use a modified /sys/conf/files to prevent including the for me useless iflib stuff. -- Gary Jennejohn From owner-freebsd-current@freebsd.org Fri Jan 4 14:33:54 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5E4C1142D480 for ; Fri, 4 Jan 2019 14:33:54 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: from mail-wm1-x332.google.com (mail-wm1-x332.google.com [IPv6:2a00:1450:4864:20::332]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5A4126B71E for ; Fri, 4 Jan 2019 14:33:53 +0000 (UTC) (envelope-from gljennjohn@gmail.com) Received: by mail-wm1-x332.google.com with SMTP id r24so1220331wmh.0 for ; Fri, 04 Jan 2019 06:33:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-transfer-encoding; bh=6iovB5LgNzol0y5P+mwl/xmxfApS0shG3UvSXAICEgw=; b=hBFdR4X41WeNkl2L5VPlBYonaRbkeGnURzSVBhZ+6gEkrWfzb1oYqTuvoKCUJvEyIA aKF4oiQWH6Ll+LUvkyQn6vbKLN5plLKtukXbtU+IZW3MifK7aBl2mBExUMKhkJDhl8GM xej7CM8boaD4Pb23tgHEo1NiYKhwRqAPyz5I+PM0BbJ2d7mp2Zx20f24OqtthG7MLzY+ M0CU9IwnVxe18JzaXLHH5pwPKO+LDI5ML+CG8fl/FtMgmVU//dEbtjOIO055O1nX9vKe m2ViOsTuCIvDOpw8/ExIOFtZUu5rmJyPYXLYX3QwVtDSU+zCCJKECQpatCPvfYDO7hgZ PdWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:reply-to:mime-version:content-transfer-encoding; bh=6iovB5LgNzol0y5P+mwl/xmxfApS0shG3UvSXAICEgw=; b=BHNF0MsEo0YXUkETSLRRdErCpiUxRKiAl4+u9t9EyrzQCtVFcE+shXC3F3JhkQ/U14 p7Eqa0AWLHGtbMg2GPgvFrWecJZYMexbddsEDJi8Rjsb/0FXhv7BWgBycHP4ksZKEec4 2jXP8fW7nGqK1y3L2JC7/b30RmXVmGh7J+dBWTrDdf84kzPxfbDNy3NxlHl9T7UqTTBA KxtR66tr7oHgTST4/V0CyFLVh84RirIphA6vd39ZYi3x3c54186CIKf2D3Rfm53/J7DL kJkerb+eFJW/qm8iUfrHpcu5L7f8KAj20xXZ4Dv/9naBXEtH/brZVBcmJ9qrPwKW70yf dJKQ== X-Gm-Message-State: AJcUukdR2f2k0jXUHYDHRg5T9zKhCtGuVTYZBHRKeVmwQGNXAay14aqk WkldQcyKtxEh6AlomAWgNhuJDxJ8 X-Google-Smtp-Source: ALg8bN6bTXKF1Mtd1jsufipD1uT+H/C2dK9B2XOOiOHmbO8ueQXIbJ8tpk6QzRYe+O+qQp6JDabFcQ== X-Received: by 2002:a1c:7c3:: with SMTP id 186mr1613938wmh.41.1546612432086; Fri, 04 Jan 2019 06:33:52 -0800 (PST) Received: from ernst.home (p5B02380D.dip0.t-ipconnect.de. [91.2.56.13]) by smtp.gmail.com with ESMTPSA id v19sm65552290wrd.46.2019.01.04.06.33.51 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 06:33:51 -0800 (PST) Date: Fri, 4 Jan 2019 15:33:50 +0100 From: Gary Jennejohn To: "Julian H. Stacey" Cc: FreeBSD Current Subject: Re: uname -a output without svn revision number Message-ID: <20190104153350.6b180e1b@ernst.home> In-Reply-To: <20190104152442.2317b941@ernst.home> References: <20190104073608.GA2604@c720-r342378> <201901041341.x04DfhN6052028@fire.js.berklix.net> <20190104152442.2317b941@ernst.home> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.17.1 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 5A4126B71E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=hBFdR4X4; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of gljennjohn@gmail.com designates 2a00:1450:4864:20::332 as permitted sender) smtp.mailfrom=gljennjohn@gmail.com X-Spamd-Result: default: False [-6.60 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[gljennjohn@gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.97)[-0.973,0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_LAST(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; FREEMAIL_REPLYTO(0.00)[gmail.com]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.3.3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.61)[ip: (-9.45), ipnet: 2a00:1450::/32(-1.88), asn: 15169(-1.66), country: US(-0.08)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 14:33:54 -0000 On Fri, 4 Jan 2019 15:24:42 +0100 Gary Jennejohn wrote: > On Fri, 04 Jan 2019 14:41:43 +0100 > "Julian H. Stacey" wrote: > > > Matthias Apitz wrote: > > > $ sh /usr/src/sys/conf/newvers.sh > > > > Me too. Mine also returns nothing. Ditto uname. Ditto dmesg. Annoying. > > > > /usr/src/.svn_revision 342578 probably what I used to install / from, > > but how to tell now its been excised ? > > > > Good you reported it. (I'd assumed it was local breakage waiting my time to > > trace & fix). Yet another annoying half baked commit, wasting time. > > > > Strange. I just made a HEAD kernel from an up-to-date /usr/src and > vers.c shows: > > #define VERSTR "FreeBSD 13.0-CURRENT #1 r342759M: Fri Jan 4 15:17:07 > CET 2019\n garyj@ernst.home:/usr/obj/usr/src/amd64.amd64/sys/ernst\n" > > The 'M' appears because I use a modified /sys/conf/files to prevent > including the for me useless iflib stuff. > Run ``sh -x /usr/src/sys/conf/newvers.sh'' and you'll see the correct output. -- Gary Jennejohn From owner-freebsd-current@freebsd.org Fri Jan 4 14:36:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 718EC142D5CA for ; Fri, 4 Jan 2019 14:36:00 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f182.google.com (mail-it1-f182.google.com [209.85.166.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A592A6B8C0 for ; Fri, 4 Jan 2019 14:35:59 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f182.google.com with SMTP id b5so1729404iti.2 for ; Fri, 04 Jan 2019 06:35:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=wfYWOi4zUjouTHY9v2yk4SYKouFDoYyvT5jsLWnS4gI=; b=CrtKaF/rE2XSxVvA6H39HGm1IYcCJZ89edd6RrS5efMDpfNbpXK2O5BTSt13qyuC1z pUwqfT8NgCqVx4Jmvda6WBWTqortD2dhQA8JBcMOUGy742GgkdDLFWZrPTsRqFZHuGmq Z1imWTKMOgY4rYYbhBrUFVCXCLBhA7TF5OXI/kh/IlhckmfgRXN91JIuGm6w2FQMhKYv iT+1uI/Bw9iZQQFTCnnhk8kCE8cREi/lLzAQ4ToqzivrRxDkLYRK83iTXUxVulgyv5kX DOYp3D1RoMA2bL8CSeBmEdfK68wbiPULBK8YSPO6CdlVgsxhJ/uZHvW8W6iqnTO6/zGu gfmw== X-Gm-Message-State: AA+aEWZTbd9HdXgh5ek5xvLYHuXrhDctv1DO+p0q16Vzgmz6PKC/dkSr mO7pjLfnD1X05ldBQnFWIbS/3oR8OTO/l3wmypw= X-Google-Smtp-Source: AFSGD/WFOCQk2RrobTSh9LTFKULMjrFAAlGK98ktc5Og5/t02V1gcDV8uQl7r89bQHz4inzy3Ob1+438I9mX1vwhtWk= X-Received: by 2002:a02:708e:: with SMTP id f136mr34568524jac.118.1546612218193; Fri, 04 Jan 2019 06:30:18 -0800 (PST) MIME-Version: 1.0 References: <20190104055218.GA3408@c720-r342378> In-Reply-To: <20190104055218.GA3408@c720-r342378> From: Ed Maste Date: Fri, 4 Jan 2019 09:30:05 -0500 Message-ID: Subject: Re: uname -a output without svn revision number To: Matthias Apitz , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: A592A6B8C0 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.182 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-5.82 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[182.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.92)[-0.915,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; IP_SCORE(-2.90)[ip: (-9.01), ipnet: 209.85.128.0/17(-3.76), asn: 15169(-1.66), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 14:36:00 -0000 On Fri, 4 Jan 2019 at 00:53, Matthias Apitz wrote: > > Why is this? I've read in UPDATING that: > > ... > 20180913: > Reproducible build mode is now on by default, in preparation for > FreeBSD 12.0. This eliminates build metadata such as the user, > ... > > But this does not explain why now the SVN revision number went away. It looks like some aspects of this have been broken since r308789. Do you happen to have a git or hg tree higher up in the directory hierarchy? For example, ~/.git, and ~/src/freebsd/...? I'll have a fix for that case soon. If that's not the case, please run (from the src toplevel dir) sh -x sys/conf/newvers.sh >newvers.log 2>&1 and make the output available (email to me is fine). From owner-freebsd-current@freebsd.org Fri Jan 4 15:01:53 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6946F142E8CD for ; Fri, 4 Jan 2019 15:01:53 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-it1-f170.google.com (mail-it1-f170.google.com [209.85.166.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8178E6CC5B for ; Fri, 4 Jan 2019 15:01:52 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-it1-f170.google.com with SMTP id h193so1815039ita.5 for ; Fri, 04 Jan 2019 07:01:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=x9uASebsWPTWS7PJwLrQOeQi7YZnjh8hUPCCYHrGI98=; b=W70afKiVFVBY9Zx9c8o5x2fch5EEB5bR8pvz5IAbfu50zMXjbv5spLoAIBl37jYRgC 73viOrA295DS5Wjzk3cNTzq6isp0N2X93kuuxVmcfBUxYuRVSs0RjyjrjcghviSDzNoO AX1U2oaPR7ma6iLmnsXn6Hq5O4KeaK5czuk0esZ04lELTgtF0z5zJygyfVSz8Js0joXq /w4mXbvkfX3ziPTfJpasaeodYyCi7wxmTxAwxJuCIqAx/+NhcNpaeGvKgo4zOMx/Rdce 2QdIqRYt4koa6lNLERbv5+z4RerPNYQ9U+udPJ37TquyRnd7iTOZZBSnqk7DTw/S44OT JM9A== X-Gm-Message-State: AJcUukc8s79N69T7uZeb1G59UnNMgaeJZOHJNhER1KH//3mdvFdFWPsY qREbJ165o/QY4K19k8Uxn2mdj64rXCSKKcXk5cAkMg== X-Google-Smtp-Source: ALg8bN6t/no/iNfYaHFyzqPq6NtjtmNri9ZeheYf5EysAHSCRmaP4KRDxAnWi89m8bkfhK9Tu7rimfCK/YJgrXugkxk= X-Received: by 2002:a24:8ac7:: with SMTP id v190mr1037393itd.174.1546611033397; Fri, 04 Jan 2019 06:10:33 -0800 (PST) MIME-Version: 1.0 References: <20190104073608.GA2604@c720-r342378> <201901041341.x04DfhN6052028@fire.js.berklix.net> In-Reply-To: <201901041341.x04DfhN6052028@fire.js.berklix.net> From: Ed Maste Date: Fri, 4 Jan 2019 09:10:20 -0500 Message-ID: Subject: Re: uname -a output without svn revision number To: "Julian H. Stacey" Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 8178E6CC5B X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.170 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.99)[-0.988,0]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.998,0]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; DMARC_NA(0.00)[freebsd.org]; MIME_TRACE(0.00)[0:+]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[170.166.85.209.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_SHORT(-0.91)[-0.905,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_TLS_LAST(0.00)[]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; IP_SCORE(-1.10)[ipnet: 209.85.128.0/17(-3.76), asn: 15169(-1.66), country: US(-0.08)]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 15:01:53 -0000 On Fri, 4 Jan 2019 at 08:42, Julian H. Stacey wrote: > > Matthias Apitz wrote: > > $ sh /usr/src/sys/conf/newvers.sh > > Me too. Mine also returns nothing. Ditto uname. Ditto dmesg. Annoying. Please read the UPDATING entry and the src.conf description for WITHOUT_REPRODUCIBLE_BUILD. You probably want to add it to /etc/src.conf. From owner-freebsd-current@freebsd.org Fri Jan 4 15:35:56 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 321D0142F3D1 for ; Fri, 4 Jan 2019 15:35:56 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5A1E36DE07; Fri, 4 Jan 2019 15:35:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from [88.217.101.39] (helo=localhost.unixarea.de) by ms-10.1blu.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.86_2) (envelope-from ) id 1gfRVo-00018X-PZ; Fri, 04 Jan 2019 16:35:52 +0100 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.unixarea.de (8.15.2/8.14.9) with ESMTPS id x04FZqrh003072 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Fri, 4 Jan 2019 16:35:53 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.15.2/8.14.9/Submit) id x04FZq7F003071; Fri, 4 Jan 2019 16:35:52 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Fri, 4 Jan 2019 16:35:52 +0100 From: Matthias Apitz To: Ed Maste Cc: FreeBSD Current Subject: Re: uname -a output without svn revision number Message-ID: <20190104153552.GB2802@c720-r342378> Reply-To: Matthias Apitz Mail-Followup-To: Ed Maste , FreeBSD Current References: <20190104055218.GA3408@c720-r342378> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Bu8it7iiRSEf40bY" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 13.0-CURRENT r342378 (amd64) X-message-flag: Mails containing HTML will not be read! Please send only plain text. User-Agent: Mutt/1.11.1 (2018-12-01) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 88.217.101.39 X-Rspamd-Queue-Id: 5A1E36DE07 X-Spamd-Bar: ------- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-7.23 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[guru@unixarea.de]; HAS_XOIP(0.00)[]; HAS_XAW(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.unixarea.de]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.97)[-0.968,0]; SIGNED_PGP(-2.00)[]; FROM_EQ_ENVFROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[39.101.217.88.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:42730, ipnet:178.254.0.0/19, country:DE]; RCVD_TLS_LAST(0.00)[]; RCVD_IN_DNSWL_LOW(-0.10)[101.4.254.178.list.dnswl.org : 127.0.5.1]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[unixarea.de]; AUTH_NA(1.00)[]; MIME_TRACE(0.00)[0:+,1:+]; R_SPF_NA(0.00)[]; MID_RHS_NOT_FQDN(0.50)[]; IP_SCORE(-3.45)[ip: (-9.28), ipnet: 178.254.0.0/19(-4.43), asn: 42730(-3.54), country: DE(-0.01)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 15:35:56 -0000 --Bu8it7iiRSEf40bY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable El d=C3=ADa viernes, enero 04, 2019 a las 09:30:05a. m. -0500, Ed Maste esc= ribi=C3=B3: > It looks like some aspects of this have been broken since r308789. Do > you happen to have a git or hg tree higher up in the directory > hierarchy? For example, ~/.git, and ~/src/freebsd/...? I'll have a fix > for that case soon. No, nothing. >=20 > If that's not the case, please run (from the src toplevel dir) >=20 > sh -x sys/conf/newvers.sh >newvers.log 2>&1 I looked into the script sys/conf/newvers.sh and I think I understand now the problem. I compiled /usr/src on some other faster server and moved /usr/src and /usr/obj to my netbook as tar-archive to update kernel and userland there. To save space on the netbook I excluded /usr/src/.svn which is causing now the absence of the revision number. matthias --=20 Matthias Apitz, =E2=9C=89 guru@unixarea.de, http://www.unixarea.de/ +49-176= -38902045 Public GnuPG key: http://www.unixarea.de/key.pub October, 7 -- The GDR was different: Peace instead of Bundeswehr and wars, = Druschba instead of Nazis, to live instead of to survive. --Bu8it7iiRSEf40bY Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXmn7rBYYViyzy/vBR8z35Hb+nREFAlwvfVUACgkQR8z35Hb+ nRExZxAAmqR/kVKJq6eC/bBjztZlgeJC3BTIvl1I/vSl5OWbIeeq+3VzesyXeRmd ZvIG8cAQ/rMz/HmfhsSIxnyE7dxXdjFy3MFGcZMfddAbsZtTnYxU5rOCRZN3pVmk jlhZdb+swtXtF9sqAFrq2J3ZoCFx24qan4C6GNi0xtz3pC8dtv7k48RNUdTJ8cSv x2I0IPKOhtoQLqbFoFJeKCQGghx88cXQkQ+IeOIcOFTx9lCV9/77ldxmOfojIQ/1 iIsr5APYGQByVoc1BDV6Oh0p0O+JYVVgtfnKfYcT86H+d6dRAv7QW4ZEDW1Vx1k6 m5a5SlyaGyrTBc9YxCZwL/tDPP1bKUAMS2xTO2SC8sgI8peMpAFyHi5iZUjrJwJU +4vnObpPhdzVdoRN5uays2FeDUTFYiqkmtK/mIRNCLGVmaj5dbxpcyut84ke9SCT ugaTp85JUTuXng17Js8+ZSmoVMRLThGBqPFBDoOTXq89qyVFAzQOadOrmCSUxpO8 ftrZzYzEKC5uvksUOqeLWyhSQjiCvgtwqjGZTNyTNUsYtrbEDez9TQjDcFIoc4Jg F6ay70pJxyeoaTUReI//oRz5erL2Ow8X5H5/v+mmJUAGegvex4LdxsO+FcnCto7i D2SSXKtUke7YKPkUX1AwjbLuJ72C7zoOSMVENQs05LIbK4u8uo4= =hc9K -----END PGP SIGNATURE----- --Bu8it7iiRSEf40bY-- From owner-freebsd-current@freebsd.org Fri Jan 4 15:42:17 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0755142F5A8 for ; Fri, 4 Jan 2019 15:42:17 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io1-f49.google.com (mail-io1-f49.google.com [209.85.166.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E87386E277; Fri, 4 Jan 2019 15:42:16 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io1-f49.google.com with SMTP id k7so29789794iob.6; Fri, 04 Jan 2019 07:42:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=vBN+jjAa9k9hReag4KxkMpNh9ahjoYG1WlYdaUX7X2o=; b=EsDofhXApZRVo4BmT3lA4XE77pubPeryq3ybok47U1zqUmrKb4NqcCuaN5/NLPz2Zv jShGG0yx7SVUc1XqD0SjOSSHQSqAZIkqLmKMo+IXojgxL+vpjlDGuyPP/bX06r3NuPoS ww7V1VKjCyDS/uz/kgLtAk5QDz7M4NfaRmy9uI8GOTjgpDmUdkWrsFMrscmr6oEpOyH6 MhTes3TMaZg2/3pOrzh5Jhf96oqP8s9DKXq5b+WIoSut5HU0UWgueTUGptB8fWK/wxOo Htkgy4ZOOZa2sqo+H5f8kxBopsokNPKMQB5Erf3Ft9J9Z8fTEgcAKQ8P19i8s5gmJezj mofQ== X-Gm-Message-State: AJcUukfEI7cvQBh/aJEp4qHNEiWGjufNIB1NwCll78hekdH7U7SDvXSt Hx4USMS/fIg9HxA46sNrKj5/XZYvSF79vxezGb84Lg== X-Google-Smtp-Source: ALg8bN7cd1FyTPz0WIoprK1pnMAwmX1wGePi8MolvjmQ5N/Vz3PrwVWG2+Chsdnmf7Z7SAyAzG0rQadNucFkFKku30M= X-Received: by 2002:a5d:878d:: with SMTP id f13mr12085745ion.239.1546616530239; Fri, 04 Jan 2019 07:42:10 -0800 (PST) MIME-Version: 1.0 References: <20190104055218.GA3408@c720-r342378> <20190104153552.GB2802@c720-r342378> In-Reply-To: <20190104153552.GB2802@c720-r342378> From: Ed Maste Date: Fri, 4 Jan 2019 10:41:56 -0500 Message-ID: Subject: Re: uname -a output without svn revision number To: Matthias Apitz , Ed Maste , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: E87386E277 X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of carpeddiem@gmail.com designates 209.85.166.49 as permitted sender) smtp.mailfrom=carpeddiem@gmail.com X-Spamd-Result: default: False [-5.93 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.996,0]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; NEURAL_HAM_LONG(-1.00)[-0.999,0]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.976,0]; RCVD_IN_DNSWL_NONE(0.00)[49.166.85.209.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.95)[ip: (-9.25), ipnet: 209.85.128.0/17(-3.76), asn: 15169(-1.66), country: US(-0.08)]; FORGED_SENDER(0.30)[emaste@freebsd.org,carpeddiem@gmail.com]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[emaste@freebsd.org,carpeddiem@gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 15:42:17 -0000 On Fri, 4 Jan 2019 at 10:36, Matthias Apitz wrote: > > To save space on the netbook > I excluded /usr/src/.svn which is causing now the absence of the > revision number. Yes, newvers.sh relies on the metadata in .svn to determine the revision number so this is as expected. From owner-freebsd-current@freebsd.org Fri Jan 4 16:59:15 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9EF8A1431B65 for ; Fri, 4 Jan 2019 16:59:15 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 3360B70BE5 for ; Fri, 4 Jan 2019 16:59:15 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: by mailman.ysv.freebsd.org (Postfix) id EAFCB1431B63; Fri, 4 Jan 2019 16:59:14 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C88DA1431B62 for ; Fri, 4 Jan 2019 16:59:14 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from mail.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8A970BE4 for ; Fri, 4 Jan 2019 16:59:14 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from John-Baldwins-MacBook-Pro-3.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id F076210AFD2; Fri, 4 Jan 2019 11:59:12 -0500 (EST) Subject: Re: kernel config question To: Kevin Oberman , Robert Huff Cc: current References: <23597.4315.739853.729163@jerusalem.litteratus.org> <20190102200226.GQ84895@home.opsec.eu> <792fec6e-2dcc-3fba-73d7-31e925cf2a13@FreeBSD.org> <23597.11683.194179.304498@jerusalem.litteratus.org> <162e2013-9181-50cd-a3aa-8231e0a1eb99@FreeBSD.org> <23597.24292.297840.309399@jerusalem.litteratus.org> From: John Baldwin Openpgp: preference=signencrypt Autocrypt: addr=jhb@FreeBSD.org; keydata= mQGiBETQ+XcRBADMFybiq69u+fJRy/0wzqTNS8jFfWaBTs5/OfcV7wWezVmf9sgwn8TW0Dk0 c9MBl0pz+H01dA2ZSGZ5fXlmFIsee1WEzqeJzpiwd/pejPgSzXB9ijbLHZ2/E0jhGBcVy5Yo /Tw5+U/+laeYKu2xb0XPvM0zMNls1ah5OnP9a6Ql6wCgupaoMySb7DXm2LHD1Z9jTsHcAQMD /1jzh2BoHriy/Q2s4KzzjVp/mQO5DSm2z14BvbQRcXU48oAosHA1u3Wrov6LfPY+0U1tG47X 1BGfnQH+rNAaH0livoSBQ0IPI/8WfIW7ub4qV6HYwWKVqkDkqwcpmGNDbz3gfaDht6nsie5Z pcuCcul4M9CW7Md6zzyvktjnbz61BADGDCopfZC4of0Z3Ka0u8Wik6UJOuqShBt1WcFS8ya1 oB4rc4tXfSHyMF63aPUBMxHR5DXeH+EO2edoSwViDMqWk1jTnYza51rbGY+pebLQOVOxAY7k do5Ordl3wklBPMVEPWoZ61SdbcjhHVwaC5zfiskcxj5wwXd2E9qYlBqRg7QeSm9obiBCYWxk d2luIDxqaGJARnJlZUJTRC5vcmc+iGAEExECACAFAkTQ+awCGwMGCwkIBwMCBBUCCAMEFgID AQIeAQIXgAAKCRBy3lIGd+N/BI6RAJ9S97fvbME+3hxzE3JUyUZ6vTewDACdE1stFuSfqMvM jomvZdYxIYyTUpC5Ag0ERND5ghAIAPwsO0B7BL+bz8sLlLoQktGxXwXQfS5cInvL17Dsgnr3 1AKa94j9EnXQyPEj7u0d+LmEe6CGEGDh1OcGFTMVrof2ZzkSy4+FkZwMKJpTiqeaShMh+Goj XlwIMDxyADYvBIg3eN5YdFKaPQpfgSqhT+7El7w+wSZZD8pPQuLAnie5iz9C8iKy4/cMSOrH YUK/tO+Nhw8Jjlw94Ik0T80iEhI2t+XBVjwdfjbq3HrJ0ehqdBwukyeJRYKmbn298KOFQVHO EVbHA4rF/37jzaMadK43FgJ0SAhPPF5l4l89z5oPu0b/+5e2inA3b8J3iGZxywjM+Csq1tqz hltEc7Q+E08AAwUIAL+15XH8bPbjNJdVyg2CMl10JNW2wWg2Q6qdljeaRqeR6zFus7EZTwtX sNzs5bP8y51PSUDJbeiy2RNCNKWFMndM22TZnk3GNG45nQd4OwYK0RZVrikalmJY5Q6m7Z16 4yrZgIXFdKj2t8F+x613/SJW1lIr9/bDp4U9tw0V1g3l2dFtD3p3ZrQ3hpoDtoK70ioIAjjH aIXIAcm3FGZFXy503DOA0KaTWwvOVdYCFLm3zWuSOmrX/GsEc7ovasOWwjPn878qVjbUKWwx Q4QkF4OhUV9zPtf9tDSAZ3x7QSwoKbCoRCZ/xbyTUPyQ1VvNy/mYrBcYlzHodsaqUDjHuW+I SQQYEQIACQUCRND5ggIbDAAKCRBy3lIGd+N/BCO8AJ9j1dWVQWxw/YdTbEyrRKOY8YZNwwCf afMAg8QvmOWnHx3wl8WslCaXaE8= Message-ID: Date: Fri, 4 Jan 2019 08:59:11 -0800 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mail.baldwin.cx); Fri, 04 Jan 2019 11:59:13 -0500 (EST) X-Virus-Scanned: clamav-milter 0.99.2 at mail.baldwin.cx X-Virus-Status: Clean X-Rspamd-Queue-Id: 4F8A970BE4 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.97 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.97)[-0.972,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 16:59:15 -0000 On 1/3/19 10:40 PM, Kevin Oberman wrote: > On Wed, Jan 2, 2019 at 5:02 PM Robert Huff wrote: > >> >> John Baldwin writes: >> >>> - [8] In order to have a kernel that can run the 4.x binaries needed >> to >>> - do an installworld, you must include the COMPAT_FREEBSD4 option in >>> - your kernel. Failure to do so may leave you with a system that is >>> - hard to boot to recover. A similar kernel option COMPAT_FREEBSD5 is >>> - required to run the 5.x binaries on more recent kernels. And so on >>> - for COMPAT_FREEBSD6 and COMPAT_FREEBSD7. >>> + [8] The new kernel must be able to run existing binaries used by >>> + an installworld. When upgrading across major versions, the new >>> + kernel's configuration must include the correct COMPAT_FREEBSD >>> + option for existing binaries (e.g. COMPAT_FREEBSD11 to run 11.x >>> + binaries). Failure to do so may leave you with a system that is >>> + hard to boot to recover. A GENERIC kernel will include suitable >>> + compatibility options to run binaries from older branches. >> >> Maybe not perfect, but _much_ better. >> Thanks. >> >> >> Respectfully, >> >> >> Robert Huff >> > Some ports may require compat ports. E.g. plexmediaserver requires > compat9x. Oddly, compat9x requires compat10x, so I need 9, 10, and 11. > > Now that 10 is EOL, I wish Plex would start building their blobs against 11. While that is true, that isn't quite relevant to this note which is specific to the buildworld + installworld upgrade process. In general COMPAT_FREEBSD and the compatx packages require all the newer compat options and packages when you are more than 1 branch away from the running system. That is, to run 9.x binaries on a 12.0 kernel you need COMPAT_FREEBSD9, COMPAT_FREEBSD10, and COMPAT_FREEBSD11. The same can be true of compat packages except that you only need to step up to whatever the verison of your userland binaries are. If you had a 9.x jail on a 12.0 host you wouldn't need any compat packages, just the kernel options. For a 10.x jail on a 12.0 host you would only need compat9x, etc. -- John Baldwin                                                                              From owner-freebsd-current@freebsd.org Fri Jan 4 19:15:00 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13A051436284 for ; Fri, 4 Jan 2019 19:15:00 +0000 (UTC) (envelope-from manfredantar@gmail.com) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E35B4777C4; Fri, 4 Jan 2019 19:14:58 +0000 (UTC) (envelope-from manfredantar@gmail.com) Received: by mail-pl1-x632.google.com with SMTP id t13so17807029ply.13; Fri, 04 Jan 2019 11:14:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :cc:to; bh=s/LbOVzKk3OKqC+lfpMM1Ii8jhkdiloOzf2XY2Ljy0Y=; b=ZX1GASerQVFbrIafbUA2x6hDMyBC99pWTMytax6+FSABAqg7k4vzc+9SkgvHnWjnxB xaWOgHvVgMPKBZtnU/cJ0Tt1GSKvkIR8/ieSemRQoHTt+YuxUb2LZU806fGVS7fgy3Lb 98X32A6T0xjsujOjGcSIdlh1tRJQE1cJVn6qJJVzSaCjNhrqsPlvvoMvhwiGeA7XEzye 2ZIM/0e5g9jZITRZgXx+xCaA55aj5LzWgBeDWWYmhxXmYaZB4taeIz+hUjYjC+XWoI1f qyqNjOXjcdHtIxsIsJUVtbJyb5q+3nrx3sv7A0mp66WTry478S6S4Ov+g0oUPPfrCq/P DBdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:cc:to; bh=s/LbOVzKk3OKqC+lfpMM1Ii8jhkdiloOzf2XY2Ljy0Y=; b=G2F/JDE7lJF8iAg9AUNrgwxtxrqU8c0tnb+Fb1anhHKt8nPut5zv/CikCm7WuJRQmI 0L7Ee6zKUESAwHTTyOEwvKPmokFHBJQ47Hyr5Em1mK4zvJkrH3zgnndtemg49YDiJwXT F/05/vjjEk6Qs7iyRP9dX+N/Lt2z/B6oImD+nFCGTbpnxw7z3D6H1R1sRsHfD2owDnVK FVz5RNptZuQEt5Begs19sGslY+L5ysreAEE0ExdylvXfVSK9SrTm6/hoYAwYZHg5CCmm tayrBEQJrcvrKCA+iVNfx0cZlnBlBZhqifHBqY0MGD0UqArbMYttTxX2K+fvG3xArr3u aXMA== X-Gm-Message-State: AJcUukdBizBsDF3AAaxeBTru3GhIsxAYs2LLvYuKOHrdt2trAFJY//Lq 3tx/8rnUSSkzkObA2MQXfCwXJEdPg+11gw== X-Google-Smtp-Source: ALg8bN5RDydV9OjYvqtxYcInTI7l+sbDJzRPrLlnSrVepVTn99gS6JJHw0xAhrITDTFpY1FWt2glqA== X-Received: by 2002:a17:902:209:: with SMTP id 9mr52768179plc.288.1546629297510; Fri, 04 Jan 2019 11:14:57 -0800 (PST) Received: from octo.pozo.com (50-197-129-138-static.hfc.comcastbusiness.net. [50.197.129.138]) by smtp.gmail.com with ESMTPSA id c9sm114190663pfc.92.2019.01.04.11.14.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 11:14:56 -0800 (PST) From: Manfred Antar Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.2 \(3445.102.3\)) Subject: revision 342699 breaks savecore when WITHOUT_DYNAMICROOT=yes is defined in src.conf amd64 current Message-Id: <37342A59-3F95-45A3-8B84-09750E31E325@gmail.com> Date: Fri, 4 Jan 2019 11:14:55 -0800 Cc: markj@freebsd.org, Conrad Meyer , oshogbo@freebsd.org To: FreeBSD Current X-Mailer: Apple Mail (2.3445.102.3) X-Rspamd-Queue-Id: E35B4777C4 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ZX1GASer; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of manfredantar@gmail.com designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=manfredantar@gmail.com X-Spamd-Result: default: False [-4.27 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MV_CASE(0.50)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.98)[-0.978,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-0.78)[ipnet: 2607:f8b0::/32(-2.18), asn: 15169(-1.66), country: US(-0.08)]; RCVD_IN_DNSWL_NONE(0.00)[2.3.6.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 19:15:00 -0000 sbin/savecore broken when WITHOUT_DYNAMICROOT is defined: /usr/local/bin/ccache cc -O2 -pipe -DWITH_CASPER -MD = -MF.depend.savecore.o -MTsavecore.o -std=3Dgnu99 = -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch = -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline = -Wnested-externs -Wredundant-decls -Wold-style-definition = -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety = -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable = -Qunused-arguments -c /usr/src/sbin/savecore/savecore.c -o savecore.o cc -O2 -pipe -DWITH_CASPER -std=3Dgnu99 -fstack-protector-strong = -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter = -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type = -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter = -Wcast-align -Wchar-subscripts -Winline -Wnested-externs = -Wredundant-decls -Wold-style-definition -Wno-pointer-sign = -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body = -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments = -static -o savecore savecore.o = -L/usr/obj/usr/src/amd64.amd64/lib/libxo -lxo = -L/usr/obj/usr/src/amd64.amd64/lib/libutil -lutil = -L/usr/obj/usr/src/amd64.amd64/lib/libz -lz = -L/usr/obj/usr/src/amd64.amd64/lib/libcasper/libcasper -lcasper = -L/usr/obj/usr/src/amd64.amd64/lib/libnv -lnv = -L/usr/obj/usr/src/amd64.amd64/lib/libcap_fileargs -lcap_fileargs = -L/usr/obj/usr/src/amd64.amd64/lib/libnv -lnv = -L/usr/obj/usr/src/amd64.amd64/lib/libcasper/services/cap_syslog = -lcap_syslog -L/usr/obj/usr/src/amd64.amd64/lib/libnv -lnv ld: error: unable to find library -lcasper ld: error: unable to find library -lcap_fileargs ld: error: unable to find library -lcap_syslog cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** Error code 1 Stop. make: stopped in /usr/src/sbin/savecore The recent change r342699 breaks static link: .include =20 .if ${MK_CASPER} !=3D "no" && !defined(RESCUE) CFLAGS+=3D -DWITH_CASPER LIBADD+=3D casper cap_fileargs cap_syslog .endif I think something like this is needed to when defining = WITHOUT_DYNAMICROOT: .include .if ${MK_CASPER} !=3D "no" && !defined(RESCUE) && = !defined(WITHOUT_DYNAMICROOT) CFLAGS+=3D -DWITH_CASPER LIBADD+=3D casper cap_fileargs cap_syslog .endif Manfred= From owner-freebsd-current@freebsd.org Fri Jan 4 19:20:45 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 37F1614364AF for ; Fri, 4 Jan 2019 19:20:45 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-it1-x130.google.com (mail-it1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 468F877B4B; Fri, 4 Jan 2019 19:20:44 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by mail-it1-x130.google.com with SMTP id g85so2985330ita.3; Fri, 04 Jan 2019 11:20:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1K2VDyMf/KS9nMxUOdRSjhHNSP5vRycGavARXc+eCCo=; b=VIIvj/hpkqHwax1iiibkfQWP/u7TELWwkDTIhd6u3hwKcFm17KqsCc2M8g6N14AEfr 6ylydUO5NZ5QHxf6L1/jUO/7rVEgprCiT+I7eF6+EWjL6ydzJFNHIX3W438WDuHJg8X+ YDQ1qRfBaRqFzprPVA5tg5Z24U7TYF7stv1pvZmISEjl7u6z36EtiCfpgojW8S5yIPcq D2Zy9r6hXhVoCXyq+QGssE2HxRQyWEDX8U9NMhcIGqJsnOpr4FUDfgHJNhIuQeIQJpkP xKi1VSDvE2ijOHR3KkKBUMCw5LyeTPpj9KRlf0d377Dp4ZHBaCwe3ULUHpnwzNL6XTRL thVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=1K2VDyMf/KS9nMxUOdRSjhHNSP5vRycGavARXc+eCCo=; b=G3HgsaxkSu6b6498FmW3KBpeYesH/Cl/acEVd14zDx1F/kBn+l57C9jo5CvfE9FD95 pXwwIAh0gU0dmVm7CifEcZplPALfN7pdp6DldPfKdVOoT4Picj5HuOSlrkjG9DlFovfi y1G0EYx50kQoY2BF8rbyDwEL88isBjsly3ARB4ymK66y41se9TwUf/fhJsk7mGHkDmWU sVORhugp+wmPJnvemi5vKVkaHAZdCVcBC+6NUUXaTeu7AqJwkEbrfykkt8rMFxuA7YIk YrPAbJCI6dF/sISR+DA3Q3f+zBPhjA7jtoqnOS3aF7y/2rGloia3y1V5hfCmmLZbHfAR Ytsw== X-Gm-Message-State: AA+aEWZzzrGWJMPnDQwXff5MsoqC5hbcCL3Y1RO19TjGweB4SBtOeROc aEiFmDyrpMJOFaZyWOe04o4= X-Google-Smtp-Source: AFSGD/UXZYT1hWy9WSiqnR390NeibikBd3rHQjH5MOvzb3F4VudIFiKCuuL70AyjI9cu2MMqZUEQyQ== X-Received: by 2002:a02:1885:: with SMTP id 5mr37390560jar.110.1546629643344; Fri, 04 Jan 2019 11:20:43 -0800 (PST) Received: from raichu (toroon0560w-lp130-07-64-229-95-98.dsl.bell.ca. [64.229.95.98]) by smtp.gmail.com with ESMTPSA id b192sm962810itb.12.2019.01.04.11.20.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 04 Jan 2019 11:20:42 -0800 (PST) Sender: Mark Johnston Date: Fri, 4 Jan 2019 14:20:40 -0500 From: Mark Johnston To: Manfred Antar Cc: FreeBSD Current , Conrad Meyer , oshogbo@freebsd.org Subject: Re: revision 342699 breaks savecore when WITHOUT_DYNAMICROOT=yes is defined in src.conf amd64 current Message-ID: <20190104192040.GF6961@raichu> References: <37342A59-3F95-45A3-8B84-09750E31E325@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <37342A59-3F95-45A3-8B84-09750E31E325@gmail.com> User-Agent: Mutt/1.11.1 (2018-12-01) X-Rspamd-Queue-Id: 468F877B4B X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=VIIvj/hp; spf=pass (mx1.freebsd.org: domain of markjdb@gmail.com designates 2607:f8b0:4864:20::130 as permitted sender) smtp.mailfrom=markjdb@gmail.com X-Spamd-Result: default: False [-5.01 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; NEURAL_HAM_SHORT(-0.94)[-0.938,0]; FORGED_SENDER(0.30)[markj@freebsd.org,markjdb@gmail.com]; FREEMAIL_TO(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[markj@freebsd.org,markjdb@gmail.com]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[0.3.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; IP_SCORE(-2.36)[ip: (-7.89), ipnet: 2607:f8b0::/32(-2.18), asn: 15169(-1.66), country: US(-0.08)]; MID_RHS_NOT_FQDN(0.50)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jan 2019 19:20:45 -0000 On Fri, Jan 04, 2019 at 11:14:55AM -0800, Manfred Antar wrote: > sbin/savecore broken when WITHOUT_DYNAMICROOT is defined: Fixed in r342776, thanks. From owner-freebsd-current@freebsd.org Sat Jan 5 03:00:26 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A61114852C4 for ; Sat, 5 Jan 2019 03:00:26 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from mail01.asahi-net.or.jp (mail01.asahi-net.or.jp [202.224.55.13]) by mx1.freebsd.org (Postfix) with ESMTP id 41C7B91EEC; Sat, 5 Jan 2019 03:00:22 +0000 (UTC) (envelope-from ota@j.email.ne.jp) Received: from rv515.advok.com (pool-72-76-119-135.nwrknj.fios.verizon.net [72.76.119.135]) (Authenticated sender: NR2Y-OOT) by mail01.asahi-net.or.jp (Postfix) with ESMTPSA id 73D5410122F; Sat, 5 Jan 2019 12:00:10 +0900 (JST) Date: Fri, 4 Jan 2019 22:00:05 -0500 From: Yoshihiro Ota To: Ed Maste Cc: Matthias Apitz , FreeBSD Current Subject: Re: uname -a output without svn revision number Message-Id: <20190104220005.a3e801f3cd6db93ac3a59ab0@j.email.ne.jp> In-Reply-To: References: <20190104055218.GA3408@c720-r342378> <20190104153552.GB2802@c720-r342378> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; i386-portbld-freebsd12.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 41C7B91EEC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of ota@j.email.ne.jp designates 202.224.55.13 as permitted sender) smtp.mailfrom=ota@j.email.ne.jp X-Spamd-Result: default: False [-0.38 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+ip4:202.224.55.0/24]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[email.ne.jp]; NEURAL_HAM_LONG(-0.33)[-0.328,0]; NEURAL_SPAM_SHORT(0.42)[0.420,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[sbmx.asahi-net.or.jp]; NEURAL_HAM_MEDIUM(-0.64)[-0.642,0]; IP_SCORE(-0.02)[country: JP(-0.09)]; RCVD_NO_TLS_LAST(0.10)[]; RCVD_IN_DNSWL_LOW(-0.10)[13.55.224.202.list.dnswl.org : 127.0.5.1]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4685, ipnet:202.224.32.0/19, country:JP]; MID_RHS_MATCH_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[135.119.76.72.zen.spamhaus.org : 127.0.0.10] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 03:00:26 -0000 I've seen such failures with NFS without lockd. Svn fails as it cannot lock its files, too. Hiro On Fri, 4 Jan 2019 10:41:56 -0500 Ed Maste wrote: > On Fri, 4 Jan 2019 at 10:36, Matthias Apitz wrote: > > > > To save space on the netbook > > I excluded /usr/src/.svn which is causing now the absence of the > > revision number. > > Yes, newvers.sh relies on the metadata in .svn to determine the > revision number so this is as expected. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@freebsd.org Sat Jan 5 06:41:13 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 04140148EE71 for ; Sat, 5 Jan 2019 06:41:13 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: from mail-pf1-x42b.google.com (mail-pf1-x42b.google.com [IPv6:2607:f8b0:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DAB136CADA; Sat, 5 Jan 2019 06:41:11 +0000 (UTC) (envelope-from yaneurabeya@gmail.com) Received: by mail-pf1-x42b.google.com with SMTP id c123so19313789pfb.0; Fri, 04 Jan 2019 22:41:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uHWptL2LJ+h4zb2wqZW0B27WKIGL9CDAcetjAvDT7pA=; b=ox3KLLCWve6xsK7dmr+1L4wDUZQhsFUkvq8lu1UbPkv/RyOMzEZrQrPZeQLdBSxiuK WvC6ezJBTVfSo96Bw3WdxnjiFotjCju0HALcMX2xz+SUaAroBBpW9u5+9/S/vLcu81gU k+7E93mzWcmBrPMBtFQfk4gDAf5uFVbJibQvIVvEsrcW84Iu2AifXxPiLRNAnXNDu38u Q/MSlJAX4fFO7ePv39wtFLBMk8mzl8mJHhEnVCIQ7LeT/IsOfeD6CYr2HglAxjBhPc9s CI6JyzLZTaqngSz0ZD7VJ/mWsiRootqbIfX5UA8FFZSni21+3nEe2lCuxS/mC0O4/aY8 LEZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=uHWptL2LJ+h4zb2wqZW0B27WKIGL9CDAcetjAvDT7pA=; b=lO0H8uYu1wGQ/czam5pOF04Jo+s6cio++amqNavE/oUx4su6VE52GDKdjybaZiOCxv SFdl9DSPRKulN85b1SPxx154xdJc1XaSjJOfEbNyI9vyAR7KgoUK6FNzTcW/aBGiFgF3 ZB9ObFDtErUtzEUHt51vM+bwywbmIZlW7JzvrgMzRQcjKKkgCQ8TIWsVuoVOuJGw3q1y ApxN5/PGc07ZRdZL9UVzvBpFG3V2jeuwjtY8a4Rg/pwAk04hX1YJukMFY8LX9MoDwKNB QsIxaDZFoyo1zh2i9ydDrd1iygQdSjCpPp6uICO2TyA/3KKLKu5XGcIn+jQtSf8/scUf ltgA== X-Gm-Message-State: AJcUukdpFuV3avivfOA2vKK7vAtJ7KatWHSV9gqsm7NDSFOGnVPr8+2r DW3edyJ74wM32WPnJw9Hs+Y= X-Google-Smtp-Source: ALg8bN6jULO1//vg3hz0HFxYk8r0fFVP46UsXfEsyreg3/BwJqIBGA0VfVg9UgS+U0Omsrhnvyru2A== X-Received: by 2002:a65:514c:: with SMTP id g12mr4028311pgq.169.1546670470758; Fri, 04 Jan 2019 22:41:10 -0800 (PST) Received: from [10.0.38.117] ([207.32.161.153]) by smtp.gmail.com with ESMTPSA id s2sm116614885pfa.167.2019.01.04.22.41.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jan 2019 22:41:10 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (1.0) Subject: Re: uname -a output without svn revision number From: Enji Cooper X-Mailer: iPhone Mail (16C104) In-Reply-To: <20190104220005.a3e801f3cd6db93ac3a59ab0@j.email.ne.jp> Date: Fri, 4 Jan 2019 22:41:09 -0800 Cc: Ed Maste , Matthias Apitz , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <42462523-86E6-40B5-8D34-9281D458F00C@gmail.com> References: <20190104055218.GA3408@c720-r342378> <20190104153552.GB2802@c720-r342378> <20190104220005.a3e801f3cd6db93ac3a59ab0@j.email.ne.jp> To: Yoshihiro Ota X-Rspamd-Queue-Id: DAB136CADA X-Spamd-Bar: ----- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=ox3KLLCW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of yaneurabeya@gmail.com designates 2607:f8b0:4864:20::42b as permitted sender) smtp.mailfrom=yaneurabeya@gmail.com X-Spamd-Result: default: False [-5.88 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; MV_CASE(0.50)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; MX_GOOD(-0.01)[cached: alt3.gmail-smtp-in.l.google.com]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-0.90)[-0.900,0]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE(-2.47)[ip: (-8.41), ipnet: 2607:f8b0::/32(-2.20), asn: 15169(-1.67), country: US(-0.08)]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[b.2.4.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 06:41:13 -0000 > On Jan 4, 2019, at 19:00, Yoshihiro Ota wrote: >=20 > I've seen such failures with NFS without lockd. >=20 > Svn fails as it cannot lock its files, too. Yeah. lockd must be running in order for this to work. This hasn=E2=80=99= t changed in the last few years. Cheers, -Enji= From owner-freebsd-current@freebsd.org Sat Jan 5 09:44:25 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 47E1F1495DCC for ; Sat, 5 Jan 2019 09:44:25 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "land.berklix.org", Issuer "land.berklix.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B0F5C73320; Sat, 5 Jan 2019 09:44:21 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from mart.js.berklix.net (p2E52C0CB.dip0.t-ipconnect.de [46.82.192.203]) (authenticated bits=0) by land.berklix.org (8.15.2/8.15.2) with ESMTPSA id x059iD8n079010 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 5 Jan 2019 09:44:17 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id x059i9xP003664; Sat, 5 Jan 2019 10:44:09 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id x059hvNh020633; Sat, 5 Jan 2019 10:44:09 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201901050944.x059hvNh020633@fire.js.berklix.net> To: Ed Maste cc: FreeBSD Current Subject: Re: uname -a output without svn revision number From: "Julian H. Stacey" Organization: http://berklix.eu BSD Unix Linux Consultants, Munich Aachen Kent User-agent: EXMH on FreeBSD http://berklix.eu/free/ X-From: http://www.berklix.eu/~jhs/ In-reply-to: Your message "Fri, 04 Jan 2019 09:10:20 -0500." Date: Sat, 05 Jan 2019 10:43:57 +0100 X-Rspamd-Queue-Id: B0F5C73320 X-Spamd-Bar: ++ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [2.90 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_SPAM_SHORT(0.96)[0.957,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[berklix.com]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(0.33)[0.327,0]; HAS_ORG_HEADER(0.00)[]; RCVD_COUNT_THREE(0.00)[4]; IP_SCORE(0.08)[ipnet: 144.76.0.0/16(2.80), asn: 24940(-2.39), country: DE(-0.01)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: land.berklix.com]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.64)[0.641,0]; R_SPF_NA(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[203.192.82.46.zen.spamhaus.org : 127.0.0.10]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:144.76.0.0/16, country:DE]; RCVD_TLS_LAST(0.00)[]; FROM_EQ_ENVFROM(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 09:44:25 -0000 Hi, Reference: > From: Ed Maste > Date: Fri, 4 Jan 2019 09:10:20 -0500 Ed Maste wrote: > On Fri, 4 Jan 2019 at 08:42, Julian H. Stacey wrote: > > > > Matthias Apitz wrote: > > > $ sh /usr/src/sys/conf/newvers.sh > > > > Me too. Mine also returns nothing. Ditto uname. Ditto dmesg. Annoying. > > Please read the UPDATING entry and the src.conf description for > WITHOUT_REPRODUCIBLE_BUILD. You probably want to add it to > /etc/src.conf. Thanks Ed, Added, Rebuilding. I suggest the default should be the opposite, or has that already been discussed & I missed it ? Cheers, Julian -- Julian Stacey, Computer Consultant Sys.Eng. BSD Linux Unix, Munich Aachen Kent First referendum stole 700,000 votes from Brits in EU; 3,700,000 globaly. Lies criminal funded; jobs pound & markets down. 1.9M new voters 1.3M dead. Email MP: "A new referendum will buy UK & EU more time (Art 50.3), to avoid a hard crash, & consider all options." http://berklix.org/brexit/#mp From owner-freebsd-current@freebsd.org Sat Jan 5 23:27:44 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C80B14270D9; Sat, 5 Jan 2019 23:27:44 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from ecc03.stack.nl (unknown [IPv6:2001:610:1108:5010::210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.stack.nl", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 370D772CC9; Sat, 5 Jan 2019 23:27:40 +0000 (UTC) (envelope-from jilles@stack.nl) Received: from mail01.stack.nl (blade.stack.nl [51.15.111.152]) by ecc03.stack.nl (Postfix) with ESMTPS id 5993D2188A; Sat, 5 Jan 2019 23:27:23 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail01.stack.nl (Postfix) with ESMTP id 253B160989; Sat, 5 Jan 2019 23:27:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail01 Received: from mail01.stack.nl ([127.0.0.1]) by localhost (mail01.stack.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Zs-VNT8GTDpz; Sat, 5 Jan 2019 23:27:20 +0000 (UTC) Received: from blade.stack.nl (blade.stack.nl [192.168.122.130]) by mail01.stack.nl (Postfix) with ESMTP id E116060962; Sat, 5 Jan 2019 23:27:20 +0000 (UTC) Received: by blade.stack.nl (Postfix, from userid 1677) id C41962091A; Sun, 6 Jan 2019 00:27:20 +0100 (CET) Date: Sun, 6 Jan 2019 00:27:20 +0100 From: Jilles Tjoelker To: mmel@freebsd.org Cc: Dennis Clarke , freebsd-arm@freebsd.org, FreeBSD Current , Mark Millard Subject: Re: A reliable port cross-build failure (hangup) in my context (amd64->armv7 cross build, with native-tool speedup involved) Message-ID: <20190105232720.GA13476@stack.nl> References: <865A13C8-9749-486E-9F79-5EEDDECBE621@yahoo.com> <0154C3AC-D85B-4FCF-BA63-454BC26BC1A2@yahoo.com> <13f5e4dd-33fb-2170-e31a-1b5d5f155869@freebsd.org> <2E3F6196-4652-40D2-937F-8860B6005A35@yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jan 2019 23:27:44 -0000 On Fri, Jan 04, 2019 at 07:56:42AM +0100, Michal Meloun wrote: > On 29.12.2018 18:47, Dennis Clarke wrote: > > On 12/28/18 9:56 PM, Mark Millard via freebsd-arm wrote: > >> > >> On 2018-Dec-28, at 12:12, Mark Millard wrote: > >> > >>> On 2018-Dec-28, at 05:13, Michal Meloun > >>> wrote: > >>> > >>>> Mark, > >>>> this is known problem with qemu-user-static. > >>>> Emulation of every single interruptible syscall is broken by design (it > >>>> have signal related races). Theses races cannot be solved without major > >>>> rewrite of syscall emulation code. > >>>> Unfortunately, nobody actively works on this, I think. > >>>> > > Following along here quietly and I had to blink at this a few times. > > Is there a bug report somewhere within the qemu world related to this > >  'broken by design' qemu feature? > Firstly, I apologize for late answer. Writing a technically accurate but > still comprehensible report is extremely difficult for me. > Major design issue with qemu-user is the fact that guest (blocking / > interruptible) syscalls must be emulated atomically, including > delivering of asynchronous signals (including signals originated by > other thread). > This is something that cannot be emulated precisely by user mode > program, without specific kernel support. Let me explain this in a > little more details. > [snip] > This look a much better. The code blocks all signals first, then checks > if any signal is pending. If yes, then does not-blocking select() > (because timeout is zero) and correctly returns EINTR immediately. > Otherwise, it uses other variant of select(), pselect() which adjusts > right signal mask itself. > That's mean that syscall is called with blocked signal delivery, but > kernel adjusts right sigmask before it waits for event. While this looks > like perfect solution and this code closes all races from first version, > then it doesn't. pselect() uses different semantic that select(), it > doesn't update timeout argument. So this solution is also inappropriate. FreeBSD select() never updates the passed timeout. When emulating Linux syscalls, this will have to be done manually. > Moreover, I think, we don't have p equivalents for all blocking > syscalls. We definitely do not. For example, open() has no equivalent with a signal mask. > Mark, I hope that this is also the answer to your question posted to > hackers@ and also the exploitation why you see hang. > Linux uses different approach to overcome this issue, safe_syscall -> > https://gitlab.collabora.com/tomeu/qemu/commit/4d330cee37a21aabfc619a1948953559e66951a4 > It looks like workable workaround, but I'm not sure about ERESTART > versus EINTR return values. Imho, this can be problem. This looks like a reasonable solution. Musl libc uses the same approach to implement pthread cancellation (where with the default "deferred" cancellation type, cancellation takes effect at cancellation points only, which include most blocking system calls; if a cancellation request comes in at the same time as a blocking cancellation point system call starts, the same race condition needs to be avoided). As for ERESTART vs EINTR, EINTR can be treated like any other error. On the other hand, ERESTART (or variants like ERESTARTSYS) is never returned by the kernel, but instead causes the kernel to rewind the program counter (so the system call instruction will be executed again) just before invoking the signal handler. Therefore, when the host kernel does this to qemu, qemu must do the same to the guest. If a signal is delivered just before qemu makes a system call on behalf of the guest, this may look like ERESTART. This is fine since it looks the same as if the signal was delivered just before the guest's system call instruction. The approach as used by FreeBSD libc to implement pthread cancellation (thr_wake(2) on self in the signal handler) will not let you distinguish between ERESTART and EINTR, so you would have to replicate that determination (which typically but not always depends on the signal's SA_RESTART flag and which system call it is). Therefore, I would not recommend that approach. > I have list of other qemu-user problems (I mean mainly a bsd-user part > of qemu code here), not counting normal coding bugs: > - code is not thread safety but is used in threaded environment (rw > locks for example), > - emulate some sysctl's and resource limits / usage behavior is very > hard (mainly if we emulate 32-bits guest on 64-bits host) In many such cases, the proper behaviour can be found in the kernel code (when a 64-bit kernel needs to handle a system call from a 32-bit process). I expect problems with getdirentries() and struct dirent.d_off with filesystems that return hashed filenames as positions. > - if host syscall returns ERESTART, we should do full unroll and pass it > to guest. Yes (with the above mentioned caveats about how ERESTART is returned). > - the syscalls emulation should not use the libc functions, but syscall > instruction directly. Libc shims can have side effects so we should not > to execute it twice. Once in guest, second time in host. If you accept that your code is going to be more tightly coupled to libc and the kernel than most applications, calling system calls directly should be fine. This will also allow you to install your own handler for SIGTHR if you do not want to remap it. Do not expect pthread cancellation and suspension to work properly in such a configuration, though. > - and last major one. At this time, all guest structures are maintained > by hand. Due to huge amount of these structures, this is the extreme > error prone approach. We should convert this to script generated code, > including guest syscalls definition. Definitions of system calls are in syscalls.master and should be automatically processable; definitions of types are in header files and cannot really be processed other than by a C compiler. > Again, my apology for slightly (or much) chaotic report, but this is the > best what's I capable. It was clear enough to me. -- Jilles Tjoelker