[Bug 210804] installerconfig - using ZFS create in custom script mounts the dataset in the wrong directory

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210804

--- Comment #1 from tarop...@kronometrix.org ---
Affected the same problem. Tested FreeBSD 10.3 RELEASE and STABLE versions.

FreeBSD  10.3-STABLE FreeBSD 10.3-STABLE #0 r302791: Thu Jul 14 01:16:15 UTC
2016 r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

FreeBSD  10.3-RELEASE FreeBSD 10.3-RELEASE #0 r297264: Fri Mar 25 02:10:02 UTC
2016 r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

If you break installation and umount dataset and mount it again it mounts
correctly. 

#zfs umount zroot/dataset
#zfs mount zroot/dataset

now mount shows
#mount
zroot/dataset on /mnt/dataset (zfs, local, noatime, nfsv4acls)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212173

Bug ID: 212173
   Summary: SIGINT is only delivered once with
sigqueue_test:sigqueue_rt
   Product: Base System
   Version: 10.3-RELEASE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: n...@freebsd.org

I've seen this issue while validating new tests on
^/projects/netbsd-tests-update-12 -- in particular sigqueue_rt expects all 7
signals to be delivered in sequence, but for whatever reason, SIGINT is
delivered once instead of twice. I added in another SIGINT for good measure, as
well as SIGHUP to see if it was a fluke, and I confirmed that it only delivers
SIGINT once in both cases.

$ sudo kyua debug -k /usr/tests/lib/libc/sys/Kyuafile sigqueue_test:sigqueue_rt
Signal #1: signo: 67
Signal #2: signo: 66
Signal #3: signo: 66
Signal #4: signo: 65
Signal #5: signo: 3
Signal #6: signo: 2
Signal #7: signo: 2
*** Check failed: /usr/src/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c:214:
count 7 != ndelivered 6
Undelivered signal #6: 2
sigqueue_test:sigqueue_rt  ->  failed: 1 checks failed; see output for more
details

== Repro steps ==

Run the following commands as root:

svn cat
http://svn.freebsd.org/base/projects/netbsd-tests-update-12/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c@304831
> /path/to/src/contrib/netbsd-tests/lib/libc/sys/t_sigqueue.c
(cd lib/libnetbsd; make obj; make depend; make all)
(cd lib/libc/tests/sys/; make obj; make depend; make all; make install)
kyua debug -k /usr/tests/lib/libc/sys/Kyuafile sigqueue_test:sigqueue_rt

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212173

Ngie Cooper  changed:

   What|Removed |Added

 CC||k...@freebsd.org,
   ||ma...@freebsd.org

--- Comment #1 from Ngie Cooper  ---
Adding Kib/Mark to help identify why this might be occurring.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212173

--- Comment #2 from Ngie Cooper  ---
Sidenote: this occurs on 10.3-RELEASE and 12.0-CURRENT@r304831

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212177] unistd.h/stdlib.h function prototype syntax error?

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212177

Bug ID: 212177
   Summary: unistd.h/stdlib.h function prototype syntax error?
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: setun...@gmail.com

Created attachment 174093
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=174093&action=edit
last 60 lines of redirected stdout/stderr of `make buildworld buildkernel`

During `make buildworld buildkernel`, compilation of stdlib.h and unistd.h
stops due to a compiler error.

Context:
An incorrect update occurred (updated kernel without updating world) and I am
therefore attempting to redo the process correctly.

Kernel version is 12.0 CURRENT, World version is 10.3 RELEASE (1003000).

CC is clang38, CXX is clang++38, CPP is clang-cpp38, all built from ports.

Indicate to me if this should be sent somewhere else (first bug report!).

Thanks in advance,

Daniel

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212177] unistd.h/stdlib.h function prototype syntax error?

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212177

--- Comment #1 from setun...@gmail.com ---
Additional details:

CPU is Intel Core i7-6500U (Skylake, amd64).

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212173

--- Comment #3 from Konstantin Belousov  ---
Please provide the minimal stand-alone example which does not require atf
infrastructure and still demonstrates the issue.  I will look at this after I
have convenient to use example.

We are not compliant WRT realtime signal choose for delivery, issignal(9)
selects the highest-numbered pending signal, while POSIX requires that
==
When multiple unblocked signals, all in the range SIGRTMIN to SIGRTMAX, are
pending, the behavior shall be as if the implementation delivers the pending
unblocked signal with the lowest signal number within that range. No other
ordering of signal delivery is specified.
=
This bit should be easy to fix.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212173

--- Comment #4 from Konstantin Belousov  ---
(In reply to Konstantin Belousov from comment #3)
No, I am wrong, we select from the lowest pending signal number, sorry.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212179] qlogic 24xx series read speed limit

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212179

Bug ID: 212179
   Summary: qlogic 24xx series read speed limit
   Product: Base System
   Version: 10.3-STABLE
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: mange...@hotmail.com

Qlogic 2464 (my own quad port HBA) target read speed limited with kernel driver
isp(4)

Multiple people are complaining of a issue with qlogic 24xx series cards
that the read speed in target mode is limited (+/-200MB/s) 
and write speed +/-390MB/s (which is okay). 

Its reported in freenas versions (based on freebsd) but freenas isn't
supporting target mode officially.they tested it and confirmed the issue an
they told me it solved by setting link to point-to-point (which didn't help).
they also confirmed that te issue isn't with 25xx cards...


https://bugs.freenas.org/attachments/6577/screenshot2.png
https://bugs.freenas.org/attachments/6576/screenshot.png

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212173] SIGINT is only delivered once with sigqueue_test:sigqueue_rt

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212173

--- Comment #5 from Konstantin Belousov  ---
If my reading of the code is right, the count of actually delivered signals is
7, which coincides with the signals[] array size.  In your printfs, signo 2 ==
SIGINT is listed twice, as it should be.  The ndelivered value is 6, it is set
to the return value of sigorder() and sigorder() returned 6.

sigorder() seems to try to eliminate duplicates for signals < SIGRTMIN, which
means that two SIGINTs are merged into one entry in the 'ordered' array.  This
is exactly what you see.

OTOH, FreeBSD behaviour is to treat all signals as realtime while there is no
mem shortage and siginfo can be allocated.  In particular, signals < SIGRTMIN
are not collapsed when queued more than once.

I.e. the test behaviour is exactly opposite to what you claimed in the bug
description.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 207999] Screen goes black when loaded i915kms

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207999

Joe Maloney  changed:

   What|Removed |Added

 CC||jpm...@gmail.com

--- Comment #1 from Joe Maloney  ---
I can confirm this behavior when booted using BIOS mode.  VT works fine after
KMS is loaded using EFI mode.  I can confirm this with nvidia-modeset, and
radeomkms as well.  All work fine when using EFI.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 210647] readeonkms black screen on amd fusion with APU + GPU

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210647

Joe Maloney  changed:

   What|Removed |Added

 CC||jpm...@gmail.com

--- Comment #1 from Joe Maloney  ---
I can confirm this behavior when booted using BIOS mode.  VT works fine after
KMS is loaded using EFI mode.  I can confirm this with nvidia-modeset, and
intelkms as well.  All work fine when using EFI.  This may be related to:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207999

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 207999] Screen goes black when loaded i915kms

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207999

--- Comment #2 from Joe Maloney  ---
I think this may be related to:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210647

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 203349] [META] FreeBSD Foundation sponsored project dependencies for FreeBSD 11.0

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203349

Ed Maste  changed:

   What|Removed |Added

 Depends on||212184


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212184
[Bug 212184] ThunderX has no time of day clock
-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212184] ThunderX has no time of day clock

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212184

Bug ID: 212184
   Summary: ThunderX has no time of day clock
   Product: Base System
   Version: CURRENT
  Hardware: arm64
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: kern
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: ema...@freebsd.org
Blocks: 203349

Reported by clusteradm during provisioning of the ThunderX package build
machines: "warning: no time-of-day clock registered, system time will not be
set accurately"

Likely we can get the time from EFI runtime services - there's old ia64 code in
sys/ia64/ia64/efi.c


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203349
[Bug 203349] [META] FreeBSD Foundation sponsored project dependencies for
FreeBSD 11.0
-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 203349] [META] FreeBSD Foundation sponsored project dependencies for FreeBSD 11.0

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203349
Bug 203349 depends on bug 212184, which changed state.

Bug 212184 Summary: ThunderX has no time of day clock
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212184

   What|Removed |Added

 Status|New |Closed
 Resolution|--- |DUPLICATE

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212184] ThunderX has no time of day clock

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212184

Ed Maste  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|New |Closed

--- Comment #1 from Ed Maste  ---


*** This bug has been marked as a duplicate of bug 212185 ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 203349] [META] FreeBSD Foundation sponsored project dependencies for FreeBSD 11.0

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203349

Ed Maste  changed:

   What|Removed |Added

 Depends on||212185


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212185
[Bug 212185] The aarch64 EFI kernel does not get/set the EFI clock
-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212185] The aarch64 EFI kernel does not get/set the EFI clock

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212185

Andrew Turner  changed:

   What|Removed |Added

   Hardware|Any |arm64
 CC||and...@freebsd.org,
   ||i...@freebsd.org
  Component|arm |kern
   Assignee|freebsd-...@freebsd.org |freebsd-bugs@FreeBSD.org

--- Comment #2 from Andrew Turner  ---
Warner has patches to start supporting the runtime services, but these would
need testing on arm64.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212185] The aarch64 EFI kernel does not get/set the EFI clock

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212185

Andrew Turner  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|and...@freebsd.org

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 212189] gptzfsboot error booting to zfsroot after installation

2016-08-26 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212189

Bug ID: 212189
   Summary: gptzfsboot error booting to zfsroot after installation
   Product: Base System
   Version: 11.0-RC1
  Hardware: amd64
OS: Any
Status: New
  Severity: Affects Some People
  Priority: ---
 Component: bin
  Assignee: freebsd-bugs@FreeBSD.org
  Reporter: cpfor...@starlake.org
CC: freebsd-am...@freebsd.org
CC: freebsd-am...@freebsd.org

After installing 11.0-RC1 onto a zfs root (either mirrored or a single disk
stripe) I get the following errors:

gptzfsboot: error 128 lba 488281248
gptzfsboot: error 128 lba 1
gptzfsboot: error 128 lba 488281248
gptzfsboot: error 128 lba 1
gptzfsboot: No ZFS pools located, can't boot

This is on a Dell T3400 with 2 250GB SATA drives.  It does not support EFI

This same machine has no problems with a zfs mirror root with 10.3.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"