tech-lists | 24 Jul 10:51 2016
Picon

kernel options

Hi,

In -HEAD there is a generic kernel GENERIC-NODEBUG. The syntax of
OPTIONS appears to be NOOPTIONS. Is there an inverse for DEVICE ?

For example, there is a line

device          fdc

in GENERIC. Would NODEVICE negate it?

I didn't see anything in NOTES to confirm.

thanks,
--

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

Miguel C | 23 Jul 21:16 2016
Picon
Gravatar

FreeBSD 11 - BETA-1 Xen DOMU loses network when jail (VIMAGE) starts

I had a freebsd 10 DOMU running with VIMAGE support but since there were
some fixes in 11 I decided to give it a go...

I made a clean install  and just migrated some backup config and adapted as
needed (I only have one jail running on this box for plex and all media is
in zfs)
After the clean install I ofc rebuilded the kernel with VIMAGE support and
that's the only change from GENERIC

I noticed the vif interface was disappearing on the Dom0 a bit after this
machine boot and I was able to track the issue... if I don't start the jail
at boot I have network, so then I tried to do it manually (jail -c plex in
this case) and although I still see "xn0" in the Dom0 (netbsd) the vif
interface is now gone.

Since I use vnet for the jail and the "jib" script provided in
src/share/examples/jails I suspect its when the bridging occurred that
network fails.

All the scrip does is create a bridge and add both xn0 and the newly
created epair.

Thanks

Melhores Cumprimentos // Best Regards
-----------------------------------------------
*Miguel Clara*
*IT - Sys Admin & Developer*
_______________________________________________
freebsd-current <at> freebsd.org mailing list
(Continue reading)

Kim Culhan | 23 Jul 19:34 2016
Picon

r303219 make kernel compile failure: cxgbe

cc  -c -O2 -pipe -fno-strict-aliasing  -g -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h  -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer
-MD  -MF.depend.t4_iov.o -MTt4_iov.o -mcmodel=kernel -mno-red-zone -mno-mmx
-mno-sse -msoft-float  -fno-asynchronous-unwind-tables -ffreestanding
-fwrapv -fstack-protector -gdwarf-2 -Wall -Wredundant-decls
-Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith
-Winline -Wcast-qual  -Wundef -Wno-pointer-sign
-D__printf__=__freebsd_kprintf__  -Wmissing-include-dirs
-fdiagnostics-show-option  -Wno-unknown-pragmas
-Wno-error-tautological-compare -Wno-error-empty-body
-Wno-error-parentheses-equality -Wno-error-unused-function
-Wno-error-pointer-sign -Wno-error-shift-negative-value  -mno-aes -mno-avx
-std=iso9899:1999 -Werror  /usr/src/sys/dev/cxgbe/t4_iov.c
-I/usr/src/sys/dev/cxgbe
/usr/src/sys/dev/cxgbe/t4_iov.c:44:10: fatal error: 't4_if.h' file not found
#include "t4_if.h"
_______________________________________________
freebsd-current <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"

Jeffrey Bouquet | 23 Jul 14:56 2016

Hdwe UEFI upgrade report...some ??? to maybe ignore

I had the main desktop DDR2 mysteriously lose video ( still don't know if it is just needing reseating
memory or if the onboard video no longer works or if one of the four bad capacitors went too var
awry to still work... lack of time to test..)

Sorry for the formatting

new    ddr3 msi board FX-8320E    ..........        old ddr2 gigabyte ????? amd
new    usb mouse, had to use usm0      .............old    usb mouse > legacy mouse adaptor, used psm0
new    vt so can exit X (not tested yet)     ............ old    sc
new    vidcontrol to set resolution NOT   .............   old vidcontrol MODE_276 brown black
new    onboard EUFI/LEGACY mode  disabled sound   ...........   old    game theatre sound card again working
new    no parallel port, card on order, ALL SLOTS FULL probably   .............                                    old    parallel port onboard
new    two pcie so Areca and Video card work             ..........      old    Areca, OR video, used the former
new    cost $99     motherboard                                                      .........            old    second hand board, probably more than $99
new    nfe0 not working, none is WINDOWS strange "gaming" ...      old nfe0
          E2205  .... fixed with a axe/ue0 usb to ethernet box which I had
          sometimes problems with as to the novice one would try axe0 in wpa_  etc
          ignoring the instead ue0...
new   msi nvidia 750ti 2gb no PCIE adaptor necc         ....     old  onboard video
new  nvidia-driver, had to build from ports                .....           old   nvidia-driver-304   
new  8g                                                                     .....               old   2g ddr2

If one prefers DDR2 for a two-cpu-on-lan setup, anyone knows of a very reliable source for a pair of mobo/CPU  ?
Not important that anyone answers

Might-be-working-if-reassembled-enough-times-with-legacy-parts pentium 4  and DDR2 ( gigabyte amd) motherboards,
... e-waste or send to a FreeBSD developer for test and reuse somewhere?  (each run but no video though, amd board
is disassembled... ) 

The only question here I feel the need to address sooner not later is whether to duplicate the DDR3 amd system for
(Continue reading)

Matthias Apitz | 23 Jul 09:21 2016
Picon

seldom crashes on Dell E6330 with 12-CURRENT


Hello,

I own since July 15 a new laptop and faced 3 crashes, details see below.
What can I do to gather more information? Thanks

notes in general:
- hardware: Dell E6330, amd64, 4 cores i5-3360M, 8 GByte RAM, 250 GByte SSD w/ TRIM
- WLAN: urtwn0: MAC/BB RTL8188CUS, RF 6052 1T1R
- kernel: GENERIC r302904 (July 15)
- poudriere 3.2-pre: compiling ~1800 ports in 4 builders
- swap as plain file in /usr/swap01, 8 GByte
- apart of the crashes below, no crash during buildworld, buildkernel and
  ~48 hours of poudriere fetching distfiles and making ~1800 ports
- no errors on 'memtest 1G'

crashes/observations:

16.07.2016 07:12 
- on shutdown swap device (plain file in /usr) could not be detached
- drop to kdb
- nothing in /var/log/messages

17.07.2016 19:41
- hard locked, had to power-off
- last command issued on console (no X11): cp -p * /usr/PKGDIR (around 1700 files, 2 GByte)
- nothing in /var/log/messages

20.07.2016 19:27
- hard locked, had to power-off
(Continue reading)

O. Hartmann | 22 Jul 18:35 2016
Picon
Picon

Digi Watchport/T temperature sensor as /dev/ttyU


For temperature monitoring, we have a bunch of Digi Watchport/T sensors: 

http://ftp1.digi.com/support/documentation/90000406_H.pdf

They work well with CentOS 5/6 systems and there is also a Nagios plugin, written in
Perl, which makes those sensors usable with Nagios/Icinga/Icinga2: 

https://exchange.nagios.org/directory/Plugins/System-Metrics/Environmental/check_watchptTemp/details

When attached to FreeBSD 12-CURRENT, the sensor is seen as a generic USB device, for
instance

ugen2.7: <WatchportT Digi International> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=ON (80mA)

I tried to load any available USB serial port/adaptor driver available to make this
sensor attach as a ttyU? as it does in Linux (/dev/ttyUSB), but no luck so far. I'm not
familiar with serial consoles or the derial capabilities of FreeBSD, so i might have
overseen something essential. I'd like to access the sensor to retrieve temperature data,
even if it is in a crude way. Poking around with USB, I found that the sensor device does
release some informations, so hopefully there is a way to make it look like a tty, see my
attempts to get some informations out of the device below.

If someone has some help, hints or advice, I'd appreciate an email (please CC me, I do
not subscribe the QUESTION list).

Thanks in advance,

Oliver
(Continue reading)

Steve Kargl | 21 Jul 20:32 2016
Picon

Who broke world and how to fix?

Updating uname -a
FreeBSD 11.0-ALPHA5 FreeBSD 11.0-ALPHA5
#3 r302248: Tue Jun 28 10:11:31 PDT 2016
data/obj/usr/src/sys/SPEW  amd64

to top-of-tree

===> lib/libsbuf (obj,all,install)
cc   -O2 -pipe   -MD  -MF.depend.subr_prf.o -MTsubr_prf.o -std=gnu99 \
-fstack-protector-strong -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 -Wmissing-variable-declarations -Wthread-safety \
-Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable  \
-Qunused-arguments  -c /usr/src/lib/libsbuf/../../sys/kern/subr_prf.c \
-o subr_prf.o
/usr/src/lib/libsbuf/../../sys/kern/subr_prf.c:1209:7: error: implicit
 declaration of function 'atomic_cmpset_int' is invalid in C99
 [-Werror,-Wimplicit-function-declaration]
                if (atomic_cmpset_int(counter, c, c - 1)) {
                    ^

--

-- 
Steve
_______________________________________________
freebsd-current <at> freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe <at> freebsd.org"
(Continue reading)

jenkins-admin | 21 Jul 19:32 2016
Picon

FreeBSD_HEAD_i386 - Build #3652 - Failure

FreeBSD_HEAD_i386 - Build #3652 - Failure:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/3652/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/3652/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/3652/console

Change summaries:

303154 by kib:
Declare aio requests on files from local filesystems safe.
Two notes:
- I allow AIO on reclaimed vnodes, since it is deterministically terminated
  fast.
- devfs mounts are marked as MNT_LOCAL, but device vnodes have type
  VCHR, so the slow device io is not allowed.

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D7273

303153 by kib:
Remove spurious but harmless double-quote.

Noted by:	jhb

303151 by kib:
Provide counter_warning(9) KPI which allows to issue limited number of
warnings for some kernel events, mostly intended for the use of
obsoleted or otherwise undersired interfaces.
(Continue reading)

Julian H. Stacey | 21 Jul 18:16 2016

svn: Skipped '.' Summary of conflicts: Skipped paths: 1

Hi current <at> 
I've seen this ### about 3 times lately, anyone else ?
	uname -a
		FreeBSD lapr.js.berklix.net 12.0-CURRENT FreeBSD
		12.0-CURRENT #1 r302560M: Wed Jul 13 01:28:27 CEST
		2016
		jhs <at> lapr.js.berklix.net:/usr/src/sys/amd64/compile/LAPR.small
		amd64

	svn co -q file:///usr/svn/base/head
	svn up
	###	Skipped '.'
	###	Summary of conflicts:
	###	  Skipped paths: 1

	ls -l `which svn`
		-rwxr-xr-x  1 root  wheel  259568 May 24  2015 /usr/local/bin/svn*

Meantime to trace it, I'm running:
	cd /usr/ports/devel/subversion ; make clean ; make install
	cd /data/tmp/new_svn_bin/src
	script
	svn co file:///usr/svn/base/head

Cheers,
Julian
--

-- 
Julian Stacey, BSD Linux Unix Sys Eng Consultant Munich http://berklix.eu/jhs/
 Mail plain text,  No quoted-printable, HTML, base64, MS.doc.
 Prefix old lines '> '  Reply below old, like play script.  Break lines by 80.
(Continue reading)

jenkins-admin | 21 Jul 14:11 2016
Picon

FreeBSD_HEAD_amd64_gcc - Build #1447 - Failure

FreeBSD_HEAD_amd64_gcc - Build #1447 - Failure:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1447/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1447/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_amd64_gcc/1447/console

Change summaries:

303134 by kib:
Improve typesetting.

Reviewed by:	bapt
No objections from:	emaste
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D7261

303133 by andrew:
Add support for arm64 to uart_dev_acpi by using the _HID property to find
the uart class to use in a similar way as the fdt driver.

Obtained from:	ABT Systems Ltd
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D7248

303132 by trasz:
Add documentation for "ctld -u", the UCL configuration file format.

Submitted by:	jceel <at> 
Reviewed by:	wblock <at> 
(Continue reading)

Michael Butler | 21 Jul 15:45 2016
Picon

kernel no longer builds without nvme

For those of us who build "minimal" kernels:

Building /usr/obj/usr/src/sys/VM02/vers.c
Building /usr/obj/usr/src/sys/VM02/vers.o
Building /usr/obj/usr/src/sys/VM02/kernel
--- kernel ---
linking kernel
cam_xpt.o: In function `xpt_announce_periph':
/usr/src/sys/cam/cam_xpt.c:(.text+0xcd2): undefined reference to
`nvme_print_ident'
cam_xpt.o: In function `xpt_denounce_periph':
/usr/src/sys/cam/cam_xpt.c:(.text+0xe76): undefined reference to
`nvme_print_ident'
cam_xpt.o: In function `xpt_run_devq':
/usr/src/sys/cam/cam_xpt.c:(.text+0x2bc0): undefined reference to
`nvme_op_string'
/usr/src/sys/cam/cam_xpt.c:(.text+0x2bd8): undefined reference to
`nvme_cmd_string'
cam_xpt.o: In function `xpt_bus_register':
/usr/src/sys/cam/cam_xpt.c:(.text+0x620b): undefined reference to
`nvme_get_xport'
*** [kernel] Error code 1

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

(Continue reading)


Gmane