Marcus Reid | 26 Nov 19:06 2014

Delayed atime updates ("lazytime")

Hi,

Looks like Linux is about to grow another solution to handling atime
updates differently:

  http://lwn.net/SubscriberLink/621046/e59938475fd3e874/

In short, it will only write out atime changes periodically (daily), or
if there is another reason to write out the inode, or if the inode is
about to be pushed out of cache.  This seems like a pretty good
compromise.

Currently, the ZFS configuration that results from using bsdinstall
disables atime on all but /var/mail, which is the only example of
disabling atime by default that I'm aware of outside of Gentoo Linux.
I can't seem to find any information that talks about the rationale
behind that, though a couple things come to mind:

  - some additional IO generated (but that's always been the case)
  - additional wear on SSD devices (enough to compel the change?)
  - zfs snapshot growth (but the snapshot stops growing after one
    full set of inode updates)
  - wake up otherwise idle spinning media on a laptop (the actual reason
    that was cited as motivation for the change)

Something like lazytime would address most of those concerns, and people
who are even more OCD than that could disable atime completely on their
machine.

Marcus
(Continue reading)

Felix Palmen | 26 Nov 18:02 2014
Picon

iwn(4) crashing when wlan device is brought up, CA-N-6200

Hi all,

I just bought a Centrino Advanced N-6200 mini-pcie card because it should be 
supported by iwn(4) -- unfortunately it leads to a kernel panic the instant I 
try to do

# ifconfig wlan0 up

The creation of wlan0 on top of iwn0 works. Here are the (I hope) most 
relevant exerpts from core.txt:

FreeBSD photon.home.palmen-it.de 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r275075: 
Wed Nov 26 11:06:23 CET 2014     root <at> photon.home.palmen-
it.de:/usr/obj/usr/src/sys/NODEBUG  amd64

dmesg:
[...]
iwn0: <Intel Centrino Advanced-N 6200> mem 0xf0200000-0xf0201fff at device 0.0 
on pci1
wlan0: Ethernet address: 00:27:c1:03:a0:89
iwn0: iwn_read_firmware: ucode rev=0x09dd0401
iwn0: iwn_intr: fatal firmware error
iwn_fatal_intr: bad firmware error log address 0x00000000
iwn0: iwn_panicked: controller panicked, iv_state = 0; resetting...
iwn0: iwn_read_firmware: ucode rev=0x09dd0401
iwn0: iwn_hw_init: timeout waiting for adapter to initialize, error 35
iwn0: iwn_init_locked: could not initialize hardware, error 35
iwn0: iwn5000_post_alive: could not configure WiMAX coexistence, error 35

Fatal trap 12: page fault while in kernel mode
(Continue reading)

jenkins-admin | 26 Nov 07:40 2014
Picon

Build failed in Jenkins: Build-UFS-image #507

See <https://jenkins.freebsd.org/job/Build-UFS-image/507/>

------------------------------------------
[...truncated 5333 lines...]
install -o root -g wheel -m 444 nv.3.gz 
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/libnv.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist_create.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist_destroy.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist_error.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist_empty.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist_clone.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nvlist_dump.3.gz>
->
<https://jenkins.freebsd.org/job/Build-UFS-image/ws/package/FreeBSD_HEAD/usr/share/man/man3/nv.3.gz>
(Continue reading)

jenkins-admin | 25 Nov 06:25 2014
Picon

Jenkins build became unstable: FreeBSD_HEAD-tests2 #311

See <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-tests2/311/>

_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

jenkins-admin | 25 Nov 02:10 2014
Picon

Build failed in Jenkins: FreeBSD_HEAD #1909

See <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1909/changes>

Changes:

[bapt] Do not overwrite any LIBNETBSD or LIBNETBSDDIR if they are already defined

[delphij] Fix build.

[bapt] Define special case for atf which libraries names are different from their
declaration

[bapt] s/cft/ctf

[bapt] Forgot to convert demandoc along with mandoc

[bapt] Fix typo

[bapt] Fix dependencies in case of building statically

[bapt] Avoid code duplication by directly adding _INSTALLLIBS and _PRIVATELIBS into
_LIBRARIES

Reported by:	emaste

[bapt] Each time something links to sqlite3 it should link to pthread

[bapt] Convert makefs to LIBADD

Add definition of libnetbsd in src.libnames.mk

(Continue reading)

jenkins-admin | 23 Nov 23:05 2014
Picon

Build failed in Jenkins: FreeBSD_HEAD #1900

See <https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD/1900/changes>

Changes:

[joel] Misc mdoc fixes:

- Remove superfluous paragraph macros.
- Remove/fix empty or incorrect macros.
- Sort sections into conventional order.
- Terminate quoted strings properly.
- Remove EOL whitespace.

[ian] Consider the negation operator (!) to be a word even if it is not followed
by whitespace.  This allows "optional !foo" which is what most programmers
are naturally going to tend to do as opposed to "optional ! foo".

[glebius] \n at end of panicstr is redundant.

Submitted by:	alc

[dim] Fix the following -Werror warning from clang 3.5.0, while building the
ath kernel module:

sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: error: taking the absolute value of unsigned type 'unsigned int' has no effect [-Werror,-Wabsolute-value]
                if (abs(lp[0] * EEP_SCALE - target) < EEP_DELTA) {
                    ^
sys/dev/ath/ah_osdep.h:74:18: note: expanded from macro 'abs'
#define abs(_a)         __builtin_abs(_a)
                        ^
sys/dev/ath/ath_hal/ar5212/ar5212_reset.c:2642:7: note: remove the call to '__builtin_abs' since unsigned values cannot be negative
(Continue reading)

Baptiste Daroussin | 23 Nov 20:10 2014
Picon

[RFC] Moving troff only documentation to the doc repository

Hi all,

I would like to move the troff documentation which is not very useful anymore on
a recent FreeBSD system but still part of history into the doc repository, a
dedicated branch will probably fit (anyone has an idea for the name of the
branch?)

FYI the troff only docs concern:
share/docs/{papers,psd,smm,usd}

Anyone has a concern about that?

Regards,
Bapt
Craig Rodrigues | 23 Nov 01:40 2014
Picon

Call for Help: openjdk8 tests under Continuous Integration

FYI,

https://lists.freebsd.org/pipermail/freebsd-testing/2014-November/000668.html

Please send followups to freebsd-testing <at> freebsd.org.

--
Craig
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

Baptiste Daroussin | 23 Nov 01:18 2014
Picon

[HEADSUP] man(1) now uses mandoc

Hi,

The default renderer on HEAD has been switched to mandoc(1) by default
The man(1) command has been instrumented to first test the manpage and fallback
on groff if the man page cannot be rendered with mandoc(1).

If base is built without groff then man(1) recommands to install groff from
packages.

makewhatis(1), apropos(1) have not yet been switched to mandoc(1) equivalent.

Best regards,
Bapt
Craig Rodrigues | 22 Nov 23:21 2014
Picon

Call for Help: Flame Graphs and Continuous Integration

FYI:

https://lists.freebsd.org/pipermail/freebsd-testing/2014-November/000667.html

Please send follow-ups to freebsd-testing <at> FreeBSD.org

--
Craig
_______________________________________________
freebsd-current <at> freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

Sean Bruno | 22 Nov 20:20 2014

zfs/vfs lockups, via poudriere

bdrewery reported a vfs/zfs condition where operations will stall out
and block (rm, mv, file) during a poudriere build.  I've hit this now
and it seems to be alleviated by setting vfs.lookup_shared=0

I seem to be able to trivially reproduce this on my builders and want to
know if anyone is looking to diagnose this further.

original message:
https://lists.freebsd.org/pipermail/freebsd-fs/2014-September/020035.html

On my builders I see:

procstat -kka | grep zfs

    0 100666 kernel           zfs_vn_rele_task mi_switch+0xe1 sleepq_wait+0x3a _sleep+0x2ad
taskqueue_thread_loop+0xf5 fork_exit+0x9a fork_trampoline+0xe 
    3 100151 zfskern          arc_reclaim_thre mi_switch+0xe1 sleepq_timedwait+0x3a _cv_timedwait_sbt+0x1ad
arc_reclaim_thread+0x288 fork_exit+0x9a fork_trampoline+0xe 
    3 100152 zfskern          l2arc_feed_threa mi_switch+0xe1 sleepq_timedwait+0x3a _cv_timedwait_sbt+0x1ad
l2arc_feed_thread+0x16f fork_exit+0x9a fork_trampoline+0xe 
    3 100657 zfskern          trim zroot       mi_switch+0xe1 sleepq_timedwait+0x3a _cv_timedwait_sbt+0x1ad
trim_thread+0x9e fork_exit+0x9a fork_trampoline+0xe 
    3 100675 zfskern          txg_thread_enter mi_switch+0xe1 sleepq_wait+0x3a _cv_wait+0x190
txg_quiesce_thread+0x39b fork_exit+0x9a fork_trampoline+0xe 
    3 100676 zfskern          txg_thread_enter mi_switch+0xe1 sleepq_timedwait+0x3a _cv_timedwait_sbt+0x1ad
txg_sync_thread+0x1dc fork_exit+0x9a fork_trampoline+0xe 
31071 100995 rm               -                mi_switch+0xe1 sleepq_wait+0x3a sleeplk+0x18d __lockmgr_args+0x9ab
vop_stdlock+0x3c VOP_LOCK1_APV+0xab _vn_lock+0x43 zfs_lookup+0x45d zfs_freebsd_lookup+0x6d
VOP_CACHEDLOOKUP_APV+0xa1 vfs_cache_lookup+0xd6 VOP_LOOKUP_APV+0xa1 lookup+0x5a1 namei+0x534
kern_rmdirat+0x8d amd64_syscall+0x3fb Xfast_syscall+0xfb 
(Continue reading)


Gmane