From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 04:29:38 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9993B249 for ; Sun, 26 Oct 2014 04:29:38 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5D270771 for ; Sun, 26 Oct 2014 04:29:38 +0000 (UTC) Received: from r56.edvax.de (port-92-195-83-129.dynamic.qsc.de [92.195.83.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 44C903CD3E; Sun, 26 Oct 2014 05:29:30 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9Q4TTFH001938; Sun, 26 Oct 2014 05:29:29 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 26 Oct 2014 05:29:29 +0100 From: Polytropon To: "William A. Mahaffey III" Subject: Re: problems trying to mount SDHC card .... Message-Id: <20141026052929.ef41a037.freebsd@edvax.de> In-Reply-To: <544C34A2.1070806@hiwaay.net> References: <544C34A2.1070806@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 04:29:38 -0000 On Sat, 25 Oct 2014 18:39:14 -0500, William A. Mahaffey III wrote: > > > .... I am trying to mount some SDHC cards through a USB reader > (Transcend USB 2.0) with an eye towards using them to create bootable > drives for a Raspberry Pi B+. In that case, you probably won't have anything to do with mounting the SD card (especially not as a MS-DOS file system). The thing you're going to do here probably isn't much more than "dd if=pi.img of=/dev/da0", and Xfce is not able to help here. When the image has been written, there's probably a file system different from FAT on the card. > When I try to view the drive through > XFCE's 'flash File Manager' (from top toolbar) it pops up an error > dialog saying: > > mount_msdosfs: can't find or load "msdos_iconv" kernel module > mount_msdosfs: msdos_iconv: operation not permitted. Is the card currently formatted? What does # fdisk da0 say (if /dev/da0 is the SD card reader)? Or with today's tools, # gpart show da0 Also check the dmesg entries in relation to the card reader. Anything suspicious? In case the card is formatted with FAT, can you _manually_ mount it? > I am doing this as an ordinary user, something in fstab or amd.conf ? I'm surprised you get any reaction at all. I never got automounting to work with Xfce... If you have the automounting stuff via HAL and DBUS, your /etc/fstab won't probably have an entry for the SD card reader, and /etc/amd.conf is probably totally out of scope here. Maybe this is an expression of the growing incompatibilities between Linux (where Xfce has been created for) and FreeBSD? I'm a bit surprised about the "msdos_iconv" kernel module, which should be present. Can you manually load it, maybe via /boot/loader.conf? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 08:32:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 495B7DBA for ; Sun, 26 Oct 2014 08:32:18 +0000 (UTC) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A6E93C95 for ; Sun, 26 Oct 2014 08:32:16 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id 7kY71p003516WCc01kY8he; Sun, 26 Oct 2014 08:32:08 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=XuZ0OD19 c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=GIpPufGBusUA:10 a=8nJEP1OIZ-IA:10 a=lChJd1kIvsqQ_TTTsRsA:9 a=wPNLvfGTeEIA:10 a=bfy7wSZFo3gA:10 a=fQHRWqwfDlUA:10 a=NUyrNDlg-ygA:10 Received: from sedbergh.lan ([192.168.1.13] helo=curlew.lan) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XiJF8-000FGa-PC for freebsd-questions@freebsd.org; Sun, 26 Oct 2014 08:32:06 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 26 Oct 2014 08:32:05 +0000 Message-ID: <50514270.U3EiNzrfOW@curlew.lan> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RC1-p1; KDE/4.14.2; amd64; ; ) In-Reply-To: <544BAEA9.4060407@hiwaay.net> References: <544B2C36.6080600@hiwaay.net> <1745632.OG3xRRcUAb@curlew.lan> <544BAEA9.4060407@hiwaay.net> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: More info on last post .... Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 08:32:18 -0000 On Saturday 25 Oct 2014 09:07:37 William A. Mahaffey III wrote: > The 'pkg lock' worked like a champ One thing I forgot to mention is that you'll need to unlock nspluginwrapper before running portmaster then lock it again afterwards. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 12:31:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 93418F38 for ; Sun, 26 Oct 2014 12:31:33 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD21234 for ; Sun, 26 Oct 2014 12:31:33 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-33.adsl.hiwaay.net [216.180.19.33]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s9QCVVve021315 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 26 Oct 2014 07:31:31 -0500 Message-ID: <544CEB1A.6020200@hiwaay.net> Date: Sun, 26 Oct 2014 07:37:46 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: problems trying to mount SDHC card .... References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> In-Reply-To: <20141026052929.ef41a037.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 12:31:33 -0000 On 10/25/14 23:29, Polytropon wrote: > On Sat, 25 Oct 2014 18:39:14 -0500, William A. Mahaffey III wrote: >> >> .... I am trying to mount some SDHC cards through a USB reader >> (Transcend USB 2.0) with an eye towards using them to create bootable >> drives for a Raspberry Pi B+. > In that case, you probably won't have anything to do > with mounting the SD card (especially not as a MS-DOS > file system). The thing you're going to do here probably > isn't much more than "dd if=pi.img of=/dev/da0", and > Xfce is not able to help here. When the image has been > written, there's probably a file system different from > FAT on the card. Aaaaaaahhhhh .... That clarifies much .... I work w/ the device directly, not MSDOS .... Beauty, ace ;-) .... >> When I try to view the drive through >> XFCE's 'flash File Manager' (from top toolbar) it pops up an error >> dialog saying: >> >> mount_msdosfs: can't find or load "msdos_iconv" kernel module >> mount_msdosfs: msdos_iconv: operation not permitted. > Is the card currently formatted? What does > > # fdisk da0 > > say (if /dev/da0 is the SD card reader)? Or with today's > tools, > > # gpart show da0 [root@kabini1, /etc, 7:30:02am] 495 % gpart show da0 => 63 31127489 da0 MBR (14G) 63 8129 - free - (4M) 8192 31119360 1 !12 (14G) [root@kabini1, /etc, 7:30:06am] 496 % > > Also check the dmesg entries in relation to the card reader. > Anything suspicious? nothing at all, it's dated 3:03 A.M. this morning .... > > In case the card is formatted with FAT, can you _manually_ > mount it? From my messages file this A.M.: Oct 26 07:29:49 kabini1 kernel: ugen3.2: at usbus3 Oct 26 07:29:49 kabini1 kernel: umass0: on usbus3 Oct 26 07:29:49 kabini1 kernel: umass0: SCSI over Bulk-Only; quirks = 0x4100 Oct 26 07:29:49 kabini1 kernel: umass0:4:0:-1: Attached to scbus4 Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. CDB: a0 00 00 00 00 00 00 00 00 10 00 00 Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: Check Condition Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid command operation code) Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): Error 22, Unretryable error Oct 26 07:29:49 kabini1 kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 0 Oct 26 07:29:49 kabini1 kernel: da0: Removable Direct Access SCSI-6 device Oct 26 07:29:49 kabini1 kernel: da0: Serial Number 000000000903 Oct 26 07:29:49 kabini1 kernel: da0: 40.000MB/s transfers Oct 26 07:29:49 kabini1 kernel: da0: 15199MB (31127552 512 byte sectors: 255H 63S/T 1937C) Oct 26 07:29:49 kabini1 kernel: da0: quirks=0x3 All I see is the device name (da0), no further partitions referenced .... > > >> I am doing this as an ordinary user, something in fstab or amd.conf ? > I'm surprised you get any reaction at all. I never got > automounting to work with Xfce... It's not exactly working for me either, only if I separately prompt an automount from CLI in another window :-/ .... > > If you have the automounting stuff via HAL and DBUS, > your /etc/fstab won't probably have an entry for the > SD card reader, and /etc/amd.conf is probably totally > out of scope here. Maybe this is an expression of the > growing incompatibilities between Linux (where Xfce > has been created for) and FreeBSD? > > I'm a bit surprised about the "msdos_iconv" kernel > module, which should be present. Can you manually > load it, maybe via /boot/loader.conf? Could I load it w/ kldload (if it's there to load) ? -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 12:35:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BD477FE3 for ; Sun, 26 Oct 2014 12:35:20 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6EF7F250 for ; Sun, 26 Oct 2014 12:35:20 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-33.adsl.hiwaay.net [216.180.19.33]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s9QCZI4T022803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 26 Oct 2014 07:35:19 -0500 Message-ID: <544CEBFD.1030704@hiwaay.net> Date: Sun, 26 Oct 2014 07:41:33 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: More info on last post .... References: <544B2C36.6080600@hiwaay.net> <1745632.OG3xRRcUAb@curlew.lan> <544BAEA9.4060407@hiwaay.net> <50514270.U3EiNzrfOW@curlew.lan> In-Reply-To: <50514270.U3EiNzrfOW@curlew.lan> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 12:35:20 -0000 On 10/26/14 03:32, Mike Clarke wrote: > On Saturday 25 Oct 2014 09:07:37 William A. Mahaffey III wrote: > >> The 'pkg lock' worked like a champ > One thing I forgot to mention is that you'll need to unlock > nspluginwrapper before running portmaster then lock it again > afterwards. > Roger that, I'll (try to) remember that. I only use ports to specifically build the flash plugin, *everything* else I do w/ pkg's .... Thx again :-) .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 12:51:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CBA144E9 for ; Sun, 26 Oct 2014 12:51:10 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 96F03376 for ; Sun, 26 Oct 2014 12:51:10 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-33.adsl.hiwaay.net [216.180.19.33]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s9QCp858029450 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 26 Oct 2014 07:51:09 -0500 Message-ID: <544CEFB4.9020301@hiwaay.net> Date: Sun, 26 Oct 2014 07:57:24 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: problems trying to mount SDHC card .... References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> In-Reply-To: <20141026052929.ef41a037.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 12:51:10 -0000 On 10/25/14 23:29, Polytropon wrote: > On Sat, 25 Oct 2014 18:39:14 -0500, William A. Mahaffey III wrote: >> >> .... I am trying to mount some SDHC cards through a USB reader >> (Transcend USB 2.0) with an eye towards using them to create bootable >> drives for a Raspberry Pi B+. > In that case, you probably won't have anything to do > with mounting the SD card (especially not as a MS-DOS > file system). The thing you're going to do here probably > isn't much more than "dd if=pi.img of=/dev/da0", and > Xfce is not able to help here. When the image has been > written, there's probably a file system different from > FAT on the card. > > > >> When I try to view the drive through >> XFCE's 'flash File Manager' (from top toolbar) it pops up an error >> dialog saying: >> >> mount_msdosfs: can't find or load "msdos_iconv" kernel module >> mount_msdosfs: msdos_iconv: operation not permitted. > Is the card currently formatted? What does > > # fdisk da0 > > say (if /dev/da0 is the SD card reader)? Or with today's > tools, > > # gpart show da0 > > Also check the dmesg entries in relation to the card reader. > Anything suspicious? > > In case the card is formatted with FAT, can you _manually_ > mount it? > > > >> I am doing this as an ordinary user, something in fstab or amd.conf ? > I'm surprised you get any reaction at all. I never got > automounting to work with Xfce... > > If you have the automounting stuff via HAL and DBUS, > your /etc/fstab won't probably have an entry for the > SD card reader, and /etc/amd.conf is probably totally > out of scope here. Maybe this is an expression of the > growing incompatibilities between Linux (where Xfce > has been created for) and FreeBSD? > > I'm a bit surprised about the "msdos_iconv" kernel > module, which should be present. Can you manually > load it, maybe via /boot/loader.conf? > > > I manually loaded the module w/ kldload & now I get a nw message from XFCE: Cannot mount volume mount_msdosfs: msdos_iconv: operation not permitted Oh well, as long as I can work w/ the device directly, that's what I will need anyway .... -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 12:55:35 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D8ABA597 for ; Sun, 26 Oct 2014 12:55:35 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7548E60B for ; Sun, 26 Oct 2014 12:55:35 +0000 (UTC) Received: from r56.edvax.de (port-92-195-215-178.dynamic.qsc.de [92.195.215.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 8A58D24BD5; Sun, 26 Oct 2014 13:48:09 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9QCm96q004422; Sun, 26 Oct 2014 13:48:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 26 Oct 2014 13:48:09 +0100 From: Polytropon To: "William A. Mahaffey III" Subject: Re: problems trying to mount SDHC card .... Message-Id: <20141026134809.18222082.freebsd@edvax.de> In-Reply-To: <544CEB1A.6020200@hiwaay.net> References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> <544CEB1A.6020200@hiwaay.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions !!!! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 12:55:35 -0000 On Sun, 26 Oct 2014 07:37:46 -0500, William A. Mahaffey III wrote: > On 10/25/14 23:29, Polytropon wrote: > > On Sat, 25 Oct 2014 18:39:14 -0500, William A. Mahaffey III wrote: > >> > >> .... I am trying to mount some SDHC cards through a USB reader > >> (Transcend USB 2.0) with an eye towards using them to create bootable > >> drives for a Raspberry Pi B+. > > In that case, you probably won't have anything to do > > with mounting the SD card (especially not as a MS-DOS > > file system). The thing you're going to do here probably > > isn't much more than "dd if=pi.img of=/dev/da0", and > > Xfce is not able to help here. When the image has been > > written, there's probably a file system different from > > FAT on the card. > > > Aaaaaaahhhhh .... That clarifies much .... I work w/ the device > directly, not MSDOS .... Beauty, ace ;-) .... The Xfce desktop doesn't have much tools for this specific kind of use, so you are probably safe to ignore error messages because they just state the already obvious. :-) > >> When I try to view the drive through > >> XFCE's 'flash File Manager' (from top toolbar) it pops up an error > >> dialog saying: > >> > >> mount_msdosfs: can't find or load "msdos_iconv" kernel module > >> mount_msdosfs: msdos_iconv: operation not permitted. > > Is the card currently formatted? What does > > > > # fdisk da0 > > > > say (if /dev/da0 is the SD card reader)? Or with today's > > tools, > > > > # gpart show da0 > > > [root@kabini1, /etc, 7:30:02am] 495 % gpart show da0 > => 63 31127489 da0 MBR (14G) > 63 8129 - free - (4M) > 8192 31119360 1 !12 (14G) > > [root@kabini1, /etc, 7:30:06am] 496 % Okay, so no "DOS primary partition" there, no msdosfs-related file system. > > Also check the dmesg entries in relation to the card reader. > > Anything suspicious? > > nothing at all, it's dated 3:03 A.M. this morning .... Good, so the reader picks up the card properly. > > In case the card is formatted with FAT, can you _manually_ > > mount it? > > From my messages file this A.M.: > > Oct 26 07:29:49 kabini1 kernel: ugen3.2: at usbus3 > Oct 26 07:29:49 kabini1 kernel: umass0: class 0/0, rev 2.00/9.03, addr 2> on usbus3 > Oct 26 07:29:49 kabini1 kernel: umass0: SCSI over Bulk-Only; quirks = > 0x4100 > Oct 26 07:29:49 kabini1 kernel: umass0:4:0:-1: Attached to scbus4 > Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. > CDB: a0 00 00 00 00 00 00 00 00 10 00 00 > Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): CAM status: > SCSI Status Error > Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: > Check Condition > Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: > ILLEGAL REQUEST asc:20,0 (Invalid command operation code) > Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): Error 22, > Unretryable error > Oct 26 07:29:49 kabini1 kernel: da0 at umass-sim0 bus 0 scbus4 target 0 > lun 0 > Oct 26 07:29:49 kabini1 kernel: da0: > Removable Direct Access SCSI-6 device > Oct 26 07:29:49 kabini1 kernel: da0: Serial Number 000000000903 > Oct 26 07:29:49 kabini1 kernel: da0: 40.000MB/s transfers > Oct 26 07:29:49 kabini1 kernel: da0: 15199MB (31127552 512 byte sectors: > 255H 63S/T 1937C) > Oct 26 07:29:49 kabini1 kernel: da0: quirks=0x3 > > > All I see is the device name (da0), no further partitions referenced .... This is okay. The card reader, when attached, doesn't determine the card's size (no card in it), and da0 then is created correctly. I think this looks correct. Keep in mind that /dev/da0 is equivalent to /dev/da0c, where 'c' means "the whole device" or "the whole partition covering the whole device" in MBR-speak. So _if_ there is only one partition on it, /dev/da0 will correspond to that partition ("dedicated"). If a MBR partition table has been added, the "s1" part appears. And if that slice carries more than one partition, the other letters ('a' for a boot partition, 'b' for swap, 'd' up to 'h' for other partitions) may appear. In regards of SD cards, it's sometimes helpful to issue the command # true > /dev/da0 to have the system "re-taste" the card to make it aware of what slices and/or partitions may reside on it. I have to do this regularly with my build-in card reader, or I won't be able to mount the SD card. Example: crw-r----- 1 root operator 0, 129 2014-10-26 06:11:23 /dev/da1 crw-r----- 1 root operator 0, 162 2014-10-26 12:48:41 /dev/da1s1 The 2nd file (used for the mount command, representing a MS-DOS file system on that card) does not appear when the card is inserted, even though the reader is recognized: da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present It's required to issue the command mentioned above to make it appear. Afterwards, mounting works as expected. % df -h /media/sd Filesystem Size Used Avail Capacity Mounted on /dev/da1s1 1.9G 208M 1.7G 11% /media/sd The act of mounting of course happens manually here. > >> I am doing this as an ordinary user, something in fstab or amd.conf ? > > I'm surprised you get any reaction at all. I never got > > automounting to work with Xfce... > > It's not exactly working for me either, only if I separately prompt an > automount from CLI in another window :-/ .... I got it working exactly once, after several hours, with Gnome, HAL, automounter, a "rewrite" of /sbin/umount, and other embarrassing things I'd like to forget (or which I already forgot because they were so terrible). :-) > > If you have the automounting stuff via HAL and DBUS, > > your /etc/fstab won't probably have an entry for the > > SD card reader, and /etc/amd.conf is probably totally > > out of scope here. Maybe this is an expression of the > > growing incompatibilities between Linux (where Xfce > > has been created for) and FreeBSD? > > > > I'm a bit surprised about the "msdos_iconv" kernel > > module, which should be present. Can you manually > > load it, maybe via /boot/loader.conf? > > > Could I load it w/ kldload (if it's there to load) ? Yes, that should be possible. You can verify if it's working with a card that _definitely_ has a MS-DOS file system on it, for example a SD card from a digital camera. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 12:57:34 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 823D766E for ; Sun, 26 Oct 2014 12:57:34 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4B4FC634 for ; Sun, 26 Oct 2014 12:57:33 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-33.adsl.hiwaay.net [216.180.19.33]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s9QCvWbU031824 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sun, 26 Oct 2014 07:57:32 -0500 Message-ID: <544CF133.6000901@hiwaay.net> Date: Sun, 26 Oct 2014 08:03:47 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 CC: "FreeBSD Questions !!!!" Subject: Re: problems trying to mount SDHC card .... References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> <544CEB1A.6020200@hiwaay.net> <20141026134809.18222082.freebsd@edvax.de> In-Reply-To: <20141026134809.18222082.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 12:57:34 -0000 On 10/26/14 07:48, Polytropon wrote: > On Sun, 26 Oct 2014 07:37:46 -0500, William A. Mahaffey III wrote: >> On 10/25/14 23:29, Polytropon wrote: >>> On Sat, 25 Oct 2014 18:39:14 -0500, William A. Mahaffey III wrote: >>>> .... I am trying to mount some SDHC cards through a USB reader >>>> (Transcend USB 2.0) with an eye towards using them to create bootable >>>> drives for a Raspberry Pi B+. >>> In that case, you probably won't have anything to do >>> with mounting the SD card (especially not as a MS-DOS >>> file system). The thing you're going to do here probably >>> isn't much more than "dd if=pi.img of=/dev/da0", and >>> Xfce is not able to help here. When the image has been >>> written, there's probably a file system different from >>> FAT on the card. >> >> Aaaaaaahhhhh .... That clarifies much .... I work w/ the device >> directly, not MSDOS .... Beauty, ace ;-) .... > The Xfce desktop doesn't have much tools for this > specific kind of use, so you are probably safe to > ignore error messages because they just state the > already obvious. :-) > > > >>>> When I try to view the drive through >>>> XFCE's 'flash File Manager' (from top toolbar) it pops up an error >>>> dialog saying: >>>> >>>> mount_msdosfs: can't find or load "msdos_iconv" kernel module >>>> mount_msdosfs: msdos_iconv: operation not permitted. >>> Is the card currently formatted? What does >>> >>> # fdisk da0 >>> >>> say (if /dev/da0 is the SD card reader)? Or with today's >>> tools, >>> >>> # gpart show da0 >> >> [root@kabini1, /etc, 7:30:02am] 495 % gpart show da0 >> => 63 31127489 da0 MBR (14G) >> 63 8129 - free - (4M) >> 8192 31119360 1 !12 (14G) >> >> [root@kabini1, /etc, 7:30:06am] 496 % > Okay, so no "DOS primary partition" there, no msdosfs-related > file system. > > > >>> Also check the dmesg entries in relation to the card reader. >>> Anything suspicious? >> nothing at all, it's dated 3:03 A.M. this morning .... > Good, so the reader picks up the card properly. > > > >>> In case the card is formatted with FAT, can you _manually_ >>> mount it? >> From my messages file this A.M.: >> >> Oct 26 07:29:49 kabini1 kernel: ugen3.2: at usbus3 >> Oct 26 07:29:49 kabini1 kernel: umass0: > class 0/0, rev 2.00/9.03, addr 2> on usbus3 >> Oct 26 07:29:49 kabini1 kernel: umass0: SCSI over Bulk-Only; quirks = >> 0x4100 >> Oct 26 07:29:49 kabini1 kernel: umass0:4:0:-1: Attached to scbus4 >> Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): REPORT LUNS. >> CDB: a0 00 00 00 00 00 00 00 00 10 00 00 >> Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): CAM status: >> SCSI Status Error >> Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI status: >> Check Condition >> Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): SCSI sense: >> ILLEGAL REQUEST asc:20,0 (Invalid command operation code) >> Oct 26 07:29:49 kabini1 kernel: (probe0:umass-sim0:0:0:0): Error 22, >> Unretryable error >> Oct 26 07:29:49 kabini1 kernel: da0 at umass-sim0 bus 0 scbus4 target 0 >> lun 0 >> Oct 26 07:29:49 kabini1 kernel: da0: >> Removable Direct Access SCSI-6 device >> Oct 26 07:29:49 kabini1 kernel: da0: Serial Number 000000000903 >> Oct 26 07:29:49 kabini1 kernel: da0: 40.000MB/s transfers >> Oct 26 07:29:49 kabini1 kernel: da0: 15199MB (31127552 512 byte sectors: >> 255H 63S/T 1937C) >> Oct 26 07:29:49 kabini1 kernel: da0: quirks=0x3 >> >> >> All I see is the device name (da0), no further partitions referenced .... > This is okay. The card reader, when attached, doesn't > determine the card's size (no card in it), and da0 then > is created correctly. I think this looks correct. > > Keep in mind that /dev/da0 is equivalent to /dev/da0c, > where 'c' means "the whole device" or "the whole partition > covering the whole device" in MBR-speak. So _if_ there > is only one partition on it, /dev/da0 will correspond > to that partition ("dedicated"). If a MBR partition > table has been added, the "s1" part appears. And if > that slice carries more than one partition, the other > letters ('a' for a boot partition, 'b' for swap, 'd' > up to 'h' for other partitions) may appear. > > In regards of SD cards, it's sometimes helpful to > issue the command > > # true > /dev/da0 > > to have the system "re-taste" the card to make it > aware of what slices and/or partitions may reside on > it. I have to do this regularly with my build-in card > reader, or I won't be able to mount the SD card. > > Example: > > crw-r----- 1 root operator 0, 129 2014-10-26 06:11:23 /dev/da1 > crw-r----- 1 root operator 0, 162 2014-10-26 12:48:41 /dev/da1s1 > > The 2nd file (used for the mount command, representing > a MS-DOS file system on that card) does not appear when > the card is inserted, even though the reader is recognized: > > da1: Removable Direct Access SCSI-0 device > da1: 40.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present > > It's required to issue the command mentioned above to > make it appear. Afterwards, mounting works as expected. > > % df -h /media/sd > Filesystem Size Used Avail Capacity Mounted on > /dev/da1s1 1.9G 208M 1.7G 11% /media/sd > > The act of mounting of course happens manually here. > > > >>>> I am doing this as an ordinary user, something in fstab or amd.conf ? >>> I'm surprised you get any reaction at all. I never got >>> automounting to work with Xfce... >> It's not exactly working for me either, only if I separately prompt an >> automount from CLI in another window :-/ .... > I got it working exactly once, after several hours, > with Gnome, HAL, automounter, a "rewrite" of /sbin/umount, > and other embarrassing things I'd like to forget (or which > I already forgot because they were so terrible). :-) > > > >>> If you have the automounting stuff via HAL and DBUS, >>> your /etc/fstab won't probably have an entry for the >>> SD card reader, and /etc/amd.conf is probably totally >>> out of scope here. Maybe this is an expression of the >>> growing incompatibilities between Linux (where Xfce >>> has been created for) and FreeBSD? >>> >>> I'm a bit surprised about the "msdos_iconv" kernel >>> module, which should be present. Can you manually >>> load it, maybe via /boot/loader.conf? >> >> Could I load it w/ kldload (if it's there to load) ? > Yes, that should be possible. > > You can verify if it's working with a card that _definitely_ > has a MS-DOS file system on it, for example a SD card from > a digital camera. > > > > *bingo* !!! Everything worked AOK .... *Boooyah* !!!! It shows up mounted under /media/flash, msdos, AOK .... Thx :-) !!!! -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 13:07:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5F5DE74B for ; Sun, 26 Oct 2014 13:07:12 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D94B574D for ; Sun, 26 Oct 2014 13:07:11 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id pn19so4625896lab.28 for ; Sun, 26 Oct 2014 06:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=uYulCJJww2jq0Hooso0LTa2MZhXKIVLfScknAF6LWOg=; b=adwFNBmbOEhPV7u/FpKlUI+/9fkz9lodgr4Ud/a/a3xh00qUAaRR9qJBbBdCyu32RS 00QTPEnp4RpTK160ztZ3AW2JpxtCzLTkDRKib6VCsU9EoomefVL+SrKlvoRCXoXmU+xo OMc9XXA3dbBcFRpT3PYHej5p5OMOUHdMuHwcsU1E6dTtGqJX06cJ8uKmu6ADW82+TC/M cs69oiPltEw75GqN+187V+JhStvPWlVykT+Q/WXLIG5NFpZLwylILILVSdnrR9lNyH6u 8pbj9Zgleu/y8LH7XKNdcZ+T0uzsS1diyh6luaw/ehrs/cjmGiI4pJPNG6GAUfPAPFNm AgaA== X-Received: by 10.112.135.229 with SMTP id pv5mr16896204lbb.52.1414328829750; Sun, 26 Oct 2014 06:07:09 -0700 (PDT) Received: from lazlar.no-ip.biz (213-64-218-92-no126.business.telia.com. [213.64.218.92]) by mx.google.com with ESMTPSA id qs2sm3914015lbb.28.2014.10.26.06.07.08 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 26 Oct 2014 06:07:09 -0700 (PDT) Message-ID: <544CF1FB.90302@gmail.com> Date: Sun, 26 Oct 2014 14:07:07 +0100 From: Rolf Nielsen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: problems trying to mount SDHC card .... References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> <544CEB1A.6020200@hiwaay.net> <20141026134809.18222082.freebsd@edvax.de> In-Reply-To: <20141026134809.18222082.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 13:07:12 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2014-10-26 13:48, Polytropon wrote: <...> > > In regards of SD cards, it's sometimes helpful to issue the > command > > # true > /dev/da0 > > to have the system "re-taste" the card to make it aware of what > slices and/or partitions may reside on it. I have to do this > regularly with my build-in card reader, or I won't be able to mount > the SD card. <...> Whatever that command writes to the card, at least we can be sure it's the truth. But then again, it writes nothing. Does that mean that there is no truth? ;) I'd like a "spoon" command that does the same, because as we all know, there is no spoon... (Sorry about the noise, I just couldn't resist. And William, please disregard it completely if it confuses you. It has no bearing on your question). Rolf -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUTPH7AAoJEPJMW41Co4JgHM4P/0c9tY71H1GOKqev/jXY7VX2 cxC0f4rBuP4yzz0N9i4282PmSR1fo+w6Gg7T+KIF/yX58+mMV2Z+4efswUYMzlmX f24Hie8oHasXtG72zSyimJetey0QsdCijTiwxuy09MTldAqrmfGj7b39ML565bTm mX4094owN2y4zO3u1UYPPZ1VdBPTbmzhRlCDoLxV2FamZlOmIbJJW9/QAQvKtBXz baS0e/7NL7UdqaihjCoX5AmBCxLFLPYKbsGEBYo0mmVcn4rKLS29tlrOBc3xndZg jrXNjEFAZMT7Rf/wWw5NvixUWNiyQSA/I5pfNrwFuF28eNo6UzL7hF4TsRW5DHNN EtT9m1z4q5InJSIvIEqzh5q2O4HDiJEK39Rbp6UXlIDfUM6EAnSnAUF+rH8ThGEi BikRAknDXnNLRmS8YPVPpOjTyNYQTZIawX0XlXhk8e9gm61EdefN80z+qjC3EGao ue4r9x9WpHZhjibj7PbJuhqJargBd7PsCmJmP2M1fAYX0bvdFUH0kCEyJoIKsxez o0kZnpRdgdHv2qL+YNRHF4mIDK4rtiwiV4tKrlUtuOYBM5Aq5Wp1NJiyiL4wf7ZS DV5meOY4avMtaFa32gjInVyABTKIjS2WbNRuvPo+NZWzSLV40PtD95RsZL39I4J8 vAcdlo9BhIUqsSwzoPBq =54Kn -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 26 13:17:36 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 119BE843 for ; Sun, 26 Oct 2014 13:17:36 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C78D8819 for ; Sun, 26 Oct 2014 13:17:35 +0000 (UTC) Received: from r56.edvax.de (port-92-195-215-178.dynamic.qsc.de [92.195.215.178]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 1F6872769B; Sun, 26 Oct 2014 14:17:33 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9QDHXXY004804; Sun, 26 Oct 2014 14:17:33 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 26 Oct 2014 14:17:33 +0100 From: Polytropon To: Rolf Nielsen Subject: Re: problems trying to mount SDHC card .... Message-Id: <20141026141733.4035cf26.freebsd@edvax.de> In-Reply-To: <544CF1FB.90302@gmail.com> References: <544C34A2.1070806@hiwaay.net> <20141026052929.ef41a037.freebsd@edvax.de> <544CEB1A.6020200@hiwaay.net> <20141026134809.18222082.freebsd@edvax.de> <544CF1FB.90302@gmail.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Oct 2014 13:17:36 -0000 On Sun, 26 Oct 2014 14:07:07 +0100, Rolf Nielsen wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 2014-10-26 13:48, Polytropon wrote: > <...> > > > > In regards of SD cards, it's sometimes helpful to issue the > > command > > > > # true > /dev/da0 > > > > to have the system "re-taste" the card to make it aware of what > > slices and/or partitions may reside on it. I have to do this > > regularly with my build-in card reader, or I won't be able to mount > > the SD card. > <...> > > Whatever that command writes to the card, at least we can be sure it's > the truth. But then again, it writes nothing. Does that mean that > there is no truth? ;) I'm not very happy with what the command looks like, but the null command # : > /dev/da0 should also work. Still, redirecting something to /dev/da0 just looks very dangerous. The truth _is_ dangerous. :-) > I'd like a "spoon" command that does the same, because as we all know, > there is no spoon... This command will be available in room 101 because everyone knows what's in this room. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 03:06:11 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6E95AD6A for ; Mon, 27 Oct 2014 03:06:11 +0000 (UTC) Received: from na01-bl2-obe.outbound.protection.outlook.com (mail-bl2on0123.outbound.protection.outlook.com [65.55.169.123]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1F2A4BF0 for ; Mon, 27 Oct 2014 03:06:09 +0000 (UTC) Received: from [10.0.0.10] (69.245.7.140) by DM2PR0201MB0783.namprd02.prod.outlook.com (25.160.95.141) with Microsoft SMTP Server (TLS) id 15.1.6.9; Mon, 27 Oct 2014 01:34:50 +0000 From: Phil Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Subject: Unclear which version I should D/L... Message-ID: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> Date: Sun, 26 Oct 2014 20:34:42 -0500 To: MIME-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Originating-IP: [69.245.7.140] X-ClientProxiedBy: DM2PR03CA0026.namprd03.prod.outlook.com (10.141.96.25) To DM2PR0201MB0783.namprd02.prod.outlook.com (25.160.95.141) X-MS-Exchange-Transport-FromEntityHeader: Hosted X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0201MB0783; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0377802854 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(199003)(105586002)(122386002)(50986999)(47776003)(20776003)(95666004)(50466002)(77156001)(80022003)(50226001)(85852003)(107886001)(2351001)(4396001)(87976001)(229853001)(107046002)(46102003)(88136002)(64706001)(66066001)(89996001)(106356001)(40100003)(36756003)(120916001)(82746002)(97736003)(23746002)(104166001)(101416001)(83716003)(110136001)(62966002)(87286001)(57306001)(102836001)(31966008)(92566001)(93916002)(86362001)(21056001)(77096002)(76482002)(92726001)(42186005)(85306004)(99396003)(33656002)(104396001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0201MB0783; H:[10.0.0.10]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-OriginatorOrg: philseymour.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 03:06:11 -0000 My apologies for raising what must appear to be a very basic question, = but I am attempting to crawl out of the clutches of Microsoft and have = little to no experience outside of the Windows domain.=20 Having carefully looked at the vast array of Linux and Unix distro=92s = available, I am keen to install FreeBSD on a Sun Microsystems box that I = recently obtained through Ebay. The machine has dual x86 processors = (AMD) and 32 Gb RAM. The boot disks are SCSI Ultra 320=92s. I have looked at your download mirror sites but am a little confused as = to which version I should be getting. Any help would greatly appreciated. Thank you. Phil.=20= From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 03:26:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB6B0FA7 for ; Mon, 27 Oct 2014 03:26:44 +0000 (UTC) Received: from mail-pd0-x22b.google.com (mail-pd0-x22b.google.com [IPv6:2607:f8b0:400e:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A17B9DDE for ; Mon, 27 Oct 2014 03:26:44 +0000 (UTC) Received: by mail-pd0-f171.google.com with SMTP id r10so4806373pdi.16 for ; Sun, 26 Oct 2014 20:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=WjsVDGnDyxs9gkZJ8BLi3QmMw6noxqPOH9cER9vPV3U=; b=KZGjYwxDLhtfxrBhJlWh7J0hmCTBcnLehafQfM0CSJu7wlYEfovPmSgfOkmLxqSs9L 7b27qIqHQhoeuSPt1uXXN6NJaMfr7mjOL9WeGZSof/gYOVMQbrLZ5l5najIhRgdAx4mU JshfGxVrJTNZogx7fk6aEEYSz6lr3DHehjVRHdAZSrMSM/ayt0cQn9/qNIOshWfJFaL8 mUL0f3yQpMqzBjAzqGeRYhICDrOemp2DzyEKK72c7u51+NxMsAxFMb7Btq+W9h4gJxTi wgg/3fOq9w8UuNVccYxhV48+OIpXr6ZlBGFRxoyTWfOurRfMNvelDvKytlvHLZmz2HwL HOdg== X-Received: by 10.68.219.35 with SMTP id pl3mr862177pbc.143.1414380404284; Sun, 26 Oct 2014 20:26:44 -0700 (PDT) Received: from xenon (S010654e43ae5a1d8.ed.shawcable.net. [96.52.242.93]) by mx.google.com with ESMTPSA id dx10sm9507546pab.38.2014.10.26.20.26.42 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sun, 26 Oct 2014 20:26:43 -0700 (PDT) Date: Sun, 26 Oct 2014 21:26:42 -0600 From: Darren Kirby To: freebsd-questions@freebsd.org Subject: Re: Unclear which version I should D/L... Message-ID: <20141026212642.15ef0595@xenon> In-Reply-To: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> References: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.24; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 03:26:44 -0000 On Sun, 26 Oct 2014 20:34:42 -0500 Phil wrote: > The machine > has dual x86 processors (AMD) and 32 Gb RAM. The boot disks are SCSI > Ultra 320s. I have looked at your download mirror sites but am a > little confused as to which version I should be getting. Any help > would greatly appreciated. Thank you. Phil. I see no reason not to start with FreeBSD 10.0-RELEASE. You will want the i386 version of the ISO if those are 32bit processors. -D From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 03:36:14 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13337131 for ; Mon, 27 Oct 2014 03:36:14 +0000 (UTC) Received: from cosmo.uchicago.edu (cosmo.uchicago.edu [128.135.52.97]) by mx1.freebsd.org (Postfix) with ESMTP id E14F6EAB for ; Mon, 27 Oct 2014 03:36:13 +0000 (UTC) Received: by cosmo.uchicago.edu (Postfix, from userid 48) id C9B77CB8C99; Sun, 26 Oct 2014 22:36:04 -0500 (CDT) Received: from 76.192.184.214 (SquirrelMail authenticated user valeri) by cosmo.uchicago.edu with HTTP; Sun, 26 Oct 2014 22:36:04 -0500 (CDT) Message-ID: <64771.76.192.184.214.1414380964.squirrel@cosmo.uchicago.edu> In-Reply-To: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> References: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> Date: Sun, 26 Oct 2014 22:36:04 -0500 (CDT) Subject: Re: Unclear which version I should D/L... From: "Valeri Galtsev" To: "Phil" Reply-To: galtsev@kicp.uchicago.edu User-Agent: SquirrelMail/1.4.8-5.el5.centos.7 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 03:36:14 -0000 On Sun, October 26, 2014 8:34 pm, Phil wrote: > My apologies for raising what must appear to be a very basic question, but > I am attempting to crawl out of the clutches of Microsoft and have little > to no experience outside of the Windows domain. > Having carefully looked at the vast array of Linux and Unix distros > available, I am keen to install FreeBSD on a Sun Microsystems box that I > recently obtained through Ebay. The machine has dual x86 processors (AMD) > and 32 Gb RAM. The boot disks are SCSI Ultra 320s. The machine model will definitely help. Knowing Sun, I would say, you most likely have AMD Opteron CPUs (they will rather unlikely pack 32 bit machine with amount of RAM the CPU will not be able to address as a whole). So, the best bet would be FreeBSD 10.0 (or 9.3) release. Good luck! I like your choice of OS, I myself fleeing my server away from Linux to FreeBSD during last 2 or 3 years. Valeri > I have looked at your download mirror sites but am a little confused as to > which version I should be getting. > Any help would greatly appreciated. Thank you. > Phil. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ++++++++++++++++++++++++++++++++++++++++ Valeri Galtsev Sr System Administrator Department of Astronomy and Astrophysics Kavli Institute for Cosmological Physics University of Chicago Phone: 773-702-4247 ++++++++++++++++++++++++++++++++++++++++ From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 04:57:25 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4A0883A for ; Mon, 27 Oct 2014 04:57:25 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8B6177BD for ; Mon, 27 Oct 2014 04:57:25 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id fp1so1645062pdb.37 for ; Sun, 26 Oct 2014 21:57:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=E+D2S2ibP9W0DZo/OiY2cAHP1ER7Cin04q6lhUeNQD4=; b=1BNtAYYb+eqyPDQ/7CgU8OfBQNAYMOg4HkgID0lOlXRXkQWJmwWOhgz2g1EYr+O+J3 oU+sHOfjGqkLCc0YDopv4ARL+BI7g003dLET3F1z20d+skPknMkAiTJ8wktWmG5de23A LjCs6a/JqCPITUNJb5bo325efKgi3e4A3543JffVPQkUo+TE+CaKlQmvX4/+oeOdntyw xpGpKLS/dk8cNbmzhZF4GHLOdftjZEBzFelGQMMpTTT9MAH9/bPwl29VDrZF8vJes9Ye GCg7Wd7m8Gq0zoWNwjuGNKgYinnoQ+66B1J4nSYfMa9uRk60SybdjoRskxgzBoPFWDTL wG5w== MIME-Version: 1.0 X-Received: by 10.67.5.41 with SMTP id cj9mr21365329pad.73.1414385845045; Sun, 26 Oct 2014 21:57:25 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Sun, 26 Oct 2014 21:57:25 -0700 (PDT) In-Reply-To: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> References: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> Date: Sun, 26 Oct 2014 23:57:25 -0500 Message-ID: Subject: Re: Unclear which version I should D/L... From: Adam Vande More To: Phil Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 04:57:25 -0000 On Sun, Oct 26, 2014 at 8:34 PM, Phil wrote: > My apologies for raising what must appear to be a very basic question, bu= t > I am attempting to crawl out of the clutches of Microsoft and have little > to no experience outside of the Windows domain. > Having carefully looked at the vast array of Linux and Unix distro=E2=80= =99s > available, I am keen to install FreeBSD on a Sun Microsystems box that I > recently obtained through Ebay. The machine has dual x86 processors (AMD) > and 32 Gb RAM. The boot disks are SCSI Ultra 320=E2=80=99s. > I have looked at your download mirror sites but am a little confused as t= o > which version I should be getting. > Any help would greatly appreciated. Thank you. > Phil. > You'll want to get one of the AMD64 iso's from here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/ I generally use the disk1 or memstick image to install OS then install packages from repo. Don't forget to use freebsd-update after the install to get latest security patches. --=20 Adam From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 05:02:37 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF10091E for ; Mon, 27 Oct 2014 05:02:37 +0000 (UTC) Received: from BLU004-OMC2S36.hotmail.com (blu004-omc2s36.hotmail.com [65.55.111.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 98B3087C for ; Mon, 27 Oct 2014 05:02:37 +0000 (UTC) Received: from BLU436-SMTP84 ([65.55.111.71]) by BLU004-OMC2S36.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 26 Oct 2014 22:02:36 -0700 X-TMN: [p95j4gShoEhmI3swgpD8WZ1IF1ScEgd6pwJzFsAuHSo=] X-Originating-Email: [seo.consultantc@hotmail.com] Message-ID: Subject: freebsd.org - audit report now available MIME-Version: 1.0 Date: Mon, 27 Oct 2014 10:34:43 +0530 From: David To: freebsd-questions@FreeBSD.org X-OriginalArrivalTime: 27 Oct 2014 05:02:31.0031 (UTC) FILETIME=[36518870:01CFF1A3] Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: Quoted-Printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 05:02:37 -0000 Dear owner of freebsd.org,=20 I=E2=80=99m sure you have been contacted in this matter many times bef= ore but our value proposition is much different. We show the client re= sults before we ask for any further commitment.=20 As a business owner you might be interested to gain profit by placing = your website among top in search engines.=20 Your website needs immediate improvement for some major issues with yo= ur website. -Low online presence for many competitive keyword phrases -Unorganized social media accounts -Not compatible with all mobile devices -Many bad back links to your website I have selected your website freebsd.org and prepared a FREE website a= udit report. This is for you, completely free at no charge.=20 If my proposal sound's interesting for your business goal, feel free t= o email me, or can provide me with your phone number and the best time= to call you. I am also available for an online meeting to present you= this website audit report. I look forward to hearing from you - thanks! Best Regards, David Marketing Consultant PS: I am not spamming. I have studied your website, prepared an audit = report and believe I can help with your business promotion. If you sti= ll want us to not contact you, you can ignore this email or ask to rem= ove and I will not contact again. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 10:21:41 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDC70AA9 for ; Mon, 27 Oct 2014 10:21:40 +0000 (UTC) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.17.24]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 97A8ED7A for ; Mon, 27 Oct 2014 10:21:40 +0000 (UTC) Received: from postino (host190-188-dynamic.33-79-r.retail.telecomitalia.it [79.33.188.190]) by mrelayeu.kundenserver.de (node=mreue104) with ESMTP (Nemesis) id 0M1od8-1XxkRU1FRC-00tjuc; Mon, 27 Oct 2014 11:21:38 +0100 From: HIT Srl - Reachstacker Spare parts To: freebsd-questions@freebsd.org Subject: Reachstacker Spare parts - Celebrating 9 years of business HIT Srl Sender: HIT Srl - Reachstacker Spare parts Mime-Version: 1.0 Date: Mon, 27 Oct 2014 10:21:38 GMT X-AntiAbuse: X-Priority: 3 Priority: Normal X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <0M1od8-1XxkRU1FRC-00tjuc@mrelayeu.kundenserver.de> X-Provags-ID: V02:K0:gZU+J9fOcWXgS5BbZhgx6nlJ5I4MnSg9mwCjSyun9EB Pql+m0WNBqXewxyt/Sq5NRo9o0kM1NE6W/q7S08dDp18LwdEY8 Dxhc073HskabHVsHfUgk5lYVSipO8HKJjuziriJJ0OIFwapaOv meX1JAGAa2fp3CoGrCYFaUkXV4lgRabFFlqOxezQihaWSAlgP7 OiEd2ne7wpjFSYPnO1v+JXUq/V+8mcsQezjl0O9IcQ7UdRGagj iv9JqHKoJN03dC7F1MUiZd9in04h+Zd5X+kyife2Bni8jcSiLA Y29sQx300AUdDB6zAXaog5mElT48C6nWVoYvkE3BH8ugwA/PQk rp7t/WXTknU8EjYlfEn6QJtudEmCzsAfJDJGu85cVBcnM25s94 nd8y8EmbJjHwg== X-UI-Out-Filterresults: notjunk:1; Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 10:21:41 -0000 We are happy to share with you our celebration of 9 years of business. = We like to remember you that we could assist you with spare parts suita= ble for port equipments like CVS Ferrari, Belotti, Fantuzzi Reggiane, ax= les, differential and transmission parts suitable for Kalmar, Konecranes= , SMV, Svetruck, Sisu like Kessler, Axletech, Clark, Allison. We are specialists in OEM spare parts for forklifts, reachstackers, cra= nes and other port equipments, then if you have an Italian equipment, we= are the best company to enquire for spare parts. We aren=92t dealer, agent or official distributor of none of above ment= ioned brand, we are technicians! Daily we manage transmission parts, cooling parts, hydraulic parts, axl= e parts, engine parts, gooseneck, steering parts, brake parts, electroni= c and electrical parts, cylinders, spreaders, twist lock, high pressure = hose, pin, load cell, wiper motor, reconditioned diesel engines, rims an= d tyres, etc etc. Send us an email with full and detailed list of the parts that you need= and we will reply you shortly! Distinti Saluti / Best Regards HIT TEAM Email / SKYPE: info@hitsrl.com HIT Spare parts for Port Equipments and Material Handling Equipments HIT S.r.l. Via Domenico Tosi 6 - 42124 - Reggio Emilia - ITALY - Pi= va/Vat IT 02984080362 Tel +39 0522 1756017 (2 lines) Tel +39 0522 506100 (2 lines) Fax +39 0522 271015 HIT Email: info@hitsrl.com HIT WebSite: www.hitsrl.com If you don't like receive our info just reply us with NOEMAIL in subjec= t. Sorry to have bothered you. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 11:23:16 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C7BA5300; Mon, 27 Oct 2014 11:23:16 +0000 (UTC) Received: from mgaterz2.oekb.co.at (mgaterz2.oekb.co.at [143.245.5.112]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mgaterz1.oekb.co.at", Issuer "Symantec Class 3 Secure Server CA - G4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D2F54766; Mon, 27 Oct 2014 11:23:15 +0000 (UTC) Received: from exchhubcas1.oekb.co.at ([143.245.3.64]) by mgaterz2.oekb.co.at with ESMTP/TLS/AES128-SHA; 27 Oct 2014 12:22:01 +0100 Received: from aurora.oekb.co.at (143.245.9.16) by internal-relay-exchhubcas1.oekb.co.at (143.245.3.65) with Microsoft SMTP Server id 14.3.210.2; Mon, 27 Oct 2014 12:22:00 +0100 Received: from aurora.oekb.co.at (localhost [127.0.0.1]) by aurora.oekb.co.at (8.14.9/8.14.9) with ESMTP id s9RBM0i0095327; Mon, 27 Oct 2014 12:22:00 +0100 (CET) (envelope-from a@jenisch.at) Received: (from ej@localhost) by aurora.oekb.co.at (8.14.9/8.14.9/Submit) id s9RBM0PB095324; Mon, 27 Oct 2014 12:22:00 +0100 (CET) (envelope-from a@jenisch.at) X-Authentication-Warning: aurora.oekb.co.at: ej set sender to a@jenisch.at using -f Date: Mon, 27 Oct 2014 12:22:00 +0100 From: Ewald Jenisch To: , Subject: Wireshark - error while building from source Message-ID: <20141027112200.GA57646@aurora.oekb.co.at> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline X-Organization: Oesterreichische Kontrollbank AG X-Phone: +43 1 53127-2175 X-Fax: +43 1 53127-4175 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 11:23:16 -0000 Hi, I'm trying to get wireshark working unter 9.3 (x64, kernel/system current as of last week) without success so far. I went to /usr/ports/net/wireshark ran make and here's what I ended up with: ------------------------------ < Cut here > ------------------------------ . . . CC libdissectors_la-packet-logotypecertextn.lo ../../asn1/kerberos/packet-kerberos-template.c: In function 'read_keytab_file': ../../asn1/kerberos/packet-kerberos-template.c:470: warning: request for implicit conversion from 'gpointer' to 'struct enc_key_t *' not permitted in C++ ../../asn1/kerberos/packet-kerberos-template.c:482: error: 'krb5_principal_data' has no member named 'name' ../../asn1/kerberos/packet-kerberos-template.c:483: error: 'krb5_principal_data' has no member named 'name' ../../asn1/kerberos/packet-kerberos-template.c:483: error: 'krb5_principal_data' has no member named 'name' ../../asn1/kerberos/packet-kerberos-template.c:486: warning: format '%s' expects type 'char *', but argument 4 has type 'krb5_data' ../../asn1/kerberos/packet-kerberos-template.c:486: warning: format '%s' expects type 'char *', but argument 4 has type 'krb5_data' ../../asn1/kerberos/packet-kerberos-template.c:489: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:490: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:491: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:491: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:491: warning: request for implicit conversion from 'gpointer' to 'char *' not permitted in C++ ../../asn1/kerberos/packet-kerberos-template.c: In function 'decrypt_krb5_data': ../../asn1/kerberos/packet-kerberos-template.c:531: error: 'krb5_crypto' undeclared (first use in this function) ../../asn1/kerberos/packet-kerberos-template.c:531: error: (Each undeclared identifier is reported only once ../../asn1/kerberos/packet-kerberos-template.c:531: error: for each function it appears in.) ../../asn1/kerberos/packet-kerberos-template.c:531: error: expected ';' before 'crypto' ../../asn1/kerberos/packet-kerberos-template.c:532: warning: ISO C90 forbids mixed declarations and code ../../asn1/kerberos/packet-kerberos-template.c:539: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:540: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:541: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:542: warning: implicit declaration of function 'krb5_crypto_init' ../../asn1/kerberos/packet-kerberos-template.c:542: error: 'krb5_keytab_entry' has no member named 'keyblock' ../../asn1/kerberos/packet-kerberos-template.c:542: error: 'crypto' undeclared (first use in this function) ../../asn1/kerberos/packet-kerberos-template.c:553: warning: request for implicit conversion from 'gpointer' to 'guint8 *' not permitted in C++ ../../asn1/kerberos/packet-kerberos-template.c:554: warning: implicit declaration of function 'krb5_decrypt_ivec' ../../asn1/kerberos/packet-kerberos-template.c:564: warning: implicit declaration of function 'krb5_crypto_destroy' ../../asn1/kerberos/packet-kerberos-template.c:566: warning: request for implicit conversion from 'gpointer' to 'char *' not permitted in C++ Makefile:12591: recipe for target 'libdissectors_la-packet-kerberos.lo' failed gmake[5]: *** [libdissectors_la-packet-kerberos.lo] Error 1 CC libdissectors_la-packet-lpp.lo gmake[5]: *** Waiting for unfinished jobs.... gmake[5]: Leaving directory '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan/dissectors' Makefile:13170: recipe for target 'all-recursive' failed gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan/dissectors' Makefile:3443: recipe for target 'all' failed gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan/dissectors' Makefile:1906: recipe for target 'all-recursive' failed gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan' Makefile:3970: recipe for target 'all-recursive' failed gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory '/usr/ports/net/wireshark/work/wireshark-1.12.1' Makefile:2106: recipe for target 'all' failed gmake: *** [all] Error 2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** [do-build] Error code 1 Stop in /usr/ports/net/wireshark. *** [stage] Error code 1 Stop in /usr/ports/net/wireshark. ------------------------------ < Cut here > ------------------------------ I then followed the tip given at the end of the error message by setting export MAKE_JOBS_UNSAFE=yes and re-running make Same error again. Any idea as to what can be wrong here? Thanks much in advance for any clue, -ewald From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 11:25:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 17ADC494 for ; Mon, 27 Oct 2014 11:25:23 +0000 (UTC) Received: from ipmail06.adl6.internode.on.net (ipmail06.adl6.internode.on.net [150.101.137.145]) by mx1.freebsd.org (Postfix) with ESMTP id 997437A4 for ; Mon, 27 Oct 2014 11:25:22 +0000 (UTC) Received: from ppp118-210-8-90.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.8.90]) by ipmail06.adl6.internode.on.net with ESMTP; 27 Oct 2014 21:50:11 +1030 Message-ID: <544E2A68.4040809@ShaneWare.Biz> Date: Mon, 27 Oct 2014 21:50:08 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Phil Subject: Re: Unclear which version I should D/L... References: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 11:25:23 -0000 On 27/10/2014 15:27, Adam Vande More wrote: > On Sun, Oct 26, 2014 at 8:34 PM, Phil wrote: > >> My apologies for raising what must appear to be a very basic question, but >> I am attempting to crawl out of the clutches of Microsoft and have little >> to no experience outside of the Windows domain. >> Having carefully looked at the vast array of Linux and Unix distro’s >> available, I am keen to install FreeBSD on a Sun Microsystems box that I >> recently obtained through Ebay. The machine has dual x86 processors (AMD) >> and 32 Gb RAM. The boot disks are SCSI Ultra 320’s. >> I have looked at your download mirror sites but am a little confused as to >> which version I should be getting. >> Any help would greatly appreciated. Thank you. >> Phil. >> > > You'll want to get one of the AMD64 iso's from here: > > ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/ > > I generally use the disk1 or memstick image to install OS then install > packages from repo. Don't forget to use freebsd-update after the install > to get latest security patches. +1 on amd64 version with it having 32GB RAM I would say start with 10.1 - it is currently at RC3 with the final release due within a couple of weeks. There are several images to choose from - bootonly will give you the smallest download to start up the machine, and install the base system, then you can download just the packages you want to install. disc1 adds a collection of popular packages that can then be installed without network access. dvd1 expands the included packages. memstick and mini-memstick are similar to disc1 and bootonly but setup for usb memory sticks instead of cd/dvd media, for instructions on putting the memstick images onto media see https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-pre.html Not sure about sun machines, if you have any trouble booting try one of the uefi variations. The ".xz" suffix refers to compressed images - not 100% sure that a windows machine can de-compress them. FreeBSD is a small base system that you can then install other things like apache or mysql or maybe Xorg with KDE or gnome to get a gui. If you aren't familiar with text only systems you may also want to consider PC-BSD. It installs from a gui boot disk and has a preset setup that will be familiar to anyone that has only used osx or windows. It also includes gui tools to assist in updating or installing other applications. http://www.pcbsd.org/en/download.html -- FreeBSD - the place to B...Serving Data Shane Ambler From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 14:17:28 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5EAE475 for ; Mon, 27 Oct 2014 14:17:28 +0000 (UTC) Received: from io.ze.tum.de (io.ze.tum.de [129.187.39.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2933ECCC for ; Mon, 27 Oct 2014 14:17:27 +0000 (UTC) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.200]) (authenticated bits=0) by io.ze.tum.de (8.14.5/8.14.5) with ESMTP id s9REGfdr059145 for ; Mon, 27 Oct 2014 15:16:41 +0100 (CET) (envelope-from schmidt@ze.tum.de) Message-ID: <544E53C1.1040103@ze.tum.de> Date: Mon, 27 Oct 2014 15:16:33 +0100 From: Gerhard Schmidt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: ipfw and carp problems X-Enigmail-Version: 1.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5FFPfh5Fr7fKVkMnWMlITsa9nqjQUuvd5" X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 14:17:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --5FFPfh5Fr7fKVkMnWMlITsa9nqjQUuvd5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hi, I have a small problem with ipfw an carp. i have two server with two carp ips and a firewall via ipfw. the problem is tha ipfw via modul is default to deny. So when the carp interfaces are initialized ipfw has no custom rules. Everything is denied, even the carp packets. So every time I reboot one of the hosts it comes up as master and after the firewall rules are initialized one of the servers is demoted to backup, which one seams to be random. My problem is that my setup need a new server do come up as backup because is has to replicate the data from the running server before being able to act as master. There could be data loss if a newly booted server named master without prior replicating the data. Is there a way to ensure that the firewall rules are up before the carp interfaces are initialized or to load the ipfw module with default to accept. Regards Estartu --=20 ------------------------------------------------- Gerhard Schmidt | E-Mail: schmidt@ze.tum.de TU-M=FCnchen | Jabber: estartu@ze.tum.de WWW & Online Services | Tel: 089/289-25270 | Fax: 089/289-25257 | PGP-Publickey auf Anfrage --5FFPfh5Fr7fKVkMnWMlITsa9nqjQUuvd5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEVAwUBVE5Tydl1K6RAAKkVAQJ1cQf9HXzNbW7o3Iqvf8ES/joHORaomwLQDl9J VjpjEneoDhwYmlqE7ofZQbBzXKzmkVTkpBuSJhGp/JMnm3LXpKIGhG2cS2liv9Hh g8tzGSEtS03wPgpqu54x7X5oDeTmkauxP5lHe+4MQbCseLR0XgcLjB7cT5LL9n6f henffNOl8llFPVkHrfhoxxzDIRzyv/Q+Q+UvzLbxj+GkkaiW4akMUyuicnGA+vNn 3tVRzVyopu4+uBvJUA+QeRXMa3tHkhQ+tM+xqGCgo4aqkBmyDjEfneyjBDXOWSy1 2PeO/7U+a44nWt385RyFCXBywRjLG8q4s82G5GkJXO+0Sp67m813Og== =Mq6g -----END PGP SIGNATURE----- --5FFPfh5Fr7fKVkMnWMlITsa9nqjQUuvd5-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 14:27:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB90A654 for ; Mon, 27 Oct 2014 14:27:15 +0000 (UTC) Received: from mailint.univ-lr.fr (mailint.univ-lr.fr [193.49.30.36]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7CEDDDD4 for ; Mon, 27 Oct 2014 14:27:15 +0000 (UTC) Received: from [10.1.11.23] (soleil.univ-lr.fr [10.1.11.23]) (authenticated bits=0) by mailint.univ-lr.fr (8.14.4/8.14.4) with ESMTP id s9REMWbs021715 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 27 Oct 2014 15:22:32 +0100 Message-ID: <544E53F8.6030805@univ-lr.fr> Date: Mon, 27 Oct 2014 15:17:28 +0100 From: Olivier Sauzet User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Nagios Check freebsd-update Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.6 at mail X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 14:27:15 -0000 Hi, I started wroting a short checkfor "freebsd-update install" and if its necessary to reboot ... But whith p11 in freebsd10 my check are broken... Coul you tell me if its the right way for test if a rebbot is necessary... Thanks... #!/bin/sh # # Check if update are installed after a : freebsd-update fetch # and test if reboot is needed # KERN_VERS : kernel currently running # FILESYSTEM_VERS : print the version (and patch) of the new kernel # UPDATE_VERS : currently update version STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 KERN_VERS="$(uname -r | cut -d 'p' -f2 )" FILESYSTEM_VERS="$(freebsd-version -k |cut -d 'p' -f2)" UPDATE_VERS="$(cut -d '|' -f4 /var/db/freebsd-update/tag)" BASEDIR="/" BASE="/var/db/freebsd-update" cd $BASE # Construct a unique name from ${BASEDIR} BDHASH=`echo $BASEDIR | sha256 -q` if [ "$KERN_VERS" -ne "$UPDATE_VERS" ] || [ "$FILESYSTEM_VERS" -ne "$UPDATE_VERS" ] ;then if [ -f "$BASE/$BDHASH-install/INDEX-NEW" ];then kern_patch=$(grep -c 'kernel' $BASE/$BDHASH-install/INDEX-NEW) elif [ -f "$BASE/$BDHASH-rollback/INDEX-NEW" ];then kern_patch=$(grep -c 'kernel' $BASE/$BDHASH-rollback/INDEX-NEW) fi # Check that we have updates ready to install if [ -L ${BDHASH}-install ] && [ $kern_patch -ne 0 ]; then echo "Updates (p$UPDATE_VERS) are available to install, AND reboot are needed : Kern Pach = $kern_patch " && exit $STATE_WARNING elif [ -L ${BDHASH}-install ];then echo "Install update (p$UPDATE_VERS) by : freebsd-update install" && exit $STATE_WARNING elif [ -L ${BDHASH}-rollback ] && [ $kern_patch -ne 0 ];then echo "Reboot for apply Kern Patch: ($kern_patch patch), that install completely update (p$UPDATE_VERS) " && exit $STATE_WARNING fi else echo "OK - Systeme UpToDate" && exit $STATE_OK fi -- -------------------------------------------------------------------- Olivier S -------------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 16:34:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 85403419; Mon, 27 Oct 2014 16:34:11 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 484DBF76; Mon, 27 Oct 2014 16:34:11 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id ar1so4768607iec.10 for ; Mon, 27 Oct 2014 09:34:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ZRtMloqbYKyKShA4dwy06ouEiNncsSsakZSetuPjbDo=; b=ZoToN7uGmw4o7RlaB1DaNPIvsIQJdtEncMjunZfeKZAFfStgmETX31HAkAr9nKvRbx PA1MeRGOcHGcaX8A5B3+PVun4mtsl/+dMAX4vbz3TO89Ya9qP0ud5UKrH2Z/2JFPNK6l XJXkgrcsA4d2mkij6HkC2OCG8Ba+C5ncQd2NKOg9Z9wdJOcsVudSMqQk6XuHmB4WUiD9 gjlSuXeuuBRqVeY+6abfgfRE6SRloWRJJqesR2PNsvsJusKw0K9yo3+CH6SB+ACii6RZ RSqjM9aN9ovb8Ch+CbZv3ksKye1ZQpMRcaSqmXBxXhFwbVxEh8FZwtYG+NbhsyRBLPrW V9Yg== MIME-Version: 1.0 X-Received: by 10.107.4.2 with SMTP id 2mr10642387ioe.44.1414427650387; Mon, 27 Oct 2014 09:34:10 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.107.11.152 with HTTP; Mon, 27 Oct 2014 09:34:10 -0700 (PDT) In-Reply-To: <20141027112200.GA57646@aurora.oekb.co.at> References: <20141027112200.GA57646@aurora.oekb.co.at> Date: Mon, 27 Oct 2014 09:34:10 -0700 X-Google-Sender-Auth: TDBIMVzsSgHS_QLpeY-DvPNKJIc Message-ID: Subject: Re: Wireshark - error while building from source From: Kevin Oberman To: Ewald Jenisch Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Mailinglists FreeBSD , FreeBSD Ports ML X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 16:34:11 -0000 On Mon, Oct 27, 2014 at 4:22 AM, Ewald Jenisch wrote: > Hi, > > I'm trying to get wireshark working unter 9.3 (x64, kernel/system > current as of last week) without success so far. > > I went to /usr/ports/net/wireshark ran make and here's what I ended up > with: > > ------------------------------ < Cut here > ------------------------------ > > . > . > . > > CC libdissectors_la-packet-logotypecertextn.lo > ../../asn1/kerberos/packet-kerberos-template.c: In function > 'read_keytab_file': > ../../asn1/kerberos/packet-kerberos-template.c:470: warning: request for > implicit conversion from 'gpointer' to 'struct enc_key_t *' not permitted > in C++ > ../../asn1/kerberos/packet-kerberos-template.c:482: error: > 'krb5_principal_data' has no member named 'name' > ../../asn1/kerberos/packet-kerberos-template.c:483: error: > 'krb5_principal_data' has no member named 'name' > ../../asn1/kerberos/packet-kerberos-template.c:483: error: > 'krb5_principal_data' has no member named 'name' > ../../asn1/kerberos/packet-kerberos-template.c:486: warning: format '%s' > expects type 'char *', but argument 4 has type 'krb5_data' > ../../asn1/kerberos/packet-kerberos-template.c:486: warning: format '%s' > expects type 'char *', but argument 4 has type 'krb5_data' > ../../asn1/kerberos/packet-kerberos-template.c:489: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:490: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:491: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:491: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:491: warning: request for > implicit conversion from 'gpointer' to 'char *' not permitted in C++ > ../../asn1/kerberos/packet-kerberos-template.c: In function > 'decrypt_krb5_data': > ../../asn1/kerberos/packet-kerberos-template.c:531: error: 'krb5_crypto' > undeclared (first use in this function) > ../../asn1/kerberos/packet-kerberos-template.c:531: error: (Each > undeclared identifier is reported only once > ../../asn1/kerberos/packet-kerberos-template.c:531: error: for each > function it appears in.) > ../../asn1/kerberos/packet-kerberos-template.c:531: error: expected ';' > before 'crypto' > ../../asn1/kerberos/packet-kerberos-template.c:532: warning: ISO C90 > forbids mixed declarations and code > ../../asn1/kerberos/packet-kerberos-template.c:539: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:540: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:541: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:542: warning: implicit > declaration of function 'krb5_crypto_init' > ../../asn1/kerberos/packet-kerberos-template.c:542: error: > 'krb5_keytab_entry' has no member named 'keyblock' > ../../asn1/kerberos/packet-kerberos-template.c:542: error: 'crypto' > undeclared (first use in this function) > ../../asn1/kerberos/packet-kerberos-template.c:553: warning: request for > implicit conversion from 'gpointer' to 'guint8 *' not permitted in C++ > ../../asn1/kerberos/packet-kerberos-template.c:554: warning: implicit > declaration of function 'krb5_decrypt_ivec' > ../../asn1/kerberos/packet-kerberos-template.c:564: warning: implicit > declaration of function 'krb5_crypto_destroy' > ../../asn1/kerberos/packet-kerberos-template.c:566: warning: request for > implicit conversion from 'gpointer' to 'char *' not permitted in C++ > Makefile:12591: recipe for target 'libdissectors_la-packet-kerberos.lo' > failed > gmake[5]: *** [libdissectors_la-packet-kerberos.lo] Error 1 > CC libdissectors_la-packet-lpp.lo > gmake[5]: *** Waiting for unfinished jobs.... > gmake[5]: Leaving directory > '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan/dissectors' > Makefile:13170: recipe for target 'all-recursive' failed > gmake[4]: *** [all-recursive] Error 1 > gmake[4]: Leaving directory > '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan/dissectors' > Makefile:3443: recipe for target 'all' failed > gmake[3]: *** [all] Error 2 > gmake[3]: Leaving directory > '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan/dissectors' > Makefile:1906: recipe for target 'all-recursive' failed > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory > '/usr/ports/net/wireshark/work/wireshark-1.12.1/epan' > Makefile:3970: recipe for target 'all-recursive' failed > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory > '/usr/ports/net/wireshark/work/wireshark-1.12.1' > Makefile:2106: recipe for target 'all' failed > gmake: *** [all] Error 2 > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > the maintainer. > *** [do-build] Error code 1 > > Stop in /usr/ports/net/wireshark. > *** [stage] Error code 1 > > Stop in /usr/ports/net/wireshark. > > ------------------------------ < Cut here > ------------------------------ > > I then followed the tip given at the end of the error message by setting > > export MAKE_JOBS_UNSAFE=yes > and re-running make > > Same error again. > > > Any idea as to what can be wrong here? > > Thanks much in advance for any clue, > -ewald > > Just to clarify, because it seems to not be all that well understood, building with MAKE_JOBS_UNSAFE=yes is unlikely to fix a problem with a build. It will provide more useful error information for the report. Many ports now will be built with multiple commands running at the same time to allow multiple cores to all be used at once. A downside to this is that all of the compiles will generate messages as they happen which often results in error messages showing up in the output stream many lines away from the command that caused the error. I've seen over a hundred lines from unrelated warnings and output reports between the command and the error which often results in bug reports that provide no information on just where the error messages came from. MAKE_JOBS_UNSAFE causes the make to be done "the old way" with each command completed before the next is issued. This can greatly increase build time, but output is now in the proper sequence. It is also possible that the parallelization of the build may have been done so that one command steps on another. In this case, MAKE_JOBS_UNSAFE will work around the problem, but it is still a bug and should be reported so that the build can be adjusted to prevent this from happening or to disable parallel building if it can't be fixed. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 20:01:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C21CDC44 for ; Mon, 27 Oct 2014 20:01:08 +0000 (UTC) Received: from mail.qcislands.net (mail.qcislands.net [23.235.65.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9DCC2BED for ; Mon, 27 Oct 2014 20:01:08 +0000 (UTC) Received: from mail.qcislands.net ([23.235.65.68]) by mail.qcislands.net with esmtp (Exim 4.82) (envelope-from ) id 1XiqQX-000BGR-9B; Mon, 27 Oct 2014 12:58:05 -0700 Received: from 254-68-235-23.qcislands.net ([23.235.68.254]) by mail.qcislands.net with HTTP (HTTP/1.1 POST); Mon, 27 Oct 2014 12:57:55 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 27 Oct 2014 12:57:55 -0700 From: Jim Pazarena To: Freebsd Questions Subject: out of swap space Message-ID: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> X-Sender: fquest@paz.bz User-Agent: Roundcube Webmail/1.0.3 X-local_scan: locally submitted (8) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 20:01:08 -0000 There is a lot of historical chatter about the amount of swap space required. But for my question, I haven't seen discussion: What HAPPENS when the system flags "out of swap space". Does a process die? or does the system merely become very sluggish? I have dozens of "out of swap space" messages, but I cannot find any dead and/or failed jobs. Thx From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 20:25:42 2014 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5D9A0607 for ; Mon, 27 Oct 2014 20:25:42 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0110.outbound.protection.outlook.com [157.56.111.110]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1A011E55 for ; Mon, 27 Oct 2014 20:25:41 +0000 (UTC) Received: from BN1PR0201MB0772.namprd02.prod.outlook.com (25.160.170.141) by BN1PR0201MB0756.namprd02.prod.outlook.com (25.160.170.13) with Microsoft SMTP Server (TLS) id 15.1.6.9; Mon, 27 Oct 2014 20:25:31 +0000 Received: from [10.0.0.10] (69.245.7.140) by BN1PR0201MB0772.namprd02.prod.outlook.com (25.160.170.141) with Microsoft SMTP Server (TLS) id 15.1.6.9; Mon, 27 Oct 2014 20:25:26 +0000 From: Phil Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable Subject: Brand New User question Message-ID: Date: Mon, 27 Oct 2014 15:25:18 -0500 To: MIME-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) X-Originating-IP: [69.245.7.140] X-ClientProxiedBy: BN3PR0301CA0067.namprd03.prod.outlook.com (25.160.152.163) To BN1PR0201MB0772.namprd02.prod.outlook.com (25.160.170.141) X-MS-Exchange-Transport-FromEntityHeader: Hosted X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR0201MB0772; X-Exchange-Antispam-Report-Test: UriScan:; X-Forefront-PRVS: 0377802854 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6049001)(6009001)(189002)(66654002)(199003)(42186005)(57306001)(33656002)(97736003)(229853001)(21056001)(106356001)(4396001)(101416001)(105586002)(66066001)(102836001)(40100003)(62966002)(82746002)(107886001)(50986999)(107046002)(23746002)(95666004)(64706001)(122386002)(104166001)(2351001)(77096002)(20776003)(92566001)(76482002)(85852003)(89996001)(120916001)(50226001)(93916002)(87286001)(83716003)(99396003)(86362001)(92726001)(110136001)(47776003)(77156001)(88136002)(31966008)(36756003)(80022003)(50466002)(87976001)(85306004)(46102003)(104396001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN1PR0201MB0772; H:[10.0.0.10]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN1PR0201MB0756; X-OriginatorOrg: philseymour.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 20:25:42 -0000 Hi folks, I=92m just starting out with FreeBSD and very new to this environment. = Could someone please point me in the direction of where I would find a = =93should- do=94 or "must-do" list after installing FreeBSD 10.0 for the = first time. The key points would be security (the box is connected to = the net) and where / how can I get the latest updates. Also, is it fair to assume that during the installation process, the = boot drive was configured as ZFS? I saw no reference to that during the = O/S load. Many thanks for any help offered. Phil= From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 20:59:37 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5616DB6C for ; Mon, 27 Oct 2014 20:59:37 +0000 (UTC) Received: from mail-wi0-x232.google.com (mail-wi0-x232.google.com [IPv6:2a00:1450:400c:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E6E481FB for ; Mon, 27 Oct 2014 20:59:36 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id q5so7651797wiv.17 for ; Mon, 27 Oct 2014 13:59:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=vtWeG5nbsDvzBAy4E50sSJzcvLYa4us2Sa1Ppkq6BXs=; b=uatQlRLt3q73d11jfeWwr7OpBf27hcqEjApLrXdjZlgBnOD2EvcOR7kn6Piovxw+P/ 2iCSc/PpNbqcZdq6sgrLSpgkTvR5ToiSzsov0e55j3M0YnT5onglFQkLt2amLGBYHPAX FAQxRV8A4zmzws2G91hYxpzQzyg+bw+QuxNGMEipm+Hd0dEC1XJukg0NIvBgSFaX74EI PzU/Jy7dZCyud0k12Q8uUgOSgVX8JeVKYBQU69GsUX58ljv8L0M1qJ/5DllJOfzPlPUj /T6vpQ1XQy+NEBaeNg3jjLmLbuQekJY0xEDsJ5f5M/2k6RJbMuo8XL816i+IRrJGUNqa q3Pw== MIME-Version: 1.0 X-Received: by 10.180.96.10 with SMTP id do10mr23557014wib.16.1414443575167; Mon, 27 Oct 2014 13:59:35 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Mon, 27 Oct 2014 13:59:35 -0700 (PDT) Date: Mon, 27 Oct 2014 20:59:35 +0000 Message-ID: Subject: High interrupt CPU in top... From: Peter Harrison To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 20:59:37 -0000 Can anyone help me diagnose this please? I'm on 10.0-RELEASE on a Thinkpad X200s. In top I see around 30% CPU listed as 'interrupt' even when I'm only running Xorg (with Xfce as the window manager) with no other applications open: last pid: 1946; load averages: 1.09, 1.30, 1.24 up 0+00:59:59 21:56:20 54 processes: 1 running, 53 sleeping CPU: 0.4% user, 0.0% nice, 0.2% system, 32.8% interrupt, 66.6% idle Mem: 188M Active, 282M Inact, 283M Wired, 22M Cache, 206M Buf, 1127M Free Swap: 4096M Total, 4096M Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 1362 root 1 20 0 150M 25596K select 1 1:18 0.10% Xorg 1613 peter 4 32 0 260M 21700K select 1 0:02 0.10% xfce4-terminal 1521 peter 1 20 0 159M 17652K select 1 0:10 0.00% xfwm4 1539 peter 1 20 0 152M 13704K select 1 0:08 0.00% wrapper 1524 peter 3 20 0 278M 24172K select 1 0:05 0.00% xfce4-panel 1444 haldaemon 2 28 0 60428K 6436K select 1 0:01 0.00% hald 1511 peter 2 39 0 163M 14756K select 1 0:01 0.00% xfce4-session 1544 root 2 20 0 54908K 5904K select 1 0:01 0.00% upowerd 1526 peter 2 20 0 247M 16108K kqread 0 0:01 0.00% xfdesktop 1540 peter 1 20 0 156M 15480K select 1 0:01 0.00% wrapper 1279 messagebus 1 20 0 17044K 3144K select 0 0:00 0.00% dbus-daemon How do I diagnose what's using my processor? Thanks in advance. Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:31:25 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CE535A0 for ; Mon, 27 Oct 2014 21:31:25 +0000 (UTC) Received: from mail-pd0-x229.google.com (mail-pd0-x229.google.com [IPv6:2607:f8b0:400e:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7400B818 for ; Mon, 27 Oct 2014 21:31:25 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id y10so2066865pdj.14 for ; Mon, 27 Oct 2014 14:31:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7k5pMW77eJ9vOsF6fFx4NInijQrT7cNgmxtcqkQ1oh8=; b=e4RD2W5FECJWP6LHoPSz0OM68Prr0LMjYFV7/4/TkoXL/6wYO5rhUezIoSdvwteXhd CaMK+V8NFQkxZzdAWhte+mwL9gZNh+NqXuJlpo6wGkhE7dyQlwkiEKtKK3CVllV706QP fp1GoEgnxCkS2xhgIAngmWmUaLO4JsrB47xuCSN/I6ci4mzNmAfv4HzDkc8Yls96wzgH SxlTPYEw9e6N/7ftY18bFHtviFP1coB2jvseFb3dYbF00c9jGR3MjP5bc5zTqCeqjAFt Vfho40cV7Tv14xDWky/oZfoeeJvaJ0cJaKHcUCjRTHTSC5AoSUyWwZpm1Yw9bUdQQ/Ce x1cQ== MIME-Version: 1.0 X-Received: by 10.70.102.103 with SMTP id fn7mr114106pdb.160.1414445485017; Mon, 27 Oct 2014 14:31:25 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Mon, 27 Oct 2014 14:31:24 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Oct 2014 16:31:24 -0500 Message-ID: Subject: Re: High interrupt CPU in top... From: Adam Vande More To: Peter Harrison Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 21:31:25 -0000 On Mon, Oct 27, 2014 at 3:59 PM, Peter Harrison < four.harrisons@googlemail.com> wrote: > Can anyone help me diagnose this please? I'm on 10.0-RELEASE on a Thinkpad > X200s. In top I see around 30% CPU listed as 'interrupt' even when I'm only > running Xorg (with Xfce as the window manager) with no other applications > open: > > last pid: 1946; load averages: 1.09, 1.30, 1.24 > up 0+00:59:59 21:56:20 > 54 processes: 1 running, 53 sleeping > CPU: 0.4% user, 0.0% nice, 0.2% system, 32.8% interrupt, 66.6% idle > Mem: 188M Active, 282M Inact, 283M Wired, 22M Cache, 206M Buf, 1127M Free > Swap: 4096M Total, 4096M Free > > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU > COMMAND > 1362 root 1 20 0 150M 25596K select 1 1:18 0.10% Xorg > 1613 peter 4 32 0 260M 21700K select 1 0:02 0.10% > xfce4-terminal > 1521 peter 1 20 0 159M 17652K select 1 0:10 0.00% xfwm4 > 1539 peter 1 20 0 152M 13704K select 1 0:08 0.00% > wrapper > 1524 peter 3 20 0 278M 24172K select 1 0:05 0.00% > xfce4-panel > 1444 haldaemon 2 28 0 60428K 6436K select 1 0:01 0.00% hald > 1511 peter 2 39 0 163M 14756K select 1 0:01 0.00% > xfce4-session > 1544 root 2 20 0 54908K 5904K select 1 0:01 0.00% > upowerd > 1526 peter 2 20 0 247M 16108K kqread 0 0:01 0.00% > xfdesktop > 1540 peter 1 20 0 156M 15480K select 1 0:01 0.00% > wrapper > 1279 messagebus 1 20 0 17044K 3144K select 0 0:00 0.00% > dbus-daemon > > How do I diagnose what's using my processor? > vmstat -i -- Adam From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:37:49 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E17E18C2 for ; Mon, 27 Oct 2014 21:37:49 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6F713884 for ; Mon, 27 Oct 2014 21:37:49 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id ex7so7627570wid.12 for ; Mon, 27 Oct 2014 14:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VxihpKYvDj9KrPMP56TQLlfSIn+D22L+s+LE2jijpnw=; b=ZJGje8fpnf5II96oMLuHp2OqQTd96cuFn2pqdLkXViNbILXWmlhAwNKBF+VbFinGTp ADrleQGeiU9n6oJneBp7SMcWmU57PkcYzX7H9IkHVImPccilFXmDAZE9VqyYN0cz7b3w C6VWXpHXv23+VuW1UtubGKpYg9pZOSZInRRyx6yApOpzOWznMRRRc0L4ksvZ/NM4D3HQ ICUG0hyfMGGWvUz0dUInRzxs7NPHgV8ijhUvi+ACmb4Uf3Hi/hcGoINeuwo36rY39wLB +d0Y0vrw98VOC7l8BPd475lt9S39k/RMEL4BG1sTSKPY8tyHpUeytitzf52QY++E1CJv iqvw== MIME-Version: 1.0 X-Received: by 10.180.8.233 with SMTP id u9mr21918wia.19.1414445867812; Mon, 27 Oct 2014 14:37:47 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Mon, 27 Oct 2014 14:37:47 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Oct 2014 21:37:47 +0000 Message-ID: Subject: Re: High interrupt CPU in top... From: Peter Harrison To: Adam Vande More Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 21:37:50 -0000 On 27 October 2014 21:31, Adam Vande More wrote: > On Mon, Oct 27, 2014 at 3:59 PM, Peter Harrison < > four.harrisons@googlemail.com> wrote: > >> Can anyone help me diagnose this please? I'm on 10.0-RELEASE on a Thinkpad >> X200s. In top I see around 30% CPU listed as 'interrupt' even when I'm >> only >> running Xorg (with Xfce as the window manager) with no other applications >> open: >> >> last pid: 1946; load averages: 1.09, 1.30, 1.24 >> up 0+00:59:59 21:56:20 >> 54 processes: 1 running, 53 sleeping >> CPU: 0.4% user, 0.0% nice, 0.2% system, 32.8% interrupt, 66.6% idle >> Mem: 188M Active, 282M Inact, 283M Wired, 22M Cache, 206M Buf, 1127M Free >> Swap: 4096M Total, 4096M Free >> >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >> COMMAND >> 1362 root 1 20 0 150M 25596K select 1 1:18 0.10% Xorg >> 1613 peter 4 32 0 260M 21700K select 1 0:02 0.10% >> xfce4-terminal >> 1521 peter 1 20 0 159M 17652K select 1 0:10 0.00% >> xfwm4 >> 1539 peter 1 20 0 152M 13704K select 1 0:08 0.00% >> wrapper >> 1524 peter 3 20 0 278M 24172K select 1 0:05 0.00% >> xfce4-panel >> 1444 haldaemon 2 28 0 60428K 6436K select 1 0:01 0.00% hald >> 1511 peter 2 39 0 163M 14756K select 1 0:01 0.00% >> xfce4-session >> 1544 root 2 20 0 54908K 5904K select 1 0:01 0.00% >> upowerd >> 1526 peter 2 20 0 247M 16108K kqread 0 0:01 0.00% >> xfdesktop >> 1540 peter 1 20 0 156M 15480K select 1 0:01 0.00% >> wrapper >> 1279 messagebus 1 20 0 17044K 3144K select 0 0:00 0.00% >> dbus-daemon >> >> How do I diagnose what's using my processor? >> > > vmstat -i > > -- > Adam > Cheers Adam. That gives me: [peter 181]> vmstat -i interrupt total rate irq1: atkbd0 11870 1 irq9: acpi0 27499 4 irq12: psm0 234774 39 irq16: uhci3 1250818252 210292 irq20: hpet0 uhci0 6977995 1173 irq21: uhci1 11 0 irq23: ehci0 2 0 irq257: hdac0 16380 2 irq258: iwn0 559063 93 irq259: ahci0 103732 17 irq260: vgapci0 311808 52 Total 1259061386 211678 Any idea why the uhci is causing such a high interrupt rate? Is that normal? Sorry for being so noob. Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:39:52 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D53879BC for ; Mon, 27 Oct 2014 21:39:52 +0000 (UTC) Received: from mail-pd0-x233.google.com (mail-pd0-x233.google.com [IPv6:2607:f8b0:400e:c02::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AD9618AC for ; Mon, 27 Oct 2014 21:39:52 +0000 (UTC) Received: by mail-pd0-f179.google.com with SMTP id g10so6419645pdj.38 for ; Mon, 27 Oct 2014 14:39:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/hzcZ1Ny8GwbNPOQNBHcWGsFLuLKFoWY55TlxQKdTOo=; b=kFK9Bs5wcfpQ+OD+65+q2tyjhRj+/bQhZITAVtiqztRoU69T54C4q64AuNsbbwsZ5J udrTqqJWlRxj2WtPcmjKvRUOUfGRjRxSov679V7044Stl7LPhIJXscSgBG689CVGfhVC aUF1uVwSVFYroNEHlRBrVVVIZBRIVuVryb9IFL2HMBl9OPnKnhFIW9DMubNseqfk/iQW gj7Z9mSsMt510oOO2vnY90pHHWLefe8mFqwoySAvUP69jCuPEI4QTp30WbTQMCXoly4I rc3U6M1Ax4HC7SAwWCVPwRaSWC94EIQdznK87ISCzQz4R2qq0MpuUKwybGTjFCrRXdBx cjUg== MIME-Version: 1.0 X-Received: by 10.68.112.193 with SMTP id is1mr26977990pbb.35.1414445992211; Mon, 27 Oct 2014 14:39:52 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Mon, 27 Oct 2014 14:39:52 -0700 (PDT) In-Reply-To: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> Date: Mon, 27 Oct 2014 16:39:52 -0500 Message-ID: Subject: Re: out of swap space From: Adam Vande More To: Jim Pazarena Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: Freebsd Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 21:39:53 -0000 On Mon, Oct 27, 2014 at 2:57 PM, Jim Pazarena wrote: > There is a lot of historical chatter about the amount of swap space > required. > But for my question, I haven't seen discussion: > What HAPPENS when the system flags "out of swap space". > Does a process die? or does the system merely become very sluggish? > Both, a process is killed and whenever you're starting to use swap space you should expect the system to become sluggish. > I have dozens of "out of swap space" messages, but I cannot find any dead > and/or failed jobs. > /var/log/messages should be listing exactly what was killed and when. It's probably on the console too. -- Adam From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:41:40 2014 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 32D3CA5D for ; Mon, 27 Oct 2014 21:41:40 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 07BE894D for ; Mon, 27 Oct 2014 21:41:40 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id fp1so3190491pdb.9 for ; Mon, 27 Oct 2014 14:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7uaTPcewdXEY3sKMVX8Dufj4Hv+5iQzPsIwpYfzswZ4=; b=YuY2wzMperBvToxlEgOm455HDlFjP67ZixkZKJwam61nDPcqeQoGczuGRLr5G1Q0iR 7Opuhcy/5uKKXXHa8VYkwhI4qbmkfpKMblqVHsvVCqRL8QjeMwp2Yfgn4HzxBywXRNQS u1xJqytDWv2QQkRRug7GMusPNgMInKkbkomiMPoJfjpyA5L+C6dK2Fqwg5VUMhLqDoaK GpR6GZYSNcjJFtBISnkOSVJC17/P4vka0w76xr+aW10ilB8TH7N150JE7Wg+NvJAuFeP 2CT39nSVMztcp1kDrdBlhpwZrIb9uTE3dDFOuNLbOl2EeC2TfyKAzYOD/Ej7jLjowpDU OvhQ== MIME-Version: 1.0 X-Received: by 10.67.4.167 with SMTP id cf7mr27054851pad.52.1414446099614; Mon, 27 Oct 2014 14:41:39 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Mon, 27 Oct 2014 14:41:39 -0700 (PDT) In-Reply-To: References: Date: Mon, 27 Oct 2014 16:41:39 -0500 Message-ID: Subject: Re: High interrupt CPU in top... From: Adam Vande More To: Peter Harrison Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 21:41:40 -0000 On Mon, Oct 27, 2014 at 4:37 PM, Peter Harrison < four.harrisons@googlemail.com> wrote: > > > On 27 October 2014 21:31, Adam Vande More wrote: > >> On Mon, Oct 27, 2014 at 3:59 PM, Peter Harrison < >> four.harrisons@googlemail.com> wrote: >> >>> Can anyone help me diagnose this please? I'm on 10.0-RELEASE on a >>> Thinkpad >>> X200s. In top I see around 30% CPU listed as 'interrupt' even when I'm >>> only >>> running Xorg (with Xfce as the window manager) with no other applications >>> open: >>> >>> last pid: 1946; load averages: 1.09, 1.30, 1.24 >>> up 0+00:59:59 21:56:20 >>> 54 processes: 1 running, 53 sleeping >>> CPU: 0.4% user, 0.0% nice, 0.2% system, 32.8% interrupt, 66.6% idle >>> Mem: 188M Active, 282M Inact, 283M Wired, 22M Cache, 206M Buf, 1127M Free >>> Swap: 4096M Total, 4096M Free >>> >>> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU >>> COMMAND >>> 1362 root 1 20 0 150M 25596K select 1 1:18 0.10% >>> Xorg >>> 1613 peter 4 32 0 260M 21700K select 1 0:02 0.10% >>> xfce4-terminal >>> 1521 peter 1 20 0 159M 17652K select 1 0:10 0.00% >>> xfwm4 >>> 1539 peter 1 20 0 152M 13704K select 1 0:08 0.00% >>> wrapper >>> 1524 peter 3 20 0 278M 24172K select 1 0:05 0.00% >>> xfce4-panel >>> 1444 haldaemon 2 28 0 60428K 6436K select 1 0:01 0.00% >>> hald >>> 1511 peter 2 39 0 163M 14756K select 1 0:01 0.00% >>> xfce4-session >>> 1544 root 2 20 0 54908K 5904K select 1 0:01 0.00% >>> upowerd >>> 1526 peter 2 20 0 247M 16108K kqread 0 0:01 0.00% >>> xfdesktop >>> 1540 peter 1 20 0 156M 15480K select 1 0:01 0.00% >>> wrapper >>> 1279 messagebus 1 20 0 17044K 3144K select 0 0:00 0.00% >>> dbus-daemon >>> >>> How do I diagnose what's using my processor? >>> >> >> vmstat -i >> >> -- >> Adam >> > > Cheers Adam. That gives me: > > [peter 181]> vmstat -i > interrupt total rate > irq1: atkbd0 11870 1 > irq9: acpi0 27499 4 > irq12: psm0 234774 39 > irq16: uhci3 1250818252 210292 > irq20: hpet0 uhci0 6977995 1173 > irq21: uhci1 11 0 > irq23: ehci0 2 0 > irq257: hdac0 16380 2 > irq258: iwn0 559063 93 > irq259: ahci0 103732 17 > irq260: vgapci0 311808 52 > Total 1259061386 211678 > > > Any idea why the uhci is causing such a high interrupt rate? Is that > normal? Sorry for being so noob. > You can try asking on the usb list. It's not normal, probably the driver isn't supported fully. Might be a trivial change to get to work. -- Adam From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 21:54:18 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DE7B3D7 for ; Mon, 27 Oct 2014 21:54:17 +0000 (UTC) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8EA65A76 for ; Mon, 27 Oct 2014 21:54:16 +0000 (UTC) Received: from slackbox.erewhon.home (slackbox.xs4all.nl [83.162.243.5]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id s9RLsEXs075332; Mon, 27 Oct 2014 22:54:14 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.home (Postfix, from userid 1001) id 1C28A12426; Mon, 27 Oct 2014 22:54:14 +0100 (CET) Date: Mon, 27 Oct 2014 22:54:14 +0100 From: Roland Smith To: Phil Subject: Re: Brand New User question Message-ID: <20141027215414.GB53021@slackbox.erewhon.home> Mail-Followup-To: Phil , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FkmkrVfFsRoUs1wW" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.23 (2014-03-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 21:54:18 -0000 --FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Oct 27, 2014 at 03:25:18PM -0500, Phil wrote: > Hi folks, > I'm just starting out with FreeBSD and very new to this environment. > Could someone please point me in the direction of where I would find a > "should- do" or "must-do" list after installing FreeBSD 10.0 for the > first time. The key points would be security (the box is connected to the > net) Read security(7). Unless you're logging into the console, set up ssh keys to log in to the machine. Do not allow root logins over ssh, and mark all consoles as insecu= re in /etc/ttys. Set up a simple firewall at this point that denies incoming packets unless they are related to earlier packets you sent yourself. A more elaborate set= up can come later. Install whatever ports(7) that you need for convenience; vim, rsync, git (to name a few). In my opinion a really important thing is set to up a subdirectory in your home-directory where you keep all relevant configuration files *under revis= ion control*. Restrict access to that directory to yourself only. Personally I like to use git for revision control. But it doesn't really matter what sys= tem you use (for text-based config files even RCS would be OK) as long as you u= se *something*. This directory should include an installation script or Makefi= le to install the config files in /etc, /usr/local/etc or whereever they need = to go. This is a great way to keep on top of changes and prevent oh-shit momen= ts. Start by importing en commiting every file that you need to change from /et= c, /usr/local/etc. Edit and test one config file at a time if possible. At this time you can start installing and enabling the services that your machine needs to run. Some services can run in a jail. Using that might be worthwhile, especially for web servers and PHP. Check if you can live with a kern.securelevel > 0. (This won't work if you want to run X11.) > and where / how can I get the latest updates. That depends. You could use freebsd-update(8) for binary updates or track t= he source tree using svnlite. > Also, is it fair to > assume that during the installation process, the boot drive was configured > as ZFS? I saw no reference to that during the O/S load. Only if you chose it in the partitioning screen in the installer on 10.x and later. Hope this helps. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 5753 3324 1661 B0FE 8D93 FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0) --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJUTr8FAAoJEED21dyjijPgICUP/00V7SuEKBpTsd6OKzKE9Eff x5CelgEF+mpsKIj3UK3BWZoCE+H11jG0Kld9pWAdF19r6C2zmgMb51jKoRWFfH8Z RA9L/HJJmGMp5CZEbuaNA7kXDH3Xz36RFNuyx7Rio9YSjxyWDmMB7lT2/ukm0nj3 jclu7wEl0xXTRi8V1Loj4mXGINlplUCFOd8bE4k41Hyrwdgh2W6RBx0AvYlFX4/N GcsMYBFmi+A6Es9tjHVJbJ8ceTyU1QaiqQWJgb7IjIFSXwMRoIjj90CTI4TeAmum 4HGjZT+m5m4V84mOeFw3ab1j1VM55hEoxmmPvTHWLgG/cC2D19+nXOzw0abtYGs3 3PGnVUqr0ogLPbRG05ljwnu5e/qVvb/ms2th8oVupYdYC6KuP+tn4Bpk88qSxRQF 18gUJ/H5F0MM9baAb5fnCxjCn51DAkYxcHUusPOMEeB8Mm+WPhJ1Deq/XaqJbgQe +w8aOXHHxk1nW9LKA4+qmZhqvMFb9DOxOdHKClQtywFKFGW1drcf9BrfgV71Vb6h ZESUO4hNj/EdrIYJ2q5EnX2jk9qN9S9tG7wVCo1cQ/Gyk/+bKT97+pYByyYIHb0l EC9FBuju7p5wTO57cx05LeC33bC9KTA8MkU2xNzhBxj/g6+HVo3VotYHC3h11yd9 CwJ2QBmAiOmtctEB4sXp =5GWV -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 22:07:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5BA574B1 for ; Mon, 27 Oct 2014 22:07:44 +0000 (UTC) Received: from mail-qc0-x22b.google.com (mail-qc0-x22b.google.com [IPv6:2607:f8b0:400d:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B7A2BAC for ; Mon, 27 Oct 2014 22:07:43 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id m20so4577935qcx.16 for ; Mon, 27 Oct 2014 15:07:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:reply-to:organization:mime-version :content-type; bh=wIqs8LrZCK3yv3v/T+zm8lGQnuthzl06xUSSkaYoq2g=; b=PuAYBYP6oUxI3egAVVhShDBx+OyhWLj9oRnYqQD8MEiIdL/EL1kjIbIlEDKd/iAP4g w3N7Wm/WVdmUleINa1ChvbJPeiSDfA91oIdHgbvyBA4nJxwj6CKU5fF0qG6TPQqeeZHa ZLKQrDD7Cm0W6E2qOSjQa816zwgyZ0D4zALqs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:reply-to :organization:mime-version:content-type; bh=wIqs8LrZCK3yv3v/T+zm8lGQnuthzl06xUSSkaYoq2g=; b=T53mnhmeOQh2TLMV/4PEmZNJl8fzxXMG6jcOtrb5KtNTigPCqdtQO3tZkj6Ix6oeHG rlL3HYS8Q5EPvlLX759ZIuhKxKB3tWrtJ5dCTJ4/xcCzzYynzz6a7Ph9D4t9oJbWY7ri HXJ9O/X1cYDHD6rIDWYNg5wJUPr8cFWbQ61MnKvNq/4Zbz1N/RaWoLPF/3CMqySpqScd wBXs+t4fMegkWMvjwR9oWzAKMhQlkQcKDBgDafc1Qw7Cr6ewM0sm8L60buBssJKmTFEn n814mC8CXTObUJjWAGEtfey46sApr7XxPaY8BDM7H7fnvRjcQERmCMbaOGZmaHi1hbxX jrAg== X-Gm-Message-State: ALoCoQn4Gs6N0b9LhMg7ShyLCTjRAMt0y+9Bkg2imBuy27lxH+tnbWc0ThuQEGXQAWXDEdxXTQiY X-Received: by 10.140.17.67 with SMTP id 61mr34918053qgc.59.1414447662988; Mon, 27 Oct 2014 15:07:42 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPSA id a9sm12242698qgf.7.2014.10.27.15.07.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Oct 2014 15:07:42 -0700 (PDT) Received: from scorpio (cpe-076-182-104-150.nc.res.rr.com [76.182.104.150]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3jRVXX1Lhzz3DlTK for ; Mon, 27 Oct 2014 18:07:40 -0400 (EDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at scorpio.seibercom.net Date: Mon, 27 Oct 2014 18:07:26 -0400 From: Jerry To: User questions Subject: Unable to start openldap with mdb backend Message-ID: <20141027180726.1daefeed@scorpio> Reply-To: User questions Organization: seibercom NET X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/06JmuYuE9+L1NAYh8lMDRXT"; protocol="application/pgp-signature" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 22:07:44 -0000 --Sig_/06JmuYuE9+L1NAYh8lMDRXT Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Mon, 27 Oct 2014 17:59:31 -0400 I am trying to update openldap to use mdb instead of bdb. I installed the lmdb-0.9.13 port and thought I had openldap configured correctly; however, openldap fails to start. It issues this error message: /usr/local/etc/rc.d # service slapd start Starting slapd. Unrecognized database type (mdb) /usr/local/etc/rc.d/slapd: WARNING: failed to start slapd This is the configuration of the port: ACCESSLOG=3Doff: With In-Directory Access Logging overlay ACI=3Doff: Per-object ACI (experimental) AUDITLOG=3Doff: With Audit Logging overlay BDB=3Doff: With BerkeleyDB backend (DEPRECATED) COLLECT=3Doff: With Collect overy Services overlay CONSTRAINT=3Doff: With Attribute Constraint overlay DDS=3Doff: With Dynamic Directory Services overlay DEREF=3Doff: With Dereference overlay DNSSRV=3Doff: With Dnssrv backend DYNACL=3Doff: Run-time loadable ACL (experimental) DYNAMIC_BACKENDS=3Don: Build dynamic backends DYNGROUP=3Doff: With Dynamic Group overlay DYNLIST=3Doff: With Dynamic List overlay FETCH=3Doff: Enable fetch(3) support GSSAPI=3Doff: With GSSAPI support (implies SASL support) MDB=3Don: With Memory-Mapped DB backend MEMBEROF=3Doff: With Reverse Group Membership overlay ODBC=3Doff: With SQL backend PASSWD=3Doff: With Passwd backend PERL=3Doff: With Perl backend PPOLICY=3Doff: With Password Policy overlay PROXYCACHE=3Doff: With Proxy Cache overlay REFINT=3Doff: With Referential Integrity overlay RELAY=3Doff: With Relay backend RETCODE=3Doff: With Return Code testing overlay RLOOKUPS=3Doff: With reverse lookups of client hostnames RWM=3Doff: With Rewrite/Remap overlay SASL=3Doff: With (Cyrus) SASL2 support SEQMOD=3Doff: With Sequential Modify overlay SHA2=3Doff: With SHA2 Password hashes overlay SHELL=3Doff: With Shell backend (disables threading) SLAPI=3Doff: With Netscape SLAPI plugin API (experimental) SLP=3Doff: With SLPv2 (RFC 2608) support SMBPWD=3Doff: With Samba Password hashes overlay SOCK=3Doff: With Sock backend SSSVLV=3Doff: With ServerSideSort/VLV overlay SYNCPROV=3Don: With Syncrepl Provider overlay TCP_WRAPPERS=3Doff: With tcp wrapper support TRANSLUCENT=3Doff: With Translucent Proxy overlay UNIQUE=3Doff: With attribute Uniqueness overlay VALSORT=3Doff: With Value Sorting overlay I changed the database =3D bdb in slapd.conf to database =3D mdb. Are there= any other changes that I should also make? --=20 Jerry --Sig_/06JmuYuE9+L1NAYh8lMDRXT Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJUTsIqAAoJEElTsHIJnX8e3qgIAI73R/fDNy+l8tjjE/ZGxfz6 V/efAWyaMLxJrc5WHmlZwGaWjKrdarB3MllNCEdxoiLNF6xmAcJl6wLdD1rT0xii jxbwlXZFE/xuTIFge0w7Zagr4tXO+GiTxTkCKPO3b5OpkVdVfXBswViTgrbSWUM7 uecXtXJFJK+AsjKg4/GcagRJHLR/45KFzq/RK+YgWUWEWecF5StYUYTk4O0tkrcC e+yKRx0HIuepdqvgQpEZHu/oKuxwlpTdhX/CrJ7xITL4ycH/TfpJwe3FtqMYru4w Iso1tVei97Gp256vdDosgDS543odQtyVo/dqIFsesGtvnDcDi58/VO362CWNhYg= =9c3T -----END PGP SIGNATURE----- --Sig_/06JmuYuE9+L1NAYh8lMDRXT-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 27 23:54:14 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D191645A for ; Mon, 27 Oct 2014 23:54:14 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9ACAC930 for ; Mon, 27 Oct 2014 23:54:14 +0000 (UTC) Received: from stoa.freebsd.net ([172.15.184.248]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0MSM8r-1XXaFr3N8t-00TRfM; Tue, 28 Oct 2014 00:54:12 +0100 Message-ID: <544EDBBE.8090709@gmx.us> Date: Mon, 27 Oct 2014 19:56:46 -0400 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Peter Harrison , freebsd-questions@freebsd.org Subject: Re: High interrupt CPU in top... References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:FJ2APj8sNg1A7GsXmgz+lAcqziO8jcBVTzahdDZGg+zEU2UFuMI tvizoxpEl7XWWQaOkORXpjYdUQKG5kHxLp5x74YkPGzsIRnLEb8n1CNFQbY6J2LZZkeGJkY GCYXx3NaeA9s2Pv+FhIDQMWWx5n7MtgY8iw1hROt6Z1y/CljZ3049TCoU5Q5QYCb3mMOXCO VPjzABO41FKwUmRsMaS2w== X-UI-Out-Filterresults: notjunk:1; X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Oct 2014 23:54:14 -0000 On 10/27/2014 17:37, Peter Harrison wrote: > > [peter 181]> vmstat -i > interrupt total rate > irq1: atkbd0 11870 1 > irq9: acpi0 27499 4 > irq12: psm0 234774 39 > irq16: uhci3 1250818252 210292 > irq20: hpet0 uhci0 6977995 1173 > irq21: uhci1 11 0 > irq23: ehci0 2 0 > irq257: hdac0 16380 2 > irq258: iwn0 559063 93 > irq259: ahci0 103732 17 > irq260: vgapci0 311808 52 > Total 1259061386 211678 > > > Any idea why the uhci is causing such a high interrupt rate? Is that > normal? Sorry for being so noob. > > > > Peter Harrison. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Please post back the output from From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 02:50:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 932C7B0C for ; Tue, 28 Oct 2014 02:50:33 +0000 (UTC) Received: from mail.monochrome.org (e.febed1.client.atlantech.net [209.190.254.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BB36CAF for ; Tue, 28 Oct 2014 02:50:31 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.4/8.14.4) with ESMTP id s9S2VH2g014271; Mon, 27 Oct 2014 22:31:17 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Mon, 27 Oct 2014 22:23:50 -0400 (EDT) From: Chris Hill To: Roland Smith Subject: Re: Brand New User question In-Reply-To: <20141027215414.GB53021@slackbox.erewhon.home> Message-ID: References: <20141027215414.GB53021@slackbox.erewhon.home> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Phil , freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 02:50:33 -0000 On Mon, 27 Oct 2014, Roland Smith wrote: > On Mon, Oct 27, 2014 at 03:25:18PM -0500, Phil wrote: >> Hi folks, > >> I'm just starting out with FreeBSD and very new to this environment. >> Could someone please point me in the direction of where I would find >> a "should- do" or "must-do" list after installing FreeBSD 10.0 for >> the first time. The key points would be security (the box is >> connected to the net) > > Read security(7). Just for the record, because I didn't understand this right away when I was starting out: when someone says to read foo(11) the relevant command to type would be `man 11 foo`. In this case, `man 7 security`. HTH. [mucho snippo] -- Chris Hill chris@monochrome.org ** [ Busy Expunging ] From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 06:13:34 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AC24D15F for ; Tue, 28 Oct 2014 06:13:34 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6970F74D for ; Tue, 28 Oct 2014 06:13:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=KBEkjA1ISMUwAmuV+CRGqdBPpL1WRMNF9CQISwmcNW0=; b=kyakMLbnRErJysfkGhi8UnT/9zYqyQd72au6/Z+yCjS+kFotAHFzK4GMa3dKfwKWr3q3HQUzeEk/3gpNx4sMeHbzxi0tpFw4KqvNrCcnQqTSC1HrxUxh+/tbIillQSppThT95gLPPAomExS7TqCgk7HnCr4gawoKTqgOOksn7qQ=; Received: from [182.8.163.163] (port=58482 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpa (Exim 4.82) (envelope-from ) id 1XizjG-0043nU-RE; Mon, 27 Oct 2014 23:54:03 -0600 Date: Tue, 28 Oct 2014 13:52:49 +0800 From: Erich Dollansky To: Jim Pazarena Subject: Re: out of swap space Message-ID: <20141028135249.7a1d8ba5@X220.alogt.com> In-Reply-To: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: Freebsd Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 06:13:34 -0000 Hi, On Mon, 27 Oct 2014 12:57:55 -0700 Jim Pazarena wrote: > There is a lot of historical chatter about the amount of swap space > required. > But for my question, I haven't seen discussion: > What HAPPENS when the system flags "out of swap space". > Does a process die? or does the system merely become very sluggish? > I have dozens of "out of swap space" messages, but I cannot find any > dead and/or failed jobs. I expect that nothing much will happen when the program is well behaved except some error messages from the program requesting the memory which is not available. When the program is not able to handle failed malloc requests, you should get a dump. The dump will then be for the wrong reason. It could be that the program with the failed request writes nothing to the log files but only to the screen. It is a different story when the kernel itself is affected. The result can be anything from a simple error message in the logs to a kernel dump. Erich From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 07:14:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7AC7FF52; Tue, 28 Oct 2014 07:14:21 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 314C6D71; Tue, 28 Oct 2014 07:14:20 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1Xj0yu-000iW8-SY>; Tue, 28 Oct 2014 08:14:16 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=prometheus.zeit4.iv.bundesimmobilien.de) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1Xj0yu-002ulf-Pu>; Tue, 28 Oct 2014 08:14:16 +0100 Date: Tue, 28 Oct 2014 08:13:39 +0100 From: "O. Hartmann" To: "freebsd-ports@freebsd.org" , freebsd-questions@freebsd.org Subject: net-mgmt/icinga2: web interface with FreeBSD? Message-ID: <20141028081339.19b485e0@prometheus.zeit4.iv.bundesimmobilien.de> Organization: FU Berlin X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 07:14:21 -0000 I was wondering if someone has successfully configured ICINGA2 on FreeBSD, using the Web-2 or even Web frontend. ICINGA2 is successfully installed on my systems, also IDO on PostgreSQL. While almost EVERY Howto relates to Linux and a port/package called icinga-web, FreeBSD seems to be without any notes - not even the port has any informations about what and where to find (I find it not very pleasant having to search for pgsql.conf, which is important for setting up the database and is located in /usr/local/share/examples/icinga2/... - a note in the pkg_message would be helpful). Well, I'm now back to ICINGA and try to configure io2db. As I understand the Linux HowTo, ido2db is taken from ICINGA 1 and is not a separate or ICINGA 2 specific facility. So, my thinking is that it must be possible to install and configure net-mgmt/icinga with only the ido2db portions and install/run port net-mgmt/icinga2 instead of net-mgmt/icinga. Any hints appreciated. Please CC me. oh From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 07:21:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E02E94B4 for ; Tue, 28 Oct 2014 07:21:27 +0000 (UTC) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by mx1.freebsd.org (Postfix) with ESMTP id 05EAFDDA for ; Tue, 28 Oct 2014 07:21:26 +0000 (UTC) Received: from ppp118-210-8-90.lns20.adl2.internode.on.net (HELO leader.local) ([118.210.8.90]) by ipmail07.adl2.internode.on.net with ESMTP; 28 Oct 2014 17:46:16 +1030 Message-ID: <544F42B3.3040600@ShaneWare.Biz> Date: Tue, 28 Oct 2014 17:46:03 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Phil , FreeBSD-questions Subject: Re: Unclear which version I should D/L... References: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> <544E2A68.4040809@ShaneWare.Biz> <934B47FB-14CD-4296-AEA0-C5D2DDDFE79E@philseymour.net> In-Reply-To: <934B47FB-14CD-4296-AEA0-C5D2DDDFE79E@philseymour.net> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 07:21:28 -0000 On 28/10/2014 01:29, Phil wrote: > Hi Shane, Thank you so much for your detailed reply. I have > downloaded the disk1 iso and created a bootable disk but I do have > some more questions about the install and functionality of FreeBSD. > Could you point me towards a good source for answers to questions > such as ZFS formatting and running FreeBSD as a “headless server” > Again, thank you for your help, Phil https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ The FreeBSD handbook is the best place to start. There is a recently updated chapter on ZFS. As for a headless server, learn to use the command line, most documentation will refer to typing in commands or editing text files rather than using gui apps. Install an ssh client on your windows machine (I believe putty is the popular one) to access the machine remotely. Chapter 4 of the handbook covers unix basics. Get familiar with cli based text editors, ee would be the simplest one available in the base system. This allows you to edit any config remotely over an ssh session. man pages are a great source of info on any command - type in 'man ee' you can also get web access to man pages at https://www.freebsd.org/cgi/man.cgi Many config files also have man pages, try rc.conf loader.conf sysctl.conf cd pwd ls cat more find grep would be commands you will use regularly. Also feel free to ask for help on the freebsd-questions mailing list. -- FreeBSD - the place to B...Software Developing Shane Ambler From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 07:38:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7FE8C87B for ; Tue, 28 Oct 2014 07:38:12 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3840EFBC for ; Tue, 28 Oct 2014 07:38:11 +0000 (UTC) Received: from r56.edvax.de (port-92-195-145-127.dynamic.qsc.de [92.195.145.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 5584F27678; Tue, 28 Oct 2014 08:38:02 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9S7c24O002261; Tue, 28 Oct 2014 08:38:02 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 28 Oct 2014 08:38:02 +0100 From: Polytropon To: Shane Ambler Subject: Re: Unclear which version I should D/L... Message-Id: <20141028083802.9ccdb71e.freebsd@edvax.de> In-Reply-To: <544F42B3.3040600@ShaneWare.Biz> References: <09CA2683-2A07-4E8D-877B-3240951FEBE8@philseymour.net> <544E2A68.4040809@ShaneWare.Biz> <934B47FB-14CD-4296-AEA0-C5D2DDDFE79E@philseymour.net> <544F42B3.3040600@ShaneWare.Biz> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Phil , FreeBSD-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 07:38:12 -0000 On Tue, 28 Oct 2014 17:46:03 +1030, Shane Ambler wrote: > man pages are a great source of info on any command - type in 'man ee' > you can also get web access to man pages at > https://www.freebsd.org/cgi/man.cgi > Many config files also have man pages, try rc.conf loader.conf sysctl.conf Note that FreeBSD has _excellent_ documentation which often is considered superior to what you find on many Linux distributions. System programs, configuration files, kernel interfaces, library functions and maintenance procedures have a man page. If you know how to use the "apropos" and "man" commands, you're ready to go. Those are among the most important skills in the real UNIX world. "Nothing is hidden, nothing is revealed." http://catb.org/esr/writings/unix-koans/mcse.html ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 08:58:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 433A65BC for ; Tue, 28 Oct 2014 08:58:22 +0000 (UTC) Received: from mail-ob0-x245.google.com (mail-ob0-x245.google.com [IPv6:2607:f8b0:4003:c01::245]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EAA37A95 for ; Tue, 28 Oct 2014 08:58:21 +0000 (UTC) Received: by mail-ob0-f197.google.com with SMTP id nt9so877579obb.4 for ; Tue, 28 Oct 2014 01:58:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=YH+VGeqJ80jxfx4dAZcP5IePL6aEFkwc5WGhZu80Crw=; b=F+B+AvC6EUH9ionfyiXJIho/negFXCKZIGKBPTSAhFveLDXJJNy6Lp8WW43eaSd7Qk f7VROuo1vSeAJ7z5RQ/xMQiRC/QvDl3BvqGq54PI4srZDeEL/Wq3FOzoH8IwA/MDKZKV GWTpXo+wyzkPGS1wkmH8LFJ5z+dyOn1i7V7yV1gBdJiO2kk/9ESYsvujChfF8kPqiRMj x/PMz2amY7nJPVaXxFxlwcld5J8k56nEve+w3ucu3x91oRvqTDCEc9e3LrOWoa1PujIx LQjB0SaxNiWJet9DwCw91rR3g9oEsKkPkHfI6vHkJT+gOYmgbPRmRAOS62wjUO9sIDvq +YyQ== MIME-Version: 1.0 X-Received: by 10.182.33.162 with SMTP id s2mr1303991obi.17.1414486701054; Tue, 28 Oct 2014 01:58:21 -0700 (PDT) Message-ID: <001a11c2cd1e5b2029050677d978@google.com> Date: Tue, 28 Oct 2014 08:58:21 +0000 Subject: www.freebsd.org From: "Lara | Brandroot Media Ltd" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 08:58:22 -0000 Hi, My name is Lara and I am an Online-Strategist. I've been tracking the success of your website while doing some research on your industry--I'm impressed with your company, but there are some real opportunities for growth that you currently are missing. Are you interested in several proven strategies to use content and social-media to drive relevant traffic to your site? In 20 minutes I can show you how to fuel your brand and generate more revenue from search engines and social networks. This is a real value which comes free of charge. I'd like to follow up about this with a quick phone call. Can I call you this week to discuss your campaign? Thank you Best regards, Lara Online-Strategist BrandRoot SEO LTD. Hong Kong | China | Australia | New Zealand | US From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 13:01:50 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94F392B9 for ; Tue, 28 Oct 2014 13:01:50 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CE298EB for ; Tue, 28 Oct 2014 13:01:50 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id ex7so9240295wid.6 for ; Tue, 28 Oct 2014 06:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=nCUXzJ+8IpW3eIk3JM5N1xed1b/f5acPHE3Kuy9T8VA=; b=NahHIy5QXBoYI5rSK1zYVzhoeV6FHrtcfZjQNj+vrqTR580Qyc8562+7GgMl5mLkau Moa7Rnbrtz87OuRHw56ODSyHD5qA24P6dVH7xc3San7VuaOzh7chpocRDaNhCnCUvxnx sB+93MT3qvg7mQe3MK62Q4vo8gvytL7mitbESKXjrZ+mMYde06jagqq1pvTKe5Ve+UIg PaoJHY64nHtiHvbAWFqs2OOYzejd7nhd6zmBJEcI/2IZPdAOb1SXkLcqhqtAZZS5Tr44 UNDTQue+P1v95SsMtKFc5ig4kjFR6R+3c1x6ekjkNr8cmn5lt0A6LHIJ3OWlgLHDOaUe WSKA== X-Received: by 10.180.8.233 with SMTP id u9mr4636462wia.19.1414501308494; Tue, 28 Oct 2014 06:01:48 -0700 (PDT) Received: from gumby.homeunix.com (5ec1f671.skybroadband.com. [94.193.246.113]) by mx.google.com with ESMTPSA id pn4sm1759921wjc.38.2014.10.28.06.01.47 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 28 Oct 2014 06:01:47 -0700 (PDT) Date: Tue, 28 Oct 2014 13:01:46 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: out of swap space Message-ID: <20141028130146.6d2b6179@gumby.homeunix.com> In-Reply-To: References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 13:01:50 -0000 On Mon, 27 Oct 2014 16:39:52 -0500 Adam Vande More wrote: > On Mon, Oct 27, 2014 at 2:57 PM, Jim Pazarena wrote: > > > There is a lot of historical chatter about the amount of swap space > > required. > > But for my question, I haven't seen discussion: > > What HAPPENS when the system flags "out of swap space". > > Does a process die? or does the system merely become very sluggish? > > > > Both, a process is killed and whenever you're starting to use swap > space you should expect the system to become sluggish. I don't know that anything bad happens simply because you run out of swap. Processes are killed when the system is unable to find enough memory to carry on. For example if you have 4GB of RAM and 1GB of swap, and you leave 2GB on tmpfs, you may fill swap without even coming close to running out of memory. Another example is a very slow memory leak where running out of memory could happen a long time after running out of swap. There seems to be a common trend of allocating swap space that's much smaller than RAM. When you combine that with tmpfs use, I suspect it may have become much more common to run out of swap without consequences. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 13:27:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9CDF7D0 for ; Tue, 28 Oct 2014 13:27:10 +0000 (UTC) Received: from mail-wi0-x22d.google.com (mail-wi0-x22d.google.com [IPv6:2a00:1450:400c:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 41A2DB2A for ; Tue, 28 Oct 2014 13:27:10 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id ex7so9327993wid.0 for ; Tue, 28 Oct 2014 06:27:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Wbt7k5GVojWcw1xV3MAKlx4kXiKBScavQmh2zx+LTZk=; b=r8ghINf4n4p9rNsbERyxyrGVHs2X0gNh0jTqaUpP2vAEPBEAm9qycju4kzWsP37abU KxJHvMhabo67++5Ql2DllZMDOSZI1mh8geML1cJz7nUuQdBARUNtd5VOxBT2+m+EUksu XLsPj06mqchTTsBTx0fh6O2Y1kW/cKo7zPIe0djwQlFQuxKuzZlbq00CbCbOjbAbCrf0 xjrjrRph1+/Zk8l4By6NN7j+44gBvNACtzVNumPxueWPSaOdsSux4iO3JGEAX3TjnbIv 5s91ZXEv9wh3g0I9y7nRcEtz7WiK8niD6w65FxTL2Jqf8QrZ7haIis2VvUezyGDFB1eS fHLw== MIME-Version: 1.0 X-Received: by 10.194.188.82 with SMTP id fy18mr3207691wjc.132.1414502828618; Tue, 28 Oct 2014 06:27:08 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Tue, 28 Oct 2014 06:27:08 -0700 (PDT) In-Reply-To: <544EDBBE.8090709@gmx.us> References: <544EDBBE.8090709@gmx.us> Date: Tue, 28 Oct 2014 13:27:08 +0000 Message-ID: Subject: Re: High interrupt CPU in top... From: Peter Harrison To: Dutch Ingraham Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 13:27:10 -0000 On 27 October 2014 23:56, Dutch Ingraham wrote: > On 10/27/2014 17:37, Peter Harrison wrote: > > > > > [peter 181]> vmstat -i > > interrupt total rate > > irq1: atkbd0 11870 1 > > irq9: acpi0 27499 4 > > irq12: psm0 234774 39 > > irq16: uhci3 1250818252 210292 > > irq20: hpet0 uhci0 6977995 1173 > > irq21: uhci1 11 0 > > irq23: ehci0 2 0 > > irq257: hdac0 16380 2 > > irq258: iwn0 559063 93 > > irq259: ahci0 103732 17 > > irq260: vgapci0 311808 52 > > Total 1259061386 211678 > > > > > > Any idea why the uhci is causing such a high interrupt rate? Is that > > normal? Sorry for being so noob. > > > > > > > > Peter Harrison. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > Please post back the output from > Here you go: hostb0@pci0:0:0:0: class=0x060000 card=0x20e017aa chip=0x2a408086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset Memory Controller Hub' class = bridge subclass = HOST-PCI cap 09[e0] = vendor (length 10) Intel cap 1 version 1 vgapci0@pci0:0:2:0: class=0x030000 card=0x20e417aa chip=0x2a428086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset Integrated Graphics Controller' class = display subclass = VGA cap 05[90] = MSI supports 1 message enabled with 1 message cap 01[d0] = powerspec 3 supports D0 D3 current D0 vgapci1@pci0:0:2:1: class=0x038000 card=0x20e417aa chip=0x2a438086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset Integrated Graphics Controller' class = display cap 01[d0] = powerspec 3 supports D0 D3 current D0 none0@pci0:0:3:0: class=0x078000 card=0x20e617aa chip=0x2a448086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset MEI Controller' class = simple comms cap 01[50] = powerspec 3 supports D0 D3 current D0 cap 05[8c] = MSI supports 1 message, 64 bit atapci0@pci0:0:3:2: class=0x010185 card=0x20ea17aa chip=0x2a468086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset PT IDER Controller' class = mass storage subclass = ATA cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit none1@pci0:0:3:3: class=0x070002 card=0x20ec17aa chip=0x2a478086 rev=0x07 hdr=0x00 vendor = 'Intel Corporation' device = 'Mobile 4 Series Chipset AMT SOL Redirection' class = simple comms subclass = UART cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit em0@pci0:0:25:0: class=0x020000 card=0x20ee17aa chip=0x10f58086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82567LM Gigabit Network Connection' class = network subclass = ethernet cap 01[c8] = powerspec 2 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 13[e0] = PCI Advanced Features: FLR TP uhci0@pci0:0:26:0: class=0x0c0300 card=0x20f017aa chip=0x29378086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci1@pci0:0:26:1: class=0x0c0300 card=0x20f017aa chip=0x29388086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci2@pci0:0:26:2: class=0x0c0300 card=0x20f017aa chip=0x29398086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP ehci0@pci0:0:26:7: class=0x0c0320 card=0x20f117aa chip=0x293c8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP hdac0@pci0:0:27:0: class=0x040300 card=0x20f217aa chip=0x293e8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) HD Audio Controller' class = multimedia subclass = HDA cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 05[60] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[70] = PCI-Express 1 root endpoint max data 128(128) FLR link x0(x0) ecap 0002[100] = VC 1 max VC1 ecap 0005[130] = Root Complex Link Declaration 1 pcib1@pci0:0:28:0: class=0x060400 card=0x20f317aa chip=0x29408086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 1' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 1 root port slot max data 128(128) link x0(x1) speed 0.0(2.5) ASPM disabled(L0s/L1) cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x20f317aa cap 01[a0] = powerspec 2 supports D0 D3 current D0 ecap 0002[100] = VC 1 max VC0 ecap 0005[180] = Root Complex Link Declaration 1 pcib2@pci0:0:28:1: class=0x060400 card=0x20f317aa chip=0x29428086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 2' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 1 root port slot max data 128(128) link x1(x1) speed 2.5(2.5) ASPM L1(L0s/L1) cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x20f317aa cap 01[a0] = powerspec 2 supports D0 D3 current D0 ecap 0002[100] = VC 1 max VC0 ecap 0005[180] = Root Complex Link Declaration 1 pcib3@pci0:0:28:3: class=0x060400 card=0x20f317aa chip=0x29468086 rev=0x03 hdr=0x01 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) PCI Express Port 4' class = bridge subclass = PCI-PCI cap 10[40] = PCI-Express 1 root port slot max data 128(128) link x0(x1) speed 0.0(2.5) ASPM L0s/L1(L0s/L1) cap 05[80] = MSI supports 1 message cap 0d[90] = PCI Bridge card=0x20f317aa cap 01[a0] = powerspec 2 supports D0 D3 current D0 ecap 0002[100] = VC 1 max VC0 ecap 0005[180] = Root Complex Link Declaration 1 uhci3@pci0:0:29:0: class=0x0c0300 card=0x20f017aa chip=0x29348086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci4@pci0:0:29:1: class=0x0c0300 card=0x20f017aa chip=0x29358086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP uhci5@pci0:0:29:2: class=0x0c0300 card=0x20f017aa chip=0x29368086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB UHCI Controller' class = serial bus subclass = USB cap 13[50] = PCI Advanced Features: FLR TP ehci1@pci0:0:29:7: class=0x0c0320 card=0x20f117aa chip=0x293a8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) USB2 EHCI Controller' class = serial bus subclass = USB cap 01[50] = powerspec 2 supports D0 D3 current D0 cap 0a[58] = EHCI Debug Port at offset 0xa0 in map 0x14 cap 13[98] = PCI Advanced Features: FLR TP pcib4@pci0:0:30:0: class=0x060401 card=0x20f417aa chip=0x24488086 rev=0x93 hdr=0x01 vendor = 'Intel Corporation' device = '82801 Mobile PCI Bridge' class = bridge subclass = PCI-PCI cap 0d[50] = PCI Bridge card=0x20f417aa isab0@pci0:0:31:0: class=0x060100 card=0x20f517aa chip=0x29178086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = 'ICH9M-E LPC Interface Controller' class = bridge subclass = PCI-ISA cap 09[e0] = vendor (length 12) Intel cap 1 version 0 features: SATA RAID-5, Mobile, 4 PCI-e x1 slots ahci0@pci0:0:31:2: class=0x010601 card=0x20f817aa chip=0x29298086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode]' class = mass storage subclass = SATA cap 05[80] = MSI supports 16 messages enabled with 1 message cap 01[70] = powerspec 3 supports D0 D3 current D0 cap 12[a8] = SATA Index-Data Pair cap 13[b0] = PCI Advanced Features: FLR TP none2@pci0:0:31:3: class=0x0c0500 card=0x20f917aa chip=0x29308086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801I (ICH9 Family) SMBus Controller' class = serial bus subclass = SMBus iwn0@pci0:3:0:0: class=0x028000 card=0x12118086 chip=0x42378086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/Wireless 5100 AGN [Shiloh] Network Connection' class = network cap 01[c8] = powerspec 3 supports D0 D3 current D0 cap 05[d0] = MSI supports 1 message, 64 bit enabled with 1 message cap 10[e0] = PCI-Express 1 endpoint max data 128(128) FLR link x1(x1) speed 2.5(2.5) ASPM L0s/L1(L0s/L1) ecap 0001[100] = AER 1 0 fatal 0 non-fatal 1 corrected ecap 0003[140] = Serial 1 00216bffffca1934 Thanks (and sorry if gmail's web interface mangled that too much), Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 13:28:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F0DD944; Tue, 28 Oct 2014 13:28:15 +0000 (UTC) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "wonkity.com", Issuer "wonkity.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2FA33B43; Tue, 28 Oct 2014 13:28:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.9/8.14.9) with ESMTP id s9SDSDqL052543 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 28 Oct 2014 07:28:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.9/8.14.9/Submit) with ESMTP id s9SDSCbG052540; Tue, 28 Oct 2014 07:28:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 28 Oct 2014 07:28:12 -0600 (MDT) From: Warren Block To: "O. Hartmann" Subject: Re: net-mgmt/icinga2: web interface with FreeBSD? In-Reply-To: <20141028081339.19b485e0@prometheus.zeit4.iv.bundesimmobilien.de> Message-ID: References: <20141028081339.19b485e0@prometheus.zeit4.iv.bundesimmobilien.de> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 28 Oct 2014 07:28:13 -0600 (MDT) Cc: freebsd-questions@freebsd.org, "freebsd-ports@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 13:28:15 -0000 On Tue, 28 Oct 2014, O. Hartmann wrote: > I was wondering if someone has successfully configured ICINGA2 on > FreeBSD, using the Web-2 or even Web frontend. I have a small Icinga2 setup. It uses Icinga (1) for a web interface. > ICINGA2 is successfully installed on my systems, also IDO on PostgreSQL. > > While almost EVERY Howto relates to Linux and a port/package > called icinga-web, As I understand it, icingaweb is still in development, and has not had a release yet. So the FreeBSD Icinga2 port still uses Icinga1 for a standard CGI web interface. > FreeBSD seems to be without any notes - not even the > port has any informations about what and where to find (I find it not > very pleasant having to search for pgsql.conf, which is important for > setting up the database and is located > in /usr/local/share/examples/icinga2/... - a note in the pkg_message > would be helpful). > > Well, I'm now back to ICINGA and try to configure io2db. As I > understand the Linux HowTo, ido2db is taken from ICINGA 1 and is not a > separate or ICINGA 2 specific facility. So, my thinking is that it must > be possible to install and configure net-mgmt/icinga with only the > ido2db portions and install/run port net-mgmt/icinga2 instead of > net-mgmt/icinga. I did not do any configuration of that part of it. The default pgsql.conf is in /usr/local/etc/icinga2/features-available/. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 17:21:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C831C4A for ; Tue, 28 Oct 2014 17:21:43 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F2897B22 for ; Tue, 28 Oct 2014 17:21:42 +0000 (UTC) Received: from stoa.freebsd.net ([172.15.184.248]) by mail.gmx.com (mrgmxus001) with ESMTPSA (Nemesis) id 0Mb7ZF-1XOUHF0y9j-00KhwE; Tue, 28 Oct 2014 18:21:34 +0100 Message-ID: <544FD139.7090208@gmx.us> Date: Tue, 28 Oct 2014 13:24:09 -0400 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Peter Harrison Subject: Re: High interrupt CPU in top... References: <544EDBBE.8090709@gmx.us> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:fzb1k0VqeBwf+xW9LExScSodjQS9DU4LKL3ieRMBf5Ptl88OdUY pVq5GQzDFd2kBEBJWlD701491wPmPMeR1i7zk3GDvuiaIZczN4ywwOfb//ACFLcGwCkGwaG XvjfQVZuOcv1VHzRZGX+0j7eEy0F8FDXV2/0tN7xyruCUgQ4wLP5UpbS1uXxkxb8umMz7TO ektBe4PTNAUTkrxuPGqzg== X-UI-Out-Filterresults: notjunk:1; Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 17:21:43 -0000 On 10/28/14 09:27, Peter Harrison wrote: > On 27 October 2014 23:56, Dutch Ingraham wrote: > >> On 10/27/2014 17:37, Peter Harrison wrote: >> >>> >>> [peter 181]> vmstat -i >>> interrupt total rate >>> irq1: atkbd0 11870 1 >>> irq9: acpi0 27499 4 >>> irq12: psm0 234774 39 >>> irq16: uhci3 1250818252 210292 >>> irq20: hpet0 uhci0 6977995 1173 >>> irq21: uhci1 11 0 >>> irq23: ehci0 2 0 >>> irq257: hdac0 16380 2 >>> irq258: iwn0 559063 93 >>> irq259: ahci0 103732 17 >>> irq260: vgapci0 311808 52 >>> Total 1259061386 211678 >>> >>> >>> Any idea why the uhci is causing such a high interrupt rate? Is that >>> normal? Sorry for being so noob. >>> >>> >>> >>> Peter Harrison. >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >>> >> >> Please post back the output from >> > > > Here you go: > > hostb0@pci0:0:0:0: class=0x060000 card=0x20e017aa chip=0x2a408086 rev=0x07 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 4 Series Chipset Memory Controller Hub' > class = bridge > subclass = HOST-PCI > cap 09[e0] = vendor (length 10) Intel cap 1 version 1 > vgapci0@pci0:0:2:0: class=0x030000 card=0x20e417aa chip=0x2a428086 rev=0x07 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 4 Series Chipset Integrated Graphics Controller' > class = display > subclass = VGA > cap 05[90] = MSI supports 1 message enabled with 1 message > cap 01[d0] = powerspec 3 supports D0 D3 current D0 > vgapci1@pci0:0:2:1: class=0x038000 card=0x20e417aa chip=0x2a438086 rev=0x07 > hdr=0x00 > vendor = 'Intel Corporation' > device = 'Mobile 4 Series Chipset Integrated Graphics Controller' > class = display > cap 01[d0] = powerspec 3 supports D0 D3 current D0 > > Peter Harrison. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > OK - thanks. Are you using xorg? If so, please post back the output of run prior to starting X (from a reboot or restart, not by switching consoles). From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 19:09:03 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 53D3D1FE for ; Tue, 28 Oct 2014 19:09:03 +0000 (UTC) Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D48E68C5 for ; Tue, 28 Oct 2014 19:09:02 +0000 (UTC) Received: by mail-wi0-f172.google.com with SMTP id d1so6784789wiv.5 for ; Tue, 28 Oct 2014 12:08:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=6FRzJoOVNOUFuOGArqbf4//w3RCXGBJhqhUTiiEe/nY=; b=MjeLwnfx7IveNhVaS2UDK8KcDaDaC2ADUXWk/miyYbvTeRcEpHGPBo1Vz1iv6N3Fow hRVFFs0RU7owO9O8JSjY+paVw7AXJY+kY8pjL+RLoc5+QxAxBqjyr9ZanZqR9tfF09BX 8M4wS4TvsoTfBuzpvwTr/1vAEqsccXXWGWD0R8/Ug3ZRhJcKKnOTHdNPKISjXepQQO2o f3ApWBHQjFzc10TPLXszi+kgl/HbokKJRdq44zvrSpRUqV7+OvrkMHLdCWvP+8mwAvKk W8FpyrCf1k7R0FRek3zTPrvVW97+8Vr6IiyfvpZ5y8JwEHSrTXUzsNQ67KPAWkmnpaV8 Z1Vw== X-Gm-Message-State: ALoCoQmuk7ufHYqfmUpceDQBFj9eMPv7kcITom0nBtRPVHtlVeJw2luOZcvTC/IU7+EDXEErnehb MIME-Version: 1.0 X-Received: by 10.181.27.197 with SMTP id ji5mr30589199wid.26.1414523334922; Tue, 28 Oct 2014 12:08:54 -0700 (PDT) Received: by 10.180.10.71 with HTTP; Tue, 28 Oct 2014 12:08:54 -0700 (PDT) In-Reply-To: <20141028130146.6d2b6179@gumby.homeunix.com> References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> <20141028130146.6d2b6179@gumby.homeunix.com> Date: Tue, 28 Oct 2014 12:08:54 -0700 Message-ID: Subject: Re: out of swap space From: "Reed A. Cartwright" To: RW Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 19:09:03 -0000 We've run out of swap on a system with 512GB of memory and 1TB of swap space. Processes get killed, including services. It is usually easiest to reboot to start from a fresh system. The funny effect is that you can log in to SSH and get a shell, but cannot run any binary that is not already cached in memory. That confused the hell out of me until I checked memory and swap usage. On Tue, Oct 28, 2014 at 6:01 AM, RW wrote: > On Mon, 27 Oct 2014 16:39:52 -0500 > Adam Vande More wrote: > >> On Mon, Oct 27, 2014 at 2:57 PM, Jim Pazarena wrote: >> >> > There is a lot of historical chatter about the amount of swap space >> > required. >> > But for my question, I haven't seen discussion: >> > What HAPPENS when the system flags "out of swap space". >> > Does a process die? or does the system merely become very sluggish? >> > >> >> Both, a process is killed and whenever you're starting to use swap >> space you should expect the system to become sluggish. > > I don't know that anything bad happens simply because you run out of > swap. Processes are killed when the system is unable to find enough > memory to carry on. > > For example if you have 4GB of RAM and 1GB of swap, and you leave 2GB > on tmpfs, you may fill swap without even coming close to running out of > memory. Another example is a very slow memory leak where running out of > memory could happen a long time after running out of swap. > > There seems to be a common trend of allocating swap space that's much > smaller than RAM. When you combine that with tmpfs use, I suspect it > may have become much more common to run out of swap without > consequences. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Reed A. Cartwright, PhD Barrett Honors Faculty Assistant Professor of Genomics, Evolution, and Bioinformatics School of Life Sciences Center for Evolutionary Medicine and Informatics The Biodesign Institute Arizona State University ================== Address: The Biodesign Institute, PO Box 875301, Tempe, AZ 85287-5301 USA Packages: The Biodesign Institute, 1001 S. McAllister Ave, Tempe, AZ 85287-5301 USA Office: Biodesign A-224A, 1-480-965-9949 Website: http://cartwrig.ht/ From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 20:12:54 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4B4F1BF for ; Tue, 28 Oct 2014 20:12:54 +0000 (UTC) Received: from mail-pa0-x233.google.com (mail-pa0-x233.google.com [IPv6:2607:f8b0:400e:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C820BF for ; Tue, 28 Oct 2014 20:12:54 +0000 (UTC) Received: by mail-pa0-f51.google.com with SMTP id kq14so1530030pab.10 for ; Tue, 28 Oct 2014 13:12:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NVLkUW8Ign6wpDMoYRs8ke6VUQsr6NGN5TtQPUnJG0k=; b=wafxJFUklRcFCHP48cHn+jnZqoXp55+Bwo3rgpQDERvWb6PwHoeQPR2iqqTzJPN3na jvz2IzyS1D8y90eOGV5mGHlg5pvYimy33fHenYgqUTf0qP9ZumBUGHXHU3jqjdPS9MQb 2QDFfsBvXcTm81gTqfL6C6Xpfuo8vPNffOECiAW/j5JPpV6HO/YFR5rdtstbByeBCG7Q cMLT1R0daaC+gbzMckXz881dIeBeQ7u8JgbwC7UaEKmO606H89khkegC38GBRmWSzb16 gXJ458Md/OlRyHLQ/wk9rjXOmMZV2rrhnDh6Ebbbo3aMPtzcR13j2IHGOl9/cflB8wul UaiA== MIME-Version: 1.0 X-Received: by 10.66.191.135 with SMTP id gy7mr5666312pac.95.1414527173607; Tue, 28 Oct 2014 13:12:53 -0700 (PDT) Received: by 10.70.103.141 with HTTP; Tue, 28 Oct 2014 13:12:53 -0700 (PDT) In-Reply-To: References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> <20141028130146.6d2b6179@gumby.homeunix.com> Date: Tue, 28 Oct 2014 15:12:53 -0500 Message-ID: Subject: Re: out of swap space From: Adam Vande More To: "Reed A. Cartwright" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: RW , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 20:12:54 -0000 On Tue, Oct 28, 2014 at 2:08 PM, Reed A. Cartwright wrote: > We've run out of swap on a system with 512GB of memory and 1TB of swap > space. > > Processes get killed, including services. It is usually easiest to > reboot to start from a fresh system. > > The funny effect is that you can log in to SSH and get a shell, but > cannot run any binary that is not already cached in memory. That > confused the hell out of me until I checked memory and swap usage. You can use protect(1) to ensure the wrong things don't get killed. -- Adam From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 21:40:23 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CA124D0 for ; Tue, 28 Oct 2014 21:40:23 +0000 (UTC) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C1B51BDC for ; Tue, 28 Oct 2014 21:40:22 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id l6so1389848qcy.15 for ; Tue, 28 Oct 2014 14:40:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:user-agent:mime-version:content-transfer-encoding:content-type :subject:date:to:message-id; bh=Ka5MpiBu1W6vM2vV34bft3B6zvLZltFELbVDoR0Vp4M=; b=n7HMJEzJNIVERQrcI2CEHc0tXb4mAMinEK+nH34bDxO/o2wt88+/O4cxzJqwRBWxKO BjXFl08D+wCTG87laamRoUv0OU+umnDif7Ton9KbGJZgzd0B4kW2zsosRzsahyOrqDAL rzi8na0Z3ySpUe+/9GHiX+pIgucWVDUrSP9ufHdRYEM3MYD3VonsKmuchnBbehn1+d35 I6/TZa/0/REYicjldFxeQ/rRCbgNvEDxd9JR1fR1D/yoRTd4R/DswOJnXBXCMW9xRlbO RMdYbFSyyrhEItdX6SUM1iORXM90/m5zcDGwJu+Yw56OUFsJsOVIZMEr3KqQangJQwFI AiEg== X-Received: by 10.224.171.194 with SMTP id i2mr9406281qaz.59.1414532421703; Tue, 28 Oct 2014 14:40:21 -0700 (PDT) Received: from cyanogenmod.home (pool-71-185-80-109.phlapa.fios.verizon.net. [71.185.80.109]) by mx.google.com with ESMTPSA id k35sm2345484qge.42.2014.10.28.14.40.21 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 Oct 2014 14:40:21 -0700 (PDT) From: Stephen R Guglielmo X-Google-Original-From: Stephen R Guglielmo User-Agent: K-9 Mail for Android MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: ZFS Root Mount Failure Date: Tue, 28 Oct 2014 17:40:19 -0400 To: freebsd-questions@freebsd.org Message-ID: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 21:40:23 -0000 Hey list, I have a machine running ZFS on root. It stopped responding this morning, and upon a reboot, it was unable to mount root from zfs:zroot. It gave the explanation of "error 5." I played with the mount prompt briefly, but didn't get anywhere. Any tips for diagnosing and fixing the problem? Thanks! From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 22:37:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B6D001A4 for ; Tue, 28 Oct 2014 22:37:56 +0000 (UTC) Received: from mail-wi0-x233.google.com (mail-wi0-x233.google.com [IPv6:2a00:1450:400c:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3AADB1B8 for ; Tue, 28 Oct 2014 22:37:55 +0000 (UTC) Received: by mail-wi0-f179.google.com with SMTP id h11so3076534wiw.12 for ; Tue, 28 Oct 2014 15:37:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WAWOfcBTd20dKyRPqf1oIzcdhC6AObrKiqc1rVo/ESo=; b=INgxkAz3gTu6gIq38HARpB+ZzbgYzCewXTZ3dFmTIr0XeWoC8D54/DE20iM9X0vP6/ NE8UdxaB0uyP6NMyNXS+4Xqkpv/qeDNXmeIvRNqpBlcOIbCpKLCv7i6Us6XN9JtGNi4s /T/zjbYvQO8SmuLJ60TpfYSMhfBUwg5FuxSO9uM94REchK3227XOBWI2X+1Iop+8Jfoe NGxKOi7jYcAV+0FfDr623V/9nW+fE0MFpCl3k9v3R886l9+hNHO9FvTJ7uGgbxnQr6iz WOC/YmVXDRwBm0faMPZ7B6M6Knhjf3/yTDxipGYL+dV7zZQShAm/4voya7SVQ9LIrMgu siuw== MIME-Version: 1.0 X-Received: by 10.194.110.104 with SMTP id hz8mr7856539wjb.62.1414535874405; Tue, 28 Oct 2014 15:37:54 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Tue, 28 Oct 2014 15:37:54 -0700 (PDT) In-Reply-To: <544FD139.7090208@gmx.us> References: <544EDBBE.8090709@gmx.us> <544FD139.7090208@gmx.us> Date: Tue, 28 Oct 2014 22:37:54 +0000 Message-ID: Subject: Re: High interrupt CPU in top... From: Peter Harrison To: Dutch Ingraham Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 22:37:56 -0000 On 28 October 2014 17:24, Dutch Ingraham wrote: > On 10/28/14 09:27, Peter Harrison wrote: > > On 27 October 2014 23:56, Dutch Ingraham wrote: > > > >> On 10/27/2014 17:37, Peter Harrison wrote: > >> > >>> > >>> [peter 181]> vmstat -i > >>> interrupt total rate > >>> irq1: atkbd0 11870 1 > >>> irq9: acpi0 27499 4 > >>> irq12: psm0 234774 39 > >>> irq16: uhci3 1250818252 210292 > >>> irq20: hpet0 uhci0 6977995 1173 > >>> irq21: uhci1 11 0 > >>> irq23: ehci0 2 0 > >>> irq257: hdac0 16380 2 > >>> irq258: iwn0 559063 93 > >>> irq259: ahci0 103732 17 > >>> irq260: vgapci0 311808 52 > >>> Total 1259061386 211678 > >>> > >>> > >>> Any idea why the uhci is causing such a high interrupt rate? Is that > >>> normal? Sorry for being so noob. > >>> > >>> > >>> > >>> Peter Harrison. > >>> _______________________________________________ > >>> freebsd-questions@freebsd.org mailing list > >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>> To unsubscribe, send any mail to " > >> freebsd-questions-unsubscribe@freebsd.org" > >>> > >> > >> Please post back the output from > >> > > > > > > Here you go: > > > > hostb0@pci0:0:0:0: class=0x060000 card=0x20e017aa chip=0x2a408086 > rev=0x07 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Mobile 4 Series Chipset Memory Controller Hub' > > class = bridge > > subclass = HOST-PCI > > cap 09[e0] = vendor (length 10) Intel cap 1 version 1 > > vgapci0@pci0:0:2:0: class=0x030000 card=0x20e417aa chip=0x2a428086 > rev=0x07 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Mobile 4 Series Chipset Integrated Graphics Controller' > > class = display > > subclass = VGA > > cap 05[90] = MSI supports 1 message enabled with 1 message > > cap 01[d0] = powerspec 3 supports D0 D3 current D0 > > vgapci1@pci0:0:2:1: class=0x038000 card=0x20e417aa chip=0x2a438086 > rev=0x07 > > hdr=0x00 > > vendor = 'Intel Corporation' > > device = 'Mobile 4 Series Chipset Integrated Graphics Controller' > > class = display > > cap 01[d0] = powerspec 3 supports D0 D3 current D0 > > > > > Peter Harrison. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > > OK - thanks. Are you using xorg? If so, please post back the output of > run prior to starting X (from a reboot or restart, not by > switching consoles). > Thanks for your help. Here's vmstat-i with Xorg running: interrupt total rate irq1: atkbd0 139 1 irq9: acpi0 835 7 irq12: psm0 1746 15 irq16: uhci3 20622511 177780 irq20: hpet0 uhci0 118696 1023 irq21: uhci1 11 0 irq23: ehci0 2 0 irq257: hdac0 3495 30 irq258: iwn0 13406 115 irq259: ahci0 8639 74 irq260: vgapci0 1979 17 Total 20771459 179064 And without Xorg running: interrupt total rate irq1: atkbd0 150 3 irq9: acpi0 378 9 irq20: hpet0 uhci0 8303 202 irq21: uhci1 11 0 irq23: ehci0 2 0 irq257: hdac0 61 1 irq258: iwn0 1536 37 irq259: ahci0 1634 39 Total 12075 294 So X is the problem? What can I do to fix it? Cheers, Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 28 23:17:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1830CCCC for ; Tue, 28 Oct 2014 23:17:17 +0000 (UTC) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BA1A57E5 for ; Tue, 28 Oct 2014 23:17:16 +0000 (UTC) Received: from stoa.freebsd.net ([172.15.184.248]) by mail.gmx.com (mrgmxus002) with ESMTPSA (Nemesis) id 0M6Ryf-1Xzi1h1XI3-00yUj6; Wed, 29 Oct 2014 00:17:14 +0100 Message-ID: <54502495.4090000@gmx.us> Date: Tue, 28 Oct 2014 19:19:49 -0400 From: Dutch Ingraham User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Peter Harrison Subject: Re: High interrupt CPU in top... References: <544EDBBE.8090709@gmx.us> <544FD139.7090208@gmx.us> In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:m6n7crNZDO9rhGINUcCkqY7SeJmrgRkqIv0dk0RLIE/93kwiFUf vhXiPH7jDitRlLz4TAG7u2cWEClAWqcmH9pMoBs4dC6G9KaTJa2zbQ4Vo7jWXXnv67qgmLc 1WiLexCpWIn8SC1mb3uswHRw66W1p9qJX9bxgKDw3bCOmOYIPafjDOlCorqlfhkXaPrgwPr /43QljmH1VZ9jX0Gc1MEQ== X-UI-Out-Filterresults: notjunk:1; Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Oct 2014 23:17:17 -0000 On 10/28/14 18:37, Peter Harrison wrote: > > Here's vmstat-i with Xorg running: > > interrupt total rate > irq1: atkbd0 139 1 > irq9: acpi0 835 7 > irq12: psm0 1746 15 > irq16: uhci3 20622511 177780 > irq20: hpet0 uhci0 118696 1023 > irq21: uhci1 11 0 > irq23: ehci0 2 0 > irq257: hdac0 3495 30 > irq258: iwn0 13406 115 > irq259: ahci0 8639 74 > irq260: vgapci0 1979 17 > Total 20771459 179064 > > And without Xorg running: > > interrupt total rate > irq1: atkbd0 150 3 > irq9: acpi0 378 9 > irq20: hpet0 uhci0 8303 202 > irq21: uhci1 11 0 > irq23: ehci0 2 0 > irq257: hdac0 61 1 > irq258: iwn0 1536 37 > irq259: ahci0 1634 39 > Total 12075 294 > > So X is the problem? What can I do to fix it? > > Cheers, > > > > Peter Harrison. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Try adding the kernel tunable "hw.drm.msi=0" (without quotes) to your /boot/loader.conf file and reboot. Check vmstat -i with xorg running. If it works, fine - that addition will persist. Of course, if it doesn't work, remove that line. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 04:04:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1A11751 for ; Wed, 29 Oct 2014 04:04:37 +0000 (UTC) Received: from mail-ig0-x246.google.com (mail-ig0-x246.google.com [IPv6:2607:f8b0:4001:c05::246]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C29A8E8 for ; Wed, 29 Oct 2014 04:04:37 +0000 (UTC) Received: by mail-ig0-f198.google.com with SMTP id hl2so6612502igb.5 for ; Tue, 28 Oct 2014 21:04:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=gIq9GOr+tkmiUBSfLbMwkIHHu3x9a7n092nPJT/orVM=; b=sl1LBz6OOwjG1UHyT1Z3k7NsXlT1picW+/BS3D7UAvqmiylt12AxHeQP1+zK98zJLL AzYfcCCwb/Xk+kr+dy0blbNJ6biqzQ2YB+bLsU2OkmEXeyVleV3SUZMozWIARHRN6787 Hw8qQnbrdnHIOLO0QMAxSnQThJMRGFnotg2RdsSyPTWJwtWOKM3rVCQj6IDEpQVdYtH8 v2FXApl0hKj2hQaXyV3PWa5l24Tv9sphfMA+nfSFmY6ykQKxOSF+tNk0gms3U/ALKaC8 tC6nWaglz3wephmSMiHWATNwtBruc+1kLVlzdr4JLDwj9bZsh6dB5Ted/Mwh6+4uprC5 AUNA== MIME-Version: 1.0 X-Received: by 10.50.61.206 with SMTP id s14mr6412551igr.3.1414555476709; Tue, 28 Oct 2014 21:04:36 -0700 (PDT) Message-ID: <047d7bdc19d6b45c03050687dcfe@google.com> Date: Wed, 29 Oct 2014 04:04:36 +0000 Subject: www.freebsd.org From: "Smith | Dobotics Media Pty Ltd" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 04:04:38 -0000 Hi, I recently browsed through your business website and wanted to highlight some key points for consideration. I am sure it will complement your-SEO work to help your website attract only quality visitors and make it scale high on the search .engine results page (SERP) gradually. Would you be interested in receiving the details? Best regards, Smith Online-Strategist DOBOTICS MEDIA PTY LTD. Headquarters: Napier 4112, Hawke's Bay, New Zealand Branch Offices: Auckland | Christchurch | Wellington | Hamilton | Tauranga & Dunedin Disclaimer: This e-mail is private and confidential. If you are not the intended recipient, please advise us by return e-mail immediately, and delete the e-mail and any attachments without using or disclosing the contents in any way. The views expressed in this e-mail are those of the author, and do not represent those of this company unless this is clearly indicated. You should scan this e-mail and any attachments for viruses. This company accepts no liability for any direct or indirect damage or loss resulting from the use of any attachments to this e-mail. All quotes received from Dobotics Media by email are informal and not binding until a formal quote is agreed upon by both the parties. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 08:49:56 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F006CDD for ; Wed, 29 Oct 2014 08:49:56 +0000 (UTC) Received: from mail-ie0-x233.google.com (mail-ie0-x233.google.com [IPv6:2607:f8b0:4001:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 098A9755 for ; Wed, 29 Oct 2014 08:49:55 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id ar1so2440194iec.24 for ; Wed, 29 Oct 2014 01:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cvFVp9RtrKvqz4cKo1Gq1mcDnUI+FuF/6vM99W8hoko=; b=FC2qn0mPmzrAnHbItRIr9/GXK6zg+hbuqGrkrCU5SibXtrYYFS09mFlox2A/5SFVcm 7Q5jQ6ExtForUQRR5g316QcEVCeIBMJ4iMSG1ZLCkpjBsqj+OroKMfc1fk7f7KlEY6F/ 8vlzKksZDqIlXkbpxjk+K6ATBfPXFjK6yhhm8tuQJM3jCm0o3LhQ6gUUtJ+irqWCsoLd NiXJFqh7JdodTp05TGVnFzu0eXO+Qh3Yom3mviGMev2dcPg5SE39jiQ7Z6A4Bta7v4uF z2E48mlCL8LoE9o2dDSyORazP4wQQ0sI8ucWZ2rywr6hcrz7qyT6vNpnhNMssFligI2E 8BDA== MIME-Version: 1.0 X-Received: by 10.50.43.200 with SMTP id y8mr36467938igl.7.1414572595200; Wed, 29 Oct 2014 01:49:55 -0700 (PDT) Received: by 10.64.153.194 with HTTP; Wed, 29 Oct 2014 01:49:55 -0700 (PDT) In-Reply-To: References: Date: Wed, 29 Oct 2014 09:49:55 +0100 Message-ID: Subject: Re: ZFS Root Mount Failure From: Erik Gustafson To: Stephen R Guglielmo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing list X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 08:49:56 -0000 On Tue, Oct 28, 2014 at 10:40 PM, Stephen R Guglielmo wrote: > Hey list, > > I have a machine running ZFS on root. It stopped responding this morning, > and upon a reboot, it was unable to mount root from zfs:zroot. It gave the > explanation of "error 5." > > I played with the mount prompt briefly, but didn't get anywhere. Any tips > for diagnosing and fixing the problem? > I had a similar issue recently. Error 5 on mount root. This was in virtaulbox after some sort of unexpected shutdown. To resolve i first made a snapshot in virtualbox booted from freebsd-disc1.iso (install dvd) zpool import reboot (and boot from zroot) zpool scrub zpool scrub said that i was going to loose some recently written data (generated by nightly poudrire build) I don't remember all, probably I needed some parameter to zpool import but all error messages were helpful it was quite easy to get it working again. Good luck and don't forget the backup/snapshot From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 09:55:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 46D6550C for ; Wed, 29 Oct 2014 09:55:22 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9747EE98 for ; Wed, 29 Oct 2014 09:55:21 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s9T9tGv8033270; Wed, 29 Oct 2014 20:55:17 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 29 Oct 2014 20:55:16 +1100 (EST) From: Ian Smith To: Gerhard Schmidt Subject: Re: ipfw and carp problems In-Reply-To: Message-ID: <20141029202942.I74058@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 09:55:22 -0000 In freebsd-questions Digest, Vol 543, Issue 2, Message: 1 On Mon, 27 Oct 2014 15:16:33 +0100 Gerhard Schmidt wrote: > Hi, > > I have a small problem with ipfw an carp. > > i have two server with two carp ips and a firewall via ipfw. > > the problem is tha ipfw via modul is default to deny. So when the carp > interfaces are initialized ipfw has no custom rules. Everything is > denied, even the carp packets. So every time I reboot one of the hosts > it comes up as master and after the firewall rules are initialized one > of the servers is demoted to backup, which one seams to be random. > > My problem is that my setup need a new server do come up as backup > because is has to replicate the data from the running server before > being able to act as master. There could be data loss if a newly booted > server named master without prior replicating the data. > > Is there a way to ensure that the firewall rules are up before the carp > interfaces are initialized or to load the ipfw module with default to > accept. The canonical way was to build a custom kernel with ipfw included as per http://www.freebsd.org/doc/handbook/firewalls-ipfw.html including 'options IPFIREWALL_DEFAULT_TO_ACCEPT' .. however you can accomplish this with a GENERIC (or other) kernel by adding to /boot/loader.conf: ipfw_load="YES" # to load the ipfw module early and adding to /etc/sysctl.conf net.inet.ip.fw.enable=0 net.inet6.ip6.fw.enable=0 # if using ipv6 /etc/rc.d/sysctl is run early (on 9.3, first) before other rc.d scripts including netif and later ipfw, which will then only enable the firewall after having loaded your ruleset. I just tested this over ssh to a 9.3 GENERIC box not running ipfw: root@x200:~/bin # kldload ipfw && sysctl net.inet.ip.fw.enable=0 \ && sysctl net.inet6.ip6.fw.enable=0 net.inet.ip.fw.enable: 1 -> 0 net.inet6.ip6.fw.enable: 1 -> 0 root@x200:~/bin # ipfw show 65535 0 0 deny ip from any to any which would have locked me out had it not worked :) Of course you must accept that there is a vulnerable window between starting net interfaces (netif) and starting ipfw, however miniscule. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 13:06:39 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 83F2EBF1 for ; Wed, 29 Oct 2014 13:06:39 +0000 (UTC) Received: from exprod7og124.obsmtp.com (exprod7og124.obsmtp.com [64.18.2.26]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F36AC75C for ; Wed, 29 Oct 2014 13:06:38 +0000 (UTC) Received: from mail-wg0-f52.google.com ([74.125.82.52]) (using TLSv1) by exprod7ob124.postini.com ([64.18.6.12]) with SMTP ID DSNKVFDmV6pMVWnExUFpCJPcgA2UZ+Wypsvu@postini.com; Wed, 29 Oct 2014 06:06:39 PDT Received: by mail-wg0-f52.google.com with SMTP id b13so1254520wgh.39 for ; Wed, 29 Oct 2014 06:06:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:mime-version:thread-index:date:message-id :subject:to:content-type; bh=h006aFUQOMk+f1wx+7iB7QFFSl6ke0nVTVuFqd1/CiA=; b=ZP/d7Q3hVwrldIAI1XPk74v5ewKv2Agnfw0icORLzNrGdqTsnVwteQqafQBCSKggwV 5NbypDICmzntZkJ6ZJg6wWJ+ac2qP6YTOvgiMN7GUDHbGJO3wDS/nMJpRx1BG+nd32re K/brFgPH6qbEUH44PkaCpX6MAmEZ/6CJoxssl80uUtMLUG66Q3iCp00vvbf95Rk4PYEY las4zzJ0YjF/pwgxx/E7mfQlok0yFK4ERSrywyVs4Nr6JG/eRUxHTZS1m/JgIUQ/cJqX oxG2Cs1+aIMeH3dhHDB6doF3oJXJQZqtJrFQp79MrUCjLvGjwXn92Oc2YifbOdiswoH5 qiiA== X-Received: by 10.180.207.77 with SMTP id lu13mr12826224wic.12.1414587528010; Wed, 29 Oct 2014 05:58:48 -0700 (PDT) X-Gm-Message-State: ALoCoQkxz4PoxBaGllTfXqfAe+vcCoNc8eHHXNY9z+Coe5rq5Od7jqxCCWJfgcA5PDcVVd8Nu/EZTOLcmsFR7FQ8FtDP/EsGrMoOQBNrR2e2ArWvEjNlVTJ9lzFyQNt0mLOl7B559eQNuXLJEcDNCNlqB2uwl/3OMfc0CpL4b7F7+TGCYKEHPqs= X-Received: by 10.180.207.77 with SMTP id lu13mr12826206wic.12.1414587527901; Wed, 29 Oct 2014 05:58:47 -0700 (PDT) From: Sibananda Sahu MIME-Version: 1.0 X-Mailer: Microsoft Outlook 14.0 Thread-Index: Ac/zeBI0o/F6iLvPSj+8GLTEyjjdYA== Date: Wed, 29 Oct 2014 18:28:47 +0530 Message-ID: <6291be3b7bdd20e530f8cd104d225916@mail.gmail.com> Subject: Open file descriptor reference count implementation in driver To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 13:06:39 -0000 Hi, Can anybody suggest how can I implement the Open file descriptor reference count in a freebsd driver??? I have looked up at certain places in the cdev structure(sys/conf.h) and found two integer values: Int si_refcount; Int si_usecount; I think these are the stuffs useful for me. Can somebody explain what are the significance of the above mentioned integer values inside the cdev structure? Any help would be greatly appreciated. Thanks, Sibananda Sahu From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 14:55:53 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6AD6C816 for ; Wed, 29 Oct 2014 14:55:53 +0000 (UTC) Received: from nm43-vm7.bullet.mail.bf1.yahoo.com (nm43-vm7.bullet.mail.bf1.yahoo.com [216.109.114.238]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1502330B for ; Wed, 29 Oct 2014 14:55:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1414594445; bh=sI6udrk7/UQhZmf3BbGPzLdSWEki28ilA78z41TSE2U=; h=Date:From:To:Subject:From:Subject; b=NyGFHuIgLHadCy6ZFUEX2SKzmIkIM4E5DJ0RkRZc2vNvCeSa52SN0jP842bynQywBtW6gRL4IHO6POoGoOTOIfyeLL5zsMf/mmEiEzJJb5IOPlm3SL1gcS/utN24vWwie96C4bf0rpOk4ENcLFpdlNLzsTkJM/q+zfycw/M8w+Pv51RBd7ktaMQsVnDYv9Pdl1qZasWt6qCb4fBbLZlD6x+3ucn2sU2KuO5n+48JnWY0QDuyPzfqwdEe9YFw+NmTXfI67if/wOG3ADsMIK+TtLo10DmsLa+XVgHWSGYP7siQnADeQ895ulGIzkqgm27Bw1rKX5XEDzHeQjVXwwV02A== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=Bay05rfVsz7eKG+RP2Rz6xYrulW/eeSiEkAMVLeIkqhppmMTEX6oJhJd5cGybtUAvhdYJ3bKfmXlhuAQ+qh5qwzr8n0tai0+7ihUcWan2OAE1M3kk1jcloHiobazHRsPTkgaZOj+Yfxz/1AS06Di4cmKacXoZxcOYXENC2TqvxWSRoGkDoYngCrFJbNK4Lx/Zje2FfDfkHRk4K44e5iyCO/s3QRuEXvatIdytYF3fFQDDTMEr5bDCzz1A6/kTckJYvbSdWHvhdm9dRRM6OGihz/fHjogFmTkiVlWdkDby3UcOvrh/P3v/5KL1PyAVT4wBqskrBgmFO4YLRXk5h1ysg==; Received: from [98.139.215.141] by nm43.bullet.mail.bf1.yahoo.com with NNFMP; 29 Oct 2014 14:54:05 -0000 Received: from [98.139.211.197] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 29 Oct 2014 14:54:05 -0000 Received: from [127.0.0.1] by smtp206.mail.bf1.yahoo.com with NNFMP; 29 Oct 2014 14:54:05 -0000 X-Yahoo-Newman-Id: 592639.63093.bm@smtp206.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: vqkajYcVM1nHa4M_pTy6oy7SjqG8LuMi7IsL2RiVZMfkA93 Dccz.q8B2qkWVsNHmZyp0AptsaTGaKYSNqIWxqLRIINZgcyi35gFlR2iFZrl L5yRAKioVvzmW.q6jMKIR6BB2RrhiSft1hc5Y7sjxO.UXzQnDwuDdn0GUis0 QYztgIvlmlQUDOuBG4zs61mnCMypV8JKF8wtxEMweiUTIA5oYX_FXfwj8UHe f4y9YxXGQWYanGWXRLUEQ0BLb7PboTuWPsX.hL_YEhYSGel.7FdHSfNSZM7T fePekDdXwqlh1cn_MP805VX1e5cRYCLntqli8A1RhoxIdPpx1GVUhy0nXYOA DRTASC0E7n_6rfFzww9bl7R6IgmAPoie0ESCtGcDTAZgAsefSUih586tOfVP BRN3_GEpHgl8O0Qs00vNUXO2bTKQvdLa2eqYWA.u7z29zde6HpP1_cnb6YQC E6WtTAdbiU35.1mZdHbN3QVfnAXU8xfRBW7pwuMp8D0lfxNRz0jL21Jm69Ad iyCXB0t_PCh.H07O644O_kTS8 X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <5450FF8B.4030201@yahoo.com> Date: Wed, 29 Oct 2014 10:54:03 -0400 From: Paul Pathiakis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Oracle JDK Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 14:55:53 -0000 Hi, Someone pointed out that the Oracle JDK will, again, be available. When will this be in ports/packages? I, presently, am trying to work on the port for the OpenNMS monitoring software and it seems to have a bug in the openjdk 7 and 8 versions. The OpenNMS people are saying the bug does not exist in the Oracle version. (Yes, I've already mailed to the FreeBSD java people on this.) Thank you, P. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 15:29:42 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5674A4A6 for ; Wed, 29 Oct 2014 15:29:42 +0000 (UTC) Received: from mail-ig0-x233.google.com (mail-ig0-x233.google.com [IPv6:2607:f8b0:4001:c05::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1EB8E904 for ; Wed, 29 Oct 2014 15:29:42 +0000 (UTC) Received: by mail-ig0-f179.google.com with SMTP id r10so3329650igi.12 for ; Wed, 29 Oct 2014 08:29:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=1qxyamhB4hFbSaBjjQNsIG7UJxdi9m9FWq5Yd4aPghM=; b=W72Fmmhq4FEfWwUS31TbFqBOvLVcJjCGsl/GripMq5u9Dapo9tL4VeudVkESK6QAB9 cwOvCBExOtW3nNht+Ng1k90HtkqogDYvuGmctIRnkTurOSKCMpBMsYdTvq5bof4wYVUc bAadamxQ2nbLid9NFn0T3kp2x9NIAIo0MO0kkY7FwsQ5MpAijB5fSLKvHQoX1mNxw2rY R6/DAj8pUoJei4k0kIw00rsEC/WK06TM/DOm87lsoI8jct9L+XiYIBymdhlTPQymliUl E6JcPOUJuPeqlQUPoHlzc4y+WOBPfTPOmz24eHxdjWIl3tWbctzGtOKYqc3ZlpRT6iLO 5tvA== X-Received: by 10.107.13.137 with SMTP id 131mr12796990ion.2.1414596581468; Wed, 29 Oct 2014 08:29:41 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.132 with HTTP; Wed, 29 Oct 2014 08:29:21 -0700 (PDT) In-Reply-To: <5450FF8B.4030201@yahoo.com> References: <5450FF8B.4030201@yahoo.com> From: Ed Maste Date: Wed, 29 Oct 2014 11:29:21 -0400 X-Google-Sender-Auth: k6E2lPUUlhsW4ovfq7ymJwepnH8 Message-ID: Subject: Re: Oracle JDK To: Paul Pathiakis Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 15:29:42 -0000 On 29 October 2014 10:54, Paul Pathiakis via freebsd-questions wrote: > Hi, > > Someone pointed out that the Oracle JDK will, again, be available. We have support from Oracle getting access to the test suite, to ensure that OpenJDK works properly in FreeBSD. I am not aware of Oracle having any plans to release an Oracle JDK for FreeBSD. If the bug exists in OpenJDK on other platforms as well then it will need to be fixed upstream and we'll bring the fix in. If it's FreeBSD-specific then I'd suggest submitting a PR with the details and reproduction case if possible. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 15:43:09 2014 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 38661243 for ; Wed, 29 Oct 2014 15:43:09 +0000 (UTC) Received: from na01-bn1-obe.outbound.protection.outlook.com (mail-bn1bon0099.outbound.protection.outlook.com [157.56.111.99]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "MSIT Machine Auth CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A9AACB58 for ; Wed, 29 Oct 2014 15:43:08 +0000 (UTC) Received: from BY2PR07MB073.namprd07.prod.outlook.com (10.255.240.153) by BY2PR07MB075.namprd07.prod.outlook.com (10.255.240.155) with Microsoft SMTP Server (TLS) id 15.1.6.9; Wed, 29 Oct 2014 13:09:43 +0000 Received: from BY2PR07MB073.namprd07.prod.outlook.com ([169.254.16.37]) by BY2PR07MB073.namprd07.prod.outlook.com ([169.254.16.79]) with mapi id 15.01.0006.000; Wed, 29 Oct 2014 13:09:42 +0000 From: "Swain, Sachidananda" To: "questions@FreeBSD.org" Subject: Configuring pipe with random/variable delay in Dummynet Thread-Topic: Configuring pipe with random/variable delay in Dummynet Thread-Index: AQHP83jm+XEaOcXlmkqHLLdciqkGmg== Date: Wed, 29 Oct 2014 13:09:41 +0000 Message-ID: <1414588221910.58545@caviumnetworks.com> References: <1402297099047.59041@caviumnetworks.com> <1402378101805.26221@caviumnetworks.com> <20140610060330.GA55903@onelab2.iet.unipi.it> <1402398067353.87644@caviumnetworks.com> <1402493689759.49784@caviumnetworks.com> <1403871049532.44924@caviumnetworks.com> <1404104416765.73557@caviumnetworks.com> <20140630133250.GB3990@onelab2.iet.unipi.it> <1412591558338.83608@caviumnetworks.com> <1412592530436.80767@caviumnetworks.com> <1412922706769.82230@caviumnetworks.com> <1412930879041.22342@caviumnetworks.com>, , <1414575677311.30811@caviumnetworks.com> In-Reply-To: <1414575677311.30811@caviumnetworks.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [111.93.218.67] x-microsoft-antispam: BCL:0;PCL:0;RULEID:;SRVR:BY2PR07MB075; x-exchange-antispam-report-test: UriScan:; x-forefront-prvs: 03793408BA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(199003)(164054003)(189002)(85852003)(99286002)(2351001)(107046002)(97736003)(229853001)(95666004)(106116001)(2656002)(15975445006)(92726001)(76176999)(15202345003)(106356001)(117636001)(46102003)(4396001)(105586002)(40100003)(80022003)(122556002)(2501002)(87936001)(110136001)(101416001)(50986999)(92566001)(19627405001)(86362001)(93886004)(85306004)(77096002)(16236675004)(99396003)(120916001)(76482002)(19617315012)(64706001)(66066001)(31966008)(36756003)(54356999)(19580395003)(21056001)(20776003); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR07MB075; H:BY2PR07MB073.namprd07.prod.outlook.com; FPR:; MLV:sfv; PTR:InfoNoRecords; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-OriginatorOrg: caviumnetworks.com Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "Swain, Sachidananda" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 15:43:09 -0000 Hi, We are using FreeBSD 10.0-RELEASE on i386 Intel PC with 2GB RAM. Requirement in Dummynet: Can we set some variable delay may be 1 to 10 ms through Dummynet in FreeBS= D. If Yes, then what would be the command. Found one article: http://www.cs.unc.edu/~jeffay/dirt/FAQ/dummynet-modifications.html I didn't find those sysctl variables in FreeBSD 10.0 We followed the procedure to create pipe and configure with delay in Dummyn= et: ---------------------------------------------------------------------------= --- Creating Pipe and configuring for Delay Adding Pipe ipfw add 100 pipe 1 ip from any to any OR ipfw add pipe 1 ip from any to any OR ipfw add pipe 1 ip from to Configuring Pipe with Delay ipfw pipe 1 config bw 100Mbit/s delay 0ms OR ipfw pipe 1 config delay 0ms Deleting Pipe ipfw flush ----------------------------------------------------------------------- Please support us, how to configure pipe with variable delay. This is our u= rgent requirement for a test. Thanks, Swain ? From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 17:00:21 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06F75288 for ; Wed, 29 Oct 2014 17:00:21 +0000 (UTC) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 89B5C6CC for ; Wed, 29 Oct 2014 17:00:20 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id a1so2367861wgh.20 for ; Wed, 29 Oct 2014 10:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Z5K2nH2AdLfBSAPeQ+SUUAVMiX61oTn9ZjGxhiCaAUA=; b=GPKsBVERV+zcoS8t30l5vRcXpqzgvkQxmqBhTnITCxGhus/0vYniwMsxFptJFyCaXd 3zzJTz9iCLSR9opYTfv7vC4tKGIVvD87kJ7CXnyHJiooSV1PvDOz8nzvwZmRFiSbsIif MabSbfx+IR87zBH0rgCI80Uy+w7tAQJWFX/Qv3JzXg0FKszxri/lsSM2Ack7tvQGF/mO vmAoDTD8nGtS5MvCy+sHYEee2I7pnynac6itHTu+aW25FLZztkNU1Q1dfbxYLFYlUuxO N6wQuEn/iYaWDGC3KD81YJHioHiigwhAphsV7hcdMHbO5BhxjRdgmbS8CW/9frA/Jb2/ xNhQ== MIME-Version: 1.0 X-Received: by 10.194.188.82 with SMTP id fy18mr4129543wjc.132.1414602018875; Wed, 29 Oct 2014 10:00:18 -0700 (PDT) Received: by 10.216.116.138 with HTTP; Wed, 29 Oct 2014 10:00:18 -0700 (PDT) In-Reply-To: <54502495.4090000@gmx.us> References: <544EDBBE.8090709@gmx.us> <544FD139.7090208@gmx.us> <54502495.4090000@gmx.us> Date: Wed, 29 Oct 2014 17:00:18 +0000 Message-ID: Subject: Re: High interrupt CPU in top... From: Peter Harrison To: Dutch Ingraham Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 17:00:21 -0000 On 28 October 2014 23:19, Dutch Ingraham wrote: > On 10/28/14 18:37, Peter Harrison wrote: > > > > > Here's vmstat-i with Xorg running: > > > > interrupt total rate > > irq1: atkbd0 139 1 > > irq9: acpi0 835 7 > > irq12: psm0 1746 15 > > irq16: uhci3 20622511 177780 > > irq20: hpet0 uhci0 118696 1023 > > irq21: uhci1 11 0 > > irq23: ehci0 2 0 > > irq257: hdac0 3495 30 > > irq258: iwn0 13406 115 > > irq259: ahci0 8639 74 > > irq260: vgapci0 1979 17 > > Total 20771459 179064 > > > > And without Xorg running: > > > > interrupt total rate > > irq1: atkbd0 150 3 > > irq9: acpi0 378 9 > > irq20: hpet0 uhci0 8303 202 > > irq21: uhci1 11 0 > > irq23: ehci0 2 0 > > irq257: hdac0 61 1 > > irq258: iwn0 1536 37 > > irq259: ahci0 1634 39 > > Total 12075 294 > > > > So X is the problem? What can I do to fix it? > > > > Cheers, > > > > > > > > Peter Harrison. > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > > Try adding the kernel tunable "hw.drm.msi=0" (without quotes) to your > /boot/loader.conf file and reboot. Check vmstat -i with xorg running. > If it works, fine - that addition will persist. Of course, if it > doesn't work, remove that line. > > That looks like it did the trick - thanks! Peter Harrison. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 20:03:15 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0654FDF2 for ; Wed, 29 Oct 2014 20:03:14 +0000 (UTC) Received: from nm11-vm1.bullet.mail.bf1.yahoo.com (nm11-vm1.bullet.mail.bf1.yahoo.com [98.139.213.152]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5E4EBDFF for ; Wed, 29 Oct 2014 20:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1414612991; bh=+JqF/LlSu9F5TWWPiefIWSWDXBiJ+tiGEkDoS86KQAw=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=n983mbaL3/tUJ3HoiOE8ldscZbnOqqpkIcdeePahICKNUI+QWVRIvpZuYtjDmLHXDIxhZwdSX2AJUqXdNg3gJikmBPphzZTaWkOW+AuCR2aPKYrEPUGUiGdYLBxadT+bVvgnorxY7aACSvDdj1FBn/oAIqP/BRgwniqpIKEL+mj9iXQfHsh7izFHbxpeiYWZY7E0Vh4FUX2O5DVCa67579UcZMDROXtkHbBPE2BRBLcnNRwI+4vSEFijkZ76NzQ1Xkx4bh3Ph6dJ91Dki2SzrFPlO96ew9ftl4F7yH3ZcWLsQxQN6w70msxc07KaMz4sG+kSEV4JZoDhRl1CdsbWuA== DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s2048; d=yahoo.com; b=SQTL5tZFt1tc5uX5nEmzlr61Vr22CmtnPgUyDdaJ2bKn69Qf5LOGqr4JKbP/UWtwxbIhPG0HiP5YzhO8rcfgeLzrBQ7+3Roozw7cyWaMS4yFA5lKCvInCN653L5Y/QdaQHEcuMvutLZmzkvq30eoVhFa8ZssJDwm4qLqbjM8XNswhakIk9XoB/FNtFbMFXqbcTWP/8ylHWF0/e3cAcqJBMA2NuFSaMyiyZuCwSY9MzeJCOl5lElIDTVtUsSTOhozDPBcdIkOMzXNJhJkb4lM/3VozL5vhQrseHnOa50nP6e0MViYMsXYMf1zt7h2DcKOMpzADWCW4rPY9Ak/0I031Q==; Received: from [66.196.81.170] by nm11.bullet.mail.bf1.yahoo.com with NNFMP; 29 Oct 2014 20:03:11 -0000 Received: from [68.142.230.71] by tm16.bullet.mail.bf1.yahoo.com with NNFMP; 29 Oct 2014 20:03:11 -0000 Received: from [127.0.0.1] by smtp228.mail.bf1.yahoo.com with NNFMP; 29 Oct 2014 20:03:11 -0000 X-Yahoo-Newman-Id: 716983.75909.bm@smtp228.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 8YK1tOQVM1moqQ6W48svlfQhmd6YOupvo7YKPWomzmgEGFl rkP42q0TVigRsO2WoD83uUyAe7zMPLeh9ZG64P1I1HYt8dR_qCKKB3G7bZtU aLoFiuqCw.EhbJGJC_AgLskUhvMUbZ111vHfmHPfZDO0TrYHAtktG0_duVMK TsqVs6QY5kRABIMGmm4rB7UxzDihX6mukUuNpWWyqGbYrWabtVLcHdFtKcH6 0XpHUTdvfz7Ybkb3aGNLtM_z.QJql.TnhcvhwcVkhlJzc0Ofi.YLROTSCE4U I9NBN_RgGwAhT8ex8Pdufn15JVV7nH0VA1cgAhDH2ihYa9p5Jdp_A7gME9sI MKz2e3qjBqVAIJ6lT4tfvF45JyAVANSlXPgUSzNinW5Kx5Bk4VFcjvsWRVX7 R_HKZAiRGE2t.k4imj2qt6rAtAETmTgDzT26HrslMGckORPpIx1_LuetFNOA vPqFF4QRfCeRry75F3BqWCDEwiq4Ff6_Hsy6PTxi.ac3ofiNtADK0wPfBHHn 0qpoN_Zjne7C29L6vaVn35iV33cOT4bg- X-Yahoo-SMTP: h3Xqg6.swBC0yI913RMMwp94grO_cg-- Message-ID: <545147FE.5080407@yahoo.com> Date: Wed, 29 Oct 2014 16:03:10 -0400 From: Paul Pathiakis User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Ed Maste Subject: Re: Oracle JDK References: <5450FF8B.4030201@yahoo.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 20:03:15 -0000 Ed, The person mentioned the line item in the most recent status report. I checked and in the FreeBSD Foundation it says they have a signed agreement to get access to the TCK.... Is that the test suite you speak of? Thank you, P. On 10/29/2014 11:29, Ed Maste wrote: > On 29 October 2014 10:54, Paul Pathiakis via freebsd-questions > wrote: >> Hi, >> >> Someone pointed out that the Oracle JDK will, again, be available. > We have support from Oracle getting access to the test suite, to > ensure that OpenJDK works properly in FreeBSD. I am not aware of > Oracle having any plans to release an Oracle JDK for FreeBSD. > > If the bug exists in OpenJDK on other platforms as well then it will > need to be fixed upstream and we'll bring the fix in. If it's > FreeBSD-specific then I'd suggest submitting a PR with the details and > reproduction case if possible. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 21:25:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 114931EA for ; Wed, 29 Oct 2014 21:25:12 +0000 (UTC) Received: from mail-ig0-x22d.google.com (mail-ig0-x22d.google.com [IPv6:2607:f8b0:4001:c05::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CC8B999D for ; Wed, 29 Oct 2014 21:25:11 +0000 (UTC) Received: by mail-ig0-f173.google.com with SMTP id r10so2141093igi.6 for ; Wed, 29 Oct 2014 14:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=oeFIdqb3dzRTmmN9MH9gfyePZE9fncUxYBWwVkXbdKc=; b=R8PMx9AHa2P+QpywktWQXQdUjQo52tCL8jYyG8jBzuNAtJCxZh7SfYrMEg3kwZEiye HO10PPhjN1HbmoU8Z+fOy9WPruQ2m4ZXqsV8s22xwOEoNN819r32DyhId19ZrwYUjGhM zxiV0ByMoGKiLpn9fd40D53g77XzEvTgrxteN0KBQJcpZ2FbtTW+62y6ZgfTE7EuHWwt G7904DFY1kZx+H5AFoDuwyD0umbzv481mQxCOMA394TkrrFBF0YkTkIxWvIhWNA5iPb/ b9rC/zwRB16Occq7jiZH+eia3NJ6evKPTRSuZXNxRr+B5Vp88zeplEoz2fD4fZCDt6PE m2rw== X-Received: by 10.107.40.136 with SMTP id o130mr15181368ioo.26.1414617911300; Wed, 29 Oct 2014 14:25:11 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.207 with HTTP; Wed, 29 Oct 2014 14:24:50 -0700 (PDT) In-Reply-To: <545147FE.5080407@yahoo.com> References: <5450FF8B.4030201@yahoo.com> <545147FE.5080407@yahoo.com> From: Ed Maste Date: Wed, 29 Oct 2014 17:24:50 -0400 X-Google-Sender-Auth: 0N1x3bJX5L1UHLOd0Q3ZtLzBm2U Message-ID: Subject: Re: Oracle JDK To: Paul Pathiakis Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 21:25:12 -0000 On 29 October 2014 16:03, Paul Pathiakis wrote: > Ed, > > The person mentioned the line item in the most recent status report. I > checked and in the FreeBSD Foundation it says they have a signed agreement > to get access to the TCK.... Is that the test suite you speak of? That is correct. This is independent of an Oracle JDK, but supports our effort to ensure that OpenJDK works properly on FreeBSD. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 21:57:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2B023F19 for ; Wed, 29 Oct 2014 21:57:58 +0000 (UTC) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B462DCF7 for ; Wed, 29 Oct 2014 21:57:57 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id x13so2914827wgg.19 for ; Wed, 29 Oct 2014 14:57:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=z8mC8xYXfWoTtb46fIlzsuB04CiYxQN5BB7+vA2Mg1s=; b=jKwIFDZkZIiZ7qmKhwHCfopRTnEKje2F2fm+YoRuTpKgIdDJJ9NeCqrwlL+EzNjS3z b3mXIwBlS+CvBWLPBMOtQa+nmiMfEBoVbyL3BTyTvHMxrczTNXIVSjn3hY0jNf67Eu6Y QCt0+enYbxdLuPMM7YOlUD5radStCj4UVhJ9KwRY8B4s5stOkYFMc8M8U+xbakX1pPJy KE6WvyQRplnU+95hiyBfi8UnX1IohesT9y3AT/K8x1d2Dq/L+98w0AsoUfcwZ75QutOQ T0LmWl3IgpBK0FTIIoOeJfFaMCsLXcotuKiPZ8ifM8a64MJGqIrpoK0X4W7+7EpofXaR wNXA== X-Received: by 10.180.104.99 with SMTP id gd3mr15403286wib.10.1414619875886; Wed, 29 Oct 2014 14:57:55 -0700 (PDT) Received: from gumby.homeunix.com (5ec1f671.skybroadband.com. [94.193.246.113]) by mx.google.com with ESMTPSA id md11sm11879459wic.15.2014.10.29.14.57.54 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Oct 2014 14:57:55 -0700 (PDT) Date: Wed, 29 Oct 2014 21:57:53 +0000 From: RW To: freebsd-questions@freebsd.org Subject: Re: out of swap space Message-ID: <20141029215753.1e9e5be4@gumby.homeunix.com> In-Reply-To: References: <0fdf2022075b7a33f0abde4edd7c12a1@paz.bz> <20141028130146.6d2b6179@gumby.homeunix.com> X-Mailer: Claws Mail 3.11.0 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 21:57:58 -0000 On Tue, 28 Oct 2014 12:08:54 -0700 Reed A. Cartwright wrote: > We've run out of swap on a system with 512GB of memory and 1TB of > swap space. > > Processes get killed, ... If you run out of swap because demand for memory is too great then it's fairly common that you run out of reallocatable pages immediately after and processes are killed. Running out of swap doesn't itself cause processes to die, and it's not inevitable that it leads to a critical shortage of pages - it depends on the circumstances in which the swap filled-up. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 29 22:45:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E7D82533 for ; Wed, 29 Oct 2014 22:45:37 +0000 (UTC) Received: from mail.firstyear.id.au (2001-44b8-016a-0004-0000-0000-0000-0001.static.ipv6.internode.on.net [IPv6:2001:44b8:16a:4::1]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF30319 for ; Wed, 29 Oct 2014 22:45:37 +0000 (UTC) Received: from [129.127.46.250] (ammy.its.adelaide.edu.au [129.127.46.250]) by mail.firstyear.id.au (Postfix) with ESMTPSA id 22E95453A455 for ; Thu, 30 Oct 2014 09:15:27 +1030 (ACDT) Message-ID: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> Subject: Loader vs loader efi ficl incompatibility From: William To: Paul Pathiakis via freebsd-questions Date: Thu, 30 Oct 2014 09:15:25 +1030 Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lyra.ipa.blackhats.net.au X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 22:45:38 -0000 Hi, To get my laptop working (Macbook pro) with freebsd, at boot you need to outb to some memory locations before boot so that graphics works. In a test vm, I defined the following ficl: : display_fix ( -- ) ." ========= " 0x710 inb emit 0x728 inb emit 0x740 inb emit 0x750 inb emit ; display_fix I wanted to run inb to start with to see the current state of the values, rather than charging in setting memory values. In a VM, I add this to boot.4th, and it works, I see characters on the screen. On the real hardware with loader.efi, I get the error "inb not found" and the boot.4th doesn't run. Both systems are running 10.1rc3. Are there differences in the ficl interpreter between loader and loader.efi? Is this perhaps a bug? Aside: The definition for outb in ficl is: outb( port char -- ) If I run 0x710 1 outb Am I putting an ascii 1 into char, thus the value 0x31, or am I putting an int 1 into char? -- William From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 07:00:08 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 55C63250 for ; Thu, 30 Oct 2014 07:00:08 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 14A42C0F for ; Thu, 30 Oct 2014 07:00:07 +0000 (UTC) Received: from [89.15.239.107] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1Xjji9-0001Vy-FY for freebsd-questions@freebsd.org; Thu, 30 Oct 2014 07:59:58 +0100 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id s9U6xoLT001805 for ; Thu, 30 Oct 2014 07:59:51 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id s9U6xlad001804 for freebsd-questions@freebsd.org; Thu, 30 Oct 2014 07:59:47 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Thu, 30 Oct 2014 07:59:46 +0100 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: /usr/X11R6 sym link Message-ID: <20141030065945.GA1778@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.15.239.107 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 07:00:08 -0000 Hello, I wanted to update one of my laptops with my usual procedure: - boot from a well prepared USB key with 11-CURRENT, packages, src, ... - wipe out with newfs(8) all file systems, but not /usr - mount the (old) /usr as /mnt/usr - rm -rf everything in /mnt/usr, but not /mnt/usr/home - install 'make installworld ...' into /mnt - ... A pity that I overlooked that the old /usr/X11R6 was a sym link to (fully qualified) /usr/local: $ ls -l /mnt/usr total 58 lrwxr-xr-x 1 root wheel 10 7 abr 2011 X11R6 -> /usr/local drwxr-xr-x 2 root wheel 7680 1 ago 2012 bin drwxr-xr-x 2 root wheel 512 12 abr 2011 compat drwxr-xr-x 2 root wheel 512 18 abr 2011 games ... This (rm -rf /mnt/usr/X11R6) damaged the system I was sitting on, i.e. the USB key :-( Ofc, I have had an image of the key and could recreate the key in a few minutes. And of course, I could have seen this and ofc I will keep my eyes wider open next time, but I'm curious: what piece of old package could have created such a symlink in this older (9-CURRENT) system? Any idea? matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 07:15:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BFB8463B for ; Thu, 30 Oct 2014 07:15:12 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 84045E54 for ; Thu, 30 Oct 2014 07:15:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-145-127.dynamic.qsc.de [92.195.145.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id BFB092780C; Thu, 30 Oct 2014 08:15:03 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9U7F3Mq006418; Thu, 30 Oct 2014 08:15:03 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 30 Oct 2014 08:15:03 +0100 From: Polytropon To: Matthias Apitz Subject: Re: /usr/X11R6 sym link Message-Id: <20141030081503.5985afdb.freebsd@edvax.de> In-Reply-To: <20141030065945.GA1778@unixarea.DDR.dd> References: <20141030065945.GA1778@unixarea.DDR.dd> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 07:15:12 -0000 On Thu, 30 Oct 2014 07:59:46 +0100, Matthias Apitz wrote: > A pity that I overlooked that the old /usr/X11R6 was a sym link to > (fully qualified) /usr/local: > > $ ls -l /mnt/usr > total 58 > lrwxr-xr-x 1 root wheel 10 7 abr 2011 X11R6 -> /usr/local > drwxr-xr-x 2 root wheel 7680 1 ago 2012 bin > drwxr-xr-x 2 root wheel 512 12 abr 2011 compat > drwxr-xr-x 2 root wheel 512 18 abr 2011 games > ... > > This (rm -rf /mnt/usr/X11R6) damaged the system I was sitting on, i.e. > the USB key :-( > > Ofc, I have had an image of the key and could recreate the key in a few > minutes. And of course, I could have seen this and ofc I will keep my > eyes wider open next time, but I'm curious: what piece of old package > could have created such a symlink in this older (9-CURRENT) > system? I think this symlink is being created already by the OS installation. You can add any missing directories using mtree and the .dist files in /etc/mtree... lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 X11R6@ -> /usr/local On the other hand, I assume any port that still requires /usr/X11R6 will take care to create it. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 07:53:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 318A9C4 for ; Thu, 30 Oct 2014 07:53:22 +0000 (UTC) Received: from ms-10.1blu.de (ms-10.1blu.de [178.254.4.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E3203256 for ; Thu, 30 Oct 2014 07:53:21 +0000 (UTC) Received: from [89.15.239.107] (helo=unixarea.DDR.dd) by ms-10.1blu.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.76) (envelope-from ) id 1XjkXn-0006O7-1O; Thu, 30 Oct 2014 08:53:19 +0100 Received: from unixarea.DDR.dd (localhost [127.0.0.1]) by unixarea.DDR.dd (8.14.9/8.14.3) with ESMTP id s9U7rAZG001938; Thu, 30 Oct 2014 08:53:11 +0100 (CET) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by unixarea.DDR.dd (8.14.9/8.14.3/Submit) id s9U7r59L001937; Thu, 30 Oct 2014 08:53:05 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: unixarea.DDR.dd: guru set sender to guru@unixarea.de using -f Date: Thu, 30 Oct 2014 08:53:04 +0100 From: Matthias Apitz To: Polytropon Subject: Re: /usr/X11R6 sym link Message-ID: <20141030075304.GA1912@unixarea.DDR.dd> Reply-To: Matthias Apitz Mail-Followup-To: Matthias Apitz , Polytropon , freebsd-questions@freebsd.org References: <20141030065945.GA1778@unixarea.DDR.dd> <20141030081503.5985afdb.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141030081503.5985afdb.freebsd@edvax.de> X-Operating-System: FreeBSD 11.0-CURRENT r269739 (i386) User-Agent: Mutt/1.5.23 (2014-03-12) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.15.239.107 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 07:53:22 -0000 El día Thursday, October 30, 2014 a las 08:15:03AM +0100, Polytropon escribió: > > Ofc, I have had an image of the key and could recreate the key in a few > > minutes. And of course, I could have seen this and ofc I will keep my > > eyes wider open next time, but I'm curious: what piece of old package > > could have created such a symlink in this older (9-CURRENT) > > system? > > I think this symlink is being created already by the > OS installation. You can add any missing directories > using mtree and the .dist files in /etc/mtree... > > lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 X11R6@ -> /usr/local > > On the other hand, I assume any port that still > requires /usr/X11R6 will take care to create it. My fully installed 11-CURRENT with KDE4 (...) does not has such a sym link: $ ls -l /usr total 102 drwxr-xr-x 2 root wheel 8192 6 oct 07:55 bin drwxr-xr-x 2 root wheel 512 3 oct 12:52 games drwxr-xr-x 5 root wheel 512 25 may 09:17 home drwxr-xr-x 54 root wheel 6144 3 oct 12:56 include drwxr-xr-x 8 root wheel 13312 3 oct 12:57 lib drwxr-xr-x 5 root wheel 512 3 oct 12:50 lib32 drwxr-xr-x 6 root wheel 512 3 oct 12:50 libdata drwxr-xr-x 7 root wheel 1536 3 oct 12:58 libexec drwxr-xr-x 18 root wheel 512 24 oct 11:27 local drwxr-xr-x 3 root wheel 512 3 oct 12:49 obj drwxr-xr-x 2 root wheel 5120 3 oct 12:58 sbin drwxr-xr-x 33 root wheel 1024 3 oct 12:50 share drwxr-xr-x 23 root wheel 1024 3 oct 12:49 src drwxr-xr-x 15 root wheel 512 3 oct 12:58 tests matthias -- Matthias Apitz | /"\ ASCII Ribbon Campaign: E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 08:21:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D74DCE01; Thu, 30 Oct 2014 08:21:27 +0000 (UTC) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97E907B1; Thu, 30 Oct 2014 08:21:27 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.82) with esmtp (envelope-from ) id <1Xjkys-001itA-8B>; Thu, 30 Oct 2014 09:21:18 +0100 Received: from p578a69f9.dip0.t-ipconnect.de ([87.138.105.249] helo=prometheus) by inpost2.zedat.fu-berlin.de (Exim 4.82) with esmtpsa (envelope-from ) id <1Xjkys-003k8z-3s>; Thu, 30 Oct 2014 09:21:18 +0100 Date: Thu, 30 Oct 2014 09:20:39 +0100 From: "O. Hartmann" To: freebsd-current , freebsd-questions Subject: Heimdal with OpenLDAP backend: Cannot open /usr/lib/hdb_ldap.so Message-ID: <20141030092039.47802349@prometheus> Organization: FU Berlin X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 87.138.105.249 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 08:21:27 -0000 On CURRENT (FreeBSD 11.0-CURRENT #0 r273810: Wed Oct 29 07:52:22 CET 2014 amd64) a running net/openldap24-sasl-server system is installed and running and is now about to be the database backend for Kerberos/Heimdal. net/openldap24-sasl-server is at openldap-sasl-server-2.4.40. The database storage scheme of the LDAP backend is MDB, as it is highly recommended by the vendors of OpenLDAP. Searching for suitable manuals, I found some HowTos describing how to setup MIT Kerberos V with an OpenLDAP backend and I started following the instructions there. Despite the fact that http://www.h5l.org/manual is dead(!) and no usefull documentation or any kind of a hint where to find useful documentation for Heimdal can be found, many of the MIT Kerberos V setup instructions seem to be a dead end when using Heimdal on FreeBSD. Most of the links on that heimdal site ends up in ERROR 404! Well, I think my objective isn't that exotic in an more advanced server environment and I think since FreeBSD is supposed to be used in advanced server environments this task should be well known - but little information/documentation is available. Nevertheless, I use the base system's heimdal implementation and I run into a very frustrating error when trying to run "kamdin -l": kadmin: error trying to load dynamic module /usr/lib/hdb_ldap.so: Cannot open "/usr/lib/hdb_ldap.so" The setup for the stanza [kdc] is [...] [kdc] database = { dbname=ldap:ou=kerberos,dc=server,dc=gdr #hdb-ldap-structural-object = inetOrgPerson mkey_file = /var/heimdal/m-key acl_file = /var/heimdal/kadmind.acl } instructions taken from http://www.padl.com/Research/Heimdal.html. Well, it seems that FreeBSD ships with a crippled heimdal implementation. Where is /usr/lib/hdb_ldap.so? I'm toying around this issue for several days now and it gets more and more frustrating, also with the perspective of having no running samba 4.1 server for the windows domain. Can someone give me a hint where to find suitable FreeBSD docs for a task like this? I guess since FreeBSD is considered a server OS more than a desktop/toy OS, there must be a solution for this. FreeBSD ships with heimdal in the base, but it seems this heimdal is broken. P.S. Please CC me. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 09:11:43 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EDF2CE9D for ; Thu, 30 Oct 2014 09:11:43 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B10F0C6A for ; Thu, 30 Oct 2014 09:11:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-145-127.dynamic.qsc.de [92.195.145.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 66E212778B; Thu, 30 Oct 2014 10:11:40 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9U9Bevh006869; Thu, 30 Oct 2014 10:11:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 30 Oct 2014 10:11:40 +0100 From: Polytropon To: Matthias Apitz Subject: Re: /usr/X11R6 sym link Message-Id: <20141030101140.b92cfb2c.freebsd@edvax.de> In-Reply-To: <20141030075304.GA1912@unixarea.DDR.dd> References: <20141030065945.GA1778@unixarea.DDR.dd> <20141030081503.5985afdb.freebsd@edvax.de> <20141030075304.GA1912@unixarea.DDR.dd> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 09:11:44 -0000 On Thu, 30 Oct 2014 08:53:04 +0100, Matthias Apitz wrote: > El d=EDa Thursday, October 30, 2014 a las 08:15:03AM +0100, Polytropon es= cribi=F3: >=20 > > > Ofc, I have had an image of the key and could recreate the key in a f= ew > > > minutes. And of course, I could have seen this and ofc I will keep my > > > eyes wider open next time, but I'm curious: what piece of old package > > > could have created such a symlink in this older (9-CURRENT) > > > system? > >=20 > > I think this symlink is being created already by the > > OS installation. You can add any missing directories > > using mtree and the .dist files in /etc/mtree... > >=20 > > lrwxr-xr-x 1 root wheel 10 2011-08-21 22:32:05 X11R6@ -> /usr/local > >=20 > > On the other hand, I assume any port that still > > requires /usr/X11R6 will take care to create it. >=20 > My fully installed 11-CURRENT with KDE4 (...) does not has such a sym > link: >=20 > $ ls -l /usr > total 102 > drwxr-xr-x 2 root wheel 8192 6 oct 07:55 bin > drwxr-xr-x 2 root wheel 512 3 oct 12:52 games > drwxr-xr-x 5 root wheel 512 25 may 09:17 home > drwxr-xr-x 54 root wheel 6144 3 oct 12:56 include > drwxr-xr-x 8 root wheel 13312 3 oct 12:57 lib > drwxr-xr-x 5 root wheel 512 3 oct 12:50 lib32 > drwxr-xr-x 6 root wheel 512 3 oct 12:50 libdata > drwxr-xr-x 7 root wheel 1536 3 oct 12:58 libexec > drwxr-xr-x 18 root wheel 512 24 oct 11:27 local > drwxr-xr-x 3 root wheel 512 3 oct 12:49 obj > drwxr-xr-x 2 root wheel 5120 3 oct 12:58 sbin > drwxr-xr-x 33 root wheel 1024 3 oct 12:50 share > drwxr-xr-x 23 root wheel 1024 3 oct 12:49 src > drwxr-xr-x 15 root wheel 512 3 oct 12:58 tests Because /usr/X11R6 has been obsoleted, and all the programs you have installed on your recent system seem to be aware of it. The X11R6 symlink will only be relevant to programs (or port install "recipes") that haven't made the transition yet. On my system (very old) this symlink is still present because the installation is full of old software. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 14:59:55 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2BF7B835 for ; Thu, 30 Oct 2014 14:59:55 +0000 (UTC) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F0D01646 for ; Thu, 30 Oct 2014 14:59:54 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id tp5so5468824ieb.15 for ; Thu, 30 Oct 2014 07:59:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=XR4OlRD/fBQTvMxFuUPzBh4+8QcVOII3yg4nvuOktp0=; b=w3e/nIZu50Z6IYe6EYXpnILlAiYN2yaM6QpTgSgZq/l3zlWgsi5G+P9jq7K6Sy8rbz 4KrMsUgV66c8HO8rKtYEX3O01RNrT4qgbCsh994pspdMCqgXwcuO5Zow+pvOO86o/sAc 8VkO9HzQNQx7mysU9zSg3OvsqHp/o8g7ML4hR2f3zIO0ZnuOsggMCTpmJZd1e0Xzbi2F cRRX9noU8eRhT7DTqZuMR06zrjlXNB08YNK9w6DGNjl9Cmg/2NWYudIBIOrrnOouV1eo MNQBGvfV6FnE/xWKOyQLNTfGJNmzcvJLZblFS3GwilDxIzUWoNBdkFigtladgrSxas8U V/ZQ== X-Received: by 10.107.130.218 with SMTP id m87mr20109119ioi.8.1414681194351; Thu, 30 Oct 2014 07:59:54 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.29.207 with HTTP; Thu, 30 Oct 2014 07:59:34 -0700 (PDT) In-Reply-To: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> References: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> From: Ed Maste Date: Thu, 30 Oct 2014 10:59:34 -0400 X-Google-Sender-Auth: 9awyuywprs_38NwE02hrWEG-mY8 Message-ID: Subject: Re: Loader vs loader efi ficl incompatibility To: William Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 14:59:55 -0000 On 29 October 2014 18:45, William wrote: > Hi, > > To get my laptop working (Macbook pro) with freebsd, at boot you need to > outb to some memory locations before boot so that graphics works. Do you happen to have a good reference for the io ports you mention? I see them described on a number of Linux forums, but a canonical source would be nice. > Are there differences in the ficl interpreter between loader and > loader.efi? Is this perhaps a bug? The loader only includes inb and outb for i386 (the non-UEFI loader is 32-bit for both i386 and amd64): #ifdef __i386__ dictAppendWord(dp, "outb", ficlOutb, FW_DEFAULT); dictAppendWord(dp, "inb", ficlInb, FW_DEFAULT); #endif We'd need to make these available in the 64-bit loader.efi, although I'd really like to have MBP support be handled automatically in the loader itself. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 17:18:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E764F16B for ; Thu, 30 Oct 2014 17:18:10 +0000 (UTC) Received: from mail-qa0-x232.google.com (mail-qa0-x232.google.com [IPv6:2607:f8b0:400d:c00::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB0A982D for ; Thu, 30 Oct 2014 17:18:10 +0000 (UTC) Received: by mail-qa0-f50.google.com with SMTP id bm13so2302529qab.37 for ; Thu, 30 Oct 2014 10:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Lb3P2u7HHmZxeAu6MQqkttG6dt0ABGde4dtgzShAhdU=; b=HrnCoJ+S3CpA4j+r9QR2EBuzIANzx9DET0PravwtZ0qHClTb/AhlDTwss67N83SBML YTEOnJQ7bkJo3/0fQA/4NnQrstvGbFJsb5WDLsinyTdq/0oxX98YOXmWvHnhrcdevl8v P8NFG9h8UTapJsKRJKEU78VKC+oYfxMFCuMvw2yLUNWFeWnW2Xho1yJckahu0/QisWR2 lvLXbMO1IwFhVLgYFpF4KK57ZBiW1nJKetn62pVpRiTUbFPPcFL5EkSx72IdfI2Ujrvj 0DcCFq5L+vno7/U53sEU+9LXEFIuFV3pmWN9iFK5RxRC901W0hSUS4n8kcE7VzDs6llr Y7fA== MIME-Version: 1.0 X-Received: by 10.140.106.36 with SMTP id d33mr27035700qgf.39.1414689489803; Thu, 30 Oct 2014 10:18:09 -0700 (PDT) Received: by 10.140.42.55 with HTTP; Thu, 30 Oct 2014 10:18:09 -0700 (PDT) Date: Thu, 30 Oct 2014 14:18:09 -0300 Message-ID: Subject: What are the countries that have the laws that make it illegal you from writing any code that you want? From: =?UTF-8?Q?fran=C3=A7ai_s?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 17:18:11 -0000 Hi to all It is written in documentation " A Quick Guide to GPLv3 " of GNU Operating System in title " Neutralizing Laws That Prohibit Free Software =E2=80=94 But Not Forbidding DRM ": " You're probably familiar with the Digital Restrictions Management (DRM) on DVDs and other media. You're probably also familiar with the laws that make it illegal to write your own tools to bypass those restrictions, like the Digital Millennium Copyright Act and the European Union Copyright Directive. Nobody should be able to stop you from writing any code that you want, and GPLv3 protects this right for you. It's always possible to use GPLed code to write software that implements DRM. However, if someone does that with code protected by GPLv3, section 3 says that the system will not count as an effective technological "protection" measure. This means that if you break the DRM, you'll be free to distribute your own software that does that, and you won't be threatened by the DMCA or similar laws. As usual, the GNU GPL does not restrict what people do in software; it just stops them from restricting others. " What are the countries that have the laws that make it illegal to write your own tools to bypass restrictions, like the Digital Millennium Copyright Act and the European Union Copyright Directive? What are the countries that have the laws that make it illegal you from writing any code that you want? Please, all answer , free software is irresistible to me How contributing to the FreeBSD Project writing code? From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 17:46:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D36DE685 for ; Thu, 30 Oct 2014 17:46:05 +0000 (UTC) Received: from land.berklix.org (land.berklix.org [144.76.10.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 64C79B62 for ; Thu, 30 Oct 2014 17:46:04 +0000 (UTC) Received: from mart.js.berklix.net (p57BCF6D6.dip0.t-ipconnect.de [87.188.246.214]) (authenticated bits=128) by land.berklix.org (8.14.5/8.14.5) with ESMTP id s9UHgJYp005473 for ; Thu, 30 Oct 2014 17:42:22 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id s9UHjh2M011465 for ; Thu, 30 Oct 2014 18:45:43 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.7/8.14.7) with ESMTP id s9UHjV6O094761 for ; Thu, 30 Oct 2014 18:45:43 +0100 (CET) (envelope-from jhs@berklix.com) Message-Id: <201410301745.s9UHjV6O094761@fire.js.berklix.net> To: freebsd-questions@freebsd.org Subject: Re: What are the countries that have the laws that make it illegal you from writing any code that you want? From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultants, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Thu, 30 Oct 2014 14:18:09 -0300." Date: Thu, 30 Oct 2014 18:45:31 +0100 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 17:46:05 -0000 =?UTF-8?Q?fran=C3=A7ai_s?= wrote: > Hi to all > > It is written in documentation " A Quick Guide to GPLv3 " of GNU > Operating System in title " Neutralizing Laws That Prohibit Free > Software — But Not Forbidding DRM ": Don't feed the troll. If you want to, drop questions@ & optionally cc: freebsd-chat@freebsd.org Cheers, Julian -- Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com Indent previous with "> ". Interleave reply paragraphs like a play script. Send plain text, not quoted-printable, HTML, base64, or multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 18:28:37 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1CF3B523 for ; Thu, 30 Oct 2014 18:28:37 +0000 (UTC) Received: from mail-qc0-x22e.google.com (mail-qc0-x22e.google.com [IPv6:2607:f8b0:400d:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D1DCEFD9 for ; Thu, 30 Oct 2014 18:28:36 +0000 (UTC) Received: by mail-qc0-f174.google.com with SMTP id r5so4646103qcx.5 for ; Thu, 30 Oct 2014 11:28:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=scMaWDqGZ8n2m/yaRqyrIPD7MwKAjCBWff9DZUYZMtM=; b=fPlcFrUiw/OvJbGCF9R29u+SA2aZO8kmF2M52KdLam+0ojCzPzWSk8MVxfZ9fBiHS9 MyTF7w80KPclOtUXXF/wPTMSimF1Mgss/ZhYLEgkMAe/6FbMT7VZZq2nC3csrZjv1cmM nP49Q9vfg/J7CtADUeCZKMaZf6vwVMuWBczYd3d2MGNZ455H51YJrrk/MvmG3OLsuMmI 5qE/lwcsYFZvEbj0rc8AxEHh/7m4oE3nCO2uOfpkhbCo+cXUuJ+ov+YbZcxwsL3gDz1V qWrQdP2201+ruNMPXpBzsO3FBoM+yNqkb/1OUkwus1/1WEtEmFjFfcXzOwI136lKwpFD EQgw== MIME-Version: 1.0 X-Received: by 10.224.25.129 with SMTP id z1mr28893057qab.3.1414693715893; Thu, 30 Oct 2014 11:28:35 -0700 (PDT) Received: by 10.140.42.55 with HTTP; Thu, 30 Oct 2014 11:28:35 -0700 (PDT) In-Reply-To: References: Date: Thu, 30 Oct 2014 15:28:35 -0300 Message-ID: Subject: Re: What are the countries that have the laws that make it illegal you from writing any code that you want? From: =?UTF-8?Q?fran=C3=A7ai_s?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 18:28:37 -0000 2014-10-30 14:18 GMT-03:00, fran=C3=A7ai s : > Hi to all > > It is written in documentation " A Quick Guide to GPLv3 " of GNU > Operating System in title " Neutralizing Laws That Prohibit Free > Software =E2=80=94 But Not Forbidding DRM ": > > " You're probably familiar with the Digital Restrictions Management > (DRM) on DVDs and other media. You're probably also familiar with the > laws that make it illegal to write your own tools to bypass those > restrictions, like the Digital Millennium Copyright Act and the > European Union Copyright Directive. Nobody should be able to stop you > from writing any code that you want, and GPLv3 protects this right for > you. > > It's always possible to use GPLed code to write software that > implements DRM. However, if someone does that with code protected by > GPLv3, section 3 says that the system will not count as an effective > technological "protection" measure. This means that if you break the > DRM, you'll be free to distribute your own software that does that, > and you won't be threatened by the DMCA or similar laws. > > As usual, the GNU GPL does not restrict what people do in software; it > just stops them from restricting others. " > > What are the countries that have the laws that make it illegal to > write your own tools to bypass restrictions, like the Digital > Millennium Copyright Act and the European Union Copyright Directive? > > What are the countries that have the laws that make it illegal you > from writing any code that you want? > > Please, all answer , free software is irresistible to me > > > How contributing to the FreeBSD Project writing code? > I forgot to quote the reference: https://www.gnu.org/licenses/quick-guide-gplv3.html From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 19:39:05 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7F1942C0 for ; Thu, 30 Oct 2014 19:39:05 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4062B940 for ; Thu, 30 Oct 2014 19:39:04 +0000 (UTC) Received: from r56.edvax.de (port-92-195-145-127.dynamic.qsc.de [92.195.145.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 86D773CE9D; Thu, 30 Oct 2014 20:29:20 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s9UJTJuv001972; Thu, 30 Oct 2014 20:29:19 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 30 Oct 2014 20:29:19 +0100 From: Polytropon To: =?ISO-8859-1?Q?fran=E7ai?= s Subject: Re: What are the countries that have the laws that make it illegal you from writing any code that you want? Message-Id: <20141030202919.f85f6d7c.freebsd@edvax.de> In-Reply-To: References: Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 19:39:05 -0000 On Thu, 30 Oct 2014 14:18:09 -0300, fran=E7ai s wrote: > What are the countries that have the laws that make it illegal to > write your own tools to bypass restrictions, like the Digital > Millennium Copyright Act and the European Union Copyright Directive? That depends on the actual jurisdiction and laws of the country. You should consult a lawyer who is familiar with this very specific field of law. Of course you'll hardly find _one_ lawyer who can answer the question for _all_ existing countries. :-) Laws that exist are one things. Laws that are being enforced ("actually cause a reaction to the act of an individual") are a different thing. It's not just important what is being done, it also matters _who_ is doing it. For example authorities are often granted a wider range of what's "lawful" in comparison to a normal citizen (for example, infecting a person's PC or phone with malware, committing crimes for the sake of uncovering crimes, lying in court, and in the context discussed, create software to spy on people, to plant "evidences", to monitor computers, phones and cameras, to program weapons that oppress and kill people, and so on). Laws and their interpretations differ. It depends on who interprets them in regards of whom and what. It's more complicated than it sounds. Bypassing restrictions is one thing. But what about a restriction that doesn't work for you? For example, if you have an un-CD (music CD) that claims (!) to have "copy protection", but can be copied without any problem? What about mechanisms that only work on "Windows", and you run FreeBSD? Did you bypass something? Did the creator of the OS or the program you use therefore write code to bypass something? As always in matters of law, keep the following in mind: Two lawyers, three opinions. ;-) > What are the countries that have the laws that make it illegal you > from writing any code that you want? It also depends on _what_ you want. Nobody should prosecute you for writing a calculator app, but it's still possible that there are countries where writing a calculator app is prohibited and will be punished. As I said, a lawyer will be able to tell you - at least for _your_ local jurisdiction. > How contributing to the FreeBSD Project writing code? You'll find that information here: https://www.freebsd.org/doc/en/articles/contributing/ --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Oct 30 21:55:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1E306BAF for ; Thu, 30 Oct 2014 21:55:58 +0000 (UTC) Received: from smtp22.services.sfr.fr (smtp22.services.sfr.fr [93.17.128.13]) by mx1.freebsd.org (Postfix) with ESMTP id AD129901 for ; Thu, 30 Oct 2014 21:55:57 +0000 (UTC) Received: from filter.sfr.fr (localhost [84.98.39.158]) by msfrf2201.sfr.fr (SMTP Server) with ESMTP id D15F0700010A for ; Thu, 30 Oct 2014 22:49:05 +0100 (CET) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=scaglione.francesco@neuf.fr Received: from X1 (158.39.98.84.rev.sfr.net [84.98.39.158]) by msfrf2201.sfr.fr (SMTP Server) with SMTP id 5D9AB7000101 for ; Thu, 30 Oct 2014 22:49:02 +0100 (CET) X-SFR-UUID: 20141030214903383.5D9AB7000101@msfrf2201.sfr.fr Date: Thu, 30 Oct 2014 22:48:53 +0100 From: francesco scaglione To: freebsd-questions@freebsd.org Subject: /usr/src update Message-Id: <20141030224853.02fceca95497401f6a70b7bd@neuf.fr> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Oct 2014 21:55:58 -0000 Hi, I'm receiving warnings when trying to perform a "freebsd-update" on a server: # freebsd-update fetch Looking up update.FreeBSD.org mirrors... 5 mirrors found. Fetching metadata signature for 8.4-RELEASE from update6.freebsd.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be added as part of updating to 8.4-RELEASE-p18: /usr/src/share/zoneinfo/leap-seconds.list /usr/src/share/zoneinfo/zone1970.tab The following files will be updated as part of updating to 8.4-RELEASE-p18: /boot/kernel/linker.hints /usr/share/zoneinfo/Africa/Bamako /usr/share/zoneinfo/Africa/Banjul /usr/share/zoneinfo/Africa/Conakry /usr/share/zoneinfo/Africa/Dakar /usr/share/zoneinfo/Africa/Freetown /usr/share/zoneinfo/Africa/Lome /usr/share/zoneinfo/Africa/Nouakchott /usr/share/zoneinfo/Africa/Ouagadougou /usr/share/zoneinfo/Africa/Sao_Tome /usr/share/zoneinfo/Atlantic/St_Helena /usr/share/zoneinfo/Pacific/Johnston --- # freebsd-update install Installing updates...install: ///usr/src/share/zoneinfo/leap-seconds.list: No such file or directory install: ///usr/src/share/zoneinfo/zone1970.tab: No such file or directory done. --- I had more or less the same problem on another server, this one running 10.0-RELEASE-p10 Release. In that case, following what I'd read on the FreeBSD forum, I simply removed src from the "Components" in freebsd-update.conf, since after checking I saw that /usr/src was empty. On the other server though, running FreeBSD 8.4-RELEASE-p16, I saw that the directory is not empty: du -h src/ 6.0k src/etc/pkg 8.0k src/etc 6.0k src/share/keys/pkg/trusted 10k src/share/keys/pkg 14k src/share/keys 16k src/share 26k src/ --- Would it be safe to remove the src component from freebsd-update.conf here as well or should I keep that? Thank you very much for your help, Francesco From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 00:21:34 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D417EDB; Fri, 31 Oct 2014 00:21:34 +0000 (UTC) Received: from mail.firstyear.id.au (2001-44b8-016a-0004-0000-0000-0000-0001.static.ipv6.internode.on.net [IPv6:2001:44b8:16a:4::1]) by mx1.freebsd.org (Postfix) with ESMTP id 03C98927; Fri, 31 Oct 2014 00:21:33 +0000 (UTC) Received: from [129.127.46.250] (ammy.its.adelaide.edu.au [129.127.46.250]) by mail.firstyear.id.au (Postfix) with ESMTPSA id 9B3B3453B064; Fri, 31 Oct 2014 10:51:25 +1030 (ACDT) Message-ID: <1414714882.16625.43.camel@ammy.its.adelaide.edu.au> Subject: Re: Loader vs loader efi ficl incompatibility From: William To: Ed Maste Date: Fri, 31 Oct 2014 10:51:22 +1030 In-Reply-To: References: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4 (3.10.4-4.fc20) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=1.3 required=5.0 tests=RDNS_NONE,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lyra.ipa.blackhats.net.au Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 00:21:35 -0000 On Thu, 2014-10-30 at 10:59 -0400, Ed Maste wrote: > On 29 October 2014 18:45, William wrote: > > Hi, > > > > To get my laptop working (Macbook pro) with freebsd, at boot you need to > > outb to some memory locations before boot so that graphics works. > > Do you happen to have a good reference for the io ports you mention? I > see them described on a number of Linux forums, but a canonical source > would be nice. So, I should explain. In the MacBookPro 15" 8,2, it has two graphics cards. The i915 intel and a radeon 6770. These are connected to a multiplexer (gmux) and that is connected to the laptop panel via LVDS. When the system boots, the ati card is selected on the gmux, and both powered on. I wish to preboot change to the i915 then boot the system. The reason for doing this preboot is that efifb doesn't support re-probing the display after a switch. As I say this, I mean that FreeBSD doesn't currently appear to support gmux switching, I wrote my own kernel module to do this, so it's very rough and doesn't interact with efifb at all. The obvious reason for the gpu swap and power down of the inactive card is battery and heat. The radeon idle runs at 60+ degrees, and halves the battery. There is no canonical source that I know of, merely reverse engineering. If you want the details of the specific addresses I can provide these, as each one of those 4 has a unique function in the gmux. > > > Are there differences in the ficl interpreter between loader and > > loader.efi? Is this perhaps a bug? > > The loader only includes inb and outb for i386 (the non-UEFI loader is > 32-bit for both i386 and amd64): > > #ifdef __i386__ > dictAppendWord(dp, "outb", ficlOutb, FW_DEFAULT); > dictAppendWord(dp, "inb", ficlInb, FW_DEFAULT); > #endif > > We'd need to make these available in the 64-bit loader.efi, although Removing the ifdef would be enough to make this work for my own personal use? Or would there be unintended consequences. > I'd really like to have MBP support be handled automatically in the > loader itself. > _______________________________________________ Each Mac revision slightly tweaks the gmux, which makes it harder to support. IIRC the linux kernel apple-gmux implementation has this working. The correct way to do this really would be early in loader before the display is setup, change to the intel, and reinit the framebuffer. This relies on Mac hardware detection, the programmatic gmux base address detection, and loader being able to completely reinit the frame buffer in efi. Alternately, you do it just after loader, but just before the freebsd kernel runs so that you don't worry about the screen going black before the efifb gets reinitialised. Then freebsd itself needs a graphics swapping kernel module. You need to be able to carry out a swap, do an LVDS reprobe, and redraw the fb / display. radeon supports this, i915 does not (It's been broken in linux for years and no developers are willing to look at it). For tty with KMS/DRM which does not use these drivers, you likely could just do some handling in efifb. All in all, it would be far more than just a quick "loader" fix imo, and for my specific use case I just need the intel gpu working. I'm quite happy to just drop the outb commands into boot.4th. I'd love to see the fix be done "properly" for all, but I don't have the knowledge to do it, the time etc. I'd be happy some of the work into the loader components for this, but I don't know enough about KMS/DRM to fix those components. Finally, I want to ask if hardware-specific detection should go into loader? I'm not 100% familiar with this architecture and if this very targeted hardware manipulation should go in it. -- William From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 08:06:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 845ACD93 for ; Fri, 31 Oct 2014 08:06:17 +0000 (UTC) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4E8BE9FE for ; Fri, 31 Oct 2014 08:06:17 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1Xk7Dm-00036d-1i for freebsd-questions@freebsd.org; Fri, 31 Oct 2014 01:06:10 -0700 Date: Fri, 31 Oct 2014 01:06:10 -0700 (PDT) From: BBlister To: freebsd-questions@freebsd.org Message-ID: <1414742770032-5960935.post@n5.nabble.com> Subject: Every day my FreeBSD 9.3 machines reboot by watchdog timeout MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 08:06:17 -0000 Greetings, I have a very strange problem. I am administering a number of FreeBSD machines (64bit) with: 9.3-STABLE and after the upgrade to 9.3 for the past months until now I have noticed that every day at approximately the same time the machines reboot by watchdog timeout. I believe the problem lies on an entry on the crontab which is difficult to debug because the crontab has too many entries [280 lines]. All the previous versions of freebsd worked fine (even 9.2) and had uptime for many months. After going to 9.3 the problem arose. I have made debugging symbols for all the kernels and I have some logs of it, in case you can help me debug this strange problem. The watchdog fires almost every day in the morning (not exactly at the same minute), as the log files bellow show. Some days they skip the reboot. NOTE: This happens in every FreeBSD server that I have updated to 9-3 even with different hardware. If I kill the crontab no reboot will happen (at least for 3 days that I tried it). All the servers bear similar crontab. The watchdog flags: watchdogd_flags="-s 30 -t 60 -e /bin/ps" As you know after 3:00 a lot of house cleaning jobs take place and cpu raises load, but I believe that the kernel should not reboot in such situations. I am reluctant to try: -disable watchdog, because these servers are required to operate and if they go down and do not reboot, some users will be upset -comment one-by-one every process in the crontab, because this will required a couple of months debugging. ==>Any clever way how to spot the bug? 1st Machine [This is a real physical machine]: {NOTE: For many days I had disabled crontab and thus the reboot are less in this month.} % last | grep boot boot time Fri Oct 31 06:34 boot time Thu Oct 30 06:43 boot time Wed Oct 29 06:34 boot time Sun Oct 26 06:45 boot time Sun Oct 19 07:00 boot time Sat Oct 11 03:35 boot time Tue Oct 7 07:39 boot time Mon Oct 6 07:46 boot time Sun Oct 5 07:40 boot time Thu Oct 2 07:40 boot time Wed Oct 1 07:34 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.3-STABLE #2 r268794: Sat Oct 11 09:59:45 EEST 2014 root@XXXXXXXX:/usr/obj/usr/src/sys/bigb5 amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: Intel(R) Core(TM)2 Duo CPU E7600 @ 3.06GHz (3066.70-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x1067a Family = 0x6 Model = 0x17 Stepping = 10 Features=0xbfebfbff Features2=0xc08e3bd AMD Features=0x20100800 AMD Features2=0x1 TSC: P-state invariant, performance statistics real memory = 4294967296 (4096 MB) avail memory = 4103790592 (3913 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, cfde0000 (3) failed cpu0: on acpi0 cpu1: on acpi0 attimer0: port 0x40-0x43 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 450 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 atrtc0: port 0x70-0x73 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0xc000-0xc07f mem 0xe6000000-0xe6ffffff,0xd0000000-0xdfffffff,0xe4000000-0xe5ffffff irq 16 at device 0.0 on pci1 vgapci0: Boot video device pci0: at device 27.0 (no driver attached) pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 pcib3: irq 19 at device 28.3 on pci0 pci3: on pcib3 re0: port 0xd000-0xd0ff mem 0xe9010000-0xe9010fff,0xe9000000-0xe900ffff irq 19 at device 0.0 on pci3 re0: Using 1 MSI-X message re0: Chip rev. 0x3c000000 re0: MAC rev. 0x00400000 miibus0: on re0 rgephy0: PHY 1 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow re0: Ethernet address: 00:24:1d:71:e4:83 uhci0: port 0xe000-0xe01f irq 23 at device 29.0 on pci0 usbus0 on uhci0 uhci1: port 0xe100-0xe11f irq 19 at device 29.1 on pci0 usbus1 on uhci1 uhci2: port 0xe200-0xe21f irq 18 at device 29.2 on pci0 usbus2 on uhci2 uhci3: port 0xe300-0xe31f irq 16 at device 29.3 on pci0 usbus3 on uhci3 ehci0: mem 0xe9104000-0xe91043ff irq 23 at device 29.7 on pci0 usbus4: EHCI version 1.0 usbus4 on ehci0 pcib4: at device 30.0 on pci0 pci4: on pcib4 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.2 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ichwd0 on isa0 orm0: at iomem 0xc0000-0xcdfff on isa0 wbwd0: HEFRAS and EFER do not align: EFER 0x2e DevID 0xff DevRev 0xff CR26 0xff acpi_perf0: on cpu0 coretemp0: on cpu0 p4tcc0: on cpu0 coretemp1: on cpu1 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 6164b2106000921 device_attach: est1 attach returned 6 p4tcc1: on cpu1 Timecounters tick every 1.000 msec vboxdrv: fAsync=0 offMin=0x192 offMax=0x325 ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 12Mbps Full Speed USB v1.0 ugen2.1: at usbus2 uhub2: on usbus2 ugen3.1: at usbus3 uhub3: on usbus3 uhub0: 2 ports with 2 removable, self powered usbus4: 480Mbps High Speed USB v2.0 ad0: 715403MB at ata0-master UDMA100 SATA uhub1: 2 ports with 2 removable, self powered ugen4.1: at usbus4 uhub4: on usbus4 uhub2: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 1533348854 Hz quality 1000 Root mount waiting for: usbus4 Root mount waiting for: usbus4 Root mount waiting for: usbus4 uhub4: 8 ports with 8 removable, self powered Root mount waiting for: usbus4 Root mount waiting for: usbus4 ugen4.2: at usbus4 umass0: on usbus4 Trying to mount root from ufs:/dev/ad0s1a [ro]... da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SCSI-4 device da0: Serial Number 001478544883AC5107B80394 da0: 40.000MB/s transfers da0: 7392MB (15138816 512 byte sectors: 255H 63S/T 942C) da0: quirks=0x2 WARNING: / was not properly dismounted ZFS filesystem version: 5 ZFS storage pool version: features support (5000) cryptosoft0: on motherboard vboxnet0: Ethernet address: 0a:00:27:00:00:00 tun0: link state changed to UP nd6_setmtu0: new link MTU on tun0 (1130) is too small for IPv6 tap0: Ethernet address: 00:bd:3a:fc:06:00 tap0: link state changed to UP vboxnet0: promiscuous mode enabled Unread portion of the kernel message buffer: interrupt total irq1: atkbd0 2 irq11: em0 uhci0+ 4037862 irq15: ata1 3 cpu0:timer 8849845 irq257: virtio_pci1 686513 Total 13574225 panic: watchdog timeout cpuid = 0 Uptime: 1d1h18m3s Dumping 107 out of 502 MB:..15%..30%..45%..60%..75%..90% (kgdb) bt #0 doadump (textdump=) at pcpu.h:235 #1 0xffffffff8041554f in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:454 #2 0xffffffff80415997 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:642 #3 0xffffffff803c96b4 in watchdog_fire () at /usr/src/sys/kern/kern_clock.c:898 #4 0xffffffff803c99e5 in hardclock_cnt (cnt=, usermode=) at /usr/src/sys/kern/kern_clock.c:570 #5 0xffffffff806297bc in handleevents (now=0xffffff8000231978, fake=0) at /usr/src/sys/kern/kern_clocksource.c:215 #6 0xffffffff8062a3b9 in timercb (et=, arg=) at /usr/src/sys/kern/kern_clocksource.c:390 #7 0xffffffff8065c70c in lapic_handle_timer (frame=0xffffff80002319f0) at /usr/src/sys/x86/x86/local_apic.c:818 #8 0xffffffff805e868c in Xtimerint () at apic_vector.S:103 #9 0xffffffff805e49e6 in acpi_cpu_c1 () at /usr/src/sys/amd64/acpica/acpi_machdep.c:95 #10 0xffffffff802bce7a in acpi_cpu_idle () at /usr/src/sys/dev/acpica/acpi_cpu.c:1023 #11 0xffffffff805ebfc8 in cpu_idle_acpi (busy=0) at /usr/src/sys/amd64/amd64/machdep.c:678 #12 0xffffffff805ec082 in cpu_idle (busy=0) at /usr/src/sys/amd64/amd64/machdep.c:805 #13 0xffffffff8043d832 in sched_idletd (dummy=) at /usr/src/sys/kern/sched_ule.c:2610 #14 0xffffffff803e7455 in fork_exit (callout=0xffffffff8043d680 , arg=0x0, frame=0xffffff8000231c40) at /usr/src/sys/kern/kern_fork.c:996 #15 0xffffffff805e806e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:606 #16 0x0000000000000000 in ?? () 2nd machine [This is a VPS machine running in the cloud]: % last | grep boot boot time Fri Oct 31 06:33 boot time Thu Oct 30 06:33 boot time Wed Oct 29 06:33 boot time Tue Oct 28 06:33 boot time Mon Oct 27 06:33 boot time Sun Oct 26 06:04 boot time Sat Oct 25 06:33 boot time Fri Oct 24 06:33 boot time Thu Oct 23 06:33 boot time Wed Oct 22 06:33 boot time Tue Oct 21 06:33 boot time Mon Oct 20 06:33 boot time Sun Oct 19 06:32 boot time Sat Oct 18 06:33 boot time Fri Oct 17 06:32 boot time Thu Oct 16 06:33 boot time Wed Oct 15 06:33 boot time Tue Oct 14 06:33 boot time Mon Oct 13 06:33 boot time Sun Oct 12 07:04 boot time Sat Oct 11 07:04 boot time Fri Oct 10 07:04 boot time Thu Oct 9 07:04 boot time Wed Oct 8 07:04 boot time Tue Oct 7 07:04 boot time Mon Oct 6 07:04 boot time Sun Oct 5 07:04 boot time Sat Oct 4 07:04 boot time Fri Oct 3 07:04 boot time Thu Oct 2 07:04 boot time Wed Oct 1 07:04 Copyright (c) 1992-2014 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.3-STABLE #6 r271376: Sun Oct 12 10:25:52 EEST 2014 root@XXXXXXX:/usr/obj/usr/src/sys/arch amd64 FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 CPU: QEMU Virtual CPU version 1.1.2 (2266.76-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x623 Family = 0x6 Model = 0x2 Stepping = 3 Features=0x783fbfd Features2=0x80802001 AMD Features=0x20100800 AMD Features2=0x1 real memory = 536870912 (512 MB) avail memory = 502841344 (479 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: ioapic0: Changing APIC ID to 1 ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 100000000 Hz quality 950 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci_link4: Unable to route IRQs: AE_NOT_FOUND isab0: at device 1.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc0c0-0xc0cf at device 1.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 uhci0: port 0xc080-0xc09f irq 11 at device 1.2 on pci0 usbus0: controller did not stop usbus0 on uhci0 pci0: at device 1.3 (no driver attached) vgapci0: mem 0xfc000000-0xfdffffff,0xfebf0000-0xfebf0fff at device 2.0 on pci0 vgapci0: Boot video device virtio_pci0: port 0xc0a0-0xc0bf irq 11 at device 3.0 on pci0 vtballoon0: on virtio_pci0 virtio_pci0: host features: 0x71000002 virtio_pci0: negotiated features: 0 em0: port 0xc000-0xc03f mem 0xfeba0000-0xfebbffff irq 11 at device 4.0 on pci0 em0: Ethernet address: de:db:ee:d9:35:32 virtio_pci1: port 0xc040-0xc07f mem 0xfebf1000-0xfebf1fff irq 10 at device 5.0 on pci0 vtblk0: on virtio_pci1 virtio_pci1: host features: 0x710006d4 virtio_pci1: negotiated features: 0x10000254 vtblk0: 80000MB (163840000 512 byte sectors) atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 attimer0: at port 0x40 on isa0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 wbwd0: HEFRAS and EFER do not align: EFER 0x2e DevID 0xff DevRev 0xff CR26 0xff Timecounters tick every 10.000 msec ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, logging disabled usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 pass0 at ata1 bus 0 scbus1 target 0 lun 0 pass0: Removable CD-ROM SCSI-0 device pass0: Serial Number QM00003 pass0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) Timecounter "TSC-low" frequency 1133381229 Hz quality 800 uhub0: 2 ports with 2 removable, self powered Root mount waiting for: usbus0 ugen0.2: at usbus0 Trying to mount root from ufs:/dev/vtbd0s1a [ro]... uhid0: on usbus0 tap0: Ethernet address: 00:bd:ae:4b:01:00 tap0: link state changed to UP tap0: link state changed to DOWN tap0: Ethernet address: 00:bd:43:20:06:00 tap0: link state changed to UP Unread portion of the kernel message buffer: interrupt total irq4: uart0 1176 irq14: ata0 2924496 irq15: ata1 1 irq20: hpet0 86588821 irq23: uhci0 ehci0 8813832 irq256: re0 6199647 Total 104527973 panic: watchdog timeout cpuid = 0 Uptime: 23h48m59s Dumping 933 out of 4085 MB: (CTRL-C to abort) ..2%..11%..21%..31%..42%..52%..62%..71%..81%..91% (kgdb) bt #0 doadump (textdump=) at pcpu.h:235 #1 0xffffffff803bfd6f in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:454 #2 0xffffffff803c01b7 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:642 #3 0xffffffff80373e84 in watchdog_fire () at /usr/src/sys/kern/kern_clock.c:898 #4 0xffffffff803741b5 in hardclock_cnt (cnt=, usermode=) at /usr/src/sys/kern/kern_clock.c:570 #5 0xffffffff805bb90c in handleevents (now=0xffffff8000245858, fake=0) at /usr/src/sys/kern/kern_clocksource.c:215 #6 0xffffffff805bc498 in timercb (et=, arg=) at /usr/src/sys/kern/kern_clocksource.c:390 #7 0xffffffff802bb667 in hpet_intr_single (arg=) at /usr/src/sys/dev/acpica/acpi_hpet.c:260 #8 0xffffffff802bb70e in hpet_intr (arg=0xffffff8000648000) at /usr/src/sys/dev/acpica/acpi_hpet.c:278 #9 0xffffffff8039414b in intr_event_handle (ie=0xfffffe0001944a00, frame=0xffffff80002459b0) at /usr/src/sys/kern/kern_intr.c:1446 #10 0xffffffff805eb3d8 in intr_execute_handlers (isrc=0xfffffe0001927ce8, frame=0xffffff80002459b0) at /usr/src/sys/x86/x86/intr_machdep.c:266 #11 0xffffffff805ee78f in lapic_handle_intr (vector=, frame=0x0) at /usr/src/sys/x86/x86/local_apic.c:780 #12 0xffffffff805905d4 in Xapic_isr1 () at apic_vector.S:86 #13 0xffffffff8058cde6 in acpi_cpu_c1 () at /usr/src/sys/amd64/acpica/acpi_machdep.c:95 #14 0xffffffff802b7fda in acpi_cpu_idle () at /usr/src/sys/dev/acpica/acpi_cpu.c:1023 #15 0xffffffff805943c8 in cpu_idle_acpi (busy=0) at /usr/src/sys/amd64/amd64/machdep.c:678 #16 0xffffffff80594482 in cpu_idle (busy=0) at /usr/src/sys/amd64/amd64/machdep.c:805 #17 0xffffffff803e8052 in sched_idletd (dummy=) at /usr/src/sys/kern/sched_ule.c:2609 #18 0xffffffff80391c25 in fork_exit (callout=0xffffffff803e7ea0 , arg=0x0, frame=0xffffff8000245c00) at /usr/src/sys/kern/kern_fork.c:996 #19 0xffffffff8059046e in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:606 #20 0x0000000000000000 in ?? () -- View this message in context: http://freebsd.1045724.n5.nabble.com/Every-day-my-FreeBSD-9-3-machines-reboot-by-watchdog-timeout-tp5960935.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 08:23:12 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 989BE653 for ; Fri, 31 Oct 2014 08:23:12 +0000 (UTC) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E4145BAA for ; Fri, 31 Oct 2014 08:23:11 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id E48DD160B14; Fri, 31 Oct 2014 15:14:09 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-type:content-type:mime-version:message-id:date:date :in-reply-to:subject:subject:from:from:received:received :received; s=selector1; t=1414743249; x=1416557650; bh=ojbo5gp5H Lxu/R2JUjB47Qyh2QHxkx39E5yJek1Lxe4=; b=g95OE2DysY6aOY0HDtM6avXYs WOVlJ/br4Kk5scd74bJyh9mQJ7iimx9WAREqEJG1MO/dFEFRDZ0nToQedLXEeNC7 0YWJFbKeElGiLmg6TLeM9m6CErUwlU9RSIy4TeXXJ9CnpWfkJxBgQaE2/sidmqtl mQbkShGYcs3ou4Pwks= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id XIKd4kJcDPdH; Fri, 31 Oct 2014 15:14:09 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 00A89160B07; Fri, 31 Oct 2014 15:14:08 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.7/8.14.7/Submit) id s9V8EYWF033584; Fri, 31 Oct 2014 15:14:34 +0700 (ICT) (envelope-from on@banyan.cs.ait.ac.th) From: Olivier Nicole To: BBlister Subject: Re: Every day my FreeBSD 9.3 machines reboot by watchdog timeout In-Reply-To: <1414742770032-5960935.post@n5.nabble.com> (message from BBlister on Fri, 31 Oct 2014 01:06:10 -0700 (PDT)) Date: Fri, 31 Oct 2014 15:14:34 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 08:23:12 -0000 > -comment one-by-one every process in the crontab, because this will required > a couple of months debugging. Comment out half of them tonight, and half of the remaining tomorrow night, and so forth; it should take you only 17 days (17^2=289) :) On both machine, the reboot time changed from 7:0x to 6:3x around October 11-12. Did you change something at that date? Good luck, Olivier > > > ==>Any clever way how to spot the bug? > > > > 1st Machine [This is a real physical machine]: > {NOTE: For many days I had disabled crontab and thus the reboot are less in > this month.} > % last | grep boot > boot time Fri Oct 31 06:34 > boot time Thu Oct 30 06:43 > boot time Wed Oct 29 06:34 > boot time Sun Oct 26 06:45 > boot time Sun Oct 19 07:00 > boot time Sat Oct 11 03:35 > boot time Tue Oct 7 07:39 > boot time Mon Oct 6 07:46 > boot time Sun Oct 5 07:40 > boot time Thu Oct 2 07:40 > boot time Wed Oct 1 07:34 > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.3-STABLE #2 r268794: Sat Oct 11 09:59:45 EEST 2014 > root@XXXXXXXX:/usr/obj/usr/src/sys/bigb5 amd64 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > CPU: Intel(R) Core(TM)2 Duo CPU E7600 @ 3.06GHz (3066.70-MHz K8-class > CPU) > Origin = "GenuineIntel" Id = 0x1067a Family = 0x6 Model = 0x17 > Stepping = 10 > > Features=0xbfebfbff > > Features2=0xc08e3bd > AMD Features=0x20100800 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 4103790592 (3913 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, cfde0000 (3) failed > cpu0: on acpi0 > cpu1: on acpi0 > attimer0: port 0x40-0x43 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on > acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 450 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > atrtc0: port 0x70-0x73 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0xc000-0xc07f mem > 0xe6000000-0xe6ffffff,0xd0000000-0xdfffffff,0xe4000000-0xe5ffffff irq 16 at > device 0.0 on pci1 > vgapci0: Boot video device > pci0: at device 27.0 (no driver attached) > pcib2: irq 16 at device 28.0 on pci0 > pci2: on pcib2 > pcib3: irq 19 at device 28.3 on pci0 > pci3: on pcib3 > re0: port > 0xd000-0xd0ff mem 0xe9010000-0xe9010fff,0xe9000000-0xe900ffff irq 19 at > device 0.0 on pci3 > re0: Using 1 MSI-X message > re0: Chip rev. 0x3c000000 > re0: MAC rev. 0x00400000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, > 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, > 1000baseT-FDX-flow-master, auto, auto-flow > re0: Ethernet address: 00:24:1d:71:e4:83 > uhci0: port 0xe000-0xe01f irq 23 > at device 29.0 on pci0 > usbus0 on uhci0 > uhci1: port 0xe100-0xe11f irq 19 > at device 29.1 on pci0 > usbus1 on uhci1 > uhci2: port 0xe200-0xe21f irq 18 > at device 29.2 on pci0 > usbus2 on uhci2 > uhci3: port 0xe300-0xe31f irq 16 > at device 29.3 on pci0 > usbus3 on uhci3 > ehci0: mem 0xe9104000-0xe91043ff > irq 23 at device 29.7 on pci0 > usbus4: EHCI version 1.0 > usbus4 on ehci0 > pcib4: at device 30.0 on pci0 > pci4: on pcib4 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.2 on pci0 > ata0: at channel 0 on atapci0 > ata1: at channel 1 on atapci0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: console (9600,n,8,1) > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > ichwd0 on isa0 > orm0: at iomem 0xc0000-0xcdfff on isa0 > wbwd0: HEFRAS and EFER do not align: EFER 0x2e DevID 0xff DevRev 0xff CR26 > 0xff > acpi_perf0: on cpu0 > coretemp0: on cpu0 > p4tcc0: on cpu0 > coretemp1: on cpu1 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 6164b2106000921 > device_attach: est1 attach returned 6 > p4tcc1: on cpu1 > Timecounters tick every 1.000 msec > vboxdrv: fAsync=0 offMin=0x192 offMax=0x325 > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, > logging disabled > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 12Mbps Full Speed USB v1.0 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > uhub0: 2 ports with 2 removable, self powered > usbus4: 480Mbps High Speed USB v2.0 > ad0: 715403MB at ata0-master UDMA100 SATA > uhub1: 2 ports with 2 removable, self powered > ugen4.1: at usbus4 > uhub4: on usbus4 > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > SMP: AP CPU #1 Launched! > Timecounter "TSC-low" frequency 1533348854 Hz quality 1000 > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > uhub4: 8 ports with 8 removable, self powered > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > ugen4.2: at usbus4 > umass0: on usbus4 > Trying to mount root from ufs:/dev/ad0s1a [ro]... > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-4 device > da0: Serial Number 001478544883AC5107B80394 > da0: 40.000MB/s transfers > da0: 7392MB (15138816 512 byte sectors: 255H 63S/T 942C) > da0: quirks=0x2 > WARNING: / was not properly dismounted > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > cryptosoft0: on motherboard > vboxnet0: Ethernet address: 0a:00:27:00:00:00 > tun0: link state changed to UP > nd6_setmtu0: new link MTU on tun0 (1130) is too small for IPv6 > tap0: Ethernet address: 00:bd:3a:fc:06:00 > tap0: link state changed to UP > vboxnet0: promiscuous mode enabled > > > > > > Unread portion of the kernel message buffer: > interrupt total > irq1: atkbd0 2 > irq11: em0 uhci0+ 4037862 > irq15: ata1 3 > cpu0:timer 8849845 > irq257: virtio_pci1 686513 > Total 13574225 > panic: watchdog timeout > cpuid = 0 > Uptime: 1d1h18m3s > Dumping 107 out of 502 MB:..15%..30%..45%..60%..75%..90% > > (kgdb) bt > #0 doadump (textdump=) at pcpu.h:235 > #1 0xffffffff8041554f in kern_reboot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:454 > #2 0xffffffff80415997 in panic (fmt=) at > /usr/src/sys/kern/kern_shutdown.c:642 > #3 0xffffffff803c96b4 in watchdog_fire () at > /usr/src/sys/kern/kern_clock.c:898 > #4 0xffffffff803c99e5 in hardclock_cnt (cnt=, > usermode=) at /usr/src/sys/kern/kern_clock.c:570 > #5 0xffffffff806297bc in handleevents (now=0xffffff8000231978, fake=0) at > /usr/src/sys/kern/kern_clocksource.c:215 > #6 0xffffffff8062a3b9 in timercb (et=, arg= optimized out>) at /usr/src/sys/kern/kern_clocksource.c:390 > #7 0xffffffff8065c70c in lapic_handle_timer (frame=0xffffff80002319f0) at > /usr/src/sys/x86/x86/local_apic.c:818 > #8 0xffffffff805e868c in Xtimerint () at apic_vector.S:103 > #9 0xffffffff805e49e6 in acpi_cpu_c1 () at > /usr/src/sys/amd64/acpica/acpi_machdep.c:95 > #10 0xffffffff802bce7a in acpi_cpu_idle () at > /usr/src/sys/dev/acpica/acpi_cpu.c:1023 > #11 0xffffffff805ebfc8 in cpu_idle_acpi (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:678 > #12 0xffffffff805ec082 in cpu_idle (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:805 > #13 0xffffffff8043d832 in sched_idletd (dummy=) at > /usr/src/sys/kern/sched_ule.c:2610 > #14 0xffffffff803e7455 in fork_exit (callout=0xffffffff8043d680 > , arg=0x0, frame=0xffffff8000231c40) at > /usr/src/sys/kern/kern_fork.c:996 > #15 0xffffffff805e806e in fork_trampoline () at > /usr/src/sys/amd64/amd64/exception.S:606 > #16 0x0000000000000000 in ?? () > > > > > > 2nd machine [This is a VPS machine running in the cloud]: > > % last | grep boot > boot time Fri Oct 31 06:33 > boot time Thu Oct 30 06:33 > boot time Wed Oct 29 06:33 > boot time Tue Oct 28 06:33 > boot time Mon Oct 27 06:33 > boot time Sun Oct 26 06:04 > boot time Sat Oct 25 06:33 > boot time Fri Oct 24 06:33 > boot time Thu Oct 23 06:33 > boot time Wed Oct 22 06:33 > boot time Tue Oct 21 06:33 > boot time Mon Oct 20 06:33 > boot time Sun Oct 19 06:32 > boot time Sat Oct 18 06:33 > boot time Fri Oct 17 06:32 > boot time Thu Oct 16 06:33 > boot time Wed Oct 15 06:33 > boot time Tue Oct 14 06:33 > boot time Mon Oct 13 06:33 > boot time Sun Oct 12 07:04 > boot time Sat Oct 11 07:04 > boot time Fri Oct 10 07:04 > boot time Thu Oct 9 07:04 > boot time Wed Oct 8 07:04 > boot time Tue Oct 7 07:04 > boot time Mon Oct 6 07:04 > boot time Sun Oct 5 07:04 > boot time Sat Oct 4 07:04 > boot time Fri Oct 3 07:04 > boot time Thu Oct 2 07:04 > boot time Wed Oct 1 07:04 > > > Copyright (c) 1992-2014 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.3-STABLE #6 r271376: Sun Oct 12 10:25:52 EEST 2014 > root@XXXXXXX:/usr/obj/usr/src/sys/arch amd64 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > CPU: QEMU Virtual CPU version 1.1.2 (2266.76-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x623 Family = 0x6 Model = 0x2 Stepping = > 3 > > Features=0x783fbfd > Features2=0x80802001 > AMD Features=0x20100800 > AMD Features2=0x1 > real memory = 536870912 (512 MB) > avail memory = 502841344 (479 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > cpu0: on acpi0 > atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 100000000 Hz quality 950 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci_link4: Unable to route IRQs: AE_NOT_FOUND > isab0: at device 1.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc0c0-0xc0cf at device 1.1 on pci0 > ata0: at channel 0 on atapci0 > ata1: at channel 1 on atapci0 > uhci0: port 0xc080-0xc09f irq 11 at > device 1.2 on pci0 > usbus0: controller did not stop > usbus0 on uhci0 > pci0: at device 1.3 (no driver attached) > vgapci0: mem > 0xfc000000-0xfdffffff,0xfebf0000-0xfebf0fff at device 2.0 on pci0 > vgapci0: Boot video device > virtio_pci0: port 0xc0a0-0xc0bf irq 11 at > device 3.0 on pci0 > vtballoon0: on virtio_pci0 > virtio_pci0: host features: 0x71000002 > > virtio_pci0: negotiated features: 0 > em0: port 0xc000-0xc03f > mem 0xfeba0000-0xfebbffff irq 11 at device 4.0 on pci0 > em0: Ethernet address: de:db:ee:d9:35:32 > virtio_pci1: port 0xc040-0xc07f mem > 0xfebf1000-0xfebf1fff irq 10 at device 5.0 on pci0 > vtblk0: on virtio_pci1 > virtio_pci1: host features: 0x710006d4 > > virtio_pci1: negotiated features: 0x10000254 > > vtblk0: 80000MB (163840000 512 byte sectors) > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > attimer0: at port 0x40 on isa0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > wbwd0: HEFRAS and EFER do not align: EFER 0x2e DevID 0xff DevRev 0xff CR26 > 0xff > Timecounters tick every 10.000 msec > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, > logging disabled > usbus0: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > pass0 at ata1 bus 0 scbus1 target 0 lun 0 > pass0: Removable CD-ROM SCSI-0 device > pass0: Serial Number QM00003 > pass0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) > Timecounter "TSC-low" frequency 1133381229 Hz quality 800 > uhub0: 2 ports with 2 removable, self powered > Root mount waiting for: usbus0 > ugen0.2: at usbus0 > Trying to mount root from ufs:/dev/vtbd0s1a [ro]... > uhid0: on > usbus0 > tap0: Ethernet address: 00:bd:ae:4b:01:00 > tap0: link state changed to UP > tap0: link state changed to DOWN > tap0: Ethernet address: 00:bd:43:20:06:00 > tap0: link state changed to UP > > > > Unread portion of the kernel message buffer: > interrupt total > irq4: uart0 1176 > irq14: ata0 2924496 > irq15: ata1 1 > irq20: hpet0 86588821 > irq23: uhci0 ehci0 8813832 > irq256: re0 6199647 > Total 104527973 > panic: watchdog timeout > cpuid = 0 > Uptime: 23h48m59s > Dumping 933 out of 4085 MB: (CTRL-C to abort) > ..2%..11%..21%..31%..42%..52%..62%..71%..81%..91% > > (kgdb) bt > #0 doadump (textdump=) at pcpu.h:235 > #1 0xffffffff803bfd6f in kern_reboot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:454 > #2 0xffffffff803c01b7 in panic (fmt=) at > /usr/src/sys/kern/kern_shutdown.c:642 > #3 0xffffffff80373e84 in watchdog_fire () at > /usr/src/sys/kern/kern_clock.c:898 > #4 0xffffffff803741b5 in hardclock_cnt (cnt=, > usermode=) at /usr/src/sys/kern/kern_clock.c:570 > #5 0xffffffff805bb90c in handleevents (now=0xffffff8000245858, fake=0) at > /usr/src/sys/kern/kern_clocksource.c:215 > #6 0xffffffff805bc498 in timercb (et=, arg= optimized out>) at /usr/src/sys/kern/kern_clocksource.c:390 > #7 0xffffffff802bb667 in hpet_intr_single (arg=) at > /usr/src/sys/dev/acpica/acpi_hpet.c:260 > #8 0xffffffff802bb70e in hpet_intr (arg=0xffffff8000648000) at > /usr/src/sys/dev/acpica/acpi_hpet.c:278 > #9 0xffffffff8039414b in intr_event_handle (ie=0xfffffe0001944a00, > frame=0xffffff80002459b0) at /usr/src/sys/kern/kern_intr.c:1446 > #10 0xffffffff805eb3d8 in intr_execute_handlers (isrc=0xfffffe0001927ce8, > frame=0xffffff80002459b0) at /usr/src/sys/x86/x86/intr_machdep.c:266 > #11 0xffffffff805ee78f in lapic_handle_intr (vector=, > frame=0x0) at /usr/src/sys/x86/x86/local_apic.c:780 > #12 0xffffffff805905d4 in Xapic_isr1 () at apic_vector.S:86 > #13 0xffffffff8058cde6 in acpi_cpu_c1 () at > /usr/src/sys/amd64/acpica/acpi_machdep.c:95 > #14 0xffffffff802b7fda in acpi_cpu_idle () at > /usr/src/sys/dev/acpica/acpi_cpu.c:1023 > #15 0xffffffff805943c8 in cpu_idle_acpi (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:678 > #16 0xffffffff80594482 in cpu_idle (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:805 > #17 0xffffffff803e8052 in sched_idletd (dummy=) at > /usr/src/sys/kern/sched_ule.c:2609 > #18 0xffffffff80391c25 in fork_exit (callout=0xffffffff803e7ea0 > , arg=0x0, frame=0xffffff8000245c00) at > /usr/src/sys/kern/kern_fork.c:996 > #19 0xffffffff8059046e in fork_trampoline () at > /usr/src/sys/amd64/amd64/exception.S:606 > #20 0x0000000000000000 in ?? () > > > > > -- > View this message in context: http://freebsd.1045724.n5.nabble.com/Every-day-my-FreeBSD-9-3-machines-reboot-by-watchdog-timeout-tp5960935.html > Sent from the freebsd-questions mailing list archive at Nabble.com. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 15:01:17 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EB120355 for ; Fri, 31 Oct 2014 15:01:16 +0000 (UTC) Received: from phlegethon.blisses.org (phlegethon.blisses.org [50.56.97.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CC064C97 for ; Fri, 31 Oct 2014 15:01:16 +0000 (UTC) Received: from blisses.org (cocytus.blisses.org [23.25.209.73]) by phlegethon.blisses.org (Postfix) with ESMTPSA id EA2391F13CF for ; Fri, 31 Oct 2014 11:01:08 -0400 (EDT) Date: Fri, 31 Oct 2014 11:01:07 -0400 From: Mason Loring Bliss To: freebsd-questions@freebsd.org Subject: Whence RC4? Message-ID: <20141031150107.GY17150@blisses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 15:01:17 -0000 I've been watching the update servers eagerly since the day RC4 was to begin building, based on the schedule here: https://www.freebsd.org/releases/10.1R/schedule.html And yet, http://update.freebsd.org/10.1-RC4/ continues not to exist. I haven't found a public releng coordination mailing list or any real explanation of the process. Can someone enlighten me? The article https://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/article.html talks about binary patchkits existing to match releng/x.y branches, but it doesn't describe their creation or how such a process might differ for release candidates. While I'm interested in this, I've also got the secondary goal of exploring how to move back to using binary patches and freebsd-update after having built from source for a while. My home desktop is my test case, and it's currently identifying itself as being 10.1-RC3, built from this at the right time: https://svn0.us-east.freebsd.org/base/releng/10.1 Something I'm not clear on is the possibility of finding a particular point in time along a branch with Subversion, be it a tag or a date. I still think in terms of CVS and that seems not to be valid when applied to SVN. It seems like Subversion has 'svn up -r' to update to a particular revision number, or a rough date specifier to update to "revision at start of the date". How does FreeBSD deal with the lack of CVS-style tags? If one wanted to recreate a 10.1-RC2 build, for instance, is there a sane way to do it, or would it involve grovelling through commit logs for clues? Anyway, my hope is to find the most reasonable way to build something that freebsd-update will accept as a valid place from which to update. If this ends up not actually being possible, I'll unroll tarballs to make my binaries match, but it seems like it should be possible to have a more elegant solution. As a side note, it's unfortunate that freebsd-update.sh doesn't document what the numeric parameters are in its explosion of little shell functions, which would save finding and inspecting invocations. I'm finishing little traces with "Oh, that ends up being a filename, but it's not entirely clear what's supposed to be in the file." For instance, fetch_filter_mergechanges is only called once, so its arguments are always going to be the same filenames, but that's not documented, nor is there a stated convention suggesting that particular numeric parameters always map to specific files. So, we end up with things like this: # For all paths appearing in $1 or $3, inspect the system # and generate $2 describing what is currently installed. fetch_inspect_system () { It's just shy of being a useful comment at the start of the function. Anyway, I mention all this because I was reading through the script to try to ascertain how much it cares about whether or not my checksums all match, since I'm building from source to start, and I got completely sidetracked trying to understand the structure of the thing. It ends up having an explosion of little shell functions, but then in parts it duplicates big hunks of similar functionality for no obvious reason - compare IDS_run, fetch_run, and upgrade_run for an example of this. In short..... Que?!? -- Mason Loring Bliss (( If I have not seen as far as others, it is because mason@blisses.org )) giants were standing on my shoulders. - Hal Abelson From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 15:28:27 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0BA21F6 for ; Fri, 31 Oct 2014 15:28:27 +0000 (UTC) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "webmail2.dweimer.local", Issuer "webmail2.dweimer.local" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DA06AFD0 for ; Fri, 31 Oct 2014 15:28:26 +0000 (UTC) Received: from www.dweimer.net (webmail [192.168.5.2]) by webmail.dweimer.net (8.14.7/8.14.7) with ESMTP id s9VFD6FS058020 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 31 Oct 2014 10:13:07 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 31 Oct 2014 10:13:06 -0500 From: dweimer To: FreeBSD Questions Subject: Unifi3 port Organization: dweimer.net Reply-To: dweimer@dweimer.net Mail-Reply-To: dweimer@dweimer.net Message-ID: <641daafca267f2f21a855abebd4a7c10@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/1.0.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 15:28:27 -0000 I have been running UniFi manually installing it for a while, I just now noticed that there was a port for it, so I decided to give it a try. However I can't get it to successfully start. Despite the fact that it runs fine from my manual installation. After some investigating I have found the source of the problem, but can't figure out a fix. the source appears to stem from running it inside a jail: The mongod instance fails to start after failing to bind to 127.0.0.1, and the socket. 2014-10-31T09:42:50.157-0500 [initandlisten] db version v2.6.5 2014-10-31T09:42:50.157-0500 [initandlisten] git version: nogitversion 2014-10-31T09:42:50.157-0500 [initandlisten] OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 2014-10-31T09:42:50.157-0500 [initandlisten] build info: FreeBSD unifi.dweimer.local 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #1 r271669: Tue Sep 16 11:12:21 CDT 2014 dweimer@freebsd.dweimer.local:/jails/devel/ROOT/usr/obj/jails/devel/ROOT/usr/src/sys/GENERIC amd64 BOOST_LIB_VERSION=1_49 2014-10-31T09:42:50.157-0500 [initandlisten] allocator: system 2014-10-31T09:42:50.157-0500 [initandlisten] options: { net: { bindIp: "127.0.0.1", http: { enabled: false }, port: 27117 }, storage: { dbPath: "/usr/local/share/java/unifi/data/db" }, systemLog: { destination: "file", logAppend: true, path: "logs/mongod.log" } } 2014-10-31T09:42:50.160-0500 [initandlisten] journal dir=/usr/local/share/java/unifi/data/db/journal 2014-10-31T09:42:50.162-0500 [initandlisten] recover : no journal files present, no recovery needed 2014-10-31T09:42:50.352-0500 [initandlisten] ERROR: listen(): bind() failed errno:13 Permission denied for socket: /tmp/mongodb-27117.sock 2014-10-31T09:42:50.358-0500 [initandlisten] now exiting 2014-10-31T09:42:50.358-0500 [initandlisten] dbexit: Oddly enough the java process does try to connect to 10.50.20.5:27117, though there is a delay, I expect it times out first on 127.0.0.1, then the socket before trying this one. When I run it from my manual installation, the mongod service fails to bind to 127.0.0.1, but apparently falls back to the other IPv4 address. 2014-10-31T09:56:59.575-0500 [initandlisten] db version v2.6.5 2014-10-31T09:56:59.575-0500 [initandlisten] git version: nogitversion 2014-10-31T09:56:59.575-0500 [initandlisten] OpenSSL version: OpenSSL 1.0.1j 15 Oct 2014 2014-10-31T09:56:59.575-0500 [initandlisten] build info: FreeBSD unifi.dweimer.local 10.0-RELEASE-p9 FreeBSD 10.0-RELEASE-p9 #1 r271669: Tue Sep 16 11:12:21 CDT 2014 dweimer@freebsd.dweimer.local:/jails/devel/ROOT/usr/obj/jails/devel/ROOT/usr/src/sys/GENERIC amd64 BOOST_LIB_VERSION=1_49 2014-10-31T09:56:59.575-0500 [initandlisten] allocator: system 2014-10-31T09:56:59.575-0500 [initandlisten] options: { net: { bindIp: "127.0.0.1", http: { enabled: false }, port: 27117 }, storage: { dbPath: "/usr/local/unifi/data/db" }, systemLog: { destination: "file", logAppend: true, path: "logs/mongod.log" } } 2014-10-31T09:56:59.708-0500 [initandlisten] journal dir=/usr/local/unifi/data/db/journal 2014-10-31T09:56:59.709-0500 [initandlisten] recover : no journal files present, no recovery needed 2014-10-31T09:57:00.865-0500 [initandlisten] waiting for connections on port 27117 2014-10-31T09:57:00.865-0500 [initandlisten] connection accepted from 10.50.20.2:60829 #1 (1 connection now open) Anyone have any ideas? I tried setting unifi.db.extraargs=--bind_ip 10.50.20.2 In the unifi system.properties file, didn't seem to make a difference. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 16:24:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B02FD47C for ; Fri, 31 Oct 2014 16:24:13 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3612F97F for ; Fri, 31 Oct 2014 16:24:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id s9VGO2Ex053205; Sat, 1 Nov 2014 03:24:02 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 1 Nov 2014 03:24:02 +1100 (EST) From: Ian Smith To: BBlister Subject: Re: Every day my FreeBSD 9.3 machines reboot by watchdog timeout In-Reply-To: Message-ID: <20141101031604.Y52402@sola.nimnet.asn.au> References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 16:24:13 -0000 In freebsd-questions Digest, Vol 543, Issue 5, Message: 8 On Fri, 31 Oct 2014 01:06:10 -0700 (PDT) BBlister wrote: > Greetings, > > I have a very strange problem. I am administering a number of FreeBSD > machines (64bit) with: > > 9.3-STABLE > FreeBSD 9.3-STABLE #2 r268794: Sat Oct 11 09:59:45 EEST 2014 > root@XXXXXXXX:/usr/obj/usr/src/sys/bigb5 amd64 > FreeBSD 9.3-STABLE #6 r271376: Sun Oct 12 10:25:52 EEST 2014 > root@XXXXXXX:/usr/obj/usr/src/sys/arch amd64 You've provided lots of good info, but not to the best list. If running STABLE, you should post this to freebsd-stable@freebsd.org, where lurk not a few people who eat crash dumps for breakfast. Just a suggestion. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 16:41:33 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7A0F3B4E for ; Fri, 31 Oct 2014 16:41:33 +0000 (UTC) Received: from mail-la0-x235.google.com (mail-la0-x235.google.com [IPv6:2a00:1450:4010:c03::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB7F7B9B for ; Fri, 31 Oct 2014 16:41:32 +0000 (UTC) Received: by mail-la0-f53.google.com with SMTP id mc6so6409516lab.40 for ; Fri, 31 Oct 2014 09:41:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=d5qkEgrJ/OQEHuv23wro2vr6XRm3qkvpKqigNH/zV1g=; b=BoRpW2H28eOq+zQ7ak7HJweNs96Dyn/oAyekNgiLy25FiHRG0dxMmytowb6TBa1oQI glSBVu7JwKMSbAVrJtUexwQ1xBKwtVfzXpcL9kgMBvIDMc5BPsIKPMhEDnbxugk4iCBg axk16nA0ZbgJUKnJCbfa8dRqzP8uCGmO2vutDlVWIF7HDKRDTb20LbHn1uMYETk4NcDz OwPF+5xrO+v4hgFzne5B6rlcRvKjVYJ1LGWYLAJqu2kNVpk9I1F1/AmNBE0ZmJVZLTVJ i0bQGBmdxETJbRNfHicXWVJZfbLsGPT1Bkev4G4s9oYiOSRz/afEvtMTgPP8iEmJSzY/ 66wA== MIME-Version: 1.0 X-Received: by 10.152.6.228 with SMTP id e4mr27588784laa.71.1414773689431; Fri, 31 Oct 2014 09:41:29 -0700 (PDT) Received: by 10.25.29.2 with HTTP; Fri, 31 Oct 2014 09:41:29 -0700 (PDT) In-Reply-To: <1414742770032-5960935.post@n5.nabble.com> References: <1414742770032-5960935.post@n5.nabble.com> Date: Fri, 31 Oct 2014 11:41:29 -0500 Message-ID: Subject: Re: Every day my FreeBSD 9.3 machines reboot by watchdog timeout From: Adam Vande More To: BBlister Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 16:41:33 -0000 On Fri, Oct 31, 2014 at 3:06 AM, BBlister wrote: > > Greetings, > > I have a very strange problem. I am administering a number of FreeBSD > machines (64bit) with: > > 9.3-STABLE > > and after the upgrade to 9.3 for the past months until now I have noticed > that every day at approximately > the same time the machines reboot by watchdog timeout. I believe the > problem > lies on an entry on the crontab which is difficult to debug because the > crontab has too many entries [280 lines]. > > All the previous versions of freebsd worked fine (even 9.2) and had uptime > for many months. > After going to 9.3 the problem arose. > > I have made debugging symbols for all the kernels and I have some logs of > it, in case you can help me debug this strange problem. > > The watchdog fires almost every day in the morning (not exactly at the same > minute), as the log files bellow show. Some days they skip the reboot. > > > NOTE: This happens in every FreeBSD server that I have updated to 9-3 even > with different hardware. > If I kill the crontab no reboot will happen (at least for 3 days that I > tried it). > All the servers bear similar crontab. > > The watchdog flags: > watchdogd_flags="-s 30 -t 60 -e /bin/ps" > > > As you know after 3:00 a lot of house cleaning jobs take place and cpu > raises load, but I believe that > the kernel should not reboot in such situations. > > I am reluctant to try: > -disable watchdog, because these servers are required to operate and if > they > go down and do not reboot, some users will be upset > -comment one-by-one every process in the crontab, because this will > required > a couple of months debugging. > > > ==>Any clever way how to spot the bug? > > > > 1st Machine [This is a real physical machine]: > {NOTE: For many days I had disabled crontab and thus the reboot are less in > this month.} > % last | grep boot > boot time Fri Oct 31 06:34 > boot time Thu Oct 30 06:43 > boot time Wed Oct 29 06:34 > boot time Sun Oct 26 06:45 > boot time Sun Oct 19 07:00 > boot time Sat Oct 11 03:35 > boot time Tue Oct 7 07:39 > boot time Mon Oct 6 07:46 > boot time Sun Oct 5 07:40 > boot time Thu Oct 2 07:40 > boot time Wed Oct 1 07:34 > > > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.3-STABLE #2 r268794: Sat Oct 11 09:59:45 EEST 2014 > root@XXXXXXXX:/usr/obj/usr/src/sys/bigb5 amd64 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > CPU: Intel(R) Core(TM)2 Duo CPU E7600 @ 3.06GHz (3066.70-MHz K8-class > CPU) > Origin = "GenuineIntel" Id = 0x1067a Family = 0x6 Model = 0x17 > Stepping = 10 > > > Features=0xbfebfbff > > > Features2=0xc08e3bd > AMD Features=0x20100800 > AMD Features2=0x1 > TSC: P-state invariant, performance statistics > real memory = 4294967296 (4096 MB) > avail memory = 4103790592 (3913 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > FreeBSD/SMP: 1 package(s) x 2 core(s) > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > ioapic0: Changing APIC ID to 2 > ioapic0 irqs 0-23 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, cfde0000 (3) failed > cpu0: on acpi0 > cpu1: on acpi0 > attimer0: port 0x40-0x43 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > hpet0: iomem 0xfed00000-0xfed003ff irq 0,8 on > acpi0 > Timecounter "HPET" frequency 14318180 Hz quality 950 > Event timer "HPET" frequency 14318180 Hz quality 450 > Event timer "HPET1" frequency 14318180 Hz quality 440 > Event timer "HPET2" frequency 14318180 Hz quality 440 > atrtc0: port 0x70-0x73 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pcib1: irq 16 at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0xc000-0xc07f mem > 0xe6000000-0xe6ffffff,0xd0000000-0xdfffffff,0xe4000000-0xe5ffffff irq 16 at > device 0.0 on pci1 > vgapci0: Boot video device > pci0: at device 27.0 (no driver attached) > pcib2: irq 16 at device 28.0 on pci0 > pci2: on pcib2 > pcib3: irq 19 at device 28.3 on pci0 > pci3: on pcib3 > re0: port > 0xd000-0xd0ff mem 0xe9010000-0xe9010fff,0xe9000000-0xe900ffff irq 19 at > device 0.0 on pci3 > re0: Using 1 MSI-X message > re0: Chip rev. 0x3c000000 > re0: MAC rev. 0x00400000 > miibus0: on re0 > rgephy0: PHY 1 on miibus0 > rgephy0: none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, > 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, > 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, > 1000baseT-FDX-flow-master, auto, auto-flow > re0: Ethernet address: 00:24:1d:71:e4:83 > uhci0: port 0xe000-0xe01f irq 23 > at device 29.0 on pci0 > usbus0 on uhci0 > uhci1: port 0xe100-0xe11f irq 19 > at device 29.1 on pci0 > usbus1 on uhci1 > uhci2: port 0xe200-0xe21f irq 18 > at device 29.2 on pci0 > usbus2 on uhci2 > uhci3: port 0xe300-0xe31f irq 16 > at device 29.3 on pci0 > usbus3 on uhci3 > ehci0: mem > 0xe9104000-0xe91043ff > irq 23 at device 29.7 on pci0 > usbus4: EHCI version 1.0 > usbus4 on ehci0 > pcib4: at device 30.0 on pci0 > pci4: on pcib4 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.2 on pci0 > ata0: at channel 0 on atapci0 > ata1: at channel 1 on atapci0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > uart0: console (9600,n,8,1) > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > ichwd0 on isa0 > orm0: at iomem 0xc0000-0xcdfff on isa0 > wbwd0: HEFRAS and EFER do not align: EFER 0x2e DevID 0xff DevRev 0xff CR26 > 0xff > acpi_perf0: on cpu0 > coretemp0: on cpu0 > p4tcc0: on cpu0 > coretemp1: on cpu1 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 6164b2106000921 > device_attach: est1 attach returned 6 > p4tcc1: on cpu1 > Timecounters tick every 1.000 msec > vboxdrv: fAsync=0 offMin=0x192 offMax=0x325 > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, > logging disabled > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > ugen1.1: at usbus1 > uhub1: on usbus1 > usbus2: 12Mbps Full Speed USB v1.0 > usbus3: 12Mbps Full Speed USB v1.0 > ugen2.1: at usbus2 > uhub2: on usbus2 > ugen3.1: at usbus3 > uhub3: on usbus3 > uhub0: 2 ports with 2 removable, self powered > usbus4: 480Mbps High Speed USB v2.0 > ad0: 715403MB at ata0-master UDMA100 SATA > uhub1: 2 ports with 2 removable, self powered > ugen4.1: at usbus4 > uhub4: on usbus4 > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > SMP: AP CPU #1 Launched! > Timecounter "TSC-low" frequency 1533348854 Hz quality 1000 > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > uhub4: 8 ports with 8 removable, self powered > Root mount waiting for: usbus4 > Root mount waiting for: usbus4 > ugen4.2: at usbus4 > umass0: on usbus4 > Trying to mount root from ufs:/dev/ad0s1a [ro]... > da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 > da0: Removable Direct Access SCSI-4 device > da0: Serial Number 001478544883AC5107B80394 > da0: 40.000MB/s transfers > da0: 7392MB (15138816 512 byte sectors: 255H 63S/T 942C) > da0: quirks=0x2 > WARNING: / was not properly dismounted > ZFS filesystem version: 5 > ZFS storage pool version: features support (5000) > cryptosoft0: on motherboard > vboxnet0: Ethernet address: 0a:00:27:00:00:00 > tun0: link state changed to UP > nd6_setmtu0: new link MTU on tun0 (1130) is too small for IPv6 > tap0: Ethernet address: 00:bd:3a:fc:06:00 > tap0: link state changed to UP > vboxnet0: promiscuous mode enabled > > > > > > Unread portion of the kernel message buffer: > interrupt total > irq1: atkbd0 2 > irq11: em0 uhci0+ 4037862 > irq15: ata1 3 > cpu0:timer 8849845 > irq257: virtio_pci1 686513 > Total 13574225 > panic: watchdog timeout > cpuid = 0 > Uptime: 1d1h18m3s > Dumping 107 out of 502 MB:..15%..30%..45%..60%..75%..90% > > (kgdb) bt > #0 doadump (textdump=) at pcpu.h:235 > #1 0xffffffff8041554f in kern_reboot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:454 > #2 0xffffffff80415997 in panic (fmt=) at > /usr/src/sys/kern/kern_shutdown.c:642 > #3 0xffffffff803c96b4 in watchdog_fire () at > /usr/src/sys/kern/kern_clock.c:898 > #4 0xffffffff803c99e5 in hardclock_cnt (cnt=, > usermode=) at /usr/src/sys/kern/kern_clock.c:570 > #5 0xffffffff806297bc in handleevents (now=0xffffff8000231978, fake=0) at > /usr/src/sys/kern/kern_clocksource.c:215 > #6 0xffffffff8062a3b9 in timercb (et=, arg= optimized out>) at /usr/src/sys/kern/kern_clocksource.c:390 > #7 0xffffffff8065c70c in lapic_handle_timer (frame=0xffffff80002319f0) at > /usr/src/sys/x86/x86/local_apic.c:818 > #8 0xffffffff805e868c in Xtimerint () at apic_vector.S:103 > #9 0xffffffff805e49e6 in acpi_cpu_c1 () at > /usr/src/sys/amd64/acpica/acpi_machdep.c:95 > #10 0xffffffff802bce7a in acpi_cpu_idle () at > /usr/src/sys/dev/acpica/acpi_cpu.c:1023 > #11 0xffffffff805ebfc8 in cpu_idle_acpi (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:678 > #12 0xffffffff805ec082 in cpu_idle (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:805 > #13 0xffffffff8043d832 in sched_idletd (dummy=) at > /usr/src/sys/kern/sched_ule.c:2610 > #14 0xffffffff803e7455 in fork_exit (callout=0xffffffff8043d680 > , arg=0x0, frame=0xffffff8000231c40) at > /usr/src/sys/kern/kern_fork.c:996 > #15 0xffffffff805e806e in fork_trampoline () at > /usr/src/sys/amd64/amd64/exception.S:606 > #16 0x0000000000000000 in ?? () > > > > > > 2nd machine [This is a VPS machine running in the cloud]: > > % last | grep boot > boot time Fri Oct 31 06:33 > boot time Thu Oct 30 06:33 > boot time Wed Oct 29 06:33 > boot time Tue Oct 28 06:33 > boot time Mon Oct 27 06:33 > boot time Sun Oct 26 06:04 > boot time Sat Oct 25 06:33 > boot time Fri Oct 24 06:33 > boot time Thu Oct 23 06:33 > boot time Wed Oct 22 06:33 > boot time Tue Oct 21 06:33 > boot time Mon Oct 20 06:33 > boot time Sun Oct 19 06:32 > boot time Sat Oct 18 06:33 > boot time Fri Oct 17 06:32 > boot time Thu Oct 16 06:33 > boot time Wed Oct 15 06:33 > boot time Tue Oct 14 06:33 > boot time Mon Oct 13 06:33 > boot time Sun Oct 12 07:04 > boot time Sat Oct 11 07:04 > boot time Fri Oct 10 07:04 > boot time Thu Oct 9 07:04 > boot time Wed Oct 8 07:04 > boot time Tue Oct 7 07:04 > boot time Mon Oct 6 07:04 > boot time Sun Oct 5 07:04 > boot time Sat Oct 4 07:04 > boot time Fri Oct 3 07:04 > boot time Thu Oct 2 07:04 > boot time Wed Oct 1 07:04 > > > Copyright (c) 1992-2014 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.3-STABLE #6 r271376: Sun Oct 12 10:25:52 EEST 2014 > root@XXXXXXX:/usr/obj/usr/src/sys/arch amd64 > FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512 > CPU: QEMU Virtual CPU version 1.1.2 (2266.76-MHz K8-class CPU) > Origin = "GenuineIntel" Id = 0x623 Family = 0x6 Model = 0x2 Stepping > = > 3 > > > Features=0x783fbfd > Features2=0x80802001 > AMD Features=0x20100800 > AMD Features2=0x1 > real memory = 536870912 (512 MB) > avail memory = 502841344 (479 MB) > Event timer "LAPIC" quality 400 > ACPI APIC Table: > ioapic0: Changing APIC ID to 1 > ioapic0 irqs 0-23 on motherboard > acpi0: on motherboard > acpi0: Power Button (fixed) > cpu0: on acpi0 > atrtc0: port 0x70-0x71,0x72-0x77 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > hpet0: iomem 0xfed00000-0xfed003ff on acpi0 > Timecounter "HPET" frequency 100000000 Hz quality 950 > Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0xb008-0xb00b on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > pci_link4: Unable to route IRQs: AE_NOT_FOUND > isab0: at device 1.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xc0c0-0xc0cf at device 1.1 on pci0 > ata0: at channel 0 on atapci0 > ata1: at channel 1 on atapci0 > uhci0: port 0xc080-0xc09f irq 11 at > device 1.2 on pci0 > usbus0: controller did not stop > usbus0 on uhci0 > pci0: at device 1.3 (no driver attached) > vgapci0: mem > 0xfc000000-0xfdffffff,0xfebf0000-0xfebf0fff at device 2.0 on pci0 > vgapci0: Boot video device > virtio_pci0: port 0xc0a0-0xc0bf irq 11 at > device 3.0 on pci0 > vtballoon0: on virtio_pci0 > virtio_pci0: host features: 0x71000002 > > virtio_pci0: negotiated features: 0 > em0: port 0xc000-0xc03f > mem 0xfeba0000-0xfebbffff irq 11 at device 4.0 on pci0 > em0: Ethernet address: de:db:ee:d9:35:32 > virtio_pci1: port 0xc040-0xc07f mem > 0xfebf1000-0xfebf1fff irq 10 at device 5.0 on pci0 > vtblk0: on virtio_pci1 > virtio_pci1: host features: 0x710006d4 > > > virtio_pci1: negotiated features: 0x10000254 > > vtblk0: 80000MB (163840000 512 byte sectors) > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 > attimer0: at port 0x40 on isa0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > wbwd0: HEFRAS and EFER do not align: EFER 0x2e DevID 0xff DevRev 0xff CR26 > 0xff > Timecounters tick every 10.000 msec > ipfw2 (+ipv6) initialized, divert enabled, nat enabled, default to accept, > logging disabled > usbus0: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on usbus0 > pass0 at ata1 bus 0 scbus1 target 0 lun 0 > pass0: Removable CD-ROM SCSI-0 device > pass0: Serial Number QM00003 > pass0: 16.700MB/s transfers (WDMA2, ATAPI 12bytes, PIO 65534bytes) > Timecounter "TSC-low" frequency 1133381229 Hz quality 800 > uhub0: 2 ports with 2 removable, self powered > Root mount waiting for: usbus0 > ugen0.2: at usbus0 > Trying to mount root from ufs:/dev/vtbd0s1a [ro]... > uhid0: on > usbus0 > tap0: Ethernet address: 00:bd:ae:4b:01:00 > tap0: link state changed to UP > tap0: link state changed to DOWN > tap0: Ethernet address: 00:bd:43:20:06:00 > tap0: link state changed to UP > > > > Unread portion of the kernel message buffer: > interrupt total > irq4: uart0 1176 > irq14: ata0 2924496 > irq15: ata1 1 > irq20: hpet0 86588821 > irq23: uhci0 ehci0 8813832 > irq256: re0 6199647 > Total 104527973 > panic: watchdog timeout > cpuid = 0 > Uptime: 23h48m59s > Dumping 933 out of 4085 MB: (CTRL-C to abort) > ..2%..11%..21%..31%..42%..52%..62%..71%..81%..91% > > (kgdb) bt > #0 doadump (textdump=) at pcpu.h:235 > #1 0xffffffff803bfd6f in kern_reboot (howto=260) at > /usr/src/sys/kern/kern_shutdown.c:454 > #2 0xffffffff803c01b7 in panic (fmt=) at > /usr/src/sys/kern/kern_shutdown.c:642 > #3 0xffffffff80373e84 in watchdog_fire () at > /usr/src/sys/kern/kern_clock.c:898 > #4 0xffffffff803741b5 in hardclock_cnt (cnt=, > usermode=) at /usr/src/sys/kern/kern_clock.c:570 > #5 0xffffffff805bb90c in handleevents (now=0xffffff8000245858, fake=0) at > /usr/src/sys/kern/kern_clocksource.c:215 > #6 0xffffffff805bc498 in timercb (et=, arg= optimized out>) at /usr/src/sys/kern/kern_clocksource.c:390 > #7 0xffffffff802bb667 in hpet_intr_single (arg=) at > /usr/src/sys/dev/acpica/acpi_hpet.c:260 > #8 0xffffffff802bb70e in hpet_intr (arg=0xffffff8000648000) at > /usr/src/sys/dev/acpica/acpi_hpet.c:278 > #9 0xffffffff8039414b in intr_event_handle (ie=0xfffffe0001944a00, > frame=0xffffff80002459b0) at /usr/src/sys/kern/kern_intr.c:1446 > #10 0xffffffff805eb3d8 in intr_execute_handlers (isrc=0xfffffe0001927ce8, > frame=0xffffff80002459b0) at /usr/src/sys/x86/x86/intr_machdep.c:266 > #11 0xffffffff805ee78f in lapic_handle_intr (vector=, > frame=0x0) at /usr/src/sys/x86/x86/local_apic.c:780 > #12 0xffffffff805905d4 in Xapic_isr1 () at apic_vector.S:86 > #13 0xffffffff8058cde6 in acpi_cpu_c1 () at > /usr/src/sys/amd64/acpica/acpi_machdep.c:95 > #14 0xffffffff802b7fda in acpi_cpu_idle () at > /usr/src/sys/dev/acpica/acpi_cpu.c:1023 > #15 0xffffffff805943c8 in cpu_idle_acpi (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:678 > #16 0xffffffff80594482 in cpu_idle (busy=0) at > /usr/src/sys/amd64/amd64/machdep.c:805 > #17 0xffffffff803e8052 in sched_idletd (dummy=) at > /usr/src/sys/kern/sched_ule.c:2609 > #18 0xffffffff80391c25 in fork_exit (callout=0xffffffff803e7ea0 > , arg=0x0, frame=0xffffff8000245c00) at > /usr/src/sys/kern/kern_fork.c:996 > #19 0xffffffff8059046e in fork_trampoline () at > /usr/src/sys/amd64/amd64/exception.S:606 > #20 0x0000000000000000 in ?? () > Should be releatively easy to find this since it's a reproducible error. You can turn up watchdogd logging, view last cron log entries prior to panic, set watchdogd not to panic and just log, and manually run cron entries trying to provoke the issue among other troubleshooting steps. -- Adam From owner-freebsd-questions@FreeBSD.ORG Fri Oct 31 22:15:13 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B65C1FFD for ; Fri, 31 Oct 2014 22:15:13 +0000 (UTC) Received: from luigi.brtsvcs.net (luigi.brtsvcs.net [204.109.60.246]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 97AADBA5 for ; Fri, 31 Oct 2014 22:15:13 +0000 (UTC) Received: from chombo.houseloki.net (c-73-37-112-64.hsd1.or.comcast.net [73.37.112.64]) by luigi.brtsvcs.net (Postfix) with ESMTPSA id 171DD2D4FBF for ; Fri, 31 Oct 2014 22:15:04 -0700 (PDT) Received: from [IPv6:2601:7:2580:674:baca:3aff:fe83:bd29] (unknown [IPv6:2601:7:2580:674:baca:3aff:fe83:bd29]) by chombo.houseloki.net (Postfix) with ESMTPSA id 547AB93F for ; Fri, 31 Oct 2014 15:15:04 -0700 (PDT) Message-ID: <545409E0.9030809@bluerosetech.com> Date: Fri, 31 Oct 2014 15:14:56 -0700 From: Darren Pilgrim User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Root-on-ZFS upgrade question Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2014 22:15:13 -0000 If I have a running FreeBSD 9.x system, can I use 10.0 install media and the by-hand approach outlined in the RootOnZFS wiki page to install 10.0 in parallel to the running 9.x then boot into the new OS? I'm asking if I can do it this way because the current OS is 9-stable and I want to switch over to 10.0-RELEASE stock so I can make use of freebsd-update from official repos going forward. The basic process would be: 1. download and vnode mount 10.0 install media 2. set up the new tank/osroot10 tree 3. chroot and install OS and bootblocks as usual 4. exit chroot, migrate etc things 5. reboot into rescue media and change mountpoints 6. reboot into new OS 7. curse at myself because I forgot that one setting in that one file I touched once years ago and didn't note in the logbook 7a. repeat last step as necessary 7b. promise to self to be more diligent with the admin logbook THIS TIME I SWEAR FUH REALS I don't see anything in the wiki page that would pose a problem. Amazingly, I was smart enough way back when that I installed the current OS into a data subset, not the ZFS root, so I think the only extra step I need is the extra reboot to move the / mount. Am I overlooking anything? From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 01:45:03 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6CB7C2B9; Sat, 1 Nov 2014 01:45:03 +0000 (UTC) Received: from mail-wg0-x22a.google.com (mail-wg0-x22a.google.com [IPv6:2a00:1450:400c:c00::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D5AC95FB; Sat, 1 Nov 2014 01:45:02 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id k14so7652827wgh.29 for ; Fri, 31 Oct 2014 18:45:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=gGt9W6mQXupmvt7rehAh7kpB6tz4JZFIvbwDQnORkjY=; b=uoCVWuG/doxDL1GFh+ROR3CWmpfmocMtz4dU2lR6JgusoT9MhSV5efigxbjnzfi/50 y1Q5idvaoO3bpfl9cmnQWFJzJQqLN/VWOjCFfGFIsl2D1XHKDPw2lT3pya1B90to6m/2 4rtp3rOlsL4rbxNqUCvZ6QkdGJr5lXJXbzGb76h6DALgTvpfr/NeyzMsyZ/qCVpHuQnL eeSfyfAUz5j6kSMMbFaDSrv+x/2zE6mgspqAH55klGqh1dtwC4+wBQ1Cpqyr60BSNOXO KG0+u1bdxZUpRFyLuLrxqPvYkpmKMJo+ZEoyoDCyJiItXcr4onor9xEfMYKOcrFogkWA keFA== MIME-Version: 1.0 X-Received: by 10.180.92.169 with SMTP id cn9mr941183wib.26.1414806300934; Fri, 31 Oct 2014 18:45:00 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Fri, 31 Oct 2014 18:45:00 -0700 (PDT) In-Reply-To: <1414714882.16625.43.camel@ammy.its.adelaide.edu.au> References: <1414622725.16625.22.camel@ammy.its.adelaide.edu.au> <1414714882.16625.43.camel@ammy.its.adelaide.edu.au> Date: Fri, 31 Oct 2014 18:45:00 -0700 X-Google-Sender-Auth: wt5L09asFXwsJCCaBh4kFBtDMPM Message-ID: Subject: Re: Loader vs loader efi ficl incompatibility From: Adrian Chadd To: William Content-Type: text/plain; charset=UTF-8 Cc: Ed Maste , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 01:45:03 -0000 Hi! Is the code anywhere public? If not, would you actually publish it somewhere? I'm glad you're digging into this! It sounds like it's a real pre-requisite to make these laptops useful in FreeBSD. Thanks! -adrian On 30 October 2014 17:21, William wrote: > On Thu, 2014-10-30 at 10:59 -0400, Ed Maste wrote: >> On 29 October 2014 18:45, William wrote: >> > Hi, >> > >> > To get my laptop working (Macbook pro) with freebsd, at boot you need to >> > outb to some memory locations before boot so that graphics works. >> >> Do you happen to have a good reference for the io ports you mention? I >> see them described on a number of Linux forums, but a canonical source >> would be nice. > > So, I should explain. > > In the MacBookPro 15" 8,2, it has two graphics cards. The i915 intel and > a radeon 6770. These are connected to a multiplexer (gmux) and that is > connected to the laptop panel via LVDS. > > When the system boots, the ati card is selected on the gmux, and both > powered on. I wish to preboot change to the i915 then boot the system. > > The reason for doing this preboot is that efifb doesn't support > re-probing the display after a switch. As I say this, I mean that > FreeBSD doesn't currently appear to support gmux switching, I wrote my > own kernel module to do this, so it's very rough and doesn't interact > with efifb at all. > > The obvious reason for the gpu swap and power down of the inactive card > is battery and heat. The radeon idle runs at 60+ degrees, and halves the > battery. > > There is no canonical source that I know of, merely reverse engineering. > If you want the details of the specific addresses I can provide these, > as each one of those 4 has a unique function in the gmux. > > >> >> > Are there differences in the ficl interpreter between loader and >> > loader.efi? Is this perhaps a bug? >> >> The loader only includes inb and outb for i386 (the non-UEFI loader is >> 32-bit for both i386 and amd64): >> >> #ifdef __i386__ >> dictAppendWord(dp, "outb", ficlOutb, FW_DEFAULT); >> dictAppendWord(dp, "inb", ficlInb, FW_DEFAULT); >> #endif >> >> We'd need to make these available in the 64-bit loader.efi, although > > Removing the ifdef would be enough to make this work for my own personal > use? Or would there be unintended consequences. > >> I'd really like to have MBP support be handled automatically in the >> loader itself. >> _______________________________________________ > > Each Mac revision slightly tweaks the gmux, which makes it harder to > support. IIRC the linux kernel apple-gmux implementation has this > working. > > The correct way to do this really would be early in loader before the > display is setup, change to the intel, and reinit the framebuffer. This > relies on Mac hardware detection, the programmatic gmux base address > detection, and loader being able to completely reinit the frame buffer > in efi. Alternately, you do it just after loader, but just before the > freebsd kernel runs so that you don't worry about the screen going black > before the efifb gets reinitialised. > > Then freebsd itself needs a graphics swapping kernel module. You need to > be able to carry out a swap, do an LVDS reprobe, and redraw the fb / > display. radeon supports this, i915 does not (It's been broken in linux > for years and no developers are willing to look at it). For tty with > KMS/DRM which does not use these drivers, you likely could just do some > handling in efifb. > > All in all, it would be far more than just a quick "loader" fix imo, and > for my specific use case I just need the intel gpu working. I'm quite > happy to just drop the outb commands into boot.4th. I'd love to see the > fix be done "properly" for all, but I don't have the knowledge to do it, > the time etc. I'd be happy some of the work into the loader components > for this, but I don't know enough about KMS/DRM to fix those components. > > Finally, I want to ask if hardware-specific detection should go into > loader? I'm not 100% familiar with this architecture and if this very > targeted hardware manipulation should go in it. > > -- > William > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 01:52:22 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 355203FA for ; Sat, 1 Nov 2014 01:52:22 +0000 (UTC) Received: from resqmta-po-12v.sys.comcast.net (resqmta-po-12v.sys.comcast.net [IPv6:2001:558:fe16:19:96:114:154:171]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 09A126D8 for ; Sat, 1 Nov 2014 01:52:21 +0000 (UTC) Received: from resomta-po-04v.sys.comcast.net ([96.114.154.228]) by resqmta-po-12v.sys.comcast.net with comcast id A1sB1p0014vw8ds011sLe5; Sat, 01 Nov 2014 01:52:20 +0000 Received: from CurlySr.dbis.net ([50.183.226.175]) by resomta-po-04v.sys.comcast.net with comcast id A1sK1p0033nhSLa011sK6c; Sat, 01 Nov 2014 01:52:20 +0000 Message-ID: <54543CD3.7060108@comcast.net> Date: Fri, 31 Oct 2014 19:52:19 -0600 From: Dave Babb User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: User Questions Subject: VNC Question DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1414806740; bh=YJWeboP3TIo9+DWIBsqf7aS8juvsVIJHFaM1TE3S7cE=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=JqqhOGzKmL2LPKNfpMOOM6rkaEQl4s7IhxSfSZlVBMlkdczfPcZh01UY7Kww3EM8I kVXe92on+zguXMPbYOD/IclgDcsBeyGj5unChcyr+lsGewNUMX9uvT1gYj8aOBk9Va 2rNvk1IZr+dhNK07UDAcsYFJbQrTHEucNh7U3BdU9Djut5SAT+e1L0zl1epRGt3EnI X9CYXruLww6A1PrVn/hUcJFBNL8e6FPxdUMxdk1rsnOdzScIKeQ7T2+K0q61xPI0FR /Y789LWII99Y8+/NzzCPiVMaqndjsTc464BCrg8VUARXAm4tun+SljkTozZBFzabRN HRX94vBX5P2kg== Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 01:52:22 -0000 FreeBSD 10.0 Release x64. On a server I sat a few years ago, I remember being able to configure TIgerVNC to automatically map a users desktop once that user has logged in, instead of requiring the user to use ssh, fire vncserver, then connect with vnc. This new server has TightVNC on it.. I have modified the various user's ".vnc/xstartup" file....and I can log in after I ssh and start the vnc server..... However, I would like to specify some global settings in the /etc/tightvncserver.conf file. Unfortunately the man page has nothing on it. The TightVNC website has no docs on it...seems thay are now a Windows package. Google and Yahoo searches aren't turning up specifics about this file and how to use it. Neither does the man pagees. Question #1: Am I using the wrong VNC platform for what I am trying to do? If so, is it TigerVNC the goto or something else? Question #2: Can someone please point me to a resource so I can read about how to use the /etc/tightvncserver.conf file? If the answer is to use TigerVNC....I have already found the documentation I need. I am preferring TightVNC because all the FreeBSD docs I have read so far prefer it over TigerVNC...But I don't care which I use...... Help would be appreciated. Sincerely and respectfully, Dave From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 05:56:10 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0B8EC804 for ; Sat, 1 Nov 2014 05:56:10 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53AB5934 for ; Sat, 1 Nov 2014 05:56:08 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id sA15u5jB082849; Sat, 1 Nov 2014 16:56:06 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 1 Nov 2014 16:56:05 +1100 (EST) From: Ian Smith To: Gerhard Schmidt Subject: Re: ipfw and carp problems In-Reply-To: <20141029202942.I74058@sola.nimnet.asn.au> Message-ID: <20141101164746.V52402@sola.nimnet.asn.au> References: <20141029202942.I74058@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 05:56:10 -0000 On Wed, 29 Oct 2014 20:55:16 +1100, Ian Smith wrote: > In freebsd-questions Digest, Vol 543, Issue 2, Message: 1 > On Mon, 27 Oct 2014 15:16:33 +0100 Gerhard Schmidt wrote: > > Hi, > > > > I have a small problem with ipfw an carp. > > > > i have two server with two carp ips and a firewall via ipfw. > > > > the problem is tha ipfw via modul is default to deny. So when the carp > > interfaces are initialized ipfw has no custom rules. Everything is > > denied, even the carp packets. So every time I reboot one of the hosts > > it comes up as master and after the firewall rules are initialized one > > of the servers is demoted to backup, which one seams to be random. > > > > My problem is that my setup need a new server do come up as backup > > because is has to replicate the data from the running server before > > being able to act as master. There could be data loss if a newly booted > > server named master without prior replicating the data. > > > > Is there a way to ensure that the firewall rules are up before the carp > > interfaces are initialized or to load the ipfw module with default to > > accept. > > The canonical way was to build a custom kernel with ipfw included as per > http://www.freebsd.org/doc/handbook/firewalls-ipfw.html including > 'options IPFIREWALL_DEFAULT_TO_ACCEPT' .. however you can accomplish > this with a GENERIC (or other) kernel by adding to /boot/loader.conf: > > ipfw_load="YES" # to load the ipfw module early > > and adding to /etc/sysctl.conf > > net.inet.ip.fw.enable=0 > net.inet6.ip6.fw.enable=0 # if using ipv6 > > /etc/rc.d/sysctl is run early (on 9.3, first) before other rc.d > scripts including netif and later ipfw, which will then only enable the > firewall after having loaded your ruleset. > > I just tested this over ssh to a 9.3 GENERIC box not running ipfw: > > root@x200:~/bin # kldload ipfw && sysctl net.inet.ip.fw.enable=0 \ > && sysctl net.inet6.ip6.fw.enable=0 > net.inet.ip.fw.enable: 1 -> 0 > net.inet6.ip6.fw.enable: 1 -> 0 > root@x200:~/bin # ipfw show > 65535 0 0 deny ip from any to any > > which would have locked me out had it not worked :) > > Of course you must accept that there is a vulnerable window between > starting net interfaces (netif) and starting ipfw, however miniscule. Excuse replying to my own message, but I've since discovered that you could also add 'net.inet.ip.fw.default_to_accept=1' to loader.conf as an alternative. I hadn't twigged that this one is a loader tunable, unlike the sysctls mentioned above, and so can be set before ipfw.ko is loaded, ie before the net.inet.ip[6].fw OIDs even exist. Please let the list know if either of these methods solve your issue? cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 10:25:20 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FEB616B for ; Sat, 1 Nov 2014 10:25:20 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id A07EF38D for ; Sat, 1 Nov 2014 10:25:19 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id sA1APBMF020234 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 1 Nov 2014 10:25:12 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sA1APBMF020234 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1414837512; bh=bHcAHwpdMI+91I+FGZMrFpbs6L7yEP4pt2eKdMLteJc=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Sat,=2001=20Nov=202014=2010:25:04=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20Root-on-ZFS=20upgrade=20question| References:=20<545409E0.9030809@bluerosetech.com>|In-Reply-To:=20< 545409E0.9030809@bluerosetech.com>; b=RReExs2D9Ukmz86hVTC/Vnl8mxXCslW3+Rk+wRYq6kKXt9C9mffw3OeGza7pCs6uN VryPLgMF7iMqbvOivrNVcoWm12WN+jyhCo9RUPYIj5EF5hD3d0EuGEJkHxjfEDWJO/ +ftWyQmbotIiG3lPf6SPXSSjZRmOCUoMWyMhvDCs= Message-ID: <5454B500.5030501@infracaninophile.co.uk> Date: Sat, 01 Nov 2014 10:25:04 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Root-on-ZFS upgrade question References: <545409E0.9030809@bluerosetech.com> In-Reply-To: <545409E0.9030809@bluerosetech.com> OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="RRWa3jtE7M5iLblKRaSC2JB7MwM7BO8LR" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 10:25:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --RRWa3jtE7M5iLblKRaSC2JB7MwM7BO8LR Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 31/10/2014 22:14, Darren Pilgrim wrote: > If I have a running FreeBSD 9.x system, can I use 10.0 install media an= d > the by-hand approach outlined in the RootOnZFS wiki page to install 10.= 0 > in parallel to the running 9.x then boot into the new OS? I'm asking i= f > I can do it this way because the current OS is 9-stable and I want to > switch over to 10.0-RELEASE stock so I can make use of freebsd-update > from official repos going forward. The basic process would be: >=20 > 1. download and vnode mount 10.0 install media > 2. set up the new tank/osroot10 tree > 3. chroot and install OS and bootblocks as usual > 4. exit chroot, migrate etc things > 5. reboot into rescue media and change mountpoints > 6. reboot into new OS > 7. curse at myself because I forgot that one setting in that one file I= > touched once years ago and didn't note in the logbook > 7a. repeat last step as necessary > 7b. promise to self to be more diligent with the admin logbook THIS TIM= E > I SWEAR FUH REALS >=20 > I don't see anything in the wiki page that would pose a problem. > Amazingly, I was smart enough way back when that I installed the curren= t > OS into a data subset, not the ZFS root, so I think the only extra step= > I need is the extra reboot to move the / mount. >=20 > Am I overlooking anything? You've a 9.x system already running on ZFS? Than, yes, you're overlooking a very big thing. Boot environments. If your 9.x setup is not already setup for boot environments, then it's not too had to convert it. Essentially it is a matter of creating a zpool/ROOT zfs heirarchy and moving the zfses that contain your system to something like zpool/ROOT/9.2-RELEASE -- you need to be careful of the mountpoint and canmount properties while doing that, but by liberal application of commands like 'zfs rename -u zroot/foo zroot/ROOT/9.2-RELEASE/foo' (note the -u flag) it should even be possible to do with the system still running. Once you've got everything laid out in a BE friendly way, install sysutils/beadm. 'beadm list' should show your existing system. But now you can do something like this: # beadm create 10.1-RELEASE # beadm mount 10.1-RELEASE /mnt # mount -t devfs devfs /mnt/dev # chroot /mnt So now you're in a copy of you existing system -- it's a ZFS clone so avoids unnecessary duplication of disk blocks and is generally space efficient. If your original system had been maintained via freebsd-update(8) you could just use that to upgrade to 10.1-RELEASE in place -- when it tells you to reboot, just run freebsd-update again. Given you haven't been using freebsd-update(8), you can use the bit of the RootOnZFS instructions about extracting the contents of the OS from the install media to overwrite what's in your new boot environment. However, this will scribble all over your local settings in /etc -- but never fear, you still have a copy in your original system that you can recover everything from. You can also upgrade all your installed packages etc. Once everything is prepared, type 'exit' to get back to your main system, and: # umount /mnt/dev # beadm umount 10.1-RELEASE # beadm activate 10.1-RELEASE and reboot. Et voil=C3=A0 one system running 10.1. If there's any probl= em, you can revert to your 9.x system just by 'beadm activate 9.2-RELEASE' and rebooting. It's possible to switch to a different boot environment from the loader prompt, or by booting from the install media should you need to -- this is something that they want to add support for to the boot menu screens but that hasn't happened yet, so the process is a bit user unfriendly right now. For more detail, see this thread on the forums: https://forums.freebsd.org/threads/howto-freebsd-zfs-madness.31662/ It's quite a long thread, but it bears reading through it, as there's lots of good stuff there. Note: when using this scheme it is important *not* to apply any zpool or zfs updates until you are sure that you will never need to boot into one of your older boot environments again. You only ever need to update boot blocks when you upgrade zfs or zpool versions, so avoid that too until you're ready to commit to the latest versions. (I can't remember if there are any updates like that for the 9.x -> 10.1 upgrade though. Maybe. Maybe not.) Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --RRWa3jtE7M5iLblKRaSC2JB7MwM7BO8LR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUVLUHXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATKX4P/0uZG91sZ5zJ+kGFKBadepni QXG1/XlLQHEAnoBsYkrvyOUeCf8vox0xUxFGpAshpcsQax31hsyWjY0oTcRS+eHr 20xK4Rp3Ctuk4OVR1eautcL3LfFiYpBaY76nutlNgbgtgC5vn4gFiCv1Izz6Z6bi Jgi+hlmZWiYyYS2GroR9sFo3F77dxYj6hIR1/y6HJtDxotG6YwS2KqgbUlZoW/g3 CWhqZgvD20be81/uO3/eY0ULjhfEiro3GHRUM+9rN8aTTvVAUOJfpFPHH8/Sresr N87iR3OBC69Vh6JEBy3P8XtftffzZR1A1EANeha5Ux+yvwtcF736k31mJu+wcSWR YEZTPHDQR2c92DftRQN0mTPpzDux+U60Yaa3JjKfwUSvfvlePsAuMYD1IwM5etcC u1JFCeTx3XeBBGyARMy8KNpPGJwvx92MKQ0CC8AAJtMei6lOXPTeY2l11z0cNsxQ d/1scT1C0y4A6uorqlExYUNdMm8xFbQ/Vfra3YwsVQ5nqynjWUYjdQSAFSRVhCLE fzaMPmWD2hYtD1l/UoJ8UOvDM6Y66oDB6gNas3URzgPzGDcYQdqSoyOETtydnb/L 0SbDwqzyPXWgM/F2rkenC9BrqdBUXojsCWChZ3jdqm1I58JlMIc8tssPRSbXh+md /PJCjQVt+8R4q6m/Ml/+ =bt4E -----END PGP SIGNATURE----- --RRWa3jtE7M5iLblKRaSC2JB7MwM7BO8LR-- From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 12:10:25 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03965204 for ; Sat, 1 Nov 2014 12:10:25 +0000 (UTC) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BAC4CE63 for ; Sat, 1 Nov 2014 12:10:24 +0000 (UTC) Received: from r56.edvax.de (port-92-195-145-127.dynamic.qsc.de [92.195.145.127]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id D11623CD90; Sat, 1 Nov 2014 13:10:15 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id sA1CAE6k001866; Sat, 1 Nov 2014 13:10:14 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 1 Nov 2014 13:10:14 +0100 From: Polytropon To: Dave Babb Subject: Re: VNC Question Message-Id: <20141101131014.f0745c04.freebsd@edvax.de> In-Reply-To: <54543CD3.7060108@comcast.net> References: <54543CD3.7060108@comcast.net> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 12:10:25 -0000 On Fri, 31 Oct 2014 19:52:19 -0600, Dave Babb wrote: > Question #2: Can someone please point me to a resource so I can read > about how to use the /etc/tightvncserver.conf file? On FreeBSD, /etc is reserved for OS configuration files. The equivalent /usr/local/etc is to be used for installed packages, because they reside in the /usr/local subtree which "mimics" the OS-level structures (subdirectories like bin/, doc/, share/, include/, lib/, also etc/, and so on). So per conclusion, /usr/local/etc/tightvncserver.conf would be worth a try. But of course it depends on _if_ the pro- grammer implemented that accordingly... You could, for examination purposes, run "truss" with the binary and grep for which files it opens for reading, to see where a possible global configuration file could be expected. However, those are details that should be part of the documentation, preferred in "man" format. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 22:35:34 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0C2E7A24 for ; Sat, 1 Nov 2014 22:35:34 +0000 (UTC) Received: from avasout08.plus.net (avasout08.plus.net [212.159.14.20]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "Bizanga Labs SMTP Client Certificate", Issuer "Bizanga Labs CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 62D4AE6B for ; Sat, 1 Nov 2014 22:35:32 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout08 with smtp id ANbN1p002516WCc01NbPDP; Sat, 01 Nov 2014 22:35:23 +0000 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=XuZ0OD19 c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=GIpPufGBusUA:10 a=8nJEP1OIZ-IA:10 a=SDPOm_EyW2g6QYvAOlkA:9 a=wPNLvfGTeEIA:10 Received: from sedbergh.lan ([192.168.1.13] helo=curlew.lan) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XkhGT-00037M-AZ for freebsd-questions@freebsd.org; Sat, 01 Nov 2014 22:35:22 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sat, 01 Nov 2014 22:35:20 +0000 Message-ID: <4424214.PdRTGivWqz@curlew.lan> User-Agent: KMail/4.14.2 (FreeBSD/10.1-RC1-p1; KDE/4.14.2; amd64; ; ) In-Reply-To: <5454B500.5030501@infracaninophile.co.uk> References: <545409E0.9030809@bluerosetech.com> <5454B500.5030501@infracaninophile.co.uk> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: Root-on-ZFS upgrade question Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 22:35:34 -0000 On Saturday 01 Nov 2014 10:25:04 Matthew Seaman wrote: > If your original system had been maintained via freebsd-update(8) > you could just use that to upgrade to 10.1-RELEASE in place -- when > it tells you to reboot, just run freebsd-update again. I think the second run of freebsd-update needs to be applied after booting into the new environment so do it after the beadm activate step. An alternative approach is to activate the new environment immediately after creating it and then reboot and upgrade the new environment to rev. 10 in the "conventional" way. The chroot approach means that you can sort out upgrading the OS and reinstalling all the ports at leisure without disrupting your working system until you're ready for the final switch over. I normally use this approach for major port upgrades and dot level system upgrades within the same release level but I had problems with upgrading from 9.1 to 10.0 due, I assune, to incompatibilities between the 10.0 applications and the running 9.1 kernel. If you want to keep the option of reverting to your 9.x system after the upgrade then you need to make sure that all OS release level dependant directories like most of /usr and /usr/local are contained in the boot environment. On the other hand you can save disk space and download time by placing /usr/ports/distfiles outside of the boot environment. You will probably also want to keep /var/log, /var/mail and application databases, e.g. /var/db/mysql, outside of the boot environment. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sat Nov 1 23:59:07 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10C3D77D for ; Sat, 1 Nov 2014 23:59:07 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B8F458A3 for ; Sat, 1 Nov 2014 23:59:06 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-19-46.adsl.hiwaay.net [216.180.19.46]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id sA1NwDiQ003277 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Sat, 1 Nov 2014 18:58:14 -0500 Message-ID: <5455750D.9000406@hiwaay.net> Date: Sat, 01 Nov 2014 19:04:29 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: "FreeBSD Questions !!!!" Subject: Minor rpc question .... Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Nov 2014 23:59:07 -0000 .... I have ruptime installed & running on my LAN boxen. When I query from various boxen, such as an Intel Q6600 based server, I see: [wam@Q6600, ~, 6:59:57pm] 1173 % ruptime INDIGO down ??:?? Opty165A down 976+08:10 Q6600 up 298+09:30, 6 users, load 0.13, 0.07, 0.06 V8 down ??:?? athloncube up 44+22:38, 4 users, load 0.08, 0.03, 0.05 centos-5 up 41+09:48, 3 users, load 0.03, 0.04, 0.01 kabini1 up 0:25, 1 user, load 0.02, 0.21, 0.26 opty165a up 298+09:30, 0 users, load 0.00, 0.00, 0.00 [wam@Q6600, ~, DING!] 1174 % However, when I query from this box, I see: [wam@kabini1, ~, 6:44:52pm] 297 % ruptime kabini1 up 0:25, 1 user, load 0.02, 0.21, 0.26 [wam@kabini1, ~, DING!] 298 % i.e. only this box shows up. I expect to see at least other still-running boxen listed, maybe not defunct (such as V8 & INDIGO) .... Config issue ? Bug ? Pilot error ? Please advise .... BTW: [root@kabini1, /etc, 6:51:24pm] 323 % uname -a FreeBSD kabini1.local 9.3-RELEASE-p3 FreeBSD 9.3-RELEASE-p3 #0: Mon Oct 20 15:08:33 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 [root@kabini1, /etc, 7:04:07pm] 324 % -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr.