Re: RFC: Project geom-events
Hello, Alexander. You wrote 6 октября 2011 г., 1:34:33: > That works perfect for case when class (geom_raid) is known to work on > raw device. Other RAID classes can be used over partitions, so some care > should be taken to avoid false positives. Oh, yes... I see... >> I'm not sure here. > In that case it is helpful to include media size into the metadata. > Comparing that value with provider size during taste allows to avoid > these false positives. geom_mirror metadata include/check provider size > since version 3. Pity that MBR and probably others don't. Yep. > And what if class is not loaded/supported? There should be a way to > manage/clear that label. Most of classes have "clear" command which doesn't need loaded module and works completely from userland now (as "label" works from userland too for these classes). And, if such changes will be made, generic command to "geom" itself, without class at all, could be added -- of course, it will refuse to clear anything that doesn't start from "common" signature. -- // Black Lion AKA Lev Serebryakov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Hello, John-Mark. You wrote 6 октября 2011 г., 2:53:53: >>gmirror0 >> gstripe0 >>ada0 >>ada1 >> gstripe1 >>ada2 >>ada3 >> >> and administrator kills gstripe0, for example, geom_mirror will send >> event, because from its point of view it is not administrative >> action... >> But such situations, IMHO, are not very often ones. > Won't gmirror still report COMPLETE after a gmirror remove? So the I say "kill gstripe0", not "Remove gstripe0 from gmirror0", it is different situations. gmirror0 will be DEGRADED after this action, but will send DISCONNECT message with "fixable" state and it is state when geom-events(8) try to find replacement (spare). Exactly as when it lost component due to accident. If you say "gmirror remove", yes, it will be COMPLETE after it. > script can look at the gmirror device, and see that it is still > complete even though one of the providers were dropped and assume > it was an administrative command that did it.. Here is one problem: there is no STANDARD way to understand state of provider from userland, as it is GEOM-specific. "g${class} status ${geom}" prints almost free-form information. Not all classes names it "COMPLETE", and some classes (geom_raid, for example) could have many providers and many states, which adds complexity. So, to make it work this way I need to add knowledge about all classes and their output formats to geom-ecents(8). I don't think, that it is good design -- it is bad idea to put knowledge about GEOM classes in two places -- class itself and some script. It will hard to synchronize, etc. So, I think, GEOM class itself should decide and report its state in standard way. -- // Black Lion AKA Lev Serebryakov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on powerpc/powerpc
TB --- 2011-10-06 03:45:56 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-06 03:45:56 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-06 03:45:56 - cleaning the object tree TB --- 2011-10-06 03:46:08 - cvsupping the source tree TB --- 2011-10-06 03:46:08 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-06 03:46:31 - building world TB --- 2011-10-06 03:46:31 - CROSS_BUILD_TESTING=YES TB --- 2011-10-06 03:46:31 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-06 03:46:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-06 03:46:31 - SRCCONF=/dev/null TB --- 2011-10-06 03:46:31 - TARGET=powerpc TB --- 2011-10-06 03:46:31 - TARGET_ARCH=powerpc TB --- 2011-10-06 03:46:31 - TZ=UTC TB --- 2011-10-06 03:46:31 - __MAKE_CONF=/dev/null TB --- 2011-10-06 03:46:31 - cd /src TB --- 2011-10-06 03:46:31 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 6 03:46:32 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 05:34:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 05:34:17 - ERROR: failed to build world TB --- 2011-10-06 05:34:17 - 5186.42 user 913.09 system 6500.70 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on mips/mips
TB --- 2011-10-06 03:45:54 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-06 03:45:54 - starting HEAD tinderbox run for mips/mips TB --- 2011-10-06 03:45:54 - cleaning the object tree TB --- 2011-10-06 03:46:04 - cvsupping the source tree TB --- 2011-10-06 03:46:04 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-10-06 03:46:31 - building world TB --- 2011-10-06 03:46:31 - CROSS_BUILD_TESTING=YES TB --- 2011-10-06 03:46:31 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-06 03:46:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-06 03:46:31 - SRCCONF=/dev/null TB --- 2011-10-06 03:46:31 - TARGET=mips TB --- 2011-10-06 03:46:31 - TARGET_ARCH=mips TB --- 2011-10-06 03:46:31 - TZ=UTC TB --- 2011-10-06 03:46:31 - __MAKE_CONF=/dev/null TB --- 2011-10-06 03:46:31 - cd /src TB --- 2011-10-06 03:46:31 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 6 03:46:32 UTC 2011 >>> 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 [...] cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 04:38:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 04:38:50 - ERROR: failed to build world TB --- 2011-10-06 04:38:50 - 2239.57 user 625.60 system 3176.38 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on i386/pc98
TB --- 2011-10-06 01:50:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-06 01:50:00 - starting HEAD tinderbox run for i386/pc98 TB --- 2011-10-06 01:50:00 - cleaning the object tree TB --- 2011-10-06 01:50:15 - cvsupping the source tree TB --- 2011-10-06 01:50:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/pc98/supfile TB --- 2011-10-06 01:50:30 - building world TB --- 2011-10-06 01:50:30 - CROSS_BUILD_TESTING=YES TB --- 2011-10-06 01:50:30 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-06 01:50:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-06 01:50:30 - SRCCONF=/dev/null TB --- 2011-10-06 01:50:30 - TARGET=pc98 TB --- 2011-10-06 01:50:30 - TARGET_ARCH=i386 TB --- 2011-10-06 01:50:30 - TZ=UTC TB --- 2011-10-06 01:50:30 - __MAKE_CONF=/dev/null TB --- 2011-10-06 01:50:30 - cd /src TB --- 2011-10-06 01:50:30 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 6 01:50:30 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 03:45:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 03:45:56 - ERROR: failed to build world TB --- 2011-10-06 03:45:56 - 5606.59 user 980.11 system 6955.83 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on i386/i386
TB --- 2011-10-06 01:50:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-06 01:50:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-10-06 01:50:00 - cleaning the object tree TB --- 2011-10-06 01:50:15 - cvsupping the source tree TB --- 2011-10-06 01:50:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-10-06 01:50:30 - building world TB --- 2011-10-06 01:50:30 - CROSS_BUILD_TESTING=YES TB --- 2011-10-06 01:50:30 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-06 01:50:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-06 01:50:30 - SRCCONF=/dev/null TB --- 2011-10-06 01:50:30 - TARGET=i386 TB --- 2011-10-06 01:50:30 - TARGET_ARCH=i386 TB --- 2011-10-06 01:50:30 - TZ=UTC TB --- 2011-10-06 01:50:30 - __MAKE_CONF=/dev/null TB --- 2011-10-06 01:50:30 - cd /src TB --- 2011-10-06 01:50:30 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 6 01:50:31 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 03:45:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 03:45:53 - ERROR: failed to build world TB --- 2011-10-06 03:45:53 - 5612.12 user 962.29 system 6952.59 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
9.0-BETA3 lock order reversal in mount_smbfs
Attempting to mount a remote SMB share with mount_smbfs fails: freebsd9b3# uname -a FreeBSD freebsd9b3 9.0-BETA3 FreeBSD 9.0-BETA3 #0: Sat Sep 24 20:46:57 UTC 2011 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 freebsd9b3# mount_smbfs -I smbhost -U xxx -W domain //smbhost/xxx /mnt Password: mount_smbfs: unable to open connection: syserr = No such file or directory and displays the following kernel messages: smb_co_lock: recursive lock for object 1 lock order reversal: 1st 0xc2ef4608 smb_vc (smb_vc) @ /usr/src/sys/modules/smbfs/../../netsmb/smb_conn.c:325 2nd 0xc2ffbc28 smbsm (smbsm) @ /usr/src/sys/modules/smbfs/../../netsmb/smb_conn.c:348 KDB: stack backtrace: db_trace_self_wrapper(c0eff6ac,626d732f,2e2f7366,2e2e2f2e,74656e2f,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0a42bdb,c0f0300f,c29697b0,c29696e0,c76d298c,...) at kdb_backtrace+0x2a _witness_debugger(c0f0300f,c2ffbc28,c2ff93df,c29696e0,c2ff9320,...) at _witness_debugger+0x25 witness_checkorder(c2ffbc28,9,c2ff9320,15c,c2ffbc48,...) at witness_checkorder+0x839 __lockmgr_args(c2ffbc28,8,c2ffbc48,0,0,...) at __lockmgr_args+0x824 smb_co_lock(c2ffbc20,8,2,2,c76d2b30,...) at smb_co_lock+0x73 smb_co_gone(c2ef4600,c76d2b88,c76d2b88,c76d2aac,c2ad5b00,...) at smb_co_gone+0x34 smb_sm_lookup(c76d2ad8,c76d2b14,c76d2b88,c76d2b30,c29f041c,...) at smb_sm_lookup+0xf0 smb_usr_lookup(c29f0400,c76d2b88,c76d2b94,c76d2b90,c76d2b7c,...) at smb_usr_lookup+0x98 nsmb_dev_ioctl(c2f76700,82fc6e6a,c29f0400,3,c2fce8a0,...) at nsmb_dev_ioctl+0x1d9 giant_ioctl(c2f76700,82fc6e6a,c29f0400,3,c2fce8a0,...) at giant_ioctl+0x75 devfs_ioctl_f(c2d417a8,82fc6e6a,c29f0400,c2c05e00,c2fce8a0,...) at devfs_ioctl_f+0x10b kern_ioctl(c2fce8a0,3,82fc6e6a,c29f0400,6d2cec,...) at kern_ioctl+0x21d sys_ioctl(c2fce8a0,c76d2cec,c0f493b6,c0eebb0e,246,...) at sys_ioctl+0x134 syscall(c76d2d28) at syscall+0x284 Xint0x80_syscall() at Xint0x80_syscall+0x21 --- syscall (54, FreeBSD ELF32, sys_ioctl), eip = 0x28193283, esp = 0xbfbfe35c, ebp = 0xbfbfe688 --- Anything further I can do to help debug this problem? -- Bob ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on arm/arm
TB --- 2011-10-06 01:50:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-06 01:50:00 - starting HEAD tinderbox run for arm/arm TB --- 2011-10-06 01:50:00 - cleaning the object tree TB --- 2011-10-06 01:50:14 - cvsupping the source tree TB --- 2011-10-06 01:50:14 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2011-10-06 01:50:29 - building world TB --- 2011-10-06 01:50:29 - CROSS_BUILD_TESTING=YES TB --- 2011-10-06 01:50:29 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-06 01:50:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-06 01:50:29 - SRCCONF=/dev/null TB --- 2011-10-06 01:50:29 - TARGET=arm TB --- 2011-10-06 01:50:29 - TARGET_ARCH=arm TB --- 2011-10-06 01:50:29 - TZ=UTC TB --- 2011-10-06 01:50:29 - __MAKE_CONF=/dev/null TB --- 2011-10-06 01:50:29 - cd /src TB --- 2011-10-06 01:50:29 - /usr/bin/make -B buildworld >>> World build started on Thu Oct 6 01:50:30 UTC 2011 >>> 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 [...] cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 02:40:09 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 02:40:09 - ERROR: failed to build world TB --- 2011-10-06 02:40:09 - 2135.41 user 653.41 system 3008.42 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Experiences with FreeBSD 9.0-BETA2
Hi, On Wed, Oct 5, 2011 at 9:46 PM, David O'Brien wrote: > On Mon, Sep 26, 2011 at 07:48:23PM -0400, Benjamin Kaduk wrote: >> My recollection is that this is because kensmith forgot to take >> 'makeoptions DEBUG=-g' out of GENERIC when branching stable/8, and no one >> noticed until a couple of releases in, at which point it seemed consistent >> with POLA to just keep it there. Unfortunately I am not having much luck >> digging through mail archives trying to confirm that. >> I don't remember whether the plan was to turn it off on stable/9 or not. > > When I split out the symbols from the kernel, the intention was to always > build with -g so users would have the symbols to help debug reported > problems. > > If one was running a stock release kernel, they are not needed as we know > where to find them -- the intention was to have a kernel-symbols tarball > that was an option install. > > I pretty strongly feel that -g should not be removed from stable/9's > kernel configs. Otherwise we're more in the dark when folks report > problems from tracking -STABLE. > I agree on everything. I already sent the patch to install .symbols files in a separate directory. I'm waiting for its inclusion before looking at the logic to create separate package. - Arnaud ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
Ali Mashtizadeh writes: > 2011/8/31 Alexey Dokuchaev : >> On Mon, Aug 29, 2011 at 02:59:48PM +0200, Olivier Smedts wrote: >>> 2011/8/29 ken : >>> > Could I test your patch for nvidia-driver, too? >>> > I cannot find your patch in this mail. >>> >>> I took the patch in : >>> http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026515.html >>> >>> And it worked for me. >> >> Should be fixed in the port itself now (also updated to 280.13). > > Is there any reason I should still be hitting this bug when building > on 9-STABLE? With Linux compatibility disabled I can build the driver, > but the kernel refuses to load it saying it's incompatible with my > kernel version. Only if you're using 285.05.09 with the port. And it'd affect both /stable/9 and /head users. // from src/nv-freebsd.h: #if __FreeBSD_version >= 900041 #include #else #define fget(td, fd, cap, fp) fget(td, fd, fp) #endif --- Begin Message --- Can you commit below tiny change? It should make testing the new version a bit easier for people who are impatient to wait for the next port update. That version also includes tunable support similar to ports/156386. $ make [...] nvidia_linux.c:40:51: error: too many arguments to function call, expected 4, have 5 if ((error = fget(td, args->fd, CAP_IOCTL, 0, &fp)) != 0) ^~~ @/sys/file.h:186:1: note: 'fget' declared here int fget(struct thread *td, int fd, cap_rights_t rights, struct file **fpp); ^ 1 error generated. Index: x11/nvidia-driver/Makefile === RCS file: /a/.csup/ports/x11/nvidia-driver/Makefile,v retrieving revision 1.109 diff -u -p -r1.109 Makefile --- x11/nvidia-driver/Makefile 31 Aug 2011 12:30:24 - 1.109 +++ x11/nvidia-driver/Makefile 4 Oct 2011 05:33:52 - @@ -112,7 +113,7 @@ post-patch: .SILENT ${REINPLACE_CMD} -e 's/status != status/status != RM_OK/' \ ${WRKSRC}/src/nvidia_os.c # Fix the build after fget(9) KPI was changed in r224778 -.if ${OSVERSION} > 900040 && ${NVVERSION} >= 1952200 +.if ${OSVERSION} > 900040 && ${NVVERSION} >= 1952200 && ${NVVERSION} < 2850509 ${REINPLACE_CMD} -e '/fget/s/&fp/0, &/' ${WRKSRC}/src/nvidia_linux.c .endif .if defined(WITH_FREEBSD_AGP) --- End Message --- ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Experiences with FreeBSD 9.0-BETA2
On Mon, Sep 26, 2011 at 07:48:23PM -0400, Benjamin Kaduk wrote: > My recollection is that this is because kensmith forgot to take > 'makeoptions DEBUG=-g' out of GENERIC when branching stable/8, and no one > noticed until a couple of releases in, at which point it seemed consistent > with POLA to just keep it there. Unfortunately I am not having much luck > digging through mail archives trying to confirm that. > I don't remember whether the plan was to turn it off on stable/9 or not. When I split out the symbols from the kernel, the intention was to always build with -g so users would have the symbols to help debug reported problems. If one was running a stock release kernel, they are not needed as we know where to find them -- the intention was to have a kernel-symbols tarball that was an option install. I pretty strongly feel that -g should not be removed from stable/9's kernel configs. Otherwise we're more in the dark when folks report problems from tracking -STABLE. -- -- David (obr...@freebsd.org) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Strange ZFS filesystem corruption
On Oct 5, 2011, at 9:03 AM, krad wrote: > Have you dont the simple thing and checked to see if you have any weird > whitespace in the dir names. Try using bash tab completion for the dir name. > Also drop all non bash completion rules as these might be messing things up. > > I have seen odd characters in dirs cause much confusion in the past. I don't believe that is the problem in this case. An "ls" will list the file but "ls -l" reports "no such file or directory:" tape# ls 05DLAAdmin 07DLAAdmin tape# ls -l ls: 05DLAAdmin: No such file or directory total 3 drwxrws--- 4 500 501 4 Oct 3 11:53 07DLAAdmin tape# Plus, the "rm -rf" I tried (that failed) ought not to fall foul of such weird whitespace problems. Cheers, Paul. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
On Wed, Oct 5, 2011 at 4:43 PM, Ali Mashtizadeh wrote: > On Wed, Oct 5, 2011 at 2:27 PM, Scot Hetzel wrote: >> On Wed, Oct 5, 2011 at 3:52 PM, Ali Mashtizadeh >> wrote: >>> Is there any reason I should still be hitting this bug when building >>> on 9-STABLE? With Linux compatibility disabled I can build the driver, >>> but the kernel refuses to load it saying it's incompatible with my >>> kernel version. >>> >> Was your kernel built from the same version of /usr/src, or have you >> updated the source (/usr/src) since you last rebuilt the kernel. >> >> If you updated the source, then you need to rebuild the kernel from >> those updated sources (should also build/installworld). >> > Yes, I did that just before. I'll try buildkernel and installkernel > again but I know havn't updated the tree. Could there be an issue > since I built it from the directory /usr/src-9? > Do you also have a /usr/src directory? If you do, then the port is using the wrong kernel source. You'll need to set SRC_BASE to /usr/src-9 when building the port. cd /usr/ports/x11/nvida-driver make deinstall ; make clean ; make install -DSRC_BASE=/usr/src-9 Then you should be able to load the kernel module. Scot ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on powerpc/powerpc
TB --- 2011-10-05 22:46:20 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 22:46:20 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-05 22:46:20 - cleaning the object tree TB --- 2011-10-05 22:46:30 - cvsupping the source tree TB --- 2011-10-05 22:46:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-05 22:46:42 - building world TB --- 2011-10-05 22:46:42 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 22:46:42 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 22:46:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 22:46:42 - SRCCONF=/dev/null TB --- 2011-10-05 22:46:42 - TARGET=powerpc TB --- 2011-10-05 22:46:42 - TARGET_ARCH=powerpc TB --- 2011-10-05 22:46:42 - TZ=UTC TB --- 2011-10-05 22:46:42 - __MAKE_CONF=/dev/null TB --- 2011-10-05 22:46:42 - cd /src TB --- 2011-10-05 22:46:42 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 22:46:43 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-06 00:33:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-06 00:33:56 - ERROR: failed to build world TB --- 2011-10-06 00:33:57 - 5142.78 user 921.96 system 6456.77 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
On Wed, 5 Oct 2011, Ali Mashtizadeh wrote: I ran buildworld and installworld again, but the module still won't load. Also, if I enable linux compatibility the original bug from this email chain is still present. Kernel, too? -Ben Kaduk ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on mips/mips
TB --- 2011-10-05 22:46:12 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 22:46:12 - starting HEAD tinderbox run for mips/mips TB --- 2011-10-05 22:46:12 - cleaning the object tree TB --- 2011-10-05 22:46:21 - cvsupping the source tree TB --- 2011-10-05 22:46:21 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-10-05 22:46:36 - building world TB --- 2011-10-05 22:46:36 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 22:46:36 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 22:46:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 22:46:36 - SRCCONF=/dev/null TB --- 2011-10-05 22:46:36 - TARGET=mips TB --- 2011-10-05 22:46:36 - TARGET_ARCH=mips TB --- 2011-10-05 22:46:36 - TZ=UTC TB --- 2011-10-05 22:46:36 - __MAKE_CONF=/dev/null TB --- 2011-10-05 22:46:36 - cd /src TB --- 2011-10-05 22:46:36 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 22:46:36 UTC 2011 >>> 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 [...] cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 23:38:08 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 23:38:08 - ERROR: failed to build world TB --- 2011-10-05 23:38:08 - 2205.68 user 625.59 system 3115.77 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Lev Serebryakov wrote this message on Wed, Oct 05, 2011 at 12:51 +0400: > Hello, Andrey. > You wrote 5 ??? 2011 ?., 11:51:36: > > > On 05.10.2011 10:39, Lev Serebryakov wrote: > >>>(1) Class and name of GEOM which is affected. > >>>(2) Name of provider which is affected. > >>>(3) Name of underlying provider which is lost (consumer from > >>>reporting GEOM's point of view). > >>>(4) Resulting state of affected provider (fixable, alive, dead). > > > All except last could be get from the consumer in the orphan method. > I'm afraid, that (2) could not be known too in generic way, as GEOM > could have several providers, and only part of them could be affected by > disconnection. Consumer contains geom (with class) and underlying > provider, it is items (1) and (3)... > > >> Other example -- geom_label creates and destroys about 10 labels on > >> boot (on my test VM) and, if DESTROYED will be reported by very > >> generic mechanism, it will end up with 10 e-mails to administrator on > >> every boot -- I've got this, when put notifications in too generic > >> place for first try. > > Ok, good point. Can you explain how your script will distinguish which > > actions are performed by administrator? Since change made by administrator > > could trigger disappearing of several child geoms. > Not the script, but GEOMs themselves. They knows, why disk > disappears. Of course, it work only one-level -- if administrator > calls "gmirror remove gm0 ada4" geom_mirror knows, that ada4 is no > failed. Yes, I understand, that if here is configuration like this: > >gmirror0 > gstripe0 >ada0 >ada1 > gstripe1 >ada2 >ada3 > > and administrator kills gstripe0, for example, geom_mirror will send > event, because from its point of view it is not administrative > action... > But such situations, IMHO, are not very often ones. Won't gmirror still report COMPLETE after a gmirror remove? So the script can look at the gmirror device, and see that it is still complete even though one of the providers were dropped and assume it was an administrative command that did it.. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Problem with r226035 - in head/usr.bin/grep: . regex?
On Wed, 5 Oct 2011, Michael Butler wrote: On 10/05/11 10:48, I wrote: Does this look right? ! ts = ((long)u - v < 0) ? 0 : (u - v); \ Doh! It should probably be .. ts = ((long)(u - v) < 0) ? 0 : (u - v); This is definitely incorrect. Consider the case where u = (int)INT_MAX, v = (int)INT_MIN. Then (u-v) is evaluated within 'int' width, and overflows, causing undefined behavior (but probably wrapping), which is then cast to long. The cases where either u or v are unsigned types can also provide interesting edge cases. Probably the "most correct" choice is to cast all values to the widest supported signed integral type (since no type information is available within the macro scope), including the 'else' branch of the ternary operator, which is also susceptible to over/underflow. There are many style bugs with macros of this nature, on which bde would presumably be happy to expound. It seems that (at least in the first usage that I found) 'u' and 'v' are declared as unsigned int, so casting everything to signed long is unlikely to introduce breakage in the common case. -Ben Kaduk ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
On Wed, Oct 5, 2011 at 3:31 PM, Ali Mashtizadeh wrote: > I ran buildworld and installworld again, but the module still won't > load. Also, if I enable linux compatibility the original bug from this > email chain is still present. Please bottom post. That being said, there are issues with the port infrastructure tying into /usr/src where [if you're using the PORTS_MODULES feature and] compiling using an older world I've seen stuff fall apart at build because it's detecting OSVERSION or something else incorrectly. Haven't spent time tracking this down because it's virtually a non-issue if you install stuff manually after you boot your new kernel. It's annoying, but easy to work around. Having the error message and your build details would help though, as always. Thanks, -Garrett ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on i386/pc98
TB --- 2011-10-05 20:50:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 20:50:00 - starting HEAD tinderbox run for i386/pc98 TB --- 2011-10-05 20:50:00 - cleaning the object tree TB --- 2011-10-05 20:50:15 - cvsupping the source tree TB --- 2011-10-05 20:50:15 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/pc98/supfile TB --- 2011-10-05 20:50:58 - building world TB --- 2011-10-05 20:50:58 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 20:50:58 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 20:50:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 20:50:58 - SRCCONF=/dev/null TB --- 2011-10-05 20:50:58 - TARGET=pc98 TB --- 2011-10-05 20:50:58 - TARGET_ARCH=i386 TB --- 2011-10-05 20:50:58 - TZ=UTC TB --- 2011-10-05 20:50:58 - __MAKE_CONF=/dev/null TB --- 2011-10-05 20:50:58 - cd /src TB --- 2011-10-05 20:50:58 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 20:50:58 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 22:46:19 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 22:46:19 - ERROR: failed to build world TB --- 2011-10-05 22:46:19 - 5592.54 user 977.74 system 6979.12 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on i386/i386
TB --- 2011-10-05 20:50:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 20:50:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-10-05 20:50:00 - cleaning the object tree TB --- 2011-10-05 20:50:14 - cvsupping the source tree TB --- 2011-10-05 20:50:14 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-10-05 20:50:58 - building world TB --- 2011-10-05 20:50:58 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 20:50:58 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 20:50:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 20:50:58 - SRCCONF=/dev/null TB --- 2011-10-05 20:50:58 - TARGET=i386 TB --- 2011-10-05 20:50:58 - TARGET_ARCH=i386 TB --- 2011-10-05 20:50:58 - TZ=UTC TB --- 2011-10-05 20:50:58 - __MAKE_CONF=/dev/null TB --- 2011-10-05 20:50:58 - cd /src TB --- 2011-10-05 20:50:58 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 20:50:58 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 22:46:11 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 22:46:11 - ERROR: failed to build world TB --- 2011-10-05 22:46:11 - 5602.57 user 956.09 system 6970.66 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: cvsup broken on amd64?
On Fri, Sep 09, 2011 at 06:00:02PM +0300, Kostik Belousov wrote: > --- libs/m3core/src/thread/POSIX/ThreadPosix.m3.orig 2011-09-09 > 17:58:12.867431639 +0300 > +++ libs/m3core/src/thread/POSIX/ThreadPosix.m3 2011-09-09 > 17:58:30.380428486 +0300 > @@ -180,7 +180,7 @@ >pausedThreads : T; >selected_interval:= UTime{0, 100 * 1000}; > > - defaultStackSize := 3000; > + defaultStackSize := 1; This might not be a large enough value (depending on the unit of measure). I synced tzdata+tzcode at $WORK and we found the amount of stack used by tzload() alone is now quite large -- 41k on ARM. -- -- David (obr...@freebsd.org) ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
I ran buildworld and installworld again, but the module still won't load. Also, if I enable linux compatibility the original bug from this email chain is still present. On Wed, Oct 5, 2011 at 2:27 PM, Scot Hetzel wrote: > On Wed, Oct 5, 2011 at 3:52 PM, Ali Mashtizadeh wrote: >> Is there any reason I should still be hitting this bug when building >> on 9-STABLE? With Linux compatibility disabled I can build the driver, >> but the kernel refuses to load it saying it's incompatible with my >> kernel version. >> > Was your kernel built from the same version of /usr/src, or have you > updated the source (/usr/src) since you last rebuilt the kernel. > > If you updated the source, then you need to rebuild the kernel from > those updated sources (should also build/installworld). > > Scot > -- Ali Mashtizadeh ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
PANIC: "ffs_valloc: dup alloc" on boot
I was about to upgrade my build VM from BETA2 to BETA3, but I can't seem to boot BETA2 any more: I get a "ffs_valloc: dup alloc" panic on boot, every time. fsck runs and says, "ok, I've cleaned things up for you", but then later on, when trying to update motd, FFS dies. Unfortunately, this is the VM that I normally use to run kgdb against other VMs, so my normal debugging setup does not apply. I'll see if this hotel will let me download an ISO so that I can install a fresh VM for debugging... Jon -- Jonathan Anderson jonat...@freebsd.org http://freebsd.org/~jonathan/ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Scot Hetzel wrote: 2011/10/5 Miroslav Lachman<000.f...@quip.cz>: I am waiting years for the moment, when these GEOM problems will be fixed, so I am really glad to see your interest! It will be move to right direction even if changes will not be backward compatible. The current state is too fragile to be used in production. Gmirror alone can be used, glabel alone can be used, GPT alone can be used... but mix it all stacked together is way to hell. e.g. Using GPT on glabeled provider always ends with error message about corrupted secondary GPT table. (But how can I use iSCSI in reliable way if I cannot use glable on devices and iSCSI device can have different number on each reboot? I wrote about it almost 2 years ago) You don't need to use glabel on GPT disks, as gpart has it's own way to label GPT disks: [...] The point was that glabel on disk device is successful, gpartitioning on glabeled device is successful, but metadata handling / device tasting is wrong after reboot and this should be fixed, not worked around. Otherwise thank you for example with GPT labels, it can be useful in some cases. Miroslav Lachman ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on arm/arm
TB --- 2011-10-05 20:50:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 20:50:00 - starting HEAD tinderbox run for arm/arm TB --- 2011-10-05 20:50:00 - cleaning the object tree TB --- 2011-10-05 20:50:14 - cvsupping the source tree TB --- 2011-10-05 20:50:14 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2011-10-05 20:50:58 - building world TB --- 2011-10-05 20:50:58 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 20:50:58 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 20:50:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 20:50:58 - SRCCONF=/dev/null TB --- 2011-10-05 20:50:58 - TARGET=arm TB --- 2011-10-05 20:50:58 - TARGET_ARCH=arm TB --- 2011-10-05 20:50:58 - TZ=UTC TB --- 2011-10-05 20:50:58 - __MAKE_CONF=/dev/null TB --- 2011-10-05 20:50:58 - cd /src TB --- 2011-10-05 20:50:58 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 20:50:58 UTC 2011 >>> 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 [...] cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 21:39:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 21:39:50 - ERROR: failed to build world TB --- 2011-10-05 21:39:50 - 2131.51 user 649.64 system 2989.42 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
On 05.10.2011 12:29, Lev Serebryakov wrote: > You wrote 5 октября 2011 г., 13:18:34: >> geom_raid addresses this problem in own way. As soon as RAID BIOSes >> expect RAIDs to be built on raw physical devices and probe order is not >> discussed, geom_raid exclusively opens underlying providers immediately >> after detecting supported metadata. So even if volume is broken or > But it could be not first, who taste component of mirror, am I > right? If geom_part will be first, will it "take away" component from > geom_raid? Or it could not? Most of GEOM classes are less aggressive. So geom_raid will any way taste device finally and geom_part should be automatically spoiled as soon as geom_raid open device. > If it works in any case (exclusive open spoils geom_part), it could > be used in all other classes without any metadata infrastructure, That works perfect for case when class (geom_raid) is known to work on raw device. Other RAID classes can be used over partitions, so some care should be taken to avoid false positives. > but > it seems, that geom_mirror, for example, could pickup metadtata from > last parition instead of raw device... > > I'm not sure here. In that case it is helpful to include media size into the metadata. Comparing that value with provider size during taste allows to avoid these false positives. geom_mirror metadata include/check provider size since version 3. Pity that MBR and probably others don't. > But, in any case, maybe standard first 16 bytes of metadata in > pure-GEOM classes and filter in GEOM infrastructure itself ("not pass > provider for tasting to anything but class, written in first 16 bytes > of last sector") looks good idea, IMHO. And what if class is not loaded/supported? There should be a way to manage/clear that label. -- Alexander Motin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
On Wed, Oct 5, 2011 at 3:52 PM, Ali Mashtizadeh wrote: > Is there any reason I should still be hitting this bug when building > on 9-STABLE? With Linux compatibility disabled I can build the driver, > but the kernel refuses to load it saying it's incompatible with my > kernel version. > Was your kernel built from the same version of /usr/src, or have you updated the source (/usr/src) since you last rebuilt the kernel. If you updated the source, then you need to rebuild the kernel from those updated sources (should also build/installworld). Scot ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
Is there any reason I should still be hitting this bug when building on 9-STABLE? With Linux compatibility disabled I can build the driver, but the kernel refuses to load it saying it's incompatible with my kernel version. ~ Ali 2011/8/31 Alexey Dokuchaev : > On Mon, Aug 29, 2011 at 02:59:48PM +0200, Olivier Smedts wrote: >> 2011/8/29 ken : >> > Could I test your patch for nvidia-driver, too? >> > I cannot find your patch in this mail. >> >> I took the patch in : >> http://lists.freebsd.org/pipermail/freebsd-current/2011-August/026515.html >> >> And it worked for me. > > Should be fixed in the port itself now (also updated to 280.13). > > ./danfe > ___ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
I did that. In fact I decided to remove all ports and rebuild all my ports based on a snapshot from portsnap that is one day old at this point. ~ Ali On Wed, Oct 5, 2011 at 2:05 PM, Garrett Cooper wrote: > On Wed, Oct 5, 2011 at 1:52 PM, Ali Mashtizadeh wrote: >> Is there any reason I should still be hitting this bug when building >> on 9-STABLE? With Linux compatibility disabled I can build the driver, >> but the kernel refuses to load it saying it's incompatible with my >> kernel version. > > You probably need to rebuild the port..? > -Garrett > -- Ali Mashtizadeh علی مشتی زاده ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: x11/nvidia-driver / Compilation has failed
On Wed, Oct 5, 2011 at 1:52 PM, Ali Mashtizadeh wrote: > Is there any reason I should still be hitting this bug when building > on 9-STABLE? With Linux compatibility disabled I can build the driver, > but the kernel refuses to load it saying it's incompatible with my > kernel version. You probably need to rebuild the port..? -Garrett ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: groff -ms -Tascii (nroff?) strange output
On Wed, Oct 05, 2011 at 09:01:32PM +0100, Anton Shterenlikht wrote: > The reason for writing to current@ is > that I've one box still on r216048, > where "-c" flag is not required. > Has there been a recent change to groff, > affecting this behaviour? As I recall it, the behavior is also configurable (at the system level). Debian seems to still turn it off. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgp6LdzWK8cPn.pgp Description: PGP signature
Re: groff -ms -Tascii (nroff?) strange output
On Wed, Oct 05, 2011 at 04:17:16PM +, Christian Weisgerber wrote: > Anton Shterenlikht wrote: > > > BUZI> groff -ms -Tascii try.1 | more > > > > ESC[1mSome titleESC[0m > > > > How can I get a plain text rendering > > from a troff document with ms macros? > > With nroff, use the -c flag: > > nroff -ms -c -Tascii > > The groff frontend has a more convoluted syntax for it: > > groff -ms -P -c -Tascii setting the environment variable GROFF_NO_SGR is simpler and doesn't appear to cause problems - "man grotty" is the place to look. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpGFUcDNoxCJ.pgp Description: PGP signature
Re: groff -ms -Tascii (nroff?) strange output
On Wed, Oct 05, 2011 at 04:17:16PM +, Christian Weisgerber wrote: > Anton Shterenlikht wrote: > > > BUZI> groff -ms -Tascii try.1 | more > > > > ESC[1mSome titleESC[0m > > > > How can I get a plain text rendering > > from a troff document with ms macros? > > With nroff, use the -c flag: > > nroff -ms -c -Tascii > > The groff frontend has a more convoluted syntax for it: > > groff -ms -P -c -Tascii Thanks The reason for writing to current@ is that I've one box still on r216048, where "-c" flag is not required. Has there been a recent change to groff, affecting this behaviour? Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on powerpc/powerpc
TB --- 2011-10-05 17:56:45 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 17:56:45 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-05 17:56:45 - cleaning the object tree TB --- 2011-10-05 17:56:54 - cvsupping the source tree TB --- 2011-10-05 17:56:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-05 17:57:33 - building world TB --- 2011-10-05 17:57:33 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 17:57:33 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 17:57:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 17:57:33 - SRCCONF=/dev/null TB --- 2011-10-05 17:57:33 - TARGET=powerpc TB --- 2011-10-05 17:57:33 - TARGET_ARCH=powerpc TB --- 2011-10-05 17:57:33 - TZ=UTC TB --- 2011-10-05 17:57:33 - __MAKE_CONF=/dev/null TB --- 2011-10-05 17:57:33 - cd /src TB --- 2011-10-05 17:57:33 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 17:57:33 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 19:46:22 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 19:46:22 - ERROR: failed to build world TB --- 2011-10-05 19:46:23 - 5222.12 user 929.49 system 6578.05 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on mips/mips
TB --- 2011-10-05 17:56:38 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 17:56:38 - starting HEAD tinderbox run for mips/mips TB --- 2011-10-05 17:56:38 - cleaning the object tree TB --- 2011-10-05 17:56:46 - cvsupping the source tree TB --- 2011-10-05 17:56:46 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-10-05 17:57:33 - building world TB --- 2011-10-05 17:57:33 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 17:57:33 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 17:57:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 17:57:33 - SRCCONF=/dev/null TB --- 2011-10-05 17:57:33 - TARGET=mips TB --- 2011-10-05 17:57:33 - TARGET_ARCH=mips TB --- 2011-10-05 17:57:33 - TZ=UTC TB --- 2011-10-05 17:57:33 - __MAKE_CONF=/dev/null TB --- 2011-10-05 17:57:33 - cd /src TB --- 2011-10-05 17:57:33 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 17:57:33 UTC 2011 >>> 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 [...] cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 18:50:17 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 18:50:17 - ERROR: failed to build world TB --- 2011-10-05 18:50:17 - 2258.70 user 632.52 system 3218.91 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on i386/i386
TB --- 2011-10-05 16:00:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 16:00:00 - starting HEAD tinderbox run for i386/i386 TB --- 2011-10-05 16:00:00 - cleaning the object tree TB --- 2011-10-05 16:00:54 - cvsupping the source tree TB --- 2011-10-05 16:00:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/i386/supfile TB --- 2011-10-05 16:01:05 - building world TB --- 2011-10-05 16:01:05 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 16:01:05 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 16:01:05 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 16:01:05 - SRCCONF=/dev/null TB --- 2011-10-05 16:01:05 - TARGET=i386 TB --- 2011-10-05 16:01:05 - TARGET_ARCH=i386 TB --- 2011-10-05 16:01:05 - TZ=UTC TB --- 2011-10-05 16:01:05 - __MAKE_CONF=/dev/null TB --- 2011-10-05 16:01:05 - cd /src TB --- 2011-10-05 16:01:05 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 16:01:06 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 17:56:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 17:56:44 - ERROR: failed to build world TB --- 2011-10-05 17:56:44 - 5638.36 user 975.27 system 7003.75 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-i386.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on i386/pc98
TB --- 2011-10-05 16:00:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 16:00:00 - starting HEAD tinderbox run for i386/pc98 TB --- 2011-10-05 16:00:00 - cleaning the object tree TB --- 2011-10-05 16:00:26 - cvsupping the source tree TB --- 2011-10-05 16:00:26 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/i386/pc98/supfile TB --- 2011-10-05 16:00:42 - building world TB --- 2011-10-05 16:00:42 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 16:00:42 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 16:00:42 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 16:00:42 - SRCCONF=/dev/null TB --- 2011-10-05 16:00:42 - TARGET=pc98 TB --- 2011-10-05 16:00:42 - TARGET_ARCH=i386 TB --- 2011-10-05 16:00:42 - TZ=UTC TB --- 2011-10-05 16:00:42 - __MAKE_CONF=/dev/null TB --- 2011-10-05 16:00:42 - cd /src TB --- 2011-10-05 16:00:42 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 16:00:43 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 17:56:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 17:56:37 - ERROR: failed to build world TB --- 2011-10-05 17:56:37 - 5625.19 user 984.17 system 6996.56 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-i386-pc98.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: groff -ms -Tascii (nroff?) strange output
Anton Shterenlikht wrote: > BUZI> groff -ms -Tascii try.1 | more > > ESC[1mSome titleESC[0m > > How can I get a plain text rendering > from a troff document with ms macros? With nroff, use the -c flag: nroff -ms -c -Tascii The groff frontend has a more convoluted syntax for it: groff -ms -P -c -Tascii -- Christian "naddy" Weisgerber na...@mips.inka.de ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on arm/arm
TB --- 2011-10-05 16:00:00 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 16:00:00 - starting HEAD tinderbox run for arm/arm TB --- 2011-10-05 16:00:00 - cleaning the object tree TB --- 2011-10-05 16:00:30 - cvsupping the source tree TB --- 2011-10-05 16:00:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/arm/arm/supfile TB --- 2011-10-05 16:00:46 - building world TB --- 2011-10-05 16:00:46 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 16:00:46 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 16:00:46 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 16:00:46 - SRCCONF=/dev/null TB --- 2011-10-05 16:00:46 - TARGET=arm TB --- 2011-10-05 16:00:46 - TARGET_ARCH=arm TB --- 2011-10-05 16:00:46 - TZ=UTC TB --- 2011-10-05 16:00:46 - __MAKE_CONF=/dev/null TB --- 2011-10-05 16:00:46 - cd /src TB --- 2011-10-05 16:00:46 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 16:00:46 UTC 2011 >>> 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 [...] cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 16:50:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 16:50:28 - ERROR: failed to build world TB --- 2011-10-05 16:50:28 - 2134.83 user 656.13 system 3027.18 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-arm-arm.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
2011/10/5 Miroslav Lachman <000.f...@quip.cz>: > I am waiting years for the moment, when these GEOM problems will be fixed, > so I am really glad to see your interest! > It will be move to right direction even if changes will not be backward > compatible. > The current state is too fragile to be used in production. Gmirror alone can > be used, glabel alone can be used, GPT alone can be used... but mix it all > stacked together is way to hell. > > e.g. Using GPT on glabeled provider always ends with error message about > corrupted secondary GPT table. (But how can I use iSCSI in reliable way if I > cannot use glable on devices and iSCSI device can have different number on > each reboot? I wrote about it almost 2 years ago) > You don't need to use glabel on GPT disks, as gpart has it's own way to label GPT disks: Fixit# gpart create -s gpt ad0 Fixit# gpart add -s 4G -t freebsd-swap -l swap0 ad0 Fixit# gpart add -t freebsd-zfs -l disk0 ad0 This create the following in /dev: /dev/gpt/swap0 /dev/gpt/disk0 Glabel is not needed for GPT partitioned disks. What should happen is that glabel should fail when attempting to label a GPT disk. If you wish to add a GPT label after the fact use: gpart show geom gpart modify -i index -l label geom (i.e. geom = ad0) Scot ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc/powerpc
On Wed Oct 5 11, Alexander Best wrote: > On Wed Oct 5 11, FreeBSD Tinderbox wrote: > > TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on > > freebsd-current.sentex.ca > > TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc > > TB --- 2011-10-05 12:55:29 - cleaning the object tree > > TB --- 2011-10-05 12:55:43 - cvsupping the source tree > > TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h > > cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile > > TB --- 2011-10-05 12:55:55 - building world > > TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES > > TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj > > TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > > TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null > > TB --- 2011-10-05 12:55:55 - TARGET=powerpc > > TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc > > TB --- 2011-10-05 12:55:55 - TZ=UTC > > TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null > > TB --- 2011-10-05 12:55:55 - cd /src > > TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld > > >>> World build started on Wed Oct 5 12:55:56 UTC 2011 > > >>> 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 > > [...] > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > > -fstack-protector -Wsystem-headers -Werror -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 -c > > /src/usr.bin/grep/util.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > > -fstack-protector -Wsystem-headers -Werror -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 -c > > /src/usr.bin/grep/regex/fastmatch.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > > -fstack-protector -Wsystem-headers -Werror -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 -c > > /src/usr.bin/grep/regex/hashtable.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > > -fstack-protector -Wsystem-headers -Werror -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 -c > > /src/usr.bin/grep/regex/tre-compile.c > > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > > -fstack-protector -Wsystem-headers -Werror -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 -c > > /src/usr.bin/grep/regex/tre-fastmatch.c > > [..] -Wno-unused-parameter [..] -Wunused-parameter ? any thoughts about diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index 796d169..a6127bf 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -36,12 +36,12 @@ CWARNFLAGS += -Werror CWARNFLAGS += -Wall -Wno-format-y2k . endif . if ${WARNS} >= 3 -CWARNFLAGS += -W -Wno-unused-parameter -Wstrict-prototypes\ +CWARNFLAGS += -Wextra -Wstrict-prototypes\ -Wmissing-prototypes -Wpointer-arith . endif . if ${WARNS} >= 4 CWARNFLAGS += -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch\ - -Wshadow -Wunused-parameter + -Wshadow . if !defined(NO_WCAST_ALIGN) CWARNFLAGS += -Wcast-align . endif @@ -56,6 +56,9 @@ CWARNFLAGS+= -Wchar-subscripts -Winline -Wnested-externs\ # XXX always get it right. CWARNFLAGS += -Wno-uninitialized . endif +. if ${WARNS} == 3 +CWARNFLAG
3 show-stopper issues with 9-BETA3
Hi In no particular order: 1. bce(4) transmit and recieve ring buffer overruns On a moderately busy router with a full BGP table and aggregate throughput of between 200mbps and 800mbps, I get these buffer overruns at an average rate of 28 per second on the busiest interface. [firewall1.jnb1] ~ # sysctl dev.bce |grep com_no_buffers dev.bce.0.com_no_buffers: 101 dev.bce.1.com_no_buffers: 0 dev.bce.2.com_no_buffers: 32547 dev.bce.3.com_no_buffers: 444 I've tried increasing the TX_PAGES and RX_PAGES in sys/dev/bce/if_bcereg.h as I've done in the past (to 64) which is what resolved this problem on 8.2-STABLE to no avail. It appears that there is a hard limit of 8 according to bce_set_tunables() in if_bce.c. But no values to hw.bce.tx_pages and hw.bce.rx_pages makes the slightest difference. 2. carp(4) on my backup router randomly takes over MASTER on the standby host, but when ifconfig claims the carp interface is master tcpdump shows that it's not broadcasting its advertisement. The actual master still broadcasts and no setting of advskew or advbase changes the 9-BETA host's idea of who is actually master. I have to reboot the host to reset the carp interfaces. destroying and re-creating them just brings them up as backup for about a second and then they regress to master. 3. PF doesn't expire state. The state table on my older host (pre OpenBSD-4.5) has the following stats: Status: Enabled for 0 days 00:37:17 Debug: Urgent State Table Total Rate current entries 169546 searches9438745142193.8/s inserts 4012389 1793.6/s removals 3842843 1717.9/s The 9-BETA3 host's current entries exactly match the number of inserts until it hits the hard limit of 1.5M entries and can add no more. It takes about 10 minutes to fill up and then no new flows are routed. We're in a quiet period at the moment, so I can keep a 9-X host around for a few days. I'll be able to try things until I have to downgrade the other host at the end of the week. Incompatibility between pf on 8.2-STABLE and 9-X after 2011-06-28 makes testing a little difficult though because I'm not able to synchronise state. FWIW, the tuning that has been done eliminates the issue on 8.2-STABLE: [firewall1.jnb1] ~ # cat /boot/loader.conf net.isr.maxthreads="8" net.isr.defaultqlimit="4096" net.isr.maxqlimit="81920" net.isr.direct="1" kern.ipc.nmbclusters="262144" kern.maxusers="1024" [firewall1.jnb1] ~ # cat /etc/sysctl.conf net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.ip.fastforwarding=1 net.inet.carp.preempt=1 net.inet.icmp.icmplim_output=0 net.inet.icmp.icmplim=0 kern.random.sys.harvest.interrupt=0 kern.random.sys.harvest.ethernet=0 kern.random.sys.harvest.point_to_point=0 net.route.netisr_maxqlen=8192 diff -u -d -r1.26.2.7 if_bcereg.h --- if_bcereg.h 15 Aug 2010 23:56:57 - 1.26.2.7 +++ if_bcereg.h 5 Oct 2011 14:29:15 - @@ -6150,7 +6150,7 @@ * Page count must remain a power of 2 for all * of the math to work correctly. */ -#define TX_PAGES 2 +#define TX_PAGES 64 #define TOTAL_TX_BD_PER_PAGE (BCM_PAGE_SIZE / sizeof(struct tx_bd)) #define USABLE_TX_BD_PER_PAGE (TOTAL_TX_BD_PER_PAGE - 1) #define TOTAL_TX_BD (TOTAL_TX_BD_PER_PAGE * TX_PAGES) @@ -6170,7 +6170,7 @@ * Page count must remain a power of 2 for all * of the math to work correctly. */ -#define RX_PAGES 2 +#define RX_PAGES 64 #define TOTAL_RX_BD_PER_PAGE (BCM_PAGE_SIZE / sizeof(struct rx_bd)) #define USABLE_RX_BD_PER_PAGE (TOTAL_RX_BD_PER_PAGE - 1) #define TOTAL_RX_BD (TOTAL_RX_BD_PER_PAGE * RX_PAGES) Ian -- Ian Freislich ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: [head tinderbox] failure on powerpc/powerpc
On Wed Oct 5 11, FreeBSD Tinderbox wrote: > TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on > freebsd-current.sentex.ca > TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc > TB --- 2011-10-05 12:55:29 - cleaning the object tree > TB --- 2011-10-05 12:55:43 - cvsupping the source tree > TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca > /tinderbox/HEAD/powerpc/powerpc/supfile > TB --- 2011-10-05 12:55:55 - building world > TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES > TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj > TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin > TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null > TB --- 2011-10-05 12:55:55 - TARGET=powerpc > TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc > TB --- 2011-10-05 12:55:55 - TZ=UTC > TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null > TB --- 2011-10-05 12:55:55 - cd /src > TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld > >>> World build started on Wed Oct 5 12:55:56 UTC 2011 > >>> 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 > [...] > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > -fstack-protector -Wsystem-headers -Werror -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 -c > /src/usr.bin/grep/util.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > -fstack-protector -Wsystem-headers -Werror -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 -c > /src/usr.bin/grep/regex/fastmatch.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > -fstack-protector -Wsystem-headers -Werror -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 -c > /src/usr.bin/grep/regex/hashtable.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > -fstack-protector -Wsystem-headers -Werror -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 -c > /src/usr.bin/grep/regex/tre-compile.c > cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 > -fstack-protector -Wsystem-headers -Werror -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 -c > /src/usr.bin/grep/regex/tre-fastmatch.c [..] -Wno-unused-parameter [..] -Wunused-parameter ? cheers. alex > cc1: warnings being treated as errors > /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': > /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned > expression < 0 is always false > *** Error code 1 > > Stop in /src/usr.bin/grep. > *** Error code 1 > > Stop in /src/usr.bin. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > *** Error code 1 > > Stop in /src. > TB --- 2011-10-05 14:43:43 - WARNING: /usr/bin/make returned exit code 1 > TB --- 2011-10-05 14:43:43 - ERROR: failed to build world > TB --- 2011-10-05 14:43:43 - 5199.23 user 882.58 system 6494.23 real > > > http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: cvsup broken on amd64?
On Wed, Oct 5, 2011 at 1:34 AM, Thomas Mueller wrote: >> Hi all, > >> I've committed this to -head. > >> I'd appreciate it if csup users would give this a thorough testing and >> report back to the list with results. >> I won't submit this as a merge candidate this to stable/9 without a >> whole lot of testing. :) > >> Thanks, > > >> Adrian > > I am now in 9.0-BETA2 amd64 and looking to update via source. > > There is /usr/bin/csup but no cvsup. Can I safely use csup on tag RELENG_9 > to update, or is that broken? > > Does this csup come under the cvsup bug in this thread? cvsup is a port, so you would need to install that to have cvsup. csup and cvsup are totally different code bases in different languages. (csup is C and cvsup is Modula-3.) You probably want to install cvsup as a package as installing the port also requires building all of the Modula-3 compiler, not a small install. -- R. Kevin Oberman, Network Engineer - Retired E-mail: kob6...@gmail.com ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: pmap_qenter() - the page *must* be wired - is violated
On Wed, Oct 05, 2011 at 02:28:01PM +0200, Svatopluk Kraus wrote: > Hi, > > I found out that on a few places pmap_qenter() is called on pages > which are not wired. For example, in the following functions, when > vm_pager_get_pages() is called, the pages are not wired: > > exec_map_first_page() in sys/kern/kern_exec.c > vm_fault_hold() in sys/vm/vm_fault.c > vm_imgact_hold_page() in sys/vm/vm_glue.c > vm_object_populate() in sys/vm/vm_object.c > mdstart_swap() in sys/dev/md/md.c > > Is the rule violated or the rule should be changed? Lets first discuss where did you found the calls to pmap_qenter(). Can you point out exact line numbers of the calls to pmap_qenter() that you consider problematic ? In fact, the requirement probably shall be 'no swapout allowed'. E.g., the busy page is fully qualified to be used together with pmap_qenter(). pgpbn7etyrLfS.pgp Description: PGP signature
Re: Problem with r226035 - in head/usr.bin/grep: . regex?
On 10/05/11 10:48, I wrote: Does this look right? ! ts = ((long)u - v < 0) ? 0 : (u - v); \ Doh! It should probably be .. ts = ((long)(u - v) < 0) ? 0 : (u - v); ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Lev Serebryakov wrote: Hello, Miroslav. You wrote 5 октября 2011 г., 12:24:06: What RAID do you mean exactly? geom_stripe? geom_mirrot? geom_raid? Something else? I am mostly using geom_mirror. [SKIPPED] Oh, I see. Unfortunately, there is no GEOM metadata infrastructure, GEOMs are too generic for this. I could design some meta-meta framework, and unify all RAID classes with "intenral" metadtata (geom_stripe, geom_concat, geom_mirror, geom_raid3 and my external geom_raid5) to use it. In such case it will work -- kernel will not pass providers with "dirty" metadtata to any GEOMs, but owners, for tasting. Of course, classes like geom_part and geom_raid could not be changed in such way -- they are forced to use pre-defined metadata formats. It is good idea, but it should be separate project. And, yes, it will change metadata format for these GEOMs, so it will not be backward-compatible. And, yes, it seems to be much more intrusive change in GEOM subsystem (because it will change tasting sequence), and should be supervised by other developers from very beginning. I could write proposal in near future, with some design notes. I am waiting years for the moment, when these GEOM problems will be fixed, so I am really glad to see your interest! It will be move to right direction even if changes will not be backward compatible. The current state is too fragile to be used in production. Gmirror alone can be used, glabel alone can be used, GPT alone can be used... but mix it all stacked together is way to hell. e.g. Using GPT on glabeled provider always ends with error message about corrupted secondary GPT table. (But how can I use iSCSI in reliable way if I cannot use glable on devices and iSCSI device can have different number on each reboot? I wrote about it almost 2 years ago) GEOM layering possibilities are really amazing, but metadata, tasting and robustness in edge cases is not well done. If you are able to come with some fixes in GEOM metadata implementation / handling, I see better future :) Unfortunately, I am not a C programmer, so I cannot write patches, but I can test whatever you will need in this area. You are right, it should be separate project. I am looking forward to your proposal / wiki page. Thank you again for your work on GEOM improvements! Miroslav Lachman ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: Problem with r226035 - in head/usr.bin/grep: . regex?
On 10/05/11 09:50, David Wolfskill wrote: I noted the following after updating head to r226035: ... stage 4.4: building everything ... cc -O2 -pipe -Dxregcomp=regcomp -Dxre_exec=re_exec -Dxregexec=regexec -Dxre_search=re_search -Dxre_compile_fastmap=re_compile_fastmap -Dxregerror=regerror -Dxre_comp=re_comp -Dxre_set_syntax=re_set_syntax -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 -I. -I/usr/src/gnu/usr.bin/gdb/libgdb/../arch/i386 -I/usr/src/gnu/usr.bin/gdb/libgdb/../../binutils/libbfd -I/usr/src/gnu/usr.bin/gdb/libgdb/../../binutils/libbfd/i386 -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/config -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/include -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/binutils/bfd -std=gnu99 -fstack-protector -c /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/tui/tui-source.c cc1: warnings being treated as errors /usr/src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /usr/src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression< 0 is always false *** Error code 1 1 error *** Error code 2 [I'm sorry, but I won't be in position to test fixes until after my laptop comes back from repair.] Does this look right? *** src/usr.bin/grep/regex/tre-fastmatch.c~ Wed Oct 5 07:25:39 2011 --- src/usr.bin/grep/regex/tre-fastmatch.c Wed Oct 5 09:02:39 2011 *** *** 163,169 shift = bc; \ else \ { \ ! ts = ((long)u - v < 0) ? 0 : (u - v); \ shift = MAX(ts, bc);\ shift = MAX(shift, gs); \ if (shift == gs)\ --- 163,169 shift = bc; \ else \ { \ ! ts = ((long)u - (long)v < 0) ? 0 : (u - v); \ shift = MAX(ts, bc);\ shift = MAX(shift, gs); \ if (shift == gs)\ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on powerpc/powerpc
TB --- 2011-10-05 12:55:29 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 12:55:29 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2011-10-05 12:55:29 - cleaning the object tree TB --- 2011-10-05 12:55:43 - cvsupping the source tree TB --- 2011-10-05 12:55:43 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2011-10-05 12:55:55 - building world TB --- 2011-10-05 12:55:55 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 12:55:55 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 12:55:55 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 12:55:55 - SRCCONF=/dev/null TB --- 2011-10-05 12:55:55 - TARGET=powerpc TB --- 2011-10-05 12:55:55 - TARGET_ARCH=powerpc TB --- 2011-10-05 12:55:55 - TZ=UTC TB --- 2011-10-05 12:55:55 - __MAKE_CONF=/dev/null TB --- 2011-10-05 12:55:55 - cd /src TB --- 2011-10-05 12:55:55 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 12:55:56 UTC 2011 >>> 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 [...] cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O2 -pipe -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -fstack-protector -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 14:43:43 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 14:43:43 - ERROR: failed to build world TB --- 2011-10-05 14:43:43 - 5199.23 user 882.58 system 6494.23 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Problem with r226035 - in head/usr.bin/grep: . regex?
I noted the following after updating head to r226035: ... >>> stage 4.4: building everything ... cc -O2 -pipe -Dxregcomp=regcomp -Dxre_exec=re_exec -Dxregexec=regexec -Dxre_search=re_search -Dxre_compile_fastmap=re_compile_fastmap -Dxregerror=regerror -Dxre_comp=re_comp -Dxre_set_syntax=re_set_syntax -DHAVE_CONFIG_H -DRL_NO_COMPAT -DMI_OUT=1 -DTUI=1 -I. -I/usr/src/gnu/usr.bin/gdb/libgdb/../arch/i386 -I/usr/src/gnu/usr.bin/gdb/libgdb/../../binutils/libbfd -I/usr/src/gnu/usr.bin/gdb/libgdb/../../binutils/libbfd/i386 -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/config -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/binutils/include -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/include -I/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/binutils/bfd -std=gnu99 -fstack-protector -c /usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/tui/tui-source.c cc1: warnings being treated as errors /usr/src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /usr/src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 1 error *** Error code 2 1 error *** Error code 2 [I'm sorry, but I won't be in position to test fixes until after my laptop comes back from repair.] Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpHLsIyOIDw3.pgp Description: PGP signature
Re: Strange ZFS filesystem corruption
On 4 October 2011 17:09, Olivier Smedts wrote: > 2011/10/3 Paul Mather : > > I know ZFS does not have a fsck utility ("because it doesn't need one":), > but does anyone know of any way of fixing this corruption short of > destroying the pool, creating a new one, and restoring from backup? Is > there some way of exporting and re-importing the pool that has the > side-effect of doing some kind of fsck-like repairing of subtle corruption > like this? > > But there is the ZFS debugger, "zdb" ! > > I can't really help you with that because I never had a corrupted > zpool, but if you search on the lists for up to a year or so, you'll > find some useful commands to inspect and destroy corrupted objects. > > > Usage: zdb [-CumdibcsDvhL] poolname [object...] > zdb [-div] dataset [object...] > zdb -m [-L] poolname [vdev [metaslab...]] > zdb -R poolname vdev:offset:size[:flags] > zdb -S poolname > zdb -l [-u] device > zdb -C > >Dataset name must include at least one separator character '/' or '@' >If dataset name is specified, only that dataset is dumped >If object numbers are specified, only those objects are dumped > >Options to control amount of output: >-u uberblock >-d dataset(s) >-i intent logs >-C config (or cachefile if alone) >-h pool history >-b block statistics >-m metaslabs >-c checksum all metadata (twice for all data) blocks >-s report stats on zdb's I/O >-D dedup statistics >-S simulate dedup to measure effect >-v verbose (applies to all others) >-l dump label contents >-L disable leak tracking (do not load spacemaps) >-R read and display block from a device > >Below options are intended for use with other options (except -l): >-A ignore assertions (-A), enable panic recovery (-AA) or both > (-AAA) >-F attempt automatic rewind within safe range of transaction groups >-U -- use alternate cachefile >-X attempt extreme rewind (does not work with dataset) >-e pool is exported/destroyed/has altroot/not in a cachefile >-p -- use one or more with -e to specify path to vdev dir >-P print numbers parsable >-t -- highest txg to use when searching for uberblocks > Specify an option more than once (e.g. -bb) to make only that option > verbose > Default is to dump everything non-verbosely > > -- > Olivier Smedts _ > ASCII ribbon campaign ( ) > e-mail: oliv...@gid0.org- against HTML email & vCards X > www: http://www.gid0.org- against proprietary attachments / \ > > "Il y a seulement 10 sortes de gens dans le monde : > ceux qui comprennent le binaire, > et ceux qui ne le comprennent pas." > ___ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > Have you dont the simple thing and checked to see if you have any weird whitespace in the dir names. Try using bash tab completion for the dir name. Also drop all non bash completion rules as these might be messing things up. I have seen odd characters in dirs cause much confusion in the past. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
pmap_qenter() - the page *must* be wired - is violated
Hi, I found out that on a few places pmap_qenter() is called on pages which are not wired. For example, in the following functions, when vm_pager_get_pages() is called, the pages are not wired: exec_map_first_page() in sys/kern/kern_exec.c vm_fault_hold() in sys/vm/vm_fault.c vm_imgact_hold_page() in sys/vm/vm_glue.c vm_object_populate() in sys/vm/vm_object.c mdstart_swap() in sys/dev/md/md.c Is the rule violated or the rule should be changed? Svata ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
[head tinderbox] failure on mips/mips
TB --- 2011-10-05 12:02:47 - tinderbox 2.8 running on freebsd-current.sentex.ca TB --- 2011-10-05 12:02:47 - starting HEAD tinderbox run for mips/mips TB --- 2011-10-05 12:02:47 - cleaning the object tree TB --- 2011-10-05 12:02:56 - cvsupping the source tree TB --- 2011-10-05 12:02:56 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/mips/mips/supfile TB --- 2011-10-05 12:03:10 - building world TB --- 2011-10-05 12:03:10 - CROSS_BUILD_TESTING=YES TB --- 2011-10-05 12:03:10 - MAKEOBJDIRPREFIX=/obj TB --- 2011-10-05 12:03:10 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2011-10-05 12:03:10 - SRCCONF=/dev/null TB --- 2011-10-05 12:03:10 - TARGET=mips TB --- 2011-10-05 12:03:10 - TARGET_ARCH=mips TB --- 2011-10-05 12:03:10 - TZ=UTC TB --- 2011-10-05 12:03:10 - __MAKE_CONF=/dev/null TB --- 2011-10-05 12:03:10 - cd /src TB --- 2011-10-05 12:03:10 - /usr/bin/make -B buildworld >>> World build started on Wed Oct 5 12:03:10 UTC 2011 >>> 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 [...] cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/util.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/fastmatch.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/hashtable.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-compile.c cc -O -pipe -G0 -I/src/usr.bin/grep/regex -I/usr/include/gnu -std=gnu99 -Wsystem-headers -Werror -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 -c /src/usr.bin/grep/regex/tre-fastmatch.c cc1: warnings being treated as errors /src/usr.bin/grep/regex/tre-fastmatch.c: In function 'tre_match_fast': /src/usr.bin/grep/regex/tre-fastmatch.c:961: warning: comparison of unsigned expression < 0 is always false *** Error code 1 Stop in /src/usr.bin/grep. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2011-10-05 12:55:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2011-10-05 12:55:28 - ERROR: failed to build world TB --- 2011-10-05 12:55:28 - 2247.75 user 616.84 system 3160.99 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-mips-mips.full ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: beta2 panic: VAPPEND without VWRITE
schrieb Rick Macklem am 02.10.2011 00:39 (localtime): > Harald Schmalzbauer wrote: >> schrieb Attilio Rao am 01.10.2011 16:49 (localtime): >>> Can you please show the panic message? >> >> Sorry, I forgot to add it here: >> >> free indoe /var/123088 had 8 blocks >> panic: VAPPEND withour VWRITE cpuid = 0 KDB: enter: panic [ thread pid 1445 tid 100126 ] Stopped at kbd_enter+0x2b: movq $0,0x918a52(%rip) db> bt Tracing pid 1445 tid 100126 td 0xfe000510d460 kdb_enter() at kbd_enter+0x3b panic() at panic+0x180 vn_isdisk() at vn_isdisk ufs_accessx() at ufs_accessx+0x188 vop_stdaccess() at vop_stdaccess+0x43 unionfs_access() at unionfs_access+0x1c4 vn_open_cred() at vn_open_cred+0x547 kern_opneat() at kern_openat+0x1f9 syscallenter() at syscallenter+0x1aa syscall() at syscall+0x4c Xfast_syscall() at Xfast_syscall+0xdd --- syscall (5, FreeBSD ELF64, open), rip = 0x801799f2c, rsp = 0x7fffb388, rbp = 0x8 --- >> >> I'ts reproducable with exact the same hex-numbers with 'scp' when scp >> tries to alter knwon_hosts, which is on unionfs. >> > You could try the attached one line patch. Since VAPPEND is a modifier > for VWRITE, it makes sense to clear it along with VWRITE, I think? > > rick Thanks for your help. Unfortunately I can neither comment on the patch, nor reproduce the panic... I tried the patch and all seems fine, but also without the patch (the exactly same kernel some days ago, but machine was rebooted since). Of course, the machine has been rebooted after the panic too, when I was able to reproduce the panic easily. Any idea why the pnaic was once reproducable and now isn't anymore? Of course, _nothing_ was changed since then, besides "bootme" flag on one GPT partition. 9-beta2 never booted since then... No hardware has changed either !?! *kopfkratz* Thanks, -Harry >> Here's some LORs, I havenÄt checked if they're already known. I don't >> have the known-LORs-URL handy... >> >> lock order reversal: >> 1st 0xfe000519c278 unionfs (unionfs) @ >> /usr/src/sys/modules/unionfs/../../fs/unionfs/union_subr.c:356 >> 2nd 0xfe000519c458 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2246 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a >> kdb_backtrace() at kdb_backtrace+0x37 >> _witness_debugger() at _witness_debugger+0x2e >> witness_checkorder() at witness_checkorder+0x807 >> __lockmgr_args() at __lockmgr_args+0xdc6 >> ffs_lock() at ffs_lock+0x8c >> VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b >> _vn_lock() at _vn_lock+0x47 >> vputx() at vputx+0x328 >> unionfs_noderem() at unionfs_noderem+0x1c4 >> unionfs_reclaim() at unionfs_reclaim+0x11 >> vgonel() at vgonel+0x105 >> vrecycle() at vrecycle+0x4c >> unionfs_inactive() at unionfs_inactive+0x20 >> vinactive() at vinactive+0x72 >> vputx() at vputx+0x386 >> kern_statat_vnhook() at kern_statat_vnhook+0x11d >> kern_statat() at kern_statat+0x15 >> stat() at stat+0x2a >> syscallenter() at syscallenter+0x1aa >> syscall() at syscall+0x4c >> Xfast_syscall() at Xfast_syscall+0xdd >> --- syscall (188, FreeBSD ELF64, stat), rip = 0x800dc7ecc, rsp = >> 0x7fffd6a8, rbp = 0x801441190 --- >> lock order reversal: >> 1st 0xff80e9bf59f8 bufwait (bufwait) @ >> /usr/src/sys/kern/vfs_bio.c:2658 >> 2nd 0xfe00051a7a00 dirhash (dirhash) @ >> /usr/src/sys/ufs/ufs/ufs_dirhash.c:284 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a >> kdb_backtrace() at kdb_backtrace+0x37 >> _witness_debugger() at _witness_debugger+0x2e >> witness_checkorder() at witness_checkorder+0x807 >> _sx_xlock() at _sx_xlock+0x55 >> ufsdirhash_acquire() at ufsdirhash_acquire+0x33 >> ufsdirhash_add() at ufsdirhash_add+0x19 >> ufs_direnter() at ufs_direnter+0x909 >> ufs_mkdir() at ufs_mkdir+0x44d >> VOP_MKDIR_APV() at VOP_MKDIR_APV+0x93 >> kern_mkdirat() at kern_mkdirat+0x290 >> syscallenter() at syscallenter+0x1aa >> syscall() at syscall+0x4c >> Xfast_syscall() at Xfast_syscall+0xdd >> --- syscall (136, FreeBSD ELF64, mkdir), rip = 0x800933eec, rsp = >> 0x7fffd768, rbp = 0x800c07050 --- >> lock order reversal: >> 1st 0xfe000514f818 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2134 >> 2nd 0xff80e9bf59f8 bufwait (bufwait) @ >> /usr/src/sys/ufs/ffs/ffs_vnops.c:260 >> 3rd 0xfe0005706278 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2134 >> KDB: stack backtrace: >> db_trace_self_wrapper() at db_trace_self_wrapper+0x2a >> kdb_backtrace() at kdb_backtrace+0x37 >> _witness_debugger() at _witness_debugger+0x2e >> witness_checkorder() at witness_checkorder+0x807 >> __lockmgr_args() at __lockmgr_args+0xdc6 >> ffs_lock() at ffs_lock+0x8c >> VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b >> _vn_lock() at _vn_lock+0x47 >> vget() at vget+0x7b >> vfs_hash_get() at vfs_hash_get+0xd5 >> ffs_vgetf() at ffs_vgetf+0x48 >> softdep_sync_buf() at softdep_sync_buf+0x393 >> ffs_syncvnode() at ffs_syncvnode+0x2b3 >> ffs_truncate() at ffs_truncate+0x477 >> ufs_direnter() at ufs
Re: st_dev and st_ino for pipes
On Sunday, October 02, 2011 6:04:05 pm Kostik Belousov wrote: > Our implementation of pipes does not provide useful values for st_dev > and st_ino when stat(2) is done on an anonymous pipe. It was noted by the > people outside the project, e.g. Perl contains a workaround in one > of its modules, submitted by Debian/kFreeBSD developers, see > http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537555 > and the commit 16f708c9bc0dc48713b200 in the Perl git. > > I think this is a non-conformance, since SUSv4 explicitely states > in the description of stat(2) > "For all other file types defined in this volume of POSIX.1-2008, the > structure members st_mode, st_ino, st_dev, st_uid, st_gid, st_atim, > st_ctim, and st_mtim shall have meaningful values ...". > > Patch below implements the requirement, by the cost of the small overhead > at the pipe creation time, and slightly bigger cost at the destruction. > > Any comments ? I think this is fine. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: kernel panic with swap zone exhausted, increase kern.maxswzone
On Tuesday, September 27, 2011 1:46:19 am Eitan Adler wrote: > My computer recently paniced and broke into ddb after spamming my > console with "swap zone exhausted, increase kern.maxswzone" > Immediately prior to the panic X was killed and I was able to switch > to vty1 and log in as root (I planned on killing runaway programs) > > I called doadump and have the saved textdump, vmcore.0 and kernel > available to provide any relevant information. They are fairly large > so I'll provide them upon request. > > I'm running FreeBSD radar 9.0-BETA2 FreeBSD 9.0-BETA2 #0 r225471M: Mon > Sep 12 20:43:44 EDT 2011 > eitan@radar:/usr/obj/usr/src/head/sys/EADLER amd64 > > This is the diff between my kernel and GENERIC: > http://people.freebsd.org/~eadler/files/diff-my-kernel-and-generic.diff > > gdb> bt > #0 doadump (textdump=0x31d622d0) at /usr/src/head/sys/kern/kern_shutdown.c:260 > #1 0x802ea54c in db_fncall (dummy1=Variable "dummy1" is not available. > ) at /usr/src/head/sys/ddb/db_command.c:572 > #2 0x802ea881 in db_command (last_cmdp=0x80e5a6c0, > cmd_table=Variable "cmd_table" is not available. > ) > at /usr/src/head/sys/ddb/db_command.c:448 > #3 0x802eaad0 in db_command_loop () at > /usr/src/head/sys/ddb/db_command.c:501 > #4 0x802ecc19 in db_trap (type=Variable "type" is not available. > ) at /usr/src/head/sys/ddb/db_main.c:229 > #5 0x807731f1 in kdb_trap (type=0x3, code=0x0, tf=0xff8231d62500) > at /usr/src/head/sys/kern/subr_kdb.c:631 > #6 0x809c0e36 in trap (frame=0xff8231d62500) at > /usr/src/head/sys/amd64/amd64/trap.c:590 > #7 0x809ab5df in calltrap () at > /usr/src/head/sys/amd64/amd64/exception.S:228 > #8 0x80772f9b in kdb_enter (why=0x80aec7a0 "panic", > msg=0x80 ) > at cpufunc.h:63 > #9 0x8073db00 in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/head/sys/kern/kern_shutdown.c:599 > #10 0x807836f8 in propagate_priority (td=0xfe011de2a000) > at /usr/src/head/sys/kern/subr_turnstile.c:222 The actual panic is probably a "sleeping thread holding a mutex". The messages in dmesg should have identified what thread was holding the mutex and output a backtrace. If so, that is the first thing we need. Alternatively, if that doesn't work, grab my gdb scripts from www.freebsd.org/~jhb/gdb and from within kgdb (on the crashdump) do this: cd /path/to/gdb/scripts source gdb6 frame 11 lockchain td->td_tid Find the pid/tid of the last thread mentioned (should be sleeping on something) and switch to to it using 'proc ' or 'tid ' and get a backtrace. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Hello, Alexander. You wrote 5 октября 2011 г., 13:18:34: > geom_raid addresses this problem in own way. As soon as RAID BIOSes > expect RAIDs to be built on raw physical devices and probe order is not > discussed, geom_raid exclusively opens underlying providers immediately > after detecting supported metadata. So even if volume is broken or But it could be not first, who taste component of mirror, am I right? If geom_part will be first, will it "take away" component from geom_raid? Or it could not? If it works in any case (exclusive open spoils geom_part), it could be used in all other classes without any metadata infrastructure, but it seems, that geom_mirror, for example, could pickup metadtata from last parition instead of raw device... I'm not sure here. But, in any case, maybe standard first 16 bytes of metadata in pure-GEOM classes and filter in GEOM infrastructure itself ("not pass provider for tasting to anything but class, written in first 16 bytes of last sector") looks good idea, IMHO. -- // Black Lion AKA Lev Serebryakov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
On 05.10.2011 11:58, Lev Serebryakov wrote: > Hello, Miroslav. > You wrote 5 октября 2011 г., 12:24:06: > >>>What RAID do you mean exactly? geom_stripe? geom_mirrot? geom_raid? >>> Something else? >> I am mostly using geom_mirror. > [SKIPPED] > Oh, I see. Unfortunately, there is no GEOM metadata infrastructire, > GEOMs are too generic for this. I could design some meta-meta > framework, and unify all RAID classes with "intenral" metadtata > (geom_stripe, geom_concat, geom_mirror, geom_raid3 and my external > geom_raid5) to use it. In such case it will work -- kernel will not > pass providers with "ditry" metadtata to any GEOMs, but owners, for > tasting. Of course, classes like geom_part and geom_raid could not be > changed in such way -- they are forced to use pre-defined metadata > formats. geom_raid addresses this problem in own way. As soon as RAID BIOSes expect RAIDs to be built on raw physical devices and probe order is not discussed, geom_raid exclusively opens underlying providers immediately after detecting supported metadata. So even if volume is broken or incomplete or this disk marked failed, or in any other case, this disk won't be accessible for other GEOM classes. If administrator wishes to reuse this disk for any other purpose, he should explicitly erase on-disk metadata using graid tool or with dd after unloading geom_raid. Up to the recent time geom tools didn't report geoms without providers. Now there is special "-a" argument to report all of them. Also there is "-g" to report geoms instead of providers, that is useful in such cases. > It is good idea, but it should be separate project. And, yes, it > will change metadata format for these GEOMs, so it will not be > backward-compatible. > > And, yes, it seems to be much more intrusive change in GEOM > subsystem (because it will change tasting sequence), and should be > supervised by other developers from very beginning. > > I could write proposal in near future, with some design notes. -- Alexander Motin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Hello, Miroslav. You wrote 5 октября 2011 г., 12:24:06: >>What RAID do you mean exactly? geom_stripe? geom_mirrot? geom_raid? >> Something else? > I am mostly using geom_mirror. [SKIPPED] Oh, I see. Unfortunately, there is no GEOM metadata infrastructire, GEOMs are too generic for this. I could design some meta-meta framework, and unify all RAID classes with "intenral" metadtata (geom_stripe, geom_concat, geom_mirror, geom_raid3 and my external geom_raid5) to use it. In such case it will work -- kernel will not pass providers with "ditry" metadtata to any GEOMs, but owners, for tasting. Of course, classes like geom_part and geom_raid could not be changed in such way -- they are forced to use pre-defined metadata formats. It is good idea, but it should be separate project. And, yes, it will change metadata format for these GEOMs, so it will not be backward-compatible. And, yes, it seems to be much more intrusive change in GEOM subsystem (because it will change tasting sequence), and should be supervised by other developers from very beginning. I could write proposal in near future, with some design notes. -- // Black Lion AKA Lev Serebryakov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Hello, Andrey. You wrote 5 октября 2011 г., 11:51:36: > On 05.10.2011 10:39, Lev Serebryakov wrote: >>>(1) Class and name of GEOM which is affected. >>>(2) Name of provider which is affected. >>>(3) Name of underlying provider which is lost (consumer from >>>reporting GEOM's point of view). >>>(4) Resulting state of affected provider (fixable, alive, dead). > All except last could be get from the consumer in the orphan method. I'm afraid, that (2) could not be known too in generic way, as GEOM could have several providers, and only part of them could be affected by disconnection. Consumer contains geom (with class) and underlying provider, it is items (1) and (3)... >> Other example -- geom_label creates and destroys about 10 labels on >> boot (on my test VM) and, if DESTROYED will be reported by very >> generic mechanism, it will end up with 10 e-mails to administrator on >> every boot -- I've got this, when put notifications in too generic >> place for first try. > Ok, good point. Can you explain how your script will distinguish which > actions are performed by administrator? Since change made by administrator > could trigger disappearing of several child geoms. Not the script, but GEOMs themselves. They knows, why disk disappears. Of course, it work only one-level -- if administrator calls "gmirror remove gm0 ada4" geom_mirror knows, that ada4 is no failed. Yes, I understand, that if here is configuration like this: gmirror0 gstripe0 ada0 ada1 gstripe1 ada2 ada3 and administrator kills gstripe0, for example, geom_mirror will send event, because from its point of view it is not administrative action... But such situations, IMHO, are not very often ones. -- // Black Lion AKA Lev Serebryakov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: cvsup broken on amd64?
> Hi all, > I've committed this to -head. > I'd appreciate it if csup users would give this a thorough testing and > report back to the list with results. > I won't submit this as a merge candidate this to stable/9 without a > whole lot of testing. :) > Thanks, > Adrian I am now in 9.0-BETA2 amd64 and looking to update via source. There is /usr/bin/csup but no cvsup. Can I safely use csup on tag RELENG_9 to update, or is that broken? Does this csup come under the cvsup bug in this thread? Tom ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
Lev Serebryakov wrote: Hello, Miroslav. You wrote 5 октября 2011 г., 1:27:03: I am still missing one thing - dropped provider is not marked as failed RAID provider and is accessible for anything like normal disk device. So in some edge cases, the system can boot from failed RAID component instead of degraded RAID. This can cause data loss or demage. What RAID do you mean exactly? geom_stripe? geom_mirrot? geom_raid? Something else? I am mostly using geom_mirror. If GEOM class drops underlying provider due to errors, it doesn't have chances to update metadata for it. I understand this, but if there are (stale) metadata on provider, system can read this metadata and should disallow normal operations (for example propagating slices, partitions and labels) But most of classes, if dropped provider attached again, will rebuild itself, as they track which components are actual and which ones are old. I see many times dropped provider (for example ada1) because of some DMA timeout (bad cables and so on), sometimes provider (disk ada1) detached from ATA channel and reattached after reboot. In both cases, provider has stale metadata and is marked as "broken" by geom_mirror and auto rebuild did not start. In this case, I see gm0 with all of its slices, partitions and labels and ada1 with the same slices, partitions and labels - this is the problem. Because there are two devices providing same labels and the winner is the first tasted... Even if the system (geom_mirror) knows, that ada1 is "broken disk". I think that GEOM should be more robust in this case and if metadata is found, do not publish slices, partitions, labels and so on... Do you want GEOM classes to track droppen components somewhere else and din't even try to attach them automaticaly when they re-appear? If some disk is removed, reinserted and synchronisation starts, then everything is OK. But situation where component is marked as "broken" and system and user can operate on it like on normal "good and clean" drive is wrong. The drive's content should be inacessible until operator do some action (for example gmirror clear on broken disk device). Miroslav Lachman ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
Re: RFC: Project geom-events
On 05.10.2011 10:39, Lev Serebryakov wrote: >>(1) Class and name of GEOM which is affected. >>(2) Name of provider which is affected. >>(3) Name of underlying provider which is lost (consumer from >>reporting GEOM's point of view). >>(4) Resulting state of affected provider (fixable, alive, dead). All except last could be get from the consumer in the orphan method. > And, I'm affraid, that geom_dev could not distinguish manual > operations with geom (performed from userland by administrator) and > real accidents. I don't want geoms to post DISCONNECTED or DESTROYED > events when administrator knows what he does -- and it could lead to > race conditions, when administrator rebuild array and forgot todisable > spare drives, for example. > Other example -- geom_label creates and destroys about 10 labels on > boot (on my test VM) and, if DESTROYED will be reported by very > generic mechanism, it will end up with 10 e-mails to administrator on > every boot -- I've got this, when put notifications in too generic > place for first try. Ok, good point. Can you explain how your script will distinguish which actions are performed by administrator? Since change made by administrator could trigger disappearing of several child geoms. -- WBR, Andrey V. Elsukov ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"