panic with if_iwi(4) upon "netif restart"

2012-05-06 Thread Alexey Dokuchaev
Folks,

Weird panic occurs to me here with iwi(4) based laptop when trying to hook
up to WPA-protected network with "service netif restart".  Kernel and
userland are not strictly in sync, with the latter lagging behind couple
of months, but presumably this fact should not matter on stable branch.

I was only able to get online by manually running wpa_supplicant(8) and
dhclient(8).  if_iwi(4) loaded after system fully boots (i.e. manually after
login).

# kgdb /boot/kernel/kernel /var/crash/vmcore.0
...
(kgdb) bt
#0  doadump () at pcpu.h:231
#1  0xc045cc37 in db_fncall (dummy1=1, dummy2=0, dummy3=-1065923936,
dummy4=0xe787e8a4 "") at /home/danfe/fbsd/src/8/sys/ddb/db_command.c:548
#2  0xc045d014 in db_command (last_cmdp=0xc071a0fc, cmd_table=0x0, dopager=1)
at /home/danfe/fbsd/src/8/sys/ddb/db_command.c:445
#3  0xc045d152 in db_command_loop ()
at /home/danfe/fbsd/src/8/sys/ddb/db_command.c:498
#4  0xc045ef0e in db_trap (type=12, code=0)
at /home/danfe/fbsd/src/8/sys/ddb/db_main.c:229
#5  0xc051009e in kdb_trap (type=12, code=0, tf=0xe787eb1c)
at /home/danfe/fbsd/src/8/sys/kern/subr_kdb.c:548
#6  0xc06789ef in trap_fatal (frame=0xe787eb1c, eva=3319362005)
at /home/danfe/fbsd/src/8/sys/i386/i386/trap.c:972
#7  0xc0678d56 in trap_pfault (frame=0xe787eb1c, usermode=0, eva=3319362005)
at /home/danfe/fbsd/src/8/sys/i386/i386/trap.c:894
#8  0xc0679bba in trap (frame=0xe787eb1c)
at /home/danfe/fbsd/src/8/sys/i386/i386/trap.c:562
#9  0xc06643cc in calltrap ()
at /home/danfe/fbsd/src/8/sys/i386/i386/exception.s:168
#10 0xc5cf0b48 in iwi_auth_and_assoc (sc=0xc521e800, vap=0xc5bf9000)
at /home/danfe/fbsd/src/8/sys/modules/iwi/../../dev/iwi/if_iwi.c:2888
#11 0xc5cf125c in iwi_newstate (vap=0xc5bf9000, nstate=IEEE80211_S_AUTH,
arg=192)
at /home/danfe/fbsd/src/8/sys/modules/iwi/../../dev/iwi/if_iwi.c:1005
#12 0xc5d15848 in ieee80211_newstate_cb (xvap=0xc5bf9000, npending=1)
at 
/home/danfe/fbsd/src/8/sys/modules/wlan/../../net80211/ieee80211_proto.c:1652
#13 0xc051abfe in taskqueue_run_locked (queue=0xc5c432c0)
at /home/danfe/fbsd/src/8/sys/kern/subr_taskqueue.c:250
#14 0xc051b222 in taskqueue_thread_loop (arg=0xc54e2074)
at /home/danfe/fbsd/src/8/sys/kern/subr_taskqueue.c:387
#15 0xc04b6eb9 in fork_exit (callout=0xc051b1a0 ,
arg=0xc54e2074, frame=0xe787ed28)
at /home/danfe/fbsd/src/8/sys/kern/kern_fork.c:876
#16 0xc0664474 in fork_trampoline ()
at /home/danfe/fbsd/src/8/sys/i386/i386/exception.s:275
(kgdb) f 11
#11 0xc5cf125c in iwi_newstate (vap=0xc5bf9000, nstate=IEEE80211_S_AUTH,
arg=192)
at /home/danfe/fbsd/src/8/sys/modules/iwi/../../dev/iwi/if_iwi.c:1005
1005iwi_auth_and_assoc(sc, vap);
(kgdb) l
1000 * for the ASSOC status to come back from the firmware.
1001 * Otherwise we need to issue the association request.
1002 */
1003if (vap->iv_state == IEEE80211_S_AUTH)
1004break;
1005iwi_auth_and_assoc(sc, vap);
1006break;
1007default:
1008break;
1009}
(kgdb) f 10
#10 0xc5cf0b48 in iwi_auth_and_assoc (sc=0xc521e800, vap=0xc5bf9000)
at /home/danfe/fbsd/src/8/sys/modules/iwi/../../dev/iwi/if_iwi.c:2888
2888rs.nrates = ni->ni_rates.rs_nrates;
(kgdb) l
2883
2884/* the rate set has already been "negotiated" */
2885memset(&rs, 0, sizeof rs);
2886rs.mode = mode;
2887rs.type = IWI_RATESET_TYPE_NEGOTIATED;
2888rs.nrates = ni->ni_rates.rs_nrates;
2889if (rs.nrates > IWI_RATESET_SIZE) {
2890DPRINTF(("Truncating negotiated rate set from %u\n",
2891rs.nrates));
2892rs.nrates = IWI_RATESET_SIZE;

Feel free to ask for more information.

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


[releng_7 tinderbox] failure on amd64/amd64

2012-05-06 Thread FreeBSD Tinderbox
TB --- 2012-05-06 17:30:00 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca
TB --- 2012-05-06 17:30:00 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-05-06 17:30:00 - starting RELENG_7 tinderbox run for amd64/amd64
TB --- 2012-05-06 17:30:00 - cleaning the object tree
TB --- 2012-05-06 17:30:00 - cvsupping the source tree
TB --- 2012-05-06 17:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_7/amd64/amd64/supfile
TB --- 2012-05-06 17:35:30 - building world
TB --- 2012-05-06 17:35:30 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 17:35:30 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 17:35:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 17:35:30 - SRCCONF=/dev/null
TB --- 2012-05-06 17:35:30 - TARGET=amd64
TB --- 2012-05-06 17:35:30 - TARGET_ARCH=amd64
TB --- 2012-05-06 17:35:30 - TZ=UTC
TB --- 2012-05-06 17:35:30 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 17:35:30 - cd /src
TB --- 2012-05-06 17:35:30 - /usr/bin/make -B buildworld
>>> World build started on Sun May  6 17:35:30 UTC 2012
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> stage 5.1: building 32 bit shim libraries
>>> World build completed on Sun May  6 18:29:13 UTC 2012
TB --- 2012-05-06 18:29:13 - generating LINT kernel config
TB --- 2012-05-06 18:29:13 - cd /src/sys/amd64/conf
TB --- 2012-05-06 18:29:13 - /usr/bin/make -B LINT
TB --- 2012-05-06 18:29:13 - cd /src/sys/amd64/conf
TB --- 2012-05-06 18:29:13 - /usr/sbin/config -m LINT
TB --- 2012-05-06 18:29:13 - building LINT kernel
TB --- 2012-05-06 18:29:13 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 18:29:13 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 18:29:13 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 18:29:13 - SRCCONF=/dev/null
TB --- 2012-05-06 18:29:13 - TARGET=amd64
TB --- 2012-05-06 18:29:13 - TARGET_ARCH=amd64
TB --- 2012-05-06 18:29:13 - TZ=UTC
TB --- 2012-05-06 18:29:13 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 18:29:13 - cd /src
TB --- 2012-05-06 18:29:13 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun May  6 18:29:13 UTC 2012
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue 
/src/sys/cam/cam_queue.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue 
/src/sys/cam/cam_sim.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes 
-Wpointer-arith -Winline -Wcast-qual  -Wundef -Wno-pointer-sign 
-fformat-extensions -nostdinc  -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF 
-fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone  
-mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue 
/src/sys/cam/cam_xpt.c
cc -c -O2 -fren

[releng_7 tinderbox] failure on ia64/ia64

2012-05-06 Thread FreeBSD Tinderbox
TB --- 2012-05-06 17:30:00 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca
TB --- 2012-05-06 17:30:00 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-05-06 17:30:00 - starting RELENG_7 tinderbox run for ia64/ia64
TB --- 2012-05-06 17:30:00 - cleaning the object tree
TB --- 2012-05-06 17:30:00 - cvsupping the source tree
TB --- 2012-05-06 17:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_7/ia64/ia64/supfile
TB --- 2012-05-06 17:35:30 - building world
TB --- 2012-05-06 17:35:30 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 17:35:30 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 17:35:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 17:35:30 - SRCCONF=/dev/null
TB --- 2012-05-06 17:35:30 - TARGET=ia64
TB --- 2012-05-06 17:35:30 - TARGET_ARCH=ia64
TB --- 2012-05-06 17:35:30 - TZ=UTC
TB --- 2012-05-06 17:35:30 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 17:35:30 - cd /src
TB --- 2012-05-06 17:35:30 - /usr/bin/make -B buildworld
>>> World build started on Sun May  6 17:35:31 UTC 2012
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sun May  6 18:26:27 UTC 2012
TB --- 2012-05-06 18:26:27 - generating LINT kernel config
TB --- 2012-05-06 18:26:27 - cd /src/sys/ia64/conf
TB --- 2012-05-06 18:26:27 - /usr/bin/make -B LINT
TB --- 2012-05-06 18:26:27 - cd /src/sys/ia64/conf
TB --- 2012-05-06 18:26:27 - /usr/sbin/config -m LINT
TB --- 2012-05-06 18:26:27 - building LINT kernel
TB --- 2012-05-06 18:26:27 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 18:26:27 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 18:26:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 18:26:27 - SRCCONF=/dev/null
TB --- 2012-05-06 18:26:27 - TARGET=ia64
TB --- 2012-05-06 18:26:27 - TARGET_ARCH=ia64
TB --- 2012-05-06 18:26:27 - TZ=UTC
TB --- 2012-05-06 18:26:27 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 18:26:27 - cd /src
TB --- 2012-05-06 18:26:27 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun May  6 18:26:27 UTC 2012
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/cam/cam_queue.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/cam/cam_sim.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpic -ffreestanding -Werror  /src/sys/cam/cam_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src 
-D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=15000 --param inline-unit-growth=100 --param 
large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 
-mfixed-range=f32-f127 -fpi

[releng_7 tinderbox] failure on sparc64/sparc64

2012-05-06 Thread FreeBSD Tinderbox
TB --- 2012-05-06 17:30:00 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca
TB --- 2012-05-06 17:30:00 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-05-06 17:30:00 - starting RELENG_7 tinderbox run for sparc64/sparc64
TB --- 2012-05-06 17:30:00 - cleaning the object tree
TB --- 2012-05-06 17:30:00 - cvsupping the source tree
TB --- 2012-05-06 17:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_7/sparc64/sparc64/supfile
TB --- 2012-05-06 17:35:30 - building world
TB --- 2012-05-06 17:35:30 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 17:35:30 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 17:35:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 17:35:30 - SRCCONF=/dev/null
TB --- 2012-05-06 17:35:30 - TARGET=sparc64
TB --- 2012-05-06 17:35:30 - TARGET_ARCH=sparc64
TB --- 2012-05-06 17:35:30 - TZ=UTC
TB --- 2012-05-06 17:35:30 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 17:35:30 - cd /src
TB --- 2012-05-06 17:35:30 - /usr/bin/make -B buildworld
>>> World build started on Sun May  6 17:35:30 UTC 2012
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sun May  6 18:14:47 UTC 2012
TB --- 2012-05-06 18:14:47 - generating LINT kernel config
TB --- 2012-05-06 18:14:47 - cd /src/sys/sparc64/conf
TB --- 2012-05-06 18:14:47 - /usr/bin/make -B LINT
TB --- 2012-05-06 18:14:47 - cd /src/sys/sparc64/conf
TB --- 2012-05-06 18:14:47 - /usr/sbin/config -m LINT
TB --- 2012-05-06 18:14:47 - building LINT kernel
TB --- 2012-05-06 18:14:47 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 18:14:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 18:14:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 18:14:47 - SRCCONF=/dev/null
TB --- 2012-05-06 18:14:47 - TARGET=sparc64
TB --- 2012-05-06 18:14:47 - TARGET_ARCH=sparc64
TB --- 2012-05-06 18:14:47 - TZ=UTC
TB --- 2012-05-06 18:14:47 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 18:14:47 - cd /src
TB --- 2012-05-06 18:14:47 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun May  6 18:14:47 UTC 2012
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  /src/sys/cam/cam_queue.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  /src/sys/cam/cam_sim.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  /src/sys/cam/cam_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-mcmodel=medany -msoft-float -ffreestanding -Werror  
/src/sys/cam/scsi/scsi_all.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wca

[releng_7 tinderbox] failure on i386/i386

2012-05-06 Thread FreeBSD Tinderbox
TB --- 2012-05-06 17:30:00 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca
TB --- 2012-05-06 17:30:00 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-05-06 17:30:00 - starting RELENG_7 tinderbox run for i386/i386
TB --- 2012-05-06 17:30:00 - cleaning the object tree
TB --- 2012-05-06 17:30:00 - cvsupping the source tree
TB --- 2012-05-06 17:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_7/i386/i386/supfile
TB --- 2012-05-06 17:30:49 - building world
TB --- 2012-05-06 17:30:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 17:30:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 17:30:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 17:30:49 - SRCCONF=/dev/null
TB --- 2012-05-06 17:30:49 - TARGET=i386
TB --- 2012-05-06 17:30:49 - TARGET_ARCH=i386
TB --- 2012-05-06 17:30:49 - TZ=UTC
TB --- 2012-05-06 17:30:49 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 17:30:49 - cd /src
TB --- 2012-05-06 17:30:49 - /usr/bin/make -B buildworld
>>> World build started on Sun May  6 17:30:49 UTC 2012
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sun May  6 18:10:59 UTC 2012
TB --- 2012-05-06 18:10:59 - generating LINT kernel config
TB --- 2012-05-06 18:10:59 - cd /src/sys/i386/conf
TB --- 2012-05-06 18:10:59 - /usr/bin/make -B LINT
TB --- 2012-05-06 18:10:59 - cd /src/sys/i386/conf
TB --- 2012-05-06 18:10:59 - /usr/sbin/config -m LINT
TB --- 2012-05-06 18:10:59 - building LINT kernel
TB --- 2012-05-06 18:10:59 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 18:10:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 18:10:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 18:10:59 - SRCCONF=/dev/null
TB --- 2012-05-06 18:10:59 - TARGET=i386
TB --- 2012-05-06 18:10:59 - TARGET_ARCH=i386
TB --- 2012-05-06 18:10:59 - TZ=UTC
TB --- 2012-05-06 18:10:59 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 18:10:59 - cd /src
TB --- 2012-05-06 18:10:59 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun May  6 18:10:59 UTC 2012
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer 
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue 
/src/sys/cam/cam_queue.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer 
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue 
/src/sys/cam/cam_sim.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer 
-mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow 
-mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Werror -pg -mprofiler-epilogue 
/src/sys/cam/cam_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-ext

[releng_7 tinderbox] failure on powerpc/powerpc

2012-05-06 Thread FreeBSD Tinderbox
TB --- 2012-05-06 17:30:00 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca
TB --- 2012-05-06 17:30:00 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-05-06 17:30:00 - starting RELENG_7 tinderbox run for powerpc/powerpc
TB --- 2012-05-06 17:30:00 - cleaning the object tree
TB --- 2012-05-06 17:30:00 - cvsupping the source tree
TB --- 2012-05-06 17:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_7/powerpc/powerpc/supfile
TB --- 2012-05-06 17:30:49 - building world
TB --- 2012-05-06 17:30:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 17:30:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 17:30:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 17:30:49 - SRCCONF=/dev/null
TB --- 2012-05-06 17:30:49 - TARGET=powerpc
TB --- 2012-05-06 17:30:49 - TARGET_ARCH=powerpc
TB --- 2012-05-06 17:30:49 - TZ=UTC
TB --- 2012-05-06 17:30:49 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 17:30:49 - cd /src
TB --- 2012-05-06 17:30:49 - /usr/bin/make -B buildworld
>>> World build started on Sun May  6 17:30:49 UTC 2012
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sun May  6 18:11:38 UTC 2012
TB --- 2012-05-06 18:11:38 - generating LINT kernel config
TB --- 2012-05-06 18:11:38 - cd /src/sys/powerpc/conf
TB --- 2012-05-06 18:11:38 - /usr/bin/make -B LINT
TB --- 2012-05-06 18:11:38 - cd /src/sys/powerpc/conf
TB --- 2012-05-06 18:11:38 - /usr/sbin/config -m LINT
TB --- 2012-05-06 18:11:38 - building LINT kernel
TB --- 2012-05-06 18:11:38 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 18:11:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 18:11:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 18:11:38 - SRCCONF=/dev/null
TB --- 2012-05-06 18:11:38 - TARGET=powerpc
TB --- 2012-05-06 18:11:38 - TARGET_ARCH=powerpc
TB --- 2012-05-06 18:11:38 - TZ=UTC
TB --- 2012-05-06 18:11:38 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 18:11:38 - cd /src
TB --- 2012-05-06 18:11:38 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun May  6 18:11:38 UTC 2012
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/cam/cam_queue.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/cam/cam_sim.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/cam/cam_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=15000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin 
-msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding 
-Werror  /src/sys/cam/scsi/scsi_all.c
cc -c -O2 -pipe -fno-st

[releng_7 tinderbox] failure on i386/pc98

2012-05-06 Thread FreeBSD Tinderbox
TB --- 2012-05-06 17:30:00 - tinderbox 2.9 running on freebsd-legacy2.sentex.ca
TB --- 2012-05-06 17:30:00 - FreeBSD freebsd-legacy2.sentex.ca 9.0-RELEASE 
FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012 
r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2012-05-06 17:30:00 - starting RELENG_7 tinderbox run for i386/pc98
TB --- 2012-05-06 17:30:00 - cleaning the object tree
TB --- 2012-05-06 17:30:00 - cvsupping the source tree
TB --- 2012-05-06 17:30:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca 
/tinderbox/RELENG_7/i386/pc98/supfile
TB --- 2012-05-06 17:30:49 - building world
TB --- 2012-05-06 17:30:49 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 17:30:49 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 17:30:49 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 17:30:49 - SRCCONF=/dev/null
TB --- 2012-05-06 17:30:49 - TARGET=pc98
TB --- 2012-05-06 17:30:49 - TARGET_ARCH=i386
TB --- 2012-05-06 17:30:49 - TZ=UTC
TB --- 2012-05-06 17:30:49 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 17:30:49 - cd /src
TB --- 2012-05-06 17:30:49 - /usr/bin/make -B buildworld
>>> World build started on Sun May  6 17:30:49 UTC 2012
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Sun May  6 18:10:28 UTC 2012
TB --- 2012-05-06 18:10:28 - generating LINT kernel config
TB --- 2012-05-06 18:10:28 - cd /src/sys/pc98/conf
TB --- 2012-05-06 18:10:28 - /usr/bin/make -B LINT
TB --- 2012-05-06 18:10:28 - cd /src/sys/pc98/conf
TB --- 2012-05-06 18:10:28 - /usr/sbin/config -m LINT
TB --- 2012-05-06 18:10:28 - building LINT kernel
TB --- 2012-05-06 18:10:28 - CROSS_BUILD_TESTING=YES
TB --- 2012-05-06 18:10:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2012-05-06 18:10:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2012-05-06 18:10:28 - SRCCONF=/dev/null
TB --- 2012-05-06 18:10:28 - TARGET=pc98
TB --- 2012-05-06 18:10:28 - TARGET_ARCH=i386
TB --- 2012-05-06 18:10:28 - TZ=UTC
TB --- 2012-05-06 18:10:28 - __MAKE_CONF=/dev/null
TB --- 2012-05-06 18:10:28 - cd /src
TB --- 2012-05-06 18:10:28 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Sun May  6 18:10:29 UTC 2012
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/cam/cam_queue.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/cam/cam_sim.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS 
-include opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000 -DGPROF 
-falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 
-ffreestanding  -pg -mprofiler-epilogue /src/sys/cam/cam_xpt.c
cc -c -O2 -pipe -fno-strict-aliasing  -std=c99  -Wall -Wredundant-decls 
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith 
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc  
-I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADER

Re: Make filesystem type configurable for periodic(8)?

2012-05-06 Thread Jason Hellenthal


On Sun, May 06, 2012 at 11:20:42AM +0300, Daniel Kalchev wrote:
> 
> On May 4, 2012, at 7:05 PM, Freddie Cash wrote:
> 
> > A few of the periodic(8) scripts in FreeBSD have constructs similar to
> > the following to get which filesystems to scan for various things:
> >MP=`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'`
> > 
> > For systems with large ZFS pools, and many ZFS filesystems, these
> > periodic scripts can grind it to its knees, and then some.  For
> > backups servers where we don't really care about the
> > ownership/permissions of files from the FreeBSD perspective, we really
> > don't want the ZFS filesytems to be scanned; 
> […]
> 
> The script already accommodates this scenario. Just mount your storage 
> filesystems with 'nosuidexec' and they won't be scanned. 
> 

You all may be interested in this [1] but I have not touched it in a
while and backed it out of a working source tree about a month ago so I
am no longer tracking it. But last I used it, it was working cleanly.

Configuration was like so...
daily_status_security_chknoid_enable="YES"
daily_status_security_chknoid_dirs="/ /home /tmp /var /usr/local"

The same thing should also be done for anything that traverses multiple
filesystems by default configuration and reporting output should remain
consistent. The current reporting format of these scripts is nearly
rediculous in its current use of diff(1).


1).
http://code.google.com/p/jhell/source/browse/340.noid.patch?repo=patches

-- 

 - (2^(N-1))


pgpynu62gVQ1d.pgp
Description: PGP signature


Re: Make filesystem type configurable for periodic(8)?

2012-05-06 Thread Daniel Kalchev

On May 4, 2012, at 7:05 PM, Freddie Cash wrote:

> A few of the periodic(8) scripts in FreeBSD have constructs similar to
> the following to get which filesystems to scan for various things:
>MP=`mount -t ufs,zfs | awk '$0 !~ /no(suid|exec)/ { print $3 }'`
> 
> For systems with large ZFS pools, and many ZFS filesystems, these
> periodic scripts can grind it to its knees, and then some.  For
> backups servers where we don't really care about the
> ownership/permissions of files from the FreeBSD perspective, we really
> don't want the ZFS filesytems to be scanned; 
[…]

The script already accommodates this scenario. Just mount your storage 
filesystems with 'nosuidexec' and they won't be scanned. 

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