Re: reproducible panic every day at 03:02, probably triggered by daily periodic scipts - help
I'm not sure it's the same issue. I use neither vmimage nor pf. Also, as I mentioned in http://lists.freebsd.org/pipermail/freebsd-current/2014-March/048939.html r258000, from 11 Nov 2013, works fine. I haven't received any hint as to what might have caused this panic between 258000 and 260689. So, when I have the time, I'll do a binary search. Perhaps this offending change was MFC'd to 10-stable, which is why you are seeing it now. Anton ___ 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
vt text cursor invisible in reverse video
Hi ! FreeBSD 11.0-CURRENT #0 r260577M: Sat Jan 18 17:31:37 CET 2014 toor@fidel:/home/obj/home/src/sys/ADELE11X i386 In console/text mode, the vt(4) cursor disappears when the application switches to reverse video, e.g. when exiting and saving a file edited with nano. I use the attached patch. CBu ___ 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: vt text cursor invisible in reverse video
On 03/28/2014 11:47, Claude Buisson wrote: Hi ! FreeBSD 11.0-CURRENT #0 r260577M: Sat Jan 18 17:31:37 CET 2014 toor@fidel:/home/obj/home/src/sys/ADELE11X i386 In console/text mode, the vt(4) cursor disappears when the application switches to reverse video, e.g. when exiting and saving a file edited with nano. I use the attached patch. Sending again with patch (I hope) CBu ___ 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: vt text cursor invisible in reverse video
On 03/28/2014 11:47, Claude Buisson wrote: Hi ! FreeBSD 11.0-CURRENT #0 r260577M: Sat Jan 18 17:31:37 CET 2014 toor@fidel:/home/obj/home/src/sys/ADELE11X i386 In console/text mode, the vt(4) cursor disappears when the application switches to reverse video, e.g. when exiting and saving a file edited with nano. I use the attached patch. Sending again after renaming the patch to get a text/plain Content Encoding (Thunderbird uses text/x-csrc with a filename=patch-vt_core.c) CBu ___ 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 --- sys/dev/vt/vt_core.c.orig 2013-12-26 15:25:37.0 +0100 +++ sys/dev/vt/vt_core.c2014-03-22 13:44:54.0 +0100 @@ -667,8 +667,11 @@ } if (cursor) { + term_color_t tmp; + + tmp = *fg; *fg = *bg; - *bg = TC_WHITE; + *bg = tmp; } } ___ 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: sendmail Broken Pipe Error
Hello John-Mark and FreeBSD friends, On Thu, Mar 27, 2014 at 08:27:01PM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Thu, Mar 27, 2014 at 15:46 +0100: Hello John-Mark and FreeBSD friends, On Wed, Mar 26, 2014 at 04:04:27PM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Wed, Mar 26, 2014 at 18:22 +0100: Hello John-Mark and FreeBSD friends, On Wed, Mar 26, 2014 at 09:20:35AM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Wed, Mar 26, 2014 at 12:17 +0100: On Tue, Mar 25, 2014 at 09:43:16AM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Tue, Mar 25, 2014 at 11:39 +0100: I'm not an expert in tcpdump. Can anyone make sense out of the messages? If you dumped the contents, using -s 0 -X, and look at that last packet you should see 0d 0a 2e 0d 0a at the end.. which is CR/LF/./CR/LF.. If you don't see that, then for some reason sendmail/FreeBSD isn't telling the server that it's done sending which would prevent the receiving side from ack'ing the email causing the timeout... I followed your suggestions. However I'm not able to distinguish the last packet. Is there a way to find this with help of the Flags? The following is the output of tcpdump -r /root/tmp/tcpdump -X | grep Flags 11:57:56.539788 IP MyServer.com.41115 Smarthost.com.smtp: Flags [S], seq 1001452351, win 65535, options [mss 1448,nop,wscale 6,sackOK,TS val 407239960 ecr 0], length 0 11:57:56.555262 IP Smarthost.com.smtp MyServer.com.41115: Flags [S.], seq 1277075046, ack 1001452352, win 8192, options [mss 1452], length 0 It should look something like: 09:18:34.723280 IP jmgmac.funkthat.com.64724 h2.funkthat.com.ssh: Flags [.], ack 177, win 33280, options [nop,nop,TS val 1854905469 ecr 3482476972], length 0 0x: 4510 0034 d7ac 4000 4006 e1af c0a8 0003 E..4..@.@... 0x0010: c0a8 0004 fcd4 0016 7e48 238e d872 43dc ~H#..rC. 0x0020: 8010 8200 7c08 0101 080a 6e8f 9c7d |...n..} 0x0030: cf92 61ac..a. Notice the hex output... I didn't see any of that in your output... The last packet I was talking about is the last one that had length 1448 that your server sent... I sent two e-mails consecutively: the first without an attachment, the second with attachment. I dumped tcp of the NIC for port smtp. I got the following: 12:20:55.988622 IP MyServer.com.37191 Smarthost.com.smtp: Flags [P.], seq 18943:19104, ack 412, win 65535, length 161 0x: 4500 00c9 eebd 4000 4006 c0a8 0004 E.@.@... 0x0010: d54b 3f0d 9147 0019 4ea0 36dd 15a7 38a0 .K?..G..N.6...8. 0x0020: 5018 4481 2020 2020 2020 2020 P...D... 0x0030: 2020 2020 2020 2020 2020 2020 2020 2020 0x0040: 2020 2020 2020 2020 2020 2020 2020 205c ...\ 0x0050: 2f20 205c 205e 0d0a 2020 2020 2020 2020 /..\.^.. 0x0060: 2020 2020 2020 2020 2020 2020 2020 2020 0x0070: 2020 2020 2020 2020 2020 2020 2020 2020 0x0080: 2020 202e 5c2e 5f2f 5f29 0d0a 0d0a 2020 \._/_).. 0x0090: 2020 2020 2020 2020 2020 2020 2020 2020 0x00a0: 2020 2020 2020 2020 2020 2020 2020 2020 0x00b0: 2020 2020 2077 2e46 7265 6542 5344 .www.FreeBSD 0x00c0: 2e6f 7267 0d0a 2e0d 0a .org. As predicted by John-Mark, the first ended with 0d0a 2e0d 0a. However it was not the last packet with length 1448. I hope that this will not spoil the party. Is the Flag [P.] more indicative? It looks like to me, but I'm just learning. Anyway the second mail ended with: 12:22:17.960896 IP MyServer.com.37191 Smarthost.com.smtp: Flags [.], seq 35127:36575, ack 638, win 65535, length 1448 0x: 4500 05d0 fe9d 4000 4006 c0a8 0004 E.@.@... snip /snip 0x0560: 5670 6876 4a67 5a5a 5a50 4b2f 4b78 3774 VphvJgZZZPK/Kx7t 0x0570: 382f 4230 594f 6b78 3449 0d0a 4a76 6551 8/B0YOkx4I..JveQ 0x0580: 2b6e 7765 5647 2f33 6e79 6231 6133 496f +nweVG/3nyb1a3Io 0x0590: 5474 554f 4d61 4374 696b 714b 436b 4959 TtUOMaCtikqKCkIY 0x05a0: 704a 7668 3055 416d 6c33 4754 4f4c 6455 pJvh0UAml3GTOLdU 0x05b0: 774b 4145 7151 5741 7841 4141 5a66 7647
Re: reproducible panic every day at 03:02, probably triggered by daily periodic scipts - help
Hi, I only have GELI encrypted zfs filesystems on that system, so not easily. But I’ll try to create a VM and replicate the crash as soon as I have time. But for now I’ll probably switch to ipfw if pf+VIMAGE is unstable. Thanks, Philipp On 27 Mar 2014, at 16:32, John Baldwin j...@freebsd.org wrote: Can you get a crashdump when it crashes? Also, I thought that VIMAGE + pf is known to be unstable? -- 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 signature.asc Description: Message signed with OpenPGP using GPGMail
[head tinderbox] failure on ia64/ia64
TB --- 2014-03-28 15:24:05 - tinderbox 2.21 running on freebsd-current.sentex.ca TB --- 2014-03-28 15:24:05 - FreeBSD freebsd-current.sentex.ca 9.2-STABLE FreeBSD 9.2-STABLE #0 r263721: Tue Mar 25 09:27:39 EDT 2014 d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2014-03-28 15:24:05 - starting HEAD tinderbox run for ia64/ia64 TB --- 2014-03-28 15:24:05 - cleaning the object tree TB --- 2014-03-28 15:25:03 - /usr/local/bin/svn stat --no-ignore /src TB --- 2014-03-28 15:25:07 - At svn revision 263870 TB --- 2014-03-28 15:25:08 - building world TB --- 2014-03-28 15:25:08 - CROSS_BUILD_TESTING=YES TB --- 2014-03-28 15:25:08 - MAKEOBJDIRPREFIX=/obj TB --- 2014-03-28 15:25:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-03-28 15:25:08 - SRCCONF=/dev/null TB --- 2014-03-28 15:25:08 - TARGET=ia64 TB --- 2014-03-28 15:25:08 - TARGET_ARCH=ia64 TB --- 2014-03-28 15:25:08 - TZ=UTC TB --- 2014-03-28 15:25:08 - __MAKE_CONF=/dev/null TB --- 2014-03-28 15:25:08 - cd /src TB --- 2014-03-28 15:25:08 - /usr/bin/make -B buildworld Building an up-to-date make(1) World build started on Fri Mar 28 15:25:15 UTC 2014 Rebuilding the temporary build tree stage 1.1: legacy release compatibility shims stage 1.2: bootstrap tools stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3: cross tools stage 4.1: building includes stage 4.2: building libraries stage 4.3: make dependencies stage 4.4: building everything World build completed on Fri Mar 28 17:00:01 UTC 2014 TB --- 2014-03-28 17:00:01 - generating LINT kernel config TB --- 2014-03-28 17:00:01 - cd /src/sys/ia64/conf TB --- 2014-03-28 17:00:01 - /usr/bin/make -B LINT TB --- 2014-03-28 17:00:01 - cd /src/sys/ia64/conf TB --- 2014-03-28 17:00:01 - /obj/ia64.ia64/src/tmp/legacy/usr/sbin/config -m LINT TB --- 2014-03-28 17:00:01 - building LINT kernel TB --- 2014-03-28 17:00:01 - CROSS_BUILD_TESTING=YES TB --- 2014-03-28 17:00:01 - MAKEOBJDIRPREFIX=/obj TB --- 2014-03-28 17:00:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-03-28 17:00:01 - SRCCONF=/dev/null TB --- 2014-03-28 17:00:01 - TARGET=ia64 TB --- 2014-03-28 17:00:01 - TARGET_ARCH=ia64 TB --- 2014-03-28 17:00:01 - TZ=UTC TB --- 2014-03-28 17:00:01 - __MAKE_CONF=/dev/null TB --- 2014-03-28 17:00:01 - cd /src TB --- 2014-03-28 17:00:01 - /usr/bin/make -B buildkernel KERNCONF=LINT Kernel build for LINT started on Fri Mar 28 17:00:01 UTC 2014 stage 1: configuring the kernel stage 2.1: cleaning up the object tree stage 2.2: rebuilding the object tree stage 2.3: build tools stage 3.1: making dependencies [...] awk -f /src/sys/tools/makeobjops.awk /src/sys/kgssapi/kgss_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/libkern/iconv_converter_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/opencrypto/cryptodev_if.m -h awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/acpica/acpi_if.m -h rm -f .newdep /obj/src/make.amd64/bmake -V CFILES_NOZFS -V SYSTEM_CFILES -V GEN_CFILES | MKDEP_CPP=cc -E CC=cc xargs mkdep -a -f .newdep -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ipfilter -I/src/sys/dev/ath -I/src/sys/dev/ath/ath_hal -I/src/sys/contrib/dev/ath/ath_hal -I/src/sys/contrib/ngatm -I/src/sys/dev/twa -I/src/sys/dev/cxgb -I/src/sys/dev/cxgbe -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding /src/sys/ia64/ia64/mem.c:54:25: error: machine/efi.h: No such file or directory mkdep: compile failed *** Error code 1 Stop. bmake[1]: stopped in /obj/ia64.ia64/src/sys/LINT *** Error code 1 Stop. bmake: stopped in /src *** [buildkernel] Error code 1 Stop in /src. TB --- 2014-03-28 17:01:18 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-03-28 17:01:18 - ERROR: failed to build LINT kernel TB --- 2014-03-28 17:01:18 - 4723.09 user 723.38 system 5832.20 real http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-ia64-ia64.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
Fwd: [REL - head-i386-default][games/heretic] Failed for heretic-1.2_7 in build
Hi, can someone tell me what happend to netipx/ipx.h on CURRENT? Is there a replacement? === Building for heretic-1.2_7 gmake[1]: Entering directory `/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2' cc -E -M -O2 -pipe -fno-strict-aliasing -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__ -D__32BIT__ -DHOMEDIR='\/usr/local/share/heretic\' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV -L/usr/local/lib *.c soundclient/i_sound.c soundclient/soundst.c soundclient/sounds.c m_misc.c \ graphics/i_x11.c .depend cc: warning: argument unused during compilation: '-L/usr/local/lib' i_ipx.c:23:10: fatal error: 'netipx/ipx.h' file not found #include netipx/ipx.h ^ 1 error generated. gmake[1]: *** [depx11] Error 1 gmake[1]: Leaving directory `/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2' *** Error code 1 ---BeginMessage--- You are receiving this mail as a port that you maintain is failing to build on the FreeBSD package build server. Please investigate the failure and submit a PR to fix build. Maintainer: oli...@freebsd.org Last committer: oli...@freebsd.org Ident: $FreeBSD: head/games/heretic/Makefile 330725 2013-10-18 07:05:40Z oliver $ Log URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-28_06h01m03s/logs/heretic-1.2_7.log Build URL: http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-03-28_06h01m03s Log: Building games/heretic build started at Fri Mar 28 17:08:12 UTC 2014 port directory: /usr/ports/games/heretic building for: FreeBSD head-i386-default-job-08 11.0-CURRENT FreeBSD 11.0-CURRENT r263175 i386 maintained by: oli...@freebsd.org Makefile ident: $FreeBSD: head/games/heretic/Makefile 330725 2013-10-18 07:05:40Z oliver $ Poudriere version: 3.1-pre ---Begin Environment--- UNAME_m=i386 UNAME_p=i386 OSVERSION=1100013 UNAME_v=FreeBSD 11.0-CURRENT r263175 UNAME_r=11.0-CURRENT BLOCKSIZE=K MAIL=/var/mail/root STATUS=1 MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref PKG_EXT=txz tpid=42651 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin POUDRIERE_BUILD_TYPE=bulk PKGNG=1 PKGNAME=heretic-1.2_7 PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f PKG_ADD=/usr/local/sbin/pkg-static add PWD=/root MASTERNAME=head-i386-default USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes PKG_VERSION=/poudriere/pkg-static version PKG_BIN=/usr/local/sbin/pkg-static ---End Environment--- ---Begin OPTIONS List--- === The following configuration options are available for heretic-1.2_7: WAD=on: With shareware WAD Graphics Selections: you have to select exactly one of them X11=on: X11 (graphics) support FASTX11=off: Use FastX11 SDL=off: Simple Direct Media Layer support === Use 'make config' to modify these settings ---End OPTIONS List--- --CONFIGURE_ARGS-- --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- TMPDIR=/tmp TMPDIR=/tmp MAKE=gmake SHELL=/bin/sh CONFIG_SHELL=/bin/sh --End CONFIGURE_ENV-- --MAKE_ENV-- PTHREAD_LIBS=-pthread TMPDIR=/tmp TMPDIR=/tmp SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR=/usr/lib CC=cc CFLAGS=-O2 -pipe -fno-strict-aliasing CPP=cpp CPPFLAGS= LDFLAGS= CXX=c++ CXXFLAGS=-O2 -pipe -fno-strict-aliasing MANPREFIX=/usr/local BSD_INSTALL_PROGRAM=install -s -o root -g wheel -m 555 BSD_INSTALL_LIB=install -s -o root -g wheel -m 444 BSD_INSTALL_SCRIPT=install -o root -g wheel -m 555 BSD_INSTALL_DATA=install -o root -g wheel -m 444 BSD_INSTALL_MAN=install -o root -g wheel -m 444 --End MAKE_ENV-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/heretic DOCSDIR=/usr/local/share/doc/heretic EXAMPLESDIR=/usr/local/share/examples/heretic WWWDIR=/usr/local/www/heretic ETCDIR=/usr/local/etc/heretic --End SUB_LIST-- ---Begin make.conf--- ARCH=i386 MACHINE=i386 MACHINE_ARCH=i386 USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles /usr/local/etc/poudriere.d/make.conf WITH_PKGNG=yes NO_RESTRICTED=yes DISABLE_MAKE_JOBS=poudriere ---End make.conf--- === Cleaning for heretic-1.2_7 ===phase: check-config === ===phase: pkg-depends === heretic-1.2_7 depends on file: /usr/local/sbin/pkg - not found ===Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg === Installing existing package /packages/All/pkg-1.2.7.txz Installing pkg-1.2.7... done If you are upgrading from the old package format, first run: # pkg2ng === Returning to build of heretic-1.2_7 ===
ZFS panic in -CURRENT
Apologies for the rough format here, I had to take a picture of this failure because I didn't know what else to do. http://www.flickr.com/photos/agentdero/13469355463/ I'm building off of the GitHub freebsd.git mirror here, and the latest commit in the tree is neel@'s Add an ioctl to suspend.. My dmesg/pciconf are here: https://gist.github.com/rtyler/1faa854dff7c4396d9e8 ___ 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: Fwd: [REL - head-i386-default][games/heretic] Failed for heretic-1.2_7 in build
On 2014-03-28 13:44, Oliver Lehmann wrote: Hi, can someone tell me what happend to netipx/ipx.h on CURRENT? Is there a replacement? === Building for heretic-1.2_7 gmake[1]: Entering directory `/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2' cc -E -M -O2 -pipe -fno-strict-aliasing -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__ -D__32BIT__ -DHOMEDIR='\/usr/local/share/heretic\' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV -L/usr/local/lib *.c soundclient/i_sound.c soundclient/soundst.c soundclient/sounds.c m_misc.c \ graphics/i_x11.c .depend cc: warning: argument unused during compilation: '-L/usr/local/lib' i_ipx.c:23:10: fatal error: 'netipx/ipx.h' file not found #include netipx/ipx.h ^ 1 error generated. gmake[1]: *** [depx11] Error 1 gmake[1]: Leaving directory `/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2' *** Error code 1 ___ 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 IPX was removed in in r263140 http://freshbsd.org/commit/freebsd/r263140 -- Allan Jude signature.asc Description: OpenPGP digital signature
Call for testers: SNMPv3 support for bsnmpd(1)
Hi group, I've been tasked to get bsnmpd V3 working for my company. The post referenced in the subject above gave me some insights but I'm still stuck and was wondering if you would take the time to answer some questions. I'm a snmpV3 newbie and have never worked with bsnmpd. I have worked minimally with net-snmp V2. First, is there a document listing all of the configuration options in the snmpd.confg file? It appears to differ from other packages such as net-snmp. Are there examples of how to setup a user for authorization and privacy? Doesn't the encryption key need to be placed in the config file in addition to the hash key (i.e., sha)? If so, what is the syntax? If not, how does the host being queried derive the encryption key? For example, if bsnmpwalk on host A queries remote host B, how does host B decrypt/encrypt the data? If host A is going to query several other bsnmp hosts, do all hosts need to have the same engine ID? Does host A have to have all V3 users for all hosts defined in its snmpd.config? Could you provide an example bsnmpwalk query that shows how to enter all information on the command line when performing a V3 request? Do you have any examples of how to setup bsnmpd V3 traps? Lastly, are there any patches required for FreeBSD 10.? Thanks in advance. Tony Marciano Sr. Integration Engineer REDCOM Laboratories, Inc. One Redcom Center Victor, NY 14564-0995 ___ 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
RFC - DDB relops,logical ops,bitwise ops
Hi all, I attach a patch for comments (the patch is not final is intended for comments only, format for one thing is messed ) regarding support for !=, ==, , , =, = , ! , ~, , | , , || operators in DDB expressions. The code was mainly pulled from Mach 3.0 kernel with a couple of bug-fixes I added them in my copy mainly because I am interested in crafting conditional breakpoints later. (and some other DDB usability enhancements). Please share your opinions. Regards!diff --git ddb/db_expr.c ddb/db_expr.c index b9aebce..9f69f84 100644 --- ddb/db_expr.c +++ ddb/db_expr.c @@ -43,6 +43,9 @@ static boolean_t db_mult_expr(db_expr_t *valuep); static boolean_t db_shift_expr(db_expr_t *valuep); static boolean_t db_term(db_expr_t *valuep); static boolean_t db_unary(db_expr_t *valuep); +static boolean_t db_logical_or_expr(db_expr_t *valuep); +static boolean_t db_logical_and_expr(db_expr_t *valuep); +static boolean_t db_logical_relation_expr(db_expr_t *valuep); static boolean_t db_term(db_expr_t *valuep) @@ -54,8 +57,8 @@ db_term(db_expr_t *valuep) if (!db_value_of_name(db_tok_string, valuep) !db_value_of_name_pcpu(db_tok_string, valuep) !db_value_of_name_vnet(db_tok_string, valuep)) { - db_error(Symbol not found\n); - /*NOTREACHED*/ +db_error(Symbol not found\n); +/*NOTREACHED*/ } return (TRUE); } @@ -81,18 +84,18 @@ db_term(db_expr_t *valuep) } if (t == tDOLLAR) { if (!db_get_variable(valuep)) - return (FALSE); +return (FALSE); return (TRUE); } if (t == tLPAREN) { if (!db_expression(valuep)) { - db_error(Syntax error\n); - /*NOTREACHED*/ +db_error(Unmatched ()s\n); +/*NOTREACHED*/ } t = db_read_token(); if (t != tRPAREN) { - db_error(Syntax error\n); - /*NOTREACHED*/ +db_error(Syntax error\n); +/*NOTREACHED*/ } return (TRUE); } @@ -108,19 +111,35 @@ db_unary(db_expr_t *valuep) t = db_read_token(); if (t == tMINUS) { if (!db_unary(valuep)) { - db_error(Syntax error\n); - /*NOTREACHED*/ +db_error(Expression syntax error after '-'\n); +/*NOTREACHED*/ } *valuep = -*valuep; return (TRUE); } + if ( t == tEXCL) { + if(!db_unary(valuep)) { + db_error(Expression syntax error after '!'\n); + /* NOTREACHED */ +} +*valuep = (!(*valuep)); +return (TRUE); +} +if (t == tBIT_NOT) { +if(!db_unary(valuep)) { +db_error(Expression syntax error after '~'\n); +/* NOTREACHED */ +} +*valuep = (~(*valuep)); +return (TRUE); +} if (t == tSTAR) { /* indirection */ if (!db_unary(valuep)) { - db_error(Syntax error\n); +db_error(Expression syntax error after '*'\n); /*NOTREACHED*/ } - *valuep = db_get_value((db_addr_t)*valuep, sizeof(void *), FALSE); +*valuep = db_get_value((db_addr_t)*valuep, sizeof(void *), FALSE); return (TRUE); } db_unread_token(t); @@ -137,14 +156,20 @@ db_mult_expr(db_expr_t *valuep) return (FALSE); t = db_read_token(); - while (t == tSTAR || t == tSLASH || t == tPCT || t == tHASH) { + while (t == tSTAR || t == tSLASH || t == tPCT || t == tHASH + || t == tBIT_AND ) { if (!db_term(rhs)) { - db_error(Syntax error\n); - /*NOTREACHED*/ +db_error(Syntax error\n); +/*NOTREACHED*/ } - if (t == tSTAR) - lhs *= rhs; - else { + switch(t) { +case tSTAR: +lhs *= rhs; +break; +case tBIT_AND: +lhs = rhs; +break; +default: if (rhs == 0) { db_error(Divide by 0\n); /*NOTREACHED*/ @@ -168,20 +193,25 @@ db_add_expr(db_expr_t *valuep) { db_expr_t lhs, rhs; int t; + char c; if (!db_mult_expr(lhs)) return (FALSE); t = db_read_token(); - while (t == tPLUS || t == tMINUS) { + while (t == tPLUS || t == tMINUS || t == tBIT_OR) { if (!db_mult_expr(rhs)) { - db_error(Syntax error\n); - /*NOTREACHED*/ + c = db_tok_string[0]; +db_printf(Expression syntax error after '%c'\n,c); +db_error(NULL); +/*NOTREACHED*/ } if (t == tPLUS) - lhs += rhs; - else - lhs -= rhs; +lhs += rhs; + else if (t == tMINUS) +lhs -= rhs; +else +lhs |= rhs; t = db_read_token(); } db_unread_token(t); @@ -201,18 +231,18 @@ db_shift_expr(db_expr_t *valuep) t = db_read_token(); while (t == tSHIFT_L || t == tSHIFT_R) { if (!db_add_expr(rhs)) { - db_error(Syntax error\n); - /*NOTREACHED*/ +db_error(Syntax error\n); +/*NOTREACHED*/ } if (rhs 0) { - db_error(Negative shift amount\n); - /*NOTREACHED*/ +db_error(Negative shift amount\n); +/*NOTREACHED*/ } if (t == tSHIFT_L) - lhs = rhs;
Re: vt text cursor invisible in reverse video
Hi, Would you mind filing it as a PR? www.freebsd.org/send-pr.html -a On 28 March 2014 04:12, Claude Buisson clbuis...@orange.fr wrote: On 03/28/2014 11:47, Claude Buisson wrote: Hi ! FreeBSD 11.0-CURRENT #0 r260577M: Sat Jan 18 17:31:37 CET 2014 toor@fidel:/home/obj/home/src/sys/ADELE11X i386 In console/text mode, the vt(4) cursor disappears when the application switches to reverse video, e.g. when exiting and saving a file edited with nano. I use the attached patch. Sending again after renaming the patch to get a text/plain Content Encoding (Thunderbird uses text/x-csrc with a filename=patch-vt_core.c) CBu ___ 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 ___ 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: sendmail Broken Pipe Error
John-Mark Gurney wrote: Willy Offermans wrote this message on Thu, Mar 27, 2014 at 15:46 +0100: Hello John-Mark and FreeBSD friends, On Wed, Mar 26, 2014 at 04:04:27PM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Wed, Mar 26, 2014 at 18:22 +0100: Hello John-Mark and FreeBSD friends, On Wed, Mar 26, 2014 at 09:20:35AM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Wed, Mar 26, 2014 at 12:17 +0100: On Tue, Mar 25, 2014 at 09:43:16AM -0700, John-Mark Gurney wrote: Willy Offermans wrote this message on Tue, Mar 25, 2014 at 11:39 +0100: I'm not an expert in tcpdump. Can anyone make sense out of the messages? If you dumped the contents, using -s 0 -X, and look at that last packet you should see 0d 0a 2e 0d 0a at the end.. which is CR/LF/./CR/LF.. If you don't see that, then for some reason sendmail/FreeBSD isn't telling the server that it's done sending which would prevent the receiving side from ack'ing the email causing the timeout... I followed your suggestions. However I'm not able to distinguish the last packet. Is there a way to find this with help of the Flags? The following is the output of tcpdump -r /root/tmp/tcpdump -X | grep Flags 11:57:56.539788 IP MyServer.com.41115 Smarthost.com.smtp: Flags [S], seq 1001452351, win 65535, options [mss 1448,nop,wscale 6,sackOK,TS val 407239960 ecr 0], length 0 11:57:56.555262 IP Smarthost.com.smtp MyServer.com.41115: Flags [S.], seq 1277075046, ack 1001452352, win 8192, options [mss 1452], length 0 It should look something like: 09:18:34.723280 IP jmgmac.funkthat.com.64724 h2.funkthat.com.ssh: Flags [.], ack 177, win 33280, options [nop,nop,TS val 1854905469 ecr 3482476972], length 0 0x: 4510 0034 d7ac 4000 4006 e1af c0a8 0003 E..4..@.@... 0x0010: c0a8 0004 fcd4 0016 7e48 238e d872 43dc ~H#..rC. 0x0020: 8010 8200 7c08 0101 080a 6e8f 9c7d |...n..} 0x0030: cf92 61ac ..a. Notice the hex output... I didn't see any of that in your output... The last packet I was talking about is the last one that had length 1448 that your server sent... I sent two e-mails consecutively: the first without an attachment, the second with attachment. I dumped tcp of the NIC for port smtp. I got the following: 12:20:55.988622 IP MyServer.com.37191 Smarthost.com.smtp: Flags [P.], seq 18943:19104, ack 412, win 65535, length 161 0x: 4500 00c9 eebd 4000 4006 c0a8 0004 E.@.@... 0x0010: d54b 3f0d 9147 0019 4ea0 36dd 15a7 38a0 .K?..G..N.6...8. 0x0020: 5018 4481 2020 2020 2020 2020 P...D... 0x0030: 2020 2020 2020 2020 2020 2020 2020 2020 0x0040: 2020 2020 2020 2020 2020 2020 2020 205c ...\ 0x0050: 2f20 205c 205e 0d0a 2020 2020 2020 2020 /..\.^.. 0x0060: 2020 2020 2020 2020 2020 2020 2020 2020 0x0070: 2020 2020 2020 2020 2020 2020 2020 2020 0x0080: 2020 202e 5c2e 5f2f 5f29 0d0a 0d0a 2020 \._/_).. 0x0090: 2020 2020 2020 2020 2020 2020 2020 2020 0x00a0: 2020 2020 2020 2020 2020 2020 2020 2020 0x00b0: 2020 2020 2077 2e46 7265 6542 5344 .www.FreeBSD 0x00c0: 2e6f 7267 0d0a 2e0d 0a .org. As predicted by John-Mark, the first ended with 0d0a 2e0d 0a. However it was not the last packet with length 1448. I hope that this will not spoil the party. Is the Flag [P.] more indicative? It looks like to me, but I'm just learning. Anyway the second mail ended with: 12:22:17.960896 IP MyServer.com.37191 Smarthost.com.smtp: Flags [.], seq 35127:36575, ack 638, win 65535, length 1448 0x: 4500 05d0 fe9d 4000 4006 c0a8 0004 E.@.@... snip /snip 0x0560: 5670 6876 4a67 5a5a 5a50 4b2f 4b78 3774 VphvJgZZZPK/Kx7t 0x0570: 382f 4230 594f 6b78 3449 0d0a 4a76 6551 8/B0YOkx4I..JveQ 0x0580: 2b6e 7765 5647 2f33 6e79 6231 6133 496f +nweVG/3nyb1a3Io 0x0590: 5474 554f 4d61 4374 696b 714b 436b 4959 TtUOMaCtikqKCkIY 0x05a0: 704a 7668 3055 416d 6c33 4754 4f4c
[xhci] USB 3.0 not working, bug or feature usb/179342?
# uname -a FreeBSD desktop.local 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r263711: Tue Mar 25 15:49:11 MSK 2014 root@desktop.local:/usr/obj/usr/src/sys/MY_DES amd64 usbconfig list | grep 5.0Gbps ugen0.1: XHCI root HUB 0x8086 at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) and USB3 flash drive ugen2.4: Kingston DataTraveler 3.0 PMAP at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (498mA) full list http://pastie.org/8963116 dmesg debug mode xhci0: Intel Lynx Point USB 3.0 controller mem 0xf042-0xf042 irq 16 at device 20.0 on pci0 xhci0: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 265 to local APIC 0 vector 60 xhci0: using IRQ 265 for MSI xhci0: MSI enabled xhci0: 32 byte context size. xhci0: Port routing mask set to 0x usbus0 on xhci0 xhci0: usbpf: Attached ... uhub0: 21 ports with 21 removable, self powered Root mount waiting for: usbus0 xhci0: Port routing mask set to 0x usb_alloc_device: device init 2 failed (USB_ERR_IOERROR, ignored) ugen0.2: Unknown at usbus0 (disconnected) uhub_reattach_port: could not allocate new device ___ 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: Error with make installworld
On Fri, Mar 28, 2014 at 9:44 AM, Glen Barber g...@freebsd.org wrote: On Fri, Mar 28, 2014 at 01:39:52AM -0400, Joe Nosay wrote: On Fri, Mar 28, 2014 at 1:08 AM, Glen Barber g...@freebsd.org wrote: On Fri, Mar 28, 2014 at 01:02:40AM -0400, Joe Nosay wrote: Item is attached. Which svn revision? Glen Now, which .$FILE would that be in, if you are looking for specifics? If not, I picked it up about 5 days ago svn info /usr/src Glen svn info /usr/src Path: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 263382 Node Kind: directory Schedule: normal Last Changed Author: marcel Last Changed Rev: 263380 Last Changed Date: 2014-03-19 17:30:10 -0400 (Wed, 19 Mar 2014) $ ___ 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: Error with make installworld
On Sat, Mar 29, 2014 at 12:25:24AM -0400, Joe Nosay wrote: On Fri, Mar 28, 2014 at 9:44 AM, Glen Barber g...@freebsd.org wrote: On Fri, Mar 28, 2014 at 01:39:52AM -0400, Joe Nosay wrote: On Fri, Mar 28, 2014 at 1:08 AM, Glen Barber g...@freebsd.org wrote: On Fri, Mar 28, 2014 at 01:02:40AM -0400, Joe Nosay wrote: Item is attached. Which svn revision? Glen Now, which .$FILE would that be in, if you are looking for specifics? If not, I picked it up about 5 days ago svn info /usr/src Glen svn info /usr/src Path: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 263382 Node Kind: directory Schedule: normal Last Changed Author: marcel Last Changed Rev: 263380 Last Changed Date: 2014-03-19 17:30:10 -0400 (Wed, 19 Mar 2014) I'd suggest upgrading your tree. Glen pgpeUtWTxPBc6.pgp Description: PGP signature
Re: Error with make installworld
On Sat, Mar 29, 2014 at 12:30 AM, Glen Barber g...@freebsd.org wrote: On Sat, Mar 29, 2014 at 12:25:24AM -0400, Joe Nosay wrote: On Fri, Mar 28, 2014 at 9:44 AM, Glen Barber g...@freebsd.org wrote: On Fri, Mar 28, 2014 at 01:39:52AM -0400, Joe Nosay wrote: On Fri, Mar 28, 2014 at 1:08 AM, Glen Barber g...@freebsd.org wrote: On Fri, Mar 28, 2014 at 01:02:40AM -0400, Joe Nosay wrote: Item is attached. Which svn revision? Glen Now, which .$FILE would that be in, if you are looking for specifics? If not, I picked it up about 5 days ago svn info /usr/src Glen svn info /usr/src Path: /usr/src Working Copy Root Path: /usr/src URL: svn://svn.freebsd.org/base/head Relative URL: ^/head Repository Root: svn://svn.freebsd.org/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 263382 Node Kind: directory Schedule: normal Last Changed Author: marcel Last Changed Rev: 263380 Last Changed Date: 2014-03-19 17:30:10 -0400 (Wed, 19 Mar 2014) I'd suggest upgrading your tree. Glen Thanks, man. ___ 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
A proposal
I have noticed that options VPS, VIMAGE, and MROUTING are not standard for the kernel with a base install. Is there any way that these can be made a part of the normal kernel so that jail(s) would get the full benefit without a kernel recompile? ___ 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: A proposal
On 2014-03-29 01:22, Joe Nosay wrote: I have noticed that options VPS, VIMAGE, and MROUTING are not standard for the kernel with a base install. Is there any way that these can be made a part of the normal kernel so that jail(s) would get the full benefit without a kernel recompile? ___ 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 VIMAGE has some problems with PF. Martin Matuska said at AsiaBSDCon that he had a patch that solves the issue. -- Allan Jude signature.asc Description: OpenPGP digital signature
Re: A proposal
On Sat, Mar 29, 2014 at 1:43 AM, Allan Jude free...@allanjude.com wrote: On 2014-03-29 01:22, Joe Nosay wrote: I have noticed that options VPS, VIMAGE, and MROUTING are not standard for the kernel with a base install. Is there any way that these can be made a part of the normal kernel so that jail(s) would get the full benefit without a kernel recompile? ___ 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 VIMAGE has some problems with PF. Martin Matu ska said at AsiaBSDCon that he had a patch that solves the issue. -- Allan Jude Really, you say? That's good news. So, will those options soon be standard for a first time install? ___ 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: A proposal
On Sat, Mar 29, 2014 at 01:46:15AM -0400, Joe Nosay wrote: On Sat, Mar 29, 2014 at 1:43 AM, Allan Jude free...@allanjude.com wrote: On 2014-03-29 01:22, Joe Nosay wrote: I have noticed that options VPS, VIMAGE, and MROUTING are not standard for the kernel with a base install. Is there any way that these can be made a part of the normal kernel so that jail(s) would get the full benefit without a kernel recompile? ___ 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 VIMAGE has some problems with PF. Martin Matu ska said at AsiaBSDCon that he had a patch that solves the issue. Really, you say? That's good news. So, will those options soon be standard for a first time install? Certainly, hope not. I don't use any of options. -- Steve ___ 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