Re: input/output error @boot

2017-03-09 Thread Roberto Rodriguez Jr
Hello all, I am booting from CURRENTusb img. For the life of me I cannot comprehend why I cannot see my /boot directory after Choose Shell from bsdinstall welcome mkdir /tmp/mnt zpool import zpool import -fR /tmp/mnt mypool zfs mount -a ls mypool var usr tmp Where is boot, etc, bin, root? zfs li

Re: input/output error @boot

2017-03-09 Thread Pete Wright
On 3/9/17 8:10 AM, Pete Wright wrote: On 3/9/17 4:42 AM, Dexuan Cui wrote: From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd- curr...@freebsd.org] On Behalf Of Pete Wright Sent: Thursday, March 9, 2017 14:04 To: freebsd-current@freebsd.org Subject: Re: input/output error @boot On

Re: LOR on RPi3 r314894

2017-03-09 Thread Benjamin Kaduk
On Thu, Mar 09, 2017 at 07:01:07AM +0100, Gergely Czuczy wrote: > > > On 2017. 03. 09. 6:59, Benjamin Kaduk wrote: > > On Wed, Mar 08, 2017 at 02:06:33PM +0100, Gergely Czuczy wrote: > >> On 2017. 03. 08. 13:06, Hans Petter Selasky wrote: > >>> You might check the links on this page to see if you

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Bryan Drewery
On 3/9/2017 4:59 PM, Bryan Drewery wrote: > On 3/9/2017 3:57 PM, Bryan Drewery wrote: >> On 3/9/2017 3:47 PM, Bryan Drewery wrote: >>> On 3/9/2017 3:11 PM, Jilles Tjoelker wrote: On Thu, Mar 09, 2017 at 04:46:46PM +0200, Konstantin Belousov wrote: > Yes, there is a race, apparently, with t

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Bryan Drewery
On 3/9/2017 3:57 PM, Bryan Drewery wrote: > On 3/9/2017 3:47 PM, Bryan Drewery wrote: >> On 3/9/2017 3:11 PM, Jilles Tjoelker wrote: >>> On Thu, Mar 09, 2017 at 04:46:46PM +0200, Konstantin Belousov wrote: Yes, there is a race, apparently, with the child zombie still not finishing sending

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Bryan Drewery
On 3/9/2017 3:47 PM, Bryan Drewery wrote: > On 3/9/2017 3:11 PM, Jilles Tjoelker wrote: >> On Thu, Mar 09, 2017 at 04:46:46PM +0200, Konstantin Belousov wrote: >>> Yes, there is a race, apparently, with the child zombie still not finishing >>> sending the SIGCHLD to the parent and parent exiting.

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Bryan Drewery
On 3/9/2017 3:11 PM, Jilles Tjoelker wrote: > On Thu, Mar 09, 2017 at 04:46:46PM +0200, Konstantin Belousov wrote: >> Yes, there is a race, apparently, with the child zombie still not finishing >> sending the SIGCHLD to the parent and parent exiting. The following should >> fix the issue, but I do

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Jilles Tjoelker
On Thu, Mar 09, 2017 at 04:46:46PM +0200, Konstantin Belousov wrote: > Yes, there is a race, apparently, with the child zombie still not finishing > sending the SIGCHLD to the parent and parent exiting. The following should > fix the issue, but I do not think that reproducing the problem is easy.

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Bryan Drewery
On 3/9/2017 6:46 AM, Konstantin Belousov wrote: > On Wed, Mar 08, 2017 at 09:00:17PM -0800, Bryan Drewery wrote: >> I'm on r314708. I hit ^C while running 'kyua test' in /usr/tests/bin/pwait. >> >>> panic: tdsendsignal: ksi on queue >>> cpuid = 10 >> >>> #10 kdb_enter (why=0x814488f5 "pani

r314708: panic: Assertion err == 0 failed at /usr/src/sys/net/iflib.c:2241

2017-03-09 Thread Bryan Drewery
This came up at shutdown in r314708. I don't yet know if I will have a core to diagnose. > panic: Assertion err == 0 failed at /usr/src/sys/net/iflib.c:2241 > cpuid = 0 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfe349a7f9940 > vpanic() at vpanic+0x1

Re: hang in dlclose() on rtld lock (powerpc64)

2017-03-09 Thread Justin Hibbits
On Thursday, March 9, 2017, Konstantin Belousov wrote: > On Thu, Mar 09, 2017 at 09:59:00AM -0600, Justin Hibbits wrote: > > When building ports in poudriere, I see gdk-pixbuf-query-modules and > > gio-querymodules hanging on r314676, but working in r305820. I took a > > backtrace on both in gdb

Re: process killed: text file modification

2017-03-09 Thread Gergely Czuczy
On 2017. 03. 09. 20:47, Gergely Czuczy wrote: On 2017. 03. 09. 19:44, John Baldwin wrote: On Thursday, March 09, 2017 03:31:56 PM Gergely Czuczy wrote: [+freebsd-fs] On 2017. 03. 09. 14:20, Gergely Czuczy wrote: On 2017. 03. 09. 11:27, Gergely Czuczy wrote: Hello, I'm trying to build a

Re: process killed: text file modification

2017-03-09 Thread Gergely Czuczy
On 2017. 03. 09. 19:44, John Baldwin wrote: On Thursday, March 09, 2017 03:31:56 PM Gergely Czuczy wrote: [+freebsd-fs] On 2017. 03. 09. 14:20, Gergely Czuczy wrote: On 2017. 03. 09. 11:27, Gergely Czuczy wrote: Hello, I'm trying to build a few things from ports on an rpi3, the ports coll

Re: how to SVN regenerate [ man awk ]

2017-03-09 Thread Ryan Stone
On Thu, Mar 9, 2017 at 10:00 AM, Jeffrey Bouquet wrote: > For $giggles$ I svn up /usr/src/usr.bin/awk or wherever, then > man awk displays not the newer import per a recent SVN but > the older 2015 [ it says ] one. Stale file, or not all parts of > the man page updated to include latest revisio

Re: process killed: text file modification

2017-03-09 Thread John Baldwin
On Thursday, March 09, 2017 03:31:56 PM Gergely Czuczy wrote: > [+freebsd-fs] > > > On 2017. 03. 09. 14:20, Gergely Czuczy wrote: > > On 2017. 03. 09. 11:27, Gergely Czuczy wrote: > >> Hello, > >> > >> I'm trying to build a few things from ports on an rpi3, the ports > >> collection is mounted o

Re: how to SVN regenerate [ man awk ]

2017-03-09 Thread Jeffrey Bouquet
On Thu, 9 Mar 2017 08:43:29 -0800, David Wolfskill wrote: > On Thu, Mar 09, 2017 at 07:00:13AM -0800, Jeffrey Bouquet wrote: > > For $giggles$ I svn up /usr/src/usr.bin/awk or wherever, then > > man awk displays not the newer import per a recent SVN but > > the older 2015 [ it says ] one. Sta

Re: localedef broken on current amd64

2017-03-09 Thread Pedro Giffuni
Yes, I am looking at it, I suspect there is an underlying bug but I will be reverting the latest change. Thank you, Pedro. On 3/9/2017 12:25 PM, Manfred Antar wrote: I rebuilt localedef on current this morning. doing a make buildworld: ===> colldef (all) localedef -D -U -i /usr/src/share/

localedef broken on current amd64

2017-03-09 Thread Manfred Antar
I rebuilt localedef on current this morning. doing a make buildworld: ===> colldef (all) localedef -D -U -i /usr/src/share/colldef/af_ZA.UTF-8.src -f /usr/src/tools/tools/locale/etc/final-maps/map.UTF-8 /usr/obj/usr/src/share/colldef/af_ZA.UTF-8 /usr/src/share/colldef/af_ZA.UTF-8.src: 2421: err

Re: how to SVN regenerate [ man awk ]

2017-03-09 Thread David Wolfskill
On Thu, Mar 09, 2017 at 07:00:13AM -0800, Jeffrey Bouquet wrote: > For $giggles$ I svn up /usr/src/usr.bin/awk or wherever, then > man awk displays not the newer import per a recent SVN but > the older 2015 [ it says ] one. Stale file, or not all parts of > the man page updated to include latest

Re: hang in dlclose() on rtld lock (powerpc64)

2017-03-09 Thread Konstantin Belousov
On Thu, Mar 09, 2017 at 09:59:00AM -0600, Justin Hibbits wrote: > When building ports in poudriere, I see gdk-pixbuf-query-modules and > gio-querymodules hanging on r314676, but working in r305820. I took a > backtrace on both in gdb, and see the following (identical between both): > > Program re

Re: input/output error @boot

2017-03-09 Thread Pete Wright
On 3/9/17 4:42 AM, Dexuan Cui wrote: From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd- curr...@freebsd.org] On Behalf Of Pete Wright Sent: Thursday, March 9, 2017 14:04 To: freebsd-current@freebsd.org Subject: Re: input/output error @boot On 3/8/17 10:00 PM, Dexuan Cui wrote: For

how to SVN regenerate [ man awk ]

2017-03-09 Thread Jeffrey Bouquet
For $giggles$ I svn up /usr/src/usr.bin/awk or wherever, then man awk displays not the newer import per a recent SVN but the older 2015 [ it says ] one. Stale file, or not all parts of the man page updated to include latest revision dat, or some other command to [g]unzip or whatever, besides 320.

hang in dlclose() on rtld lock (powerpc64)

2017-03-09 Thread Justin Hibbits
When building ports in poudriere, I see gdk-pixbuf-query-modules and gio-querymodules hanging on r314676, but working in r305820. I took a backtrace on both in gdb, and see the following (identical between both): Program received signal SIGINT, Interrupt. 0x506831d8 in .__sys.umtx_op () f

Re: smp_rendezvous_action: Are atomics correctly used ?

2017-03-09 Thread Alexandre Martins
Le jeudi 9 mars 2017, 16:25:17 Konstantin Belousov a écrit : > On Thu, Mar 09, 2017 at 02:52:09PM +0100, Alexandre Martins wrote: > > Le jeudi 9 mars 2017, 15:07:54 Konstantin Belousov a ?crit : > > > On Thu, Mar 09, 2017 at 10:59:27AM +0100, Alexandre Martins wrote: > > > > I have the save questio

Re: r314708: panic: tdsendsignal: ksi on queue

2017-03-09 Thread Konstantin Belousov
On Wed, Mar 08, 2017 at 09:00:17PM -0800, Bryan Drewery wrote: > I'm on r314708. I hit ^C while running 'kyua test' in /usr/tests/bin/pwait. > > > panic: tdsendsignal: ksi on queue > > cpuid = 10 > > > #10 kdb_enter (why=0x814488f5 "panic", msg=) at > > /usr/src/sys/kern/subr_kdb.c:444

Re: process killed: text file modification

2017-03-09 Thread Gergely Czuczy
[+freebsd-fs] On 2017. 03. 09. 14:20, Gergely Czuczy wrote: On 2017. 03. 09. 11:27, Gergely Czuczy wrote: Hello, I'm trying to build a few things from ports on an rpi3, the ports collection is mounted over NFS from another machine. When it's trying to build pkg i'm getting the error message

Re: smp_rendezvous_action: Are atomics correctly used ?

2017-03-09 Thread Konstantin Belousov
On Thu, Mar 09, 2017 at 02:52:09PM +0100, Alexandre Martins wrote: > Le jeudi 9 mars 2017, 15:07:54 Konstantin Belousov a ?crit : > > On Thu, Mar 09, 2017 at 10:59:27AM +0100, Alexandre Martins wrote: > > > I have the save question for the cpu_ipi_pending here: > > > > > > https://svnweb.freebsd.o

Re: start-up failure at SVN r314889

2017-03-09 Thread Michael Butler
Per Hans .. this should fix it: r314953 | hselasky | 2017-03-09 04:17:43 -0500 (Thu, 09 Mar 2017) | 9 lines Changed paths: M /head/sys/compat/linuxkpi/common/src/linux_work.c Don't create any threads before SI_SUB_INIT_IF in the LinuxKPI. Else kthread_add() will assert it is called too soon.

Re: smp_rendezvous_action: Are atomics correctly used ?

2017-03-09 Thread Alexandre Martins
Le jeudi 9 mars 2017, 15:07:54 Konstantin Belousov a écrit : > On Thu, Mar 09, 2017 at 10:59:27AM +0100, Alexandre Martins wrote: > > I have the save question for the cpu_ipi_pending here: > > > > https://svnweb.freebsd.org/base/head/sys/x86/x86/mp_x86.c?view=annotate#l1 > > 080> > > Le jeudi 9 m

Re: input/output error @boot

2017-03-09 Thread Toomas Soome
> On 9. märts 2017, at 15:03, Dexuan Cui wrote: > >> From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd- >> curr...@freebsd.org] On Behalf Of Toomas Soome >> >> IMO there are multiple issues around this problem and workaround. >> >> First of all, to control UEFI memory allocation, t

Re: process killed: text file modification

2017-03-09 Thread Gergely Czuczy
On 2017. 03. 09. 11:27, Gergely Czuczy wrote: Hello, I'm trying to build a few things from ports on an rpi3, the ports collection is mounted over NFS from another machine. When it's trying to build pkg i'm getting the error message in syslog: rpi3 kernel: pid 4451 (sh), uid 0, was killed: te

Re: smp_rendezvous_action: Are atomics correctly used ?

2017-03-09 Thread Konstantin Belousov
On Thu, Mar 09, 2017 at 10:59:27AM +0100, Alexandre Martins wrote: > I have the save question for the cpu_ipi_pending here: > > https://svnweb.freebsd.org/base/head/sys/x86/x86/mp_x86.c?view=annotate#l1080 > > Le jeudi 9 mars 2017, 10:43:14 Alexandre Martins a ?crit : > > Hello, > > > > I'm cure

RE: input/output error @boot

2017-03-09 Thread Dexuan Cui
> From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd- > curr...@freebsd.org] On Behalf Of Toomas Soome > > IMO there are multiple issues around this problem and workaround. > > First of all, to control UEFI memory allocation, the AllocatePages() has > options: > > AllocateAnyPages, > Al

RE: input/output error @boot

2017-03-09 Thread Dexuan Cui
> From: owner-freebsd-curr...@freebsd.org [mailto:owner-freebsd- > curr...@freebsd.org] On Behalf Of Pete Wright > Sent: Thursday, March 9, 2017 14:04 > To: freebsd-current@freebsd.org > Subject: Re: input/output error @boot > On 3/8/17 10:00 PM, Dexuan Cui wrote: > > For now, I suggest we should o

process killed: text file modification

2017-03-09 Thread Gergely Czuczy
Hello, I'm trying to build a few things from ports on an rpi3, the ports collection is mounted over NFS from another machine. When it's trying to build pkg i'm getting the error message in syslog: rpi3 kernel: pid 4451 (sh), uid 0, was killed: text file modification The report to pkg@: https

Re: smp_rendezvous_action: Are atomics correctly used ?

2017-03-09 Thread Alexandre Martins
I have the save question for the cpu_ipi_pending here: https://svnweb.freebsd.org/base/head/sys/x86/x86/mp_x86.c?view=annotate#l1080 Le jeudi 9 mars 2017, 10:43:14 Alexandre Martins a écrit : > Hello, > > I'm curently reading the code of the function smp_rendezvous_action, in > kern/subr_smp.c f

smp_rendezvous_action: Are atomics correctly used ?

2017-03-09 Thread Alexandre Martins
Hello, I'm curently reading the code of the function smp_rendezvous_action, in kern/subr_smp.c file. In that function, i see that the variable smp_rv_waiters is read in some while() loop in a non-atomic way. https://svnweb.freebsd.org/base/head/sys/kern/subr_smp.c?view=annotate#l412 https://svn