From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 01:19:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DEE1106566B for ; Sun, 15 Nov 2009 01:19:32 +0000 (UTC) (envelope-from arab@tangerine-army.co.uk) Received: from smtp-out4.blueyonder.co.uk (smtp-out4.blueyonder.co.uk [195.188.213.7]) by mx1.freebsd.org (Postfix) with ESMTP id 247F08FC14 for ; Sun, 15 Nov 2009 01:19:31 +0000 (UTC) Received: from [172.23.170.145] (helo=anti-virus03-08) by smtp-out4.blueyonder.co.uk with smtp (Exim 4.52) id 1N9Tm6-0003fY-KV for freebsd-questions@freebsd.org; Sun, 15 Nov 2009 01:19:30 +0000 Received: from [94.168.156.45] (helo=Mercury.galaxy.lan.lcl) by asmtp-out5.blueyonder.co.uk with esmtp (Exim 4.52) id 1N9Tm6-0001FB-7E for freebsd-questions@freebsd.org; Sun, 15 Nov 2009 01:19:30 +0000 Date: Sun, 15 Nov 2009 01:19:29 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Message-ID: <01FB8F39BAD0BD49A6D0DA8F7897392904F747@Mercury.galaxy.lan.lcl> Content-class: urn:content-classes:message In-Reply-To: X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS disk replacement questions Thread-Index: AcpdMA6AcizAviYGSJaJzvYhGz212gIX5WYg References: <4AF07493.7050208@comcast.net><4AF08A42.9000900@comcast.net> From: "Graeme Dargie" To: "FreeBSD Questions" Subject: RE: ZFS disk replacement questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 01:19:32 -0000 -----Original Message----- From: krad [mailto:kraduk@googlemail.com]=20 Sent: 04 November 2009 09:19 To: Steve Polyack Cc: Derrick Ryalls; FreeBSD Questions Subject: Re: ZFS disk replacement questions 2009/11/3 Steve Polyack > Derrick Ryalls wrote: > >> On Tue, Nov 3, 2009 at 10:21 AM, Steve Polyack >> wrote: >> >> >>> Derrick Ryalls wrote: >>> >>> >>>> 1) In the event of a disk failure, how do I trace back the name such >>>> as adX to a physical drive in the enclosure? Is there a way to take >>>> the drive offline then use atacontrol to spin it down or something so >>>> it is easy to identify? >>>> >>>> >>>> >>> In my opinion you are best off using glabel(8) to give names to the >>> disks. >>> This way you can name them in a way that makes sense to you. >>> Additionally, >>> when you create the ZFS pool you will use the glabel'd names. This means >>> that the pool will still come up properly if something causes your >>> devices >>> to be numbered differently (i.e. a drive dies and you happen to reboot >>> the >>> system). >>> >>> >> >> I believe ZFS does this automatically. Supposedly, if you take a >> working set of RAIDZ drives from one machine and put it in another, >> ZFS will figure out the drives since they get labelled by ZFS >> internally. My question concerns how to identify the physical disk in >> question based on the adX or glabel name? Different name in software >> is fine, but if the drive fails I want to make sure I pull the correct >> drive. >> >> >> > This is possible, but I don't remember reading that ZFS handles this > anywhere, and I've seen glabel(8) recommended elsewhere for the same reason. > > Either way, you can add your drives one-by-one and label them on the > enclosure "arraydrive00" and then glabel the individual disks with the same > name. This way when ZFS tells you "arraydrive03" is dead/offline, you can > look at your enclosure and pull the drive with the arraydrive03 label. > > Depending on your controller it is also probably worth it to use one of >>> the >>> SATA-specific drivers in FreeBSD 8 - these are ones like ahci(4) and >>> siis(4). While the generic ata(4) driver will work for pretty much >>> everything, the updated AHCI drivers can take advantage of some more >>> features. Enable the modules at boot to use them. >>> >>> >> >> I will look into it, thanks. The machine in question is 2 year old >> hardware currently with a 3ware raid card. I will be going software >> raid only, but FreeBSD already recognizes the eSATA drive I have >> attached as a backup device so I know the O/S can at least talk to >> sata drives attached to the mobo. >> >> >> > > _______________________________________________ > 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" > One thing to note about resilvering; unlike most raid systems zfs knows what is going on at the filesystem level as well as block level. Therefore when a drive has to be resilvered, only the data on the drive is rebuilt rather than every block as with most other raid subsystems. eg if you have a 1TB hd but only have 20 Gig of data, only 20 gig is copied/rebuilt rather than 1 TB of data if you were using gvinum/gmirror. This massively speeds up rebuild times and stress on the other drives. However the fuller the drive the less the benefits _______________________________________________ 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" Hi All Sorry to jump in on someone else's question / answer but I have a related query. I notice the previous answer mentioned specific achi(4) driver and Freebsd 8.0 are these available in 7.2 ? Will the achi(4) driver work happily along side the ata driver. I just replaced every drive in my raidz array the dirty way as I could not see away to make the replacement drive show up without doing a reboot, would the achi(4) driver allow me to hot swap the disks in the future ? Regards Graeme From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 02:23:31 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA5111065730 for ; Sun, 15 Nov 2009 02:23:31 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 32BAE8FC17 for ; Sun, 15 Nov 2009 02:23:30 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so1358365eyd.9 for ; Sat, 14 Nov 2009 18:23:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:cc:content-type; bh=davG/HMeBvLsNpVEG1/E0rmuPtgFP+1opPQQCn9h7bg=; b=YqEILa0B14BZpwV9SAHzs2hkjSz0xm7eoXt7dPBmZVeZB6EI6/CM1J5P8DCboBlvdT Te0huII9IE/FbTl/BSh74lsinByIg1DOzw+BDs/rQ2e4aCzxVspIocAfT1qR5a8Bql2d JLpkgJ4Mbc5xJmCLD1xG0Z6O/y+EuMFdgOPx0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=aaPb/jCN12oOungRsAzutwcxtt00gHepvUgsUaT7SSEps80mmFSoe0ufu6givQZmak U8i3l+aQFhFdXimE80zjkuwdZrY7AHFLIPIUEpr2sRPxUp1rna2CokngtyeYAWouwAQW YscwDhpEZrDyXOOqgvR1moQJZjYuGOj+8v+wk= MIME-Version: 1.0 Received: by 10.216.86.139 with SMTP id w11mr2016977wee.10.1258251810062; Sat, 14 Nov 2009 18:23:30 -0800 (PST) Date: Sun, 15 Nov 2009 02:23:30 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: christopher-ml@telting.org Subject: Re: Produce identical packages for checksum comparison? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 02:23:31 -0000 Chris wrote: >I'm also thinking of building a simple checksum database to track what actually changes >and what my options were when I compiled it. It would allow me to better make >regression decisions. I could also be free to delete packages and know if I recompile >it later that it was the exact same package with the exact same options. Very simple >script to do that. Also if say there was an option when compiling ports to produce files >with specific time/dates it would be helpful in pinpointing which of my port branches >a specific file came from. The elusive "reproducible build". Many people are interested in doing this, and it's not as easy as it seems. Even if you edited your filesystem or archives to change the timestamps of package files, the toolchain used to create the binary files in packages often injects random seeds, timestamps, file paths, uid/gid information, etc. that creates differences from one build to the next. You may have to hack several base system utilities, and then directly compare the checksums of binaries in archives after unpacking, or use a more intelligent comparison. See, for instance, one Japanese developer's attempt to do this in NetBSD in order to create better quality control for a commercial product: http://mail-index.netbsd.org/tech-toolchain/2009/02/17/msg000577.html Your description of your system's problems sounds bad. I think you should concentrate on fixing those first. b. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 02:30:06 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21BD41065676 for ; Sun, 15 Nov 2009 02:30:06 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id F3F618FC23 for ; Sun, 15 Nov 2009 02:30:05 +0000 (UTC) Received: from [172.16.44.14] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id D0B662693D; Sat, 14 Nov 2009 21:31:45 -0500 (EST) Message-ID: <4AFF67A7.6040109@cyberleo.net> Date: Sat, 14 Nov 2009 20:29:59 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.23 (X11/20091109) MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: CyberLeo Subject: [FreeBSD Questions] Filesystem image as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 02:30:06 -0000 I have been thinking and experimenting for weeks, but I cannot figure this out. I have an Intel SS4200 NAS that I wish to use as a ZFS NAS with FreeBSD 8.0. The device has 4 SATA bays, and I don't want to use one for a UFS root disk. I don't want to use up hundreds of megabytes of RAM preloading an mfsroot that can never shrink. The single IDE connector is accessible via the legacy ISA ports, and is thus limited to PIO modes (about 1.6MB/sec max, even with an actual hard drive instead of a CF card). Performance is acceptable when using a geom_uzip image from a CF card on the IDE connector, as a lot of it ends up cached in RAM (and is evictable in case of memory pressure, unlike an mfsroot). Try as I might, I am unable to figure out how to use a uzip imagefile on UFS as a root filesystem, without dedicating a slice/partition to it. There seems to be nothing approximating GNU/Linux's pivot_root, and using a stub init (which cannot be a shellscript...?) to mdconfig and mount the image, then chroot to that to exec /sbin/init appears to lead to instant deadlock. I don't really like the idea of mounting the image somewhere below root, and using symlink spaghetti to get everything proper; especially since I wish to place such essentials as /sbin and /etc thereupon, which leads to a bit of a chicken-and-egg problem with setting up and mounting an image that contains its mdconfig and mount... Am I missing something obvious here, or am I truly treading unexplored territory? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 09:03:08 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CD0D106566B for ; Sun, 15 Nov 2009 09:03:08 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 0D4398FC08 for ; Sun, 15 Nov 2009 09:03:07 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAF93264007360 for ; Sun, 15 Nov 2009 01:03:02 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 15 Nov 2009 01:03:03 -0800 (PST) Date: Sun, 15 Nov 2009 01:03:03 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091115090300.GA8859@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: how to do a custom install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 09:03:08 -0000 due to strange disk problems i was down for around 30 hours. i am currently wiping dos/win off in favor of 7.2-R and i have a question about doing a "custom" install that would let me slice the drive into more that four pieces. i am building, by default, /, /var SWAP, and /usr it has been years since my custom install where [[*some*]] technique let me slice something like, say, /, /var, /tmp, /usr/local/ SWAP, and /usr anybody remember what keys to hit in the installation procedure? tia, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 09:53:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD198106566B; Sun, 15 Nov 2009 09:53:11 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.99]) by mx1.freebsd.org (Postfix) with ESMTP id 5C8E48FC0A; Sun, 15 Nov 2009 09:53:11 +0000 (UTC) Received: from mail51.abv.bg (mail51.ni.bg [192.168.151.12]) by smtp-out.abv.bg (Postfix) with ESMTP id 2947814EC4E; Sun, 15 Nov 2009 11:32:20 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=AhjO22pllazMlIlGzz8spum+Cc/MK5jwfBfZB7kRf3oY1UotwwGrKh0tdf9EP0xFu zWsAsyImwXSQ3tTvinm3qJP4ntp4r/kO2XORJuCsOJFZVk8ze1FGc7GtnOX1dfA65+e 6OlOZuBrXGcCpUkaBEXxQLZKHiUBMW8CAY/dh9w= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1258277540; bh=lwbOIfMkoxqosSmImyOVuj0XU3/NuTj656MULyTkWJM=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=zL+yXdmEH4NsJ0tVdawbit24adofMIhw JbXYKAALqTkQ7tnoVAtF6mpJBoHh+7EaCNUHrSQJFac3fAe+oBJQfHb7+LXxprGOT+j S58+gtAC6qLlyis7mzRbB7s6JsNUSheU+waPiUNW6bC2yqNd/EeyZwWKwOwtgRZ38yZ RXEwE= Received: from mail51.abv.bg (localhost.localdomain [127.0.0.1]) by mail51.abv.bg (Postfix) with ESMTP id 4BC3616C122; Sun, 15 Nov 2009 11:34:29 +0200 (EET) Date: Sun, 15 Nov 2009 11:34:29 +0200 (EET) From: Mario Pavlov To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Message-ID: <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 Cc: Subject: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 09:53:12 -0000 Hi, I'm trying to setup diskless operation between my FreeBSD desktop (server) and my laptop (client) I have NFS_ROOT and all other necessary options compiled into my kernel, I have this in /etc/exports: ========================================================================== / -ro -maproot=root -alldirs 192.168.0.3 /usr -ro -alldirs 192.168.0.3 ========================================================================== and this in dhcpd.conf ========================================================================== subnet 192.168.0.0 netmask 255.255.255.0 { use-host-decl-names on; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option routers 192.168.0.1; host laptop { hardware ethernet 00:1E:68:45:0D:98; fixed-address 192.168.0.3; filename "pxeboot"; option root-path "192.168.0.1:/"; } ========================================================================== when I attempt to (diskless) boot the laptop - stage one and two of the boot process are fine...actually stage tree which is the kernel is also fine...the kernel boots and starts bringing the system up...however it's unable to mount the NFS root for some reason and the system freezes here: ========================================================================== ... ... Trying to mount root from ufs:/dev/ad4s1a Trying to mount root from nfs: NFS ROOT: 192.168.0.1:/ nfs send error 13 for server 192.168.0.1:/ bge0: link state changed to DOWN bge0: link state changed to UP ========================================================================== I think error 13 means attempt to write on read-only mounted NFS...but it does not make sense, does it? do you have any ideas what could be the problem? thanks ----------------------------------------------------------------- Вижте водещите новини от Vesti.bg! http://www.vesti.bg From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 09:59:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88D291065694 for ; Sun, 15 Nov 2009 09:59:17 +0000 (UTC) (envelope-from djr@pdconsec.net) Received: from ipmail02.adl6.internode.on.net (ipmail02.adl6.internode.on.net [203.16.214.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8988FC1A for ; Sun, 15 Nov 2009 09:59:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApoEAA9e/0qWZcBC/2dsb2JhbADRZIQ8BA Received: from goliath.pdconsec.net (HELO smtp.pdconsec.net) ([150.101.192.66]) by ipmail02.adl6.internode.on.net with SMTP; 15 Nov 2009 20:29:15 +1030 Received: from mail1.pdconsec.net ([192.168.1.41] helo=mail1.pdconsec.net) with IPv4:25 by smtp.pdconsec.net; 15 Nov 2009 19:34:38 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Date: Sun, 15 Nov 2009 20:59:32 +1100 Message-ID: Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: X-MimeOLE: Produced By Microsoft Exchange V6.5 Thread-Topic: how to do a custom install? Thread-Index: Acpl0osNmH5q33eIT5+XLPNiXUzkyQAAlViz References: <20091115090300.GA8859@thought.org> From: "David Rawling" To: "Gary Kline" Cc: FreeBSD Mailing List Subject: RE: how to do a custom install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 09:59:17 -0000 -----Original Message----- From: Gary Kline Sent: Sun 15/11/2009 8:03 PM =20 due to strange disk problems i was down for around 30 hours. i am currently wiping dos/win off in favor of 7.2-R and i have a question about doing a "custom" install that would let me slice the drive into more that four pieces. i am building, by default,=20 /, /var SWAP, and=20 /usr it has been years since my custom install where [[*some*]] technique let me slice something like, say, /, /var, /tmp, /usr/local/ SWAP, and /usr anybody remember what keys to hit in the installation procedure? tia, gary I can't say that I remember the keystrokes, but you can have multiple = disk slices (aka Windows/DOS partitions) and within each slice, multiple = BSD partitions (IIRC up to 8). I have mine partitioned into (generally) / - 1GB swap - 2x - 4x RAM /tmp - 4GB /var - 20GB /usr - 40% /backup - remainder I use the whole disk for BSD (single slice) and create the partitions as = whatever size suits. Dave. -- David Rawling PD Consulting And Security Email: djr@pdconsec.net From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 10:09:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE1AD1065672 for ; Sun, 15 Nov 2009 10:09:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6DC1C8FC08 for ; Sun, 15 Nov 2009 10:09:56 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1N9c3P-0003Zd-F6 for freebsd-questions@freebsd.org; Sun, 15 Nov 2009 11:09:55 +0100 Received: from pool-71-166-135-199.washdc.east.verizon.net ([71.166.135.199]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Nov 2009 11:09:55 +0100 Received: from nightrecon by pool-71-166-135-199.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 15 Nov 2009 11:09:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sun, 15 Nov 2009 05:10:38 -0500 Lines: 75 Message-ID: References: <20091115090300.GA8859@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-135-199.washdc.east.verizon.net Sender: news Subject: Re: how to do a custom install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 10:09:57 -0000 Gary Kline wrote: > > due to strange disk problems i was down for around 30 hours. i am > currently wiping dos/win off in favor of 7.2-R and i have a question > about doing a "custom" install that would let me slice the drive into > more that four pieces. > > i am building, by default, > > /, > /var > SWAP, and > /usr > > it has been years since my custom install where [[*some*]] technique > let me slice something like, say, > > /, > /var, > /tmp, > /usr/local/ > SWAP, and > /usr > > anybody remember what keys to hit in the installation procedure? > > tia, > > gary > > Not sure about the terminology in use here. The old standard was to create one, or more, slice(s) and then partition with bsdlabel. In the sysinstall step for this it will run fdisk. Note that playing by the $MS standard the normal maximum number of slices would be 4, e.g. aka "primary partitions" in the Dos/Windows world. Fdisk makes "slices". An example of a slice on an IDE drive would be ad0s1. After the fdisk step would next come bsdlabel. This is the step that creates partitions within the "slice" previously made with fdisk. Note the difference in terminology: what Dos/Windows refers to as a "primary partition" in the Unix world this is a "slice". Partitions are created within a slice with bsdlabel. On the sysinstall Custom menu these two options are one above the other, e.g. Fdisk and Label. Select the Fdisk and create a slice, exit fdisk returning to sysinstall and proceed to select the Label menu option to bring up bsdlabel. (IIRC also called disklabel.) An example of a partition would be ad0s1a, ad0s1b for swap, ad0s1c is a reserved wrapper entity, ad0s1d, e, f, g. Usually ad0s1a will be your root, b will be swap, d might be /usr, e might be /var. etc. In the bsdlabel utility there is the option to choose both the partition type and size as well as it's mount point. It is actually possible to have more than 4 slices even when playing by the $MS Dos/Windows standard. Fdisk will allow for the creation of what on Dos are called "extended partitions". The numbering for these starts at 5. You won't be able to boot from them and from a *Nix point of view are semi useless except within the context of Dos/Win compatibility. If this is just going to be a FreeBSD machine no need for the so-called "extended partition" of the Dos/Win world. Just create a slice [fisk], and break that up into partitions [bsdlabel]. If everything goes according to plan after Fdisk, Label, Return to previous menu, etc, at some point later on (IIRC after choosing packaging distributions) sysinstall will later perform the actions you configure in these preparatory steps. For reference peruse the Handbook; it's probably written clearer than I can accomplish. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 11:41:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D856B1065672 for ; Sun, 15 Nov 2009 11:41:57 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id 6ECEC8FC0C for ; Sun, 15 Nov 2009 11:41:57 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nAFBfoqv044204; Sun, 15 Nov 2009 11:41:51 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nAFBfoqv044204 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1258285311; bh=MSsYOTcR7kOpjo6HHBYkgk1LfV5n+KKpNvknMSEh2Co=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4AFFE8F8.3060303@infracaninophile.co.uk>|Date:=20S un,=2015=20Nov=202009=2011:41:44=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20=3D?windows-1251?Q?=3DCA=3DEE=3DED=3DFC=3DEA=3DEE =3DE2_=3DC5=3DE2=3DE3=3DE5=3DED=3DE8=3DE9?=3D=0D=0A=20|CC:=20freebsd-questions@freebsd.org|Subject:=20Re:=20rc.su br=20patch=20to=20set=20FIB=20to=20demon|References:=20<1755834289 .20091114233449@yandex.ru>|In-Reply-To:=20<1755834289.200911142334 49@yandex.ru>|X-Enigmail-Version:=200.95.6|Content-Type:=20multipa rt/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protocol=3D"applicat ion/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigBFF5DD95 C6F66B635EFFDCEF"; b=uVGEIsZcG3LQhFKUBoTEgBsqIAzwzV07YkFjpss9Dvsy7/554IJ2xMbQs8HuP9ejU Op/Rd2Jg57N6CHFI00Y6HsY4mLHRXZM6mjUGUNqd8P+86BYfr1KC6IYvQn/UnQlPul fjtJNcSHQZ7/a7hhT4F4VsYF4OSZixhPTcjg4wLw= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4AFFE8F8.3060303@infracaninophile.co.uk> Date: Sun, 15 Nov 2009 11:41:44 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: =?windows-1251?Q?=CA=EE=ED=FC=EA=EE=E2_=C5=E2=E3=E5=ED=E8=E9?= References: <1755834289.20091114233449@yandex.ru> In-Reply-To: <1755834289.20091114233449@yandex.ru> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enigBFF5DD95C6F66B635EFFDCEF" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: rc.subr patch to set FIB to demon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 11:41:58 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigBFF5DD95C6F66B635EFFDCEF Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: quoted-printable =CA=EE=ED=FC=EA=EE=E2 =C5=E2=E3=E5=ED=E8=E9 wrote: > Hello, . >=20 > Link to news: > http://www.kes.net.ua/softdev/fib_patch.html >=20 >=20 > rc.subr.patch > ------------- >=20 > 2c2 > < # $FreeBSD: src/etc/rc.subr,v 1.77.2.1.2.1 2008/11/25 02:59:29 kensmi= th Exp $ > --- >> # $FreeBSD: src/etc/rc.subr,v 1.77.2.1 2008/05/12 07:29:03 mtm Exp $ > 605d604 > < > 664a664,669 >> _fib=3D >> if [ "${name}_fib" ]; then >> eval _fib=3D\$${name}_fib >> _fib=3D"/usr/sbin/setfib $_fib" >> fi >> > 670c675 > < $_chroot $command $rc_flags $command_args" > --- >> $_chroot $_fib $command $rc_flags $command_args" > 674c679 > < $command $rc_flags $command_args" > --- >> $_fib $command $rc_flags $command_args" >=20 >=20 Interesting. I see you submitted this as a PR back in March, but there has been no activity other than to assign it to -net. Perhaps mailing the freebsd-rc@... list might raise some interest. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enigBFF5DD95C6F66B635EFFDCEF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAkr/6P4ACgkQ8Mjk52CukIwGOACfUicgyL57Z1O/EuX7ZaAnVepR mycAn0kdz+nP+zU37NM7pq7Fd0S4WCtq =Zf4A -----END PGP SIGNATURE----- --------------enigBFF5DD95C6F66B635EFFDCEF-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 14:21:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E4CB106566B for ; Sun, 15 Nov 2009 14:21:59 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id DD3C38FC15 for ; Sun, 15 Nov 2009 14:21:58 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nAFEJYbJ040516; Sun, 15 Nov 2009 09:19:34 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nAFEJYk4040515; Sun, 15 Nov 2009 09:19:34 -0500 (EST) (envelope-from jerrymc) Date: Sun, 15 Nov 2009 09:19:34 -0500 From: Jerry McAllister To: David Rawling Message-ID: <20091115141934.GA40476@gizmo.acns.msu.edu> References: <20091115090300.GA8859@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: Gary Kline , FreeBSD Mailing List Subject: Re: how to do a custom install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 14:21:59 -0000 On Sun, Nov 15, 2009 at 08:59:32PM +1100, David Rawling wrote: > -----Original Message----- > From: Gary Kline > Sent: Sun 15/11/2009 8:03 PM > > > due to strange disk problems i was down for around 30 hours. i am > currently wiping dos/win off in favor of 7.2-R and i have a question > about doing a "custom" install that would let me slice the drive into > more that four pieces. You probably only need one slice (which MS calls a primary partition) but, you probably want to subdivide the slice in to FreeBSD partitions. > > i am building, by default, > > /, > /var > SWAP, and > /usr > > it has been years since my custom install where [[*some*]] technique > let me slice something like, say, Again, note the difference between slice and partition in FreeBSD. Slices are identified by numbers 1..4 and are the primary division. Partitions are subdivisions of a slice and are identified by letters a..h with 'c' reserved for the system to use. Then, you create mount points which are really directories with names such as / and /var and /usr and mount those drive-slice-partitions to the mount points. Swap is a special type that does not get mounted. ////jerry > > /, > /var, > /tmp, > /usr/local/ > SWAP, and > /usr > > anybody remember what keys to hit in the installation procedure? > > tia, > > gary > > I can't say that I remember the keystrokes, but you can have multiple disk slices (aka Windows/DOS partitions) and within each slice, multiple BSD partitions (IIRC up to 8). > > I have mine partitioned into (generally) > > / - 1GB > swap - 2x - 4x RAM > /tmp - 4GB > /var - 20GB > /usr - 40% > /backup - remainder > > I use the whole disk for BSD (single slice) and create the partitions as whatever size suits. > > Dave. > -- > David Rawling > PD Consulting And Security > Email: djr@pdconsec.net > > _______________________________________________ > 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 Sun Nov 15 16:07:31 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17451106566C for ; Sun, 15 Nov 2009 16:07:31 +0000 (UTC) (envelope-from christopher-ml@telting.org) Received: from smtpauth19.prod.mesa1.secureserver.net (smtpauth19.prod.mesa1.secureserver.net [64.202.165.30]) by mx1.freebsd.org (Postfix) with SMTP id E8C608FC1C for ; Sun, 15 Nov 2009 16:07:30 +0000 (UTC) Received: (qmail 30189 invoked from network); 15 Nov 2009 16:07:30 -0000 Received: from unknown (76.169.198.42) by smtpauth19.prod.mesa1.secureserver.net (64.202.165.30) with ESMTP; 15 Nov 2009 16:07:30 -0000 Message-ID: <4B002741.4000403@telting.org> Date: Sun, 15 Nov 2009 08:07:29 -0800 From: Chris User-Agent: Thunderbird 2.0.0.23 (X11/20091108) MIME-Version: 1.0 To: "b. f." References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: Produce identical packages for checksum comparison? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 16:07:31 -0000 b. f. wrote: > Chris wrote: > >> I'm also thinking of building a simple checksum database to track what actually changes >> and what my options were when I compiled it. It would allow me to better make >> regression decisions. I could also be free to delete packages and know if I recompile >> it later that it was the exact same package with the exact same options. Very simple >> script to do that. Also if say there was an option when compiling ports to produce files >> with specific time/dates it would be helpful in pinpointing which of my port branches >> a specific file came from. >> > > The elusive "reproducible build". Many people are interested in doing > this, and it's not as easy as it seems. Even if you edited your > filesystem or archives to change the timestamps of package files, the > I think that could be accomplished though the port makefiles. > toolchain used to create the binary files in packages often injects > random seeds, timestamps, file paths, uid/gid information, etc. that > I can understand file paths with debug info. Timestamps? Ok sure for a timestamp file being generated during a make that auto increments version numbers. What would change about uid/gid? I can't imagine why that might be in the binaries. As far as tar a simple utility could capture all the owner and group info into a text file as strings and set files to neutral values for uid/gid. A hack for the fact that packages are using tar files. Why would the build tools be injecting random numbers into binaries? I'll look into it. > creates differences from one build to the next. You may have to hack > several base system utilities, and then directly compare the checksums > of binaries in archives after unpacking, or use a more intelligent > comparison. See, for instance, one Japanese developer's attempt to do > this in NetBSD in order to create better quality control for a > commercial product: > > http://mail-index.netbsd.org/tech-toolchain/2009/02/17/msg000577.html > > Your description of your system's problems sounds bad. I think you > should concentrate on fixing those first. What can I say? I multitask. If I concentrated on one problem at a time I would never get anything done. For my systems problem I think I'm going to have to either abandon jails or maybe try nfs instead of nullfs. Otherwise I'll have to learn the kernel code and how to debug the Freebsd kernel. Thanks for the confirmation that I'm not the only one to think about it and the link. Enjoy the day. Chris From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 16:29:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C6C7106568B for ; Sun, 15 Nov 2009 16:29:31 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 06B948FC1C for ; Sun, 15 Nov 2009 16:29:30 +0000 (UTC) Received: by bwz5 with SMTP id 5so5177665bwz.3 for ; Sun, 15 Nov 2009 08:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=lwUv0gV2AwXqk0HMeol57ESLnAK5rpBQYtDTmsbYKTM=; b=YziURCL1XLTCuk1uXolRstJrHFPZP8T9haKHD25FxsOV4JfJ49i98ubd2GPm7IAie5 dbNxa26NnyZD7sh6dkeID2hbtwMu8IioURQhoHbf/+I9NFPGSwLw392xnlvwpvMKM8e/ KNKlHLaguGrdGt+/OjAjfjCUlaE8mm2aFuRyo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:x-face:mime-version:content-type :content-transfer-encoding:message-id; b=uulkG5iH1N1vGqaHR+EQxkOFhD4fBIa9bL7DyTaQnC171GP6aJT2oGjNHTm030p2OA AnIf3l6FwujrlEgvKxumY9bL9bKQ8fVyU6B8Ie+fr3RolL/3+mG+L8JRomlBNWQ6M3Cl rvuMnt3qV23c8JPV6uYnK7HxP23e4AkA33GuY= Received: by 10.216.87.136 with SMTP id y8mr1072555wee.43.1258302569907; Sun, 15 Nov 2009 08:29:29 -0800 (PST) Received: from media.localnet (adsl180-106.kln.forthnet.gr [77.49.1.106]) by mx.google.com with ESMTPS id j8sm5448464gvb.4.2009.11.15.08.29.29 (version=SSLv3 cipher=RC4-MD5); Sun, 15 Nov 2009 08:29:29 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Sun, 15 Nov 2009 18:30:02 +0200 User-Agent: KMail/1.12.3 (Linux/2.6.31-ARCH; KDE/4.3.3; i686; ; ) X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1566894.H284bxpaj1"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200911151830.02578.oloringr@gmail.com> Subject: weird save-entropy behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 16:29:31 -0000 --nextPart1566894.H284bxpaj1 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Greetings. Yesterday, i noticed a very weird behaviour on my computer (which is runnin= g=20 8.0-RC3 btw. The shells were not responding and the load was insane, and constantly=20 going up. At the time i managed to lock myself out, the load was 84 and=20 growing (i have a screenshot if anyone is interested). That happened last night. Today, the computer was ok and i managed to ssh=20 into it. The root account was spammed with two types of cron mails. half of them said: mv: /var/db/entropy/saved-entropy.2: No such file or directory and the other half said: override r-------- operator/operator for /var/db/entropy/saved-entropy.2?= =20 (y/n [n]) not overwritten So i know that it's the save-entropy cron job, but i doubt that was suppose= d=20 to happen, and i have never touched that directory. Anyone has an idea? ps. this has happened before, and i had to go to the place the computer is = at=20 and reset it. (the tty's did not respond either) =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart1566894.H284bxpaj1 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAksALIoACgkQBPpdVEWKA30ePACggunlJAgQgZel542rqVwuPHB+ hf8AoLlWyY7uSDjmK3Cn23GFkfiOqJ7A =OhvX -----END PGP SIGNATURE----- --nextPart1566894.H284bxpaj1-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 18:11:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CFC3106566B for ; Sun, 15 Nov 2009 18:11:29 +0000 (UTC) (envelope-from baerks@t-online.de) Received: from mailout02.t-online.de (mailout02.t-online.de [194.25.134.17]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8138FC17 for ; Sun, 15 Nov 2009 18:11:27 +0000 (UTC) Received: from fwd10.aul.t-online.de by mailout02.t-online.de with smtp id 1N9jZN-0000Il-00; Sun, 15 Nov 2009 19:11:25 +0100 Received: from amd.catfish.ddns.org (Gcr-PGZZwhAjgZ+M5FWdvF+L5jIDXUSE5SAhXLB-yKB3kbCqxMbSFsZ+x62hLiOQMy@[79.218.98.64]) by fwd10.aul.t-online.de with esmtp id 1N9jZB-1EE7ZQ0; Sun, 15 Nov 2009 19:11:13 +0100 Received: from amd.catfish.ddns.org (localhost [127.0.0.1]) by amd.catfish.ddns.org (8.14.3/8.14.3) with ESMTP id nAFIBFvf001378 for ; Sun, 15 Nov 2009 19:11:15 +0100 (CET) (envelope-from monkel@amd.catfish.ddns.org) Received: (from monkel@localhost) by amd.catfish.ddns.org (8.14.3/8.14.3/Submit) id nAFIBFhi001377 for freebsd-questions@freebsd.org; Sun, 15 Nov 2009 19:11:15 +0100 (CET) (envelope-from monkel) Date: Sun, 15 Nov 2009 19:11:14 +0100 From: Sabine Baer To: freebsd-questions@freebsd.org Message-ID: <20091115181114.GA1295@amd.catfish.ddns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-ID: Gcr-PGZZwhAjgZ+M5FWdvF+L5jIDXUSE5SAhXLB-yKB3kbCqxMbSFsZ+x62hLiOQMy X-TOI-MSGID: 1caf02ec-d808-4189-839e-ebc4d92aa10d Subject: No /dev/da0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 18:11:29 -0000 Hello, I am writing to this list because I haven't found anything that helps me in the 'web' nor in usenet. First I have to apologize for my bad english and mey bad knowing of what I'm doing with FreeBSD, I am not a 'hacker' but just a user. Well my problem is mounting my digital camera. If I remember correctly I did it with mount_msdosfs /dev/da0s1 /lumix I think that was under FreeBSD 6.n But now, upgraded to 7.2, there ist no /dev/da0. Attached to an iBook with Mac OS X 10.4 the cards were well mounted as 'disk2s1'. If I attach the camera to the FreeBSD PC the console gives [attaching the camera] | umass0: on |uhub0 |(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 |(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error |(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition |(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 |(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have |changed |(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) |da0 at umass-sim0 bus 0 target 0 lun 0 |da0: Removable Direct Access SCSI-2 device |da0: 1.000MB/s transfers |da0: 14MB (29121 512 byte sectors: 64H 32S/T 14C) But there is no /dev/da0 # ls /dev/da* ls: No match. If I detach it the console writes [detaching the camera] | umass0: at uhub0 port 8 (addr 4) disconnected |(da0:umass-sim0:0:0:0): lost device |(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x39, scsi |status == | 0x0 |(da0:umass-sim0:0:0:0): removing device entry |umass0: detached I haven't any clue if it's FreeBSD's fault, the camera's or mine. Is there somone who can give me some hint? Sabine From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 18:21:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D22E106568F for ; Sun, 15 Nov 2009 18:21:52 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65508.mail.ac4.yahoo.com (web65508.mail.ac4.yahoo.com [76.13.9.52]) by mx1.freebsd.org (Postfix) with SMTP id 3A16C8FC0A for ; Sun, 15 Nov 2009 18:21:51 +0000 (UTC) Received: (qmail 86191 invoked by uid 60001); 15 Nov 2009 18:21:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258309311; bh=3vtqYEYiOISmEPQzqzQu+7mD7dYZQIRIX6JfA7Qx7+g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=q/JqJ9yjqsYPBahlHGz+YSGCuHjCf11JozXok241y2xRcMNYblYoW6TPErzTJ9geXzUN/Gkq5D7vQZXrnUrjAdQBkq+w8rlVYBsg3laLT7Q09U/7vdKFmqroshecowbAEZC6sVLOxwnS/11s5fnbudFL4SMlG1HR1kMvKhRYOzQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=mbLKsntaCo98txkEIW99xR69ker38XDEuMccUZcBgU4Qeti0iK6THXOmopkRLuCIx3uyluxgtvUkE6nwmf7yszBgWk9dJ4nTMZy2kFK4uwzxSEK+1YnUn+ekOF0J91KevKQQ1mVLiO2LvH0YFCXVTMUgAwwpbmawo6GnknTyTkU=; Message-ID: <393905.86009.qm@web65508.mail.ac4.yahoo.com> X-YMail-OSG: ih0ZnxgVM1ni2eU_D_rCyaQMTrX4wtOjRyoaTYdfCT4FOhTac8aVjGGblzBdlLTao32eJlFttvbaP2a4ouHkDTNafC.QDEB5L0OdIs3Dsit6jFmy2ornGDqphQ6VXSjUdHZKVG.7FbN8LhS6Y2BHv_.ch9IVRglJr4DEqzc1JgS9LyvDpJt1k1aDFiQlBlZfetEkleyRRwuvVIBSi14pCg9a4EUS8WF_FBBI4JNW19vw1LN8qNgAlW.2ELXGQJ5HWE7mjSxSbcr3W74BmkQp.JWVe1oelWlmSEgYlyg5cp5sdrURQH1XmFQZheW3mAvlR2lXxIkU5W5xaI92yeSU4DuWrS4GtfB3npasP.97NPVOkDaV79nqaVPfjq.VzP_wuokl_T_7X6uG_8tBtnNlLOnxBu4LuBfisPKnt_BOqGioCzJR9fbhC6sM6.Q63yrVA6ySy._Cflm77Tyf3jvNsDGEI9a43g0cqs1gnu3dZ.EHrH4AtxfT8JqRmxr22IY8sHZ2sNJ2JW8Xl0tdBM2nMwG97neWtFNI Received: from [208.99.137.71] by web65508.mail.ac4.yahoo.com via HTTP; Sun, 15 Nov 2009 10:21:51 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Sun, 15 Nov 2009 10:21:51 -0800 (PST) From: James Phillips To: freebsd-questions@freebsd.org In-Reply-To: <20091115120013.145771065724@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: CyberLeo Subject: Re: freebsd-questions Digest, Vol 284, Issue 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 18:21:52 -0000 > Date: Sat, 14 Nov 2009 20:29:59 -0600 > From: CyberLeo Kitsana > Subject: [FreeBSD Questions] Filesystem image as root > To: FreeBSD Questions > Cc: CyberLeo > Message-ID: <4AFF67A7.6040109@cyberleo.net> > Content-Type: text/plain; charset=ISO-8859-1 > > I have been thinking and experimenting for weeks, but I > cannot figure > this out. > > I have an Intel SS4200 NAS that I wish to use as a ZFS NAS > with FreeBSD 8.0. > > The device has 4 SATA bays, and I don't want to use one for > a UFS root disk. > > I don't want to use up hundreds of megabytes of RAM > preloading an > mfsroot that can never shrink. > > The single IDE connector is accessible via the legacy ISA > ports, and is > thus limited to PIO modes (about 1.6MB/sec max, even with > an actual hard > drive instead of a CF card). You are off by an order of magnitude (base 2 or 10): Pio mode 0 is ~3.3 MB/s Pio mode 4 is ~16.7 MB/s http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html You can probably set PIO mode 4 for with: # atacontrol mode ad0 PIO4 I am currently using ~ 159MB on my root partition, At 16.7MB/s that is a 10 second load time; and as you said, frequently used files will be cached. (I have a CF card that has 15MB/s symmetric read/write. Don't know how special it is.) With a CF card there should be no seek delay of ~ 10 ms (for reads anyway, deleting blocks probably takes 10ms). Regards, James Phillips My summary: maybe you are trying too hard :) __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 19:24:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D6CA106566B for ; Sun, 15 Nov 2009 19:24:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id E1AA18FC18 for ; Sun, 15 Nov 2009 19:24:34 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 971113D57D; Sun, 15 Nov 2009 20:24:32 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAFJOV4f001490; Sun, 15 Nov 2009 20:24:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 15 Nov 2009 20:24:31 +0100 From: Polytropon To: Gary Kline Message-Id: <20091115202431.ca0fdf7a.freebsd@edvax.de> In-Reply-To: <20091115090300.GA8859@thought.org> References: <20091115090300.GA8859@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: how to do a custom install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 19:24:35 -0000 On Sun, 15 Nov 2009 01:03:03 -0800, Gary Kline wrote: > anybody remember what keys to hit in the installation procedure? Let me access my brain... open(brain); Start installation which brings up sysinstall. Choose CUSTOM. First set up slice in FDISK, press 'd' to nuke 'em all, then 'c' to create a new slice covering the whole disk (I think this is what you want), give it active attribute with 's', then 'q' to quit and write changes. Choose standard MBR. The go to PARTITIONS. With 'c' (each one) create: 1 GB -> FS -> mount as / 2 GB -> SWAP 1 GB -> FS -> mount as /tmp 1 GB -> FS -> mount as /var 10 GB -> FS -> mount as /usr 50 GB -> FS -> mount as /usr/local * -> FS -> mount as /home Adjust numbers to your individual needs, 'q' when done. After that, proceed with installation. Choose packages, services and other stuff as you want. Always keep in mind: READ what's on the screen. Not doing that could lead to massive data destruction. Oh wait, who am I talking to? You already know that, and I didn't say anything. :-) According to terminology: In MICROS~1 land, slices are called "DOS primary partitions". There can be 4 of them. FreeBSD can create more than 4 slices per disk. What FreeBSD calls partitions (i. e. subdivisions of a slice, each holding a file system) have no expression in MICROS~1 land and could maybe be compared to "logical volumes inside a DOS extended partition". -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 19:41:20 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C7ED106566B for ; Sun, 15 Nov 2009 19:41:20 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 298628FC08 for ; Sun, 15 Nov 2009 19:41:19 +0000 (UTC) Received: by fxm27 with SMTP id 27so5315099fxm.3 for ; Sun, 15 Nov 2009 11:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=fWP+JOjBUUh0ZyDiTh4q4jxZDzOU/QpjtM32T48TpEk=; b=TCbWzk6YKyhrsY9j0ziIQkEskoMQgpqaoACNd6DG9AvjutySLnRUO1s5GcvuR2AFIf 5giSJ33K3PifiMw0WwM0qLQoaIfDD/YHRdvKsUlWKdEa3rJd49aWPSp2zcSehll5OjBF wOj+RLw23w/qdaqZ0y/p680KNhQzjd4SB7P7o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=FNU7oXXBC+WP+I7ptBhVa6Fj9Kl+r1uA7G3HTBYdCcqWBYBDdCpshsH75th4QXV+AL RGjwnGutZFhHd83fEEfNi4X0RcLb+Gy1ya4q4NdEdKYMgZo36kuwCXkJ5Spj6Fgt9Q9i FwX0NL/wq72lCxU/B3/BG0gcHxVSCNiyVNp2M= MIME-Version: 1.0 Received: by 10.216.93.74 with SMTP id k52mr873763wef.144.1258314078272; Sun, 15 Nov 2009 11:41:18 -0800 (PST) In-Reply-To: <4B002741.4000403@telting.org> References: <4B002741.4000403@telting.org> Date: Sun, 15 Nov 2009 19:41:18 +0000 Message-ID: From: "b. f." To: Chris Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Produce identical packages for checksum comparison? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 19:41:21 -0000 On 11/15/09, Chris wrote: > b. f. wrote: >> Chris wrote: ... >> Even if you edited your >> filesystem or archives to change the timestamps of package files, the >> > I think that could be accomplished though the port makefiles. I think that the exact reproduction of whole archives will be problematic, unless you have a means of changing the ctime of the binaries that have been built to a predetermined value. >> toolchain used to create the binary files in packages often injects >> random seeds, timestamps, file paths, uid/gid information, etc. that >> > I can understand file paths with debug info. Timestamps? Ok sure for a > timestamp file being generated during a make that auto increments version > numbers. What would change about uid/gid? I can't imagine why that > might be in the binaries. ar(1) and some of the other utilities inject this information into certain binary files. Try running 'objdump -a' on, for example, some static archive like /usr/lib/libc.a. Of course this information can be manipulated, but you have to do it. See the patches in the link I cited earlier for other examples. ... > Why would the build tools be injecting random numbers into binaries? Usually to provide some degree of uniqueness. I'm not saying that it is always done, just that it _may_ be done. See, for example, the gcc sources or the -frandom-seed option description in gcc(1). And it may not be just the compiler toolchain -- a port may do it. Occasionally, there are other sources of non-determinism. For example, in a recent thesis, a researcher who was trying to use reproducible builds to defeat a longstanding security threat found that the tcc compiler produced non-deterministic builds because of a defect in sign-extending some casts, and a problem with long double output. He also cited another researcher's finding that a certain java compiler's output was dependent upon the address of heap memory addresses used during compilation. See: http://www.dwheeler.com/trusting-trust/dissertation/wheeler-trusting-trust-ddc.pdf ... >If I concentrated on one problem at a time I would never get anything done. ?! :) b. From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 21:38:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD6A5106566C for ; Sun, 15 Nov 2009 21:38:04 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 848DB8FC12 for ; Sun, 15 Nov 2009 21:38:04 +0000 (UTC) Received: by pzk15 with SMTP id 15so3274227pzk.3 for ; Sun, 15 Nov 2009 13:38:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=UsYMQb24asJBUSO1PI1hkxkxYKqOLiNvV7w/knZyc9c=; b=DGbP6Z02Yr1dklt7inVa9bUNkY+rxlfYTYww4bC+DXw9qb5JhlUTSwpSlaOJcbjZdv XlZmjj9Gxtv5UZ4R1I2R1POxUY7AX96zbrWnv7fp4KYmFK5FAjsz5pRBoqvcGJiZKifl Lg2OIO6X1hZKX5ccjcy7Y5DTEJSPzGiHNdedg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=nlcpC1UCFxyTRTzlavJQMKo+FpYuL4Bz752yAhNpSdRoA0hki3FrO5i3mQ7oHala5G BSu3Zelgwlqq63C4D0mRwrjqmxK5UbqgsHccm75Wj/xwZiOwNOJaFv69sLmR0OLOF/xf kcgxmX44GyO3XX65N063cqMDPl/WW/dAfX3ys= MIME-Version: 1.0 Received: by 10.114.237.37 with SMTP id k37mr13140910wah.31.1258321084016; Sun, 15 Nov 2009 13:38:04 -0800 (PST) In-Reply-To: <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg> References: <1349537904.141314.1258277669303.JavaMail.apache@mail51.abv.bg> Date: Sun, 15 Nov 2009 14:38:03 -0700 Message-ID: From: Tim Judd To: Mario Pavlov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 21:38:04 -0000 Please compare my working configuration to yours to check. I found lots of odd problems in your post and I thought it'd be best to just run with this clean slate. Network config: One low-power PC Engines ALIX board running as the NFS server, with a microdrive partitioned off for it's own system, plus a separate mounted partition for diskless clients. This config works best with one diskless client, and is not the documented way from FreeBSD handbook to accomplish diskless workstations. I'll note what I immediately saw as an error in your config during these snippets. alix# bsdlabel /dev/ad0s1 # /dev/ad0s1: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 16 4.2BSD 2048 16384 8 c: 12000177 0 unused 0 0 # "raw" part, don't edit h: 10951585 1048592 4.2BSD 2048 16384 28552 alix# cat /etc/fstab /dev/ad0s1a / ufs rw 0 0 /dev/ad0s1h /diskless ufs rw 0 0 alix# cat /etc/exports /diskless -maproot=0:0 -network 192.168.0.0 -mask 255.255.255.0 *** maproot needs a user and group definition. alix# cat /etc/rc.conf rpcbind_enable="YES" nfs_server_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" *** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd ************** Diskless side *** I believe the root filesystem information is passed on from dhcp, to pxeboot, to the kernel, in order to mount the root filesystem. You can have a 0-size fstab file for read-write access, or provide the read-only nfs root here. If you want it read only, it's best to specify it here, such as below alix# cat /diskless/etc/fstab 192.168.0.1:/diskless / nfs ro 0 0 alix# cat /diskless/etc/rc.conf rpcbind_enable="YES" nfs_client_enable="YES" rpc_statd_enable="YES" rpc_lockd_enable="YES" *** File locking needed lockd/statd support on the client, also. Think of editing /etc/passwd (the proper way) when you need file locking. This will result in a basic, 1-workstation diskless setup working. The difference is that the FreeBSD rc startup looks for a /conf directory which can provide multiple overrides to multiple workstations. I tried setting up a livecd with a /conf directory only to find that the /conf is checked, no matter which medium it's booting off of. This config does NOT cover the DHCP scope, TFTP, IPs or other settings that might be pertinent to booting diskless-ly. Note that by sharing your exact / filesystem as an export is a bad idea. It will essentially create a NFS server on a NFS server round robin and probably won't connect. It's why you setup a separate partition (EVEN if it's a file-backed filesystem mounted with the help of mdconfig on a separate mountpoint on your filesystem). Once you revise your config, please try again. --Tim From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 21:47:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EC62106568B; Sun, 15 Nov 2009 21:47:12 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.70]) by mx1.freebsd.org (Postfix) with ESMTP id 7AF858FC1F; Sun, 15 Nov 2009 21:47:11 +0000 (UTC) Received: from mail53.abv.bg (mail53.ni.bg [192.168.151.29]) by smtp-out.abv.bg (Postfix) with ESMTP id 805733EE1C1; Sun, 15 Nov 2009 23:47:09 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=bUA0dgPCpuu+YxFqkJzn3Zy38gK/srSANEEg2KIjKXGHraELXFtwJoCGV8L1MkJ6o PvaWIaV92E2dRQTNwu5Kq9vPQppnesVBfeU5PAwOtfVY43fAs6EcJ0BjiA/ekCSMzSG QOMwIXZFEqgj4ZnsV9MVfljqnvL60OhsSPj80gg= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1258321629; bh=ZPP4CdqN7Ma+0neFi5pKxNd2hywX3nIUSnOqFxsqukQ=; h=Date:From:To:Cc:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=fnCJSznQ82gW/BDHrJLNHUVuWJy3TtoW kyK9jZSNN0Em0UqBkevnUqma+/bxkGedE7OtbZLRr1UWvaQG/8rIvDH2s9UEJGNJY+C sIb3t1OEhZTa6AOO10aC6BzNY+h7u97PubdbcUCDLWjbc/H0SCaBJQJ7Gi3RiOjI38R ABjh0= Received: from mail53.abv.bg (localhost.localdomain [127.0.0.1]) by mail53.abv.bg (Postfix) with ESMTP id 8C3FE241BEA; Sun, 15 Nov 2009 23:47:10 +0200 (EET) Date: Sun, 15 Nov 2009 23:47:10 +0200 (EET) From: Mario Pavlov To: Tim Judd Message-ID: <120653617.10492.1258321630563.JavaMail.apache@mail53.abv.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 21:47:12 -0000 Hi Tim, thanks a lot for your answer, I'll try that out tomorrow. cheers, mgp > > >Please compare my working configuration to yours to check. I found >lots of odd problems in your post and I thought it'd be best to just >run with this clean slate. > >Network config: > One low-power PC Engines ALIX board running as the NFS server, with >a microdrive partitioned off for it's own system, plus a separate >mounted partition for diskless clients. This config works best with >one diskless client, and is not the documented way from FreeBSD >handbook to accomplish diskless workstations. I'll note what I >immediately saw as an error in your config during these snippets. > >alix# bsdlabel /dev/ad0s1 ># /dev/ad0s1: >8 partitions: ># size offset fstype [fsize bsize bps/cpg] > a: 1048576 16 4.2BSD 2048 16384 8 > c: 12000177 0 unused 0 0 # "raw" part, don't edit > h: 10951585 1048592 4.2BSD 2048 16384 28552 > >alix# cat /etc/fstab >/dev/ad0s1a / ufs rw 0 0 >/dev/ad0s1h /diskless ufs rw 0 0 > >alix# cat /etc/exports >/diskless -maproot=0:0 -network 192.168.0.0 -mask 255.255.255.0 > >*** maproot needs a user and group definition. > >alix# cat /etc/rc.conf >rpcbind_enable="YES" >nfs_server_enable="YES" >rpc_statd_enable="YES" >rpc_lockd_enable="YES" > >*** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd > > >************** Diskless side > >*** I believe the root filesystem information is passed on from dhcp, >to pxeboot, to the kernel, in order to mount the root filesystem. You >can have a 0-size fstab file for read-write access, or provide the >read-only nfs root here. If you want it read only, it's best to >specify it here, such as below > >alix# cat /diskless/etc/fstab >192.168.0.1:/diskless / nfs ro 0 0 > >alix# cat /diskless/etc/rc.conf >rpcbind_enable="YES" >nfs_client_enable="YES" >rpc_statd_enable="YES" >rpc_lockd_enable="YES" > >*** File locking needed lockd/statd support on the client, also. >Think of editing /etc/passwd (the proper way) when you need file >locking. > > > > >This will result in a basic, 1-workstation diskless setup working. >The difference is that the FreeBSD rc startup looks for a /conf >directory which can provide multiple overrides to multiple >workstations. I tried setting up a livecd with a /conf directory only >to find that the /conf is checked, no matter which medium it's booting >off of. > >This config does NOT cover the DHCP scope, TFTP, IPs or other settings >that might be pertinent to booting diskless-ly. > >Note that by sharing your exact / filesystem as an export is a bad >idea. It will essentially create a NFS server on a NFS server round >robin and probably won't connect. It's why you setup a separate >partition (EVEN if it's a file-backed filesystem mounted with the help >of mdconfig on a separate mountpoint on your filesystem). > >Once you revise your config, please try again. > > >--Tim > ----------------------------------------------------------------- Вижте водещите новини от Vesti.bg! http://www.vesti.bg From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 22:12:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D7CF106566C for ; Sun, 15 Nov 2009 22:12:26 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 3E5468FC08 for ; Sun, 15 Nov 2009 22:12:26 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id D4AA87E853; Sun, 15 Nov 2009 13:12:24 -0900 (AKST) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 15 Nov 2009 23:12:22 +0100 User-Agent: KMail/1.12.1 (FreeBSD/8.0-RC1; KDE/4.3.1; i386; ; ) References: <200911151830.02578.oloringr@gmail.com> In-Reply-To: <200911151830.02578.oloringr@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Ed Jobs Subject: Re: weird save-entropy behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 22:12:26 -0000 On Sunday 15 November 2009 17:30:02 Ed Jobs wrote: > Yesterday, i noticed a very weird behaviour on my computer (which is > running 8.0-RC3 btw. > The shells were not responding and the load was insane, and constantly > going up. At the time i managed to lock myself out, the load was 84 and > growing (i have a screenshot if anyone is interested). > > That happened last night. Today, the computer was ok and i managed to ssh > into it. The root account was spammed with two types of cron mails. > > half of them said: > mv: /var/db/entropy/saved-entropy.2: No such file or directory > > and the other half said: > override r-------- operator/operator for /var/db/entropy/saved-entropy.2? > (y/n [n]) not overwritten > > So i know that it's the save-entropy cron job, but i doubt that was > supposed to happen, and i have never touched that directory. Anyone has an > idea? Did the operator uid change or perhaps shared with another uid? Check both `id operator` and `id 2`. Secondly, why did this stop? Seems like a weird question to ask, but since this script is supposed to run every 11 minutes, there should not be a reason for this to stop, if there's a race condition. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 22:37:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DE6A106566C for ; Sun, 15 Nov 2009 22:37:36 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1749F8FC20 for ; Sun, 15 Nov 2009 22:37:35 +0000 (UTC) Received: by fxm27 with SMTP id 27so5422650fxm.3 for ; Sun, 15 Nov 2009 14:37:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=Cm8SJDyZG1tD6xKVtjYMpk4C0P/LcD+6g2Mi7ABKA5k=; b=LWITZaR3TpRY9+0qM+4O1+lIhZPP2MnZFeOnYAQlII0fLn8Xhsp+329sYSHAkMrBdf BpxRqt7bCpRzFrCDLm+2FthH+e/IGJqdLzBM1KA8CB2dP3Ci8XdvvEK5diVCF7x+FOJX hJM88rwN68QfLdtqQ9pOOSzZJbg06VOn2w6oc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:x-face :mime-version:content-type:content-transfer-encoding:message-id; b=tyW8uNSk95qyGsmDxjqgMVbRU2wtNQ6SuPuvnkX0ggHp3vzoOvRIOy0CcE1pi9T5Md HNH3KapNOCtKVNzk3aPvt12hxiJDqv8IiXFYVCWxa/Tix+QGQD5wBgedCDEZlqz9XVFD 3wATgT5s8YoD+JDomB4DXact6HkqM4Cg9oBHE= Received: by 10.216.85.130 with SMTP id u2mr2367662wee.135.1258324654971; Sun, 15 Nov 2009 14:37:34 -0800 (PST) Received: from media.localnet (adsl71-46.kln.forthnet.gr [77.49.118.46]) by mx.google.com with ESMTPS id g11sm7335504gve.5.2009.11.15.14.37.33 (version=SSLv3 cipher=RC4-MD5); Sun, 15 Nov 2009 14:37:34 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Mon, 16 Nov 2009 00:38:10 +0200 User-Agent: KMail/1.12.3 (Linux/2.6.31-ARCH; KDE/4.3.3; i686; ; ) References: <200911151830.02578.oloringr@gmail.com> <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7867678.kd9PpD2bBA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200911160038.10993.oloringr@gmail.com> Subject: Re: weird save-entropy behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 22:37:36 -0000 --nextPart7867678.kd9PpD2bBA Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 16 November 2009 00:12, Mel Flynn wrote: >=20 > Did the operator uid change or perhaps shared with another uid? > Check both `id operator` and `id 2`. >=20 > Secondly, why did this stop? Seems like a weird question to ask, but since > this script is supposed to run every 11 minutes, there should not be a > reason for this to stop, if there's a race condition. >=20 # id operator uid=3D2(operator) gid=3D5(operator) groups=3D5(operator) # id 2 uid=3D2(operator) gid=3D5(operator) groups=3D5(operator) As for the orer part, why did it stop, i really have no clue. All the messa= ges=20 arrived at root's mailbox at 5:57, tho the date in them said that they were= =20 sent at 5:50. It's really strange because I was locked out from the computer at 2:29, so= =20 it's not something I did. and there's nothing that cron runs at that time. by the way:=20 the mails that i got were not only about /var/db/entropy/saved-entropy.2, b= ut=20 /var/db/entropy/saved-entropy.{1,2,3,4,5,6,8} as well =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart7867678.kd9PpD2bBA Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAksAgtIACgkQBPpdVEWKA310BQCcC6cI2XrZv2n1n4NyLjCHrNvc Pt8AoOGlli9VvUwtDquSCyoLq4hAF3Vk =cd5u -----END PGP SIGNATURE----- --nextPart7867678.kd9PpD2bBA-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 22:58:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D66C3106566B for ; Sun, 15 Nov 2009 22:58:59 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id A480C8FC08 for ; Sun, 15 Nov 2009 22:58:59 +0000 (UTC) Received: from smoochies.rachie.is-a-geek.net (mailhub.rachie.is-a-geek.net [192.168.2.11]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 1C1A27E854; Sun, 15 Nov 2009 13:58:58 -0900 (AKST) From: Mel Flynn To: freebsd-questions@freebsd.org Date: Sun, 15 Nov 2009 23:58:57 +0100 User-Agent: KMail/1.12.1 (FreeBSD/8.0-RC1; KDE/4.3.1; i386; ; ) References: <200911151830.02578.oloringr@gmail.com> <200911152312.22646.mel.flynn+fbsd.questions@mailing.thruhere.net> <200911160038.10993.oloringr@gmail.com> In-Reply-To: <200911160038.10993.oloringr@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911152358.57050.mel.flynn+fbsd.questions@mailing.thruhere.net> Cc: Ed Jobs Subject: Re: weird save-entropy behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 22:58:59 -0000 On Sunday 15 November 2009 23:38:10 Ed Jobs wrote: > On Monday 16 November 2009 00:12, Mel Flynn wrote: > > Did the operator uid change or perhaps shared with another uid? > > Check both `id operator` and `id 2`. > > > > Secondly, why did this stop? Seems like a weird question to ask, but > > since this script is supposed to run every 11 minutes, there should not > > be a reason for this to stop, if there's a race condition. > > # id operator > uid=2(operator) gid=5(operator) groups=5(operator) > # id 2 > uid=2(operator) gid=5(operator) groups=5(operator) > > As for the orer part, why did it stop, i really have no clue. All the > messages arrived at root's mailbox at 5:57, tho the date in them said that > they were sent at 5:50. > It's really strange because I was locked out from the computer at 2:29, so > it's not something I did. and there's nothing that cron runs at that time. Does the cron log (/var/log/cron) show that it was run as operator around the time it started? /usr/sbin/cron[47350]: (operator) CMD (/usr/libexec/save-entropy) Even if it wasn't, I don't see a reason for such a buildup. Unless....since stdin isn't sending anything, it could be the scripts wait indefinitely for user confirmation, then finally get killed off by some limit. There should be some hint at that in /var/log/messages around 5:50. The script should probably do mv -f in line 76. -- Mel From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 23:19:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47175106566B for ; Sun, 15 Nov 2009 23:19:31 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 2B47D8FC14 for ; Sun, 15 Nov 2009 23:19:30 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id CEBC8BDC46 for ; Sun, 15 Nov 2009 15:19:29 -0800 (PST) To: freebsd-questions@freebsd.org Date: Sun, 15 Nov 2009 15:19:29 -0800 Message-ID: <42052.1258327169@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 23:19:31 -0000 Many thanks to those who responded regarding my two questions. With regards to the CNTL-ALT-BACKSPACE sequence and its ability (or lack thereof) to cause an immediate shutdown of the X server... well... I _did_ go and read the Handbook section that Manolis Kiagias kindly posted a link to, and I have now tried _both_ of the two ways described there to re-enable CNTL-ALT-BACKSPACE functionality for the X server, and sadly I must report that for me, at least _neither_ of those methods worked. I did everything exactly and precisely as described. I even cut and pasted the code in the Handbook that was suggested for the /usr/local/etc/hal/fdi/policy/x11-input.fdi file, and still, CNTL-ALT-BACKSPACE is producing no effect whatsoever for me. This is on 7.2-RELEASE/amd64. What now? send-pr? From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 23:30:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAD1F106566C for ; Sun, 15 Nov 2009 23:30:51 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8FCA58FC15 for ; Sun, 15 Nov 2009 23:30:51 +0000 (UTC) Received: from [172.16.44.14] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 2C2AD24770; Sun, 15 Nov 2009 18:32:30 -0500 (EST) Message-ID: <4B008F27.4030903@cyberleo.net> Date: Sun, 15 Nov 2009 17:30:47 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.23 (X11/20091109) MIME-Version: 1.0 To: James Phillips References: <393905.86009.qm@web65508.mail.ac4.yahoo.com> In-Reply-To: <393905.86009.qm@web65508.mail.ac4.yahoo.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-questions Digest, Vol 284, Issue 11 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 23:30:51 -0000 James Phillips wrote: >> Date: Sat, 14 Nov 2009 20:29:59 -0600 >> From: CyberLeo Kitsana >> Subject: [FreeBSD Questions] Filesystem image as root >> >> The single IDE connector is accessible via the legacy ISA >> ports, and is >> thus limited to PIO modes (about 1.6MB/sec max, even with >> an actual hard >> drive instead of a CF card). > > You are off by an order of magnitude (base 2 or 10): > Pio mode 0 is ~3.3 MB/s > Pio mode 4 is ~16.7 MB/s > > http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html > > You can probably set PIO mode 4 for with: > # atacontrol mode ad0 PIO4 If only that were true in this case. (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4 current mode = PIO2 (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4 current mode = PIO2 (85eef1f3)[root@ss4200 ~]# dd if=/dev/ad0 of=/dev/null bs=4096 count=4096 4096+0 records in 4096+0 records out 16777216 bytes transferred in 10.111748 secs (1659181 bytes/sec) Nothing I've tried seems to boost the throughput, hence the desire to use a compressed cached filesystem image. Thanks for the suggestions, though! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 23:37:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF6941065670 for ; Sun, 15 Nov 2009 23:37:20 +0000 (UTC) (envelope-from oloringr@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.24]) by mx1.freebsd.org (Postfix) with ESMTP id 76B0B8FC18 for ; Sun, 15 Nov 2009 23:37:19 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 9so1622694eyd.9 for ; Sun, 15 Nov 2009 15:37:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:references:in-reply-to:x-face:mime-version:content-type :content-transfer-encoding:message-id; bh=rGcmvu5IgM0M4LSISPJIyKRCsXLktqy0vJrFUC3/Hl4=; b=xpXdRYSugxobYPvK4XcT+sjfGz9fPhAaacpQzOy1bX1OMjGUBS01xJbtNKti2VR2u8 T4bFKyNTgVQsxb/L2BkVwDoj/b8YsZB/DbQYTNSB8Qm9o5B1QNSz++cv4IG1SJ5NBVpw rwQDIKOi1/g1ccGccFH10d+RFiFgSv7cGKa50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:references:in-reply-to:x-face :mime-version:content-type:content-transfer-encoding:message-id; b=GNoO2tf43EPK6OFsnKaegR6ZjgNJ/KxI+ROuvtFg73jP7eOkzLGFMXz685FjJqmbwX v2kKT4sIXihQGub7faIxV9skDHe0mbmyGDOrbtnjrlzpiWcxTjmQTbV6bJ9LTFdtM+tR mNEwNagrnbRo5XTR2kFjYk+XusIUnxqta+Ah0= Received: by 10.216.86.17 with SMTP id v17mr1099285wee.192.1258328239282; Sun, 15 Nov 2009 15:37:19 -0800 (PST) Received: from media.localnet (adsl71-46.kln.forthnet.gr [77.49.118.46]) by mx.google.com with ESMTPS id m5sm8480376gve.26.2009.11.15.15.37.17 (version=SSLv3 cipher=RC4-MD5); Sun, 15 Nov 2009 15:37:18 -0800 (PST) From: Ed Jobs To: freebsd-questions@freebsd.org Date: Mon, 16 Nov 2009 01:37:52 +0200 User-Agent: KMail/1.12.3 (Linux/2.6.31-ARCH; KDE/4.3.3; i686; ; ) References: <200911151830.02578.oloringr@gmail.com> <200911160038.10993.oloringr@gmail.com> <200911152358.57050.mel.flynn+fbsd.questions@mailing.thruhere.net> In-Reply-To: <200911152358.57050.mel.flynn+fbsd.questions@mailing.thruhere.net> X-Face: %5EDs|At1pm>WE%P0}6)Hi*s, JH2J${69~j)R"Yu'^P9R3#fvi{LmpsCzxvX*38/, kxcUd QVrlS0G,}-ll{||\P]; *'Gz`RTG+dzconmNyDY3rJHBmpEJkFj|; %vZO&~T")='B<; 88~[ Cltx6#}N*E MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2246158.pBaHsKDhF4"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200911160137.52555.oloringr@gmail.com> Subject: Re: weird save-entropy behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 23:37:21 -0000 --nextPart2246158.pBaHsKDhF4 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Monday 16 November 2009 00:58, Mel Flynn wrote: > Does the cron log (/var/log/cron) show that it was run as operator around > the time it started? > /usr/sbin/cron[47350]: (operator) CMD (/usr/libexec/save-entropy) >=20 > Even if it wasn't, I don't see a reason for such a buildup. Unless....sin= ce > stdin isn't sending anything, it could be the scripts wait indefinitely f= or > user confirmation, then finally get killed off by some limit. There should > be some hint at that in /var/log/messages around 5:50. > The script should probably do mv -f in line 76. >=20 you were right. there was something at the messages. Nov 15 05:50:49 hostname sshd[1126]: error: accept: Software caused=20 connection abort Nov 15 05:50:49 hostname last message repeated 6 times weird. the only thing in auth.log about sshd[1126] is: Nov 13 12:31:51 hostname sshd[1126]: Server listening on :: port 22. Nov 13 12:31:51 hostname sshd[1126]: Server listening on 0.0.0.0 port 22. and the message that was in the messages log too. =2D-=20 Real programmers don't document. If it was hard to write, it should be hard= to=20 understand. --nextPart2246158.pBaHsKDhF4 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAksAkNAACgkQBPpdVEWKA31i9wCg0kxB/oD/o8BDW/1zrfMExFcY hLkAnj9RPszwUXyenlMQswSp/z/xrGCL =68cC -----END PGP SIGNATURE----- --nextPart2246158.pBaHsKDhF4-- From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 23:49:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD4C8106568B for ; Sun, 15 Nov 2009 23:49:07 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 391728FC0C for ; Sun, 15 Nov 2009 23:49:06 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-99.home.otenet.gr [94.69.68.99]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAFNn4dM000310; Mon, 16 Nov 2009 01:49:04 +0200 Message-ID: <4B009370.1040002@otenet.gr> Date: Mon, 16 Nov 2009 01:49:04 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: "Ronald F. Guilmette" References: <42052.1258327169@tristatelogic.com> In-Reply-To: <42052.1258327169@tristatelogic.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-7 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 23:49:07 -0000 Ronald F. Guilmette wrote: > Many thanks to those who responded regarding my two questions. > > With regards to the CNTL-ALT-BACKSPACE sequence and its ability > (or lack thereof) to cause an immediate shutdown of the X server... > well... I _did_ go and read the Handbook section that Manolis Kiagias > kindly posted a link to, and I have now tried _both_ of the two > ways described there to re-enable CNTL-ALT-BACKSPACE functionality > for the X server, and sadly I must report that for me, at least > _neither_ of those methods worked. I did everything exactly and > precisely as described. I even cut and pasted the code in the Handbook > that was suggested for the /usr/local/etc/hal/fdi/policy/x11-input.fdi > file, and still, CNTL-ALT-BACKSPACE is producing no effect whatsoever > for me. This is on 7.2-RELEASE/amd64. > > What now? send-pr? > > Keep the x11-input.fdi section from the Handbook, and also add the following line to /etc/X11/xorg.conf, at the end of the "ServerLayout" section: Option "DontZap" "false" Restart your system, it should work now. (Just tried it on mine. It won't work without both of these changes). Please report back if it works for you! By the way Xorg configuration becomes more and more elusive. Initially, DontZap was enough. Then it had no effect at all and the fdi file was needed. Now seems both are needed. What's next? I'll test this in a few other systems and update the Handbook section if it seems to be the latest norm. Thanks! From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 23:49:38 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C861E106568D for ; Sun, 15 Nov 2009 23:49:38 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8079C8FC1D for ; Sun, 15 Nov 2009 23:49:38 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAFNnV6w015007 for ; Sun, 15 Nov 2009 15:49:31 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 15 Nov 2009 15:49:33 -0800 (PST) Date: Sun, 15 Nov 2009 15:49:33 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091115234930.GA11465@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 23:49:38 -0000 ok, i have my new server-to-be underway but having problems exec'ing /usr/sbin/sshd. i can ssh out to existing computers, but cannot ssh or scp stuff in. so my question is: how do i create /etc/ssh/ssh_host_dsa_key ? checking around does no good. tia for any insights, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Sun Nov 15 23:57:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BDD11065670 for ; Sun, 15 Nov 2009 23:57:20 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id ABC5D8FC0C for ; Sun, 15 Nov 2009 23:57:19 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-99.home.otenet.gr [94.69.68.99]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAFNvI8Z002584; Mon, 16 Nov 2009 01:57:18 +0200 Message-ID: <4B00955E.908@otenet.gr> Date: Mon, 16 Nov 2009 01:57:18 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Gary Kline References: <20091115234930.GA11465@thought.org> In-Reply-To: <20091115234930.GA11465@thought.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Nov 2009 23:57:20 -0000 Gary Kline wrote: > ok, i have my new server-to-be underway but having problems exec'ing > /usr/sbin/sshd. i can ssh out to existing computers, but cannot ssh > or scp stuff in. so my question is: how do i create > /etc/ssh/ssh_host_dsa_key ? checking around does no good. > > tia for any insights, > > gary > > Add: sshd_enable="YES" to /etc/rc.conf and then execute: /etc/rc.d/sshd start (or reboot your system) The keys will be automatically created at first startup of the ssh daemon From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:00:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C22891065670 for ; Mon, 16 Nov 2009 00:00:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 827F78FC12 for ; Mon, 16 Nov 2009 00:00:17 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id DBBB821EE0; Mon, 16 Nov 2009 01:00:15 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAG00EFc002135; Mon, 16 Nov 2009 01:00:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 01:00:14 +0100 From: Polytropon To: Gary Kline Message-Id: <20091116010014.f3ca28de.freebsd@edvax.de> In-Reply-To: <20091115234930.GA11465@thought.org> References: <20091115234930.GA11465@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:00:17 -0000 On Sun, 15 Nov 2009 15:49:33 -0800, Gary Kline wrote: > > ok, i have my new server-to-be underway but having problems exec'ing > /usr/sbin/sshd. i can ssh out to existing computers, but cannot ssh > or scp stuff in. so my question is: how do i create > /etc/ssh/ssh_host_dsa_key ? checking around does no good. Maybe I remember incorrectly, but doesn't sshd create this file on its first startup? Do you have sshd_enable="YES" in /etc/rc.conf? Is sshd running, or do you get error messages regarding the host DSA key file? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:06:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3A9461065672 for ; Mon, 16 Nov 2009 00:06:34 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id EE8A18FC12 for ; Mon, 16 Nov 2009 00:06:33 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 92E921DC45; Mon, 16 Nov 2009 01:06:32 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAG06UPv002147; Mon, 16 Nov 2009 01:06:30 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 01:06:30 +0100 From: Polytropon To: Manolis Kiagias Message-Id: <20091116010630.0b8f498a.freebsd@edvax.de> In-Reply-To: <4B009370.1040002@otenet.gr> References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:06:34 -0000 On Mon, 16 Nov 2009 01:49:04 +0200, Manolis Kiagias wrote: > By the way Xorg configuration becomes more and more elusive. Initially, > DontZap was enough. Then it had no effect at all and the fdi file was > needed. Now seems both are needed. What's next? If this continues, I'll run my 5.4-p8 workstation with "old fashioned" X (already X.org) until I die. :-) No, honestly: X is going to be more and more annoying. Have you noticed the long startup time? Nearly a half minute (!!!) on a 1.5 GHz system! I know that there is lots of work done to make life easier for X developers, especially getting rid of many OS specific stuff, but... Finally, sliding more off-topic: Not only X gets slower with each release, the same applies for almost all X applications, except the "old fashioned" ones. Sad. Just: Sad. Thanks for your patience so I could say this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:06:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A4A51065670 for ; Mon, 16 Nov 2009 00:06:57 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 081C48FC08 for ; Mon, 16 Nov 2009 00:06:55 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id B857FBDC47 for ; Sun, 15 Nov 2009 16:06:55 -0800 (PST) To: freebsd-questions@freebsd.org Date: Sun, 15 Nov 2009 16:06:55 -0800 Message-ID: <42307.1258330015@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:06:57 -0000 In one of my systems, I've got a Seagate SATA 500GB drive (ST3500320AS) which is actually not very old... purchased 12/11/2008. It's never given me any problems, but just a few minutes ago, while compiling a small C program, I got a set of three irrecoverable errors in quick succession... apparently all read errors from the same single block. Here's the relevant lines from /var/log/messages: Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=256230591 Nov 15 15:24:43 coredump kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=256230591 Nov 15 15:24:46 coredump kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=256230591 (Don't be confused... The name of the host system here is "coredump"... my lame attempt at humor.) So anyway, this is one of those Seagate drives with 5-year warranty. (I only buy the 5-year ones these days... don't trust anything less.) This situation happened at a (relatively) opportune moment. I have zip, nada, nothing on the drive that needs to be either backed up or relocated to another drive. This drive is essentially blank at the moment. So, the question is, should I: 1) RMA the drive back to Seagate? 2) Somehow try to lock-out the bad sector(s)? (If so, how?) 3) Other? If it was failing all over the place (and on multiple blocks), then yea, sure, I'd RMA it back to Seagate in a heartbeat. But heck! It's only one sector. And what's one sector between friends? Before posting this, I googled around a bit for the crrent Accepted Wisdom regarding such sitiations. Most seems to say that bad blocks (even one?) are an early warning of impending doom (for the drive), and suggest trashing or RMA'ing the drive. I just sorta wanted to know if folks here would agree or disagree with that. One thing concerns me about the thought of RMA'ing the drive back... The last time I RMA'd a drive (years ago & a different brand) I got back as a replacement a ``refurb'' drive. Hummm. If I RMA this drive, it is possible that Seagate would replace it with a refurb whose remaining life may perhaps prove to be even less than the drive I am RMA'ing? Do Seagate RMA drive replacements come with fresh platters? Regards, rfg P.S. If I _do_ end up RMA'ing the thing back, do I need to worry about scrubing the drive squeaky clean first... you know... using one of these multiple write-over progs (like `wipe') if I am paranoid... as I am... about the possibility of old credit card numbers lying around in unallocated sectors on the drive? (The drive is empty _now_, but earlier it was in serious/heavy use.) I guess what I'm asking is: Do Segate and the other manufacturers care enough about their customer's privacy to securely wipe old drives/platters that come in to them for RMA? Or do I need to worry 'bout that for my own self? From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:10:19 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9361106568D for ; Mon, 16 Nov 2009 00:10:19 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 6A86A8FC0C for ; Mon, 16 Nov 2009 00:10:19 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAG0ACTw015184; Sun, 15 Nov 2009 16:10:12 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 15 Nov 2009 16:10:14 -0800 (PST) Date: Sun, 15 Nov 2009 16:10:14 -0800 From: Gary Kline To: David Rawling Message-ID: <20091116001014.GA11539@thought.org> References: <20091115090300.GA8859@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: how to do a custom install? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:10:19 -0000 On Sun, Nov 15, 2009 at 08:59:32PM +1100, David Rawling wrote: > -----Original Message----- > From: Gary Kline > Sent: Sun 15/11/2009 8:03 PM > > > due to strange disk problems i was down for around 30 hours. i am > currently wiping dos/win off in favor of 7.2-R and i have a question > about doing a "custom" install that would let me slice the drive into > more that four pieces. > > i am building, by default, > > /, > /var > SWAP, and > /usr > > it has been years since my custom install where [[*some*]] technique > let me slice something like, say, > > /, > /var, > /tmp, > /usr/local/ > SWAP, and > /usr > > anybody remember what keys to hit in the installation procedure? > > tia, > > gary > > I can't say that I remember the keystrokes, but you can have multiple disk slices (aka Windows/DOS partitions) and within each slice, multiple BSD partitions (IIRC up to 8). > > I have mine partitioned into (generally) > > / - 1GB > swap - 2x - 4x RAM > /tmp - 4GB > /var - 20GB > /usr - 40% > /backup - remainder > > I use the whole disk for BSD (single slice) and create the partitions as whatever size suits. > > Dave. yeah, i kinda, sorta remember now. you type "A" for the entire drive, then keep slicing off pieces. hmm, i think once i did that and got a big, fat X for the 5th one.... maybe i didn't enter the "A" that time. just for the heck of it, i'll retry, tx, gary > -- > David Rawling > PD Consulting And Security > Email: djr@pdconsec.net > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:21:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CCB8106566C for ; Mon, 16 Nov 2009 00:21:26 +0000 (UTC) (envelope-from jon@radel.com) Received: from wave.radel.com (wave.radel.com [216.143.151.4]) by mx1.freebsd.org (Postfix) with ESMTP id 09A0A8FC13 for ; Mon, 16 Nov 2009 00:21:25 +0000 (UTC) Received: by wave.radel.com (CommuniGate Pro PIPE 4.1.6) with PIPE id 9165564; Sun, 15 Nov 2009 19:21:25 -0500 Received: from [192.168.43.221] (account jon@radel.com HELO braeburn.local) by wave.radel.com (CommuniGate Pro SMTP 4.1.6) with ESMTP-TLS id 9165562; Sun, 15 Nov 2009 19:21:15 -0500 Message-ID: <4B009AFB.2070806@radel.com> Date: Sun, 15 Nov 2009 19:21:15 -0500 From: Jon Radel User-Agent: Thunderbird 2.0.0.19 (Macintosh/20081209) MIME-Version: 1.0 To: Gary Kline References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> In-Reply-To: <20091116010014.f3ca28de.freebsd@edvax.de> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms020601050003040804040003" X-Radel.com-MailScanner-Information: Please contact Jon for more information X-Radel.com-MailScanner: Found to be clean X-Mailer: CommuniGate Pro CLI mailer Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:21:26 -0000 This is a cryptographically signed message in MIME format. --------------ms020601050003040804040003 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Polytropon wrote: > On Sun, 15 Nov 2009 15:49:33 -0800, Gary Kline wrote: >> ok, i have my new server-to-be underway but having problems exec'ing >> /usr/sbin/sshd. i can ssh out to existing computers, but cannot ssh >> or scp stuff in. so my question is: how do i create >> /etc/ssh/ssh_host_dsa_key ? checking around does no good. > > Maybe I remember incorrectly, but doesn't sshd create this file > on its first startup? > > Do you have > > sshd_enable="YES" > > in /etc/rc.conf? Is sshd running, or do you get error messages > regarding the host DSA key file? > > > > This is version specific. If you're really old fashioned (v4, for example ;-), you can look in /etc/rc.network for a cookbook: case ${sshd_enable} in [Yy][Ee][Ss]) if [ -x /usr/bin/ssh-keygen ]; then if [ ! -f /etc/ssh/ssh_host_key ]; then echo ' creating ssh1 RSA host key'; /usr/bin/ssh-keygen -t rsa1 -N "" \ -f /etc/ssh/ssh_host_key fi if [ ! -f /etc/ssh/ssh_host_rsa_key ]; then echo ' creating ssh2 RSA host key'; /usr/bin/ssh-keygen -t rsa -N "" \ -f /etc/ssh/ssh_host_rsa_key fi if [ ! -f /etc/ssh/ssh_host_dsa_key ]; then echo ' creating ssh2 DSA host key'; /usr/bin/ssh-keygen -t dsa -N "" \ -f /etc/ssh/ssh_host_dsa_key fi fi ;; esac or just reboot after setting sshd_enable="YES". In newer versions, "/etc/rc.d/sshd start" checks if the files exist and creates any of the 3 which don't, or you can force this check and creation with "/etc/rc.d/sshd keygen". In all cases that I know of, it's just the ssh-keygen program being run on your behalf. -- --Jon Radel jon@radel.com --------------ms020601050003040804040003 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMTCC AvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMyNloX DTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9tYXMx GTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRlbC5j b20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7OnwrXJe9 Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2Mqp4 BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qRi8bb /RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn4k9C SJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPKcWKO CPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRlbC5j b20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVpnCNF iFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0yGML h1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBTTmay VDCCAvMwggJcoAMCAQICEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEFBQAwYjELMAkG A1UEBhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNV BAMTI1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5nIENBMB4XDTA5MDIyNTA0MTMy NloXDTEwMDIyNTA0MTMyNlowXjEOMAwGA1UEBBMFUmFkZWwxEzARBgNVBCoTCkpvbiBUaG9t YXMxGTAXBgNVBAMTEEpvbiBUaG9tYXMgUmFkZWwxHDAaBgkqhkiG9w0BCQEWDWpvbkByYWRl bC5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDeT7qtj+euqWr2wXM7Onwr XJe9Jlc0CGaM69AcTWOFakRY7MUXrqcmF5WjrqrMoagfGjS362eb6787x313ZdLoGuQPh/o2 Mqp4BbSgcnGZRj82SxkUmSN6+2q5ZOOYA6JmfvJwmBuRQ8sHki4GnoSwbIc11a70/z4at5qR i8bb/RtmJYewnpwXErfuuq0hhVSsYKFPXELzSahlpyC+lUfIdgvLJGxc7eU5QuvtYmuohNjn 4k9CSJinvfjFbkvgbIgtvZxxmcE74NsKTeW2bEwgoCjZlcAD/QMgLE9KGSVn4/LzC/OZwkPK cWKOCPTNIZK1P+HxaIW4BvvYtjLu2Qx5AgMBAAGjKjAoMBgGA1UdEQQRMA+BDWpvbkByYWRl bC5jb20wDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQUFAAOBgQBT+qFXV8sexrNOJuK8rhVp nCNFiFslD9Kelhon5Tt1tlTsw+B9F9B8ys9tfV559tzVqE+ULcqnjX2rsaJCwFmn6gyucCN0 yGMLh1O4ddsNQmoTOILyBCv/rkfO4tbXJM3si2JDNPZnL/0Rf3FpDTc3U3SnAdqE1a/8PGBT TmayVDCCAz8wggKooAMCAQICAQ0wDQYJKoZIhvcNAQEFBQAwgdExCzAJBgNVBAYTAlpBMRUw EwYDVQQIEwxXZXN0ZXJuIENhcGUxEjAQBgNVBAcTCUNhcGUgVG93bjEaMBgGA1UEChMRVGhh d3RlIENvbnN1bHRpbmcxKDAmBgNVBAsTH0NlcnRpZmljYXRpb24gU2VydmljZXMgRGl2aXNp b24xJDAiBgNVBAMTG1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBDQTErMCkGCSqGSIb3DQEJ ARYccGVyc29uYWwtZnJlZW1haWxAdGhhd3RlLmNvbTAeFw0wMzA3MTcwMDAwMDBaFw0xMzA3 MTYyMzU5NTlaMGIxCzAJBgNVBAYTAlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAo UHR5KSBMdGQuMSwwKgYDVQQDEyNUaGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBD QTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAxKY8VXNV+065yplaHmjAdQRwnd/p/6Me 7L3N9VvyGna9fww6YfK/Uc4B1OVQCjDXAmNaLIkVcI7dyfArhVqqP3FWy688Cwfn8R+RNiQq E88r1fOCdz0Dviv+uxg+B79AgAJk16emu59l0cUqVIUPSAR/p7bRPGEEQB5kGXJgt/sCAwEA AaOBlDCBkTASBgNVHRMBAf8ECDAGAQH/AgEAMEMGA1UdHwQ8MDowOKA2oDSGMmh0dHA6Ly9j cmwudGhhd3RlLmNvbS9UaGF3dGVQZXJzb25hbEZyZWVtYWlsQ0EuY3JsMAsGA1UdDwQEAwIB BjApBgNVHREEIjAgpB4wHDEaMBgGA1UEAxMRUHJpdmF0ZUxhYmVsMi0xMzgwDQYJKoZIhvcN AQEFBQADgYEASIzRUIPqCy7MDaNmrGcPf6+svsIXoUOWlJ1/TCG4+DYfqi2fNi/A9BxQIJNw PP2t4WFiw9k6GX6EsZkbAMUaC4J0niVQlGLH2ydxVyWN3amcOY6MIE9lX5Xa9/eH1sYITq72 6jTlEBpbNU1341YheILcIRk13iSx0x1G/11fZU8xggNkMIIDYAIBATB2MGIxCzAJBgNVBAYT AlpBMSUwIwYDVQQKExxUaGF3dGUgQ29uc3VsdGluZyAoUHR5KSBMdGQuMSwwKgYDVQQDEyNU aGF3dGUgUGVyc29uYWwgRnJlZW1haWwgSXNzdWluZyBDQQIQHV4N5VjGEA7f3M4SceIBvDAJ BgUrDgMCGgUAoIIBwzAYBgkqhkiG9w0BCQMxCwYJKoZIhvcNAQcBMBwGCSqGSIb3DQEJBTEP Fw0wOTExMTYwMDIxMTVaMCMGCSqGSIb3DQEJBDEWBBRgqT/1RjwcOsIbVSbDVSfLcx0SPzBS BgkqhkiG9w0BCQ8xRTBDMAoGCCqGSIb3DQMHMA4GCCqGSIb3DQMCAgIAgDANBggqhkiG9w0D AgIBQDAHBgUrDgMCBzANBggqhkiG9w0DAgIBKDCBhQYJKwYBBAGCNxAEMXgwdjBiMQswCQYD VQQGEwJaQTElMCMGA1UEChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UE AxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVtYWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHi AbwwgYcGCyqGSIb3DQEJEAILMXigdjBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhhd3Rl IENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt YWlsIElzc3VpbmcgQ0ECEB1eDeVYxhAO39zOEnHiAbwwDQYJKoZIhvcNAQEBBQAEggEAjLlX XsYoRUh0ukEvTLKekeVd9hYb5TOb6GzsWe4Jggx2dMdjWEgInT1lR0811I+r7NH90Q12wlUd DvaHhCf8wkPc28N96oTkFhTQ35ECfT6vXB7YK8do0rSmiFgXAeenIml7T8q3+ivyQ/GRRx7i pqBjuuyYWmwiebufBBjHQZCO6HL31fBFmMR/k9vtOhi37MMbUUwIi/rluD0/2FgwP9kv9bYx TR9D9+Cv7wQDgfbP81MiYXZlVeNDNDwLEEIxhVv8q8OzPaoppPtWiSeVDp2CN0HNw9amJnE0 JU/mfWQCbRX9reJ1G0RDc5MdXexN8qKKFLkfpYFtboFe/aTbJwAAAAAAAA== --------------ms020601050003040804040003-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:21:31 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7F71065672 for ; Mon, 16 Nov 2009 00:21:31 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from aiolos.otenet.gr (aiolos.otenet.gr [83.235.67.30]) by mx1.freebsd.org (Postfix) with ESMTP id 7B0618FC16 for ; Mon, 16 Nov 2009 00:21:30 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-99.home.otenet.gr [94.69.68.99]) by aiolos.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAG0LSA4009235; Mon, 16 Nov 2009 02:21:28 +0200 Message-ID: <4B009B08.3070507@otenet.gr> Date: Mon, 16 Nov 2009 02:21:28 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Polytropon References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> <20091116010630.0b8f498a.freebsd@edvax.de> In-Reply-To: <20091116010630.0b8f498a.freebsd@edvax.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:21:31 -0000 Polytropon wrote: > On Mon, 16 Nov 2009 01:49:04 +0200, Manolis Kiagias wrote: > >> By the way Xorg configuration becomes more and more elusive. Initially, >> DontZap was enough. Then it had no effect at all and the fdi file was >> needed. Now seems both are needed. What's next? >> > > If this continues, I'll run my 5.4-p8 workstation with "old > fashioned" X (already X.org) until I die. :-) > > I feel your pain... > No, honestly: X is going to be more and more annoying. Have > you noticed the long startup time? Nearly a half minute (!!!) > Don't have any startup time problems myself. I mostly run on Atom CPUs, nothing fancy. > on a 1.5 GHz system! I know that there is lots of work done > to make life easier for X developers, especially getting rid > of many OS specific stuff, but... > > Finally, sliding more off-topic: Not only X gets slower with > each release, the same applies for almost all X applications, > except the "old fashioned" ones. > > Just the fact that I now have to edit an xml file to simply add a Greek keyboard layout is annoying enough. Combine with the fact that for some reason keyboard / mouse may or may not be detected depending on the machine, phase of the moon etc, needing AutoAddInputDevices and AllowEmptyInput hacks, I'd call it nightmare on HAL street... But that's enough ranting for tonight, I had an entire blog post complaining about it. Let's just hope we can cope with the documentation changes so we have some place to resort to! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:26:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CACD1065676 for ; Mon, 16 Nov 2009 00:26:58 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 0B1C38FC13 for ; Mon, 16 Nov 2009 00:26:57 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id F0928219A4; Mon, 16 Nov 2009 01:26:56 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAG0Qt1N002244; Mon, 16 Nov 2009 01:26:56 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 01:26:55 +0100 From: Polytropon To: "Ronald F. Guilmette" Message-Id: <20091116012655.b5bdf80b.freebsd@edvax.de> In-Reply-To: <42307.1258330015@tristatelogic.com> References: <42307.1258330015@tristatelogic.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:26:58 -0000 On Sun, 15 Nov 2009 16:06:55 -0800, "Ronald F. Guilmette" wrote: > So, the question is, should I: > > 1) RMA the drive back to Seagate? Yes. > 2) Somehow try to lock-out the bad sector(s)? (If so, how?) > [...] > If it was failing all over the place (and on multiple blocks), then yea, > sure, I'd RMA it back to Seagate in a heartbeat. But heck! It's only one > sector. And what's one sector between friends? If there's already error messaging to the OS, then the drive's firmware has noticed that it can't compensate errors anymore. This means: Probably there isn't only one bad sector - there are lots of them. (The drive uses spare sectors to move data to them when a sector in use gets bad.) Backup all your important data and get rid of this drive, this will save you possibly upcoming trouble. > Before posting this, I googled around a bit for the crrent Accepted Wisdom > regarding such sitiations. Most seems to say that bad blocks (even one?) > are an early warning of impending doom (for the drive), and suggest trashing > or RMA'ing the drive. I just sorta wanted to know if folks here would agree > or disagree with that. >From my knowledge and experience, this is correct. > One thing concerns me about the thought of RMA'ing the drive back... The > last time I RMA'd a drive (years ago & a different brand) I got back as a > replacement a ``refurb'' drive. Hummm. If I RMA this drive, it is possible > that Seagate would replace it with a refurb whose remaining life may perhaps > prove to be even less than the drive I am RMA'ing? Do Seagate RMA drive > replacements come with fresh platters? There's always smartctl (from port smartmontools) to do some checking on the drive you get back. > P.S. If I _do_ end up RMA'ing the thing back, do I need to worry about > scrubing the drive squeaky clean first... you know... using one of these > multiple write-over progs (like `wipe') if I am paranoid... as I am... > about the possibility of old credit card numbers lying around in unallocated > sectors on the drive? (The drive is empty _now_, but earlier it was in > serious/heavy use.) You could first mount all the partitions (from a live CD or DVD) of the disk and then to the magical "remark read-file" command (rm -rf /), and afterwards running dd if=/dev/zero of=/dev/ad0 bs=1m for a while. Check that ad0 really is the drive you want to clean, or else. :-) > I guess what I'm asking is: Do Segate and the other manufacturers care > enough about their customer's privacy to securely wipe old drives/platters > that come in to them for RMA? Or do I need to worry 'bout that for my own > self? I've got no experience with how Seagate treats his customers. To be sure, at least clean your disk a bit as mentioned above, because that's for YOUR security. If Seagate is "intelligent" enough to send you a "new" drive back with a FAT or NTFS file system on it... you'll delete it anyway. Help the manufacturer - help you. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 00:41:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B444106568D for ; Mon, 16 Nov 2009 00:41:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CE7858FC14 for ; Mon, 16 Nov 2009 00:41:52 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 0A4FC1F71A; Mon, 16 Nov 2009 01:41:51 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAG0fnkG002287; Mon, 16 Nov 2009 01:41:50 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 01:41:49 +0100 From: Polytropon To: Manolis Kiagias Message-Id: <20091116014149.f7d6eafd.freebsd@edvax.de> In-Reply-To: <4B009B08.3070507@otenet.gr> References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> <20091116010630.0b8f498a.freebsd@edvax.de> <4B009B08.3070507@otenet.gr> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 00:41:53 -0000 On Mon, 16 Nov 2009 02:21:28 +0200, Manolis Kiagias wrote: > Just the fact that I now have to edit an xml file to simply add a Greek > keyboard layout is annoying enough. The fact that annoys me is that configuration seems to have disassembled into several parts that are not located in a central file (such as xorg.conf has been); I have no problem with editing text files if I need to, but now it's getting somewhat complicated - I'm not confortable with the fact that FreeBSD is (getting) complicated, I always loved it because everything is so simple. > Combine with the fact that for some reason keyboard / mouse may or may > not be detected depending on the machine, phase of the moon etc, > needing AutoAddInputDevices and AllowEmptyInput hacks, I'd call it > nightmare on HAL street... This famous quote comes to mind: HAL: Look Dave, I can see you're really upset about this. I honestly think you ought to sit down calmly, take a stress pill, and think things over. ... Maybe this is all fine as long as you have up-to-date hardware that will deliver all the data needed for the autodetection and autoconfiguration magic, but what's if you're *insisting* on using a 21" Eizo CRT and a three button Sun mouse (where the middle mouse button does both middle-click and wheel)? And then I really ask myself: Will the xmodmap "hack" (i. e. or i. has been the canonical way) still work for my Sun keyboard that I insist on using? > But that's enough ranting for tonight, I had an entire blog post > complaining about it. But I am not complaining! :-) I've been told that those changes are absolutely needed to design the creation of new software more efficiently and cheaper; this is often confused with "bloat", but it's not, it's evolution! And there's no way around. I would be more happy if things would really get better, or even not worse, but sadly, they seem to. Software gets slower as well as less accessible - Gtk 2, used by many programs, is a good (bad) example. Am I supposed to buy new computer to replace perfectly running systems just to keep the "overall usage speed" of everything at the same level? Oh wait, that's economy. Let us be thankful we have commerce. Buy more. Buy more now. Buy. And be happy. So much from the famous quoting department. :-) > Let's just hope we can cope with the documentation > changes so we have some place to resort to! I hope "documentation" refers to "how documentation should be properly done, and how it IS done in FreeBSD", and not the (sorry) Linux way of documentation. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 01:24:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20B791065670 for ; Mon, 16 Nov 2009 01:24:09 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.freebsd.org (Postfix) with ESMTP id EF6038FC18 for ; Mon, 16 Nov 2009 01:24:08 +0000 (UTC) Received: (qmail 27029 invoked from network); 16 Nov 2009 01:24:08 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 16 Nov 2009 01:24:07 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 1538850891; Sun, 15 Nov 2009 20:24:07 -0500 (EST) From: Lowell Gilbert To: "Ronald F. Guilmette" References: <42307.1258330015@tristatelogic.com> Date: Sun, 15 Nov 2009 20:24:06 -0500 In-Reply-To: <42307.1258330015@tristatelogic.com> (Ronald F. Guilmette's message of "Sun, 15 Nov 2009 16:06:55 -0800") Message-ID: <44my2n45zd.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 01:24:09 -0000 "Ronald F. Guilmette" writes: > Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=51 error=40 LBA=256230591 This is *not* necessarily a big deal, despite what your other response told you. Errors on reads do not mean that your drive's bad-sector table is full; only errors on write indicate that. If you can try manufacturer's drive diagnostics, do that. If you can't, then it's harder to fix things up, but not impossible; write back if you really can't use a low-level diag. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 01:54:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 567ED1065670 for ; Mon, 16 Nov 2009 01:54:49 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (unknown [IPv6:2607:f0b0:0:6:209:87:239:66]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5268FC1A for ; Mon, 16 Nov 2009 01:54:48 +0000 (UTC) Received: from anton.digitaltorque.ca (hs-216-106-102-79.storm.ca [216.106.102.79]) by mail.storm.ca (8.14.2+Sun/8.14.2) with ESMTP id nAFNEVfX001036 for ; Sun, 15 Nov 2009 18:14:36 -0500 (EST) Received: by anton.digitaltorque.ca (Postfix, from userid 1000) id 55266860232; Sun, 15 Nov 2009 18:14:25 -0500 (EST) Date: Sun, 15 Nov 2009 18:14:25 -0500 From: "Michael P. Soulier" To: freebsd-questions@freebsd.org Message-ID: <20091115231424.GA29418@anton.digitaltorque.ca> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: bash prompt update lagging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 01:54:49 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, I use the same bash config on Linux, FreeBSD and Cygwin, for the most part, and I just noticed that on my FreeBSD system the prompt is updating one command too late. root@kanga:/root$ pwd /home/msoulier root@kanga:~$ cd /root root@kanga:~$ pwd /root root@kanga:/root$=20 As you can see, the prompt with my current location doesn't update until the command _following_ my directory change.=20 root@kanga:/root$ echo $PS1 \[\033[1;32m\]\[\033[0;36m\]\u\[\033[1;32m\]@\[\033[0;36m\]\h\[\033[1;32m\]= :\[\033[0;37m\]${SHORT_PWD}\[\033[1;32m\]$\[\033[0;37m\] I'm wondering if this is a bash bug on bsd, or if I'm doing something wrong. Has anyone seen this? Thanks, Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iD8DBQFLAItQKGqCc1vIvggRAvR4AJ0ceygLKbIP/AMoVqDtKPw15H/cUgCgt1Y2 63rwpkFCK+WIrKBJUrcIG7A= =DP26 -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 01:57:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A978D106566B for ; Mon, 16 Nov 2009 01:57:16 +0000 (UTC) (envelope-from frank@shute.org.uk) Received: from atmail-10.bnguk.net (atmail-10.bnguk.net [80.74.253.10]) by mx1.freebsd.org (Postfix) with ESMTP id 412E48FC12 for ; Mon, 16 Nov 2009 01:57:16 +0000 (UTC) Received: from 54-144.adsl.zetnet.co.uk ([194.247.54.144] helo=orange.esperance-linux.co.uk) by atmail-10.bnguk.net with esmtp (Exim 4.69) (envelope-from ) id 1N9qpv-00011q-SI; Mon, 16 Nov 2009 01:57:00 +0000 Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id BB40D4AC1B; Mon, 16 Nov 2009 01:56:59 +0000 (GMT) Date: Mon, 16 Nov 2009 01:56:59 +0000 From: Frank Shute To: Sabine Baer Message-ID: <20091116015659.GA77360@orange.esperance-linux.co.uk> Mail-Followup-To: Sabine Baer , freebsd-questions@freebsd.org References: <20091115181114.GA1295@amd.catfish.ddns.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091115181114.GA1295@amd.catfish.ddns.org> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.0-RC1 amd64 X-Organisation: 'shute.org.uk' Cc: freebsd-questions@freebsd.org Subject: Re: No /dev/da0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 01:57:16 -0000 On Sun, Nov 15, 2009 at 07:11:14PM +0100, Sabine Baer wrote: > > > Hello, > I am writing to this list because I haven't found anything that helps > me in the 'web' nor in usenet. > First I have to apologize for my bad english and mey bad knowing of > what I'm doing with FreeBSD, I am not a 'hacker' but just a user. > > Well my problem is mounting my digital camera. If I remember correctly > I did it with > mount_msdosfs /dev/da0s1 /lumix > I think that was under FreeBSD 6.n > But now, upgraded to 7.2, there ist no /dev/da0. > Attached to an iBook with Mac OS X 10.4 the cards were well mounted as > 'disk2s1'. > > If I attach the camera to the FreeBSD PC the console gives > [attaching the camera] > | umass0: on > |uhub0 > |(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > |(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > |(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > |(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 > |(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have > |changed > |(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > |da0 at umass-sim0 bus 0 target 0 lun 0 > |da0: Removable Direct Access SCSI-2 device > |da0: 1.000MB/s transfers > |da0: 14MB (29121 512 byte sectors: 64H 32S/T 14C) > > But there is no /dev/da0 > # ls /dev/da* > ls: No match. > > If I detach it the console writes > [detaching the camera] > | umass0: at uhub0 port 8 (addr 4) disconnected > |(da0:umass-sim0:0:0:0): lost device > |(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x39, scsi > |status == > | 0x0 > |(da0:umass-sim0:0:0:0): removing device entry > |umass0: detached > > I haven't any clue if it's FreeBSD's fault, the camera's or mine. > Is there somone who can give me some hint? > > Sabine > Have you tried playing around with camcontrol(8)? Maybe after you've plugged it in, try: # camcontrol load 0:0:0 then: # camcontrol devlist and then try mounting it if it shows up given the above command. Sometimes, you have to: # camcontrol stop 0:0:0 # camcontrol rescan 0:0:0 # camcontrol load 0:0:0 to get it to behave. Before unplugging it, unmount it and then: # camcontrol eject 0:0:0 Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 02:18:01 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 217ED1065676 for ; Mon, 16 Nov 2009 02:18:01 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id D6BC98FC1D for ; Mon, 16 Nov 2009 02:18:00 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 7B17F21B7F; Mon, 16 Nov 2009 03:17:59 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAG2HwGQ003405; Mon, 16 Nov 2009 03:17:58 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 03:17:58 +0100 From: Polytropon To: "Michael P. Soulier" Message-Id: <20091116031758.0729246c.freebsd@edvax.de> In-Reply-To: <20091115231424.GA29418@anton.digitaltorque.ca> References: <20091115231424.GA29418@anton.digitaltorque.ca> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: bash prompt update lagging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 02:18:01 -0000 On Sun, 15 Nov 2009 18:14:25 -0500, "Michael P. Soulier" wrote: > \[\033[1;32m\]\[\033[0;36m\]\u\[\033[1;32m\]@\[\033[0;36m\]\h\[\033[1;32m\]:\[\033[0;37m\]${SHORT_PWD}\[\033[1;32m\]$\[\033[0;37m\] > I'm wondering if this is a bash bug on bsd, or if I'm doing something wrong. Your PS1 seems to include ${SHORT_PWD}, a variable. It seems that it is not updated immediately after the cd command. > Has anyone seen this? No. I don't have any path information at all when I use your PS1. poly@r55:$ By the way, this is bash-3.2.25 on FreeBSD/x86 7. But I tried to replace the ${SHORT_PWD} by the \w control sequence (as mentioned in "man bash"). This is the result: $ export PS1="\[\033[1;32m\]\[\033[0;36m\]\u\[\033[1;32m\]@\[\033[0;36m\]\h\[\033[1;32m\]:\[\033[0;37m\]\w\[\033[1;32m\]$\[\033[0;37m\] " poly@r55:~$ cd /etc poly@r55:/etc$ cd /usr/src/sys poly@r55:/usr/src/sys$ And the \W short form: poly@r55:/usr/src/sys$ export PS1="\[\033[1;32m\]\[\033[0;36m\]\u\[\033[1;32m\]@\[\033[0;36m\]\h\[\033[1;32m\]:\[\033[0;37m\]\w\[\033[1;32m\]$\[\033[0;37m\] " poly@r55:sys$ cd /bin poly@r55:bin$ cd /usr/local poly@r55:local$ The username and hostname are cyan, @, : and $ are bright green. Is this what you've intended the prompt to look like? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 02:23:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ACE7106566C for ; Mon, 16 Nov 2009 02:23:16 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 25ACB8FC15 for ; Mon, 16 Nov 2009 02:23:15 +0000 (UTC) Received: by pzk15 with SMTP id 15so3368449pzk.3 for ; Sun, 15 Nov 2009 18:23:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=MIyA0+ZmOn1R+Ve5gqSXMhpWfNdQ0Mhms6URkAekZRM=; b=CuFvZ1rlZNUTZksqbEQrhVyGLk5ACby5EPyQyIaTliwbyOls/PMDndfWoPMObFLV0m d29anVuvRV/A8fxh5GzMU94t8rrKfKaJip1rOvvF4Gk701hDgyt98QJmjEHHCPVs2RK0 6lQt1K48LuaFX+aVg9xAXvX/qdSfg1zyobSQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=flEHtwy1jlJeHTpfSdMjJSFJA6V+C5CF1Hkr/oK8BZbhdwmPRXiik0BUFOZUnozzFT hQT/skO302y9jsiknyuED08ESVa3I47tJkHy7JCPVptJX4oMTmcsIl9RmNtG2fWwiwHq J/Voo5hlKUNvmCO5YYhyiHgzSXIe2cXrfpGUU= MIME-Version: 1.0 Received: by 10.142.5.29 with SMTP id 29mr761441wfe.75.1258338195684; Sun, 15 Nov 2009 18:23:15 -0800 (PST) Date: Sun, 15 Nov 2009 19:23:15 -0700 Message-ID: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> From: David Allen To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 02:23:16 -0000 Say I have performed a standard installation of FreeBSD onto a single IDE drive with the following entries in /etc/fstab: /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /var ufs rw 2 2 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 Then I added more drives. 1. The Handbook suggests there is a convention that when partitioning a a drive that's been added, to label the first new partition on that drive as 'e' as opposed to 'a' (which is reserved for the /root partition). Does the following satisfy that convention, or would starting with 'a' in each case make more sense? /dev/ad1e /foo1 ufs rw 2 2 /dev/ad1f /bar1 ufs rw 2 2 /dev/ad1g /baz1 ufs rw 2 2 /dev/ad2e /foo2 ufs rw 2 2 /dev/ad2f /bar2 ufs rw 2 2 /dev/ad3e /foo3 ufs rw 2 2 /dev/ad3f /bar3 ufs rw 2 2 2. My second question is in regards to using the 'xx' fstype to have the system ignore that device. Consider, for example, a geli encrypted partition. The .eli device doesn't exist at boot time. I discovered by accident that the system won't boot with an fstab entry for a device that doesn't exist. So if I was to record an entry in fstab, I couldn't use /dev/ad1e.eli /home/david/private ufs rw 0 0 Does that mean that the following is what's typically to record fstab entries for ignored devices? /dev/ad1e.eli /home/david/private xx rw 0 0 /dev/ad3e /fake xx rw 0 0 /dev/ad3f /reserved xx rw 0 0 Thanks. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 03:21:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 342BA106566B for ; Mon, 16 Nov 2009 03:21:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id CF0968FC08 for ; Mon, 16 Nov 2009 03:21:34 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 026B51F6B9; Mon, 16 Nov 2009 04:21:32 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAG3LVMU003565; Mon, 16 Nov 2009 04:21:32 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 04:21:31 +0100 From: Polytropon To: David Allen Message-Id: <20091116042131.d522b7f6.freebsd@edvax.de> In-Reply-To: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> References: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 03:21:35 -0000 On Sun, 15 Nov 2009 19:23:15 -0700, David Allen wrote: > 1. The Handbook suggests there is a convention that when partitioning a a > drive that's been added, to label the first new partition on that drive as > 'e' as opposed to 'a' (which is reserved for the /root partition). Does > the following satisfy that convention, or would starting with 'a' in each > case make more sense? > > /dev/ad1e /foo1 ufs rw 2 2 > /dev/ad1f /bar1 ufs rw 2 2 > /dev/ad1g /baz1 ufs rw 2 2 > > /dev/ad2e /foo2 ufs rw 2 2 > /dev/ad2f /bar2 ufs rw 2 2 > > /dev/ad3e /foo3 ufs rw 2 2 > /dev/ad3f /bar3 ufs rw 2 2 The Handbook says in 18.3.1 sub 3: A disk can have up to eight partitions, labeled a-h. A few of the partition labels have special uses. The a partition is used for the root partition (/). Thus only your system disk (e.g, the disk you boot from) should have an a partition. The b partition is used for swap partitions, and you may have many disks with swap partitions. The c partition addresses the entire disk in dedicated mode, or the entire FreeBSD slice in slice mode. The other partitions are for general use. Note the last sentence. Due to this statement, I think the usage of 'e' is arbitrary, 'd' could be okay, too, but when the Handbook says 'e' in the example (maybe with the intention of 'e' like in 'example'?), you can use 'e', too, especially when you want to use more than one partition. I have to admit that I never put slices on extra hard disks, I'm always using the whole disk, so # newfs /dev/ad3 would give me /dev/ad3 (which is the same as /dev/ad3c), and the entry /dev/ad3 /foo ufs rw 2 2 would go into fstab. I'm sure you already know this because it seems that you read up until 18.3.2.2 - you're omitting slices, "dedicated" mode. :-) Bottom line: The naming convention mentioned in the Handbook and your examples are completely okay. > 2. My second question is in regards to using the 'xx' fstype to have the > system ignore that device. > > Consider, for example, a geli encrypted partition. The .eli device > doesn't exist at boot time. I discovered by accident that the system > won't boot with an fstab entry for a device that doesn't exist. That's completely intended. :-) > So if I > was to record an entry in fstab, I couldn't use > > /dev/ad1e.eli /home/david/private ufs rw 0 0 > > Does that mean that the following is what's typically to record fstab > entries for ignored devices? > > /dev/ad1e.eli /home/david/private xx rw 0 0 > /dev/ad3e /fake xx rw 0 0 > /dev/ad3f /reserved xx rw 0 0 I would say: No. The entry for those partitions should rather be: /dev/ad1e.eli /home/david/private ufs rw,noauto 0 0 /dev/ad3e /fake ufs rw,noauto 0 0 /dev/ad3f /reserved ufs rw,noauto 0 0 The "ufs" in the FS field tells the system which FS to use when later mounting (e. g. with requiring a pass phrase from the operator), and "noauto" in the options field that prohibits mounting the file system at startup. If you used "xx" in the FS field, you could not easily # mount /reserved because the mount command wouldn't know which FS to use (allthough I think UFS might be a default here). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 03:32:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F32A2106566B for ; Mon, 16 Nov 2009 03:32:18 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id C287D8FC13 for ; Mon, 16 Nov 2009 03:32:18 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1N9sKA-0000WC-7N for freebsd-questions@freebsd.org; Sun, 15 Nov 2009 19:32:18 -0800 Message-ID: <26366441.post@talk.nabble.com> Date: Sun, 15 Nov 2009 19:32:18 -0800 (PST) From: vuthecuong To: freebsd-questions@freebsd.org MIME-Version: 1.0 X-Nabble-From: vuthecuong@luvina.net Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Default cannot install 8.0 rc2 in mobo P5QL-EM Hello, I am trying to install FreeBSD 8.0 rc2 on mobo ASUS P5QL-EM, but under the boot of the install dvd I get this run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config and then 120, 180 etc. Anyone know whats wrong? thanks Reply With Quote Multi-Quote This Message Quick reply to this message Thanks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 03:32:19 -0000 Hello, I am trying to install FreeBSD 8.0 rc2 on mobo ASUS P5QL-EM, but under the boot of the install dvd I get this run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config and then 120, 180 etc. Anyone know whats wrong? thanks -- View this message in context: http://old.nabble.com/Default-cannot-install-8.0-rc2-in-mobo-P5QL-EM-Hello%2C-I-am-trying-to-install-FreeBSD-8.0-rc2-on-mobo-ASUS-P5QL-EM%2C-but-under-the-boot-of-the-install-dvd-I-get-this--run_interrupt_driven_hooks%3A-still-waiting-after-60-seconds-for-xpt_config--and-then-120%2C-180-etc.--Anyone-know-whats-wrong--thanks-Reply-With-Quote-Multi-Quote-This-Message-Quick-reply-to-this-message-Thanks-tp26366441p26366441.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 03:51:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91A8F1065670 for ; Mon, 16 Nov 2009 03:51:00 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 408738FC14 for ; Mon, 16 Nov 2009 03:50:59 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nAG3oth3088828; Sun, 15 Nov 2009 20:50:55 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nAG3otNt088825; Sun, 15 Nov 2009 20:50:55 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 15 Nov 2009 20:50:55 -0700 (MST) From: Warren Block To: Polytropon In-Reply-To: <20091116010630.0b8f498a.freebsd@edvax.de> Message-ID: References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> <20091116010630.0b8f498a.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Sun, 15 Nov 2009 20:50:55 -0700 (MST) Cc: Manolis Kiagias , freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 03:51:00 -0000 On Mon, 16 Nov 2009, Polytropon wrote: > On Mon, 16 Nov 2009 01:49:04 +0200, Manolis Kiagias wrote: >> By the way Xorg configuration becomes more and more elusive. Initially, >> DontZap was enough. Then it had no effect at all and the fdi file was >> needed. Now seems both are needed. What's next? > > If this continues, I'll run my 5.4-p8 workstation with "old > fashioned" X (already X.org) until I die. :-) > > No, honestly: X is going to be more and more annoying. Have > you noticed the long startup time? Nearly a half minute (!!!) > on a 1.5 GHz system! That's way too long for just X. Bloated desktop environment? Disk contention? > I know that there is lots of work done to make life easier for X > developers, especially getting rid of many OS specific stuff, but... > > Finally, sliding more off-topic: Not only X gets slower with each > release, the same applies for almost all X applications, except the > "old fashioned" ones. It sounds like we have very different experiences. While I wouldn't say the current xorg is a lot faster (not counting DRM), it's certainly not slower on any of the systems I have to test. But I don't know what video board you're using either. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 04:18:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D14511065672 for ; Mon, 16 Nov 2009 04:18:39 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 681698FC12 for ; Mon, 16 Nov 2009 04:18:39 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nAG4IaXB088901; Sun, 15 Nov 2009 21:18:36 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nAG4IaFp088898; Sun, 15 Nov 2009 21:18:36 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 15 Nov 2009 21:18:36 -0700 (MST) From: Warren Block To: Polytropon In-Reply-To: <20091116014149.f7d6eafd.freebsd@edvax.de> Message-ID: References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> <20091116010630.0b8f498a.freebsd@edvax.de> <4B009B08.3070507@otenet.gr> <20091116014149.f7d6eafd.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Sun, 15 Nov 2009 21:18:36 -0700 (MST) Cc: Manolis Kiagias , freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 04:18:39 -0000 On Mon, 16 Nov 2009, Polytropon wrote: > On Mon, 16 Nov 2009 02:21:28 +0200, Manolis Kiagias wrote: >> Just the fact that I now have to edit an xml file to simply add a Greek >> keyboard layout is annoying enough. > > The fact that annoys me is that configuration seems to have > disassembled into several parts that are not located in a > central file (such as xorg.conf has been); I have no problem > with editing text files if I need to, but now it's getting > somewhat complicated - I'm not confortable with the fact that > FreeBSD is (getting) complicated, I always loved it because > everything is so simple. But xorg is not FreeBSD, so this is an unreasonable statement. FreeBSD is simple. X has never been particularly simple, and the fact that complexity grows over time is nothing new, either. > But I am not complaining! :-) I've been told that those changes > are absolutely needed to design the creation of new software > more efficiently and cheaper; this is often confused with "bloat", > but it's not, it's evolution! And there's no way around. Of course there is: if you're happy with the state of your software, stop there! Don't upgrade. Don't replace what's working with something newer. That option is usually more difficult than it initially seems. The rest of the world tends to keep on evolving. > I would be more happy if things would really get better, or > even not worse, but sadly, they seem to. Software gets slower > as well as less accessible - Gtk 2, used by many programs, is > a good (bad) example. Am I supposed to buy new computer to replace > perfectly running systems just to keep the "overall usage speed" > of everything at the same level? As above, you don't *have* to upgrade. Keep the old software, and the old hardware will run it. Like everybody, I grumble about changes that don't seem to improve things at the user level. But I try to remember that without change, nothing can improve. It's also worth remembering that open source projects like xorg give the users the rare privilege of being able to make a difference. Test code, provide hardware, document bugs or fixes, do or fund development. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 05:29:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7844C106566B for ; Mon, 16 Nov 2009 05:29:05 +0000 (UTC) (envelope-from uwe@laverenz.de) Received: from mo-p00-ob.rzone.de (mo-p00-ob.rzone.de [81.169.146.162]) by mx1.freebsd.org (Postfix) with ESMTP id E73C88FC0C for ; Mon, 16 Nov 2009 05:29:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1258349343; l=430; s=domk; d=laverenz.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=a/evuxGJJ36RNawNSHURzFN4KME=; b=pegZ1SNTo5d7VlSgEVU1I+HgOVNL8xu1CplIiAaefxyg9cmgQwacH9ex8nHyyYnP+K4 gHR4yOpnlKWJkkLNP54bvIAUQScYEW6F+boxjgdEiKffeZtA3LEUNZshU8AtCEfAVBQjX OTexzj9BubgeAb9bUwGeye4+NYtwVy7vueI= X-RZG-AUTH: :LWgJfE6Id/4Sm/WkdV0gEbKL+/p/UjmosA/b4BPR0oc5Ok8I77Tf2A== X-RZG-CLASS-ID: mo00 Received: from athena.laverenz.de (91-67-3-21-dynip.superkabel.de [91.67.3.21]) by post.strato.de (klopstock mo3) (RZmta 22.1) with ESMTP id g05932lAG3sI6g for ; Mon, 16 Nov 2009 06:29:03 +0100 (MET) Received: from localhost (localhost.localdomain [127.0.0.1]) by athena.laverenz.de (Postfix) with ESMTP id A2D6B73EC6 for ; Mon, 16 Nov 2009 06:29:01 +0100 (CET) Received: from athena.laverenz.de ([127.0.0.1]) by localhost (athena [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 13270-06 for ; Mon, 16 Nov 2009 06:29:01 +0100 (CET) Received: from [192.168.23.142] (unknown [192.168.23.142]) by athena.laverenz.de (Postfix) with ESMTP id 094F473E77 for ; Mon, 16 Nov 2009 06:29:00 +0100 (CET) Message-ID: <4B00E31D.7000709@laverenz.de> Date: Mon, 16 Nov 2009 06:29:01 +0100 From: Uwe Laverenz User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <26366441.post@talk.nabble.com> In-Reply-To: <26366441.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at laverenz.de Subject: Re: Default cannot install 8.0 rc2 in mobo P5QL-EM Hello, I am trying to install FreeBSD 8.0 rc2 on mobo ASUS P5QL-EM, but under the boot of the install dvd I get this run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config and then 120, 180 etc. Anyone know whats wrong? thanks Reply With Quote Multi-Quote This Message Quick reply to this message Thanks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 05:29:05 -0000 vuthecuong schrieb: > Hello, I am trying to install FreeBSD 8.0 rc2 on mobo ASUS P5QL-EM, but under > the boot of the install dvd I get this > > run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config > > and then 120, 180 etc. > > Anyone know whats wrong? > thanks If there is a firewire port on your board you could try to disable firewire in the BIOS settings. This is a known problem. Uwe From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 06:41:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2DFE81065694 for ; Mon, 16 Nov 2009 06:41:12 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id BA9478FC08 for ; Mon, 16 Nov 2009 06:41:11 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nAG6dxVO025997; Mon, 16 Nov 2009 06:40:04 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nAG6dxVO025997 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1258353606; bh=+28vNtPim+SlxFJUYWJxWq0VR6Kss2Ajv/ndL9UuTfQ=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B00F3B9.5050500@infracaninophile.co.uk>|Date:=20M on,=2016=20Nov=202009=2006:39:53=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20freebsd-questions@freebsd.org|CC:=20"Ronald=20F.= 20Guilmette"=20|Subject:=20Re:=20Bad=20Bloc ks...=20Should=20I=20RMA?|References:=20<42307.1258330015@tristate logic.com>=20<44my2n45zd.fsf@be-well.ilk.org>|In-Reply-To:=20<44my 2n45zd.fsf@be-well.ilk.org>|X-Enigmail-Version:=200.95.6|Content-T ype:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protoc ol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"---------- --enig1C3AA9122AA101440FF12FCC"; b=J2dCh0RKlnlvtokNqsAo6n9fYXpfnLd4Ne4vhvMGus+vYDzU5AeBQWXgvhd+jMwAc NcDhijEHF3BTXsRbYHPpYQtsQ7GQPSvlkm3X1YU5tl0x/+VjuWa8vpxiQOH3gYzq8W Jo0DEgrSvP41T4gsAehTP8vFxpcj1CLhl1LDM7Jc= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B00F3B9.5050500@infracaninophile.co.uk> Date: Mon, 16 Nov 2009 06:39:53 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <42307.1258330015@tristatelogic.com> <44my2n45zd.fsf@be-well.ilk.org> In-Reply-To: <44my2n45zd.fsf@be-well.ilk.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig1C3AA9122AA101440FF12FCC" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: "Ronald F. Guilmette" Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 06:41:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1C3AA9122AA101440FF12FCC Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Lowell Gilbert wrote: > "Ronald F. Guilmette" writes: >=20 >> Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=3D51 error=3D40 LBA=3D256230591 >=20 > This is *not* necessarily a big deal, despite what your other response > told you. Errors on reads do not mean that your drive's bad-sector > table is full; only errors on write indicate that. If you can try > manufacturer's drive diagnostics, do that. If you can't, then it's > harder to fix things up, but not impossible; write back if you > really can't use a low-level diag. Yes -- this is correct. It's possible for a disk to be unable to read a = sector, but rewriting the sector would either succeed and leave the sector fully = working again, or cause it to be remapped in which case the disk will subsequentl= y perform=20 perfectly well[*]. Beyond running the manufacturers diagnostics, as the OP has said he has = nothing particularly valuable on the drive, it might be worth running a f= ew passes of dban or similar on the disk --- this will overwrite every part of the platter = and should make it abundantly clear if there is a real and persistent problem= =2E If you can't afford to scrub the disk, then just keep it under observation: = if the problems recur within a few weeks then yes, definitely RMA that drive. Cheers, Matthew =20 [*] If the error messages have disappeared since, then this has probably already happened. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig1C3AA9122AA101440FF12FCC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksA874ACgkQ8Mjk52CukIxukQCaA1i9VJB5FZf3ETbcPUv+V9jo Hg8An25YY0zm+wnuTpt+6bWGjjsrMpC4 =gAus -----END PGP SIGNATURE----- --------------enig1C3AA9122AA101440FF12FCC-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 06:48:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BEB7106568F for ; Mon, 16 Nov 2009 06:48:45 +0000 (UTC) (envelope-from the.real.david.allen@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 5F14B8FC1E for ; Mon, 16 Nov 2009 06:48:45 +0000 (UTC) Received: by pzk15 with SMTP id 15so3486303pzk.3 for ; Sun, 15 Nov 2009 22:48:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=fUWkqCbW8szNNlxyvp6fesSIQqijEHkgt7b4s0xq2LI=; b=BLK1T/vA21Y8jehkQyXfKvUAtvABJwU1eyBdvUzHHYN0oylLG3qDOfOLFtKXpi/PFT B1J9Sle7JChAzjXeeVAn2d4xMc0PDlxtadMAyuzk1J1Pjn7lP2EfNQaKyCiBBI9tiqJX Lqg0uNUPrdR5jx3NWWwIywXqWC6d0b1SFXDMo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=f8UfN4bV0qO4Iguy6KIS89Pc7uJNY/K9K2h0cof6U6LKwOBjRjybJoPhZS2l3mdzyO SgzWf2julCqbDSfEBCTp0Zo0A4ZTC7RgixJnlXEXUthjsoJon8c5hkRKkMf1X3hDb6IX BYb3cpTSheIJMM8KkG3EQBNkiKSltnmuZij+I= MIME-Version: 1.0 Received: by 10.142.56.18 with SMTP id e18mr672135wfa.40.1258354125085; Sun, 15 Nov 2009 22:48:45 -0800 (PST) In-Reply-To: <20091116042131.d522b7f6.freebsd@edvax.de> References: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> <20091116042131.d522b7f6.freebsd@edvax.de> Date: Sun, 15 Nov 2009 22:48:45 -0800 Message-ID: <2daa8b4e0911152248l228e6bd2va78853defdf40009@mail.gmail.com> From: David Allen To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 06:48:45 -0000 On 11/15/09, Polytropon wrote: > On Sun, 15 Nov 2009 19:23:15 -0700, David Allen wrote: >> 1. The Handbook suggests there is a convention that when partitioning >> a a drive that's been added, to label the first new partition on that >> drive as 'e' as opposed to 'a' (which is reserved for the /root >> partition). Does the following satisfy that convention, or would >> starting with 'a' in each case make more sense? >> >> /dev/ad1e /foo1 ufs rw 2 2 >> /dev/ad1f /bar1 ufs rw 2 2 >> /dev/ad1g /baz1 ufs rw 2 2 >> >> /dev/ad2e /foo2 ufs rw 2 2 >> /dev/ad2f /bar2 ufs rw 2 2 >> >> /dev/ad3e /foo3 ufs rw 2 2 >> /dev/ad3f /bar3 ufs rw 2 2 > > The Handbook says in 18.3.1 sub 3: > > A disk can have up to eight partitions, labeled a-h. > A few of the partition labels have special uses. > The a partition is used for the root partition (/). > Thus only your system disk (e.g, the disk you boot > from) should have an a partition. The b partition > is used for swap partitions, and you may have many > disks with swap partitions. The c partition addresses > the entire disk in dedicated mode, or the entire > FreeBSD slice in slice mode. The other partitions > are for general use. > > Note the last sentence. Due to this statement, I think the > usage of 'e' is arbitrary, 'd' could be okay, too, but when > the Handbook says 'e' in the example (maybe with the intention > of 'e' like in 'example'?), you can use 'e', too, especially > when you want to use more than one partition. Well, you and I seem to be on the same page, but I was referring to the following: 2.6.5 Creating Partitions Using Disklabel Table 2-3. Partition Layout for Subsequent Disks The rest of the disk is taken up with one big partition. This could easily be put on the a partition, instead of the e partition. However, convention says that the a partition on a slice is reserved for the filesystem that will be the root (/) filesystem. You do not have to follow this convention, but sysinstall does, so following it yourself makes the installation slightly cleaner. You can choose to mount this filesystem anywhere; this example suggests that you mount them as directories /diskn, where n is a number that changes for each disk. But you can use another scheme if you prefer. The 'e' partition is again used in the Handbook section 18.3 Adding Disks. I guess I'm looking for the pedantic answer, but I'll settle for less. > I have to admit that I never put slices on extra hard disks, > I'm always using the whole disk, so > > # newfs /dev/ad3 > > would give me /dev/ad3 (which is the same as /dev/ad3c), and > the entry > > /dev/ad3 /foo ufs rw 2 2 > > would go into fstab. > > I'm sure you already know this because it seems that you read > up until 18.3.2.2 - you're omitting slices, "dedicated" mode. :-) I'd prefer the same with the "first" disk, but sysinstall won't accomodate it, and on most installations, it's more work trying to work around sysinstall than it is using it. So non-dedicated it is. > Bottom line: The naming convention mentioned in the Handbook > and your examples are completely okay. Great. >> 2. My second question is in regards to using the 'xx' fstype to have >> the system ignore that device. >> >> Consider, for example, a geli encrypted partition. The .eli device >> doesn't exist at boot time. I discovered by accident that the system >> won't boot with an fstab entry for a device that doesn't exist. > > That's completely intended. :-) LOL. Surprised me. I figured a 'noauto' for a non-existent device would be acceptable. >> So if I was to record an entry in fstab, I couldn't use >> >> /dev/ad1e.eli /home/david/private ufs rw 0 0 >> >> Does that mean that the following is what's typically to record fstab >> entries for ignored devices? >> >> /dev/ad1e.eli /home/david/private xx rw 0 0 >> /dev/ad3e /fake xx rw 0 0 >> /dev/ad3f /reserved xx rw 0 0 > > I would say: No. The entry for those partitions should rather be: > > /dev/ad1e.eli /home/david/private ufs rw,noauto 0 0 > /dev/ad3e /fake ufs rw,noauto 0 0 > /dev/ad3f /reserved ufs rw,noauto 0 0 But the eli device doesn't exist until after it's attached, which, in my case, will happen manually and on-demand after boot. > The "ufs" in the FS field tells the system which FS to use when > later mounting (e. g. with requiring a pass phrase from the > operator), and "noauto" in the options field that prohibits > mounting the file system at startup. A pass phrase from the operator? Not likely. It's not a desktop. Each of the following will result in the system not booting: # there is no ad4 /dev/ad4a /foo ufs rw,noauto 0 0 # ad1e is encrypted so ufs is not a valid fstype /dev/ad1e /foo ufs rw,noauto 0 0 # the eli device doesn't exist at boot time /dev/ad1e.eli /foo ufs rw,noauto 0 0 > If you used "xx" in the FS field, you could not easily > > # mount /reserved > > because the mount command wouldn't know which FS to use (allthough > I think UFS might be a default here). I can live with that (the encrypted partition has to be attached manually anyways). But I do want to use fstab to record what goes where. I end up with two devices, right? So what two entries should I make in fstab? The following won't work. /dev/ad1e /foo ufs rw,noauto 0 0 /dev/ad1.eli /foo ufs rw,noauto 0 0 From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 06:56:15 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 625FB106566B for ; Mon, 16 Nov 2009 06:56:15 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id EEF448FC0A for ; Mon, 16 Nov 2009 06:56:14 +0000 (UTC) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.3/8.14.3) with ESMTP id nAG6uAtc027146; Mon, 16 Nov 2009 06:56:10 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk nAG6uAtc027146 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=infracaninophile.co.uk; s=200708; t=1258354571; bh=dhnfDN49Q8bbh3h6N7ORhRWUdBGtwMsumd1r5EVaJRM=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B00F785.2080306@infracaninophile.co.uk>|Date:=20M on,=2016=20Nov=202009=2006:56:05=20+0000|From:=20Matthew=20Seaman= 20|Organization:=20Infracaninophi le|User-Agent:=20Thunderbird=202.0.0.23=20(X11/20090823)|MIME-Vers ion:=201.0|To:=20freebsd-questions@freebsd.org|CC:=20"Ronald=20F.= 20Guilmette"=20|Subject:=20Re:=20Bad=20Bloc ks...=20Should=20I=20RMA?|References:=20<42307.1258330015@tristate logic.com>=20<44my2n45zd.fsf@be-well.ilk.org>|In-Reply-To:=20<44my 2n45zd.fsf@be-well.ilk.org>|X-Enigmail-Version:=200.95.6|Content-T ype:=20multipart/signed=3B=20micalg=3Dpgp-sha256=3B=0D=0A=20protoc ol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"---------- --enig0CD431D471E3BABD3AA77B5D"; b=fzo6ic6g6oG8kRVSJIUPUBGDwVmiKy7/ZUaoTG7tnS6tIQ/qSMjY+Ijd8z1MFoPfD 2JOLsjmp2xOmGh6Bz0AvfUc6dQ4IGME4F2Hcx1tJOepaDCMFZfZSkREUcfIDKQzM+h 2eUPMS9veXQDz8GfNVh1640efmzHQYnN1Di9n1bU= X-Authentication-Warning: happy-idiot-talk.infracaninophile.co.uk: Host localhost [IPv6:::1] claimed to be happy-idiot-talk.infracaninophile.co.uk Message-ID: <4B00F785.2080306@infracaninophile.co.uk> Date: Mon, 16 Nov 2009 06:56:05 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Thunderbird 2.0.0.23 (X11/20090823) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <42307.1258330015@tristatelogic.com> <44my2n45zd.fsf@be-well.ilk.org> In-Reply-To: <44my2n45zd.fsf@be-well.ilk.org> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig0CD431D471E3BABD3AA77B5D" X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-3.0 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: "Ronald F. Guilmette" Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 06:56:15 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0CD431D471E3BABD3AA77B5D Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Lowell Gilbert wrote: > "Ronald F. Guilmette" writes: >=20 >> Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=3D51 error=3D40 LBA=3D256230591 >=20 > This is *not* necessarily a big deal, despite what your other response > told you. Errors on reads do not mean that your drive's bad-sector > table is full; only errors on write indicate that. If you can try > manufacturer's drive diagnostics, do that. If you can't, then it's > harder to fix things up, but not impossible; write back if you > really can't use a low-level diag. Yes -- this is correct. It's possible for a disk to be unable to read a = sector, but rewriting the sector would either succeed and leave the sector fully = working again, or cause it to be remapped in which case the disk will subsequentl= y perform=20 perfectly well[*]. Beyond running the manufacturers diagnostics, as the OP has said he has = nothing particularly valuable on the drive, it might be worth running a f= ew passes of dban or similar on the disk --- this will overwrite every part of the platter = and should make it abundantly clear if there is a real and persistent problem= =2E If you can't afford to scrub the disk, then just keep it under observation: = if the problems recur within a few weeks then yes, definitely RMA that drive. Cheers, Matthew =20 [*] If the error messages have disappeared since, then this has probably already happened. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW --------------enig0CD431D471E3BABD3AA77B5D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREIAAYFAksA94oACgkQ8Mjk52CukIxfRQCfUVugkTJK287Tis5db8LQTNmK TjsAoISOJITyTEvxYjNjsF6sbEbBF0nj =84at -----END PGP SIGNATURE----- --------------enig0CD431D471E3BABD3AA77B5D-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 06:56:52 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7921B106566B for ; Mon, 16 Nov 2009 06:56:52 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 365188FC13 for ; Mon, 16 Nov 2009 06:56:51 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAG6uiAa018446 for ; Sun, 15 Nov 2009 22:56:45 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 15 Nov 2009 22:56:48 -0800 (PST) Date: Sun, 15 Nov 2009 22:56:47 -0800 From: Gary Kline To: Manolis Kiagias Message-ID: <20091116065647.GD11539@thought.org> References: <20091115234930.GA11465@thought.org> <4B00955E.908@otenet.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B00955E.908@otenet.gr> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 06:56:52 -0000 On Mon, Nov 16, 2009 at 01:57:18AM +0200, Manolis Kiagias wrote: > Gary Kline wrote: > > ok, i have my new server-to-be underway but having problems exec'ing > > /usr/sbin/sshd. i can ssh out to existing computers, but cannot ssh > > or scp stuff in. so my question is: how do i create > > /etc/ssh/ssh_host_dsa_key ? checking around does no good. > > > > tia for any insights, > > > > gary > > > > > Add: > > sshd_enable="YES" to /etc/rc.conf and then execute: > > /etc/rc.d/sshd start (or reboot your system) > > The keys will be automatically created at first startup of the ssh daemon yup, this did the trick. i had assumed that ths 'sshd_enable=YES' line was there. but rc.conf was all but empty. tx again. > _______________________________________________ > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 07:01:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 00C4F106566B for ; Mon, 16 Nov 2009 07:01:05 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id B2B798FC0C for ; Mon, 16 Nov 2009 07:01:04 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAG70rC1018511; Sun, 15 Nov 2009 23:00:53 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Sun, 15 Nov 2009 23:00:56 -0800 (PST) Date: Sun, 15 Nov 2009 23:00:56 -0800 From: Gary Kline To: Polytropon Message-ID: <20091116070056.GE11539@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091116010014.f3ca28de.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 07:01:05 -0000 On Mon, Nov 16, 2009 at 01:00:14AM +0100, Polytropon wrote: > On Sun, 15 Nov 2009 15:49:33 -0800, Gary Kline wrote: > > > > ok, i have my new server-to-be underway but having problems exec'ing > > /usr/sbin/sshd. i can ssh out to existing computers, but cannot ssh > > or scp stuff in. so my question is: how do i create > > /etc/ssh/ssh_host_dsa_key ? checking around does no good. > > Maybe I remember incorrectly, but doesn't sshd create this file > on its first startup? > > Do you have > > sshd_enable="YES" > > in /etc/rc.conf? Is sshd running, or do you get error messages > regarding the host DSA key file? > > there were stderrs output when i tried to exec sshd. reason was that the rc.conf entry was not in rc.conf. (this is all going into my .howto file.... gary > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 08:55:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9DCE1065670 for ; Mon, 16 Nov 2009 08:55:25 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65501.mail.ac4.yahoo.com (web65501.mail.ac4.yahoo.com [76.13.9.45]) by mx1.freebsd.org (Postfix) with SMTP id 77DEC8FC08 for ; Mon, 16 Nov 2009 08:55:25 +0000 (UTC) Received: (qmail 39120 invoked by uid 60001); 16 Nov 2009 08:55:24 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258361724; bh=o0bcoMy+ViMJ8Y7zUk4O7HT0HOBuObkXAq3GXHkTRgQ=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=mnOVBQ3RpxFgn2OLHIr6u4ZOqoWMaDaD0YrvHiiVox5/Dn413c4Y7t/CffMENU3ju4rGR9vGB5B/5pOMbPow5UJtmmHk1/Am7L3gWA20i8KZ9jqXJWnE3gzbjf8kkD13otEPEWPms8tKZxq4yk2xUF5M9HT1xhvqjvdIcmXdC1k= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=TgvTIYjHRx51QaNFGafncK0IYSwUNdPW5DYTL5BjFuYF9ee22ZZZGL/JOHs5bcDHYlu8VFktRpszaZPEcXqbt2grt8OiYJfJdZh8nDzpG8Na2LiFxGa7q8i+0q2C+OJGody5kayd2YWu38AY2E3j28n2GNcO1Zb/LA8vhM/tnPs=; Message-ID: <620008.37163.qm@web65501.mail.ac4.yahoo.com> X-YMail-OSG: sVs08PEVM1mf3eDy7bDm2cWeEOrjrbvIcDgaC1SE4Yp8CcdjXQXezHfp8aMdEBCmsEfFgz33a0sDqpma_XouYcUopaygq5imhrE0NNwBPBsqfchaUXu6ckaWp6Kk3t22TRo0bm1awTKfR5yZo6JCSM32lKgOAS5FcOfWlQQ.WBA98NWjOWNhPS.IgsB6sliu3R35my49bHAolsSW7Sr1BkNyQpaPzvuiOwIoYU0IGy0udDWAz6DHDw1p37ilIfwrnShubGnIXUKf5.n76mtOyP1eCh0xSp2z_mtssNsj99nf3tnRN1dwzgmoEIMBI4inHTUfW3pSrrvkGVJL._ljD9XKq1YfTTBFYPFT_7IPowTcguJCnk6BVoiDGrTvrfSPzixLsTH83tT8KqNk5Gvm3cRMxmqE3GfhAX0tuyg6QV6AW0pFb9uVtUbYMNFMK4mSxj4sSYlhhJQk1r1g5Vd0Esi.Ab7NFGOCZX4HKlrx.mJvl5_n2BL6A2034jEebXuCBAZidMpLYv6_.QZQUbUaF8DKjLZyF_zX5a1LbBwt6H.KmmZpdsQhrUshsiIyYtp_uLAwfAOmsJBQAMpWMlgtMarSCRO8cIVkV9.1gOu0fD5m7dL1br.mna_TDdLbJtUrnI.oRmrnmR4CqWx5SvORXcQgoThgDYp5Db6kt5M6nU4lWCm38hgfrIsilGl5LE6iog.gs48DQTSjbMyYSNcgd6QOS5STWU_yq5Un9U8KKQOaJy_2eiy9BixeRnBcR2oF8pD2FLd50LNDgU4ORS_NWDUI17ww4GbO.UGwCsjerofvFh2ViO3x Received: from [208.99.137.71] by web65501.mail.ac4.yahoo.com via HTTP; Mon, 16 Nov 2009 00:55:24 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Mon, 16 Nov 2009 00:55:24 -0800 (PST) From: James Phillips To: CyberLeo Kitsana In-Reply-To: <4B008F27.4030903@cyberleo.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: [FreeBSD Questions] Filesystem image as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 08:55:25 -0000 =0A=0A--- On Sun, 11/15/09, CyberLeo Kitsana wrote:= =0A> James Phillips wrote:=0A> >> Date: Sat, 14 Nov 2009 20:29:59 -0600=0A>= >> From: CyberLeo Kitsana =0A> >> Subject: [FreeBSD= Questions] Filesystem image as=0A> root=0A> >>=0A> >> The single IDE conne= ctor is accessible via the=0A> legacy ISA=0A> >> ports, and is=0A> >> thus = limited to PIO modes (about 1.6MB/sec max,=0A> even with=0A> >> an actual h= ard=0A> >> drive instead of a CF card).=0A> > =0A> > You are off by an orde= r of magnitude (base 2 or 10):=0A> > Pio mode 0 is ~3.3 MB/s=0A> > Pio mode= 4 is ~16.7 MB/s=0A> > =0A> > http://www.pcguide.com/ref/hdd/if/ide/modesPI= O-c.html=0A> > =0A> > You can probably set PIO mode 4 for with:=0A> > # ata= control mode ad0 PIO4=0A> =0A> If only that were true in this case.=0A> =0A= > (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4=0A> current mode =3D = PIO2=0A> (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4=0A> current mo= de =3D PIO2=0A> (85eef1f3)[root@ss4200 ~]# dd if=3D/dev/ad0 of=3D/dev/null= =0A> bs=3D4096 count=3D4096=0A> 4096+0 records in=0A> 4096+0 records out=0A= > 16777216 bytes transferred in 10.111748 secs (1659181=0A> bytes/sec)=0A> = =0A> Nothing I've tried seems to boost the throughput, hence the=0A> desire= to=0A> use a compressed cached filesystem image.=0A> =0A> Thanks for the s= uggestions, though!=0AOuch!=0A=0AI thought the laptop I was "fixing" last w= eek was bad: running Vista with a 10MB/s transfer rate :P=0A=0AThe drive in= my Pentium 166 gets 11-12MB/s.=0A=0AI actually looked up both the PIO mode= s:=0Ahttp://en.wikipedia.org/wiki/Programmed_input/output=0A=0AAnd the spec= sheet (assuming Tom's hardware was wrong) before composing my original rep= ly:=0AIntel=AE Entry Storage System SS4200-E=0ATechnical product specificat= ion [PDF]=0Ahttp://download.intel.com/support/motherboards/server/ss4200-e/= sb/ss4200e_tps_11.pdf=0A=0AI noted that the ATA port is not listed as a fea= ture, which is not a good sign. It does appear in the block-diagram labeled= :DOM=0AGlossary definition: Disk On Module=0A=0AIf I had to guess: Intel di= d something "weird" or "non-standard" to the port, so the standard BSD driv= er does not work properly.=0AHave you read the ata(4) manual page?=0AThe fo= llowing /boot/device.hints are suggested for ISA:=0Ahint.ata.0.at=3D"isa"= =0Ahint.ata.0.port=3D"0x1f0"=0Ahint.ata.0.irq=3D"14"=0A. . . port '1' proba= bly not needed=0AI had a thought: it could just as easily be "pc98" if they= don't intend for you to touch the "firmware."=0A=0A=0AThe firmware has sou= rce code available under a GPL license.=0AEMCLifeLineOEMSW-1.0-GPLComponent= s.tar.gz=0AVer:1.0=09Date:9/24/2009=09Size:125585 (KB)=0A=0AEMCLifeLineOEMS= W-1.1-GPLComponents.tar.gz=0AVer:1.1=09Date:9/24/2009=09Size:244406 (KB)=0A= =0AIf you are worried about license contamination, you may have to get some= body to look through that and document any changes (to the ATA interface). = Hopefully it is based on a well-know code-base like Linux and the "diff" ut= ility can be used.=0A=0AOf course, the term "components" implies they only = expose a HAL of some kind.=0A=0ARegards,=0A=0AJames Phillips=0A=0APS:"# ata= control mode ad0" will simply print out the current mode.=0A=0A=0A=0A = __________________________________________________________________=0AThe ne= w Internet Explorer=AE 8 - Faster, safer, easier. Optimized for Yahoo! Ge= t it Now for Free! at http://downloads.yahoo.com/ca/internetexplorer/ From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 09:38:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06BA1106566B for ; Mon, 16 Nov 2009 09:38:55 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from mtumishi.cyberleo.net (mtumishi.cyberleo.net [69.72.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id BB94D8FC1C for ; Mon, 16 Nov 2009 09:38:54 +0000 (UTC) Received: from [172.16.44.14] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by mtumishi.cyberleo.net (Postfix) with ESMTPSA id 91E1126899; Mon, 16 Nov 2009 04:40:34 -0500 (EST) Message-ID: <4B011DAC.1090504@cyberleo.net> Date: Mon, 16 Nov 2009 03:38:52 -0600 From: CyberLeo Kitsana User-Agent: Thunderbird 2.0.0.23 (X11/20091109) MIME-Version: 1.0 To: James Phillips References: <620008.37163.qm@web65501.mail.ac4.yahoo.com> In-Reply-To: <620008.37163.qm@web65501.mail.ac4.yahoo.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: CyberLeo , freebsd-questions@freebsd.org Subject: Re: [FreeBSD Questions] Filesystem image as root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 09:38:55 -0000 James Phillips wrote: > > --- On Sun, 11/15/09, CyberLeo Kitsana wrote: >> James Phillips wrote: >>>> Date: Sat, 14 Nov 2009 20:29:59 -0600 >>>> From: CyberLeo Kitsana >>>> Subject: [FreeBSD Questions] Filesystem image as >> root >>>> The single IDE connector is accessible via the >> legacy ISA >>>> ports, and is >>>> thus limited to PIO modes (about 1.6MB/sec max, >> even with >>>> an actual hard >>>> drive instead of a CF card). >>> You are off by an order of magnitude (base 2 or 10): >>> Pio mode 0 is ~3.3 MB/s >>> Pio mode 4 is ~16.7 MB/s >>> >>> http://www.pcguide.com/ref/hdd/if/ide/modesPIO-c.html >>> >>> You can probably set PIO mode 4 for with: >>> # atacontrol mode ad0 PIO4 >> If only that were true in this case. >> >> (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4 >> current mode = PIO2 >> (85eef1f3)[root@ss4200 ~]# atacontrol mode ad0 PIO4 >> current mode = PIO2 >> (85eef1f3)[root@ss4200 ~]# dd if=/dev/ad0 of=/dev/null >> bs=4096 count=4096 >> 4096+0 records in >> 4096+0 records out >> 16777216 bytes transferred in 10.111748 secs (1659181 >> bytes/sec) >> >> Nothing I've tried seems to boost the throughput, hence the >> desire to >> use a compressed cached filesystem image. >> >> Thanks for the suggestions, though! > Ouch! > > I thought the laptop I was "fixing" last week was bad: running Vista with a 10MB/s transfer rate :P > > The drive in my Pentium 166 gets 11-12MB/s. > > I actually looked up both the PIO modes: > http://en.wikipedia.org/wiki/Programmed_input/output > > And the spec sheet (assuming Tom's hardware was wrong) before composing my original reply: > Intel® Entry Storage System SS4200-E > Technical product specification [PDF] > http://download.intel.com/support/motherboards/server/ss4200-e/sb/ss4200e_tps_11.pdf > > I noted that the ATA port is not listed as a feature, which is not a good sign. It does appear in the block-diagram labeled:DOM > Glossary definition: Disk On Module The model I have is the SS-4200EHW. Identical, save the lack of a DOM and firmware. And price. > If I had to guess: Intel did something "weird" or "non-standard" to the port, so the standard BSD driver does not work properly. > Have you read the ata(4) manual page? > The following /boot/device.hints are suggested for ISA: > hint.ata.0.at="isa" > hint.ata.0.port="0x1f0" > hint.ata.0.irq="14" This is actually how I got the amd64 build to recognize the port. These lines were present in x86, but missing in amd64 device.hints. > . . . port '1' probably not needed > I had a thought: it could just as easily be "pc98" if they don't intend for you to touch the "firmware." Hm. This might be something to look into. > The firmware has source code available under a GPL license. > EMCLifeLineOEMSW-1.0-GPLComponents.tar.gz > Ver:1.0 Date:9/24/2009 Size:125585 (KB) > > EMCLifeLineOEMSW-1.1-GPLComponents.tar.gz > Ver:1.1 Date:9/24/2009 Size:244406 (KB) I checked previously, and Linux has the same limitations. The port is recognized as a legacy ISA IDE port by the ide-generic driver, and maxes out at a ludicrously low throughput. The official firmware gets around this by preloading filesystems into RAM. > If you are worried about license contamination, you may have to get somebody to look through that and document any changes (to the ATA interface). Hopefully it is based on a well-know code-base like Linux and the "diff" utility can be used. > > Of course, the term "components" implies they only expose a HAL of some kind. > > Regards, > > James Phillips > > PS:"# atacontrol mode ad0" will simply print out the current mode. -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 11:27:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D245106568B for ; Mon, 16 Nov 2009 11:27:59 +0000 (UTC) (envelope-from qpatush@ilik.net) Received: from mail1.ilik.net (mail1.ilik.net [192.71.20.43]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9768FC08 for ; Mon, 16 Nov 2009 11:27:59 +0000 (UTC) Received: from localhost (localhost.ilik.net [127.0.0.1]) by mail1.ilik.net (Postfix) with ESMTP id 6D2122C3808 for ; Mon, 16 Nov 2009 12:00:03 +0100 (CET) X-Virus-Scanned: by amavisd-new at ilik.net Received: from mail1.ilik.net ([127.0.0.1]) by localhost (mail1.ilik.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CS5ZrDlF8kuX for ; Mon, 16 Nov 2009 12:00:01 +0100 (CET) Received: from paus.verkstad.net (paus.verkstad.net [192.36.157.35]) by mail1.ilik.net (Postfix) with ESMTP id 44C3E2C3806 for ; Mon, 16 Nov 2009 12:00:00 +0100 (CET) Message-ID: <4B01331F.7080305@ilik.net> Date: Mon, 16 Nov 2009 12:10:23 +0100 From: Patrik Usher User-Agent: Thunderbird 2.0.0.21 (X11/20090406) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: NFS and crossmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 11:27:59 -0000 Hi All ! I'm chaning fileserver to a FreeBSD 7.2 from my old linux and can't find how to define the option "crossmnt" (crossmount) for NFS. Does anyone know if it's supported under FreeBSD 7 and if so, how to define it ? Thanks //paus From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 11:38:44 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B2D61065672 for ; Mon, 16 Nov 2009 11:38:44 +0000 (UTC) (envelope-from gesbbb@yahoo.com) Received: from smtp104.prem.mail.ac4.yahoo.com (smtp104.prem.mail.ac4.yahoo.com [76.13.13.43]) by mx1.freebsd.org (Postfix) with SMTP id F32B98FC25 for ; Mon, 16 Nov 2009 11:38:43 +0000 (UTC) Received: (qmail 56596 invoked from network); 16 Nov 2009 11:38:43 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Date:From:To:Subject:Message-ID:In-Reply-To:References:Followup-To:Reply-To:Organization:X-Mailer:Face:Mime-Version:Content-Type:Content-Transfer-Encoding; b=2YbHJT2oo2aojHeA4koLxrcQr/EJhoaZYCyjh21p8TDqyK036ah6okkHhyRZfAiMwTNntZRCHLwnk6M1/mnoaS7NzT9utzh01Vtmyyxcu/t8KMRL2aBEAh6GbV8V5Y7loRvqIsOnSZjsXtkpfnbszzkhM5gxEJTcrfwvxQ5OJ0c= ; Received: from c-67-189-183-172.hsd1.ny.comcast.net (gesbbb@67.189.183.172 with login) by smtp104.prem.mail.ac4.yahoo.com with SMTP; 16 Nov 2009 03:38:42 -0800 PST X-Yahoo-SMTP: yeAAMgKswBATCul4lSbCWspvTA-- X-YMail-OSG: V_P0W5oVM1l6XZMngLCgz9OXGhZ5V2XdSO.UvO9pUNBP7yeTcGKO4h5W8WVX0v9WhIch72C7KPnxIfarbb3cy.My1yu3PpouXCgZorEGNh1AEIziFyocB5S9RpxKul4u6Oh4hzUJqO.kmn8KJVuWdC46BIjZaUC0oro5cMMDRSDyWlOnBulPmDE2GcY4eNQsoRJ56ZdC1lTTto71QR2icQ.37HAwBVNUjs30lovVxXZ9zVfM1Wpohmcj28GojYVwOT1yGBJ1H8OAURyhGuEQNR6NoRfdm9691fDncjrP_s3fX2seYT1rjEFbjy26UJA9VsUfw5PFVH_lY9XKtM1tRA-- X-Yahoo-Newman-Property: ymail-3 Received: from scorpio.seibercom.net (scorpio.seibercom.net [192.168.1.103]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: gesbbb@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 8BD7222838 for ; Mon, 16 Nov 2009 06:38:42 -0500 (EST) Date: Mon, 16 Nov 2009 06:38:42 -0500 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20091116063842.27411cd8@scorpio.seibercom.net> In-Reply-To: References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> <20091116010630.0b8f498a.freebsd@edvax.de> <4B009B08.3070507@otenet.gr> <20091116014149.f7d6eafd.freebsd@edvax.de> Followup-To: freebsd-questions@freebsd.org Organization: seibercom.net X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEX+/v7++v6YOTrq8PCcuIX989UvOSj++v0BNCbpAAAAB3RJTUUHsQwfFzs7RBhzUQAAAhJJREFUOI1dU8GOqzAMNKIoV1bvwD1i0ysqrHplIdBrVSX7ATSbd03VVvn9tQNtQy0hjAdn7LED4AAcPtWm9RV+MPSfxhBLx9ajd6X/ngB6/mTwnRSZua7i7Ca+0ctZKo4Qmz+JY13X6I3nFZBxIYW1PbgfQ5RP8g0XlltEWGf3cV03joYpRnFbvYDKbXjZlXyyhEZA4lI+cN3NaVXE4VKjSwTExO10eTEkkJVqIAD5z0nUBQJluQDRSQjcrBiHAJxZlAH5CUMBMC7OcJ4LMQNnxhZ1HYPscMc6J4UlWRMNwzOpCcAHKSICd1EDn83abdREIbXsHkD1OinP1aCUCOEVRaa1lMcvywUWdYgk13JQUpYNKmvXQ8Kw5ML9YI5h8SakctBc7E/IYuLhYd/zZIk+1gM1vNweQBvHE0j+oYah3sMqAytQYlZk6+ANaaawJdu3OFzYGMZ3iGpa3qMlq9ZH0VZTgrCtw/ngdYkEIIpSbP1bWQAdFdX9vocBdkH2qVjVmuMu3gI5rjs814EUdrCZgWlPaxZZ3RiLFUtr+ud0PXwp2dnQSNXgePt6AZpBj6UMJ7VQkzN4utVeaSW1Dhn/kblGrKeMvNGnzwX4zuEDarYz1KdPtR60Gul0Gued+515SJXhCsl+Tx/3kY/UDvicPll9mfu50t3tvQ/thZpJYgeuwdSKNJ6tCD98MCgoxLDaPxbwqqwPWaWiAAAAAElFTkSuQmCC X-Face: "\j?x](l|]4p?-1Bf@!wN<&p=$.}^k-HgL}cJKbQZ3r#Ar]\%U(#6}'?<3s7%(%(gxJxxcR Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 11:38:44 -0000 On Sun, 15 Nov 2009 21:18:36 -0700 (MST) Warren Block replied: >On Mon, 16 Nov 2009, Polytropon wrote: > >> On Mon, 16 Nov 2009 02:21:28 +0200, Manolis Kiagias >> wrote: >>> Just the fact that I now have to edit an xml file to simply add a >>> Greek keyboard layout is annoying enough. >> >> The fact that annoys me is that configuration seems to have >> disassembled into several parts that are not located in a >> central file (such as xorg.conf has been); I have no problem >> with editing text files if I need to, but now it's getting >> somewhat complicated - I'm not confortable with the fact that >> FreeBSD is (getting) complicated, I always loved it because >> everything is so simple. > >But xorg is not FreeBSD, so this is an unreasonable statement. >FreeBSD is simple. X has never been particularly simple, and the fact >that complexity grows over time is nothing new, either. > >> But I am not complaining! :-) I've been told that those changes >> are absolutely needed to design the creation of new software >> more efficiently and cheaper; this is often confused with "bloat", >> but it's not, it's evolution! And there's no way around. > >Of course there is: if you're happy with the state of your software, >stop there! Don't upgrade. Don't replace what's working with >something newer. > >That option is usually more difficult than it initially seems. The >rest of the world tends to keep on evolving. > >> I would be more happy if things would really get better, or >> even not worse, but sadly, they seem to. Software gets slower >> as well as less accessible - Gtk 2, used by many programs, is >> a good (bad) example. Am I supposed to buy new computer to replace >> perfectly running systems just to keep the "overall usage speed" >> of everything at the same level? > >As above, you don't *have* to upgrade. Keep the old software, and the >old hardware will run it. > >Like everybody, I grumble about changes that don't seem to improve >things at the user level. But I try to remember that without change, >nothing can improve. > >It's also worth remembering that open source projects like xorg give >the users the rare privilege of being able to make a difference. Test >code, provide hardware, document bugs or fixes, do or fund development. If that were true, it might be worth noting. Unfortunately, it rarely works like that. I recently started using a Logitech wireless mouse/keyboard. Of course the mouse did not work in "X", although it performed fine outside of "X". After investing valuable time in Googling for a solution, I ended up editing files for HAL and adding Section "ServerFlags" Option "AllowEmptyInput" "OFF" EndSection to the 'xorg.conf' file. Honestly, that is not acceptable. On every Windows and MAC system I tested, the combo works without this garbage. It just works. No drivers to install, unless I want the extended capabilities of the keyboard/mouse. Why does it have to be so freak-in difficult here. How the hell are we suppose to entice potential users to non Window's platforms when a simple thing like adding a keyboard or mouse to a system becomes a challenge. -- Jerry gesbbb@yahoo.com |::::======= |::::======= |=========== |=========== | Do unto others before they undo you. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 11:46:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E89E1065670 for ; Mon, 16 Nov 2009 11:46:09 +0000 (UTC) (envelope-from s-uT9_9Qw3GeGx2XGmGq9ml_wWYW6u-q7qaVD4SWFSAP6w4IGqhQSu0N@bounce.linkedin.com) Received: from mail16-a-aa.linkedin.com (mail16-a-aa.linkedin.com [64.74.98.139]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7B88FC14 for ; Mon, 16 Nov 2009 11:46:09 +0000 (UTC) DomainKey-Signature: s=prod; d=linkedin.com; c=nofws; q=dns; h=Sender:Date:From:To:Message-ID:Subject:MIME-Version: Content-Type:X-LinkedIn-fbl; b=NQWAFxIOhoFI0cLPtoqEBy/VhhMMujdZ7DNjJhmffKhYQIb2nPTuDxUa BxG5XNaNF3nP3CWNTAW1KMlmi1ADlBXuzfFfJLWjbisqT2dLQPDN6wvHl 6ucVmyKtQ9WlVOm; DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=linkedin.com; i=communication@linkedin.com; q=dns/txt; s=proddkim; t=1258371969; x=1289907969; h=from:sender:reply-to:subject:date:message-id:to:cc: mime-version:content-transfer-encoding:content-id: content-description:resent-date:resent-from:resent-sender: resent-to:resent-cc:resent-message-id:in-reply-to: references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:list-owner:list-archive; z=From:=20LinkedIn=20Communication=20|Sender:=20messages-noreply@bounce.linkedin.com |Subject:=20LinkedIn=20Messages,=2011/16/2009|Date:=20Mon ,=2016=20Nov=202009=2003:17:57=20-0800=20(PST) |Message-ID:=20<2027955266.18356560.1258370277756.JavaMai l.app@ech3-cdn09.prod>|To:=20"Jerry=20Dunham,=20PMP"=20|MIME-Version:=201.0; bh=+ON8p/j4F06UmyLt2aRt1ItzHJyJccMxEet9H6V/lHg=; b=mo2AtsWl/lctg+/AnQhZMAlPI+v1eFt4cPBrZbmNWCSXaprF4NlEOk5C I7ABXFlWvpxLbHw0gYZ0ehXMMc/P+ed4PARI8qCG5/d+k5wA/XOu+xHR7 gpfdn7xZ4HNjEFk; Sender: messages-noreply@bounce.linkedin.com Date: Mon, 16 Nov 2009 03:17:57 -0800 (PST) From: LinkedIn Communication To: "Jerry Dunham, PMP" Message-ID: <2027955266.18356560.1258370277756.JavaMail.app@ech3-cdn09.prod> MIME-Version: 1.0 X-LinkedIn-fbl: uT9_9Qw3GeGx2XGmGq9ml_wWYW6u-q7qaVD4SWFSAP6w4IGqhQSu0N Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: LinkedIn Messages, 11/16/2009 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 11:46:09 -0000 LinkedIn ------------ REMINDERS: Invitation Reminders: * View Invitation from lokesh bevara http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/blk/I1518943135_2/39vdjcNcPgVe34RckALqnpPbOYWrSlI/svi/ PENDING MESSAGES: There are a total of 66 messages awaiting your response. Visit your InBox now: http://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/inb/ ------ Don't want to receive email notifications? Adjust your message settings: https://www.linkedin.com/e/1o3bCy0npDqyzD3wjrAbLV0nLmqMr8R-MulSGyDnb3nr/prv/ LinkedIn values your privacy. At no time has LinkedIn made your email address available to any other LinkedIn user without your permission. (c) 2009, LinkedIn Corporation. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 14:59:02 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF205106566B for ; Mon, 16 Nov 2009 14:59:02 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 7BCA18FC12 for ; Mon, 16 Nov 2009 14:59:02 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nAGEuZgV047661; Mon, 16 Nov 2009 09:56:35 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nAGEuZWK047660; Mon, 16 Nov 2009 09:56:35 -0500 (EST) (envelope-from jerrymc) Date: Mon, 16 Nov 2009 09:56:34 -0500 From: Jerry McAllister To: David Allen Message-ID: <20091116145634.GA47593@gizmo.acns.msu.edu> References: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 14:59:02 -0000 On Sun, Nov 15, 2009 at 07:23:15PM -0700, David Allen wrote: > Say I have performed a standard installation of FreeBSD onto a single IDE > drive with the following entries in /etc/fstab: > > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1d /var ufs rw 2 2 > /dev/ad0s1e /tmp ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > > Then I added more drives. > > 1. The Handbook suggests there is a convention that when partitioning a a > drive that's been added, to label the first new partition on that drive as > 'e' as opposed to 'a' (which is reserved for the /root partition). Does > the following satisfy that convention, or would starting with 'a' in each > case make more sense? It really doesn't matter. Just don't use 'c' and I usually skip using 'b' and even often use it for a little additional swap. But, just pick a habit that works for you and stick with it. > > /dev/ad1e /foo1 ufs rw 2 2 > /dev/ad1f /bar1 ufs rw 2 2 > /dev/ad1g /baz1 ufs rw 2 2 > > /dev/ad2e /foo2 ufs rw 2 2 > /dev/ad2f /bar2 ufs rw 2 2 > > /dev/ad3e /foo3 ufs rw 2 2 > /dev/ad3f /bar3 ufs rw 2 2 > > 2. My second question is in regards to using the 'xx' fstype to have the > system ignore that device. Leave the fstype alone. Use the noauto option. Probably set dump and pass to 0 also. So, for example, if you do not want it to try and mount /dev/ad3f at boot time, the line would look like: /dev/ad3f /bar3 ufs rw,noauto 0 0 > > Consider, for example, a geli encrypted partition. The .eli device > doesn't exist at boot time. I discovered by accident that the system > won't boot with an fstab entry for a device that doesn't exist. So if I > was to record an entry in fstab, I couldn't use > > /dev/ad1e.eli /home/david/private ufs rw 0 0 > > Does that mean that the following is what's typically to record fstab > entries for ignored devices? > > /dev/ad1e.eli /home/david/private xx rw 0 0 > /dev/ad3e /fake xx rw 0 0 > /dev/ad3f /reserved xx rw 0 0 > > Thanks. > _______________________________________________ > 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 Mon Nov 16 15:09:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FBDD1065672 for ; Mon, 16 Nov 2009 15:09:27 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id C480F8FC08 for ; Mon, 16 Nov 2009 15:09:26 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id d23so2164231fga.13 for ; Mon, 16 Nov 2009 07:09:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=km0PX0+dtf/XEq8bQ+wrm++msVKLKqWTqIONPQH7YiE=; b=aA7oYmSS/7RKd+JfNWjnqjUyVTLfwMgYc4FxYkSyLXZa9C+8dhFcMXXeNoxG65cmVp R2m2wikC4DDelYBVv/6Na/GiSW+zSDhRxjC1LlNtgM9Mqcx9nP3ejeEnJMVfaG9Np7ct nFp5ZvMnI75O+FjhSLA8of8iJphMpD7mGMaUs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=MCRyUo9VtbOiCyCcVMbpsmVL/IZaSzs5AWDoTq77ftxITKFT4LM5lFTAh/QdwzJ36/ aOF4khsaYIub4rBAe8nHJrMFunO4mZc0bWkyKBgf1wb0hRcl8ayuG8HGx7runGslW9lE 0hnEKE9+1uKizsiu7vZp46bMKWHHxPHXzc7RY= Received: by 10.86.104.36 with SMTP id b36mr684464fgc.42.1258384165578; Mon, 16 Nov 2009 07:09:25 -0800 (PST) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id l12sm14542277fgb.22.2009.11.16.07.09.24 (version=SSLv3 cipher=RC4-MD5); Mon, 16 Nov 2009 07:09:24 -0800 (PST) Date: Mon, 16 Nov 2009 15:09:22 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20091116150922.6a2b5553@gumby.homeunix.com> In-Reply-To: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> References: <2daa8b4e0911151823sd98f726ma4b8eebf05b16dd0@mail.gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 15:09:27 -0000 On Sun, 15 Nov 2009 19:23:15 -0700 David Allen wrote: > 2. My second question is in regards to using the 'xx' fstype to have > the system ignore that device. > > Consider, for example, a geli encrypted partition. The .eli device > doesn't exist at boot time. I discovered by accident that the system > won't boot with an fstab entry for a device that doesn't exist. So > if I was to record an entry in fstab, I couldn't use > > /dev/ad1e.eli /home/david/private ufs rw 0 0 > geli partitions can exist at mount time, but you either have to be present at the console to type-in the pass-phrase or configure it to use a passfile. If you attach your geli-partitions manually then you can either set the fstab entries to noauto, or omit them altogether. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 15:13:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC8FF106566C for ; Mon, 16 Nov 2009 15:13:28 +0000 (UTC) (envelope-from proskurin-kv@fxclub.org) Received: from mx.fxclub.org (mx.fxclub.org [67.227.142.223]) by mx1.freebsd.org (Postfix) with ESMTP id 8AD5F8FC08 for ; Mon, 16 Nov 2009 15:13:28 +0000 (UTC) Received: from mail.fxclub.org ([78.129.247.130]) by mx.fxclub.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NA2hL-0008ay-3L for freebsd-questions@freebsd.org; Mon, 16 Nov 2009 14:36:55 +0000 Received: from [195.178.223.2] (helo=[172.16.0.47]) by mail.fxclub.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NA2hJ-000CC8-SY for freebsd-questions@freebsd.org; Mon, 16 Nov 2009 14:36:54 +0000 Message-ID: <4B016384.80604@fxclub.org> Date: Mon, 16 Nov 2009 17:36:52 +0300 From: Proskurin Kirill User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Flag: SKIP X-Spam-Yversion: Spamooborona-3.0 Subject: ZFS Snaphost & Hardware RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 15:13:28 -0000 Hello all. I plan to set up backup server with 24x1Tb HDD and use ZFS with FreeBSD-8.0 on it. I prefare to have "ZFS only" system but as I see there is no any easy way to do so. I would like to use ZFS snapshots - is I undestand right what snaphots work OVER ZFS raidz\storage? So I can`t use hardware RAID and must make a raidz? I would love to head any other suggestion about using FreeBSD with ZFS as backup server. -- Best regards, Proskurin Kirill From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 15:27:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E08F106568F for ; Mon, 16 Nov 2009 15:27:51 +0000 (UTC) (envelope-from Johan@double-l.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id F18F18FC15 for ; Mon, 16 Nov 2009 15:27:50 +0000 (UTC) Received: from w2003s01.double-l.local (double-l.xs4all.nl [80.126.205.144]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAGFRnLJ079342 for ; Mon, 16 Nov 2009 16:27:49 +0100 (CET) (envelope-from Johan@double-l.nl) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 16 Nov 2009 16:27:48 +0100 Message-ID: <57200BF94E69E54880C9BB1AF714BBCBA571DC@w2003s01.double-l.local> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: ZFS Snaphost & Hardware RAID Thread-Index: Acpm0AvjktTv/QCqTeab/mdrAgYRcAAAQe2Q References: <4B016384.80604@fxclub.org> From: "Johan Hendriks" To: X-Virus-Scanned: by XS4ALL Virus Scanner Subject: RE: ZFS Snaphost & Hardware RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 15:27:51 -0000 >Hello all. >I plan to set up backup server with 24x1Tb HDD and use ZFS with=20 >FreeBSD-8.0 on it. >I prefare to have "ZFS only" system but as I see there is no any easy=20 >way to do so. >I would like to use ZFS snapshots - is I undestand right what snaphots=20 >work OVER ZFS raidz\storage? So I can`t use hardware RAID and must make >a raidz? >I would love to head any other suggestion about using FreeBSD with ZFS=20 >as backup server. >--=20 >Best regards, >Proskurin Kirill An option is reading this thread on the FreeBSD forums. http://forums.freebsd.org/showthread.php?t=3D3689 regards, Johan Hendriks From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:03:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25BE71065672 for ; Mon, 16 Nov 2009 16:03:03 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw55.mailanyone.net (smtp-gw55.mailanyone.net [208.70.132.29]) by mx1.freebsd.org (Postfix) with ESMTP id 0AB168FC1C for ; Mon, 16 Nov 2009 16:03:01 +0000 (UTC) Received: from mailanyone.net by smtp-gw55.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1NA43I-0008Sh-Nz for freebsd-questions@freebsd.org; Mon, 16 Nov 2009 10:03:40 -0600 Message-ID: <4B0177B3.9010706@identry.com> Date: Mon, 16 Nov 2009 11:02:59 -0500 From: John Almberg User-Agent: Postbox 1.0.2 (Macintosh/2009102216) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Virtual box to do cross-browser testing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:03:03 -0000 Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am looking for a way to run virtual Windows machines to do cross-browser testing... Don't need sound card or anything complex... if I can get it working good enough to have access to IE 6, 7, and 8 (with 3 different virtual boxes, probably), that would be enough for me. But before I jump through the hoops of setting up a new FreeBSD box and setting up this virtual box software, I'd like to hear how others have fared with this software. Any experience, much appreciated. -- John From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:04:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9080C1065676 for ; Mon, 16 Nov 2009 16:04:40 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id E0C828FC13 for ; Mon, 16 Nov 2009 16:04:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nAGG4SCw018937; Tue, 17 Nov 2009 03:04:29 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 17 Nov 2009 03:04:27 +1100 (EST) From: Ian Smith To: David Allen In-Reply-To: <20091116120014.A477010656F8@hub.freebsd.org> Message-ID: <20091117022555.Y65262@sola.nimnet.asn.au> References: <20091116120014.A477010656F8@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Polytropon , freebsd-questions@freebsd.org Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:04:40 -0000 In freebsd-questions Digest, Vol 285, Issue 2, Message 2 On Sun, 15 Nov 2009 19:23:15 -0700 David Allen wrote: > Say I have performed a standard installation of FreeBSD onto a single IDE > drive with the following entries in /etc/fstab: > > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1d /var ufs rw 2 2 > /dev/ad0s1e /tmp ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > > Then I added more drives. > > 1. The Handbook suggests there is a convention that when partitioning a a > drive that's been added, to label the first new partition on that drive as > 'e' as opposed to 'a' (which is reserved for the /root partition). Does > the following satisfy that convention, or would starting with 'a' in each > case make more sense? > > /dev/ad1e /foo1 ufs rw 2 2 > /dev/ad1f /bar1 ufs rw 2 2 > /dev/ad1g /baz1 ufs rw 2 2 > > /dev/ad2e /foo2 ufs rw 2 2 > /dev/ad2f /bar2 ufs rw 2 2 > > /dev/ad3e /foo3 ufs rw 2 2 > /dev/ad3f /bar3 ufs rw 2 2 If you added these with sysinstall (or sade) it will tend to choose 'd' for the first partition on other than the / partition (which is named 'a' on install). Or at least, it's always started with 'd' for me :) But if you're doing it manually starting with 'e' is fine. I suspect the handbook section you quoted to Polytropon later is more an example than definitive. You can happily mount an 'a' partition from another drive that was once a system disk; it's more of a convention really. > 2. My second question is in regards to using the 'xx' fstype to have the > system ignore that device. > > Consider, for example, a geli encrypted partition. The .eli device > doesn't exist at boot time. I discovered by accident that the system > won't boot with an fstab entry for a device that doesn't exist. So if I > was to record an entry in fstab, I couldn't use > > /dev/ad1e.eli /home/david/private ufs rw 0 0 > > Does that mean that the following is what's typically to record fstab > entries for ignored devices? > > /dev/ad1e.eli /home/david/private xx rw 0 0 > /dev/ad3e /fake xx rw 0 0 > /dev/ad3f /reserved xx rw 0 0 Yes. Here I must differ with Polytropon, though your format for the options isn't perhaps quite right. From an old fstab here: # Device Mountpoint FStype Options Dump Pass# /dev/acd0 /cdrom cd9660 ro,noauto 0 0 /dev/ad0s1 /dos msdosfs ro,noauto 0 0 /dev/ad0s2b none swap sw 0 0 /dev/ad0s2a / ufs rw 1 1 /dev/ad0s2d /var ufs rw,noatime 2 2 /dev/ad0s2e /usr ufs rw,noatime 2 2 /dev/ad0s4d /paqi4.5 ufs ro,noauto,nodev,noexec,nosymfollow,noatime 2 3 /dev/ad0s4e /paqi4.5/var ufs ro,noauto,nodev,noexec,nosymfollow,noatime 2 4 /dev/ad0s4f /paqi4.5/usr ufs ro,noauto,nodev,noexec,nosymfollow,noatime 2 4 # 25Apr06 ext 20Gb USB disk. DON'T autoadd these, deadly if da0 absent! # .. xx fsopts, everything incl fsck must ignore .. /dev/da0s3d /usbdsk ufs xx,noauto,nosymfollow 3 3 /dev/da0s3e /usbdsk/var ufs xx,noauto,nosymfollow 4 4 /dev/da0s3f /usbdsk/usr ufs xx,noauto,nosymfollow 4 4 # 26May06 shintaro 1G flashdrive .. just doc, can't mount using these .. /dev/da0s1 /flash/dos msdosfs xx,noauto 0 0 /dev/da0s2d /flash/ufs ufs xx,noauto,noatime 3 3 /dev/da0s3d /flash/pvt ufs xx,noauto,noatime 3 3 As you say they're useful for doc, and not hard to edit into action. Note the additions above were assigned starting at 'd' by sysinstall. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:12:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B2F1106568D for ; Mon, 16 Nov 2009 16:12:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 17CCD8FC0C for ; Mon, 16 Nov 2009 16:12:16 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nAGGCGfE091419; Mon, 16 Nov 2009 09:12:16 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nAGGCGEL091416; Mon, 16 Nov 2009 09:12:16 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 16 Nov 2009 09:12:16 -0700 (MST) From: Warren Block To: Jerry In-Reply-To: <20091116063842.27411cd8@scorpio.seibercom.net> Message-ID: References: <42052.1258327169@tristatelogic.com> <4B009370.1040002@otenet.gr> <20091116010630.0b8f498a.freebsd@edvax.de> <4B009B08.3070507@otenet.gr> <20091116014149.f7d6eafd.freebsd@edvax.de> <20091116063842.27411cd8@scorpio.seibercom.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Mon, 16 Nov 2009 09:12:16 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:12:17 -0000 On Mon, 16 Nov 2009, Jerry wrote: > On Sun, 15 Nov 2009 21:18:36 -0700 (MST) > Warren Block replied: >> It's also worth remembering that open source projects like xorg give >> the users the rare privilege of being able to make a difference. Test >> code, provide hardware, document bugs or fixes, do or fund development. > > If that were true, it might be worth noting. Unfortunately, it rarely > works like that. I recently started using a Logitech wireless > mouse/keyboard. Of course the mouse did not work in "X", although it > performed fine outside of "X". After investing valuable time in > Googling for a solution, I ended up editing files for HAL and adding > > Section "ServerFlags" > Option "AllowEmptyInput" "OFF" > EndSection > > to the 'xorg.conf' file. It appears the thread has mutated from "it's unpleasant when X changes" to "why doesn't xorg support my hardware?" Which are at opposite ends of the spectrum. > > Honestly, that is not acceptable. Evidently no one has been in the position to fix the problem. The opportunity is there, as I was saying above. Certainly there have been reports of problems with wireless keyboard/mouse of several brands; maybe a slightly different protocol with the wireless versions. Whether the problem is with hal or xorg-server or the keyboard and mouse drivers or USB or some interaction, I don't know. You have the hardware; how about doing some research to help improve this? Just knowing what causes the problem would be a long way towards a real solution. > On every Windows and MAC system I tested, the combo works without this > garbage. It just works. No drivers to install, unless I want the > extended capabilities of the keyboard/mouse. Why does it have to be so > freak-in difficult here. Because the number of people using xorg are so small in relation to Windows and OS X. -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:12:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA4D11065693 for ; Mon, 16 Nov 2009 16:12:46 +0000 (UTC) (envelope-from julien@gormotte.info) Received: from mail.gormotte.info (rei.gormotte.info [95.130.11.103]) by mx1.freebsd.org (Postfix) with ESMTP id 80A748FC08 for ; Mon, 16 Nov 2009 16:12:46 +0000 (UTC) Received: from localhost (unknown [10.0.0.5]) by mail.gormotte.info (Postfix) with ESMTP id CAD2FA53E for ; Mon, 16 Nov 2009 16:12:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at gormotte.info Received: from mail.gormotte.info ([10.0.0.5]) by localhost (mail.gormotte.info [10.0.0.5]) (amavisd-new, port 10024) with ESMTP id 96f1LfltREHd for ; Mon, 16 Nov 2009 16:12:09 +0000 (UTC) Received: from www (www [10.0.0.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.gormotte.info (Postfix) with ESMTPSA id 26939A51F for ; Mon, 16 Nov 2009 16:12:08 +0000 (UTC) Received: from 195.6.159.23 ([195.6.159.23]) by horde.gormotte.info (Horde Framework) with HTTP; Mon, 16 Nov 2009 17:12:08 +0100 Message-ID: <20091116171208.61923hnkbf6h276s@horde.gormotte.info> Date: Mon, 16 Nov 2009 17:12:08 +0100 From: Julien Gormotte To: freebsd-questions@freebsd.org References: <4B0177B3.9010706@identry.com> In-Reply-To: <4B0177B3.9010706@identry.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.3) Subject: Re: Virtual box to do cross-browser testing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:12:46 -0000 John Almberg a écrit : > Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am > looking for a way to run virtual Windows machines to do > cross-browser testing... > > Don't need sound card or anything complex... if I can get it working > good enough to have access to IE 6, 7, and 8 (with 3 different > virtual boxes, probably), that would be enough for me. > > But before I jump through the hoops of setting up a new FreeBSD box > and setting up this virtual box software, I'd like to hear how > others have fared with this software. > > Any experience, much appreciated. > > -- John > _______________________________________________ > 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" > It seems that VirtualBox still has problems, according to the FreeBSD wiki : http://wiki.freebsd.org/VirtualBox Maybe you should try qemu instead, as it seems much more stable now : http://wiki.freebsd.org/qemu I used qemu to virtualize Windows Server 2003 some time ago (on Gentoo and Mandriva boxes), and it was working (as long as you consider that a Windows system "works"). Julien Gormotte ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:17:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B7491065676 for ; Mon, 16 Nov 2009 16:17:49 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 117DC8FC14 for ; Mon, 16 Nov 2009 16:17:48 +0000 (UTC) Received: by pzk15 with SMTP id 15so3757947pzk.3 for ; Mon, 16 Nov 2009 08:17:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=3obVVc6WnX6cHZvNrAqgv7ILdI//s2O1oHC5RWaGDyA=; b=qZtKTl9GdVUIUivhplkyy13TxLyrI4TsK4k5FBR/3WHvv7yOWYYM4GzaJHIiGBWIQn xEUEYJB/XCZSIlNWTFqyu8YfL8IkR2f6z1wOkCig72yvrlL2Wk5qWrIbyHYKKfm4rCiZ IqJzwyLHW1XP9UyZH210Mijy5/G7SQglEXoDU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UfKJV4Edl1KpzR00Ioa5uMcIUg5wqLWMZai/JELk3TWj+rvmFA+EQUcBm3+oXFalQo C45drVcyqMG5nMrNv9XRe6/Lw9gXTXuSQA2zjI6CSVI9y/HlQ/CK9X9YpXOtobWpcTxT hpi95OOoQFy8QS8qYmgw4KpduDyfe8ej1sTwk= MIME-Version: 1.0 Received: by 10.142.202.21 with SMTP id z21mr900286wff.235.1258388268483; Mon, 16 Nov 2009 08:17:48 -0800 (PST) In-Reply-To: <4B0177B3.9010706@identry.com> References: <4B0177B3.9010706@identry.com> Date: Mon, 16 Nov 2009 10:17:48 -0600 Message-ID: <6201873e0911160817l57b225d4v2be82417748d60ba@mail.gmail.com> From: Adam Vande More To: John Almberg Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Virtual box to do cross-browser testing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:17:49 -0000 On Mon, Nov 16, 2009 at 10:02 AM, John Almberg wrote: > Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am looking > for a way to run virtual Windows machines to do cross-browser testing... > > Don't need sound card or anything complex... if I can get it working good > enough to have access to IE 6, 7, and 8 (with 3 different virtual boxes, > probably), that would be enough for me. > > But before I jump through the hoops of setting up a new FreeBSD box and > setting up this virtual box software, I'd like to hear how others have fared > with this software. > > Any experience, much appreciated. > > -- John > > VirtualBox overall works great for me on both i386 and amd64, much faster than qemu. Just following http://wiki.freebsd.org/VirtualBox if you fun into problems. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:24:37 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12F00106566C for ; Mon, 16 Nov 2009 16:24:37 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id D7ECE8FC19 for ; Mon, 16 Nov 2009 16:24:36 +0000 (UTC) Received: from working (pool-74-109-205-9.pitbpa.ftas.verizon.net [74.109.205.9]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 86B4CEBC0A; Mon, 16 Nov 2009 11:24:35 -0500 (EST) Date: Mon, 16 Nov 2009 11:24:42 -0500 From: Bill Moran To: John Almberg Message-Id: <20091116112442.f05b3849.wmoran@potentialtech.com> In-Reply-To: <4B0177B3.9010706@identry.com> References: <4B0177B3.9010706@identry.com> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Virtual box to do cross-browser testing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:24:37 -0000 John Almberg wrote: > > Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am > looking for a way to run virtual Windows machines to do cross-browser > testing... > > Don't need sound card or anything complex... if I can get it working > good enough to have access to IE 6, 7, and 8 (with 3 different virtual > boxes, probably), that would be enough for me. > > But before I jump through the hoops of setting up a new FreeBSD box and > setting up this virtual box software, I'd like to hear how others have > fared with this software. > > Any experience, much appreciated. I've been using it for several months. Older versions were a bit fussy, but the latest seems to be really solid. The only problem I have with it is that high graphic usage will basically steal the VM away from the user (i.e. if I run a video inside a vbox machine, I can't access the mouse until the video is done running). Been running Windows WP inside a Virtual Box on FreeBSD 7. -- Bill Moran http://www.potentialtech.com From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 16:27:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C1A3106568F for ; Mon, 16 Nov 2009 16:27:11 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 16E368FC08 for ; Mon, 16 Nov 2009 16:27:10 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id CBE222841B; Tue, 17 Nov 2009 05:27:08 +1300 (NZDT) Date: Tue, 17 Nov 2009 05:27:08 +1300 From: Jonathan Chen To: John Almberg Message-ID: <20091116162708.GC95551@osiris.chen.org.nz> References: <4B0177B3.9010706@identry.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B0177B3.9010706@identry.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: Virtual box to do cross-browser testing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 16:27:11 -0000 On Mon, Nov 16, 2009 at 11:02:59AM -0500, John Almberg wrote: > Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am > looking for a way to run virtual Windows machines to do cross-browser > testing... I've been using it to do some .NET programming, and it's been pretty good. No major problem, aside from the lack of CPU cycles the odd time or so. -- Jonathan Chen ---------------------------------------------------------------------- The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 17:27:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A5A6106566C for ; Mon, 16 Nov 2009 17:27:48 +0000 (UTC) (envelope-from freebsdmail@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id 5E0518FC13 for ; Mon, 16 Nov 2009 17:27:45 +0000 (UTC) Received: (qmail invoked by alias); 16 Nov 2009 17:01:04 -0000 Received: from dslb-188-097-133-243.pools.arcor-ip.net (EHLO localhost) [188.97.133.243] by mail.gmx.net (mp062) with SMTP; 16 Nov 2009 18:01:04 +0100 X-Authenticated: #14495869 X-Provags-ID: V01U2FsdGVkX18ONUkibykO5dSlLFiDOAt/s0haIYVC/nibEit+zU U2UGjMVk1daVLd Date: Mon, 16 Nov 2009 18:01:02 +0100 From: Philipp Lengemann To: "Ronald F. Guilmette" Message-ID: <20091116180102.61682ee8@gmx.de> In-Reply-To: <42052.1258327169@tristatelogic.com> References: <42052.1258327169@tristatelogic.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.57 Cc: freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 17:27:48 -0000 Am Sun, 15 Nov 2009 15:19:29 -0800 schrieb "Ronald F. Guilmette" : > I _did_ go and read the Handbook section that Manolis Kiagias > kindly posted a link to, and I have now tried _both_ of the two > ways described there to re-enable CNTL-ALT-BACKSPACE functionality > for the X server, and sadly I must report that for me, at least > _neither_ of those methods worked Put the following to your xorg.conf: Section "ServerFlags" Option "DontZap" "off" Option "AllowEmptyInput" "off" Option "AutoAddDevices" "off" EndSection Section "InputDevice" Option "XkbOptions" "terminate:ctrl_alt_bksp" EndSection This works for me very reliable (xorg-7.4_2). HTH From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 17:35:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FA94106568D for ; Mon, 16 Nov 2009 17:35:59 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id A05E88FC1F for ; Mon, 16 Nov 2009 17:35:57 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-121.home.otenet.gr [94.69.68.121]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAGHZs0X005719; Mon, 16 Nov 2009 19:35:54 +0200 Message-ID: <4B018D7A.9070104@otenet.gr> Date: Mon, 16 Nov 2009 19:35:54 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Philipp Lengemann References: <42052.1258327169@tristatelogic.com> <20091116180102.61682ee8@gmx.de> In-Reply-To: <20091116180102.61682ee8@gmx.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 17:35:59 -0000 Philipp Lengemann wrote: > Am Sun, 15 Nov 2009 15:19:29 -0800 > schrieb "Ronald F. Guilmette" : > > >> I _did_ go and read the Handbook section that Manolis Kiagias >> kindly posted a link to, and I have now tried _both_ of the two >> ways described there to re-enable CNTL-ALT-BACKSPACE functionality >> for the X server, and sadly I must report that for me, at least >> _neither_ of those methods worked >> > > > Put the following to your xorg.conf: > > > Section "ServerFlags" > Option "DontZap" "off" > Option "AllowEmptyInput" "off" > Option "AutoAddDevices" "off" > EndSection > > Section "InputDevice" > Option "XkbOptions" "terminate:ctrl_alt_bksp" > EndSection > > > This works for me very reliable (xorg-7.4_2). > > If you stick with HAL however (using "AllowEmptyInput" bypasses the autodetection), you can just use the policy file in the Handbook and just add the "DontZap" option in "ServerFlags" or "ServerLayout" section. In fact, I've just written a patch for the Handbook that adds this information and will be committed soon. In the meantime, you can view it here: http://www.freebsdgr.org/handbook-mine/x-config.html From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 18:03:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 55EC61065670 for ; Mon, 16 Nov 2009 18:03:57 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 12D898FC14 for ; Mon, 16 Nov 2009 18:03:56 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nAGI1RdS048352; Mon, 16 Nov 2009 13:01:27 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nAGI1R0Z048351; Mon, 16 Nov 2009 13:01:27 -0500 (EST) (envelope-from jerrymc) Date: Mon, 16 Nov 2009 13:01:26 -0500 From: Jerry McAllister To: Ian Smith Message-ID: <20091116180126.GA48289@gizmo.acns.msu.edu> References: <20091116120014.A477010656F8@hub.freebsd.org> <20091117022555.Y65262@sola.nimnet.asn.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091117022555.Y65262@sola.nimnet.asn.au> User-Agent: Mutt/1.4.2.2i Cc: Polytropon , freebsd-questions@freebsd.org, David Allen Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 18:03:57 -0000 On Tue, Nov 17, 2009 at 03:04:27AM +1100, Ian Smith wrote: > In freebsd-questions Digest, Vol 285, Issue 2, Message 2 > On Sun, 15 Nov 2009 19:23:15 -0700 David Allen wrote: > > > Say I have performed a standard installation of FreeBSD onto a single IDE > > drive with the following entries in /etc/fstab: > > > > /dev/ad0s1b none swap sw 0 0 > > /dev/ad0s1a / ufs rw 1 1 > > /dev/ad0s1d /var ufs rw 2 2 > > /dev/ad0s1e /tmp ufs rw 2 2 > > /dev/ad0s1f /usr ufs rw 2 2 > > > > Then I added more drives. > > > > 1. The Handbook suggests there is a convention that when partitioning a a > > drive that's been added, to label the first new partition on that drive as > > 'e' as opposed to 'a' (which is reserved for the /root partition). Does > > the following satisfy that convention, or would starting with 'a' in each > > case make more sense? > > > > /dev/ad1e /foo1 ufs rw 2 2 > > /dev/ad1f /bar1 ufs rw 2 2 > > /dev/ad1g /baz1 ufs rw 2 2 > > > > /dev/ad2e /foo2 ufs rw 2 2 > > /dev/ad2f /bar2 ufs rw 2 2 > > > > /dev/ad3e /foo3 ufs rw 2 2 > > /dev/ad3f /bar3 ufs rw 2 2 > > If you added these with sysinstall (or sade) it will tend to choose 'd' > for the first partition on other than the / partition (which is named > 'a' on install). Or at least, it's always started with 'd' for me :) Generally, using 'a' for root is needed if the slice is a device and root (/) will be there. But, probably because of that, the tradition of reserving 'a' is strong enough that many people and some utilities just do it that way unless specifically directed otherwise. But, if it is a second (third, fourth, etc) slice/drive that will not have a root partition, it doesn't actually matter. I tend to use 'a' if the drive will be entirely one slice and one partition used for some special work or scratch space, but stick with 'd..h' if there will be more than one partition and just leave 'a' alone - for no other reason than habit. As for 'd' vs 'e', sometime a long time and many generations ago there was a convention of reserving 'd' for something. I don't remember what it was. It was pre FreeBSD 3 and pre 1997 and maybe even pre any FreeBSD and applied in some earlier Unix-en before the court cases, but not after. That old convention accounts for documentation starting with using 'e' for extra partitions and skipping 'd'. But, whatever that old convention was, it has not been used for so long that it is meaningless nowdays and 'd' can be used for whatever extra partition you want. ////jerry > > But if you're doing it manually starting with 'e' is fine. I suspect > the handbook section you quoted to Polytropon later is more an example > than definitive. You can happily mount an 'a' partition from another > drive that was once a system disk; it's more of a convention really. > > > 2. My second question is in regards to using the 'xx' fstype to have the > > system ignore that device. > > > > Consider, for example, a geli encrypted partition. The .eli device > > doesn't exist at boot time. I discovered by accident that the system > > won't boot with an fstab entry for a device that doesn't exist. So if I > > was to record an entry in fstab, I couldn't use > > > > /dev/ad1e.eli /home/david/private ufs rw 0 0 > > > > Does that mean that the following is what's typically to record fstab > > entries for ignored devices? > > > > /dev/ad1e.eli /home/david/private xx rw 0 0 > > /dev/ad3e /fake xx rw 0 0 > > /dev/ad3f /reserved xx rw 0 0 > > Yes. Here I must differ with Polytropon, though your format for the > options isn't perhaps quite right. From an old fstab here: > > # Device Mountpoint FStype Options Dump Pass# > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > /dev/ad0s1 /dos msdosfs ro,noauto 0 0 > /dev/ad0s2b none swap sw 0 0 > /dev/ad0s2a / ufs rw 1 1 > /dev/ad0s2d /var ufs rw,noatime 2 2 > /dev/ad0s2e /usr ufs rw,noatime 2 2 > /dev/ad0s4d /paqi4.5 ufs ro,noauto,nodev,noexec,nosymfollow,noatime 2 3 > /dev/ad0s4e /paqi4.5/var ufs ro,noauto,nodev,noexec,nosymfollow,noatime 2 4 > /dev/ad0s4f /paqi4.5/usr ufs ro,noauto,nodev,noexec,nosymfollow,noatime 2 4 > # 25Apr06 ext 20Gb USB disk. DON'T autoadd these, deadly if da0 absent! > # .. xx fsopts, everything incl fsck must ignore .. > /dev/da0s3d /usbdsk ufs xx,noauto,nosymfollow 3 3 > /dev/da0s3e /usbdsk/var ufs xx,noauto,nosymfollow 4 4 > /dev/da0s3f /usbdsk/usr ufs xx,noauto,nosymfollow 4 4 > # 26May06 shintaro 1G flashdrive .. just doc, can't mount using these .. > /dev/da0s1 /flash/dos msdosfs xx,noauto 0 0 > /dev/da0s2d /flash/ufs ufs xx,noauto,noatime 3 3 > /dev/da0s3d /flash/pvt ufs xx,noauto,noatime 3 3 > > As you say they're useful for doc, and not hard to edit into action. > Note the additions above were assigned starting at 'd' by sysinstall. > > cheers, Ian > _______________________________________________ > 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 Mon Nov 16 18:22:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B93EF1065670; Mon, 16 Nov 2009 18:22:07 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.70]) by mx1.freebsd.org (Postfix) with ESMTP id 14CDD8FC08; Mon, 16 Nov 2009 18:22:06 +0000 (UTC) Received: from mail53.abv.bg (mail53.ni.bg [192.168.151.29]) by smtp-out.abv.bg (Postfix) with ESMTP id 7C56C3EE445; Mon, 16 Nov 2009 20:22:04 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=nc17nhiUJ/bUs7tET4x8gA8ke17anvpuZj+LXufCf1QCsTIie1BR5d+IEsxfIbkd+ v9d1jKkTaSvs+6LPwG61mthcYwH6IIbeGbK3o7MJZWeZBVLeiLNFjIn4xaa+oYrq5i9 xR2CtP0XLLTTv+Cq/1l+5ESIpPlqkH3Mcd31y0w= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1258395724; bh=Qd4XTKivQc2+KqluC9RyuU4LWp4HX4Bzn+V7FXdcQSM=; h=Date:From:To:Cc:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=k/C63Oi/was0N6+IcNiVbgM21iUF36/M OfG9+1Qg/vGzXFTKx+jqbwl8UIvRWCcuVG01LXUqNigYEnVqaX4ljKmHlAlY4RIxav5 tJN0GTwwWViAePxtaqZjiwEfkKXDfNwqTQU+NDOTo0GeIiFfC1IiqX6YgzCZHap0IJs RoEFo= Received: from mail53.abv.bg (localhost.localdomain [127.0.0.1]) by mail53.abv.bg (Postfix) with ESMTP id B72DB241BEA; Mon, 16 Nov 2009 20:22:13 +0200 (EET) Date: Mon, 16 Nov 2009 20:22:13 +0200 (EET) From: Mario Pavlov To: Tim Judd Message-ID: <1827106023.12813.1258395733748.JavaMail.apache@mail53.abv.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 18:22:08 -0000 Hi, thanks again for your response: here's what I have, what I do and what I want to happen 1. I have my desktop machine which is running FreeBSD-7.2-STABLE-amd64 from June. I created a new distribution like that (as shown in the handbook - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html): ================================================================================ mkdir /storage0/diskless cd /usr/src export DESTDIR=/storage0/diskless make buildworld buildkernel installworld distribution installkernel ================================================================================ and created /storage0/diskless/etc/fstab with the following content: ================================================================================ 192.168.0.1:/storage0/diskless / nfs ro 0 0 ================================================================================ and I put this in /etc/exports (having in mind your advice about the group) ================================================================================ /storage0/diskless -maproot=0:0 -ro -alldirs 192.168.0.3 /usr -ro -alldirs 192.168.0.3 ================================================================================ and this is in my dhcpd.conf (I tried with and without the comments - no difference, same result) ================================================================================ host laptop { hardware ethernet 00:1E:68:45:0D:98; # option host-name "laptop"; # ddns-hostname "laptop"; # next-server 192.168.0.1; fixed-address 192.168.0.3; filename "pxeboot"; option root-path "192.168.0.1:/storage0/diskless"; } ================================================================================ 2. And I do this: ================================================================================ rpcbind nfsd -u -t -n 4 mountd -r /etc/rc.d/ineted onestart # I have my TFTP root set to /boot /usr/local/etc/rc.d/isc-dhcpd onestart ================================================================================ then I start my laptop (which has a 64bit CPU therefore it should be compatible with my amd64 kernel) enter the boot menu and choose the network boot option and I can see that it acquires its IP address then fetches pxeboot over TFTP then pxeboot loads the kernel and the kernel starts bringing the system up...and these are the last few lines where the system stops: ================================================================================ ... ... Trying to mount root from nfs:192.168.0.1:/storage0/diskless NFS ROOT: 192.168.0.1:/storage0/diskless nfs send error 13 for server 192.168.0.1:/storage0/diskless bge0: link state changed to DOWN bge0: link state changed to UP ================================================================================ 3. What I want is to have a server that multiple clients can boot from (diskless-ly as you say). And I want all file systems provided by the server to be read-only (which means I don't need lockd, do I...) Do you have an idea what could be my problem? ...obviously my TFTP and DHCP services are fine, even the NFS as pxeboot is able to download the kernel...maybe something in my distribution in /storage0/diskless is not OK? thanks mgp >Please compare my working configuration to yours to check. I found >lots of odd problems in your post and I thought it'd be best to just >run with this clean slate. > >Network config: > One low-power PC Engines ALIX board running as the NFS server, with >a microdrive partitioned off for it's own system, plus a separate >mounted partition for diskless clients. This config works best with >one diskless client, and is not the documented way from FreeBSD >handbook to accomplish diskless workstations. I'll note what I >immediately saw as an error in your config during these snippets. > >alix# bsdlabel /dev/ad0s1 ># /dev/ad0s1: >8 partitions: ># size offset fstype [fsize bsize bps/cpg] > a: 1048576 16 4.2BSD 2048 16384 8 > c: 12000177 0 unused 0 0 # "raw" part, don't edit > h: 10951585 1048592 4.2BSD 2048 16384 28552 > >alix# cat /etc/fstab >/dev/ad0s1a / ufs rw 0 0 >/dev/ad0s1h /diskless ufs rw 0 0 > >alix# cat /etc/exports >/diskless -maproot=0:0 -network 192.168.0.0 -mask 255.255.255.0 > >*** maproot needs a user and group definition. > >alix# cat /etc/rc.conf >rpcbind_enable="YES" >nfs_server_enable="YES" >rpc_statd_enable="YES" >rpc_lockd_enable="YES" > >*** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd > > >************** Diskless side > >*** I believe the root filesystem information is passed on from dhcp, >to pxeboot, to the kernel, in order to mount the root filesystem. You >can have a 0-size fstab file for read-write access, or provide the >read-only nfs root here. If you want it read only, it's best to >specify it here, such as below > >alix# cat /diskless/etc/fstab >192.168.0.1:/diskless / nfs ro 0 0 > >alix# cat /diskless/etc/rc.conf >rpcbind_enable="YES" >nfs_client_enable="YES" >rpc_statd_enable="YES" >rpc_lockd_enable="YES" > >*** File locking needed lockd/statd support on the client, also. >Think of editing /etc/passwd (the proper way) when you need file >locking. > > > > >This will result in a basic, 1-workstation diskless setup working. >The difference is that the FreeBSD rc startup looks for a /conf >directory which can provide multiple overrides to multiple >workstations. I tried setting up a livecd with a /conf directory only >to find that the /conf is checked, no matter which medium it's booting >off of. > >This config does NOT cover the DHCP scope, TFTP, IPs or other settings >that might be pertinent to booting diskless-ly. > >Note that by sharing your exact / filesystem as an export is a bad >idea. It will essentially create a NFS server on a NFS server round >robin and probably won't connect. It's why you setup a separate >partition (EVEN if it's a file-backed filesystem mounted with the help >of mdconfig on a separate mountpoint on your filesystem). > >Once you revise your config, please try again. > > >--Tim >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > ----------------------------------------------------------------- Вижте водещите новини от Vesti.bg! http://www.vesti.bg From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 18:24:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B64A21065695 for ; Mon, 16 Nov 2009 18:24:08 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 64F658FC18 for ; Mon, 16 Nov 2009 18:24:07 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAGINwog022392; Mon, 16 Nov 2009 19:23:58 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 45664BAC3; Mon, 16 Nov 2009 19:23:58 +0100 (CET) Date: Mon, 16 Nov 2009 19:23:58 +0100 From: Roland Smith To: "Ronald F. Guilmette" Message-ID: <20091116182358.GA95918@slackbox.xs4all.nl> References: <42307.1258330015@tristatelogic.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bp/iNruPH9dso1Pn" Content-Disposition: inline In-Reply-To: <42307.1258330015@tristatelogic.com> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 18:24:08 -0000 --bp/iNruPH9dso1Pn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 15, 2009 at 04:06:55PM -0800, Ronald F. Guilmette wrote: >=20 > In one of my systems, I've got a Seagate SATA 500GB drive (ST3500320AS) > which is actually not very old... purchased 12/11/2008. > same single block. Here's the relevant lines from /var/log/messages: >=20 > Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=3D51 error=3D40 LBA=3D256230591 > Nov 15 15:24:43 coredump kernel: ad4: FAILURE - READ_DMA status=3D51 error=3D40 LBA=3D256230591 > Nov 15 15:24:46 coredump kernel: ad4: FAILURE - READ_DMA status=3D51 error=3D40 LBA=3D256230591 >=20 > (Don't be confused... The name of the host system here is "coredump"... my > lame attempt at humor.) Install the smartmontools port, and check the drive with=20 'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, RMA it immediately, as it is about to fail. If see other errors reported, RMA it. (S)ATA disk have spare sectors available. If a sector fails, it is replaced= by one of the spares by the firmware. If you see a non-zero Reallocated_Sector_Ct, it means that the drive has run out of spares. This = is bad news. > P.S. If I _do_ end up RMA'ing the thing back, do I need to worry about > scrubing the drive squeaky clean first... you know... using one of these > multiple write-over progs (like `wipe') if I am paranoid... as I am... > about the possibility of old credit card numbers lying around in unalloca= ted > sectors on the drive? (The drive is empty _now_, but earlier it was in > serious/heavy use.) No. Just fill it with zeros. There was a paper presented at Usenix 1996 that you could potentially read erased data from the sidebands. But that was looking at disks make in the early nineties using MFM and RLL encoding. The encoding on todays disks is very different. The author of te original paper thinks it is almost impossible to recover overwritten data on a current harddisk. To quote from the epilogue from [http://www.cs.auckland.ac.nz/~pgut001/pubs/secure_del.html]: Any modern drive will most likely be a hopeless task, what with ultra-high densities and use of perpendicular recording... > I guess what I'm asking is: Do Segate and the other manufacturers care > enough about their customer's privacy to securely wipe old drives/platters > that come in to them for RMA? Or do I need to worry 'bout that for my own > self? I would always wipe them myself. You cannot guarantee that the manufacturer will do it. But I was under the impression that the information on a platter can only be properly read by the same arm/head it was written with. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --bp/iNruPH9dso1Pn Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksBmL4ACgkQEnfvsMMhpyUZAQCfcswnMriwAplITWaMz0LzI22w jtsAnjnucdmrCoHeoM6/5ulkJoLyOz/A =dWDB -----END PGP SIGNATURE----- --bp/iNruPH9dso1Pn-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 18:39:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DFF31065670 for ; Mon, 16 Nov 2009 18:39:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 0CFEE8FC15 for ; Mon, 16 Nov 2009 18:39:13 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAGIdC4v085487; Mon, 16 Nov 2009 19:39:12 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 104DBBAC3; Mon, 16 Nov 2009 19:39:12 +0100 (CET) Date: Mon, 16 Nov 2009 19:39:12 +0100 From: Roland Smith To: Sabine Baer Message-ID: <20091116183912.GB95918@slackbox.xs4all.nl> References: <20091115181114.GA1295@amd.catfish.ddns.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wq9mPyueHGvFACwf" Content-Disposition: inline In-Reply-To: <20091115181114.GA1295@amd.catfish.ddns.org> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: No /dev/da0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 18:39:14 -0000 --wq9mPyueHGvFACwf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Nov 15, 2009 at 07:11:14PM +0100, Sabine Baer wrote: > Well my problem is mounting my digital camera. If I remember correctly > I did it with=20 > mount_msdosfs /dev/da0s1 /lumix > I think that was under FreeBSD 6.n > But now, upgraded to 7.2, there ist no /dev/da0. > Attached to an iBook with Mac OS X 10.4 the cards were well mounted as > 'disk2s1'. Ok, then mounting it should work. =20 > If I attach the camera to the FreeBSD PC the console gives > [attaching the camera] > | umass0: on > |uhub0 > |(probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 > |(probe0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > |(probe0:umass-sim0:0:0:0): SCSI Status: Check Condition > |(probe0:umass-sim0:0:0:0): UNIT ATTENTION asc:28,0 > |(probe0:umass-sim0:0:0:0): Not ready to ready change, medium may have > |changed > |(probe0:umass-sim0:0:0:0): Retrying Command (per Sense Data) > |da0 at umass-sim0 bus 0 target 0 lun 0 > |da0: Removable Direct Access SCSI-2 device > |da0: 1.000MB/s transfers > |da0: 14MB (29121 512 byte sectors: 64H 32S/T 14C) I sometimes get error reports like this as well with USB sticks. I can usua= lly see it on the drive as well, the drive's indicator light doesn't light up. Pulling out the USB cable and trying again usually helps, in my experience. Try another cable or another USB port if available. Sometimes it is necessary to use camcontrol(8) as per the earlier reply. > I haven't any clue if it's FreeBSD's fault, the camera's or mine. > Is there somone who can give me some hint? The USB stack in 7.2 doesn't always handle quirky hardware well. There could be a regression on your hardware going from 6.x to 7.2. The USB stack has been rewritten for 8.0. In my limited testing it works better. I've got 8.0-PRERELEASE running on a laptop without problems. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --wq9mPyueHGvFACwf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksBnFAACgkQEnfvsMMhpyUbMwCdFkh0PhIkjYUJUuH45B2L41Nl ATIAoKf03N2GUPRj3h8/J+0x4LtOI4KC =mfFs -----END PGP SIGNATURE----- --wq9mPyueHGvFACwf-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 18:45:25 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF5901065763 for ; Mon, 16 Nov 2009 18:45:25 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw55.mailanyone.net (smtp-gw55.mailanyone.net [208.70.132.29]) by mx1.freebsd.org (Postfix) with ESMTP id 91B4B8FC14 for ; Mon, 16 Nov 2009 18:45:25 +0000 (UTC) Received: from mailanyone.net by smtp-gw55.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1NA6aR-0006EK-OR for freebsd-questions@freebsd.org; Mon, 16 Nov 2009 12:46:04 -0600 Message-ID: <4B019DC3.2060300@identry.com> Date: Mon, 16 Nov 2009 13:45:23 -0500 From: John Almberg User-Agent: Postbox 1.0.2 (Macintosh/2009102216) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B0177B3.9010706@identry.com> <20091116162708.GC95551@osiris.chen.org.nz> In-Reply-To: <20091116162708.GC95551@osiris.chen.org.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Virtual box to do cross-browser testing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 18:45:25 -0000 Jonathan Chen wrote: > On Mon, Nov 16, 2009 at 11:02:59AM -0500, John Almberg wrote: >> Anyone have experience using Sun's "Virtual Box" on FreeBSD? I am >> looking for a way to run virtual Windows machines to do cross-browser >> testing... > > I've been using it to do some .NET programming, and it's been pretty > good. No major problem, aside from the lack of CPU cycles the odd time > or so. That sounds encouraging enough to give it a try. Thanks. -- John From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 19:31:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03131106568B for ; Mon, 16 Nov 2009 19:31:53 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id B67068FC1D for ; Mon, 16 Nov 2009 19:31:52 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 03C463D689; Mon, 16 Nov 2009 20:31:49 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAGJVnBQ002259; Mon, 16 Nov 2009 20:31:49 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 20:31:49 +0100 From: Polytropon To: Gary Kline Message-Id: <20091116203149.1785f7c1.freebsd@edvax.de> In-Reply-To: <20091116070056.GE11539@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:31:53 -0000 On Sun, 15 Nov 2009 23:00:56 -0800, Gary Kline wrote: > there were stderrs output when i tried to exec sshd. reason > was that the rc.conf entry was not in rc.conf. (this is all > going into my .howto file.... The rc.d mechanism suggests to use /etc/rc.d/sshd control script for SSH server operations instead of the "bare" binary. The control script checks for the variable ${sshd_enable} which has to be set, or it won't start. By the way, it's not a problem if /etc/rc.conf is empty. In this case, defaults are used, but: % grep sshd /etc/defaults/rc.conf sshd_enable="NO" # Enable sshd As you see, sshd_enable is set to "NO" by default. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 19:42:03 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7638B106566B for ; Mon, 16 Nov 2009 19:42:03 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 33ECB8FC18 for ; Mon, 16 Nov 2009 19:42:03 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 5AA613D0F7; Mon, 16 Nov 2009 20:42:02 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAGJg02M002291; Mon, 16 Nov 2009 20:42:00 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 16 Nov 2009 20:42:00 +0100 From: Polytropon To: Manolis Kiagias Message-Id: <20091116204200.8fcdadf1.freebsd@edvax.de> In-Reply-To: <4B018D7A.9070104@otenet.gr> References: <42052.1258327169@tristatelogic.com> <20091116180102.61682ee8@gmx.de> <4B018D7A.9070104@otenet.gr> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Philipp Lengemann , freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:42:03 -0000 On Mon, 16 Nov 2009 19:35:54 +0200, Manolis Kiagias wrote: > If you stick with HAL however (using "AllowEmptyInput" bypasses the > autodetection), you can just use the policy file in the Handbook and > just add the "DontZap" option in "ServerFlags" or "ServerLayout" section. ^^ Or? Arbitrary locations again? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 19:47:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5A5E81065676; Mon, 16 Nov 2009 19:47:30 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.80]) by mx1.freebsd.org (Postfix) with ESMTP id B05E98FC16; Mon, 16 Nov 2009 19:47:29 +0000 (UTC) Received: from mail53.abv.bg (mail53.ni.bg [192.168.151.29]) by smtp-out.abv.bg (Postfix) with ESMTP id D03AAFF79; Mon, 16 Nov 2009 21:48:01 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=knWZAnHP2xlnREFPRYsz7JjzKlXgRQ+l7zFtV5jBXfU2pt1okZwpaukrC1XSGc+FS znZAE81URpOG+36a2/ooerszYYXXHvs7jsjoj4B+uOp7k6uz7j9/Q7dew29HSzd4wqB rWAWpCEQ6Y3roSjxAPG6p/XG/Lehj9aGxdMrXoQ= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1258400881; bh=G3PH8wluFMh7B7xjirGT+h0QzrmKyuVhxbKBYeLfJig=; h=Date:From:To:Cc:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=b9uGWcnmjQWV2pjUxslQCrl7k8wEi5fDIICQJDCEpsXct2n1pIaG2afNvLjzU3geW 08F+5cT06bMocnuI2ImW6jmzpTVdHMONJG4QYIX1782QR3xFq8g4nZJxRHBqjFdEat LCzDrKKY1YAtrx2JN59Dn+nikr6w5WtEeNz1EhoY= Received: from mail53.abv.bg (localhost.localdomain [127.0.0.1]) by mail53.abv.bg (Postfix) with ESMTP id 8E604241C00; Mon, 16 Nov 2009 21:47:33 +0200 (EET) Date: Mon, 16 Nov 2009 21:47:33 +0200 (EET) From: Mario Pavlov To: Mario Pavlov Message-ID: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 Cc: tajudd@gmail.com, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:47:30 -0000 Hi, it turned out I was stupid enough to misconfigure the kernel...I forgot that I had left the IPFIREWALL options turned on and as you know it's default to deny so once the kernel initializes ipfw it blocks everything including NFS so that was the whole problem...I removed the IPFIREWALL option and all went fine. thanks again mgp > Hi, >thanks again for your response: >here's what I have, what I do and what I want to happen > >1. I have my desktop machine which is running FreeBSD-7.2-STABLE-amd64 from June. > I created a new distribution like that (as shown in the handbook - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html): > >================================================================================ >mkdir /storage0/diskless >cd /usr/src >export DESTDIR=/storage0/diskless >make buildworld buildkernel installworld distribution installkernel >================================================================================ > >and created /storage0/diskless/etc/fstab with the following content: > >================================================================================ >192.168.0.1:/storage0/diskless / nfs ro 0 0 >================================================================================ > >and I put this in /etc/exports (having in mind your advice about the group) > >================================================================================ >/storage0/diskless -maproot=0:0 -ro -alldirs 192.168.0.3 >/usr -ro -alldirs 192.168.0.3 >================================================================================ > >and this is in my dhcpd.conf (I tried with and without the comments - no difference, same result) > >================================================================================ > host laptop { > hardware ethernet 00:1E:68:45:0D:98; ># option host-name "laptop"; ># ddns-hostname "laptop"; ># next-server 192.168.0.1; > fixed-address 192.168.0.3; > filename "pxeboot"; > option root-path "192.168.0.1:/storage0/diskless"; > } >================================================================================ > >2. And I do this: > >================================================================================ >rpcbind >nfsd -u -t -n 4 >mountd -r >/etc/rc.d/ineted onestart # I have my TFTP root set to /boot >/usr/local/etc/rc.d/isc-dhcpd onestart >================================================================================ > >then I start my laptop (which has a 64bit CPU therefore it should be compatible with my amd64 kernel) enter the boot menu and choose the network boot option and I can see that it acquires its IP address then fetches pxeboot over TFTP then pxeboot loads the kernel and the kernel starts bringing the system up...and these are the last few lines where the system stops: > >================================================================================ >... >... >Trying to mount root from nfs:192.168.0.1:/storage0/diskless >NFS ROOT: 192.168.0.1:/storage0/diskless >nfs send error 13 for server 192.168.0.1:/storage0/diskless >bge0: link state changed to DOWN >bge0: link state changed to UP >================================================================================ > >3. What I want is to have a server that multiple clients can boot from (diskless-ly as you say). And I want all file systems provided by the server to be read-only (which means I don't need lockd, do I...) > >Do you have an idea what could be my problem? ...obviously my TFTP and DHCP services are fine, even the NFS as pxeboot is able to download the kernel...maybe something in my distribution in /storage0/diskless is not OK? > >thanks >mgp > > > >Please compare my working configuration to yours to check. I found > >lots of odd problems in your post and I thought it'd be best to just > >run with this clean slate. > > > >Network config: > > One low-power PC Engines ALIX board running as the NFS server, with > >a microdrive partitioned off for it's own system, plus a separate > >mounted partition for diskless clients. This config works best with > >one diskless client, and is not the documented way from FreeBSD > >handbook to accomplish diskless workstations. I'll note what I > >immediately saw as an error in your config during these snippets. > > > >alix# bsdlabel /dev/ad0s1 > ># /dev/ad0s1: > >8 partitions: > ># size offset fstype [fsize bsize bps/cpg] > > a: 1048576 16 4.2BSD 2048 16384 8 > > c: 12000177 0 unused 0 0 # "raw" part, don't edit > > h: 10951585 1048592 4.2BSD 2048 16384 28552 > > > >alix# cat /etc/fstab > >/dev/ad0s1a / ufs rw 0 0 > >/dev/ad0s1h /diskless ufs rw 0 0 > > > >alix# cat /etc/exports > >/diskless -maproot=0:0 -network 192.168.0.0 -mask 255.255.255.0 > > > >*** maproot needs a user and group definition. > > > >alix# cat /etc/rc.conf > >rpcbind_enable="YES" > >nfs_server_enable="YES" > >rpc_statd_enable="YES" > >rpc_lockd_enable="YES" > > > >*** rpc_lockd provides file locking, rpc_lockd depends on rpc_statd > > > > > >************** Diskless side > > > >*** I believe the root filesystem information is passed on from dhcp, > >to pxeboot, to the kernel, in order to mount the root filesystem. You > >can have a 0-size fstab file for read-write access, or provide the > >read-only nfs root here. If you want it read only, it's best to > >specify it here, such as below > > > >alix# cat /diskless/etc/fstab > >192.168.0.1:/diskless / nfs ro 0 0 > > > >alix# cat /diskless/etc/rc.conf > >rpcbind_enable="YES" > >nfs_client_enable="YES" > >rpc_statd_enable="YES" > >rpc_lockd_enable="YES" > > > >*** File locking needed lockd/statd support on the client, also. > >Think of editing /etc/passwd (the proper way) when you need file > >locking. > > > > > > > > > >This will result in a basic, 1-workstation diskless setup working. > >The difference is that the FreeBSD rc startup looks for a /conf > >directory which can provide multiple overrides to multiple > >workstations. I tried setting up a livecd with a /conf directory only > >to find that the /conf is checked, no matter which medium it's booting > >off of. > > > >This config does NOT cover the DHCP scope, TFTP, IPs or other settings > >that might be pertinent to booting diskless-ly. > > > >Note that by sharing your exact / filesystem as an export is a bad > >idea. It will essentially create a NFS server on a NFS server round > >robin and probably won't connect. It's why you setup a separate > >partition (EVEN if it's a file-backed filesystem mounted with the help > >of mdconfig on a separate mountpoint on your filesystem). > > > >Once you revise your config, please try again. > > > > > >--Tim > >_______________________________________________ > >freebsd-stable@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-stable > >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > > > >----------------------------------------------------------------- >Вижте водещите новини от Vesti.bg! >http://www.vesti.bg >_______________________________________________ >freebsd-stable@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-stable >To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" > ----------------------------------------------------------------- Вижте водещите новини от Vesti.bg! http://www.vesti.bg From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 19:49:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AC45106566B for ; Mon, 16 Nov 2009 19:49:54 +0000 (UTC) (envelope-from cwhiteh@onetel.com) Received: from woodbine.london.02.net (woodbine.london.02.net [87.194.255.145]) by mx1.freebsd.org (Postfix) with ESMTP id 4DB528FC18 for ; Mon, 16 Nov 2009 19:49:54 +0000 (UTC) Received: from muji.config (93.97.24.219) by woodbine.london.02.net (8.5.016.1) id 4A20329606035DA2; Mon, 16 Nov 2009 19:49:50 +0000 Message-ID: <4B01ACDD.6070306@onetel.com> Date: Mon, 16 Nov 2009 19:49:49 +0000 From: Chris Whitehouse User-Agent: Thunderbird 2.0.0.21 (X11/20090423) MIME-Version: 1.0 To: vuthecuong References: <26366441.post@talk.nabble.com> In-Reply-To: <26366441.post@talk.nabble.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Default cannot install 8.0 rc2 in mobo P5QL-EM Hello, I am trying to install FreeBSD 8.0 rc2 on mobo ASUS P5QL-EM, but under the boot of the install dvd I get this run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config and then 120, 180 etc. Anyone know whats wrong? thanks Reply With Quote Multi-Quote This Message Quick reply to this message Thanks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:49:54 -0000 vuthecuong wrote: > Hello, I am trying to install FreeBSD 8.0 rc2 on mobo ASUS P5QL-EM, but under > the boot of the install dvd I get this > > run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config > > and then 120, 180 etc. > > Anyone know whats wrong? > thanks http://www.freebsd.org/cgi/query-pr.cgi?pr=136327 Chris From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 19:53:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E29DC1065676 for ; Mon, 16 Nov 2009 19:53:50 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 4F2BD8FC1F for ; Mon, 16 Nov 2009 19:53:49 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-121.home.otenet.gr [94.69.68.121]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAGJrl0t017199; Mon, 16 Nov 2009 21:53:48 +0200 Message-ID: <4B01ADCB.9030402@otenet.gr> Date: Mon, 16 Nov 2009 21:53:47 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Polytropon References: <42052.1258327169@tristatelogic.com> <20091116180102.61682ee8@gmx.de> <4B018D7A.9070104@otenet.gr> <20091116204200.8fcdadf1.freebsd@edvax.de> In-Reply-To: <20091116204200.8fcdadf1.freebsd@edvax.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 19:53:51 -0000 Polytropon wrote: > On Mon, 16 Nov 2009 19:35:54 +0200, Manolis Kiagias wrote: > >> If you stick with HAL however (using "AllowEmptyInput" bypasses the >> autodetection), you can just use the policy file in the Handbook and >> just add the "DontZap" option in "ServerFlags" or "ServerLayout" section. >> > ^^ > Or? Arbitrary locations again? :-) > > Hehe, both places will work actually. A default xorg.conf generated with the '-configure' option, will not have a "ServerFlags" section (which is entirely optional), but will certainly have a "ServerLayout" one. 'DontZap' (and other options) work in both places. Disclaimer: Xorg people will probably break this again in about 15days. Handle with care! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 21:03:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76E351065679; Mon, 16 Nov 2009 21:03:30 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 46E808FC08; Mon, 16 Nov 2009 21:03:30 +0000 (UTC) Received: by pwj15 with SMTP id 15so3857292pwj.3 for ; Mon, 16 Nov 2009 13:03:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=OkSORlbRwM5bPtQZQvXdMi2mCVFJpJlGr0Y76yarTh0=; b=o8TNgj1MDJ/D4fgMkT2bPf2WMSDFOB3ZJ9gbrPLZC6qNidYETUBNuX9MmKjAlYGj/H hKJGaSgCNnLASN7qJJ8AVitZVKiYxix8QCZkXD86ExVgPRNeAGiyESlzH3oBTkHm1BGk 6Uswrzy9WVhHGTOzHYDiLLCqJNk728aS9I8Ro= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Xa8m8ckOdR8F66Br3SrhJeVhtmirq/YZQdQf8kbJrCrvQx1/BmMo8tiBOyTDcUAO/m X/Fm+dqclrqTD4sywFCeUbICGW8DUoX4jyq9GfjbG7M/jegqzaoN5YJa+WObB0/ya5B+ IThB3kechZ6yG5tle/bOY8AqcfHROb7F9FAJc= MIME-Version: 1.0 Received: by 10.115.37.37 with SMTP id p37mr13979938waj.11.1258405407574; Mon, 16 Nov 2009 13:03:27 -0800 (PST) In-Reply-To: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> References: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> Date: Mon, 16 Nov 2009 14:03:27 -0700 Message-ID: From: Tim Judd To: Mario Pavlov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 21:03:30 -0000 On 11/16/09, Mario Pavlov wrote: > Hi, > it turned out I was stupid enough to misconfigure the kernel...I forgot that > I had left the IPFIREWALL options turned on and as you know it's default to > deny so once the kernel initializes ipfw it blocks everything including NFS > so that was the whole problem...I removed the IPFIREWALL option and all went > fine. > Ah, one of those moments. I have them too. Good to know it's working for you, and I would just because I'm the perfectionist personality type, change a couple of things that won't make a negative impact. The server's exports has no reason to export the diskless root with -alldirs. The system isn't asking for any mountpoint within / so you can leave off the -alldirs. 2nd, you buildworld and installworld into the diskless root, but never use it. You're using disk space you can reclaim. > thanks again > mgp Glad it's working, enjoy! From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 21:32:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72D2C1065694 for ; Mon, 16 Nov 2009 21:32:18 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 019A88FC30 for ; Mon, 16 Nov 2009 21:32:17 +0000 (UTC) Received: (qmail 15724 invoked by uid 399); 16 Nov 2009 21:32:17 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 16 Nov 2009 21:32:17 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4B01C4DF.4040400@FreeBSD.org> Date: Mon, 16 Nov 2009 13:32:15 -0800 From: Doug Barton Organization: http://SupersetSolutions.com/ User-Agent: Thunderbird 2.0.0.23 (X11/20090822) MIME-Version: 1.0 To: Mario Pavlov References: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> In-Reply-To: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> X-Enigmail-Version: 0.96.0 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: tajudd@gmail.com, freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 21:32:18 -0000 Mario Pavlov wrote: > Hi, it turned out I was stupid enough to misconfigure the > kernel...I forgot that I had left the IPFIREWALL options turned on You're not a real sysadmin until you've firewalled yourself out of at least one mission-critical system. Bonus points if it has no out-of-band control plane. Further bonus points if it is more than 100 miles away, and you are the one who has to drive to the data center. -- Improve the effectiveness of your Internet presence with a domain name makeover! http://SupersetSolutions.com/ From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 21:44:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19E6D106566B for ; Mon, 16 Nov 2009 21:44:26 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id E701B8FC15 for ; Mon, 16 Nov 2009 21:44:25 +0000 (UTC) Received: from unknown (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 77D0181B9; Mon, 16 Nov 2009 21:44:24 +0000 (UTC) Date: Mon, 16 Nov 2009 21:43:31 +0000 From: Bruce Cran To: Roland Smith Message-ID: <20091116214331.00007810@unknown> In-Reply-To: <20091116182358.GA95918@slackbox.xs4all.nl> References: <42307.1258330015@tristatelogic.com> <20091116182358.GA95918@slackbox.xs4all.nl> X-Mailer: Claws Mail 3.7.2cvs15 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 21:44:26 -0000 On Mon, 16 Nov 2009 19:23:58 +0100 Roland Smith wrote: > Install the smartmontools port, and check the drive with > 'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, > RMA it immediately, as it is about to fail. If see other errors > reported, RMA it. > > (S)ATA disk have spare sectors available. If a sector fails, it is > replaced by one of the spares by the firmware. If you see a non-zero > Reallocated_Sector_Ct, it means that the drive has run out of spares. > This is bad news. Surely it's the other way around - if you see a value of zero in the "value" column the drive has run out of spare sectors and it's time to RMA the drive? From what I've seen the 'raw' column appears to count the number of sectors the drive has remapped using the spares buffer. If it gets into the hundreds it's probably time to think about RMA'ing the drive - if you trust that the 'raw' column is reporting what you think it is (you should really only base your decision on the value, worst and threshold columns). -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 22:10:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9281A1065672 for ; Mon, 16 Nov 2009 22:10:54 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 16D1E8FC20 for ; Mon, 16 Nov 2009 22:10:53 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id nAGMAqUJ092573; Mon, 16 Nov 2009 15:10:52 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id nAGMAq2q092570; Mon, 16 Nov 2009 15:10:52 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Mon, 16 Nov 2009 15:10:52 -0700 (MST) From: Warren Block To: Philipp Lengemann In-Reply-To: <20091116180102.61682ee8@gmx.de> Message-ID: References: <42052.1258327169@tristatelogic.com> <20091116180102.61682ee8@gmx.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (wonkity.com [127.0.0.1]); Mon, 16 Nov 2009 15:10:52 -0700 (MST) Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 22:10:55 -0000 On Mon, 16 Nov 2009, Philipp Lengemann wrote: > Am Sun, 15 Nov 2009 15:19:29 -0800 > schrieb "Ronald F. Guilmette" : > >> I _did_ go and read the Handbook section that Manolis Kiagias >> kindly posted a link to, and I have now tried _both_ of the two >> ways described there to re-enable CNTL-ALT-BACKSPACE functionality >> for the X server, and sadly I must report that for me, at least >> _neither_ of those methods worked > > Put the following to your xorg.conf: > > > Section "ServerFlags" > Option "DontZap" "off" > Option "AllowEmptyInput" "off" > Option "AutoAddDevices" "off" > EndSection > > Section "InputDevice" > Option "XkbOptions" "terminate:ctrl_alt_bksp" > EndSection > > > This works for me very reliable (xorg-7.4_2). That InputDevice entry is interesting. It has to be added to a Keyboard section, not standalone as shown (unless I missed something). (If it was standalone, it would nicely eliminate the need for the setxkbmap -option terminate:ctrl_alt_bksp entry in my .xinitrc.) For those who want to do that with hal, for all keyboards, here's a patch for /usr/local/share/hal/fdi/policy/10osvendor/10-x11-input.fdi: --- 10-x11-input.fdi.orig 2009-11-16 14:47:01.000000000 -0700 +++ 10-x11-input.fdi 2009-11-16 14:54:01.000000000 -0700 @@ -22,6 +22,7 @@ string="Linux"> evdev + terminate:ctrl_alt_bksp -Warren Block * Rapid City, South Dakota USA From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 22:16:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 39EA1106568D for ; Mon, 16 Nov 2009 22:16:39 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id C4EBE8FC15 for ; Mon, 16 Nov 2009 22:16:38 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAGMGS8Z090312; Mon, 16 Nov 2009 23:16:28 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id A1C05BA96; Mon, 16 Nov 2009 23:16:27 +0100 (CET) Date: Mon, 16 Nov 2009 23:16:27 +0100 From: Roland Smith To: Bruce Cran Message-ID: <20091116221627.GA2725@slackbox.xs4all.nl> References: <42307.1258330015@tristatelogic.com> <20091116182358.GA95918@slackbox.xs4all.nl> <20091116214331.00007810@unknown> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <20091116214331.00007810@unknown> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 22:16:39 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 16, 2009 at 09:43:31PM +0000, Bruce Cran wrote: > On Mon, 16 Nov 2009 19:23:58 +0100 > Roland Smith wrote: >=20 > > Install the smartmontools port, and check the drive with=20 > > 'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, > > RMA it immediately, as it is about to fail. If see other errors > > reported, RMA it. > >=20 > > (S)ATA disk have spare sectors available. If a sector fails, it is > > replaced by one of the spares by the firmware. If you see a non-zero > > Reallocated_Sector_Ct, it means that the drive has run out of spares. > > This is bad news. >=20 > Surely it's the other way around - if you see a value of zero in the > "value" column the drive has run out of spare sectors and it's time to > RMA the drive? I was talking about the _RAW_VALUE column. There seems to be some differenc= es in interpretation between vendors as to what the VALUE column means. Most of the advice I've seen over the years says to look at the RAW_VALUE. See http://en.wikipedia.org/wiki/S.M.A.R.T. as well. > From what I've seen the 'raw' column appears to count > the number of sectors the drive has remapped using the spares buffer. > If it gets into the hundreds it's probably time to think about RMA'ing > the drive Yes, the raw value is the number of sectors allocated from the spares. I originally thought it was the number of reallocations _beyond_ the spares. That's a misunderstanding on my part. Nevertheless this attribute (along with several) is marked on the Wikipedia page for smart as a "Potential indicator of imminent electromechanical failure". You can find the same attributes marked as critical when perusing mailing list archives. For me, my data is worth much more than the harddisk it is on. Some of it is literally irreplacable. So my policy is to go look for a replacement harddi= sk as soon as the RAW_VALUEs of any of these critical indicators start going up =66rom zero. And store any data at least on two harddisks, whether in a mir= ror or in a cron+rsync setup. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksBzzsACgkQEnfvsMMhpyW71gCggLsGWSSlMogKU5LESkglK4wK rnwAn2Cf9ynSpuLEExhkmPn2j9oM0jNn =sMBN -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR-- From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 22:58:57 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE44F106568D for ; Mon, 16 Nov 2009 22:58:57 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 8FF7E8FC1C for ; Mon, 16 Nov 2009 22:58:57 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAGMwnoa027379 for ; Mon, 16 Nov 2009 14:58:49 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 16 Nov 2009 14:58:53 -0800 (PST) Date: Mon, 16 Nov 2009 14:58:53 -0800 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20091116225850.GA15661@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Subject: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 22:58:57 -0000 something panicked my dell. more than twice. i have loaded, the i386 7.2-R Dvd. the panic was something like PHY#1 panic[y/n]y then something about cpu 0 being involved. i have the 8.0 rc3 bootonly.iso cd. should i try that? or did dell ship me a bad computer? ideas? gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 23:12:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14B5E1065670; Mon, 16 Nov 2009 23:12:00 +0000 (UTC) (envelope-from marka@isc.org) Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5]) by mx1.freebsd.org (Postfix) with ESMTP id F0BE08FC15; Mon, 16 Nov 2009 23:11:59 +0000 (UTC) Received: from drugs.dv.isc.org (drugs.dv.isc.org [IPv6:2001:470:1f00:820:214:22ff:fed9:fbdc]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "drugs.dv.isc.org", Issuer "ISC CA" (not verified)) by farside.isc.org (Postfix) with ESMTP id 0BB00E6063; Mon, 16 Nov 2009 23:11:57 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.14.3/8.14.3) with ESMTP id nAGNBjBt023863; Tue, 17 Nov 2009 10:11:51 +1100 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200911162311.nAGNBjBt023863@drugs.dv.isc.org> To: Doug Barton From: Mark Andrews References: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> <4B01C4DF.4040400@FreeBSD.org> In-reply-to: Your message of "Mon, 16 Nov 2009 13:32:15 -0800." <4B01C4DF.4040400@FreeBSD.org> Date: Tue, 17 Nov 2009 10:11:45 +1100 Sender: marka@isc.org Cc: Mario Pavlov , freebsd-stable@freebsd.org, freebsd-questions@freebsd.org, tajudd@gmail.com Subject: Re: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 23:12:00 -0000 In message <4B01C4DF.4040400@FreeBSD.org>, Doug Barton writes: > Mario Pavlov wrote: > > Hi, it turned out I was stupid enough to misconfigure the > > kernel...I forgot that I had left the IPFIREWALL options turned on > > You're not a real sysadmin until you've firewalled yourself out of at > least one mission-critical system. > > Bonus points if it has no out-of-band control plane. > > Further bonus points if it is more than 100 miles away, and you are > the one who has to drive to the data center. Triple bonus points if it is +20 hours of flight time away. Home data center and angry wife w/o Internet access. Yes I managed to stuff up a home machine while in Ireland. Mark -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: marka@isc.org From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 23:12:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3BA2106566C for ; Mon, 16 Nov 2009 23:12:45 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 9029B8FC0C for ; Mon, 16 Nov 2009 23:12:45 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAGNCX16027516; Mon, 16 Nov 2009 15:12:33 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 16 Nov 2009 15:12:37 -0800 (PST) Date: Mon, 16 Nov 2009 15:12:36 -0800 From: Gary Kline To: Polytropon Message-ID: <20091116231236.GA15714@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091116203149.1785f7c1.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 23:12:45 -0000 On Mon, Nov 16, 2009 at 08:31:49PM +0100, Polytropon wrote: > On Sun, 15 Nov 2009 23:00:56 -0800, Gary Kline wrote: > > there were stderrs output when i tried to exec sshd. reason > > was that the rc.conf entry was not in rc.conf. (this is all > > going into my .howto file.... > > The rc.d mechanism suggests to use /etc/rc.d/sshd control > script for SSH server operations instead of the "bare" > binary. The control script checks for the variable > ${sshd_enable} which has to be set, or it won't start. > > By the way, it's not a problem if /etc/rc.conf is empty. > In this case, defaults are used, but: > > % grep sshd /etc/defaults/rc.conf > sshd_enable="NO" # Enable sshd > > As you see, sshd_enable is set to "NO" by default. > darn, but that would've been that last thing i would have expected... . i dont see any rationale... > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 23:43:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FE151065672 for ; Mon, 16 Nov 2009 23:43:51 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 2617D8FC0A for ; Mon, 16 Nov 2009 23:43:50 +0000 (UTC) Received: by yxe1 with SMTP id 1so1264234yxe.3 for ; Mon, 16 Nov 2009 15:43:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=jQlJNT9LA8oeDxj+M8icY+xBsjqRtjdSxivCpcB0NZo=; b=SE4vnuSfjTxPSVQ96GJ5LibJietspObvxa5edtS4KF8tVcVFyzMdS+hHvC1r/qhFYa u0L4Z/yydVhJ9DVDc6FvG5bJ6eWEr7+qa+nENxa6GcA2tO5X2Nain4cUM5ufeZGzvEcg Go0OgMblbbAxc+Z9sSMQONX32TsvRjlKUwFTQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Hg2TBI7jNZ/YMoKe0gvfomsvpW/SfVexWsVmRJJ4wfS2ujXVLPbXI/JcSddFg59NVG TpAAgG5E/yDR3Nw/mNGqemypicL4/9/PPheAfO8cXcct4L1Prp+ZBxD49otvjcHP7NWc 2t4nuxN2UzjBbw2jhyo4Znd+YpIQk/ajmvnN0= Received: by 10.150.8.3 with SMTP id 3mr14818100ybh.62.1258415030306; Mon, 16 Nov 2009 15:43:50 -0800 (PST) Received: from ?192.168.1.103? (pool-96-254-203-152.tampfl.fios.verizon.net [96.254.203.152]) by mx.google.com with ESMTPS id 21sm1176674ywh.16.2009.11.16.15.43.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 16 Nov 2009 15:43:49 -0800 (PST) Message-ID: <4B01E2A3.5020305@gmail.com> Date: Mon, 16 Nov 2009 18:39:15 -0500 From: David Jackson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Lockup problems on FreeBSD disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 23:43:51 -0000 I have a USB hard drive. Whenever I open two programs which utilise the USB hard drive simultaneously, these programs, i assume when they attempt to write to the hard drive lock up due to what i suspect must be some issue with the USB driver and perhaps a deadlock involving multiple concurrent accesses to the drive. When they attempt to access the drive the programs can lock up for several minutes before being unblocked. When only one program is using the drive this behaviour does not seem to occur. It seems most likely that this is a USB level problem involving the USB drivers. I am using FreeBSD 7.1. It is annoying behaviour to say the least and I wonder what can be done about it, and if this issue is being addressed, perhaps in the recent redesign of the USB code. It seems to be a pretty consistent issue, happening with multiple installs of FreeBSD and different drives. Thank you. From owner-freebsd-questions@FreeBSD.ORG Mon Nov 16 23:47:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9F031065670; Mon, 16 Nov 2009 23:47:57 +0000 (UTC) (envelope-from ade@FreeBSD.org) Received: from panix.lovett.com (panix.lovett.com [166.84.7.128]) by mx1.freebsd.org (Postfix) with ESMTP id 90D928FC13; Mon, 16 Nov 2009 23:47:57 +0000 (UTC) Received: from [96.39.161.134] (helo=inferno.lab.lovett.com ident=ade) by panix.lovett.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1NAAhi-0002DO-N5; Mon, 16 Nov 2009 23:09:50 +0000 Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Ade Lovett In-Reply-To: <4B01C4DF.4040400@FreeBSD.org> Date: Mon, 16 Nov 2009 15:09:48 -0800 Content-Transfer-Encoding: quoted-printable Message-Id: <95B3B3E7-CEFF-43FE-9937-B4E2A7AA026C@FreeBSD.org> References: <1913483789.15152.1258400853581.JavaMail.apache@mail53.abv.bg> <4B01C4DF.4040400@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1077) Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Nov 2009 23:47:57 -0000 On Nov 16, 2009, at 13:32 , Doug Barton wrote: > You're not a real sysadmin until you've firewalled yourself out of at > least one mission-critical system. >=20 > Bonus points if it has no out-of-band control plane. >=20 > Further bonus points if it is more than 100 miles away, and you are > the one who has to drive to the data center. Extreme bonus points if said system is on another continent, and you = have to get on a plane _right_now_ (spending the flight wondering why = the OOB system is dead). -aDe From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 00:57:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E853106566B for ; Tue, 17 Nov 2009 00:57:21 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id C447C8FC15 for ; Tue, 17 Nov 2009 00:57:20 +0000 (UTC) Received: by bwz5 with SMTP id 5so6679215bwz.3 for ; Mon, 16 Nov 2009 16:57:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9B4iLZYtb5697AKBGMxRyLFSrmJhTugt8NPXAMUOrH4=; b=CCEWD++QPDSpYdiQi1Ktk5h3tJKncOtSBTIH0LxMVfrr96cxpThBXK03G8OJGsvIsT GrQcQgt9hiqZxB3qax6nDGUWtgmy7NC38+yJkB1PJokYY9OLIc/xBXIlo+N+DLgtQAW5 khhY6+3y3Nb3noaWybrlwXysqZnTocdaxBLug= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YmgUEAwEiq+7dO6M9cwC6/mr5gAY+jIHw8DKOvFFMOJnA/0MrqW6Cbigoh427nf2ja j27xaNM7VhSWB5VKqyKVmKcXgKo6FLH/c/y2ziAlJ8e9mntdbNo3pvUis1xMCHqF6iZp hQhbtYKzEQ4cKzf10XJ/cF8rJsMA3/hF1jpvc= MIME-Version: 1.0 Received: by 10.223.110.39 with SMTP id l39mr1292880fap.3.1258419439379; Mon, 16 Nov 2009 16:57:19 -0800 (PST) In-Reply-To: <20091116225850.GA15661@thought.org> References: <20091116225850.GA15661@thought.org> Date: Mon, 16 Nov 2009 19:57:19 -0500 Message-ID: <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 00:57:21 -0000 Hi On Mon, Nov 16, 2009 at 5:58 PM, Gary Kline wrote: > > =A0 =A0 =A0 =A0something panicked my dell. =A0more than twice. =A0i have = loaded, the > =A0 =A0 =A0 =A0i386 7.2-R Dvd. =A0the panic was something like > > =A0 =A0 =A0 =A0PHY#1 > =A0 =A0 =A0 =A0panic[y/n]y Do you have a crash report in /var/crash ? > > =A0 =A0 =A0 =A0then something about cpu 0 being involved. > > =A0 =A0 =A0 =A0i have the 8.0 rc3 bootonly.iso cd. =A0should i try that? = =A0or did > =A0 =A0 =A0 =A0dell ship me a bad computer? > I'll keep my opinions to myself... > =A0 =A0 =A0 =A0ideas? > > =A0 =A0 =A0 =A0gary > > > --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 03:28:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FD55106566B for ; Tue, 17 Nov 2009 03:28:39 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 24E348FC14 for ; Tue, 17 Nov 2009 03:28:38 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAH3STXi029577; Mon, 16 Nov 2009 19:28:29 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 16 Nov 2009 19:28:33 -0800 (PST) Date: Mon, 16 Nov 2009 19:28:33 -0800 From: Gary Kline To: Glen Barber Message-ID: <20091117032833.GA16284@thought.org> References: <20091116225850.GA15661@thought.org> <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 03:28:39 -0000 On Mon, Nov 16, 2009 at 07:57:19PM -0500, Glen Barber wrote: > Hi > > On Mon, Nov 16, 2009 at 5:58 PM, Gary Kline wrote: > > > >        something panicked my dell.  more than twice.  i have loaded, the > >        i386 7.2-R Dvd.  the panic was something like > > > >        PHY#1 > >        panic[y/n]y > > Do you have a crash report in /var/crash ? > no, nada. i didnt know about /var/crash until now, thanks for the datapoint. it is empty. > > > >        then something about cpu 0 being involved. > > > >        i have the 8.0 rc3 bootonly.iso cd.  should i try that?  or did > >        dell ship me a bad computer? > > > > I'll keep my opinions to myself... > well, i'd laugh, glen, but i hurt my back twisting over to my right [[ with my left hand]] to use the dell keybd. yes, why would any body do anybody else a bad deed. here is more complete version of the events of the day. my network bud down in dallas is helping me get the dell as my new server. my old hp kayak is from 1998 and on its death-bed. okay: i have 7.2-R, i386. installs fine. jon horne changed the IP that the op sys | DHCP suite chose from 10.47.0.112 to 10.47.0.230. i do not know why, but he change the ifconfig line in /etc/rc.conf from ="DHCP" to ="inet 10.47.0.230 netmask 10.0.0.255" or something similar. jon says that the IP can't or shouldn't be D=Dynamic but stable. surely this is right. ---in my old config prior to jan 2008 or dec 2007 i had every local IP tied down in a file in /usr/local/etc/dhcpd.conf [or similar]. it worked flawlessly. now i am using pfSense and i *think* there is a config file in there that makes local IP's stable. anybody know if i'm right? anyway, after my dell was reset to 0.230 from 0.112, things began to fail. i do not know very much about networking or dhcp; just enough to know that if something works, that is a Good sigh! i need to move over my /etc/namedb/* files; i need to set up mail-- dovecot[?]; and lastly, apache22. i've got the files, just don't know how-to make the switch from my 1998 server to my 2009 computer. thanks to all who have read this far. ideas, suggestions very welcome. a severe wind storm tonight may take down my network any time. sooner is better, :-) gary > >        ideas? > > > >        gary > > > > > > > > > > -- > Glen Barber -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 04:28:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D64BF106566B for ; Tue, 17 Nov 2009 04:28:45 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 69C108FC08 for ; Tue, 17 Nov 2009 04:28:45 +0000 (UTC) Received: by fxm27 with SMTP id 27so6821706fxm.3 for ; Mon, 16 Nov 2009 20:28:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=0UQVAopkDAaNfWbKoCAnZX6kLKwgIq+pQZxX7mOmaNw=; b=bj9lH/D3lSV6+zuPsRxq+SegA2LfJZTSSBfzFLvilDIU3/pSTN1XR+aiDpLEGyXIO1 ntXuACNPXPBO5q/oFeLIu/icDAzX/m5ddwZ7nxtHpAeiamLeoLOZ+9A1pOaqnxwxVlhS H2yp11mYFGoyfrSWn+aJwRQMr44YqfJpHSDes= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=lhBuMPaGNaiXm4mmQk74amviobfcO8JBH30RXQW+Jw0Ac+ncspl14v00ZWcmePpUwt smHdFm9dZmb8rDXuxO0ELebumenrQ1NQgdoNZyAWGsAlX/+XsUI5lTsHOocmMbXoq0v/ Zp0pe89DSfjh8ptxQR2+1p7PW4OvX+WXby670= MIME-Version: 1.0 Received: by 10.204.32.146 with SMTP id c18mr3719422bkd.88.1258432124293; Mon, 16 Nov 2009 20:28:44 -0800 (PST) In-Reply-To: <20091117032833.GA16284@thought.org> References: <20091116225850.GA15661@thought.org> <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> <20091117032833.GA16284@thought.org> Date: Mon, 16 Nov 2009 23:28:44 -0500 Message-ID: <4ad871310911162028t7bf203cbs6ffa9e9c846380e@mail.gmail.com> From: Glen Barber To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Mailing List Subject: Re: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 04:28:46 -0000 Hi Gary, On Mon, Nov 16, 2009 at 10:28 PM, Gary Kline wrote: > On Mon, Nov 16, 2009 at 07:57:19PM -0500, Glen Barber wrote: >> Hi >> >> On Mon, Nov 16, 2009 at 5:58 PM, Gary Kline wrote: >> > >> > =A0 =A0 =A0 =A0something panicked my dell. =A0more than twice. =A0i ha= ve loaded, the >> > =A0 =A0 =A0 =A0i386 7.2-R Dvd. =A0the panic was something like >> > >> > =A0 =A0 =A0 =A0PHY#1 >> > =A0 =A0 =A0 =A0panic[y/n]y >> >> Do you have a crash report in /var/crash ? >> > > =A0 =A0 =A0 =A0no, nada. =A0i didnt know about /var/crash until now, than= ks for the > =A0 =A0 =A0 =A0datapoint. =A0it is empty. > Very important location on your system after a (possible) panic. > >> > >> > =A0 =A0 =A0 =A0then something about cpu 0 being involved. >> > >> > =A0 =A0 =A0 =A0i have the 8.0 rc3 bootonly.iso cd. =A0should i try tha= t? =A0or did >> > =A0 =A0 =A0 =A0dell ship me a bad computer? >> > >> >> I'll keep my opinions to myself... >> > > =A0 =A0 =A0 =A0well, i'd laugh, glen, but i hurt my back twisting over to= my right > =A0 =A0 =A0 =A0[[ with my left hand]] to use the dell keybd. =A0 yes, why= would any > =A0 =A0 =A0 =A0body do anybody else a bad deed. > > =A0 =A0 =A0 =A0here is more complete version of the events of the day. > > =A0 =A0 =A0 =A0my network bud down in dallas is helping me get the dell a= s my > =A0 =A0 =A0 =A0new server. =A0my old hp kayak is from 1998 and on its dea= th-bed. > > =A0 =A0 =A0 =A0okay: i have 7.2-R, i386. =A0installs fine. =A0 jon horne = changed the > =A0 =A0 =A0 =A0IP that the op sys | DHCP suite chose from 10.47.0.112 to > =A0 =A0 =A0 =A010.47.0.230. =A0i do not know why, but he change the ifcon= fig line in > =A0 =A0 =A0 =A0/etc/rc.conf from =3D"DHCP" to =3D"inet 10.47.0.230 netmas= k 10.0.0.255" > =A0 =A0 =A0 =A0or something similar. =A0jon says that the IP can't or sho= uldn't be > =A0 =A0 =A0 =A0D=3DDynamic but stable. =A0surely this is right. ---in my = old config > =A0 =A0 =A0 =A0prior to jan 2008 or dec 2007 i had every local IP tied do= wn in a > =A0 =A0 =A0 =A0file in /usr/local/etc/dhcpd.conf [or similar]. =A0it work= ed > =A0 =A0 =A0 =A0flawlessly. =A0now i am using pfSense and i *think* there = is a config > =A0 =A0 =A0 =A0file in there that makes local IP's stable. > Network configuration "should not" provoke a panic, unless the driver is at fault (which you have not stated which driver this is). > =A0 =A0 =A0 =A0anybody know if i'm right? > No clue about pfsense.... > =A0 =A0 =A0 =A0anyway, after my dell was reset to 0.230 from 0.112, thing= s began to > =A0 =A0 =A0 =A0fail. =A0i do not know very much about networking or dhcp;= just enough > =A0 =A0 =A0 =A0to know that if something works, that is a Good sigh! > > =A0 =A0 =A0 =A0i need to move over my /etc/namedb/* files; i need to set = up mail-- > =A0 =A0 =A0 =A0dovecot[?]; and lastly, apache22. =A0i've got the files, j= ust don't > =A0 =A0 =A0 =A0know how-to make the switch from my 1998 server to my 2009 > =A0 =A0 =A0 =A0computer. > > =A0 =A0 =A0 =A0thanks to all who have read this far. =A0ideas, suggestion= s very > =A0 =A0 =A0 =A0welcome. =A0a severe wind storm tonight may take down my n= etwork any > =A0 =A0 =A0 =A0time. =A0sooner is better, :-) > > =A0 =A0 =A0 =A0gary > >> > =A0 =A0 =A0 =A0ideas? >> > >> > =A0 =A0 =A0 =A0gary >> > >> > >> > >> >> --=20 Glen Barber From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 05:43:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA97C1065672 for ; Tue, 17 Nov 2009 05:43:07 +0000 (UTC) (envelope-from baerks@t-online.de) Received: from mailout05.t-online.de (mailout05.t-online.de [194.25.134.82]) by mx1.freebsd.org (Postfix) with ESMTP id 74A9B8FC08 for ; Tue, 17 Nov 2009 05:43:07 +0000 (UTC) Received: from fwd00.aul.t-online.de by mailout05.t-online.de with smtp id 1NAGqI-0000lR-00; Tue, 17 Nov 2009 06:43:06 +0100 Received: from amd.catfish.ddns.org (ZGNLvaZO8hKJV2xNdrSyroGSi9z7tnhNxwySdUs+HVZdYWsml6D-8C7WaQ-QEzMQSz@[79.218.89.27]) by fwd00.aul.t-online.de with esmtp id 1NAGq9-1QPly40; Tue, 17 Nov 2009 06:42:57 +0100 Received: from amd.catfish.ddns.org (localhost [127.0.0.1]) by amd.catfish.ddns.org (8.14.3/8.14.3) with ESMTP id nAH5h3Gx007275 for ; Tue, 17 Nov 2009 06:43:04 +0100 (CET) (envelope-from monkel@amd.catfish.ddns.org) Received: (from monkel@localhost) by amd.catfish.ddns.org (8.14.3/8.14.3/Submit) id nAH5h3xF007274 for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 06:43:03 +0100 (CET) (envelope-from monkel) Date: Tue, 17 Nov 2009 06:43:03 +0100 From: Sabine Baer To: freebsd-questions@freebsd.org Message-ID: <20091117054303.GB1295@amd.catfish.ddns.org> References: <20091115181114.GA1295@amd.catfish.ddns.org> <20091116015659.GA77360@orange.esperance-linux.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091116015659.GA77360@orange.esperance-linux.co.uk> User-Agent: Mutt/1.4.2.3i X-ID: ZGNLvaZO8hKJV2xNdrSyroGSi9z7tnhNxwySdUs+HVZdYWsml6D-8C7WaQ-QEzMQSz X-TOI-MSGID: 6b48ca3e-b612-4f10-a3ed-d13bd05f33d8 Subject: Re: No /dev/da0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 05:43:07 -0000 On Mon, Nov 16, 2009 at 01:56:59AM +0000, Frank Shute wrote: [...] > Have you tried playing around with camcontrol(8)? Yes, but the only effect was a freezing controlling terminal. Only # camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) # Shutting down the system I can read "Some processes wouldn't die" > Maybe after you've plugged it in, try: > > # camcontrol load 0:0:0 > > then: > > # camcontrol devlist > > and then try mounting it if it shows up given the above command. > > Sometimes, you have to: > > # camcontrol stop 0:0:0 > # camcontrol rescan 0:0:0 > # camcontrol load 0:0:0 > > to get it to behave. > > Before unplugging it, unmount it and then: > > # camcontrol eject 0:0:0 Thank You. Might be I did a mistake, but now even /dev/pass0 has gone. Sabine -- Le cardinal César Baronius avait raison: "Le Saint-Esprit nous apprend comment aller au ciel et non pas comment va le ciel". (Kardinal Poupard) From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 05:50:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89906106566C for ; Tue, 17 Nov 2009 05:50:34 +0000 (UTC) (envelope-from baerks@t-online.de) Received: from mailout01.t-online.de (mailout01.t-online.de [194.25.134.80]) by mx1.freebsd.org (Postfix) with ESMTP id 3DD9E8FC16 for ; Tue, 17 Nov 2009 05:50:34 +0000 (UTC) Received: from fwd09.aul.t-online.de by mailout01.t-online.de with smtp id 1NAGxS-0000p6-01; Tue, 17 Nov 2009 06:50:30 +0100 Received: from amd.catfish.ddns.org (TzIy+8ZLYhieJ8tsC3EpGpFN15wS-6f0rHLRrjNZZgqnR96raRktaV8OYQbBlITQEr@[79.218.89.27]) by fwd09.aul.t-online.de with esmtp id 1NAGxQ-22ZAfY0; Tue, 17 Nov 2009 06:50:28 +0100 Received: from amd.catfish.ddns.org (localhost [127.0.0.1]) by amd.catfish.ddns.org (8.14.3/8.14.3) with ESMTP id nAH5oZU1007315; Tue, 17 Nov 2009 06:50:35 +0100 (CET) (envelope-from monkel@amd.catfish.ddns.org) Received: (from monkel@localhost) by amd.catfish.ddns.org (8.14.3/8.14.3/Submit) id nAH5oZuE007314; Tue, 17 Nov 2009 06:50:35 +0100 (CET) (envelope-from monkel) Date: Tue, 17 Nov 2009 06:50:34 +0100 From: Sabine Baer To: Roland Smith Message-ID: <20091117055034.GC1295@amd.catfish.ddns.org> References: <20091115181114.GA1295@amd.catfish.ddns.org> <20091116183912.GB95918@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20091116183912.GB95918@slackbox.xs4all.nl> User-Agent: Mutt/1.4.2.3i X-ID: TzIy+8ZLYhieJ8tsC3EpGpFN15wS-6f0rHLRrjNZZgqnR96raRktaV8OYQbBlITQEr X-TOI-MSGID: c85faf52-cedb-44f2-9f8a-6fcb8c3cb06a Cc: freebsd-questions@freebsd.org Subject: Re: No /dev/da0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 05:50:35 -0000 On Mon, Nov 16, 2009 at 07:39:12PM +0100, Roland Smith wrote: [...] > The USB stack in 7.2 doesn't always handle quirky hardware well. > There could be a regression on your hardware going from 6.x to 7.2. > The USB stack has been rewritten for 8.0. In my limited testing it > works better. I've got 8.0-PRERELEASE running on a laptop without > problems. OK, thanks. I haven't an idle notebook, but I'll try a 8.0 on a bootable stick, just for seeing /dev/da0(s1), not the card's content. Sabine -- "Wissenschaftlich betrachtet wird das Häuschen kaputt sein." (Th. Waschke in dswc auf die Frage eines wissenschftlich Interessierten, was mit einem Holzhaus, in dem eine Atombombe gezuendet wird, passiere.) From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 05:54:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4758F106566B; Tue, 17 Nov 2009 05:54:20 +0000 (UTC) (envelope-from freebsd@abv.bg) Received: from smtp-out.abv.bg (smtp-out.abv.bg [194.153.145.80]) by mx1.freebsd.org (Postfix) with ESMTP id EB8B38FC19; Tue, 17 Nov 2009 05:54:19 +0000 (UTC) Received: from mail51.abv.bg (mail51.ni.bg [192.168.151.12]) by smtp-out.abv.bg (Postfix) with ESMTP id D087687B10; Tue, 17 Nov 2009 07:54:56 +0200 (EET) DomainKey-Signature: a=rsa-sha1; s=smtp-out; d=abv.bg; c=simple; q=dns; b=W8Oezk90kJDSwvkzOpsR3GwVtd+H6DLXuRtfJIVpNjCgPmtJUzdUrlB4fNB8NneYL tJMkOoXO8YfGN3unD+4nCwSf0JQXTdwT/Xre7KTJNmc8BtkWOoFA7fgvvHimQpCmkaG yGYNLvIWKqGcVrEVh96TFxIfh66vzISZz1MMxj8= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=abv.bg; s=smtp-out; t=1258437296; bh=tmF/v0cwnh0JVnVOIsESrxvL0vvcxhhkXAGPCtp09b4=; h=Date:From:To:Message-ID:Subject:MIME-Version:Content-Type: Content-Transfer-Encoding:DKIM; b=GjTxEeZu6yS61R8n8H7178ZvpdxuBMfp4MPa0lx0t3kJKzzxRBNTXPGXvG5aE6Ua1 bGAIgyUqJWHk9m+DGvz5z9gky34fWwlthDNsy8AMETcfeCQIZ6Zom2pCvVeCowtOK5 8MbsO42Asb3jkvs+9Z//XP9lngTmsDGqLnH+/lDI= Received: from mail51.abv.bg (localhost.localdomain [127.0.0.1]) by mail51.abv.bg (Postfix) with ESMTP id 172F516C122; Tue, 17 Nov 2009 07:54:32 +0200 (EET) Date: Tue, 17 Nov 2009 07:54:32 +0200 (EET) From: Mario Pavlov To: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Message-ID: <456530742.21066.1258437272093.JavaMail.apache@mail51.abv.bg> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Priority: 3 X-Mailer: AbvMail 1.0 X-Originating-IP: 78.128.21.208 Cc: Subject: Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 05:54:20 -0000 indeed you get bonus points if you firewall yourself :) and of course this is not the first time I do that so my score is pretty good however my favourite is to forget about net.inet.ip.forwarding when I upgrade routers with many clients :) Tim, thanks for your hints...but I don't understand this one: >2nd, you buildworld and installworld into the diskless root, but never >use it. You're using disk space you can reclaim. how so I never use it and can reclaim diskspace ? thanks, mgp ----------------------------------------------------------------- Вижте водещите новини от Vesti.bg! http://www.vesti.bg From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 05:57:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D5291065696 for ; Tue, 17 Nov 2009 05:57:08 +0000 (UTC) (envelope-from dweimer@orscheln.com) Received: from proxy2.orscheln.com (proxy2.orscheln.com [216.106.0.225]) by mx1.freebsd.org (Postfix) with ESMTP id 030FD8FC0A for ; Tue, 17 Nov 2009 05:57:07 +0000 (UTC) Received: from neuman.orscheln.oi.local (neuman.orscheln.com [10.20.10.160]) by proxy2.orscheln.com (8.14.3/8.14.3) with ESMTP id nAH5urrj064700 for ; Mon, 16 Nov 2009 23:57:01 -0600 (CST) (envelope-from dweimer@orscheln.com) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Mon, 16 Nov 2009 23:56:52 -0600 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Iomega REV Drive Thread-Index: AcpnSsJ+6R1/iRgbTLO+waEmqoicsQ== From: "Dean Weimer" To: Subject: Iomega REV Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 05:57:08 -0000 I have recently found a used Iomega REV drive for a cheap price, and = thought it might work as a good low cost backup solution on my home = FreeBSD server. However, I haven't been able to figure out how to make = it work with FreeBSD. FreeBSD finds it as a CDROM drive, has anyone = managed to make one of these drives work on FreeBSD? This is the 36G = IDE version of the drive, I picked the drive up cheap, along with one = used disk, if it doesn't work it's no big loss. I have tried searching = the lists, and have found people asking questions in the past, but never = found an answer to them. The dmesg output for the drive shows it as: acd0: CDROM at ata0-slave UDMA66 Thanks, =A0=A0=A0=A0 Dean Weimer =A0=A0=A0=A0 Network Administrator From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 07:26:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CEB9E106568B for ; Tue, 17 Nov 2009 07:26:42 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 82A148FC08 for ; Tue, 17 Nov 2009 07:26:42 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAH7QQSE031469; Mon, 16 Nov 2009 23:26:26 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Mon, 16 Nov 2009 23:26:30 -0800 (PST) Date: Mon, 16 Nov 2009 23:26:30 -0800 From: Gary Kline To: Glen Barber Message-ID: <20091117072630.GB16655@thought.org> References: <20091116225850.GA15661@thought.org> <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> <20091117032833.GA16284@thought.org> <4ad871310911162028t7bf203cbs6ffa9e9c846380e@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4ad871310911162028t7bf203cbs6ffa9e9c846380e@mail.gmail.com> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 07:26:43 -0000 On Mon, Nov 16, 2009 at 11:28:44PM -0500, Glen Barber wrote: > Hi Gary, > > On Mon, Nov 16, 2009 at 10:28 PM, Gary Kline wrote: > > On Mon, Nov 16, 2009 at 07:57:19PM -0500, Glen Barber wrote: > >> Hi > >> > >> On Mon, Nov 16, 2009 at 5:58 PM, Gary Kline wrote: > >> > > >> >        something panicked my dell.  more than twice.  i have loaded, the > >> >        i386 7.2-R Dvd.  the panic was something like > >> > > >> >        PHY#1 > >> >        panic[y/n]y > >> > >> Do you have a crash report in /var/crash ? > >> > > > >        no, nada.  i didnt know about /var/crash until now, thanks for the > >        datapoint.  it is empty. > > > > Very important location on your system after a (possible) panic. > > > > >> > > >> >        then something about cpu 0 being involved. > >> > > >> >        i have the 8.0 rc3 bootonly.iso cd.  should i try that?  or did > >> >        dell ship me a bad computer? > >> > > >> > >> I'll keep my opinions to myself... > >> > > > >        well, i'd laugh, glen, but i hurt my back twisting over to my right > >        [[ with my left hand]] to use the dell keybd.   yes, why would any > >        body do anybody else a bad deed. > > > >        here is more complete version of the events of the day. > > > >        my network bud down in dallas is helping me get the dell as my > >        new server.  my old hp kayak is from 1998 and on its death-bed. > > > >        okay: i have 7.2-R, i386.  installs fine.   jon horne changed the > >        IP that the op sys | DHCP suite chose from 10.47.0.112 to > >        10.47.0.230.  i do not know why, but he change the ifconfig line in > >        /etc/rc.conf from ="DHCP" to ="inet 10.47.0.230 netmask 10.0.0.255" > >        or something similar.  jon says that the IP can't or shouldn't be > >        D=Dynamic but stable.  surely this is right. ---in my old config > >        prior to jan 2008 or dec 2007 i had every local IP tied down in a > >        file in /usr/local/etc/dhcpd.conf [or similar].  it worked > >        flawlessly.  now i am using pfSense and i *think* there is a config > >        file in there that makes local IP's stable. > > > > Network configuration "should not" provoke a panic, unless the driver > is at fault (which you have not stated which driver this is). > dunno about the driver. doubt it. anyway, busy fixing things while the power stays on! -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 09:28:23 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29453106566B for ; Tue, 17 Nov 2009 09:28:23 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id A85068FC14 for ; Tue, 17 Nov 2009 09:28:22 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so1406980fga.13 for ; Tue, 17 Nov 2009 01:28:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=jNBXBuJIKE9KvEUSC7juY0jIOX1mubco39NDlDJXi1E=; b=GX7FswKqm6XGhf+oWTSyJr3Sghb3nG4iFRhA09THYjjJ0maqSPMboEp7LcO4ztR9uy DBZdXL/h1lcnP1fHUHZMPq4AhsfSecZlCQgifxo3hRf5V+SQH+uTPgdf09VvdbkRzIPX 3QxSj63EQMpHvWKvDH/OzHF80VwzKSHTM2SnA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=edQ+wOKgCKFCqKtns9fxxKpffujfJdKHwA5F+N1CUAdulrjLA49EVeXcUnVb49/2iD 9j3XyvpoZrA3TY9c8971cJA42Q8QJeLe0j9joqWVVLL+FtP7YEVyxFij3MO8th+Mr7VN 3i+o0Y8prSYEu1pLyL9rw+dP4uWipODgO08B8= MIME-Version: 1.0 Received: by 10.239.139.154 with SMTP id t26mr893852hbt.74.1258450101491; Tue, 17 Nov 2009 01:28:21 -0800 (PST) In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCBA571DC@w2003s01.double-l.local> References: <4B016384.80604@fxclub.org> <57200BF94E69E54880C9BB1AF714BBCBA571DC@w2003s01.double-l.local> Date: Tue, 17 Nov 2009 09:28:21 +0000 Message-ID: From: krad To: Johan Hendriks Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ZFS Snaphost & Hardware RAID X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 09:28:23 -0000 2009/11/16 Johan Hendriks > > >Hello all. > > >I plan to set up backup server with 24x1Tb HDD and use ZFS with > >FreeBSD-8.0 on it. > >I prefare to have "ZFS only" system but as I see there is no any easy > >way to do so. > > >I would like to use ZFS snapshots - is I undestand right what snaphots > >work OVER ZFS raidz\storage? So I can`t use hardware RAID and must make > > >a raidz? > > >I would love to head any other suggestion about using FreeBSD with ZFS > >as backup server. > > >-- > >Best regards, > >Proskurin Kirill > > An option is reading this thread on the FreeBSD forums. > > http://forums.freebsd.org/showthread.php?t=3689 > > regards, > Johan Hendriks > _______________________________________________ > 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" > zfs works fine with hardware raid controllers, it just means the disk setup can be a little more complicated, and needs to be thought about a bit more. Personally I would JBOD all the drives apart from the system drives which I would create a mirror for. With this setup you utilize all the best features of the hardware and software. System zpool with hardware mirror means you are less likely to get issues booting as bios will see the virtal device exported by the raid card and wont have to alter the boot drive if one of your system drives dies. Just give the system zpool on dev backup zpool: raidz2 ( group into vdevs of 8 drives ). If you export the drives from the hardware raid as a jbod and get zfs to do all the raid stuff, you will enjoy more funky raid configs, and if you have to rebuild a drive it will odds on be much quicker as you only have to do allocated blocks as opposed to full block rebuild of the entire drive as the raid controller would do. Also using the raid card rather than straight scsi you might get benefits from the raid cache, if its cpu is quick enough. From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 10:23:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C85E3106566C for ; Tue, 17 Nov 2009 10:23:19 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 5D9018FC1E for ; Tue, 17 Nov 2009 10:23:19 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NALDP-000364-QF for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 11:23:15 +0100 Received: from pool-71-166-145-207.washdc.east.verizon.net ([71.166.145.207]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Nov 2009 11:23:15 +0100 Received: from nightrecon by pool-71-166-145-207.washdc.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 17 Nov 2009 11:23:15 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Tue, 17 Nov 2009 05:23:53 -0500 Lines: 18 Message-ID: References: <20091116225850.GA15661@thought.org> <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> <20091117032833.GA16284@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-71-166-145-207.washdc.east.verizon.net Sender: news Subject: Re: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 10:23:19 -0000 Gary Kline wrote: [snip] > > my network bud down in dallas is helping me get the dell as my > new server. my old hp kayak is from 1998 and on its death-bed. > > okay: i have 7.2-R, i386. installs fine. jon horne changed the > IP that the op sys | DHCP suite chose from 10.47.0.112 to > 10.47.0.230. i do not know why, but he change the ifconfig line in > /etc/rc.conf from ="DHCP" to ="inet 10.47.0.230 netmask 10.0.0.255" ^^^^^^^^^^^^^^^^^^ Can't speak to most of the post but this netmask certainly looks strange. -Mike From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 13:45:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7C191065670 for ; Tue, 17 Nov 2009 13:45:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 651288FC25 for ; Tue, 17 Nov 2009 13:45:19 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 635961E8FB; Tue, 17 Nov 2009 14:45:17 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHDjFOh001579; Tue, 17 Nov 2009 14:45:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 14:45:15 +0100 From: Polytropon To: Jerry McAllister Message-Id: <20091117144515.4bc739ee.freebsd@edvax.de> In-Reply-To: <20091116180126.GA48289@gizmo.acns.msu.edu> References: <20091116120014.A477010656F8@hub.freebsd.org> <20091117022555.Y65262@sola.nimnet.asn.au> <20091116180126.GA48289@gizmo.acns.msu.edu> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Polytropon , Ian Smith , David Allen , freebsd-questions@freebsd.org Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 13:45:19 -0000 On Mon, 16 Nov 2009 13:01:26 -0500, Jerry McAllister wrote: > I tend to use 'a' if > the drive will be entirely one slice and one partition used for some > special work or scratch space, but stick with 'd..h' if there will be > more than one partition and just leave 'a' alone - for no other > reason than habit. And I tend to omit the slice at all. :-) # newfs -U /dev/ad1 # mount /dev/ad1 /somewhere This is so easy because I very often use sysinstall for initializing the disk when installing, but any further disk adding is done via CLI as shown above, because it's much simpler - and I didn't see any reason to create a slice - even if I wanted to have more than one partition, which I often don't want. > As for 'd' vs 'e', sometime a long time and many generations ago there > was a convention of reserving 'd' for something. I don't remember what > it was. It was pre FreeBSD 3 and pre 1997 and maybe even pre any FreeBSD > and applied in some earlier Unix-en before the court cases, but not after. > That old convention accounts for documentation starting with using 'e' for > extra partitions and skipping 'd'. But, whatever that old convention > was, it has not been used for so long that it is meaningless nowdays > and 'd' can be used for whatever extra partition you want. You say it: I KNEW that there was something someone had on his mind when reserving 'd' for something special... but WHAT it exactly was, I don't know. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 14:15:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E35F3106566C for ; Tue, 17 Nov 2009 14:15:45 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id A8C4E8FC1F for ; Tue, 17 Nov 2009 14:15:45 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 445961D3518; Tue, 17 Nov 2009 14:53:17 +0100 (CET) Date: Tue, 17 Nov 2009 14:53:17 +0100 To: freebsd-questions@freebsd.org Message-ID: <20091117135317.GA5659@gothschlampen.com> References: <20091116120014.A477010656F8@hub.freebsd.org> <20091117022555.Y65262@sola.nimnet.asn.au> <20091116180126.GA48289@gizmo.acns.msu.edu> <20091117144515.4bc739ee.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091117144515.4bc739ee.freebsd@edvax.de> User-Agent: Mutt/1.5.13 (2006-08-11) From: fwd@gothschlampen.com (tk) Subject: Re: Partition naming, fstab, and geli X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 14:15:46 -0000 On Tue, Nov 17, 2009 at 02:45:15PM +0100, Polytropon wrote: > On Mon, 16 Nov 2009 13:01:26 -0500, Jerry McAllister wrote: > > As for 'd' vs 'e', sometime a long time and many generations ago there > > was a convention of reserving 'd' for something. I don't remember what > > it was. It was pre FreeBSD 3 and pre 1997 and maybe even pre any FreeBSD > > and applied in some earlier Unix-en before the court cases, but not after. > > That old convention accounts for documentation starting with using 'e' for > > extra partitions and skipping 'd'. But, whatever that old convention > > was, it has not been used for so long that it is meaningless nowdays > > and 'd' can be used for whatever extra partition you want. > > You say it: I KNEW that there was something someone had > on his mind when reserving 'd' for something special... > but WHAT it exactly was, I don't know. If I remember correctly, NetBSD still uses (or did so until a few years ago) the 'd' partition to represent the whole disk, while 'c' is used in the usual way to represent the whole slice. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 14:23:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD84D1065672 for ; Tue, 17 Nov 2009 14:23:27 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-yx0-f201.google.com (mail-yx0-f201.google.com [209.85.210.201]) by mx1.freebsd.org (Postfix) with ESMTP id 727138FC19 for ; Tue, 17 Nov 2009 14:23:27 +0000 (UTC) Received: by yxe39 with SMTP id 39so26559yxe.8 for ; Tue, 17 Nov 2009 06:23:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=Js1JIdUaOHvRtqsQTZPCDizltwJGqzOngc558M5iSaE=; b=dhDF9On6i9Ers/f+DWTPAnLpfCnsXwX8TkW+IxJaA5GQR94OpJtrmd9yKJMhlumPLq jQQCB5d/yPa2up7L0yJPV9ufzQwzzjib6ysB7EIZ/ec/NJDoBRXuusMulpmPPi7UzeIs AY2xTxKiXcfcS0vD76qhmVfsItnjmCWZgKPuo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=hbO+rb7rfbfWvWzt133oKR4rINaGB28E5AiAnHXKvuLzyiOSp/wIeKGPhL/h2sz7Uo +2Xs23PRdMiHwTv2S9EOLMqlzDoM/2qtvR/QjDq5mWxb02xF3ub++A+HDhlNHeK5DamB 4FdhOOIRjY8Nh4nk1d0imrQc1Zl+2v2oyY8j0= Received: by 10.150.42.1 with SMTP id p1mr162067ybp.15.1258467806536; Tue, 17 Nov 2009 06:23:26 -0800 (PST) Received: from ?192.168.1.103? (pool-96-254-203-152.tampfl.fios.verizon.net [96.254.203.152]) by mx.google.com with ESMTPS id 16sm2709855gxk.15.2009.11.17.06.23.23 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 06:23:24 -0800 (PST) Message-ID: <4B02B0AE.3040801@gmail.com> Date: Tue, 17 Nov 2009 09:18:22 -0500 From: David Jackson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Lockup problems with USB disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 14:23:27 -0000 I have a USB hard drive. Whenever I open two programs which utilise the USB hard drive simultaneously, these programs, i assume when they attempt to write to the hard drive lock up due to what i suspect must be some issue with the USB driver and perhaps a deadlock involving multiple concurrent accesses to the drive. When they attempt to access the drive the programs can lock up for several minutes before being unblocked. When only one program is using the drive this behaviour does not seem to occur. It seems most likely that this is a USB level problem involving the USB drivers. I am using FreeBSD 7.1. It is annoying behaviour to say the least and I wonder what can be done about it, and if this issue is being addressed, perhaps in the recent redesign of the USB code. It seems to be a pretty consistent issue, happening with multiple installs of FreeBSD and different drives. Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 15:01:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 962FC1065695 for ; Tue, 17 Nov 2009 15:01:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3D0678FC2A for ; Tue, 17 Nov 2009 15:01:20 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 8A3073D398; Tue, 17 Nov 2009 16:01:18 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHF1HXE002105; Tue, 17 Nov 2009 16:01:17 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 16:01:17 +0100 From: Polytropon To: Gary Kline Message-Id: <20091117160117.12c71262.freebsd@edvax.de> In-Reply-To: <20091116231236.GA15714@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 15:01:20 -0000 On Mon, 16 Nov 2009 15:12:36 -0800, Gary Kline wrote: > On Mon, Nov 16, 2009 at 08:31:49PM +0100, Polytropon wrote: > > By the way, it's not a problem if /etc/rc.conf is empty. > > In this case, defaults are used, but: > > > > % grep sshd /etc/defaults/rc.conf > > sshd_enable="NO" # Enable sshd > > > > As you see, sshd_enable is set to "NO" by default. > > > > darn, but that would've been that last thing i would have > expected... . i dont see any rationale... Rationale: Secure by default. Ermm... wait, that was a different OS. :-) At least, there's no telnet enabled by default with empty root password... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 15:05:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BCBC106568F for ; Tue, 17 Nov 2009 15:05:26 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id D543C8FC1D for ; Tue, 17 Nov 2009 15:05:25 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id nAHF2qxJ054261; Tue, 17 Nov 2009 10:02:52 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id nAHF2q9v054260; Tue, 17 Nov 2009 10:02:52 -0500 (EST) (envelope-from jerrymc) Date: Tue, 17 Nov 2009 10:02:51 -0500 From: Jerry McAllister To: Peter Message-ID: <20091117150251.GB54167@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: freebsd partitions on a dos/fat slice? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 15:05:26 -0000 On Sun, Nov 08, 2009 at 02:52:57AM -0700, Peter wrote: > iH, > Pulled an old disk lying around... > and started mounting partitions in it. > The weird thing is that the first slice [~15GB] is said to be fat, but I > do have freebsd partitions on it: > > denver:#mount|grep ad10 > /dev/ad10s1a on /maxtor500GB (ufs, NFS exported, local, soft-updates) > /dev/ad10s1d on /maxtor500GB/var (ufs, local, soft-updates) > /dev/ad10s1f on /maxtor500GB/usr (ufs, local, soft-updates) > /dev/ad10s1e on /maxtor500GB/tmp (ufs, local, soft-updates) > /dev/ad10s3d on /maxtor500GB/data (ufs, NFS exported, local, soft-updates) > /dev/ad10s2d on /maxtor500GB/data2 (ufs, local, soft-updates) > > denver:#fdisk /dev/ad10 > ******* Working on device /dev/ad10 ******* > parameters extracted from in-core disklabel are: > cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl) > > Figures below won't work with BIOS for partitions not in cyl 1 > parameters to be used for BIOS calculations are: > cylinders=969021 heads=16 sectors/track=63 (1008 blks/cyl) > > Media sector size is 512 > Warning: BIOS sector numbering starts with sector 1 > Information from DOS bootblock is: > The data for partition 1 is: > sysid 6 (0x06),(Primary DOS, 16 bit FAT (>= 32MB)) > start 63, size 31455207 (15358 Meg), flag 0 > beg: cyl 0/ head 1/ sector 1; > end: cyl 1023/ head 254/ sector 63 > The data for partition 2 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 31455270, size 31455270 (15359 Meg), flag 80 (active) > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > The data for partition 3 is: > sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) > start 62910540, size 913857525 (446219 Meg), flag 0 > beg: cyl 1023/ head 255/ sector 63; > end: cyl 1023/ head 254/ sector 63 > The data for partition 4 is: > > denver:# > > There are what appears to be a freebsd base install from Jul 19/20th 2007 > on /dev/ad10s1{a,d,e,f} > > denver:#ls -l /maxtor500GB/tmp/ > total 2 > drwxrwxr-x 2 root operator 512 Jul 20 2007 .snap > > denver:#ls -l /maxtor500GB/ > total 38 > drwxrwxr-x 2 root operator 512 Jul 20 2007 .snap > drwxr-xr-x 2 root wheel 1024 Jul 19 2007 bin > drwxr-xr-x 7 root wheel 512 Jul 19 2007 boot > .. > .... > denver:#df -hl|grep ad10 > /dev/ad10s1a 496M 11M 445M 2% /maxtor500GB > /dev/ad10s1d 989M 106K 910M 0% /maxtor500GB/var > /dev/ad10s1f 16G 97M 15G 1% /maxtor500GB/usr > /dev/ad10s1e 727M 580K 668M 0% /maxtor500GB/tmp > /dev/ad10s3d 422G 384G 4.0G 99% /maxtor500GB/data > /dev/ad10s2d 15G 11G 2.5G 81% /maxtor500GB/data2 > > > running sysinstall also show s1 as 'fat' > > I've been writing/reading a lot of data from it just fine - Curios why s1 > is being detect as a 'fat' partition and not a fbsd slice. > Have not tried to put this disk into a windows/another box... I don't know why other than it has apparently been marked with an fstype (sysid) of 6 at some time. Maybe something started and went long enough to muck with the slice table but then did nothing else. Anyway, if you can mount, read and write it OK, I would not worry too much. If you plan to wipe and it for a new install it should not be a problem. ////jerry > > ]Peter[ > > _______________________________________________ > 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 Tue Nov 17 15:52:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E60F11065693 for ; Tue, 17 Nov 2009 15:52:04 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 410308FC19 for ; Tue, 17 Nov 2009 15:52:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nAHFptI1082786; Wed, 18 Nov 2009 02:51:55 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 18 Nov 2009 02:51:55 +1100 (EST) From: Ian Smith To: Roland Smith In-Reply-To: <20091116231341.40E3F10656B0@hub.freebsd.org> Message-ID: <20091118014634.S65262@sola.nimnet.asn.au> References: <20091116231341.40E3F10656B0@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Bruce Cran , freebsd-questions@freebsd.org, "Ronald F. Guilmette" Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 15:52:05 -0000 In freebsd-questions Digest, Vol 285, Issue 3, Message 28 On Mon, 16 Nov 2009 23:16:27 +0100 Roland Smith wrote: > On Mon, Nov 16, 2009 at 09:43:31PM +0000, Bruce Cran wrote: > > On Mon, 16 Nov 2009 19:23:58 +0100 > > Roland Smith wrote: > > > > > Install the smartmontools port, and check the drive with > > > 'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, > > > RMA it immediately, as it is about to fail. If see other errors > > > reported, RMA it. > > > > > > (S)ATA disk have spare sectors available. If a sector fails, it is > > > replaced by one of the spares by the firmware. If you see a non-zero > > > Reallocated_Sector_Ct, it means that the drive has run out of spares. > > > This is bad news. > > > > Surely it's the other way around - if you see a value of zero in the > > "value" column the drive has run out of spare sectors and it's time to > > RMA the drive? > > I was talking about the _RAW_VALUE column. There seems to be some differences > in interpretation between vendors as to what the VALUE column means. Most of > the advice I've seen over the years says to look at the RAW_VALUE. > > See http://en.wikipedia.org/wiki/S.M.A.R.T. as well. Mmm, but as that article - which really only mentions the 'normalised' values smartctl presents in passing - points out, there can be quite a lot of variation between different manufacturers as to what RAW_VALUE actually represents for various attributes, whereas the usage of VALUE WORST THRESH values is much more consistent, and what the vendor is actually presenting as the SMART good/fair/fail analysis to the world. For instance, I've got two Fujitsu 5400rpm 2.5" drives in two laptops, one MHV2040AH with near 19,000 hours on it, and a much newer MHV2120AH, 40 and 120GB respectively. Nice quiet low-power laptop drives, fwiw. Both show as (more recently) being in the smartctl database, and both show _exactly_ the same values for this one: 5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - 8589934592000 Now if that were a number of 512-byte sectors, it'd be 4096000 GB! :) but both drives are 100% ok, as the VALUE / WORST figures show. > > From what I've seen the 'raw' column appears to count > > the number of sectors the drive has remapped using the spares buffer. > > If it gets into the hundreds it's probably time to think about RMA'ing > > the drive > > Yes, the raw value is the number of sectors allocated from the spares. I > originally thought it was the number of reallocations _beyond_ the > spares. That's a misunderstanding on my part. Again, may depend on the drive make/model. With the same make/model you can of course usefully compare raw values, but be careful about drawing inferences for different drives, or you may be RMA'ing needlessly .. > Nevertheless this attribute (along with several) is marked on the Wikipedia > page for smart as a "Potential indicator of imminent electromechanical > failure". You can find the same attributes marked as critical when perusing > mailing list archives. > > For me, my data is worth much more than the harddisk it is on. Some of it is > literally irreplacable. So my policy is to go look for a replacement harddisk > as soon as the RAW_VALUEs of any of these critical indicators start going up > from zero. And store any data at least on two harddisks, whether in a mirror > or in a cron+rsync setup. That'd be the case for the disks you tend to use. I was first going to reply to Bruce's message when I spotted yours, but you've dropped the last bit of his quote, that I was about to wholeheartedly agree with :) : If it gets into the hundreds it's probably time to think about RMA'ing : the drive - if you trust that the 'raw' column is reporting what you : think it is (you should really only base your decision on the value, : worst and threshold columns). cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 15:55:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76DA2106568B for ; Tue, 17 Nov 2009 15:55:40 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.211.178]) by mx1.freebsd.org (Postfix) with ESMTP id 2B4338FC17 for ; Tue, 17 Nov 2009 15:55:39 +0000 (UTC) Received: by ywh8 with SMTP id 8so126764ywh.3 for ; Tue, 17 Nov 2009 07:55:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=o+9RczV1rBN99KCIgiRJjAoIdh9nvTDorAfGwtHD2yQ=; b=d6Lzi8CCrUCT5HSFf1EQm23ck3Tl3PvDaK5gyJxLCuDrrpWvSJ1TqzX7zrezV4gNds VPQLp7r/HcYEJr0q2E/6dWEV6YjW09VFiSdtpgKo8m6HzN4y8RTTRUiNHfKizcVN0Qdu zWEcWiS/VBq4FTtTz8iP1dPZ12q8/rTeP3gts= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=Cx7CeWUOTLvSngoJ0KLhNZ/KMTO+g6IjCXfurct5F2kJ1/g1JBxibFRh4hKP3Bd7sz psh3o/AMNvo9fVkITuhieRUEP6Q1ctT1eAyACUxIa/K1Cy7pi4AMQX5fxN7wUIMp8OB7 dodtRk2Ye2lE4S7xuycedyfqOOE6eLHRcVOuw= Received: by 10.101.153.16 with SMTP id f16mr1475842ano.110.1258473338511; Tue, 17 Nov 2009 07:55:38 -0800 (PST) Received: from ?192.168.1.103? (pool-96-254-203-152.tampfl.fios.verizon.net [96.254.203.152]) by mx.google.com with ESMTPS id 22sm2123376yxe.57.2009.11.17.07.55.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 07:55:37 -0800 (PST) Message-ID: <4B02C64C.3020207@gmail.com> Date: Tue, 17 Nov 2009 10:50:36 -0500 From: David Jackson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B02B0AE.3040801@gmail.com> In-Reply-To: <4B02B0AE.3040801@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Lockup problems with USB disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 15:55:40 -0000 I apologise if this was posted more than once, for some reason the emails i sent were not reflected back to me, so i assumed they had not gone through , i checked the archive on the web page and they were there. For some reason some messages are not coming through on my gmail account. David Jackson wrote: > > I have a USB hard drive. Whenever I open two programs which utilise > the USB hard drive simultaneously, these programs, i assume when they > attempt to write to the hard drive lock up due to what i suspect must > be some issue with the USB driver and perhaps a deadlock involving > multiple concurrent accesses to the drive. When they attempt to access > the drive the programs can lock up for several minutes before being > unblocked. When only one program is using the drive this behaviour > does not seem to occur. > > It seems most likely that this is a USB level problem involving the > USB drivers. I am using FreeBSD 7.1. It is annoying behaviour to say > the least and I wonder what can be done about it, and if this issue is > being addressed, perhaps in the recent redesign of the USB code. It > seems to be a pretty consistent issue, happening with multiple > installs of FreeBSD and different drives. > > Thank you. From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 16:10:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8AAC61065672 for ; Tue, 17 Nov 2009 16:10:20 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 4398F8FC1C for ; Tue, 17 Nov 2009 16:10:19 +0000 (UTC) Received: from localhost (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 1DEDD3471; Tue, 17 Nov 2009 17:10:18 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by localhost (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UwqQVbpVkiJd; Tue, 17 Nov 2009 17:10:14 +0100 (CET) Received: from snifi.localnet (apn-77-115-92-107.dynamic.gprs.plus.pl [77.115.92.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id 77930337C; Tue, 17 Nov 2009 17:10:14 +0100 (CET) From: Maciej Milewski To: freebsd-questions@freebsd.org Date: Tue, 17 Nov 2009 17:08:57 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.31-ARCH; KDE/4.3.3; x86_64; ; ) References: <4B02B0AE.3040801@gmail.com> In-Reply-To: <4B02B0AE.3040801@gmail.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <200911171708.57737.milu@dat.pl> Cc: David Jackson Subject: Re: Lockup problems with USB disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 16:10:20 -0000 Dnia wtorek 17 listopad 2009 o 15:18:22 David Jackson napisa=B3(a): > I am using FreeBSD 7.1. It is annoying behaviour to say the > least and I wonder what can be done about it, and if this issue is being > addressed, perhaps in the recent redesign of the USB code. It seems to > be a pretty consistent issue, happening with multiple installs of > FreeBSD and different drives. Can you try the newest FreeBSD 8-RC3? It has a new usb stack so it's worth = to=20 try it. Regards, Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:29:17 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 550EF106566B for ; Tue, 17 Nov 2009 17:29:17 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep23-int.chello.at (viefep23-int.chello.at [62.179.121.43]) by mx1.freebsd.org (Postfix) with ESMTP id 8DF178FC08 for ; Tue, 17 Nov 2009 17:29:16 +0000 (UTC) Received: from edge05.upc.biz ([192.168.13.212]) by viefep20-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091117171149.ETGD19022.viefep20-int.chello.at@edge05.upc.biz> for ; Tue, 17 Nov 2009 18:11:49 +0100 Received: from [192.168.0.102] ([89.134.235.155]) by edge05.upc.biz with edge id 6HBo1d01e3MqfxD05HBpk0; Tue, 17 Nov 2009 18:11:49 +0100 X-SourceIP: 89.134.235.155 Message-ID: <4B02A81F.1030101@shopzeus.com> Date: Tue, 17 Nov 2009 18:11:51 +0430 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:29:17 -0000 I'm experimenting with jails. I have installed a 7.2 stable FreeBSD inside vmware. Then I have created two jails, using the method written in the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html The only thing that didn't work is this: cd /etc make distribution DESTDIR=$D I really think that it should be corrected to: cd /usr/src make distribution DESTDIR=$D After mounting devfs ("mount -t devfs devfs /vm1/dev") I try to start it: /etc/rc.d/vm1 start vm1 But then I get this error in syslog: bind: Can't assign requested address Here is the config from /etc/rc.conf (in the host): jail_enable="YES" # Set to NO to disable starting of any jails jail_list="vm1 vm2" # Space separated list of names of jails jail_vm1_rootdir="/vm1" # jail's root directory jail_vm1_hostname="vm1.localdomain" # jail's hostname jail_vm1_ip="192.168.0.11" # jail's IP address jail_vm1_devfs_enable="YES" # mount devfs in the jail jail_vm1_devfs_ruleset="vm1_ruleset" # devfs ruleset to apply to jail jail_vm2_rootdir="/vm2" # jail's root directory jail_vm2_hostname="vm2.localdomain" # jail's hostname jail_vm2_ip="192.168.0.12" # jail's IP address jail_vm2_devfs_enable="YES" # mount devfs in the jail jail_vm2_devfs_ruleset="vm2_ruleset" # devfs ruleset to apply to jail Please help. Thank you, Laszlo From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:29:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CA811065670 for ; Tue, 17 Nov 2009 17:29:30 +0000 (UTC) (envelope-from davidcollins001@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 8F9918FC12 for ; Tue, 17 Nov 2009 17:29:29 +0000 (UTC) Received: by fxm27 with SMTP id 27so235956fxm.3 for ; Tue, 17 Nov 2009 09:29:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:to:cc :subject:message-id:references:in-reply-to:user-agent:mime-version :content-type:content-transfer-encoding; bh=UpJQl9nq18WzHHVQ1PCjGD9tfky6QWeW0dFdFVUbdtg=; b=MHsdFEXJkhwDlusZ1hKTAGQUGrz3bL0sIKTyy7aZqpSL7hAHN52UQDBEG47sywKSvw HZU1o0v48dUyRnmCA/c9RPeVVainoiaC8c8KNKdBeScx+PcdLVTjytWm5HR87+Q0ykCy kMY/7D7vkizZwqTiT5dbRarysJpS8Uez7sGD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:to:cc:subject:message-id:references:in-reply-to :user-agent:mime-version:content-type:content-transfer-encoding; b=myC1WMhq1ZUMIwgVnG5ND9TDUCsCfwNvuISiQuhfrewkbsK/D8mBbAiOH4wNqGN9CW pldIZjC2p+QzhdWGZot5r5olSyW/U1CSPaHWdqCrqhFAGzxW7vS64rgK4vFOPy/V1b4n GzNAPo/T6m0+PtpUvmnTuxIBIUACthK75KC1U= Received: by 10.223.17.203 with SMTP id t11mr623686faa.75.1258478968417; Tue, 17 Nov 2009 09:29:28 -0800 (PST) Received: from cobra (host86-147-220-115.range86-147.btcentralplus.com [86.147.220.115]) by mx.google.com with ESMTPS id 14sm414810fxm.11.2009.11.17.09.29.14 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 09:29:27 -0800 (PST) Date: Tue, 17 Nov 2009 17:24:56 +0000 From: David Collins To: m.seaman@infracaninophile.co.uk, af.gourmet@videotron.ca Message-ID: <4b02dc68.eJdGkKbmyLCy24CC%davidcollins001@gmail.com> References: <4AE3944A.4090602@videotron.ca> <4AE40A00.3040607@infracaninophile.co.uk> In-Reply-To: <4AE40A00.3040607@infracaninophile.co.uk> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: flashplugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidcollins001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:29:30 -0000 I have periodically tested with getting flash working, and everytime I try it fails and I go back to undoing everything I have done and re-installing gnash. Gnash works but it does have a few niggles. I tried the following: > This is what I did for a 7.2 box. Note that there are compatibility > > # pkg_info -orx linux > linux-stuff > # pkg_delete -rx linux > > # cd /compat/linux > # find . -type f -ls > # rm -rf * > > # sysctl compat.linux.osrelease=2.6.16 > > OVERRIDE_LINUX_BASE_PORT= f10 > OVERRIDE_LINUX_NONBASE_PORTS= f10 > > to /etc/make.conf. > > # portinstall www/nspluginwrapper > # nspluginwrapper -v -a -i > > * Finally, fire up Firefox and check that it has loaded the flash plugin by > typing 'about:plugins' into the URL bar. Find a site with flash content[*], > and enjoy. Everything installed easily and about:plugins has Shockwave Flash and FutureSplash Player as enabled. But, when I go to youtube.com all I get a black screen and the video doesn't load. Does anyone have any ideas why flash isn't working? David From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:36:08 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46C771065679 for ; Tue, 17 Nov 2009 17:36:08 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 023338FC16 for ; Tue, 17 Nov 2009 17:36:07 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAHHZw6a037308; Tue, 17 Nov 2009 09:35:58 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 17 Nov 2009 09:36:03 -0800 (PST) Date: Tue, 17 Nov 2009 09:36:03 -0800 From: Gary Kline To: Michael Powell Message-ID: <20091117173602.GA19113@thought.org> References: <20091116225850.GA15661@thought.org> <4ad871310911161657y2d9bcf53k176548bdd7bfa825@mail.gmail.com> <20091117032833.GA16284@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: freebsd-questions@freebsd.org Subject: Re: panic? i386 on dell duo X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:36:08 -0000 On Tue, Nov 17, 2009 at 05:23:53AM -0500, Michael Powell wrote: > Gary Kline wrote: > > [snip] > > > > my network bud down in dallas is helping me get the dell as my > > new server. my old hp kayak is from 1998 and on its death-bed. > > > > okay: i have 7.2-R, i386. installs fine. jon horne changed the > > IP that the op sys | DHCP suite chose from 10.47.0.112 to > > 10.47.0.230. i do not know why, but he change the ifconfig line in > > /etc/rc.conf from ="DHCP" to ="inet 10.47.0.230 netmask 10.0.0.255" > ^^^^^^^^^^^^^^^^^^ > > Can't speak to most of the post but this netmask certainly looks strange. > > -Mike > probably my error. anyway, it seems that with the IP == 0.230 i ran into much trouble, but when i left it alone at == 0.112, many fewer hassles. i don't understand this. gary > > > _______________________________________________ > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:43:05 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18C33106566B for ; Tue, 17 Nov 2009 17:43:05 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30808.mail.mud.yahoo.com (web30808.mail.mud.yahoo.com [68.142.200.151]) by mx1.freebsd.org (Postfix) with SMTP id CB1108FC21 for ; Tue, 17 Nov 2009 17:43:04 +0000 (UTC) Received: (qmail 70917 invoked by uid 60001); 17 Nov 2009 17:43:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1258479784; bh=W2MzZ1hIq1BIs6pxb47UQoCObQP2dy1nkPU0WTVhsIE=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=HqzvyRjvOuoqS+H4pSJPuGRpiNaY8FsCqv0N1uOftOfZ/tsmpAX5F3Hv2Tx28KC+HDEcXyp7sO9dvnnWsDE6fzkntkfPeW1OxiVCzRyb6lGT8qRYZEck1hLKluAUHdSTXusGgaPPEVt4qcYO5t9PD+FrAbHVvCXaEGVinmbLZVQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=tFW0VnRk3aAZLIU4OqfF3rchZGCm47O51RQ0kjD/F7kmQPVjksOEm2poSTrD40s/uGI9n+MltHgdOJ69m4eBN3E6aczzvdq7Tm893J049W50qHWxWmG4JgWirTomcY4IH6oacSj0QnFJDIaPC4vAIvh9fSRFscgzpUfW+49xVTA=; Message-ID: <151588.70409.qm@web30808.mail.mud.yahoo.com> X-YMail-OSG: qk5EQHMVM1mczwE2Up7C3QXAg4INLATz87DWdqJ3qqNDLChdTCiSEzQ3Q92xabfhu7GENqCL8WdZbNebXi0RUNylf7nfbkaofyP1Jgdh9jKRvd5vkfPXoUdTJ0gqmNXWD..N21GL0RI6HLlr3ZIm_gE_NAob4GSaRgWKZsFRSuC0vHZLrfTeSdXMy9Yfhg9nDU4QvvA6QAyTxzVIWYRgrVsxVl70Q8Kc4msA1ks8T9VYMYb_Zx5IfvxNaOR9G5d4Ee_0xZ.PrLtafDYh2q3IzRpvyl6sadQ- Received: from [78.131.57.57] by web30808.mail.mud.yahoo.com via HTTP; Tue, 17 Nov 2009 09:43:04 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 Date: Tue, 17 Nov 2009 09:43:04 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:43:05 -0000 Hello,=0A=0AMy computer get starts to reboot all the time I do a higher hdd= use (like: fsck, copying more GB of data). I was sure that my power supply= its not enough so I changed it (300W->450W), now it does the same. I'm loo= king for a tool to measure the exactly power consumiton (voltage and amper)= of my hdd, cpu and ram on FreeBSD. =0ADo you have any idea?=0A=0AThank you= !=0AL=E1szl=F3=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:45:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF1CF106566B for ; Tue, 17 Nov 2009 17:45:49 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 806C38FC1D for ; Tue, 17 Nov 2009 17:45:49 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAHHjZ49037398; Tue, 17 Nov 2009 09:45:36 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 17 Nov 2009 09:45:41 -0800 (PST) Date: Tue, 17 Nov 2009 09:45:41 -0800 From: Gary Kline To: Polytropon Message-ID: <20091117174540.GB19113@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091117160117.12c71262.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:45:49 -0000 On Tue, Nov 17, 2009 at 04:01:17PM +0100, Polytropon wrote: > On Mon, 16 Nov 2009 15:12:36 -0800, Gary Kline wrote: > > On Mon, Nov 16, 2009 at 08:31:49PM +0100, Polytropon wrote: > > > By the way, it's not a problem if /etc/rc.conf is empty. > > > In this case, defaults are used, but: > > > > > > % grep sshd /etc/defaults/rc.conf > > > sshd_enable="NO" # Enable sshd > > > > > > As you see, sshd_enable is set to "NO" by default. > > > > > > > darn, but that would've been that last thing i would have > > expected... . i dont see any rationale... > > Rationale: Secure by default. Ermm... wait, that was > a different OS. :-) > > At least, there's no telnet enabled by default with > empty root password... :-) > all right, all right. it might be better to default on the side of security. but it takes soooo much more to login remote via ssh that it seems fairly secure to me if it were enabled. ... . > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:51:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B691D1065670 for ; Tue, 17 Nov 2009 17:51:17 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 773D38FC1E for ; Tue, 17 Nov 2009 17:51:17 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id E5C1E1ECB9; Tue, 17 Nov 2009 18:51:15 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHHpEF5002718; Tue, 17 Nov 2009 18:51:15 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 18:51:14 +0100 From: Polytropon To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Message-Id: <20091117185114.2580bf71.freebsd@edvax.de> In-Reply-To: <151588.70409.qm@web30808.mail.mud.yahoo.com> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:51:17 -0000 On Tue, 17 Nov 2009 09:43:04 -0800 (PST), D=E1nielisz L=E1szl=F3 wrote: > I'm looking for a tool to measure the exactly power consumiton > (voltage and amper) of my hdd, cpu and ram on FreeBSD.=20 > Do you have any idea? Not exactly every item, but there are tools in the ports, such as mbmon and xmbmon that allow you to monitor several voltages (as well as other parameters, such as temperature or fan speed, if they are transmitted to the OS). By the way, I'm not sure the issue you described points to too less power; my workstation is full of hard disks and old SCSI stuff, and I'm fine with a 235 W PSU (no joke) in long-term usage and I/O stress situations. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:53:00 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F2781065670 for ; Tue, 17 Nov 2009 17:53:00 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id E485E8FC26 for ; Tue, 17 Nov 2009 17:52:59 +0000 (UTC) Received: by pxi12 with SMTP id 12so151267pxi.3 for ; Tue, 17 Nov 2009 09:52:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=4rSrYxqGO3FMEC3PqZX6n2WMykg3AWtFQ2wFcRCOfQs=; b=RxRa9PaobQfp1URdDVcebz8N1XGNAAZmt+XLQOYhXPPMdsPcbX+5zKUsBozr4RrEeg BuCU49jqUPm87F+F4XPqxUt2Kl5l2yXWMIptuVTz2JXkDvMARx1UiMn66qlYxv6E1eCq 7ALkrSomRVT1bLXiOJekRsTTMh5e0FMw82fus= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=bEqzn0X2R5O4QSyrN4eLcAO/LFgUa5iqMGB9QEMzTwK511E2iKws0+qqEzwvEvpIdc Y1pvCbppB17w6PyHQvKzVp1V52u8dEPZIsNzTmpb+Sr22dPHnf4tFQ7sgQqbjtgehvY2 ofBjOHEPG7tjJ6+rN9Kenat4fJYoguxtpK9ek= MIME-Version: 1.0 Received: by 10.143.21.36 with SMTP id y36mr1031213wfi.211.1258480379145; Tue, 17 Nov 2009 09:52:59 -0800 (PST) In-Reply-To: <20091117174540.GB19113@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> Date: Tue, 17 Nov 2009 11:52:59 -0600 Message-ID: <6201873e0911170952l5e532cfah43651e5e35e64830@mail.gmail.com> From: Adam Vande More To: Gary Kline Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Polytropon , FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:53:00 -0000 > > all right, all right. it might be better to default on the side of > security. but it takes soooo much more to login remote via ssh that > it seems fairly secure to me if it were enabled. ... . > not if you preseed your auth keys, then it's a passwordless secure connection. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:54:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3F433106568B for ; Tue, 17 Nov 2009 17:54:17 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 9FD848FC1B for ; Tue, 17 Nov 2009 17:54:16 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-121.home.otenet.gr [94.69.68.121]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAHHsEfU027631; Tue, 17 Nov 2009 19:54:14 +0200 Message-ID: <4B02E346.3070209@otenet.gr> Date: Tue, 17 Nov 2009 19:54:14 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Gary Kline References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> In-Reply-To: <20091117174540.GB19113@thought.org> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:54:17 -0000 Gary Kline wrote: > On Tue, Nov 17, 2009 at 04:01:17PM +0100, Polytropon wrote: > >> On Mon, 16 Nov 2009 15:12:36 -0800, Gary Kline wrote: >> >>> On Mon, Nov 16, 2009 at 08:31:49PM +0100, Polytropon wrote: >>> >>>> By the way, it's not a problem if /etc/rc.conf is empty. >>>> In this case, defaults are used, but: >>>> >>>> % grep sshd /etc/defaults/rc.conf >>>> sshd_enable="NO" # Enable sshd >>>> >>>> As you see, sshd_enable is set to "NO" by default. >>>> >>>> >>> darn, but that would've been that last thing i would have >>> expected... . i dont see any rationale... >>> >> Rationale: Secure by default. Ermm... wait, that was >> a different OS. :-) >> >> At least, there's no telnet enabled by default with >> empty root password... :-) >> >> > > > all right, all right. it might be better to default on the side of > security. but it takes soooo much more to login remote via ssh that > it seems fairly secure to me if it were enabled. ... . > > There is a question during sysinstall: "Would you like to enable ssh login?" Guess you answered "no" there? From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:55:07 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE8C810656A7 for ; Tue, 17 Nov 2009 17:55:07 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id BAE8A8FC1F for ; Tue, 17 Nov 2009 17:55:07 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KT9002T1LRT6B90@asmtp014.mac.com> for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 09:55:07 -0800 (PST) Message-id: From: Chuck Swiger To: Ian Smith In-reply-to: <20091118014634.S65262@sola.nimnet.asn.au> Date: Tue, 17 Nov 2009 09:55:05 -0800 References: <20091116231341.40E3F10656B0@hub.freebsd.org> <20091118014634.S65262@sola.nimnet.asn.au> X-Mailer: Apple Mail (2.936) Cc: FreeBSD - Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:55:07 -0000 Hi-- On Nov 17, 2009, at 7:51 AM, Ian Smith wrote: [ ... ] > For instance, I've got two Fujitsu 5400rpm 2.5" drives in two laptops, > one MHV2040AH with near 19,000 hours on it, and a much newer > MHV2120AH, > 40 and 120GB respectively. Nice quiet low-power laptop drives, fwiw. > > Both show as (more recently) being in the smartctl database, and both > show _exactly_ the same values for this one: > > 5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail > Always - 8589934592000 > > Now if that were a number of 512-byte sectors, it'd be 4096000 GB! :) > but both drives are 100% ok, as the VALUE / WORST figures show. I wouldn't conclude that the drives were 100% OK from that line, although they *might* be; I'd conclude that the drives aren't implementing this SMART field correctly in their firmware. Are you using the latest version of smartctl-- updates to that can sometimes better interpret vendor-specific odditities. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 17:57:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E8E0106566B for ; Tue, 17 Nov 2009 17:57:28 +0000 (UTC) (envelope-from outbackdingo@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id F158C8FC20 for ; Tue, 17 Nov 2009 17:57:27 +0000 (UTC) Received: by bwz5 with SMTP id 5so341040bwz.3 for ; Tue, 17 Nov 2009 09:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=Y0snplmUai9Q+XucMxiENkQQuotYdX78koGr9ECZAKs=; b=J9m90Wpfnd96FdQ5sEZUYj7jRWms3QOegOM5yxuGs5TXDUSSxKmF9Xo0RogWamF7wJ 7lw8x08sXPnHNSwfo0xdMBDlaJ840IHILRE+46p+JFqU+LfZYSogxfMqiTS7X2RxKl2/ SO5RM7aIb1HZ64YqY4vlNsCKFGbAjiCdX2zII= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=X8etpHYsiT8UCdGOdBbqrrsnjVP/cAGE/MO61xNRaK+t1DJFjhHWPtpy6hNK3lVq06 MmDhZcQ2ND1QbYznoLNwcJot4AXevsiZPMHkEm5e0mX6H54lm73Rx1pkM7BOTeU14Rj3 81EKigInVoB2OnOdh/hz+U6/7df7VpBrGjcJA= MIME-Version: 1.0 Received: by 10.223.58.208 with SMTP id i16mr471960fah.22.1258480646707; Tue, 17 Nov 2009 09:57:26 -0800 (PST) In-Reply-To: <20091117185114.2580bf71.freebsd@edvax.de> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> Date: Tue, 17 Nov 2009 12:57:26 -0500 Message-ID: <5635aa0d0911170957i2fd0bbecgac89dcbcd22f3cab@mail.gmail.com> From: Outback Dingo To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 17:57:28 -0000 start looking for a bad memory chip or io controller, any error messages or anything ? to provide ? 2009/11/17 Polytropon > On Tue, 17 Nov 2009 09:43:04 -0800 (PST), D=E1nielisz L=E1szl=F3 < > laszlo_danielisz@yahoo.com> wrote: > > I'm looking for a tool to measure the exactly power consumiton > > (voltage and amper) of my hdd, cpu and ram on FreeBSD. > > Do you have any idea? > > Not exactly every item, but there are tools in the ports, > such as mbmon and xmbmon that allow you to monitor several > voltages (as well as other parameters, such as temperature > or fan speed, if they are transmitted to the OS). > > By the way, I'm not sure the issue you described points > to too less power; my workstation is full of hard disks > and old SCSI stuff, and I'm fine with a 235 W PSU (no > joke) in long-term usage and I/O stress situations. > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > 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 Tue Nov 17 18:01:39 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4BA751065670 for ; Tue, 17 Nov 2009 18:01:39 +0000 (UTC) (envelope-from maschwar77@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id 2397C8FC1A for ; Tue, 17 Nov 2009 18:01:38 +0000 (UTC) Received: by pzk15 with SMTP id 15so157479pzk.3 for ; Tue, 17 Nov 2009 10:01:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=k36VG3v2Ub/oGa0siKfqyi8Osa96QovkrVkfEoQwpGc=; b=KWVVa6nLmj3XHlvfcgvDm0NzQedBqGQ7iQ2SB6g1rNzVUmUej7wbQQp2xmOSC4IGYa RFBz2xduonORkvrJWJYcs9Ypslu0AgkaSWDg3ifc1VpKQbvdjOzsCo0WJlO7l4YCVrDr dNfPk32L8ePJfsBerZK0Mb/lj2h7FNGk1Edrg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JjjsD7vWNdqq1NbSovVxdkmJpGpSCoS6bWxIJOVnYxxGNC5UT5pjkaHAhitBfLiPn7 THGqGNrlIiixh2pwlcpRHX9hX8vGqSl0jSP1XsQteXglRPdwCQAhJ/hquoInDWRzZMbx uqO3U9rchcdBi/5D/G8aatDZPqPlePtt9iea4= MIME-Version: 1.0 Received: by 10.140.164.20 with SMTP id m20mr597675rve.143.1258479330540; Tue, 17 Nov 2009 09:35:30 -0800 (PST) Date: Tue, 17 Nov 2009 10:35:30 -0700 Message-ID: <9dd72d350911170935h6f049717vf3f9d86cc2662d29@mail.gmail.com> From: Matt S To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: pf in FreeBSD 8.0-RCx X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:01:39 -0000 Hello All, There seems to be an issue with pf (at startup/boot time) where I get an error message about no IP address being associated with an interface. The only way I can get pf to load the rule set is to load it at the command line by using pfctl -f /etc/pf.conf. I have tried changing the startup order of pf so that it loads after all of the networking interfaces are brought up (including running the ppp daemon first to establish tun0) to no avail. I saw on the list that others have been experiencing a similar issue. Obviously, I would like to have a fix for this because if I have to reboot my box from a distant location, I am left with a wide open machine until I can login and reload the pf ruleset. What changed with pf since 7.2? Thanks, Matt From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:02:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7F35106566C for ; Tue, 17 Nov 2009 18:02:11 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 842C48FC1F for ; Tue, 17 Nov 2009 18:02:10 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 964851D8DE; Tue, 17 Nov 2009 19:02:09 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHI28WO003014; Tue, 17 Nov 2009 19:02:08 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 19:02:08 +0100 From: Polytropon To: Outback Dingo Message-Id: <20091117190208.c1e4c5a3.freebsd@edvax.de> In-Reply-To: <5635aa0d0911170957i2fd0bbecgac89dcbcd22f3cab@mail.gmail.com> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> <5635aa0d0911170957i2fd0bbecgac89dcbcd22f3cab@mail.gmail.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:02:11 -0000 On Tue, 17 Nov 2009 12:57:26 -0500, Outback Dingo = wrote: > start looking for a bad memory chip or io controller, any error messages = or > anything ? to provide ? I would guess into a similar direction. Unexpected reboots... maybe run a memtest CD, followed by a "make buildworld" stress test? L=E1szl=F3, the more symptoms you can name (and provide system messages of them), the easier diagnostics will get. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:04:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 267151065695 for ; Tue, 17 Nov 2009 18:04:30 +0000 (UTC) (envelope-from milu@dat.pl) Received: from jab.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id D2D6C8FC0A for ; Tue, 17 Nov 2009 18:04:29 +0000 (UTC) Received: from localhost (jsrv.dat.pl [127.0.0.1]) by jab.dat.pl (Postfix) with ESMTP id 69CB23481; Tue, 17 Nov 2009 19:04:28 +0100 (CET) X-Virus-Scanned: amavisd-new at dat.pl Received: from jab.dat.pl ([127.0.0.1]) by localhost (jab.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rt2xmKcbEPcz; Tue, 17 Nov 2009 19:04:25 +0100 (CET) Received: from snifi.localnet (apn-77-115-92-107.dynamic.gprs.plus.pl [77.115.92.107]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by jab.dat.pl (Postfix) with ESMTPSA id E5DCA3058; Tue, 17 Nov 2009 19:04:23 +0100 (CET) From: Maciej Milewski To: freebsd-questions@freebsd.org Date: Tue, 17 Nov 2009 19:04:14 +0100 User-Agent: KMail/1.12.3 (Linux/2.6.31-ARCH; KDE/4.3.3; x86_64; ; ) References: <151588.70409.qm@web30808.mail.mud.yahoo.com> In-Reply-To: <151588.70409.qm@web30808.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Message-Id: <200911171904.14850.milu@dat.pl> Cc: =?iso-8859-2?q?D=E1nielisz_L=E1szl=F3?= Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:04:30 -0000 Dnia wtorek 17 listopad 2009 o 18:43:04 D=E1nielisz L=E1szl=F3 napisa=B3(a): > Hello, >=20 > My computer get starts to reboot all the time I do a higher hdd use (like: > fsck, copying more GB of data). I was sure that my power supply its not > enough so I changed it (300W->450W), now it does the same. I'm looking f= or > a tool to measure the exactly power consumiton (voltage and amper) of my > hdd, cpu and ram on FreeBSD. Do you have any idea? >=20 > Thank you! > L=E1szl=F3 I don't know if any tool will let you get how much power your drives are us= ing=20 but for monitoring voltage you should find something in ports. It can tell= =20 only if the voltage you get from PSU is rather OK or not. =46or measuring exactly you should first see work done by guys from xbitlab= s[1]=20 They are writing how they measure that but not in very simple way ;) Are you sure that those reboots aren't because of too high temperature on C= PU=20 or MB? [1] http://www.xbitlabs.com/articles/storage/display/hdd-power-cons.html =2D-=20 Best Regards, Maciej Milewski From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:23:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 138D81065672 for ; Tue, 17 Nov 2009 18:23:42 +0000 (UTC) (envelope-from lconrad@Go2France.com) Received: from mgw1.MEIway.com (mgw1.meiway.com [81.255.84.75]) by mx1.freebsd.org (Postfix) with ESMTP id C4CD08FC20 for ; Tue, 17 Nov 2009 18:23:41 +0000 (UTC) Received: from VirusGate.MEIway.com (virusgate.meiway.com [81.255.84.76]) by mgw1.MEIway.com (Postfix Relay Hub) with ESMTP id E0334471FFA for ; Tue, 17 Nov 2009 19:23:42 +0100 (CET) Received: from mail.Go2France.com (ms1.meiway.com [81.255.84.73]) by VirusGate.MEIway.com (Postfix) with ESMTP id 23F5C386794 for ; Tue, 17 Nov 2009 19:23:43 +0100 (CET) (envelope-from lconrad@Go2France.com) Date: Tue, 17 Nov 2009 19:23:47 +0100 Message-Id: <200911171923.AA63767444@mail.Go2France.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Len Conrad" X-Sender: To: X-Mailer: Subject: where to find libintl.so.8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: lconrad@Go2France.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:23:42 -0000 FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0 portsnap'd today running ver 1.2.8 of rdiff-backup which gets: ImportError: Shared object "libintl.so.8" not found, required by "librsync.so.1" thanks Len From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:27:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E91D1065679 for ; Tue, 17 Nov 2009 18:27:22 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2BE8FC18 for ; Tue, 17 Nov 2009 18:27:21 +0000 (UTC) Received: from localhost (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id DC188EBC0A; Tue, 17 Nov 2009 13:27:20 -0500 (EST) Date: Tue, 17 Nov 2009 13:27:20 -0500 From: Bill Moran To: Polytropon Message-Id: <20091117132720.24167377.wmoran@potentialtech.com> In-Reply-To: <20091117185114.2580bf71.freebsd@edvax.de> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> Organization: Bill Moran X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:27:22 -0000 In response to Polytropon : > On Tue, 17 Nov 2009 09:43:04 -0800 (PST), D=E1nielisz L=E1szl=F3 wrote: > > I'm looking for a tool to measure the exactly power consumiton > > (voltage and amper) of my hdd, cpu and ram on FreeBSD.=20 > > Do you have any idea? >=20 > Not exactly every item, but there are tools in the ports, > such as mbmon and xmbmon that allow you to monitor several > voltages (as well as other parameters, such as temperature > or fan speed, if they are transmitted to the OS). >=20 > By the way, I'm not sure the issue you described points > to too less power; my workstation is full of hard disks > and old SCSI stuff, and I'm fine with a 235 W PSU (no > joke) in long-term usage and I/O stress situations. Not all power supplies are created equal. Unfortunately, there's no government oversight on power supply ratings, thus a cheap 450W power supply might go unstable if it has to supply 200W for very long, whereas a good quality 200W power supply might be able to put out 450W for short periods reliably. Additionally, are you sure your service power is good? Even the best power supply will fail if you're not getting 120V/60H at the outlet (or whatever voltage/freq you're supposed to get in your part of the world). Not a direct answer to your question, but hopefully some useful information to consider. --=20 Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:33:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96F0C106566C for ; Tue, 17 Nov 2009 18:33:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 58B988FC17 for ; Tue, 17 Nov 2009 18:33:42 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 295091E182; Tue, 17 Nov 2009 19:33:41 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHIXeJb003876; Tue, 17 Nov 2009 19:33:40 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 19:33:40 +0100 From: Polytropon To: lconrad@Go2France.com Message-Id: <20091117193340.00043823.freebsd@edvax.de> In-Reply-To: <200911171923.AA63767444@mail.Go2France.com> References: <200911171923.AA63767444@mail.Go2France.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: where to find libintl.so.8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:33:42 -0000 On Tue, 17 Nov 2009 19:23:47 +0100, "Len Conrad" wrote: > > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0 > > portsnap'd today > > running ver 1.2.8 of > > rdiff-backup > > which gets: > > ImportError: Shared object "libintl.so.8" not found, required by "librsync.so.1" The intl library is installed by the port gettext. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:35:17 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1F074106566B for ; Tue, 17 Nov 2009 18:35:17 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id 8291D8FC08 for ; Tue, 17 Nov 2009 18:35:16 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-121.home.otenet.gr [94.69.68.121]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAHIZFuK029797; Tue, 17 Nov 2009 20:35:15 +0200 Message-ID: <4B02ECE3.3050102@otenet.gr> Date: Tue, 17 Nov 2009 20:35:15 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: lconrad@Go2France.com References: <200911171923.AA63767444@mail.Go2France.com> In-Reply-To: <200911171923.AA63767444@mail.Go2France.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: where to find libintl.so.8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:35:17 -0000 Len Conrad wrote: > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #0 > > portsnap'd today > > running ver 1.2.8 of > > rdiff-backup > > which gets: > > ImportError: Shared object "libintl.so.8" not found, required by "librsync.so.1" > > thanks > Len > This is installed by the devel/gettext port. It is probably installed in your machine (most ports depend on it) but something may have gone wrong during a portupgrade. /usr/ports/UPDATING states the following for gettext upgrades: As a result of the upgrade to gettext-0.17, the shared library version of libintl has changed, so you will need to rebuild all ports that depend on gettext: # portupgrade -rf gettext # portmaster -r gettext I suggest you try one of these commands. (Check with 'pkg_info -Ix gettext' first to see what gettext you are running) From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:37:04 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 928C41065670 for ; Tue, 17 Nov 2009 18:37:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 519488FC23 for ; Tue, 17 Nov 2009 18:37:04 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 049251ED78; Tue, 17 Nov 2009 19:37:02 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHIb0la004018; Tue, 17 Nov 2009 19:37:02 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 19:37:00 +0100 From: Polytropon To: Bill Moran Message-Id: <20091117193700.92f6678e.freebsd@edvax.de> In-Reply-To: <20091117132720.24167377.wmoran@potentialtech.com> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> <20091117132720.24167377.wmoran@potentialtech.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:37:04 -0000 On Tue, 17 Nov 2009 13:27:20 -0500, Bill Moran wrote: > Not all power supplies are created equal. Unfortunately, there's > no government oversight on power supply ratings, thus a cheap 450W > power supply might go unstable if it has to supply 200W for very > long, whereas a good quality 200W power supply might be able to > put out 450W for short periods reliably. That's true. People want crap, they get crap. :-) > Additionally, are you sure your service power is good? Even the > best power supply will fail if you're not getting 120V/60H at the > outlet (or whatever voltage/freq you're supposed to get in your part > of the world). In Germany, we only get the purest power made of highest quality electrons, 230V 50Hz 24/7/365. :-) Note that I'm running this power supply for more than 7 years now - the SAME power supply. > Not a direct answer to your question, but hopefully some useful > information to consider. That's right. If you have the chance, monitor your power outlet, e. g. with a long term peak monitor or a scope with battery backed up memory, just to make sure the requirements of the PSU are met. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 18:58:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B0E71065695 for ; Tue, 17 Nov 2009 18:58:09 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from fw.farid-hajji.net (fw.farid-hajji.net [213.146.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id A2B878FC20 for ; Tue, 17 Nov 2009 18:58:08 +0000 (UTC) Received: from phenom.cordula.ws (phenom [192.168.254.60]) by fw.farid-hajji.net (Postfix) with ESMTP id 64A7235C9F; Tue, 17 Nov 2009 19:58:05 +0100 (CET) Date: Tue, 17 Nov 2009 19:58:04 +0100 From: cpghost To: Polytropon Message-ID: <20091117185804.GA20938@phenom.cordula.ws> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> <20091117132720.24167377.wmoran@potentialtech.com> <20091117193700.92f6678e.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091117193700.92f6678e.freebsd@edvax.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 18:58:09 -0000 On Tue, Nov 17, 2009 at 07:37:00PM +0100, Polytropon wrote: > > Additionally, are you sure your service power is good? Even the > > best power supply will fail if you're not getting 120V/60H at the > > outlet (or whatever voltage/freq you're supposed to get in your part > > of the world). > > In Germany, we only get the purest power made of highest > quality electrons, 230V 50Hz 24/7/365. :-) Note that I'm > running this power supply for more than 7 years now - the > SAME power supply. One pure electron a day keeps the plague[1] away... [1] http://en.wikipedia.org/wiki/Capacitor_plague Sorry, couldn't resist. ;-) -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 19:01:16 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95FD6106566B for ; Tue, 17 Nov 2009 19:01:16 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30804.mail.mud.yahoo.com (web30804.mail.mud.yahoo.com [68.142.200.147]) by mx1.freebsd.org (Postfix) with SMTP id 55CBF8FC16 for ; Tue, 17 Nov 2009 19:01:16 +0000 (UTC) Received: (qmail 15428 invoked by uid 60001); 17 Nov 2009 19:01:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1258484475; bh=LmFBrtRD8NnuTRKVubzqW/tZWYUGwj9pheA7qrVkAow=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=lHDQ+s8tdBY5HgwK1YIXWHiM0uSIm+vscAldFRDbf8OFLFPP/G+FPJrnxYx51gvhF68qKr7BL9Z9HVS0zSvEGElOtqs/0OKu5bUr58LMnUnN0SmgAFO+U1ee5qo/x+2czJ++e6hehwMVszzsddwxovVzNfFF9ChnDhBXSxaH41E= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=foEKD4dwiEY30Z107nQ4oNXvucscxOnSs4M193u3p37L5ZjPVmHtOqZ1Gp3VVjBnqwnEg3VV9T4+HNcFdDrZVnA4JRxlE0UtufIU0EtoyWtdOGdyB5CtpAdvAB8Pz2aeHFNwwluvqhLZVg45OLAbcXqC4Wq24dhq97QP8IfvnXs=; Message-ID: <615511.15311.qm@web30804.mail.mud.yahoo.com> X-YMail-OSG: fmoqVasVM1kE5bbCoK4UYRFVBUnOsYIMfXARwVLxKgvU5IYhKdue.VfragZlt4qcoPuapQ0CLRJH_9Kndsz8PPLkZfPdssEyefr91s25D5R2ebLaupcavkSyCidzn9T7vQQB0EOkDkhYgmEQ21qL7oVDJCtCM0Eo5TkP4DwRu23o4F2gp661yPDRo3Me6D8oUPcP_ERcVNGVWDpG1lMRd2N47GrTH_jHj2TjDdFINDfdm8rFe9QCe3WnKE5uCLh5xNk5hxS_YHK7UxXBIc.OgIY_6W8- Received: from [78.131.57.57] by web30804.mail.mud.yahoo.com via HTTP; Tue, 17 Nov 2009 11:01:15 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> <20091117132720.24167377.wmoran@potentialtech.com> <20091117193700.92f6678e.freebsd@edvax.de> Date: Tue, 17 Nov 2009 11:01:15 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org In-Reply-To: <20091117193700.92f6678e.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 19:01:16 -0000 Thank you guys for the interest you bring solving my issue!=0A=0AActualy I = noticed one thing for sure:=0AI have to hdd-s in my PC, an 80GB Seagate ATA= (the o.s. boot hdd) and one 1T Seagate SATA (only for storage), there were= no problems when I used just the 80GB neither with the 1T, I noticed only = that I'm getting thouse reboots when I start to copy about more than 4-5GB = from the 1T hdd to my laptop (on ftp). Maybe the hdd was too warm after cop= ying that amount of data?=0A=0AOh...I'm drunk or something but I just notic= ed that my 1T was not unmounted properly last week and I was doing only fsc= k with the disk mounted so nothing was modified to the file system, now I'v= e done an fsck -yf to the 1T (unmounted)...I got some blocks (about 300) re= apaired. Maybe this produces the reboots, what do you think so?=0A=0AI also= done now an smartctl -l scttemp /dev/ad4 and I got the following result:= =0A 86 2009-11-17 19:40 45 **************************=0A 87 200= 9-11-17 19:41 45 **************************=0A 88 2009-11-17 19:42 = 46 ***************************=0A 89 2009-11-17 19:43 45 ******= ********************=0A 90 2009-11-17 19:44 45 ********************= ******=0A 91 2009-11-17 19:45 46 ***************************=0A 92= 2009-11-17 19:46 45 **************************=0A 93 2009-11-17= 19:47 46 ***************************=0A ... ..( 4 skipped). .. = ***************************=0A 98 2009-11-17 19:52 46 ************= ***************=0A 99 2009-11-17 19:53 47 *************************= ***=0A=0A49 Celsius was the top of the tempature for this hdd, I think its = normal.=0A=0AThank you,=0AL=E1szl=F3=0A=0A=0A=0A=0A=0A_____________________= ___________=0AFrom: Polytropon =0ATo: Bill Moran =0ACc: D=E1nielisz L=E1szl=F3 ; freebsd-questions@freebsd.org=0ASent: Tue, November 17, 2009 7:37:00 PM= =0ASubject: Re: hdd voltage=0A=0AOn Tue, 17 Nov 2009 13:27:20 -0500, Bill M= oran wrote:=0A> Not all power supplies are creat= ed equal. Unfortunately, there's=0A> no government oversight on power supp= ly ratings, thus a cheap 450W=0A> power supply might go unstable if it has = to supply 200W for very=0A> long, whereas a good quality 200W power supply = might be able to=0A> put out 450W for short periods reliably.=0A=0AThat's t= rue. People want crap, they get crap. :-)=0A=0A=0A=0A> Additionally, are yo= u sure your service power is good? Even the=0A> best power supply will fai= l if you're not getting 120V/60H at the=0A> outlet (or whatever voltage/fre= q you're supposed to get in your part=0A> of the world).=0A=0AIn Germany, w= e only get the purest power made of highest=0Aquality electrons, 230V 50Hz = 24/7/365. :-) Note that I'm=0Arunning this power supply for more than 7 yea= rs now - the=0ASAME power supply.=0A=0A=0A=0A> Not a direct answer to your = question, but hopefully some useful=0A> information to consider.=0A=0AThat'= s right. If you have the chance, monitor your power=0Aoutlet, e. g. with a = long term peak monitor or a scope=0Awith battery backed up memory, just to = make sure the=0Arequirements of the PSU are met.=0A=0A=0A-- =0APolytropon= =0AMagdeburg, Germany=0AHappy FreeBSD user since 4.0=0AAndra moi ennepe, Mo= usa, ...=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 19:39:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B288F106566B for ; Tue, 17 Nov 2009 19:39:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout011.mac.com (asmtpout011.mac.com [17.148.16.86]) by mx1.freebsd.org (Postfix) with ESMTP id 9D62D8FC15 for ; Tue, 17 Nov 2009 19:39:55 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp011.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KT900M6PQLVW540@asmtp011.mac.com> for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 11:39:32 -0800 (PST) Message-id: From: Chuck Swiger To: Bill Moran In-reply-to: <20091117132720.24167377.wmoran@potentialtech.com> Date: Tue, 17 Nov 2009 11:39:31 -0800 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> <20091117132720.24167377.wmoran@potentialtech.com> X-Mailer: Apple Mail (2.936) Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , FreeBSD - Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 19:39:55 -0000 Hi, all-- On Nov 17, 2009, at 10:27 AM, Bill Moran wrote: [ ... ] > Not all power supplies are created equal. Unfortunately, there's > no government oversight on power supply ratings, thus a cheap 450W > power supply might go unstable if it has to supply 200W for very > long, whereas a good quality 200W power supply might be able to > put out 450W for short periods reliably. A very good-quality power supply with a thermally activated circuit breaker might tolerate a 250% overload for 20 seconds to a minute, but anything with a fuse is likely to blow in some tens of milliseconds. :-) There are some widely used standards for computer power supplies; almost all modern machines want ATX12V which is used by Intel P4s, Core, etc and AMD Athlon, Athon64 platforms. Multicore boxes commonly want another extension to the base ATX standard called EPS12V; both are well-documented here: http://en.wikipedia.org/wiki/ATX The other major standard in 80-plus certification, which is linked to Energy Star ratings; if you discount the branding, they still perform functional tests of PSUs at 20%, 50% and 100% of rated load, and confirm that the PSU isn't wasting excessive amounts of power. Saving 20-30 watts over time justifies the cost of a more expensive PSU, and it doesn't hurt that the machine doesn't have to deal with the extra thermal load. For example: http://www.80plus.org/manu/psu/psu_reports/CORSAIR_CMPSU-650HX_ECOS%201632_650W_Report.pdf Any new PSU which isn't 80-plus certified is pretty likely to be unable to run at 100% of rated load without failing. > Additionally, are you sure your service power is good? Even the > best power supply will fail if you're not getting 120V/60H at the > outlet (or whatever voltage/freq you're supposed to get in your part > of the world). This is also a good point. If you know what you're doing and have a multimeter, you can check your AC line and look for various issues like voltage sag under load, current leakage to ground, etc. Failing that, something like this Kill-A-Watt meter is quite handy: http://www.newegg.com/Product/Product.aspx?Item=N82E16882715001 ...although, obviously, one would want to obtain a unit intended for the local region's electrical standards if you are not in NA. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 19:41:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 608CB106568B for ; Tue, 17 Nov 2009 19:41:19 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-yx0-f171.google.com (mail-yx0-f171.google.com [209.85.210.171]) by mx1.freebsd.org (Postfix) with ESMTP id 149018FC1C for ; Tue, 17 Nov 2009 19:41:18 +0000 (UTC) Received: by yxe1 with SMTP id 1so371635yxe.3 for ; Tue, 17 Nov 2009 11:41:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=JiLhq95GrquLv6Mk9317+I48THAVWbwhtVSH5T2prE4=; b=A6IaSA+0p6bC9cUWpvzw74pZjn4ji2AaV+eAz84fy0Q8DQxkLkYS4gFWgIJX4ha549 zV20ILVIZNQ/wq5DqwhTtv6APWnDjUo1+jKTqNhf0t11JllfSNfCUzaH9eDgi/V2Kmk1 Vnn53EtYsVRZOVzAVUKu748A+rIR0nE59NZRs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=D7+lq8RMaTxSuQ7NSYc3AbQ+TTMxArZDaFGyFoBWJsEte1YhSA/2QBRmP8drLd/8AC 674jBLFDrZ6YUBHearolzuDH/eM6jMj1+uZMjDBLsZV2DvogyIQmgcqWhMSlQMVMgyN5 HeclXeXv4DHVeqSpoT16kVErRe0yZMGLyqbXg= Received: by 10.150.113.13 with SMTP id l13mr688677ybc.248.1258486877213; Tue, 17 Nov 2009 11:41:17 -0800 (PST) Received: from ?192.168.1.103? (pool-96-254-203-152.tampfl.fios.verizon.net [96.254.203.152]) by mx.google.com with ESMTPS id 16sm2826202gxk.11.2009.11.17.11.41.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 11:41:16 -0800 (PST) Message-ID: <4B02FB23.3060109@gmail.com> Date: Tue, 17 Nov 2009 14:36:03 -0500 From: David Jackson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: Maciej Milewski , freebsd-questions@freebsd.org References: <4B02B0AE.3040801@gmail.com> <200911171712.18850.milu@dat.pl> In-Reply-To: <200911171712.18850.milu@dat.pl> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Re: Lockup problems with USB disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 19:41:19 -0000 Thank you. I took a look. I was just wondering if this was a known bug, is it normal, etc. Maciej Milewski wrote: > Dnia wtorek 17 listopad 2009 o 15:18:22 David Jackson napisa³(a): > >> I have a USB hard drive. Whenever I open two programs which utilise the >> USB hard drive simultaneously, these programs, i assume when they >> attempt to write to the hard drive lock up due to what i suspect must be >> some issue with the USB driver and perhaps a deadlock involving multiple >> concurrent accesses to the drive. When they attempt to access the drive >> the programs can lock up for several minutes before being unblocked. >> When only one program is using the drive this behaviour does not seem to >> occur. >> >> It seems most likely that this is a USB level problem involving the USB >> drivers. I am using FreeBSD 7.1. It is annoying behaviour to say the >> least and I wonder what can be done about it, and if this issue is being >> addressed, perhaps in the recent redesign of the USB code. It seems to >> be a pretty consistent issue, happening with multiple installs of >> FreeBSD and different drives. >> >> Thank you. >> > I forgot to attach a link with information about this new stack. Some you can > find at http://ivoras.sharanet.org/freebsd/freebsd8.html > > From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 19:42:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDD061065693 for ; Tue, 17 Nov 2009 19:42:20 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0D48FC1B for ; Tue, 17 Nov 2009 19:42:19 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr3.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAHJgIUE008578; Tue, 17 Nov 2009 20:42:18 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 32372BAA2; Tue, 17 Nov 2009 20:42:18 +0100 (CET) Date: Tue, 17 Nov 2009 20:42:18 +0100 From: Roland Smith To: =?iso-8859-15?Q?D=E1nielisz_L=E1szl=F3?= Message-ID: <20091117194218.GA32781@slackbox.xs4all.nl> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <151588.70409.qm@web30808.mail.mud.yahoo.com> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 19:42:21 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 17, 2009 at 09:43:04AM -0800, D=E1nielisz L=E1szl=F3 wrote: > Hello, >=20 > My computer get starts to reboot all the time I do a higher hdd use (like: > fsck, copying more GB of data). I was sure that my power supply its not > enough so I changed it (300W->450W), now it does the same. I'm looking fo= r a > tool to measure the exactly power consumiton (voltage and amper) of my hd= d, > cpu and ram on FreeBSD. Do you have any idea? Tools like mbmon can show you the different voltages that the power supply produces. But current isn't measured in the different circuits, AFAIK. If y= ou see a drop in voltage before a reboot that would be a clear sign of trouble. Unfortunately the chips that do the monitoring sometimes only prov= ide new values once every second. That is probably not fast enough to detect a swift voltage drop. There are devices (e.g. kill-a-watt) available that you can plug between the power outlet and the PC that show you the total power consumption. See e.g. http://forum.ncix.com/forums/index.php?mode=3Dshowthread&forum=3D116&t= hreadid=3D1659654&pagenumber=3D1&msgcount=3D18&subpage=3D1 The abovementioned link shows a decent system using between 118 and 205 Watt. So I'd be surprised if your 450 Watt powersupply wasn't sufficient. (unless you have one of those graphics cards that is covered in fans and heatsinks and that you could still use to fry an egg on.) But I agree that it looks like a hardware problem. Unfortunately there are multiple possible causes. Check to see if all the cabling and cards are securely connected. Monitor the temperatures that the on-board sensors report. Remove dust from heatsinks and fans. Check the electrolytic capacit= ors on the motherboard. If the metal "lid" is bulging, it's busted. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksC/JoACgkQEnfvsMMhpyWkowCfSYwP+4R/zGbH/OvY7cNwnOnA GzUAn3MoZW9liHxhouPsR7ofj72UdaNG =xD74 -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM-- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 19:56:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76C691065676 for ; Tue, 17 Nov 2009 19:56:54 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30805.mail.mud.yahoo.com (web30805.mail.mud.yahoo.com [68.142.200.148]) by mx1.freebsd.org (Postfix) with SMTP id 37E728FC13 for ; Tue, 17 Nov 2009 19:56:53 +0000 (UTC) Received: (qmail 67097 invoked by uid 60001); 17 Nov 2009 19:56:53 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1258487813; bh=RNGXSzP6xiMuqo8g7cNM/uPbcjuSZ959IkUVaWvQNiw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=c0QH1GOOqpv+edAk1GZ0/8EXwQKNzibEG66ZV2T524G2dM4nxfD7aMn8E+xvcXwzkRzjyY6uSXM/QNizllb8xaxVkS4ekEyjpu2nNwWWN/Zj/SBsswI26ltxX+JVz9MDkc9CSlf2Q5MDYEeABO0zYnhOd9g6UPdvF0eP1ZhOBBo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=MFTp9b14mJQO4hPjhVkydMcWRkipILGqn6+DPCRcBOL+55jqtjd9JxayZUdqDbuusbQ1dU6sWLEG9QCsPejqijbTaSef4Sxw/6GQFGmb6VC2YwgsEQDmohiliSUbF+kWKq1IyyPP3hdPZD2uPFMmdGJC+/P6EfYBgYdDt85d6YU=; Message-ID: <506772.65929.qm@web30805.mail.mud.yahoo.com> X-YMail-OSG: FWOpxRQVM1m0K6yrzx48rQvsAA_6AL72I_VZTtXphJ_ZWb0XOaDiiW7EosaoVKbFlsvqOp716L6yte_O5sKMu.QpJNlSr.LIecUGBGBpvF94nEWlxOGfPNIh8n1e_KUUFMvEoI2paZIFUY0a.WWrsJINv6WqPpj3pBNhpT1HkUmXnOHyAGfjmcJm7MDLCEpWwW7OFnrdhcX5gm3ya1whYdCIQB4ordAVWMyZrPCYmCpmHNArkcfaGDYNCFdvVdS_BRRcNDw.Ger8BR1kcYuwX23AoSedQbxPw7TE3KO7zUCVJ0tnKqh4tiTeneyg9uQxXmGaTjJdlYq6anZRCSiCTzRr7KV8nDhH7nnLeLMPF9I66Yco0aO.JzKHKSWk4zgeuXP4fnuQ5IMRSn8_cMij29XsyWLg44AFyFRtBep27U7K_rbLcxkyK3qm7fcnLT0AQ3HVpLyyZriXto.J4DmoYlUyxN1Vc5cRFzLTHCngoSHM5m44Lf6SBEBwtORbnLdnWHlj6RFrhF4pvxk- Received: from [78.131.57.57] by web30805.mail.mud.yahoo.com via HTTP; Tue, 17 Nov 2009 11:56:53 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117194218.GA32781@slackbox.xs4all.nl> Date: Tue, 17 Nov 2009 11:56:53 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: freebsd-questions@freebsd.org In-Reply-To: <20091117194218.GA32781@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 19:56:54 -0000 Right now I'm done with almost 20GB download from the BSD machine to my lap= top by ftp, and 5GB to the BSD from http, in the mean while I've done almos= t 40GB of torrentflux's checking existing data and I do a make install to a= port, all in the same time and everything is working great. I hope it will= continue to work just like this.=0A=0AThe hdd temperatures are:=0A# smartc= tl -A /dev/ad0 | grep Temp && smartctl -A /dev/ad4 | grep Temp=0A194 Temper= ature_Celsius 0x0022 095 081 000 Old_age Always - = 48=0A194 Temperature_Celsius 0x0022 107 102 000 Old_age Al= ways - 43=0A=0ARoland, I have no connected any display to that = machine.=0A=0A=0A=0A=0A________________________________=0AFrom: Roland Smit= h =0ATo: D=E1nielisz L=E1szl=F3 =0ACc: freebsd-questions@freebsd.org=0ASent: Tue, November 17, 2009 8:42= :18 PM=0ASubject: Re: hdd voltage=0A=0AOn Tue, Nov 17, 2009 at 09:43:04AM -= 0800, D=E1nielisz L=E1szl=F3 wrote:=0A> Hello,=0A> =0A> My computer get sta= rts to reboot all the time I do a higher hdd use (like:=0A> fsck, copying m= ore GB of data). I was sure that my power supply its not=0A> enough so I ch= anged it (300W->450W), now it does the same. I'm looking for a=0A> tool to = measure the exactly power consumiton (voltage and amper) of my hdd,=0A> cpu= and ram on FreeBSD. Do you have any idea?=0A=0ATools like mbmon can show = you the different voltages that the power supply=0Aproduces. But current is= n't measured in the different circuits, AFAIK. If you=0Asee a drop in volta= ge before a reboot that would be a clear sign of=0Atrouble. Unfortunately t= he chips that do the monitoring sometimes only provide=0Anew values once ev= ery second. That is probably not fast enough to detect a=0Aswift voltage dr= op.=0A=0AThere are devices (e.g. kill-a-watt) available that you can plug b= etween the=0Apower outlet and the PC that show you the total power consumpt= ion. See=0Ae.g. http://forum.ncix.com/forums/index.php?mode=3Dshowthread&fo= rum=3D116&threadid=3D1659654&pagenumber=3D1&msgcount=3D18&subpage=3D1=0A=0A= The abovementioned link shows a decent system using between 118 and 205=0AW= att. So I'd be surprised if your 450 Watt powersupply wasn't sufficient.=0A= (unless you have one of those graphics cards that is covered in fans and=0A= heatsinks and that you could still use to fry an egg on.)=0A=0ABut I agree = that it looks like a hardware problem. Unfortunately there are=0Amultiple p= ossible causes. Check to see if all the cabling and cards are=0Asecurely co= nnected. Monitor the temperatures that the on-board sensors=0Areport. Remov= e dust from heatsinks and fans. Check the electrolytic capacitors=0Aon the = motherboard. If the metal "lid" is bulging, it's busted.=0A=0ARoland=0A-- = =0AR.F.Smith http://www.xs4all.nl/~rsmith/= =0A[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated= ]=0Apgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A72= 5)=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:02:09 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA3E6106566B for ; Tue, 17 Nov 2009 20:02:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr8.xs4all.nl (smtp-vbr8.xs4all.nl [194.109.24.28]) by mx1.freebsd.org (Postfix) with ESMTP id 693198FC17 for ; Tue, 17 Nov 2009 20:02:09 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr8.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAHK27SG053106; Tue, 17 Nov 2009 21:02:07 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id D8D00BAC4; Tue, 17 Nov 2009 21:02:02 +0100 (CET) Date: Tue, 17 Nov 2009 21:02:02 +0100 From: Roland Smith To: David Jackson Message-ID: <20091117200202.GB32781@slackbox.xs4all.nl> References: <4B01E2A3.5020305@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xXmbgvnjoT4axfJE" Content-Disposition: inline In-Reply-To: <4B01E2A3.5020305@gmail.com> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: Lockup problems on FreeBSD disks X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:02:10 -0000 --xXmbgvnjoT4axfJE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 16, 2009 at 06:39:15PM -0500, David Jackson wrote: > I have a USB hard drive. Whenever I open two programs which utilise the= =20 > USB hard drive simultaneously, these programs, i assume when they=20 > attempt to write to the hard drive lock up due to what i suspect must be= =20 This particular problem is one I haven't seen. But I've had problems with U= SB harddisks freezing when trying to write large files. It seems that not USB<->ATA chipsets are created equal, and the 7.x USB stack seems to have problems with that.=20 > It seems most likely that this is a USB level problem involving the USB= =20 > drivers. I am using FreeBSD 7.1. It is annoying behaviour to say the=20 > least and I wonder what can be done about it, Try 8.0-PRERELEASE. The USB stack has been rewritten for 8.x, and my limited testing so far indicates it to work better with quirky hardware. The problem of a panic when unplugging a mounted USB drive should also be fixed. And even if you still have problems with the 8.x USB stack, I suspect the U= SB stack in 8.x is more likely to receive TLC than the one in 7.x, so it would= be best to check that out. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --xXmbgvnjoT4axfJE Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksDAToACgkQEnfvsMMhpyUOuwCfZGWSwA1UqKqCbF06HpSI9XdH PPoAoIHbWL2eWzKZTJnLcT+sHPZxgvRC =hO5D -----END PGP SIGNATURE----- --xXmbgvnjoT4axfJE-- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:14:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 84A541065693 for ; Tue, 17 Nov 2009 20:14:11 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30807.mail.mud.yahoo.com (web30807.mail.mud.yahoo.com [68.142.200.150]) by mx1.freebsd.org (Postfix) with SMTP id 440A38FC18 for ; Tue, 17 Nov 2009 20:14:11 +0000 (UTC) Received: (qmail 45107 invoked by uid 60001); 17 Nov 2009 20:14:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1258488850; bh=qRAEv/28VZTkTm6+c40SUNsw4RPQrj64lp+i9qept+g=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=KEkuTG3d+yd9SZXnqFjfoMOESJbwgUwmExPVpmGyU2oybHy4aP/7/sEfKosRuiRdy7H48UKI1nPHFSwEYnypdi5+yNxrYJ3PKRYmejjXkwsgG1PpKAJIPu5Z1rnlVT+E2dZD7bLX4VHPNQlzGWLwyLPZCUFF6H1AWv34la0HrhE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=2NZfJ4FnNQUOK4OwEIGslmpM3Zcueflh7V7tpq1Gl3ayXD22dboqYMnC/nLJnqAPk2zRp2ns8lJ0wN++mNay/grRUrpARw+8pl1E2LH4ZvsyeTptGhByrWbQT2Z5QiQxalREycZ91wdy4jZ+Pbg6jZ75Q2KOAvz2vv1zoTdNr4A=; Message-ID: <549041.44342.qm@web30807.mail.mud.yahoo.com> X-YMail-OSG: k0fXz0sVM1l17UkoUZIZTYTe56hZn.TEmG_S51HPyQXmd7xE0OeWc28qk5HiJ2ouqqUWP4FsKzGPWy1Vl_dFvbfY9hI_sSoalukhO6_Hjdv1JcA8jNzPmqGytb67rPe139hnfN4m1ET85qFdA.olL4rfOcRsCPX768YvKXC9thTwxXi8G3SJGWnVPFNGsgrk_khI80qYYTm8MlYBhybEkMoPlTs23.EY1zLQ.zeERmaK5VfzoRUrn8Ryb62f02TCMTBYxJSnVvvHnJNNzl2bytfjGxDpv76yQhp.d5UTldy6JBsJUk0K.itzNR9sqccmjbfda26r92N4lqR3G3YJ.qhA3HDlezVgN7f66YOrk1VIr7vWrJXZ.h16Mnbu196lVXU7vnnNN9nueuYC2LCt47hyH0J_bOVTdjVrLifjsywgihT8FynVWB9b7f5_W0Et681Uhk1gvDD6mEfAVjXBS3ALAkhNV99glJIiPO9HfqNWFeJhK3deQCx_zYEGECxx Received: from [78.131.57.57] by web30807.mail.mud.yahoo.com via HTTP; Tue, 17 Nov 2009 12:14:10 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117194218.GA32781@slackbox.xs4all.nl> Date: Tue, 17 Nov 2009 12:14:10 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: Roland Smith In-Reply-To: <20091117194218.GA32781@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:14:11 -0000 Roland,=0A=0AI installed mbmon, it looks like its a great application, but = I have a question, I google it and I found no answers yet.=0AWith mbmon -r = what values do you get? I figured out some but the rest I have no idea for = what stands for.=0A=0A# mbmon -r =0ATEMP0 : 42.0=0ATEMP1 : 67.0=0ATEMP= 2 : 67.0=0AFAN0 : 0=0AFAN1 : 2410=0AFAN2 : 0=0AVC0 : +1.36=0AVC= 1 : +1.42=0AV33 : +3.39=0AV50P : +5.11=0AV12P : +12.04=0AV12N : = +1.46=0AV50N : +2.29=0A=0A=0A=0A=0A________________________________=0AFro= m: Roland Smith =0ATo: D=E1nielisz L=E1szl=F3 =0ACc: freebsd-questions@freebsd.org=0ASent: Tue, November= 17, 2009 8:42:18 PM=0ASubject: Re: hdd voltage=0A=0AOn Tue, Nov 17, 2009 a= t 09:43:04AM -0800, D=E1nielisz L=E1szl=F3 wrote:=0A> Hello,=0A> =0A> My co= mputer get starts to reboot all the time I do a higher hdd use (like:=0A> f= sck, copying more GB of data). I was sure that my power supply its not=0A> = enough so I changed it (300W->450W), now it does the same. I'm looking for = a=0A> tool to measure the exactly power consumiton (voltage and amper) of m= y hdd,=0A> cpu and ram on FreeBSD. Do you have any idea?=0A=0ATools like m= bmon can show you the different voltages that the power supply=0Aproduces. = But current isn't measured in the different circuits, AFAIK. If you=0Asee a= drop in voltage before a reboot that would be a clear sign of=0Atrouble. U= nfortunately the chips that do the monitoring sometimes only provide=0Anew = values once every second. That is probably not fast enough to detect a=0Asw= ift voltage drop.=0A=0AThere are devices (e.g. kill-a-watt) available that = you can plug between the=0Apower outlet and the PC that show you the total = power consumption. See=0Ae.g. http://forum.ncix.com/forums/index.php?mode= =3Dshowthread&forum=3D116&threadid=3D1659654&pagenumber=3D1&msgcount=3D18&s= ubpage=3D1=0A=0AThe abovementioned link shows a decent system using between= 118 and 205=0AWatt. So I'd be surprised if your 450 Watt powersupply wasn'= t sufficient.=0A(unless you have one of those graphics cards that is covere= d in fans and=0Aheatsinks and that you could still use to fry an egg on.)= =0A=0ABut I agree that it looks like a hardware problem. Unfortunately ther= e are=0Amultiple possible causes. Check to see if all the cabling and cards= are=0Asecurely connected. Monitor the temperatures that the on-board senso= rs=0Areport. Remove dust from heatsinks and fans. Check the electrolytic ca= pacitors=0Aon the motherboard. If the metal "lid" is bulging, it's busted.= =0A=0ARoland=0A-- =0AR.F.Smith http://www.= xs4all.nl/~rsmith/=0A[plain text _non-HTML_ PGP/GnuPG encrypted/signed emai= l much appreciated]=0Apgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A7= 25 (KeyID: C321A725)=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:28:13 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A07F106568B for ; Tue, 17 Nov 2009 20:28:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 396928FC14 for ; Tue, 17 Nov 2009 20:28:12 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 40A133D43C; Tue, 17 Nov 2009 21:28:11 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHKSAWJ004884; Tue, 17 Nov 2009 21:28:10 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 21:28:10 +0100 From: Polytropon To: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= Message-Id: <20091117212810.70a99d48.freebsd@edvax.de> In-Reply-To: <549041.44342.qm@web30807.mail.mud.yahoo.com> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117194218.GA32781@slackbox.xs4all.nl> <549041.44342.qm@web30807.mail.mud.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Roland Smith , freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:28:13 -0000 On Tue, 17 Nov 2009 12:14:10 -0800 (PST), D=E1nielisz L=E1szl=F3 wrote: > Roland, >=20 > I installed mbmon, it looks like its a great application, but > I have a question, I google it and I found no answers yet. > With mbmon -r what values do you get? I figured out some but > the rest I have no idea for what stands for. Welcome to the good world of excellent documentation. :-) Check out "man mbmon". The data delivered by mbmon can somewhat differ from system to system, depending on how the manufacturer of the "chipset" decided to communicate certain values to the OS. > # mbmon -r =20 > TEMP0 : 42.0 > TEMP1 : 67.0 > TEMP2 : 67.0 > FAN0 : 0 > FAN1 : 2410 > FAN2 : 0 > VC0 : +1.36 > VC1 : +1.42 > V33 : +3.39 > V50P : +5.11 > V12P : +12.04 > V12N : +1.46 > V50N : +2.29 A reference here (from my system): % mbmon -r TEMP0 : 69.0 <----- The CPU temperature in =B0C TEMP1 : 23.0 <----- The Chip set temperature in =B0C TEMP2 : 20.0 <----- The main board / box temperature in =B0C FAN0 : 0 <--\ FAN1 : 0 <--+-- Speed of fans not available here FAN2 : 0 <--/ VC0 : +1.57 <----- CPU voltage VC1 : +1.62 <----- Another voltage I don't know V33 : +3.25 <----- Reference +3.3 Volt V50P : +4.87 <----- Reference +5.0 Volt V12P : +11.67 <----- Reference +12.0 Volt V12N : +0.97 <----- Reference -12.0 Volt V50N : +1.99 <----- Seems to be reference -5.0 Volt, but looks strange As you can see in relation to your output, your board seems to put other values on the "default" named output lines, e. g. V12N =3D +1.46 V which can't be right, but "V12N" seems to be some chosen name for one of the data output lines, nothing more; it could be called "Bob", too. :-) --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:34:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93C771065670 for ; Tue, 17 Nov 2009 20:34:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr1.xs4all.nl (smtp-vbr1.xs4all.nl [194.109.24.21]) by mx1.freebsd.org (Postfix) with ESMTP id 112358FC16 for ; Tue, 17 Nov 2009 20:34:13 +0000 (UTC) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr1.xs4all.nl (8.13.8/8.13.8) with ESMTP id nAHKYCUw050135; Tue, 17 Nov 2009 21:34:12 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id C22B5BAA2; Tue, 17 Nov 2009 21:34:12 +0100 (CET) Date: Tue, 17 Nov 2009 21:34:12 +0100 From: Roland Smith To: =?iso-8859-15?Q?D=E1nielisz_L=E1szl=F3?= Message-ID: <20091117203412.GD32781@slackbox.xs4all.nl> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117194218.GA32781@slackbox.xs4all.nl> <549041.44342.qm@web30807.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J5MfuwkIyy7RmF4Q" Content-Disposition: inline In-Reply-To: <549041.44342.qm@web30807.mail.mud.yahoo.com> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:34:14 -0000 --J5MfuwkIyy7RmF4Q Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Nov 17, 2009 at 12:14:10PM -0800, D=E1nielisz L=E1szl=F3 wrote: > Roland, >=20 > I installed mbmon, it looks like its a great application, but I have a q= uestion, I google it and I > found no answers yet. > With mbmon -r what values do you get? I figured out some but the rest I > have no idea for what stands for. This is what I get: mbmon -A -d Summary of Detection: * ISA monitor(s): ** Winbond Chip W83627HF/THF/THF-A found. mbmon -I -r -c1 TEMP0 : 33.0 TEMP1 : 39.0 TEMP2 : 22.0 FAN0 : 1687 FAN1 : 1350 FAN2 : 0 VC0 : +2.48 VC1 : +3.65 V33 : +3.26 V50P : +5.48 V12P : +10.09 V12N : +1.05 V50N : +0.33 The meaning of the tags is explained in /usr/local/share/doc/mbmon/ReadMe I'm not sure as to how reliable this info is. E.g. My negative voltages are _way_ off and the +12V doesn't look too well, but the system runs OK. The C= PU temperature (TEMP1) is much lower than the on-die temperatures that coretemp reports but that could just be because the sensor from the winbond chip is = in another place.=20 And as I said earlier, chips like the Winbond only update their values once every second. So you cannot use them to monitor fast changes. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --J5MfuwkIyy7RmF4Q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksDCMQACgkQEnfvsMMhpyVW5ACgmLLWbvyFeUYJQp7V1Ze9TTps cS4An1b6nCKDp3dx/NK6cHYXUV2DJTbG =8gMY -----END PGP SIGNATURE----- --J5MfuwkIyy7RmF4Q-- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:37:21 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5C1D1065694 for ; Tue, 17 Nov 2009 20:37:21 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.5]) by mx1.freebsd.org (Postfix) with ESMTP id B19498FC08 for ; Tue, 17 Nov 2009 20:37:21 +0000 (UTC) Received: (qmail 463 invoked from network); 17 Nov 2009 20:37:21 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 17 Nov 2009 20:37:20 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id ACC8350886; Tue, 17 Nov 2009 15:37:19 -0500 (EST) From: Lowell Gilbert To: Laszlo Nagy References: <4B02A81F.1030101@shopzeus.com> Date: Tue, 17 Nov 2009 15:37:19 -0500 In-Reply-To: <4B02A81F.1030101@shopzeus.com> (Laszlo Nagy's message of "Tue, 17 Nov 2009 18:11:51 +0430") Message-ID: <44tyws3n28.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:37:21 -0000 Laszlo Nagy writes: > I'm experimenting with jails. I have installed a 7.2 stable FreeBSD > inside vmware. Then I have created two jails, using the method written > in the handbook: > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html > > The only thing that didn't work is this: > > cd /etc > make distribution DESTDIR=$D > > I really think that it should be corrected to: > > cd /usr/src > make distribution DESTDIR=$D No, I think you added the '/' before 'etc', which isn't in the web page. > > After mounting devfs ("mount -t devfs devfs /vm1/dev") I try to start it: > > /etc/rc.d/vm1 start vm1 > > But then I get this error in syslog: > > bind: Can't assign requested address > > Here is the config from /etc/rc.conf (in the host): > > jail_enable="YES" # Set to NO to disable starting > of any jails > jail_list="vm1 vm2" # Space separated list of names > of jails > > jail_vm1_rootdir="/vm1" # jail's root directory > jail_vm1_hostname="vm1.localdomain" # jail's hostname > jail_vm1_ip="192.168.0.11" # jail's IP address > jail_vm1_devfs_enable="YES" # mount devfs in the jail > jail_vm1_devfs_ruleset="vm1_ruleset" # devfs ruleset to apply to jail > > jail_vm2_rootdir="/vm2" # jail's root directory > jail_vm2_hostname="vm2.localdomain" # jail's hostname > jail_vm2_ip="192.168.0.12" # jail's IP address > jail_vm2_devfs_enable="YES" # mount devfs in the jail > jail_vm2_devfs_ruleset="vm2_ruleset" # devfs ruleset to apply to jail Is the problem perhaps in your /etc/rc.d/vm1 script? Normally you would use /etc/rc.d/jail. Are those addresses already assigned on the host? Was the jail perhaps already running? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:39:19 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8E72106568D for ; Tue, 17 Nov 2009 20:39:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 882CD8FC15 for ; Tue, 17 Nov 2009 20:39:18 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id 36BCA3D560; Tue, 17 Nov 2009 21:39:17 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAHKdGOi004935; Tue, 17 Nov 2009 21:39:16 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 17 Nov 2009 21:39:16 +0100 From: Polytropon To: cpghost Message-Id: <20091117213916.91523909.freebsd@edvax.de> In-Reply-To: <20091117185804.GA20938@phenom.cordula.ws> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117185114.2580bf71.freebsd@edvax.de> <20091117132720.24167377.wmoran@potentialtech.com> <20091117193700.92f6678e.freebsd@edvax.de> <20091117185804.GA20938@phenom.cordula.ws> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:39:19 -0000 On Tue, 17 Nov 2009 19:58:04 +0100, cpghost wrote: > One pure electron a day keeps the plague[1] away... > > [1] http://en.wikipedia.org/wiki/Capacitor_plague > > Sorry, couldn't resist. ;-) I'm a doctor, not a resistor. So I couldn't resist, too. Electricity is actually made up of extremely tiny particles called electrons, that you cannot see with the naked eye unless you have been drinking. [...] But Edison's greatest achievement came in 1879, when he invented the electric company. Edison's design was a brilliant adaptation of the simple electrical circuit: the electric company sends electricity through a wire to a customer, then immediately gets the electricity back through another wire, then (this is the brilliant part) sends it right back to the customer again. This means that an electric company can sell a customer the same batch of electricity thousands of times a day and never get caught, since very few customers take the time to examine their electricity closely. In fact the last year any new electricity was generated in the United States was 1937; the electric companies have been merely re-selling it ever since, which is why they have so much free time to apply for rate increases. [...] Here is a simple experiment that will teach you an important electrical lesson: On a cool, dry day, scuff your feet along a carpet, then reach your hand into a friend's mouth and touch one of his dental fillings. Did you notice how your friend twitched violently and cried out in pain? This teaches us that electricity can be a very powerful force, but we must never use it to hurt others unless we need to learn an important electrical lesson. It also teaches us how an electrical circuit works. When you scuffed your feet, you picked up batches of "electrons", which are very small objects that carpet manufacturers weave into carpets so they will attract dirt. The electrons travel through your bloodstream and collect in your finger, where they form a spark that leaps to your friend's filling, then travels down to his feet and back into the carpet, thus completing the circuit. -- Dave Barry: "The Taming Of The Screw" And: Yes, I know it's OT, but it makes electricity problems look easier because you can now easily understand them. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:48:27 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE169106566B for ; Tue, 17 Nov 2009 20:48:27 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id D92648FC17 for ; Tue, 17 Nov 2009 20:48:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp022.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KT900M9CTS6DB50@asmtp022.mac.com> for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 12:48:07 -0800 (PST) Message-id: From: Chuck Swiger To: Polytropon In-reply-to: <20091117212810.70a99d48.freebsd@edvax.de> Date: Tue, 17 Nov 2009 12:48:06 -0800 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117194218.GA32781@slackbox.xs4all.nl> <549041.44342.qm@web30807.mail.mud.yahoo.com> <20091117212810.70a99d48.freebsd@edvax.de> X-Mailer: Apple Mail (2.936) Cc: =?ISO-8859-1?Q?D=E1nielisz_L=E1szl=F3?= , FreeBSD - Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:48:28 -0000 Hi-- On Nov 17, 2009, at 12:28 PM, Polytropon wrote: > V12N : +0.97 <----- Reference -12.0 Volt > V50N : +1.99 <----- Seems to be reference -5.0 Volt, but looks > strange > > As you can see in relation to your output, your board seems > to put other values on the "default" named output lines, e. g. > V12N = +1.46 V which can't be right, but "V12N" seems to be > some chosen name for one of the data output lines, nothing > more; it could be called "Bob", too. :-) V12N is pin 14 of the 20-pin ATX connector, and is supposed to be the blue wire, running at -12 VDC. It was used by ISA cards and an optional part of PCI bus interface, but is not normally used by anything. V50N is / was pin 20 of the ATX connector, running at -5 VDC, but has been removed since ~2003; the -5V rail was used ISA cards, but is now obsolete, and pin 20 is prohibited from being present in modern PSUs. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:48:49 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE734106568B for ; Tue, 17 Nov 2009 20:48:49 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30801.mail.mud.yahoo.com (web30801.mail.mud.yahoo.com [68.142.200.144]) by mx1.freebsd.org (Postfix) with SMTP id 7450D8FC14 for ; Tue, 17 Nov 2009 20:48:49 +0000 (UTC) Received: (qmail 81201 invoked by uid 60001); 17 Nov 2009 20:48:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1258490928; bh=5cpMWq/RjNRTZJgxsl2oLXUwlFv2/APoY5lSegUewIw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=z2/JH9lk1IZGboB5yiViopWRjiX8Y82urGyZc3pRAAeim4m3zCLrYUF9i7hHkExMWjGP4B5Fij4d/Wfj94O40NnUZQMoDX2EXakhI39Yi1r03q0a2CA7oVkyG9gqJL00Z4rwJkx4hhQ/wNEtND4NTKOBmg/0r/maqg94WMPKlo8= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=AW1XgRlO2riDD4c4ASPom7g2CZrdML1yo7xjRJJfZgjOLpCFiiJcvKin2YjSuLVMKdGijbs6OWJOYdOKgYXeN8kO+lCTRz0ZTkoTbErJ0xPyA6yykzq+4QdH0On+IkUaDsf2lBA/O+j1fFhaxUqgli0xHiwZQs7vmx/L6QPWno0=; Message-ID: <671801.80533.qm@web30801.mail.mud.yahoo.com> X-YMail-OSG: hIkjL4MVM1l9Tm.MyFZM8bHM8erYc9pcJmAb5f2MZXsRFiucOWT_o5JhqcTMT0B6xaf4AIhlJmKhi3q.ozViWmFH9CsDvAQSvJBrcIpzUBPwdbFC9cZTKDN0F2g.MVN4QwfcYmxizp9s.WogjYhw8qOvNvHLQcVVU2PTJzUD6R7YxH2PFwqWYo_uEqx0QTi.MK8FBzkbfHA0xUkVbsoaG4K2MCoUMlhQjyA3Y.hlh4NA5uq7sXQD_PpVLEj4i.K5lYw1qYjtQyaPv5serjEToXYHuO4lU32VNNqKqbRzNyb87C4oN8dxfiC_0j5c75V2EL8h0Fdfqx_N Received: from [78.131.57.57] by web30801.mail.mud.yahoo.com via HTTP; Tue, 17 Nov 2009 12:48:48 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> <20091117194218.GA32781@slackbox.xs4all.nl> <549041.44342.qm@web30807.mail.mud.yahoo.com> <20091117203412.GD32781@slackbox.xs4all.nl> Date: Tue, 17 Nov 2009 12:48:48 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: Roland Smith In-Reply-To: <20091117203412.GD32781@slackbox.xs4all.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:48:49 -0000 Thank you very much!=0AI just got a tip, it's called munin. =0A=0A=0A=0A=0A= ________________________________=0AFrom: Roland Smith =0A= To: D=E1nielisz L=E1szl=F3 =0ACc: freebsd-quest= ions@freebsd.org=0ASent: Tue, November 17, 2009 9:34:12 PM=0ASubject: Re: h= dd voltage=0A=0AOn Tue, Nov 17, 2009 at 12:14:10PM -0800, D=E1nielisz L=E1s= zl=F3 wrote:=0A> Roland,=0A> =0A> I installed mbmon, it looks like its a = great application, but I have a question, I google it and I=0A> found no a= nswers yet.=0A=0A> With mbmon -r what values do you get? I figured out som= e but the rest I=0A> have no idea for what stands for.=0A=0AThis is what I= get:=0Ambmon -A -d=0ASummary of Detection:=0A* ISA monitor(s):=0A ** Winb= ond Chip W83627HF/THF/THF-A found.=0Ambmon -I -r -c1=0ATEMP0 : 33.0=0ATEMP1= : 39.0=0ATEMP2 : 22.0=0AFAN0 : 1687=0AFAN1 : 1350=0AFAN2 : 0=0AVC0 = : +2.48=0AVC1 : +3.65=0AV33 : +3.26=0AV50P : +5.48=0AV12P : +10.= 09=0AV12N : +1.05=0AV50N : +0.33=0A=0AThe meaning of the tags is explai= ned in /usr/local/share/doc/mbmon/ReadMe=0A=0AI'm not sure as to how reliab= le this info is. E.g. My negative voltages are=0A_way_ off and the +12V doe= sn't look too well, but the system runs OK. The CPU=0Atemperature (TEMP1) i= s much lower than the on-die temperatures that coretemp=0Areports but that = could just be because the sensor from the winbond chip is in=0Aanother plac= e. =0A=0AAnd as I said earlier, chips like the Winbond only update their va= lues once=0Aevery second. So you cannot use them to monitor fast changes.= =0A=0ARoland=0A-- =0AR.F.Smith http://www.= xs4all.nl/~rsmith/=0A[plain text _non-HTML_ PGP/GnuPG encrypted/signed emai= l much appreciated]=0Apgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A7= 25 (KeyID: C321A725)=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 20:49:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B3B6106566C for ; Tue, 17 Nov 2009 20:49:30 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1725C8FC20 for ; Tue, 17 Nov 2009 20:49:29 +0000 (UTC) Received: by pxi12 with SMTP id 12so260638pxi.3 for ; Tue, 17 Nov 2009 12:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=QnV1r0ZFu9CAcEehTlVPE2CZxZJrvR7tBO0s9vwvmMw=; b=LqOJcL3w3p7irvd9uFk8okRJSX2hNvSdWCYB0++H2g8lJiL5gXVo+99VHKyz6zqqOs jA0XhByarHoukFQZ6HQ4v2oUfosl9oDV7RKkpa6Ixxr2qVqCBOSaEZIhvUYuBE/UbvNT JSzi+hismYy8FzSg8KIwn8uPL9dTw4uO8s/Ew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RS8kDAtTgcsqw/gqkTen7HlG/gRO0NKkKBYBYfsvCX8y6+2BslmmNnToLiLrgfE5s0 kaIVQgq84LqwdAnKEX54ZZGdIlUu1DDFsQZ43uv2jJK6oqBwoHTf2qkyBY/kN8kTGjAn dPRm8ppoDEHbb4q9pgQ7OHm8W0MS/gJFlLCaI= MIME-Version: 1.0 Received: by 10.143.25.19 with SMTP id c19mr1065917wfj.87.1258490969546; Tue, 17 Nov 2009 12:49:29 -0800 (PST) Date: Tue, 17 Nov 2009 13:49:29 -0700 Message-ID: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> From: Modulok To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Wester Digital 'deep recovery cycle' and gstripe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 20:49:30 -0000 List, Has anyone used 'Wester Digital Caviar Black' disks in a gstripe? I'm building a 2TB gstripe, from 3x 1TB disks. My concern, is the disks are 'consumer grade' disks. Western Digital mention not to use them with a raid controller as they have a potential, 'deep recovery cycle', which an last up to 2 minutes. This would theoretically result in them being dropped from the array. Despite this, I've heard successful uses of these disks via gmirror. (Granted, not the same as gstripe). Again, in theory, if one disk enters a 'deep recovery cycle' and is dropped from the array, and during that time another disks does the same the array is toast, right? Umm...what are the odds of this occurring? War stories? (The more I type this out, the more it's starting to sound like a bad idea.) Thoughts, ideas? -Modulok- From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 21:03:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 67323106566B for ; Tue, 17 Nov 2009 21:03:26 +0000 (UTC) (envelope-from jgrosch@es.net) Received: from mailgw.es.net (mail1.es.net [IPv6:2001:400:201:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4D41F8FC1D for ; Tue, 17 Nov 2009 21:03:26 +0000 (UTC) Received: from zen.es.net (odin.es.net [198.128.1.93]) (authenticated bits=0) by mailgw.es.net (8.14.3/8.14.3) with ESMTP id nAHL3PcN025925 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 17 Nov 2009 13:03:25 -0800 Message-ID: <4B030F9D.6090801@es.net> Date: Tue, 17 Nov 2009 13:03:25 -0800 From: Josef Grosch User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Modulok References: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> In-Reply-To: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-11-17_11:2009-11-16, 2009-11-17, 2009-11-17 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0908210000 definitions=main-0911170182 Cc: freebsd-questions@freebsd.org Subject: Re: Wester Digital 'deep recovery cycle' and gstripe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:03:26 -0000 Modulok wrote: > List, > > Has anyone used 'Wester Digital Caviar Black' disks in a gstripe? > > I'm building a 2TB gstripe, from 3x 1TB disks. My concern, is the > disks are 'consumer grade' disks. Western Digital mention not to use > them with a raid controller as they have a potential, 'deep recovery > cycle', which an last up to 2 minutes. This would theoretically result > in them being dropped from the array. Despite this, I've heard > successful uses of these disks via gmirror. (Granted, not the same as > gstripe). Again, in theory, if one disk enters a 'deep recovery cycle' > and is dropped from the array, and during that time another disks does > the same the array is toast, right? > > Umm...what are the odds of this occurring? War stories? (The more I > type this out, the more it's starting to sound like a bad idea.) > Thoughts, ideas? > -Modulok- YMMV, but. In the past I have not had good luck with Western Digital disks, they are 'consumer grade'. It has been my experience that Seagate drives hold up better. My $0.02 Josef -- Josef Grosch Email : jgrosch@es.net Computer Systems Engineer Office : 510-486-6597 Lawrence Berkeley National Laboratory Cell : 510-207-9976 From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 21:03:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 598321065693 for ; Tue, 17 Nov 2009 21:03:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2F00E8FC35 for ; Tue, 17 Nov 2009 21:03:57 +0000 (UTC) Received: by pxi12 with SMTP id 12so269108pxi.3 for ; Tue, 17 Nov 2009 13:03:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=sY/IEj7dhoRm1+Ma711ukALEqhzbY7b/oWMi8nxTtNI=; b=ue4NYCtO09ZzGOopUB4gPMboOILXnPwTCztysuWt/sKDLfq5XfVR9Jejhy2GMQLnbI hlCSNGIdPOmmt+7Vn2p5SYl4aSCXvgC6wxN7RYRCaU3KYxAUjkcz3JKiPvrtkpMqNLdW TZb4bH69guVBYM/ypwpxVDmJm5owhByAJdD+U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ZYcsP0z/mEfXNyTJxd8rBQU+/hw0rAo/F3z4r3qdhnKuFveaPi8kdGWnHx3/oOXz03 jN4JeeUTjXUokBBk9/knr2FkOKZCxp6m+wpQLAmjgKkABcMxC9+SFiBq/sjPUK93wb9v AhkyYfOhiHLnAjw4s39cWnNd22lMMSIlrZaIc= MIME-Version: 1.0 Received: by 10.143.154.34 with SMTP id g34mr186014wfo.312.1258491837705; Tue, 17 Nov 2009 13:03:57 -0800 (PST) In-Reply-To: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> References: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> Date: Tue, 17 Nov 2009 15:03:57 -0600 Message-ID: <6201873e0911171303w2c37f1c3we928798a6760d393@mail.gmail.com> From: Adam Vande More To: Modulok Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Wester Digital 'deep recovery cycle' and gstripe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:03:58 -0000 On Tue, Nov 17, 2009 at 2:49 PM, Modulok wrote: > List, > > Has anyone used 'Wester Digital Caviar Black' disks in a gstripe? > > I'm building a 2TB gstripe, from 3x 1TB disks. My concern, is the > disks are 'consumer grade' disks. Western Digital mention not to use > them with a raid controller as they have a potential, 'deep recovery > cycle', which an last up to 2 minutes. This would theoretically result > in them being dropped from the array. Despite this, I've heard > successful uses of these disks via gmirror. (Granted, not the same as > gstripe). Again, in theory, if one disk enters a 'deep recovery cycle' > and is dropped from the array, and during that time another disks does > the same the array is toast, right? > > Umm...what are the odds of this occurring? War stories? (The more I > type this out, the more it's starting to sound like a bad idea.) > Thoughts, ideas? > -Modulok- > > In a stripe, if one goes it all goes. However I am not certain it's an issue in your case, the gstripe labeling mode with create a persistent config. If there's not a better answer, best thing to do would be to test it out. setting up gstripe takes like 10 minutes. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 21:07:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FBB6106568D for ; Tue, 17 Nov 2009 21:07:26 +0000 (UTC) (envelope-from djackson452@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 43D3A8FC20 for ; Tue, 17 Nov 2009 21:07:26 +0000 (UTC) Received: by gxk10 with SMTP id 10so455733gxk.3 for ; Tue, 17 Nov 2009 13:07:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=HdXRaknZ4fN9rP2NX5dMzVNZHh2iZyF1qihakum0YhA=; b=Aa6fYooxJCMPBnAGEvZOPuc3lXj3MWIZ57mpfLDtU+SuXP2GZ74vzJwGeBqeeexKeQ Aeqb7+nscb1p9lsNw1flauBbTlCTuOhO5LT9H7npik6e11GCCmpC7WX/EWMj9NWkABwk nazACIlAEdJmsuy2YF80oYOgA14g5gCqKpuUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=NkOaIcYRg+0KqCUWGfhAE+w6JP7Piv5OLrGb5VqeD0EYo/m9PzhwP8HK+PwodeX/Bq A8RtxDC+UyvNvKoRP23NEuQmwqIkLbKuI2Fszg3rX+lpHnLZeVWquHoUQobxZ4C/VRgn SsXKQUvOis/ie5yi/sILKKmXgVGupGvGMhkFw= Received: by 10.101.115.4 with SMTP id s4mr2261918anm.81.1258492045484; Tue, 17 Nov 2009 13:07:25 -0800 (PST) Received: from ?192.168.1.103? (pool-96-254-203-152.tampfl.fios.verizon.net [96.254.203.152]) by mx.google.com with ESMTPS id 15sm356091yxh.22.2009.11.17.13.07.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 13:07:24 -0800 (PST) Message-ID: <4B030F55.8020706@gmail.com> Date: Tue, 17 Nov 2009 16:02:13 -0500 From: David Jackson User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: davidcollins001@gmail.com, freebsd-questions@freebsd.org References: <4AE3944A.4090602@videotron.ca> <4AE40A00.3040607@infracaninophile.co.uk> <4b02dc68.eJdGkKbmyLCy24CC%davidcollins001@gmail.com> In-Reply-To: <4b02dc68.eJdGkKbmyLCy24CC%davidcollins001@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: flashplugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:07:26 -0000 I never had tried to install Linux flash. I did install Windows flash under Firefox on Wine and it worked. I found that the freebsd port for Wine would not work but if I downloaded the source from WineHQ and compiled it would work fine, however, i tried a more recent version of Wine which did not compile right on FreeBSD, my current properly compiled wine version is, 1.1.7. You can try the most recent version of Wine and see if tht works, if not you can try 1.1.7 which worked well for me. David Collins wrote: > I have periodically tested with getting flash working, and everytime I > try it fails and I go back to undoing everything I have done and > re-installing gnash. Gnash works but it does have a few niggles. > > I tried the following: > > >> This is what I did for a 7.2 box. Note that there are compatibility >> >> # pkg_info -orx linux > linux-stuff >> # pkg_delete -rx linux >> >> # cd /compat/linux >> # find . -type f -ls >> # rm -rf * >> >> # sysctl compat.linux.osrelease=2.6.16 >> >> OVERRIDE_LINUX_BASE_PORT= f10 >> OVERRIDE_LINUX_NONBASE_PORTS= f10 >> >> to /etc/make.conf. >> >> # portinstall www/nspluginwrapper >> # nspluginwrapper -v -a -i >> >> * Finally, fire up Firefox and check that it has loaded the flash plugin by >> typing 'about:plugins' into the URL bar. Find a site with flash content[*], >> and enjoy. >> > > Everything installed easily and about:plugins has Shockwave Flash and > FutureSplash Player as enabled. But, when I go to youtube.com all I get a black > screen and the video doesn't load. > > Does anyone have any ideas why flash isn't working? > > David > _______________________________________________ > 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 Tue Nov 17 21:26:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E52AA1065676 for ; Tue, 17 Nov 2009 21:26:42 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id BCB458FC17 for ; Tue, 17 Nov 2009 21:26:42 +0000 (UTC) Received: by pwj15 with SMTP id 15so272172pwj.3 for ; Tue, 17 Nov 2009 13:26:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=NM9uKOZVK5pOlZqeCIgZlB4oc6j8Z+PrPaNCK7NL42Q=; b=xX+Mx8HnDb/AGJq9FZqOtyznjGfOhQmJfSdpndJMTpSQE/rUTqNbQBVzNpYVjLEyku HK09WaFQR+cIzXlIsahzVIsmpc/AZkh9MraXqwyDZ5QAa+jmin02GzOf4hIOhEFfMrK1 HJYW2K2jUG5df9Q18lUTokZ88DKg1fR5VhnH0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UNFUa8ewPkHBLUkGiTXTsghDg/c8ZRLcLafmNHW3GzSoh55ieWYMN39W8F2m38fJ6A Ksuqg7/UK1YvH1CarRjLmdRL2t12QWjog3m5CFKp1G7unm5AUZmp+SkLI1Iwsz0YZkRD ydHE2YqyRJ3oHbXtd5/hQSQT8xttAx5Qp/5CM= MIME-Version: 1.0 Received: by 10.143.25.19 with SMTP id c19mr1070539wfj.87.1258493202138; Tue, 17 Nov 2009 13:26:42 -0800 (PST) In-Reply-To: <6201873e0911171303w2c37f1c3we928798a6760d393@mail.gmail.com> References: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> <6201873e0911171303w2c37f1c3we928798a6760d393@mail.gmail.com> Date: Tue, 17 Nov 2009 14:26:42 -0700 Message-ID: <64c038660911171326p329cee87x775a98c5d52605a3@mail.gmail.com> From: Modulok To: Adam Vande More Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Wester Digital 'deep recovery cycle' and gstripe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:26:43 -0000 Correction, it would be a graid3 setup. Sorry. -Modulok- On 11/17/09, Adam Vande More wrote: > On Tue, Nov 17, 2009 at 2:49 PM, Modulok wrote: > >> List, >> >> Has anyone used 'Wester Digital Caviar Black' disks in a gstripe? >> >> I'm building a 2TB gstripe, from 3x 1TB disks. My concern, is the >> disks are 'consumer grade' disks. Western Digital mention not to use >> them with a raid controller as they have a potential, 'deep recovery >> cycle', which an last up to 2 minutes. This would theoretically result >> in them being dropped from the array. Despite this, I've heard >> successful uses of these disks via gmirror. (Granted, not the same as >> gstripe). Again, in theory, if one disk enters a 'deep recovery cycle' >> and is dropped from the array, and during that time another disks does >> the same the array is toast, right? >> >> Umm...what are the odds of this occurring? War stories? (The more I >> type this out, the more it's starting to sound like a bad idea.) >> Thoughts, ideas? >> -Modulok- >> >> In a stripe, if one goes it all goes. However I am not certain it's an > issue in your case, the gstripe labeling mode with create a persistent > config. If there's not a better answer, best thing to do would be to test > it out. setting up gstripe takes like 10 minutes. > > > -- > Adam Vande More > From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 21:41:14 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 568C11065670 for ; Tue, 17 Nov 2009 21:41:14 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep13-int.chello.at (viefep13-int.chello.at [62.179.121.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9583A8FC12 for ; Tue, 17 Nov 2009 21:41:13 +0000 (UTC) Received: from edge01.upc.biz ([192.168.13.236]) by viefep13-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091117214111.WZKT16274.viefep13-int.chello.at@edge01.upc.biz> for ; Tue, 17 Nov 2009 22:41:11 +0100 Received: from [192.168.0.102] ([89.134.235.155]) by edge01.upc.biz with edge id 6MhA1d06Z3MqfxD01MhBZb; Tue, 17 Nov 2009 22:41:11 +0100 X-SourceIP: 89.134.235.155 Message-ID: <4B02E742.4010705@shopzeus.com> Date: Tue, 17 Nov 2009 22:41:14 +0430 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: questions@freebsd.org References: <4B02A81F.1030101@shopzeus.com> <44tyws3n28.fsf@be-well.ilk.org> In-Reply-To: <44tyws3n28.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 21:41:14 -0000 > No, I think you added the '/' before 'etc', which isn't in the web page. > Gotcha. > > Is the problem perhaps in your /etc/rc.d/vm1 script? > Normally you would use /etc/rc.d/jail. > Yes, I'm. Sorry - it was a typo. I used this: /etc/rc.d/jail start vm1 > Are those addresses already assigned on the host? > Was the jail perhaps already running? > My computer is a windows machine, with address 192.168.0.X Then the FreeBSD host is actually a guest os running in wvmare. It has address 192.168.37.133 And finally, the vm1 jail should have 192.168.0.11 I don't know why 192.168.0.11 is not working for the jail. Anyway, if I change the jail's address to 192.168.10.11 then /etc/rc.d/jail start vm1 Starting jails: vm1.localdomain. Now the next question: how can I access the hosted (jailed) OS? I know it is a dumb question, but I have no idea. I would like to: a.) run sshd in the jail b.) login from the host to the jailed (hosted) OS c.) install programs on the jail, configure them and finally d.) use NATD to divert some pacakges from the host to the jail and back Probably this is what everybody does, so if you could point me to a tutorial or something, I would appriciate it. Thanks, Laszlo From owner-freebsd-questions@FreeBSD.ORG Tue Nov 17 22:38:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53395106566B for ; Tue, 17 Nov 2009 22:38:50 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 0F3E18FC08 for ; Tue, 17 Nov 2009 22:38:49 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAHMcdW0039583 for ; Tue, 17 Nov 2009 14:38:40 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 17 Nov 2009 14:38:45 -0800 (PST) Date: Tue, 17 Nov 2009 14:38:45 -0800 From: Gary Kline To: Manolis Kiagias Message-ID: <20091117223844.GA19855@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> <4B02E346.3070209@otenet.gr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B02E346.3070209@otenet.gr> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2009 22:38:50 -0000 On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: > Gary Kline wrote: > > > > There is a question during sysinstall: "Would you like to enable ssh login?" > Guess you answered "no" there? > i didn't see this question -- or don't remember seeing it. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 00:06:41 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A8E1065695 for ; Wed, 18 Nov 2009 00:06:41 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65505.mail.ac4.yahoo.com (web65505.mail.ac4.yahoo.com [76.13.9.49]) by mx1.freebsd.org (Postfix) with SMTP id 99B0F8FC16 for ; Wed, 18 Nov 2009 00:06:40 +0000 (UTC) Received: (qmail 71261 invoked by uid 60001); 18 Nov 2009 00:06:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258502799; bh=9/Yc+SKMyNfVhoalFWCbvT6o1HZi4oktd+cBiM1OQFM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=PkvbE1Tb2elFb1mpVsV2Obt5wnuY/DjMI8jiJKhb+pTtAUUv5z+LLQpUVi6oCNK6h0NBeNr8SciXUJVy61bJ+KXVLkwRO7hYYjTb7aK2tY3zTQbjtjD4brdlJGwD+yeNbv92Y7Bz4mmrLOsoToADtix+91l3qiXHwCYtkFezVPM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=SuIGRblQKqLlmaq3jwDK0b1791XjioxlGK860sVy/ydfTwZidBnFZJ9aUafRe4oXNuKe6NONO+6FjmOvrcW5dxSVRrwYFzfJWiY+BG5roNFCIfo4VV5w2VRrkmEfOS1qoUfUhpA9lRZfTTZamIe0i+X1LaRcIOhAS4aJZ1psqNc=; Message-ID: <917150.71055.qm@web65505.mail.ac4.yahoo.com> X-YMail-OSG: aLDZTEwVM1lvf1BrWJCTf3amcNutWfH9pfCB7zhVUtJwZIUquQnCDWoHudCYPiIuAfHGcytfIzKXuUk7jjZm1Wy0YzaNzBm9eYCCac6WsMUL2XDXM6tFSQ0qUHiTF3YqB36_Re.inOBnnGURCfumG79VEphmK..gD.pxYldCbLZUcagaBHvH3d6nFXpD0sBmWfJowAZJwBdBkYODsX1MK.SeR1JQTs0avrsWWmkyKblCfSI_NZWss2RIwrEyrG1zqyw.BzQSHfMTot3ymkXH.mjN78BTI1QPK_W8cHpUX2_4lqz.4VZH8TrHRLMcmkSLmK9pRVMdL.DU98C55p3VpH4jBSm.BVLlL_SW18IYK45txSH8LG_nMGKlyx3s3VsOSVev3OIUmPBMUS_pNJmW8ldus2Qpq8wZ0c5KUNLe9IetWFJUiBVJr3uEZPrGipSejXEjHZlOjvDn9gXxnFlUBylvjuFHySc5bnq4DZxzd3mW6cPPGWitzgCdjYcwIQelQufLRrUwXg0_CS.USM7iy3tlgCvAA5sD8ZUccVswWOagskhhaXHVIVb_6XaDVFaAncZWlsPRkS0JCNCyAA37g79chgcYklCJaLOm Received: from [208.99.137.71] by web65505.mail.ac4.yahoo.com via HTTP; Tue, 17 Nov 2009 16:06:39 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Tue, 17 Nov 2009 16:06:39 -0800 (PST) From: James Phillips To: freebsd-questions@freebsd.org In-Reply-To: <20091117200220.B7AB610656C6@hub.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: laszlo_danielisz@yahoo.com Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 00:06:41 -0000 > Date: Tue, 17 Nov 2009 11:01:15 -0800 (PST) > From: D?nielisz L?szl? > Subject: Re: hdd voltage > To: freebsd-questions@freebsd.org > Message-ID: <615511.15311.qm@web30804.mail.mud.yahoo.com> > Content-Type: text/plain; charset=iso-8859-1 > > Thank you guys for the interest you bring solving my > issue! > > Actualy I noticed one thing for sure: > I have to hdd-s in my PC, an 80GB Seagate ATA (the o.s. > boot hdd) and one 1T Seagate SATA (only for storage), there > were no problems when I used just the 80GB neither with the > 1T, I noticed only that I'm getting thouse reboots when I > start to copy about more than 4-5GB from the 1T hdd to my > laptop (on ftp). Maybe the hdd was too warm after copying > that amount of data? > You don't specify what models you have. The specs for a random, slightly higher-end, 1TB SATA Seagate drive states an operating temperature range of 0C-60C. http://www.seagate.com/staticfiles/support/disc/manuals/desktop/Barracuda%207200.12/100529369e.pdf - Page 4, PDF page 11 Found: http://www.seagate.com/www/en-us/products/desktops/barracuda_hard_drives/barracuda_7200.12/#tTabContentSpecifications > 49 Celsius was the top of the tempature for this hdd, I > think its normal. After that Google study, I prefer to keep my drives below 40C if I can. Current temp (idle): 41C. Regards, James Phillips __________________________________________________________________ Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now http://ca.toolbar.yahoo.com. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 01:09:57 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1416710657A8 for ; Wed, 18 Nov 2009 01:09:57 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id 8C9F48FC0A for ; Wed, 18 Nov 2009 01:09:56 +0000 (UTC) Received: from anne-o1dpaayth1.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id RAA21582 for ; Tue, 17 Nov 2009 17:32:58 -0700 (MST) Message-Id: <200911180032.RAA21582@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Tue, 17 Nov 2009 17:32:53 -0700 To: questions@freebsd.org From: Brett Glass Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: State of interface polling in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 01:09:57 -0000 I'm building a FreeBSD router based on a small, Intel Atom-based board and am trying to decide whether or not to configure the kernel for polling. What's the current state of interface polling in FreeBSD? Is it worth doing with a single CPU, or will it actually increase system overhead? What "HZ" settings are recommended? --Brett Glass From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 01:19:36 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 986D11065670 for ; Wed, 18 Nov 2009 01:19:36 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout014.mac.com (asmtpout014.mac.com [17.148.16.89]) by mx1.freebsd.org (Postfix) with ESMTP id 86B998FC08 for ; Wed, 18 Nov 2009 01:19:36 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Received: from cswiger1.apple.com ([17.227.140.124]) by asmtp014.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KTA00MWI6CNZ030@asmtp014.mac.com> for questions@freebsd.org; Tue, 17 Nov 2009 17:19:36 -0800 (PST) Message-id: From: Chuck Swiger To: Brett Glass In-reply-to: <200911180032.RAA21582@lariat.net> Date: Tue, 17 Nov 2009 17:19:35 -0800 References: <200911180032.RAA21582@lariat.net> X-Mailer: Apple Mail (2.936) Cc: questions@freebsd.org Subject: Re: State of interface polling in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 01:19:36 -0000 Hi-- On Nov 17, 2009, at 4:32 PM, Brett Glass wrote: > I'm building a FreeBSD router based on a small, Intel Atom-based > board and am trying to decide whether or not to configure the kernel > for polling. What's the current state of interface polling in > FreeBSD? Is it worth doing with a single CPU, or will it actually > increase system overhead? What "HZ" settings are recommended? Polling probably works better with a single CPU, compared with doing service handling threads per interface, which can do better on SMP boxes. However, the main consideration is probably whether your NICs know how to do interrupt mitigation-- if they do, using that is probably better than using device polling, at least for low-to- moderate network load. Polling handles high load better; it wastes a fair amount of CPU under no to low network load. The base recommendation is to set HZ to 1000. If your CPU is having problems with that, try 250 or 500 HZ. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 02:07:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4554C106566B for ; Wed, 18 Nov 2009 02:07:26 +0000 (UTC) (envelope-from msoulier@digitaltorque.ca) Received: from mail.storm.ca (unknown [IPv6:2607:f0b0:0:6:209:87:239:66]) by mx1.freebsd.org (Postfix) with ESMTP id 4D9BE8FC0A for ; Wed, 18 Nov 2009 02:07:24 +0000 (UTC) Received: from anton.digitaltorque.ca (hs-216-106-102-79.storm.ca [216.106.102.79]) by mail.storm.ca (8.14.2+Sun/8.14.2) with ESMTP id nAHNTliG013121; Tue, 17 Nov 2009 18:29:52 -0500 (EST) Received: by anton.digitaltorque.ca (Postfix, from userid 1000) id 2BFAB860232; Tue, 17 Nov 2009 18:29:41 -0500 (EST) Date: Tue, 17 Nov 2009 18:29:41 -0500 From: "Michael P. Soulier" To: Polytropon Message-ID: <20091117232940.GB6951@anton.digitaltorque.ca> Mail-Followup-To: Polytropon , freebsd-questions@freebsd.org References: <20091115231424.GA29418@anton.digitaltorque.ca> <20091116031758.0729246c.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="b5gNqxB1S1yM7hjW" Content-Disposition: inline In-Reply-To: <20091116031758.0729246c.freebsd@edvax.de> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: bash prompt update lagging X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 02:07:26 -0000 --b5gNqxB1S1yM7hjW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 16/11/09 Polytropon said: > Your PS1 seems to include ${SHORT_PWD}, a variable. It seems > that it is not updated immediately after the cd command. Yeah, looks like it. Works on linux though... > By the way, this is bash-3.2.25 on FreeBSD/x86 7. bash-4.0.33_2 on x86 6.3. > Is this what you've intended the prompt to look like? I'm using an awk script to truncate any pwd that's too long. get_short_pwd() { # The actual max length is max_len + the length of trunc_symbol local max_length=3D$1 local trunc_symbol=3D"..." if [ -z "$max_length" ]; then max_length=3D20 fi if [ "$PWD" !=3D "$OLDPWD" ]; then SHORT_PWD=3D$(awk "BEGIN { =20 path =3D ENVIRON[\"PWD\"] home =3D ENVIRON[\"HOME\"] home_len =3D length(home) max_len =3D $max_length sym_len =3D length(\"$trunc_symbol\") if(substr(path, 0, home_len) =3D=3D home) { path =3D sprintf(\"~%s\", substr(path, home_len + 1)) } path_len =3D length(path) if (path_len > max_len) { path =3D sprintf(\"%s%s\", \"$trunc_symbol\", substr(path, = path_len + sym_len - max_len + 1)) } print path }") OLDPWD=3D${PWD} fi } This is called via a build_prompt() function in my .bashrc. I guess I'll ec= ho out some variables there and see what's happening. FTR this did work, and then I updated bash in ports. Mike --=20 Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein --b5gNqxB1S1yM7hjW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iD8DBQFLAzHkKGqCc1vIvggRAlTYAKCyQTKhgNE5JrnrUvUx/1UwNQ86SACgs9e1 1GAWmhp3aktW7PWrOZG9uF8= =KXWI -----END PGP SIGNATURE----- --b5gNqxB1S1yM7hjW-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 02:36:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 71656106566B for ; Wed, 18 Nov 2009 02:36:34 +0000 (UTC) (envelope-from tj@tjvarghese.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 54FB78FC1E for ; Wed, 18 Nov 2009 02:36:34 +0000 (UTC) Received: by pxi12 with SMTP id 12so447987pxi.3 for ; Tue, 17 Nov 2009 18:36:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.4.11 with SMTP id 11mr1169315wfd.86.1258510432195; Tue, 17 Nov 2009 18:13:52 -0800 (PST) In-Reply-To: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> References: <64c038660911171249r141cc810n62a721e48225954c@mail.gmail.com> Date: Wed, 18 Nov 2009 10:13:52 +0800 Message-ID: From: TJ Varghese To: Modulok Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: Wester Digital 'deep recovery cycle' and gstripe? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 02:36:35 -0000 On Wed, Nov 18, 2009 at 4:49 AM, Modulok wrote: > List, > > Has anyone used 'Wester Digital Caviar Black' disks in a gstripe? > > I'm building a 2TB gstripe, from 3x 1TB disks. My concern, is the > disks are 'consumer grade' disks. Western Digital mention not to use > them with a raid controller as they have a potential, 'deep recovery > cycle', which an last up to 2 minutes. This would theoretically result > in them being dropped from the array. Despite this, I've heard > successful uses of these disks via gmirror. (Granted, not the same as > gstripe). Again, in theory, if one disk enters a 'deep recovery cycle' > and is dropped from the array, and during that time another disks does > the same the array is toast, right? > > Umm...what are the odds of this occurring? War stories? (The more I > type this out, the more it's starting to sound like a bad idea.) > Thoughts, ideas? > -Modulok- google for WDTLER.EXE. I've had good results setting the recovery time to 7 seconds on the Caviar Greens & Blacks. FWIH, it only works up for WD drives up to 1TB. WD's Raid Ed. drives have the above setting on by default. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 03:57:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A705C106566C for ; Wed, 18 Nov 2009 03:57:53 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505e.appriver.com [98.129.35.9]) by mx1.freebsd.org (Postfix) with ESMTP id 6FB4E8FC1B for ; Wed, 18 Nov 2009 03:57:53 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.14 X-Note-Reverse-DNS: ht01.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 112 113 114 115 119 120 131 217 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.14] (HELO ht01.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 14070136 for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 21:57:51 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.164]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Tue, 17 Nov 2009 21:57:52 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Tue, 17 Nov 2009 21:57:50 -0600 Thread-Topic: ELF library not found error Thread-Index: AcpoA0xe9stWKxCMTe24Q0l2+8LCSg== Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 03:57:53 -0000 I did a search for this error and got numerous hits, none which really seem= ed to explain my situation. I've installed an 8.0 RC3 system and included P= ython 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. However, for = both 2.5 and 3.1 I get the error: ELF interpreter /libexec/ld-elf.so.1 not found What might cause this error? From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 04:18:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AA9D5106566B for ; Wed, 18 Nov 2009 04:18:30 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 21ADE8FC0C for ; Wed, 18 Nov 2009 04:18:29 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nAI4INjO017003; Wed, 18 Nov 2009 15:18:23 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 18 Nov 2009 15:18:23 +1100 (EST) From: Ian Smith To: Chuck Swiger In-Reply-To: Message-ID: <20091118141442.G65262@sola.nimnet.asn.au> References: <20091116231341.40E3F10656B0@hub.freebsd.org> <20091118014634.S65262@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Bruce Cran , freebsd-questions@freebsd.org Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 04:18:30 -0000 On Tue, 17 Nov 2009, Chuck Swiger wrote: > On Nov 17, 2009, at 7:51 AM, Ian Smith wrote: > [ ... ] > > For instance, I've got two Fujitsu 5400rpm 2.5" drives in two laptops, > > one MHV2040AH with near 19,000 hours on it, and a much newer MHV2120AH, > > 40 and 120GB respectively. Nice quiet low-power laptop drives, fwiw. > > > > Both show as (more recently) being in the smartctl database, and both > > show _exactly_ the same values for this one: > > > > 5 Reallocated_Sector_Ct 0x0033 100 100 024 Pre-fail Always - > > 8589934592000 > > > > Now if that were a number of 512-byte sectors, it'd be 4096000 GB! :) > > but both drives are 100% ok, as the VALUE / WORST figures show. > > I wouldn't conclude that the drives were 100% OK from that line, although > they *might* be; I'd conclude that the drives aren't implementing this SMART > field correctly in their firmware. Are you using the latest version of > smartctl-- updates to that can sometimes better interpret vendor-specific > odditities. Hi Chuck, Well, _Fujitsu_ reckon they're 100% OK on THAT attribute (100 100 024), which is the point I (and Bruce, I think) was trying to make, along with perhaps a gentle "don't believe everything you read on Wikipedia" :) The smartctl program is not definitive for RAW_VALUE attributes; the manufacturer is. Some raw values are manufacturer-specific, like this one, and the smartctl author likely concentrates on the lowest hanging fruit; its database is already huge. This one is larger than 32 bits, possibly a mis-byte-ordered 48- or 64-bit value? If the two drives showed different values I'd pursue trying different byte orderings. And no, this certainly wouldn't be the latest smartctl; to compare the 120G drive I installed (last night) smartmontools on a 7.0 system that's soon to be upgraded to 7-STABLE, so using a 7.0-RELEASE ports tree with smartctl 5.37, which shows '009 Power_On_Seconds' as the only odd value for this make/model, from smartctl -P show /dev/ad0 cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 04:49:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5C31065672 for ; Wed, 18 Nov 2009 04:49:20 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65510.mail.ac4.yahoo.com (web65510.mail.ac4.yahoo.com [76.13.9.54]) by mx1.freebsd.org (Postfix) with SMTP id 968CB8FC21 for ; Wed, 18 Nov 2009 04:49:20 +0000 (UTC) Received: (qmail 66235 invoked by uid 60001); 18 Nov 2009 04:49:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258519759; bh=mVq5M1uUCgYc6jSnWCN6GJKwr5C2feIhR7and5731E4=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=yUTp+I2N812GF3zk/gHS9caSlts4Si8h/yWWOxAHbFZgwFPQbKbnRB6hxI1DBBDaZyqTqbepNmVRgwMEvXLfTBoSWSouh1rs+eF8aSRNvfOtssrMvJ8eKmzwXxrOgoY+9GQlBOMxz3CW3aa/cEgkGXE9tO3OXLVZQqs+78axrNs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Jy24FYNMB0s6IFZIRiHxNhvsyuH1XGbv+413BRQ6savah6X+Uf9aPyjggzQ6+VnVIR8QruW7RhOTWhZwd+JntkY9ghr6QWsy426JfSjgwoZFGwQKzpBLH0FPJwaGM+05EBl2m78VntCsYk2WlmjNNTM4xrDQjsYaKRA1c5RDtAs=; Message-ID: <727196.65984.qm@web65510.mail.ac4.yahoo.com> X-YMail-OSG: JXkUsj0VM1l448uRagj08slNpY6A8MSChS11H6G0am5VCuTyWxEVV8YTmrH5JH.OuNaOkdd1Xo1kp6G4_74NzXMy5eYxwGAPcgVTRPvsskaII31DhHJbt1am3bY1ZqH1hK2X_u7.XUepCldcnjWDbpH12lGrFeBVziSwVCgGg4hQJDWHvxoRRlKvaKSFmqjofAypS9jY33_qVs0PHbTpey4o.v7Z9Jwy3l_w0tzRQa72JkxC2eqY9WJp8P36K1scc_tbGMDHDYN2iTq7K7dbFBc5Iqy.LIcPUHAwZC6jg1PStLBb4UinhhlAavtkwuy9RXp3Eo0NHhow2SLdz.C35PbQAQ90TJFh7OmzaZI1P8JwTThB.n6GzheQ64TurvymYP58Ti6BJv123Nwgr32YQaBNNtmGKPoLtYzSe9ExwNP5aggGwhhXfCfkAb07bA1fCq0VhHCyYjIBw8yR Received: from [208.99.137.71] by web65510.mail.ac4.yahoo.com via HTTP; Tue, 17 Nov 2009 20:49:19 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Tue, 17 Nov 2009 20:49:19 -0800 (PST) From: James Phillips To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Do permissions take time to take effect? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 04:49:21 -0000 Hello,=0A=0AI wanted to create a shared directory writable by all users. Wh= en it initially failed, I assumed there may be a blanket ban on writing to = directories owned by root. Today, I was able to write to the root-owned "Sh= are" directory. However, when I re-created the directory owned by a special= -purpose "Share" user, I ran into the same problem again.=0A=0A$ cd=0A$ pw= d=0A/home/james=0A$ cd /home/Share=0A$ ls -la=0Atotal 4=0Adrwxrwxr-x 2 roo= t users 512 Nov 14 09:39 .=0Adrwxr-xr-x 5 root wheel 512 Nov 14 09:39 = ..=0A$ grep users /etc/group=0Ausers:*:100:james,backup=0A$ cat > test.txt= =0AWhat? now it worked?=0A$ ls=0Atest.txt=0A$ rm test.txt=0A=0A***After cre= ating a special "Share" user***=0A=0A$ cd /home/Share=0A$ ls -la=0Atotal 4= =0Adrwxrwxr-x 2 Share Share 512 Nov 17 21:04 .=0Adrwxr-xr-x 5 root wh= eel 512 Nov 17 21:04 ..=0A$ cat > test.txt=0Acannot create test.txt: Permi= ssion denied=0A$ grep Share /etc/group=0AShare:*:1003:james,backup=0A$=0A= =0AIncidentally, I had another reason for creating a special-purpose "Share= " user: I am exporting /home to Debian (Linux) clients. Since the "system" = groups conflict with the Debian choices, I modified /var/yp/Makefile to onl= y export users and groups in the range of 1001-2000.=0A=0ARegards,=0A=0AJam= es Phillips=0A=0APS: the first time, I made the mistake of adding whitespac= e in /etc/group (daily run checks this somehow)=0AIs a blank line required = at the end of the file?=0APPS: Tried adding blank line: no effect.=0A=0A=0A= =0A __________________________________________________________________= =0AMake your browsing faster, safer, and easier with the new Internet Explo= rer=AE 8. Optimized for Yahoo! Get it Now for Free! at http://downloads.yah= oo.com/ca/internetexplorer/ From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 05:04:46 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BDE911065670 for ; Wed, 18 Nov 2009 05:04:46 +0000 (UTC) (envelope-from admik@b.admik.pp.ru) Received: from b.admik.pp.ru (b.admik.pp.ru [95.172.133.149]) by mx1.freebsd.org (Postfix) with ESMTP id C867A8FC08 for ; Wed, 18 Nov 2009 05:04:44 +0000 (UTC) Received: from b.admik.pp.ru (b.admik.pp.ru [95.172.133.149]) by b.admik.pp.ru (8.14.3/8.14.2) with ESMTP id nAI4maTf080388 for ; Wed, 18 Nov 2009 11:48:36 +0700 (KRAT) (envelope-from admik@b.admik.pp.ru) Received: (from admik@localhost) by b.admik.pp.ru (8.14.3/8.14.2/Submit) id nAI4macp080387 for questions@freebsd.org; Wed, 18 Nov 2009 11:48:36 +0700 (KRAT) (envelope-from admik) Date: Wed, 18 Nov 2009 11:48:36 +0700 From: Michael Svobodin To: questions@freebsd.org Message-ID: <20091118044836.GA70999@b.admik.pp.ru> References: <4B02A81F.1030101@shopzeus.com> <44tyws3n28.fsf@be-well.ilk.org> <4B02E742.4010705@shopzeus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B02E742.4010705@shopzeus.com> User-Agent: Mutt/1.4.2.3i Cc: Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 05:04:46 -0000 On Tue, Nov 17, 2009 at 10:41:14PM +0430, Laszlo Nagy wrote: > My computer is a windows machine, with address 192.168.0.X > Then the FreeBSD host is actually a guest os running in wvmare. It has > address 192.168.37.133 > And finally, the vm1 jail should have 192.168.0.11 > > I don't know why 192.168.0.11 is not working for the jail. Anyway, if I > change the jail's address to 192.168.10.11 then > > /etc/rc.d/jail start vm1 > Starting jails: vm1.localdomain. > The address 192.168.0.11 must be assigned to a interface in the host FreeBSD. You can do it before starting the jail, or when the jail is being started. To assign the address before starting the jail do somthing like this: # ifconfig lnc0 alias 192.168.0.11/24 where lnc0 is the name of nic in the host FreeBSD And you can add to /etc/rc.conf: ifconfig_lnc0_alias0="inet 192.168.0.11/24" to assign the address then the host FreeBSD is booting. To assing the address when the jail is being started just add to /etc/rc.conf this: jail_vm1_interface="lnc0" This way is preferred. > Now the next question: how can I access the hosted (jailed) OS? I know > it is a dumb question, but I have no idea. I would like to: > > a.) run sshd in the jail > b.) login from the host to the jailed (hosted) OS > c.) install programs on the jail, configure them and finally > d.) use NATD to divert some pacakges from the host to the jail and back b.) 1. get the jails list: # jls JID IP Address Hostname Path 9 192.168.64.14 mx1.loc /store/jail/mx1 8 192.168.64.25 nslst.loc /store/jail/nslst 2. select required jail by JID, for example 9 for mx1.loc and do: # jexec 9 tcsh 3. you're in a.) Login inside the jail. Now add to /etc/rc.conf sshd_enable="YES" and execute: # /etc/rc.d/sshd start c.) When you're inside the jail you can install software like in the host system. You can use the pkg_add or the ports system. d.) It requires to use firewall either ipfw or pf. For example you can add to your /etc/pf.conf: nat on lnc0 from 192.168.0.11 to any -> 192.168.37.133 But the firewall requires more lines then this one to work correcly with all network traffic. And you have to know exactly what you want to get for using it. > > Probably this is what everybody does, so if you could point me to a > tutorial or something, I would appriciate it. > > Thanks, > > Laszlo > > _______________________________________________ > 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 Wed Nov 18 05:13:12 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385311065670 for ; Wed, 18 Nov 2009 05:13:12 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0CE898FC16 for ; Wed, 18 Nov 2009 05:13:11 +0000 (UTC) Received: by pxi12 with SMTP id 12so526981pxi.3 for ; Tue, 17 Nov 2009 21:13:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=QwSfuFWSkRKtcrY3ZxC34bwgvSlMcSzb7v417R49rM8=; b=sl7JzGZfpXoMFyttJfV3sRA7PK1VuKFN6ac+S9Y1hVl4qkIkx73DwykVpUpsOhmrBo mjI/d0dFhH6XVfLt7XW6y1HeLDTIUpEVae7qdaGqeEpvwVWekK/nm2NzS9c44jq5e161 ByQWSbvGssUOJQDEC9/n7lvB4HDDTuQq1hq6Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=L0ioVSZpLz6HHkmiJOqO7jxtrc+bexTmUfb9k10DwtrH1yZKfvcHPxNgv5iEeK3Qw+ LoD9TZsw5chDpDiaG+cwZdbE1o7H95hB5kSCgpAuOuRUOs/CT2gU/OfWA65JKZWR2XKg dsNgjWf5z4OySj4tuguqXhax49w7140B85vh4= MIME-Version: 1.0 Received: by 10.142.209.20 with SMTP id h20mr222310wfg.167.1258521191527; Tue, 17 Nov 2009 21:13:11 -0800 (PST) In-Reply-To: <727196.65984.qm@web65510.mail.ac4.yahoo.com> References: <727196.65984.qm@web65510.mail.ac4.yahoo.com> Date: Tue, 17 Nov 2009 23:13:11 -0600 Message-ID: <6201873e0911172113l304920acg531fc50fac173e3d@mail.gmail.com> From: Adam Vande More To: James Phillips Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Do permissions take time to take effect? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 05:13:12 -0000 On Tue, Nov 17, 2009 at 10:49 PM, James Phillips wrote: > Hello, > > I wanted to create a shared directory writable by all users. When it > initially failed, I assumed there may be a blanket ban on writing to > directories owned by root. Today, I was able to write to the root-owned > "Share" directory. However, when I re-created the directory owned by a > special-purpose "Share" user, I ran into the same problem again. > > $ cd > $ pwd > /home/james > $ cd /home/Share > $ ls -la > total 4 > drwxrwxr-x 2 root users 512 Nov 14 09:39 . > drwxr-xr-x 5 root wheel 512 Nov 14 09:39 .. > $ grep users /etc/group > users:*:100:james,backup > $ cat > test.txt > What? now it worked? > $ ls > test.txt > $ rm test.txt > > ***After creating a special "Share" user*** > > $ cd /home/Share > $ ls -la > total 4 > drwxrwxr-x 2 Share Share 512 Nov 17 21:04 . > drwxr-xr-x 5 root wheel 512 Nov 17 21:04 .. > $ cat > test.txt > cannot create test.txt: Permission denied > $ grep Share /etc/group > Share:*:1003:james,backup > $ > > Incidentally, I had another reason for creating a special-purpose "Share" > user: I am exporting /home to Debian (Linux) clients. Since the "system" > groups conflict with the Debian choices, I modified /var/yp/Makefile to only > export users and groups in the range of 1001-2000. > > Regards, > > James Phillips > > PS: the first time, I made the mistake of adding whitespace in /etc/group > (daily run checks this somehow) > Is a blank line required at the end of the file? > PPS: Tried adding blank line: no effect. > > Have you tried the handbook? http://www.freebsd.org/doc/en/books/handbook/network-nis.html -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 05:51:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 658A4106566C for ; Wed, 18 Nov 2009 05:51:47 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505e.appriver.com [98.129.35.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2F0408FC13 for ; Wed, 18 Nov 2009 05:51:47 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 112 113 114 115 119 120 131 217 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 14077248 for freebsd-questions@freebsd.org; Tue, 17 Nov 2009 23:51:45 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.164]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Tue, 17 Nov 2009 23:51:46 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Tue, 17 Nov 2009 23:51:45 -0600 Thread-Topic: ELF library not found error Thread-Index: AcpoA0xe9stWKxCMTe24Q0l2+8LCSgAD5poA Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA29@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 05:51:47 -0000 I should have mentioned that this shared library mentioned in the error is = in fact present. For some reason though these apps seem to think it's missi= ng... -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Peter Steele Sent: Tuesday, November 17, 2009 7:58 PM To: freebsd-questions@freebsd.org Subject: ELF library not found error I did a search for this error and got numerous hits, none which really seem= ed to explain my situation. I've installed an 8.0 RC3 system and included P= ython 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. However, for = both 2.5 and 3.1 I get the error: ELF interpreter /libexec/ld-elf.so.1 not found What might cause this error? _______________________________________________ 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 Wed Nov 18 06:47:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C1652106566B for ; Wed, 18 Nov 2009 06:47:28 +0000 (UTC) (envelope-from npapke@acm.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCB58FC18 for ; Wed, 18 Nov 2009 06:47:28 +0000 (UTC) Received: from pd2ml1so-ssvc.prod.shaw.ca ([10.0.141.139]) by pd4mo1so-svcs.prod.shaw.ca with ESMTP; 17 Nov 2009 23:47:27 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=VF9RaR9bft6c8SsOr3WyFg==:17 a=N54-gffFAAAA:8 a=lvbMJxvVAAAA:8 a=537vjTyjnshRHR-lFF8A:9 a=5YN5M2IMhO1WzproMj6I1y-t_OQA:4 a=nAPXUAfsBmEA:10 Received: from unknown (HELO proven.lan) ([24.85.241.34]) by pd2ml1so-dmz.prod.shaw.ca with ESMTP; 17 Nov 2009 23:47:27 -0700 Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.3/8.14.3) with ESMTP id nAI6lRHg019901; Tue, 17 Nov 2009 22:47:27 -0800 (PST) (envelope-from npapke@acm.org) Received: (from npapke@localhost) by proven.lan (8.14.3/8.14.3/Submit) id nAI6lQVd019900; Tue, 17 Nov 2009 22:47:26 -0800 (PST) (envelope-from npapke@acm.org) X-Authentication-Warning: proven.lan: npapke set sender to npapke@acm.org using -f From: Norbert Papke To: freebsd-questions@freebsd.org Date: Tue, 17 Nov 2009 22:47:26 -0800 User-Agent: KMail/1.12.1 (FreeBSD/8.0-PRERELEASE; KDE/4.3.1; amd64; ; ) References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911172247.26156.npapke@acm.org> Cc: Peter Steele Subject: Re: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 06:47:29 -0000 On November 17, 2009, Peter Steele wrote: > I've installed an 8.0 RC3 system and > included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. > However, for both 2.5 and 3.1 I get the error: > > ELF interpreter /libexec/ld-elf.so.1 not found > > What might cause this error? If you upgraded from 7.x, you need to install the misc/compat7x port. Even better, rebuild all your ports. It will save you a lot of grief in the long run. Cheers, -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 06:52:57 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A47D91065670 for ; Wed, 18 Nov 2009 06:52:57 +0000 (UTC) (envelope-from tj@tjvarghese.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8866C8FC15 for ; Wed, 18 Nov 2009 06:52:57 +0000 (UTC) Received: by pxi12 with SMTP id 12so579604pxi.3 for ; Tue, 17 Nov 2009 22:52:57 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.4.11 with SMTP id 11mr1259080wfd.86.1258527177108; Tue, 17 Nov 2009 22:52:57 -0800 (PST) In-Reply-To: <151588.70409.qm@web30808.mail.mud.yahoo.com> References: <151588.70409.qm@web30808.mail.mud.yahoo.com> Date: Wed, 18 Nov 2009 14:52:57 +0800 Message-ID: From: TJ Varghese To: =?UTF-8?B?RMOhbmllbGlzeiBMw6FzemzDsw==?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 06:52:57 -0000 2009/11/18 D=C3=A1nielisz L=C3=A1szl=C3=B3 : > Hello, > > My computer get starts to reboot all the time I do a higher hdd use (like= : fsck, copying more GB of data). I was sure that my power supply its not e= nough so I changed it (300W->450W), now it does the same. I'm looking for a= tool to measure the exactly power consumiton (voltage and amper) of my hdd= , cpu and ram on FreeBSD. > Do you have any idea? > > Thank you! > L=C3=A1szl=C3=B3 > You don't mention details on mobo/ram, but if you have >4gb ram on amd64, you might want to try reducing ram to <=3D4gb. I had one mobo (Intel DG965RYCK) that was exhibited odd behaviour with more than 4gb ram installed. Simple file copies (on ZFS), buildworlds etc caused various panics or outright hangs (!). Usually this would be a clear indication of faulty RAM, but it passed all memtests. Changed everything (ram, psu, hdd, cables, RMA'd the mobo), no difference. Turned out to be a BIOS bug, some linux list had discussions on the same bug. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 07:46:29 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28C1B1065670; Wed, 18 Nov 2009 07:46:29 +0000 (UTC) (envelope-from gjin@ubicom.com) Received: from server70.appriver.com (server70.appriver.com [69.20.119.203]) by mx1.freebsd.org (Postfix) with ESMTP id AB3438FC19; Wed, 18 Nov 2009 07:46:28 +0000 (UTC) X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Primary: gjin@ubicom.com X-Note: This Email was scanned by AppRiver SecureTide X-Virus-Scan: V- X-Note: TCH-CT/SI:0-315/SG:5 11/18/2009 2:46:04 AM X-GBUdb-Analysis: 0, 216.112.109.98, Ugly c=0.730377 p=-0.916458 Source White X-Signature-Violations: 0-0-0-12577-c X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES X-Note-Sending-IP: 216.112.109.98 X-Note-Reverse-DNS: 216.112.109.98.ptr.us.xo.net X-Note-WHTLIST: gjin@ubicom.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 115 116 117 118 122 123 220 X-Note: Mail Class: VALID X-Note: Headers Injected Received: from [216.112.109.98] (HELO stork.scenix.com) by server70.appriver.com (CommuniGate Pro SMTP 5.3c2) with ESMTP id 107486304; Wed, 18 Nov 2009 02:46:28 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 17 Nov 2009 23:33:07 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 8.0-RC3 USB lock up on mounting two partitions from one USB drive Thread-Index: AcpoHXlt4yGeiBLfQTudmr8mdClCPgAAwBna References: From: "Guojun Jin" To: "Guojun Jin" , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, freebsd-usb@freebsd.org Subject: RE: 8.0-RC3 USB lock up on mounting two partitions from one USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 07:46:29 -0000 Did newfs on those partition and made things worsen -- restore = completely fails: (I had experienced another similar problem on an IDE, which works well = for 6.4 and 7.2, but 8.0.) This dirve works fine under FreeBSD 6.4. Is something new in 8.0 making disk partition schema changed? g_vfs_done():da0s3d[READ(offset=3D98304, length=3D16384)]error =3D 6 g_vfs_done():da0s3d[WRITE(offset=3D192806912, length=3D16384)]error =3D = 6 fopen: Device not configured cannot create save file ./restoresymtable for symbol table abort? [yn] (da0:umass-sim0:0:0:0): Synchronize cache failed, status = =3D=3D 0xa, scs i status =3D=3D 0x0 (da0:umass-sim0:0:0:0): removing device entry ugen1.2: at usbus1 umass0: on usbus1 umass0: SCSI over Bulk-Only; quirks =3D 0x0000 umass0:0:0:-1: Attached to scbus0 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) Device da0s3d went missing before all of the data could be written to = it; expect data loss. 99 23:19 sysinstall 100 23:20 newfs /dev/da0s3d 101 23:20 newfs /dev/da0s3e 102 23:21 mount /dev/da0s3d /mnt 103 23:21 cd /mnt 104 23:21 dump -0f - /home | restore -rf - 105 23:27 history 15 -----Original Message----- From: Guojun Jin Sent: Tue 11/17/2009 11:05 PM To: freebsd-stable@freebsd.org Cc: questions@freebsd.org; freebsd-usb@freebsd.org Subject: 8.0-RC3 USB lock up on mounting two partitions from one USB = drive =20 When mounting two partitions from a USB dirve, it can cause the drive = access lock up for a long time. Details: Terminal 1 -- term1# mount /dev/da0s3d /mnt term1# cd /mnt ; rm -fr * when rm starts, go to terminal 2 and do: term2# mount /dev/da0s3e /dist ### this will hanging for a long time and = USB hard drive activity light is off. After more than 1-2 minutes, mount returns, and the drive activity light = is blinking, thus removing is going on. term2# ls /dist ### this will cause dUSB dirve hanging again -- no = avtivity. Similarly, ls will finish in a couple of miniutes or longer, the rm = command continues; but for a while, the drive activity will stop again. Reboot machine, repeat the above steps, and result will be the same. = Reboot machine again, and just mount one partition, then doing "rm -rf *" without involve the second partition, = rm will finish quickly. Has anyone obseved this behave on 8.0-RC? -Jin From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 07:56:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64C2E1065676 for ; Wed, 18 Nov 2009 07:56:20 +0000 (UTC) (envelope-from laszlo_danielisz@yahoo.com) Received: from web30806.mail.mud.yahoo.com (web30806.mail.mud.yahoo.com [68.142.200.149]) by mx1.freebsd.org (Postfix) with SMTP id 238088FC22 for ; Wed, 18 Nov 2009 07:56:19 +0000 (UTC) Received: (qmail 14085 invoked by uid 60001); 18 Nov 2009 07:56:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1258530979; bh=bJWB+ueGzrMv6CjGzErK9gJLnXLib6MN7k3HnWIsz18=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=1+4eCmmIkpsMkbg0qjnCZ7+lq0tM5b8DgbWdF2NxaBPCUya2ofyrxGWhkzszFJAKAnVBE0KyvTjC0ev5LXckIaxdcA9JEqarPmhrdhTWsnzlBVm7vQJlzRsj+NkUrcXm1gavgb1pPNA7QKv4QBvjA5A66itp5XygIaMXsf1sqHE= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=4qFnlBlILekbgHnuX3sXcsxxuV2vWEdCorXi8q8eqMgVQ0dI54tnP9NXkq1vaO3gpuakraJZszM5sVyiVvRHuuTdWl/rcHlLZrp1weTuUwi4CwxXI9Z1KucrephbfL4MsFKbjlJYgbhKlzzsbv3XzWZdSPmuc/hPdmCxuMYPmFs=; Message-ID: <372512.12615.qm@web30806.mail.mud.yahoo.com> X-YMail-OSG: crEe2AkVM1nDk3WcQ8eKZAfkc.MK2Y9B0NAKHbEvkxfZN_NVx3WZ4mpzrsLiHVTZYBEZPjh4Mh.X14PXqsMF0lSwhbfav.7CbOX_y00s6SmKnxzdvvsF1f_ioFmdvDaynwG5cjcHOYU3kaiYI3dUjp6RksQiKuOdi783mN_XM_hRJ3SbTwEZ5VjQ8Y_P.eQ3yVyTVxxYjrTNY6iM3ELromgj6nx3TDJJHCmPcqywnnC0lcC1WLy.SMgGdGwVw78.pTRn0lGOvW5gCHi4w8o.vcI9khlFPrJC9JWF2blyRRpVz67eZHLRU.L8OKCGY5KSNSNdlarhgjo5 Received: from [94.21.228.238] by web30806.mail.mud.yahoo.com via HTTP; Tue, 17 Nov 2009 23:56:19 PST X-Mailer: YahooMailRC/211.6 YahooMailWebService/0.7.361.4 References: <151588.70409.qm@web30808.mail.mud.yahoo.com> Date: Tue, 17 Nov 2009 23:56:19 -0800 (PST) From: =?iso-8859-1?Q?D=E1nielisz_L=E1szl=F3?= To: TJ Varghese In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: hdd voltage X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 07:56:20 -0000 Hello,=0A=0AIndeed, my CPU: Intel(R) Celeron(R) CPU 2.53GHz (2530.04-MHz 68= 6-class CPU) and 1GB of RAM, the fs used on both of the hard drives is ufs2= .=0ANow my machine is up 'till yesterday and everything is working fine.=0A= =0A=0A=0A=0A________________________________=0AFrom: TJ Varghese =0ATo: D=E1nielisz L=E1szl=F3 =0ACc: f= reebsd-questions@freebsd.org=0ASent: Wed, November 18, 2009 7:52:57 AM=0ASu= bject: Re: hdd voltage=0A=0A2009/11/18 D=E1nielisz L=E1szl=F3 :=0A> Hello,=0A>=0A> My computer get starts to reboot all th= e time I do a higher hdd use (like: fsck, copying more GB of data). I was s= ure that my power supply its not enough so I changed it (300W->450W), now i= t does the same. I'm looking for a tool to measure the exactly power consum= iton (voltage and amper) of my hdd, cpu and ram on FreeBSD.=0A> Do you have= any idea?=0A>=0A> Thank you!=0A> L=E1szl=F3=0A>=0A=0AYou don't mention det= ails on mobo/ram, but if you have >4gb ram on=0Aamd64, you might want to tr= y reducing ram to <=3D4gb. I had one mobo=0A(Intel DG965RYCK) that was exhi= bited odd behaviour with more than 4gb=0Aram installed. Simple file copies = (on ZFS), buildworlds etc caused=0Avarious panics or outright hangs (!). Us= ually this would be a clear=0Aindication of faulty RAM, but it passed all m= emtests. Changed=0Aeverything (ram, psu, hdd, cables, RMA'd the mobo), no d= ifference.=0ATurned out to be a BIOS bug, some linux list had discussions o= n the=0Asame bug.=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 08:09:38 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD70F1065698 for ; Wed, 18 Nov 2009 08:09:38 +0000 (UTC) (envelope-from gandalf@shopzeus.com) Received: from viefep17-int.chello.at (viefep17-int.chello.at [62.179.121.37]) by mx1.freebsd.org (Postfix) with ESMTP id 072018FC1C for ; Wed, 18 Nov 2009 08:09:37 +0000 (UTC) Received: from edge03.upc.biz ([192.168.13.238]) by viefep17-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20091118080936.VWTR9398.viefep17-int.chello.at@edge03.upc.biz>; Wed, 18 Nov 2009 09:09:36 +0100 Received: from laci.sznet ([80.99.119.49]) by edge03.upc.biz with edge id 6Y9Z1d01M1429wY03Y9amp; Wed, 18 Nov 2009 09:09:36 +0100 X-SourceIP: 80.99.119.49 Message-ID: <4B03ABBC.8020008@shopzeus.com> Date: Wed, 18 Nov 2009 09:09:32 +0100 From: Laszlo Nagy User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Michael Svobodin References: <4B02A81F.1030101@shopzeus.com> <44tyws3n28.fsf@be-well.ilk.org> <4B02E742.4010705@shopzeus.com> <20091118044836.GA70999@b.admik.pp.ru> In-Reply-To: <20091118044836.GA70999@b.admik.pp.ru> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 08:09:38 -0000 > The address 192.168.0.11 must be assigned to a interface in the host FreeBSD. > You can do it before starting the jail, or when the jail is being started. > > To assign the address before starting the jail do somthing like this: > # ifconfig lnc0 alias 192.168.0.11/24 > where lnc0 is the name of nic in the host FreeBSD > Great. Here is what I did: sorb# mkdir -p /usr/jails/vm1 sorb# cd /usr/src sorb# setenv D /usr/jails/vm1 sorb# make installworld DESTDIR=$D sorb# make distribution DESTDIR=$D sorb# cat >> /etc/rc.conf jail_enable="YES" jail_list="vm1" jail_vm1_rootdir="/usr/jails/vm1" jail_vm1_hostname="vm1.localdomain" jail_vm1_ip="192.168.0.11" jail_vm1_interface="lnc0" jail_vm1_devfs_enable="YES" jail_vm1_devfs_ruleset="vm1_ruleset" ^D sorb#mount -t devfs devfs $D /dev sorb# /etc/rc.d/jail start vm1 Configuring jails:. Starting jails:ifconfig: interface lnc0 does not exist vm1.localdomain. See, I do not understand how this works. If I use a real physical interface then it works: sorb# ifconfig re0: flags=8843 metric 0 mtu 1500 options=389b ether 00:1a:4d:7b:cf:d6 inet X.X.X.X netmask 0xffffff00 broadcast X.X.X.255 inet 192.168.0.11 netmask 0xffffffff broadcast 192.168.0.11 media: Ethernet autoselect (100baseTX ) status: active where X.X.X.X is my public internet IP address. But I do not like this. I do not want to expose my jail's private IP address to the internet. Am I too paranoid? Should I just add rules like ipfw add 1000 allow all from X.X.X.X to 192.168.0.11 ipfw add 1001 allow all from 192.168.0.11 to X.X.X.X ipfw add 1002 deny all from any to 192.168.0.11 ipfw add 1003 deny all from 192.168.0.11 to any and be happy? Or would it be better to create a virtual ethernet interface for my jails? Somehow? > d.) It requires to use firewall either ipfw or pf. > For example you can add to your /etc/pf.conf: > nat on lnc0 from 192.168.0.11 to any -> 192.168.37.133 > > But the firewall requires more lines then this one to work correcly with all network traffic. > And you have to know exactly what you want to get for using it. > I'm using ipfw. I think I'll use natd+divert on the host. Thank you very much! I feel I'm over the hard part. :-) Laszlo From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 08:23:25 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C0FA106566C; Wed, 18 Nov 2009 08:23:25 +0000 (UTC) (envelope-from gjin@ubicom.com) Received: from server70.appriver.com (server70.appriver.com [69.20.119.203]) by mx1.freebsd.org (Postfix) with ESMTP id E1F898FC16; Wed, 18 Nov 2009 08:23:24 +0000 (UTC) X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Primary: gjin@ubicom.com X-Note: This Email was scanned by AppRiver SecureTide X-Virus-Scan: V- X-Note: TCH-CT/SI:0-125/SG:5 11/18/2009 2:23:04 AM X-GBUdb-Analysis: 0, 216.112.109.98, Ugly c=0.730204 p=-0.916318 Source White X-Signature-Violations: 0-0-0-5974-c X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES X-Note-Sending-IP: 216.112.109.98 X-Note-Reverse-DNS: 216.112.109.98.ptr.us.xo.net X-Note-WHTLIST: gjin@ubicom.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 115 116 117 118 122 123 220 X-Note: Mail Class: VALID X-Note: Headers Injected Received: from [216.112.109.98] (HELO stork.scenix.com) by server70.appriver.com (CommuniGate Pro SMTP 5.3c2) with ESMTP id 107485680; Wed, 18 Nov 2009 02:23:24 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Tue, 17 Nov 2009 23:05:13 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 8.0-RC3 USB lock up on mounting two partitions from one USB drive Thread-Index: AcpoHXlt4yGeiBLfQTudmr8mdClCPg== From: "Guojun Jin" To: Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, freebsd-usb@freebsd.org Subject: 8.0-RC3 USB lock up on mounting two partitions from one USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 08:23:25 -0000 When mounting two partitions from a USB dirve, it can cause the drive = access lock up for a long time. Details: Terminal 1 -- term1# mount /dev/da0s3d /mnt term1# cd /mnt ; rm -fr * when rm starts, go to terminal 2 and do: term2# mount /dev/da0s3e /dist ### this will hanging for a long time and = USB hard drive activity light is off. After more than 1-2 minutes, mount returns, and the drive activity light = is blinking, thus removing is going on. term2# ls /dist ### this will cause dUSB dirve hanging again -- no = avtivity. Similarly, ls will finish in a couple of miniutes or longer, the rm = command continues; but for a while, the drive activity will stop again. Reboot machine, repeat the above steps, and result will be the same. = Reboot machine again, and just mount one partition, then doing "rm -rf *" without involve the second partition, = rm will finish quickly. Has anyone obseved this behave on 8.0-RC? -Jin From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 09:15:32 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A43AE106566B for ; Wed, 18 Nov 2009 09:15:32 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 1342F8FC0C for ; Wed, 18 Nov 2009 09:15:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id nAI9FU2e029988 for ; Wed, 18 Nov 2009 20:15:30 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Wed, 18 Nov 2009 20:15:29 +1100 (EST) From: Ian Smith To: freebsd-questions@freebsd.org Message-ID: <20091118195024.V65262@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: login accounts with no sendmail access X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 09:15:32 -0000 Hi all, I hope you'll forgive a sendmail question that's not FreeBSD specific - immediate application is for a Debian Linux system running sendmail 8.13 - but I assume it's most likely applicable to a similar FreeBSD system. We need to (re)create a number of user accounts for Samba to service a nest of windows boxes, but do not want these accounts to be able to send or receive email, rather restricting mail access to only a few accounts, on a box that runs DNS, apache2, mail, audio streaming (fwiw) and Samba access to various fileshares, including users' home directories. I figure we can deny each would-be email address using both From: and To: entries in /etc/mail/access, but I'm wondering if there's an easier way that doesn't involve creating such entries for each new account? (Please don't even mention LDAP) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 10:03:52 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A800106568D for ; Wed, 18 Nov 2009 10:03:52 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id D90098FC16 for ; Wed, 18 Nov 2009 10:03:51 +0000 (UTC) Received: from [85.175.178.201] (helo=izar) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1NAgvy-000I5c-3e; Wed, 18 Nov 2009 12:34:42 +0300 To: Laszlo Nagy References: <4B02A81F.1030101@shopzeus.com> <44tyws3n28.fsf@be-well.ilk.org> <4B02E742.4010705@shopzeus.com> <20091118044836.GA70999@b.admik.pp.ru> <4B03ABBC.8020008@shopzeus.com> From: Boris Samorodov Date: Wed, 18 Nov 2009 12:35:05 +0300 In-Reply-To: <4B03ABBC.8020008@shopzeus.com> (Laszlo Nagy's message of "Wed\, 18 Nov 2009 09\:09\:32 +0100") Message-ID: <99001078@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 10:03:52 -0000 Laszlo Nagy writes: > I do not want to expose my jail's private IP address to the > internet. Use loopback interface and 127.x.x.x address. -- WBR, bsam From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 11:51:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB4F4106568B for ; Wed, 18 Nov 2009 11:51:45 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 78A588FC17 for ; Wed, 18 Nov 2009 11:51:45 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.50) id 1NAj4Y-0005Rr-NJ for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 12:51:42 +0100 Received: from 36.red-80-37-78.staticip.rima-tde.net ([80.37.78.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Nov 2009 12:51:42 +0100 Received: from matiassurdi by 36.red-80-37-78.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Nov 2009 12:51:42 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Matias Date: Wed, 18 Nov 2009 12:51:18 +0100 Lines: 3 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 36.red-80-37-78.staticip.rima-tde.net User-Agent: Thunderbird 2.0.0.23 (X11/20090817) Sender: news Subject: Wiki down? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 11:51:45 -0000 Can any of you access http://wiki.freebsd.org ? Seems down from here.... I'm getting a 503 error. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 12:12:05 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 15626106566C for ; Wed, 18 Nov 2009 12:12:05 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe01.swip.net [212.247.154.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6E4AC8FC13 for ; Wed, 18 Nov 2009 12:12:04 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Qg9icxBjAUgA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=caBVQQNvtF_xMuiLE10A:9 a=slJwAA-skHbgy6KL22EA:7 a=DB2JNVcK8m7HY3EDof92nkJLRfMA:4 a=SV7veod9ZcQA:10 a=87M9vB3w3L_mK0ZG:21 a=VZFYkrE5KeSxy1Y2:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe01.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 278029068; Wed, 18 Nov 2009 12:12:01 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 18 Nov 2009 12:13:32 +0100 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: In-Reply-To: X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911181213.34112.hselasky@c2i.net> Cc: questions@freebsd.org, freebsd-stable@freebsd.org, Guojun Jin Subject: Re: 8.0-RC3 USB lock up on mounting two partitions from one USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 12:12:05 -0000 Hi, I'm not sure if this is an USB issue or not. If you get READ/WRITE errors and the drive simply dies then it might be the case. Else it is a system issue. There are quirks for mass storage which you can add to sys/dev/usb/storage/umass.c . --HPS On Wednesday 18 November 2009 08:33:07 Guojun Jin wrote: > Did newfs on those partition and made things worsen -- restore completely > fails: (I had experienced another similar problem on an IDE, which works > well for 6.4 and 7.2, but 8.0.) This dirve works fine under FreeBSD 6.4. > > Is something new in 8.0 making disk partition schema changed? > > g_vfs_done():da0s3d[READ(offset=98304, length=16384)]error = 6 > g_vfs_done():da0s3d[WRITE(offset=192806912, length=16384)]error = 6 > fopen: Device not configured > cannot create save file ./restoresymtable for symbol table > abort? [yn] (da0:umass-sim0:0:0:0): Synchronize cache failed, status == > 0xa, scs i status == 0x0 > (da0:umass-sim0:0:0:0): removing device entry > ugen1.2: at usbus1 > umass0: on usbus1 > umass0: SCSI over Bulk-Only; quirks = 0x0000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) > Device da0s3d went missing before all of the data could be written to it; > expect data loss. > > 99 23:19 sysinstall > 100 23:20 newfs /dev/da0s3d > 101 23:20 newfs /dev/da0s3e > 102 23:21 mount /dev/da0s3d /mnt > 103 23:21 cd /mnt > 104 23:21 dump -0f - /home | restore -rf - > 105 23:27 history 15 > > > > -----Original Message----- > From: Guojun Jin > Sent: Tue 11/17/2009 11:05 PM > To: freebsd-stable@freebsd.org > Cc: questions@freebsd.org; freebsd-usb@freebsd.org > Subject: 8.0-RC3 USB lock up on mounting two partitions from one USB drive > > When mounting two partitions from a USB dirve, it can cause the drive > access lock up for a long time. Details: > > Terminal 1 -- > term1# mount /dev/da0s3d /mnt > term1# cd /mnt ; rm -fr * > > when rm starts, go to terminal 2 and do: > > term2# mount /dev/da0s3e /dist ### this will hanging for a long time and > USB hard drive activity light is off. After more than 1-2 minutes, mount > returns, and the drive activity light is blinking, thus removing is going > on. > > term2# ls /dist ### this will cause dUSB dirve hanging again -- no > avtivity. Similarly, ls will finish in a couple of miniutes or longer, the > rm command continues; but for a while, the drive activity will stop again. > > Reboot machine, repeat the above steps, and result will be the same. Reboot > machine again, and just mount one partition, then doing "rm -rf *" without > involve the second partition, rm will finish quickly. > > Has anyone obseved this behave on 8.0-RC? > > -Jin From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 12:33:46 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB81106566B for ; Wed, 18 Nov 2009 12:33:46 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id C2AAA8FC23 for ; Wed, 18 Nov 2009 12:33:45 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-121.home.otenet.gr [94.69.68.121]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAICXhrp014856; Wed, 18 Nov 2009 14:33:43 +0200 Message-ID: <4B03E9A7.5020502@otenet.gr> Date: Wed, 18 Nov 2009 14:33:43 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Matias References: In-Reply-To: X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Wiki down? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 12:33:46 -0000 Matias wrote: > Can any of you access http://wiki.freebsd.org ? > > Seems down from here.... I'm getting a 503 error. Same here, I am sure it is probably something temporary though. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 07:20:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB31C1065672 for ; Wed, 18 Nov 2009 07:20:26 +0000 (UTC) (envelope-from cheshirski.eve@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id 4D2D48FC23 for ; Wed, 18 Nov 2009 07:20:26 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so77447eye.9 for ; Tue, 17 Nov 2009 23:20:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :user-agent:mime-version:content-type:content-transfer-encoding :message-id; bh=RjYHUHRX29UvR+zo/+Ylo+EyNaApXVZsKc8GRkb1l8A=; b=OQlMJY4vGHLy4Wmnz+4KjNEyNPsmpxPhO57xRdKna37fLQH0SoasUQeRtFaIs73IYP +V/IRo4IpYp6YhzgAC1t/Ov6fALLOalaLASVxUZ5wafYZe5Ng+n0FW1PvcErd1vuDh8y 2heeiur0KlTsFs53rpVQkd6KdCwwacinATDY4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; b=rMRWknSorfQxK4nZfBQTN4/iPFKRb2zatULYPibQ1W+3P6Ra/dtGHQyW2TjhRDua7e eRkMX2O6LTwYuBUbzkBjhCKFLa+djWAKU/PjQoKJERzHL1ofoNAkAbvRptsaux3yCGcn 4KlTFpDvHWKKBn0rvzy/iM38EGWfFltTnUgX0= Received: by 10.213.25.68 with SMTP id y4mr320270ebb.24.1258526913163; Tue, 17 Nov 2009 22:48:33 -0800 (PST) Received: from eve.localnet ([81.1.202.142]) by mx.google.com with ESMTPS id 7sm838876eyb.16.2009.11.17.22.48.31 (version=SSLv3 cipher=RC4-MD5); Tue, 17 Nov 2009 22:48:32 -0800 (PST) From: cheshirski.eve@gmail.com To: freebsd-questions@freebsd.org Date: Wed, 18 Nov 2009 13:48:01 +0700 User-Agent: KMail/1.12.1 (Linux/2.6.30-gentoo-r8; KDE/4.3.1; i686; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911181348.02154.cheshirski.eve@gmail.com> X-Mailman-Approved-At: Wed, 18 Nov 2009 12:37:52 +0000 Subject: Don't work RTL8102EL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 07:20:26 -0000 Hello. Has faced a problem. I can not start network card 8102EL re0: port 0xd800-0xd8ff mem 0xfdfff000-0xfdffffff,0xfdfe0000-0xfdfeffff irq 17 at device 0.0 on pci1 re0: Using 1 MSI messages re0: Chip rev. 0x24800000 re0: MAC rev. 0x00400000 re0: Unknown H/W revision: 0x24c00000 device_attach: re0 attach returned 6 From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 12:57:45 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC2CF1065670 for ; Wed, 18 Nov 2009 12:57:45 +0000 (UTC) (envelope-from a.spinella@rfc1925.net) Received: from joy.rfc1925.net (static-217-133-230-42.clienti.tiscali.it [217.133.230.42]) by mx1.freebsd.org (Postfix) with ESMTP id 7EE4B8FC0C for ; Wed, 18 Nov 2009 12:57:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by joy.rfc1925.net (Postfix) with ESMTP id B55F212543E; Wed, 18 Nov 2009 13:56:11 +0100 (CET) X-Virus-Scanned: amavisd-new at rfc1925.net Received: from joy.rfc1925.net ([127.0.0.1]) by localhost (joy.rfc1925.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DyC2+q3xn5MI; Wed, 18 Nov 2009 13:56:02 +0100 (CET) Received: from zeta (unknown [194.246.127.212]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: a.spinella@rfc1925.net) by joy.rfc1925.net (Postfix) with ESMTPSA id 2890912542E; Wed, 18 Nov 2009 13:55:59 +0100 (CET) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: cheshirski.eve@gmail.com References: <200911181348.02154.cheshirski.eve@gmail.com> Date: Wed, 18 Nov 2009 13:55:43 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: $witch Message-ID: In-Reply-To: <200911181348.02154.cheshirski.eve@gmail.com> User-Agent: Opera Mail/10.01 (FreeBSD) Cc: "freebsd-questions@freebsd.org" Subject: Re: Don't work RTL8102EL X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 12:57:45 -0000 On Wed, 18 Nov 2009 07:48:01 +0100, wrote: > Hello. Has faced a problem. I can not start network card 8102EL > > re0: port 0xd800-0xd8ff hi, am not absolutely sure, but i faced a very similar problem; take a look in http://www.rfc1925.net/FreeBSD-on-SL500.html for solution. maybe it is sufficient for your needs. cheers Alessandro -- "If 386BSD had been available when I started on Linux, Linux would probably never had happened." Linus Torvalds From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 13:14:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F22841065672 for ; Wed, 18 Nov 2009 13:14:21 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505a.appriver.com [98.129.35.4]) by mx1.freebsd.org (Postfix) with ESMTP id BB9C68FC1D for ; Wed, 18 Nov 2009 13:14:21 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 112 113 114 115 119 120 131 217 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 17012489 for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 07:14:21 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.164]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Wed, 18 Nov 2009 07:14:20 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Wed, 18 Nov 2009 07:14:18 -0600 Thread-Topic: ELF library not found error Thread-Index: AcpoGwcvABDsfALRQTGTRiDsaRdSNgAM1xzg Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> <200911172247.26156.npapke@acm.org> In-Reply-To: <200911172247.26156.npapke@acm.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 13:14:22 -0000 This was not an upgrade but rather a fresh install. I included compat7x-amd= 64-7.2.702000.200906.1 in the install. I've found other packages that are g= iving the same error. Recompiling all of the ports is something I want to a= void. The install is done through an automated process that builds a FreeBS= D 8 image using a custom script, combining our custom kernel with a bunch o= f binary packages we want to include in the image. The result is a tarball = image, and that image can then be taken and installed directly onto our tar= get systems via a USB boot stick. We've used the same technique for 7.0 and it's worked fine. I was just thin= king though: We do build our custom kernel, and the build is being done, fo= r now, on our 7.0 build server. I got the binary ports from the net, and I = assume at least some have been built on an 8.0 system. Can you combine bina= ries of ports that have been built on an 8.0 system with a custom kernel th= at was built on a 7.0 system? -----Original Message----- From: Norbert Papke [mailto:npapke@acm.org]=20 Sent: Tuesday, November 17, 2009 10:47 PM To: freebsd-questions@freebsd.org Cc: Peter Steele Subject: Re: ELF library not found error On November 17, 2009, Peter Steele wrote: > I've installed an 8.0 RC3 system and > included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. > However, for both 2.5 and 3.1 I get the error: >=20 > ELF interpreter /libexec/ld-elf.so.1 not found >=20 > What might cause this error? If you upgraded from 7.x, you need to install the misc/compat7x port.=20 Even better, rebuild all your ports. It will save you a lot of grief in th= e long run. Cheers, -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 13:55:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4879B1065670 for ; Wed, 18 Nov 2009 13:55:54 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505c.appriver.com [98.129.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 0DC098FC28 for ; Wed, 18 Nov 2009 13:55:53 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.15 X-Note-Reverse-DNS: ht02.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 112 113 114 115 119 120 131 217 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.15] (HELO ht02.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 17016078 for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 07:55:52 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.164]) by ht02.exg5.exghost.com ([98.129.23.15]) with mapi; Wed, 18 Nov 2009 07:55:52 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Wed, 18 Nov 2009 07:55:50 -0600 Thread-Topic: ELF library not found error Thread-Index: AcpoGwcvABDsfALRQTGTRiDsaRdSNgAM1xzgAAD+1/A= Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> <200911172247.26156.npapke@acm.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 13:55:54 -0000 I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the= error for Python 2.5 and 3.1, as well as several other applications that w= ere giving that error. I'm still getting the error for a few other packages= though, e.g. wireshark: # pkg_add /mnt/ports/wireshark-1.2.2.tbz=20 pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but 't= iff-3.9.1' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'pcre-8.00', but 'pcre= -7.9' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'xcb-util-0.3.6_1', bu= t 'xcb-util-0.3.6' is installed pkg_add: warning: package 'wireshark-1.2.2' requires 'libxml2-2.7.6', but '= libxml2-2.7.5' is installed root@:~> # wireshark ELF interpreter /libexec/ld-elf.so.1 not found=20 If both the 6.x and 7.x compatibility packages are installed and this error= still occurs, what's the culprit? -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Peter Steele Sent: Wednesday, November 18, 2009 5:14 AM To: freebsd-questions@freebsd.org Subject: RE: ELF library not found error This was not an upgrade but rather a fresh install. I included compat7x-amd= 64-7.2.702000.200906.1 in the install. I've found other packages that are g= iving the same error. Recompiling all of the ports is something I really wa= nt to avoid. The install is done through an automated process that builds a= FreeBSD 8 image using a custom script, combining our kernel with a bunch o= f binary packages we want to include in the image. The result is a tarball = image, and that image can then be taken and installed directly onto our tar= get systems via a USB boot stick. We've used the same technique for 7.0 and it's worked fine. I was just thin= king though: We do build our custom kernel, and the build is being done, fo= r now, on our 7.0 build server. I got the binary ports from the net, and I = assume at least some have been built on an 8.0 system. Can you combine bina= ries of ports that have been built on an 8.0 system with a custom kernel th= at was built on a 7.0 system? -----Original Message----- From: Norbert Papke [mailto:npapke@acm.org] Sent: Tuesday, November 17, 2009 10:47 PM To: freebsd-questions@freebsd.org Cc: Peter Steele Subject: Re: ELF library not found error On November 17, 2009, Peter Steele wrote: > I've installed an 8.0 RC3 system and > included Python 2.5, 2.6, and 3.1. The 2.6 version appears to run fine. > However, for both 2.5 and 3.1 I get the error: >=20 > ELF interpreter /libexec/ld-elf.so.1 not found >=20 > What might cause this error? If you upgraded from 7.x, you need to install the misc/compat7x port.=20 Even better, rebuild all your ports. It will save you a lot of grief in th= e long run. Cheers, -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field ____________________________= ___________________ 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 Wed Nov 18 14:33:47 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82E6F106568D for ; Wed, 18 Nov 2009 14:33:47 +0000 (UTC) (envelope-from seklecki@noc.cfi.pgh.pa.us) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 25F098FC15 for ; Wed, 18 Nov 2009 14:33:46 +0000 (UTC) Received: from Internal Mail-Server by mx01 (envelope-from seklecki@noc.cfi.pgh.pa.us) with AES256-SHA encrypted SMTP; 18 Nov 2009 09:06:31 -0500 Message-ID: <4B03FF88.9060001@noc.cfi.pgh.pa.us> Date: Wed, 18 Nov 2009 09:07:04 -0500 From: "Brian A. Seklecki (CFI NOC)" Organization: Collaborative Fusion, Inc. (DRP NOC) User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Laszlo Nagy References: <4B02A81F.1030101@shopzeus.com> In-Reply-To: <4B02A81F.1030101@shopzeus.com> Content-Type: text/plain; charset="ISO-8859-2"; format="flowed" Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: jail - beginner questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@noc.cfi.pgh.pa.us List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 14:33:47 -0000 > I really think that it should be corrected to: > > cd /usr/src > make distribution DESTDIR=$D That's almost certainly correct, but it notes: "Notes [1] This step is not required on FreeBSD 6.0 and later." > But then I get this error in syslog: > > bind: Can't assign requested address > That's a general ntworking error. We'd need to see your ifconfig(8)/netstat(8) -rn and rc.conf(5) network settings to figure that out. ~BAS From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:21:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A32DC106566C for ; Wed, 18 Nov 2009 15:21:58 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 67D038FC0C for ; Wed, 18 Nov 2009 15:21:58 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id nAIFLtk2065158 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Nov 2009 09:21:56 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id nAIFLtVd014515 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Nov 2009 09:21:55 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id nAIFLstt014512; Wed, 18 Nov 2009 09:21:54 -0600 (CST) (envelope-from dan) Date: Wed, 18 Nov 2009 09:21:54 -0600 From: Dan Nelson To: James Phillips Message-ID: <20091118152153.GB89004@dan.emsphone.com> References: <727196.65984.qm@web65510.mail.ac4.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <727196.65984.qm@web65510.mail.ac4.yahoo.com> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 18 Nov 2009 09:21:56 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: Do permissions take time to take effect? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:21:58 -0000 In the last episode (Nov 17), James Phillips said: > I wanted to create a shared directory writable by all users. When it > initially failed, I assumed there may be a blanket ban on writing to > directories owned by root. Today, I was able to write to the root-owned > "Share" directory. However, when I re-created the directory owned by a > special-purpose "Share" user, I ran into the same problem again. > > $ cd > $ pwd > /home/james > $ cd /home/Share > $ ls -la > total 4 > drwxrwxr-x 2 root users 512 Nov 14 09:39 . > drwxr-xr-x 5 root wheel 512 Nov 14 09:39 .. > $ grep users /etc/group > users:*:100:james,backup > $ cat > test.txt > What? now it worked? You are probably in the "users" group. Running either the "groups" or "id" command will say for sure. > $ ls > test.txt > $ rm test.txt > > ***After creating a special "Share" user*** > > $ cd /home/Share > $ ls -la > total 4 > drwxrwxr-x 2 Share Share 512 Nov 17 21:04 . > drwxr-xr-x 5 root wheel 512 Nov 17 21:04 .. > $ cat > test.txt > cannot create test.txt: Permission denied > $ grep Share /etc/group > Share:*:1003:james,backup > $ If you are currently either the "james" or "backup" user, and added the Share group membership on another tty, then you may need to log out and back in for the system to assign your new group membership to your session. Filesystem permissions take effect immediately, but group memberships are assigned once, at login. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:37:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B9EB106566C for ; Wed, 18 Nov 2009 15:37:18 +0000 (UTC) (envelope-from ndhert@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.186]) by mx1.freebsd.org (Postfix) with ESMTP id E70268FC13 for ; Wed, 18 Nov 2009 15:37:17 +0000 (UTC) Received: by gv-out-0910.google.com with SMTP id p33so212647gvf.39 for ; Wed, 18 Nov 2009 07:37:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=YYCOrMEEGBtZW5jFIKd+2ELB0k0ZZwoGXhBhsPqbZg0=; b=eLUcM0pbuIUs8TVO8jCSJF5jWY5X67T8TDky8owMzkoeKyT/jhtLBtZlHYPtUwVCKN 0+hwRYwgHcUWVZKHWQnz7XJRhPFQKusyj6Vu9qQt/5S5+0nmkzLqacXNuAMJWDqPub38 XoEfZeV6Cl5UD+iNVuzQTmYrZh0R1SkP7MktQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jXTq+JKRI5booVixMt3ScRX9QjtimD2PWjZDILaLmtfhMQtBbIEpjGi2Is0joOVjjo 5X9uLLW9DxOEfcGWher0pkEy4LROLRIity+WoNyu4Nxzn/RCz8jagUHaCFyJkrj2yFG+ NG5Ny8pSvBAbzxl0wvtDXAVy42A0rHwE4wPRs= MIME-Version: 1.0 Received: by 10.216.91.15 with SMTP id g15mr1028797wef.24.1258557392913; Wed, 18 Nov 2009 07:16:32 -0800 (PST) Date: Wed, 18 Nov 2009 16:16:32 +0100 Message-ID: <8021a2660911180716h160765a9j82fa0c3065ecf2b@mail.gmail.com> From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: adding USB hard-disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:37:18 -0000 I have an external USB hard disk, wich already has unix dirs and files on it. When plugging into a OpenSuse10.3, the dirs and files are immediatly available under /media/disk-1 as unix dirs and files. When plugging into a FreeBSD7.2 system: on console I do get the messages: umass0: on uhub4 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C) # camcontrol devlist at scbus0 target0 lun 0 (da0,pass0) # ls -la /dev | grep da crw-r----- 1 root operator 0, 113 Nov 18 14:40 da0 crw-r----- 1 root operator 0, 117 Nov 18 14:40 da0s1 crw-r----- 1 root operator 0, 118 Nov 18 14:40 da0s2 crw-r----- 1 root operator 0, 119 Nov 18 14:40 da0s3 but # mount /dev/da0s1 /mnt takes a while (drive spins), then mount: /dev/da0s1 : Invalid argument same result for all slices Why is this and how to remedy? (I can mount an USB memory stick with mount -t msdosfs -o -m=644,-M=755 /dev/da0s1 /mnt) From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:46:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 582B81065672 for ; Wed, 18 Nov 2009 15:46:35 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id D80B78FC12 for ; Wed, 18 Nov 2009 15:46:34 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id nAIFYOEY022055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 16:34:24 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B0413FA.8080506@omnilan.de> Date: Wed, 18 Nov 2009 16:34:18 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig1215DEE4C8E58DC7009B3D80" Subject: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:46:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig1215DEE4C8E58DC7009B3D80 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable Hello, I have a daemon (compiled with -g) which is dying frequently, but I=20 can't get a core dump. The daemon drops privileges and runs as restricted user after startup. I gave the restricted user write permission to the directory where the=20 binary lives, but that hasn't helped. The size should be really small, so I think ulimit is not the problem. How can I find out what the working directory of the binary is? I guess=20 the problem is missing write permissions there. Thanks, -Harry --------------enig1215DEE4C8E58DC7009B3D80 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksEFAAACgkQLDqVQ9VXb8jjEQCgnwuDXvJaUfNoRgdNof7ywbbY 2MkAnRZ8qRBftFika4VzEoA8fT78SgZ8 =Dcb6 -----END PGP SIGNATURE----- --------------enig1215DEE4C8E58DC7009B3D80-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:52:26 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 291FA1065672 for ; Wed, 18 Nov 2009 15:52:26 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id F27798FC15 for ; Wed, 18 Nov 2009 15:52:25 +0000 (UTC) Received: by pxi12 with SMTP id 12so852714pxi.3 for ; Wed, 18 Nov 2009 07:52:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=d6eWqqvNZnVhLohyr4JWeL5iCDHkJviR4cYqco514MA=; b=uILtxrxwE5BHAGnR2gJNCx86SAciWhtmw1rxc5SNMh58jDS5JPylQcl/Q/eIz/slhG fq495hbBH3DDyQQ96JvRGRCTdaSybeQuZNgHyMEdQpisMqo6fe4TMGZsu1RQNp3AYbLs 4F49+U5klP4m62LM43Qf996iiicmBu524lDAk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=K8H8ujJNaPlqmCXugCzxuHUPfepga/tYb+S5phlYPO1YLs9MJvuDvQGf5hq+oh5ep+ uDxobnmA5mfj2SHDPoxjaSl50oBkMWRWbFwanxYU7+CReuuThByzGM3ZpnhWoTFYWFOS EBkCBD1Gnl00BIClqm1CGNk/CXXPn0+nnUthg= MIME-Version: 1.0 Received: by 10.142.67.14 with SMTP id p14mr1342320wfa.135.1258559545290; Wed, 18 Nov 2009 07:52:25 -0800 (PST) In-Reply-To: <4B0413FA.8080506@omnilan.de> References: <4B0413FA.8080506@omnilan.de> Date: Wed, 18 Nov 2009 09:52:25 -0600 Message-ID: <6201873e0911180752y1e21fbfcu5300cf77067d0ac5@mail.gmail.com> From: Adam Vande More To: Harald Schmalzbauer Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:52:26 -0000 On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer < h.schmalzbauer@omnilan.de> wrote: > Hello, > > I have a daemon (compiled with -g) which is dying frequently, but I can't > get a core dump. > The daemon drops privileges and runs as restricted user after startup. > I gave the restricted user write permission to the directory where the > binary lives, but that hasn't helped. > The size should be really small, so I think ulimit is not the problem. > How can I find out what the working directory of the binary is? I guess the > problem is missing write permissions there. > > Thanks, > > -Harry > > procstat -f -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:58:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B7DD6106566B for ; Wed, 18 Nov 2009 15:58:59 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 7069F8FC13 for ; Wed, 18 Nov 2009 15:58:59 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 18 Nov 2009 10:58:58 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr08.lnh.mail.rcn.net (MOS 3.10.7-GA) with ESMTP id LGI36421; Wed, 18 Nov 2009 10:58:02 -0500 (EST) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp01.lnh.mail.rcn.net with ESMTP; 18 Nov 2009 10:58:00 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19204.6536.555736.459105@jerusalem.litteratus.org> Date: Wed, 18 Nov 2009 10:58:00 -0500 To: Harald Schmalzbauer In-Reply-To: <4B0413FA.8080506@omnilan.de> References: <4B0413FA.8080506@omnilan.de> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Cc: freebsd-questions@freebsd.org Subject: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:58:59 -0000 > How can I find out what the working directory of the binary is? I > guess the problem is missing write permissions there. find -name See "man find" for details; look particularly at the 'x' option. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 15:59:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E06810656A4 for ; Wed, 18 Nov 2009 15:59:58 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from dd12710.kasserver.com (dd12710.kasserver.com [85.13.134.233]) by mx1.freebsd.org (Postfix) with ESMTP id 5C1D08FC0C for ; Wed, 18 Nov 2009 15:59:58 +0000 (UTC) Received: from current.Sisis.de (cazador.sisis.de [193.31.11.193]) by dd12710.kasserver.com (Postfix) with ESMTP id BA15918354E95; Wed, 18 Nov 2009 16:59:56 +0100 (CET) Received: (from guru@localhost) by current.Sisis.de (8.14.3/8.14.3/Submit) id nAIFxu1Q005331; Wed, 18 Nov 2009 16:59:56 +0100 (CET) (envelope-from guru@unixarea.de) X-Authentication-Warning: current.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Wed, 18 Nov 2009 16:59:56 +0100 From: Matthias Apitz To: Harald Schmalzbauer Message-ID: <20091118155956.GA5297@current.Sisis.de> References: <4B0413FA.8080506@omnilan.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <4B0413FA.8080506@omnilan.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 8.0-CURRENT (i386) Cc: freebsd-questions@freebsd.org Subject: Re: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 15:59:58 -0000 El día Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Schmalzbauer escribió: > Hello, > > I have a daemon (compiled with -g) which is dying frequently, but I > can't get a core dump. > The daemon drops privileges and runs as restricted user after startup. > I gave the restricted user write permission to the directory where the > binary lives, but that hasn't helped. > The size should be really small, so I think ulimit is not the problem. > How can I find out what the working directory of the binary is? I guess > the problem is missing write permissions there. Core will be written to the working directory and not to the directory where the binary comes from. With ulimit(1) you can set the core file size, even to zero, and you can ask for the actual value. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ Vote NO to EU The Lisbon Treaty: http://www.no-means-no.eu From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:13:19 2009 Return-Path: Delivered-To: FreeBSD-Questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D29F31065670 for ; Wed, 18 Nov 2009 16:13:19 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from smtp.knology.net (smtp.knology.net [24.214.63.101]) by mx1.freebsd.org (Postfix) with ESMTP id 576518FC24 for ; Wed, 18 Nov 2009 16:13:18 +0000 (UTC) Received: (qmail 18048 invoked by uid 0); 18 Nov 2009 16:13:17 -0000 Received: from unknown (HELO Grumpy.DynDNS.org) (24.42.224.110) by smtp8.knology.net with SMTP; 18 Nov 2009 16:13:17 -0000 Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 3C29128435; Wed, 18 Nov 2009 10:13:17 -0600 (CST) Date: Wed, 18 Nov 2009 10:13:17 -0600 From: David Kelly To: freebsd-stable@freebsd.org Message-ID: <20091118161317.GC7784@Grumpy.DynDNS.org> References: <1229144206.498323.1258535266846.JavaMail.app@ech3-cdn11.prod> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1229144206.498323.1258535266846.JavaMail.app@ech3-cdn11.prod> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD-Questions@FreeBSD.org Subject: Re: Invitation to connect on LinkedIn X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:13:19 -0000 On Wed, Nov 18, 2009 at 01:07:46AM -0800, Andrei Antoukh wrote: > LinkedIn > ------------ > > Andrei Antoukh requested to add you as a connection on LinkedIn: > ------------------------------------------ Why isn't LinkedIn in FreeBSD.org's spam blocker? -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:14:22 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31BC61065698 for ; Wed, 18 Nov 2009 16:14:22 +0000 (UTC) (envelope-from traveling08@cox.net) Received: from fed1rmmtao106.cox.net (fed1rmmtao106.cox.net [68.230.241.40]) by mx1.freebsd.org (Postfix) with ESMTP id E98318FC24 for ; Wed, 18 Nov 2009 16:14:21 +0000 (UTC) Received: from fed1rmimpo03.cox.net ([70.169.32.75]) by fed1rmmtao106.cox.net (InterMail vM.8.00.01.00 201-2244-105-20090324) with ESMTP id <20091118161421.NQAO21192.fed1rmmtao106.cox.net@fed1rmimpo03.cox.net>; Wed, 18 Nov 2009 11:14:21 -0500 Received: from asus64 ([72.220.91.251]) by fed1rmimpo03.cox.net with bizsmtp id 6gEL1d00N5RPd3404gEL5i; Wed, 18 Nov 2009 11:14:21 -0500 X-VR-Score: -110.00 X-Authority-Analysis: v=1.0 c=1 a=pGLkceISAAAA:8 a=zSxTlXpn3Ld4UxoJhKkA:9 a=3SJCxFse1xKnIO0gpekA:7 a=ts_DGXDp-x7NZYW-9qvVG7A_AywA:4 a=MSl-tDqOz04A:10 X-CM-Score: 0.00 Date: Wed, 18 Nov 2009 08:14:15 -0800 From: Robert To: n dhert Message-ID: <20091118081415.4074f47c@asus64> In-Reply-To: <8021a2660911180716h160765a9j82fa0c3065ecf2b@mail.gmail.com> References: <8021a2660911180716h160765a9j82fa0c3065ecf2b@mail.gmail.com> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: adding USB hard-disk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:14:22 -0000 On Wed, 18 Nov 2009 16:16:32 +0100 n dhert wrote: > I have an external USB hard disk, wich already has unix dirs and > files on it. > When plugging into a OpenSuse10.3, the dirs and files are immediatly > available under /media/disk-1 as unix dirs and files. >=20 > When plugging into a FreeBSD7.2 system: > on console I do get the messages: > umass0: 0/0,rev. 2.00 > /0.01, addr 2> on uhub4 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 286168MB (586072368 512 byte sectors: 255H 63S/T 36481C) >=20 > # camcontrol devlist > at scbus0 target0 lun 0 > (da0,pass0) >=20 > # ls -la /dev | grep da > crw-r----- 1 root operator 0, 113 Nov 18 14:40 da0 > crw-r----- 1 root operator 0, 117 Nov 18 14:40 da0s1 > crw-r----- 1 root operator 0, 118 Nov 18 14:40 da0s2 > crw-r----- 1 root operator 0, 119 Nov 18 14:40 da0s3 > but > # mount /dev/da0s1 /mnt > takes a while (drive spins), then > mount: /dev/da0s1 : Invalid argument > same result for all slices >=20 > Why is this and how to remedy? >=20 > (I can mount an USB memory stick with > mount -t msdosfs -o -m=3D644,-M=3D755 /dev/da0s1 /mnt) How is the drive formatted? =46rom man mount: SEE ALSO getfacl(1), setfacl(1), nmount(2), acl(3), mac(4), ext2fs(5), fstab(5), procfs(5), kldload(8), mount_cd9660(8), mount_msdosfs(8), mount_nfs(8), mount_ntfs(8), mount_nullfs(8), mount_nwfs(8), mount_portalfs(8), mount_smbfs(8), mount_udf(8), mount_unionfs(8), umount(8) HTH Robert From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:20:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74FA9106568D for ; Wed, 18 Nov 2009 16:20:18 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id F10068FC16 for ; Wed, 18 Nov 2009 16:20:17 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id nAIGKGAv022759 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 17:20:17 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B041EC0.90205@omnilan.de> Date: Wed, 18 Nov 2009 17:20:16 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: Matthias Apitz References: <4B0413FA.8080506@omnilan.de> <20091118155956.GA5297@current.Sisis.de> In-Reply-To: <20091118155956.GA5297@current.Sisis.de> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC4B9622620E3DAE6FE5D73D5" Cc: freebsd-questions@freebsd.org Subject: Re: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:20:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC4B9622620E3DAE6FE5D73D5 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Matthias Apitz schrieb am 18.11.2009 16:59 (localtime): > El d=EDa Wednesday, November 18, 2009 a las 04:34:18PM +0100, Harald Sc= hmalzbauer escribi=F3: =2E.. >> How can I find out what the working directory of the binary is? I gues= s=20 >> the problem is missing write permissions there. >=20 > Core will be written to the working directory and not to the directory > where the binary comes from. With ulimit(1) you can set the core file > size, even to zero, and you can ask for the actual value. Thanks for the answer, that's what I assumend ;) But how can i find out what the working directory is? Thanks, -Harry --------------enigC4B9622620E3DAE6FE5D73D5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksEHsAACgkQLDqVQ9VXb8gWJACgiHsHOe+guFmMGC7QPtH+ynaX aw0AnjzR9A6Fch7T+xLK8KUE0Qt1WCnW =+bmg -----END PGP SIGNATURE----- --------------enigC4B9622620E3DAE6FE5D73D5-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:25:27 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61BD31065670 for ; Wed, 18 Nov 2009 16:25:27 +0000 (UTC) (envelope-from brett@lariat.net) Received: from lariat.net (lariat.net [66.119.58.2]) by mx1.freebsd.org (Postfix) with ESMTP id D811A8FC0C for ; Wed, 18 Nov 2009 16:25:26 +0000 (UTC) Received: from anne-o1dpaayth1.lariat.net (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2]) by lariat.net (8.9.3/8.9.3) with ESMTP id JAA07745 for ; Wed, 18 Nov 2009 09:25:24 -0700 (MST) Message-Id: <200911181625.JAA07745@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 18 Nov 2009 09:24:47 -0700 To: questions@freebsd.org From: Brett Glass Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Cc: Subject: Date/time formats in ps X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:25:27 -0000 I'm looking at the man page for the "ps" command -- specifically at the part involving the date and time format for the "start" output field -- and am scratching my head. It says that the default format string for the date and time when a task was started, if it was started within the past 24 hours, is "%l:ps.1p". But to me, it looks as if the correct format is "%l:%M%p". Is the man page wrong, or am I missing something here? --Brett Glass From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:33:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B43BF1065670 for ; Wed, 18 Nov 2009 16:33:35 +0000 (UTC) (envelope-from npapke@acm.org) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 490498FC21 for ; Wed, 18 Nov 2009 16:33:35 +0000 (UTC) Received: from pd2ml2so-ssvc.prod.shaw.ca ([10.0.141.134]) by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 18 Nov 2009 09:33:34 -0700 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.0 c=1 a=VF9RaR9bft6c8SsOr3WyFg==:17 a=N54-gffFAAAA:8 a=lvbMJxvVAAAA:8 a=15tweaIl8WJ3XNk3lxcA:9 a=GKbo6_WRoNFbIIGLALMGdcF7KHgA:4 a=nAPXUAfsBmEA:10 Received: from unknown (HELO proven.lan) ([24.85.241.34]) by pd2ml2so-dmz.prod.shaw.ca with ESMTP; 18 Nov 2009 09:33:34 -0700 Received: from proven.lan (localhost [127.0.0.1]) by proven.lan (8.14.3/8.14.3) with ESMTP id nAIGXY5N025599 for ; Wed, 18 Nov 2009 08:33:34 -0800 (PST) (envelope-from npapke@acm.org) Received: (from npapke@localhost) by proven.lan (8.14.3/8.14.3/Submit) id nAIGXYvL025598 for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 08:33:34 -0800 (PST) (envelope-from npapke@acm.org) X-Authentication-Warning: proven.lan: npapke set sender to npapke@acm.org using -f From: Norbert Papke To: freebsd-questions@freebsd.org Date: Wed, 18 Nov 2009 08:33:33 -0800 User-Agent: KMail/1.12.1 (FreeBSD/8.0-PRERELEASE; KDE/4.3.1; amd64; ; ) References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E@MBX03.exg5.exghost.com> In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E@MBX03.exg5.exghost.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200911180833.33918.npapke@acm.org> Subject: Re: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:33:36 -0000 On November 18, 2009, Peter Steele wrote: > I just installed compat6x-amd64-6.4.604000.200810_3.tbz and that solved the > error for Python 2.5 and 3.1, as well as several other applications that > were giving that error. I'm still getting the error for a few other > packages though, e.g. wireshark: > > # pkg_add /mnt/ports/wireshark-1.2.2.tbz > pkg_add: warning: package 'wireshark-1.2.2' requires 'tiff-3.9.1_1', but > 'tiff-3.9.1' is installed pkg_add: warning: package 'wireshark-1.2.2' > requires 'pcre-8.00', but 'pcre-7.9' is installed pkg_add: warning: > package 'wireshark-1.2.2' requires 'xcb-util-0.3.6_1', but > 'xcb-util-0.3.6' is installed pkg_add: warning: package 'wireshark-1.2.2' > requires 'libxml2-2.7.6', but 'libxml2-2.7.5' is installed root@:~> > # wireshark > ELF interpreter /libexec/ld-elf.so.1 not found > > If both the 6.x and 7.x compatibility packages are installed and this error > still occurs, what's the culprit? Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? -- Norbert Papke. npapke@acm.org http://saveournet.ca Protecting your Internet's level playing field From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:49:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF294106566B for ; Wed, 18 Nov 2009 16:49:28 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 681158FC14 for ; Wed, 18 Nov 2009 16:49:27 +0000 (UTC) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id nAIGnQtQ023205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Nov 2009 17:49:27 +0100 (CET) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4B042596.30209@omnilan.de> Date: Wed, 18 Nov 2009 17:49:26 +0100 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: Adam Vande More References: <4B0413FA.8080506@omnilan.de> <6201873e0911180752y1e21fbfcu5300cf77067d0ac5@mail.gmail.com> In-Reply-To: <6201873e0911180752y1e21fbfcu5300cf77067d0ac5@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2BA37199BB110F7823F86C10" Cc: freebsd-questions@freebsd.org Subject: Re: getting program.core, where and how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:49:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2BA37199BB110F7823F86C10 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Adam Vande More schrieb am 18.11.2009 16:52 (localtime): > On Wed, Nov 18, 2009 at 9:34 AM, Harald Schmalzbauer < > h.schmalzbauer@omnilan.de> wrote: =2E.. >> How can I find out what the working directory of the binary is? I gues= s the >> problem is missing write permissions there. >> >> Thanks, >> >> -Harry >> >> > procstat -f Ahh :) Thanks a lot! -Harry --------------enig2BA37199BB110F7823F86C10 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksEJZYACgkQLDqVQ9VXb8idtQCgt7/WN1VEz2YkDdjwEG97lvFX wYYAnjj6q7zYfcSH1D9lXoTghJ14/F1F =AZDj -----END PGP SIGNATURE----- --------------enig2BA37199BB110F7823F86C10-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 16:53:21 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C9791065670 for ; Wed, 18 Nov 2009 16:53:21 +0000 (UTC) (envelope-from omerfsen@gmail.com) Received: from mail-gx0-f218.google.com (mail-gx0-f218.google.com [209.85.217.218]) by mx1.freebsd.org (Postfix) with ESMTP id 5DADB8FC20 for ; Wed, 18 Nov 2009 16:53:21 +0000 (UTC) Received: by gxk10 with SMTP id 10so1216676gxk.3 for ; Wed, 18 Nov 2009 08:53:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=TsPKcWXhCNqyqWennnZ3qvi1Yfvwmk+LGY2IQDlv6Xo=; b=tQhrrKi3vuiuOgWKoG+wk/231nwwmkRo0rgVhCL7a18USDZ90s8ayyvGTM1o3eukGA MWFIbU64lzr2Objz4vO+jiTnASCiQBRC0eBptcAbX2kSkfj85LDwvktzQtPB60luieS7 fXlRrCbMRZURHIHglaP+xk9Nelo/WfVOuhkIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=JcWQD8hQAKEeajIU7/vL/oAyUu9jeMzNFKwqHa1/+XAJCK4TkvEuq1dRtJ3r2UqdCC gzRJe0OPAXnPpjNhLO+aIYwZSs1kYdnVrkfR3ebNIYkaSOqp/+YFEPMiMhbC6W+BPMBe 0aKa3m0V2yLzaYfN4GvNyw5cgWpuvGfULJZH0= MIME-Version: 1.0 Received: by 10.239.139.201 with SMTP id u9mr1094567hbu.112.1258561687938; Wed, 18 Nov 2009 08:28:07 -0800 (PST) Date: Wed, 18 Nov 2009 18:28:07 +0200 Message-ID: <75a268720911180828jf058456n45a3fd4a12473201@mail.gmail.com> From: Omer Faruk Sen To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Subject: gmirror and geli/gshsec X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 16:53:21 -0000 Is it possible to use geli/gshsec on a gmirrored disk partitions? Such as: Filesystem Size Used Avail Capacity Mounted on /dev/mirror/gm0a 29G 260M 26G 1% / devfs 1.0K 1.0K 0B 100% /dev /dev/mirror/gm0e 146G 31M 134G 0% /data /dev/mirror/gm0d 39G 1.2G 34G 3% /usr I want to mirror /data and also encrypt it. Regards. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 17:20:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5221D1065670 for ; Wed, 18 Nov 2009 17:20:53 +0000 (UTC) (envelope-from korvus@comcast.net) Received: from QMTA12.emeryville.ca.mail.comcast.net (qmta12.emeryville.ca.mail.comcast.net [76.96.27.227]) by mx1.freebsd.org (Postfix) with ESMTP id 3A8978FC17 for ; Wed, 18 Nov 2009 17:20:53 +0000 (UTC) Received: from OMTA18.emeryville.ca.mail.comcast.net ([76.96.30.74]) by QMTA12.emeryville.ca.mail.comcast.net with comcast id 6gy21d00C1bwxycACh7hUN; Wed, 18 Nov 2009 17:07:43 +0000 Received: from [192.168.2.164] ([206.210.89.202]) by OMTA18.emeryville.ca.mail.comcast.net with comcast id 6hF81d0014Mx3R28ehFK5s; Wed, 18 Nov 2009 17:15:36 +0000 Message-ID: <4B0429B3.1080702@comcast.net> Date: Wed, 18 Nov 2009 12:06:59 -0500 From: Steve Polyack User-Agent: Thunderbird 2.0.0.23 (X11/20090902) MIME-Version: 1.0 To: davidcollins001@gmail.com References: <4AE3944A.4090602@videotron.ca> <4AE40A00.3040607@infracaninophile.co.uk> <4b02dc68.eJdGkKbmyLCy24CC%davidcollins001@gmail.com> In-Reply-To: <4b02dc68.eJdGkKbmyLCy24CC%davidcollins001@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: flashplugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 17:20:53 -0000 David Collins wrote: > I have periodically tested with getting flash working, and everytime I > try it fails and I go back to undoing everything I have done and > re-installing gnash. Gnash works but it does have a few niggles. > > I tried the following: > > >> This is what I did for a 7.2 box. Note that there are compatibility >> >> # pkg_info -orx linux > linux-stuff >> # pkg_delete -rx linux >> >> # cd /compat/linux >> # find . -type f -ls >> # rm -rf * >> >> # sysctl compat.linux.osrelease=2.6.16 >> >> OVERRIDE_LINUX_BASE_PORT= f10 >> OVERRIDE_LINUX_NONBASE_PORTS= f10 >> >> to /etc/make.conf. >> >> # portinstall www/nspluginwrapper >> # nspluginwrapper -v -a -i >> >> * Finally, fire up Firefox and check that it has loaded the flash plugin by >> typing 'about:plugins' into the URL bar. Find a site with flash content[*], >> and enjoy. >> > > Everything installed easily and about:plugins has Shockwave Flash and > FutureSplash Player as enabled. But, when I go to youtube.com all I get a black > screen and the video doesn't load. > > Does anyone have any ideas why flash isn't working? > Set linux_enable="YES" in /etc/rc.conf and make sure you are mounting linprocfs: /etc/fstab: # Device Mountpoint FStype Options Dump Pass# linproc /compat/linux/proc linprocfs rw 0 0 Check dmesg(8) or other system logs after trying to use flash and see if anything is being logged. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 17:35:36 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DBE11065676 for ; Wed, 18 Nov 2009 17:35:36 +0000 (UTC) (envelope-from cronfy@sprinthost.ru) Received: from odin.from.sh (odin.from.sh [80.93.50.112]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2E88FC2D for ; Wed, 18 Nov 2009 17:35:36 +0000 (UTC) Received: from odin.from.sh ([80.93.50.112]) by odin.from.sh with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NAoAh-000PtK-VJ for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 20:18:23 +0300 Received: from [89.223.116.161] (helo=[10.10.10.120]) by odin.from.sh with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NAoAd-000Prj-42 for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 20:18:19 +0300 Message-ID: <4B042C50.6060904@sprinthost.ru> Date: Wed, 18 Nov 2009 20:18:08 +0300 From: cronfy User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: FreeBSD Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: get accounting info for running process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 17:35:36 -0000 Hello. Is it possible to find out how much a process have used CPU user time/system time/IO operations for now by it's pid? Like in sa, but for running process. Thanks in advance. From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 17:49:50 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5945106566B for ; Wed, 18 Nov 2009 17:49:50 +0000 (UTC) (envelope-from psteele@maxiscale.com) Received: from server505.appriver.com (server505a.appriver.com [98.129.35.4]) by mx1.freebsd.org (Postfix) with ESMTP id 7E0198FC0A for ; Wed, 18 Nov 2009 17:49:50 +0000 (UTC) X-Policy: GLOBAL - maxiscale.com X-Primary: psteele@maxiscale.com X-Note: This Email was scanned by AppRiver SecureTide X-ALLOW: psteele@maxiscale.com ALLOWED X-Virus-Scan: V- X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES->UNITED STATES X-Note-Sending-IP: 98.129.23.14 X-Note-Reverse-DNS: ht01.exg5.exghost.com X-Note-WHTLIST: psteele@maxiscale.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 112 113 114 115 119 120 131 217 X-Note: Mail Class: ALLOWEDSENDER X-Note: Headers Injected Received: from [98.129.23.14] (HELO ht01.exg5.exghost.com) by server505.appriver.com (CommuniGate Pro SMTP 5.2.14) with ESMTPS id 17061638 for freebsd-questions@freebsd.org; Wed, 18 Nov 2009 11:49:49 -0600 Received: from mbx03.exg5.exghost.com ([169.254.1.164]) by ht01.exg5.exghost.com ([98.129.23.14]) with mapi; Wed, 18 Nov 2009 11:49:49 -0600 From: Peter Steele To: "freebsd-questions@freebsd.org" Date: Wed, 18 Nov 2009 11:49:47 -0600 Thread-Topic: ELF library not found error Thread-Index: AcpobPAwAF682LeYSPildx8AZsnbEwACkdZQ Message-ID: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FB64@MBX03.exg5.exghost.com> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E@MBX03.exg5.exghost.com> <200911180833.33918.npapke@acm.org> In-Reply-To: <200911180833.33918.npapke@acm.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 17:49:50 -0000 >Presumably (and I am speculating), the 8.0 packages are not yet finalized = and therefore inconsistent. Perhaps you will have better luck after the of= ficial 8.0 Release? I was thinking the same thing--too much version mismatching going on. I'm g= oing to take your suggestion though and compile all of the ports we want to= use, and then convert them back into packages. I tried that with one port = that was failing and this solved the problem.=20 From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 17:57:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8BA5D106566C for ; Wed, 18 Nov 2009 17:57:59 +0000 (UTC) (envelope-from anti_spam256@yahoo.ca) Received: from web65505.mail.ac4.yahoo.com (web65505.mail.ac4.yahoo.com [76.13.9.49]) by mx1.freebsd.org (Postfix) with SMTP id 2FDC58FC0C for ; Wed, 18 Nov 2009 17:57:58 +0000 (UTC) Received: (qmail 44580 invoked by uid 60001); 18 Nov 2009 17:57:58 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1258567078; bh=8KEnY212rScYCCvppl4sJ2fVbu0bdqaZj0D7KZYon5Q=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sfrT/nr/p1ELMfb9wt2fK1a2bR8m9bA1f1I7Qve+u7+ox9b+bPXd/qvHAEjyMAMxCBT3T+0D/ke7NRldkWQ+8LLAJ/bdtW/gaff9l784BpWEtBaCg/O4hEB0ZWonJEH0zand5dNz9Emwn4fQNNL4WuRMf+9vsx2TqTE0Rf81iLQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hNB7LC2/gS7upTOlh6vHpl4ChyAhZvnR2TjNs5pjEDML/H3knPE/2sjwURAqhYvWa2qbGydxtUYVBsboh1eXFMvMgSMbE/gjVqqu1osx3wqDEBCWiWDnHioR+1ppprNHdRsWExtzevn3Cb17GS9Q79RUul6PW+FiYw3ukWYH3ME=; Message-ID: <225765.44422.qm@web65505.mail.ac4.yahoo.com> X-YMail-OSG: UAzMGE0VM1kixm3Gd87hVzgrjomMFsB9OVAxS4mtDdAmN_FDKobo09JEPvrogD43n9iZx2KKBL8TBP1TMSxdsHy2x21O2oobMhn_WKnPdxsjxZITGATW6aYspx62KUbjaHg2gYA81RfTrejX6ZxXyU88eiLcaEIvTwhA.7bKPpG3eW_z7mevQYgR9pLN5DY5CZTde6EsxbjYKTH1zSQ_FwhzSA0BUW8jshPBYSisQE66Nnbv0iskhCadOYikgFmSp7UXdJMLMk4_KXkMGdLRb9c3bcPAxI9hc8XP15P41QodkHdBEoad_Tkxsf_JK9gs6AmXZmgx0yCtH5rmTKuVqeYFtDAVvDEBSHa9tJiSct9iP05DBBq6G5MrSVbKqk81IM_4qsH4pP5wmXYBRjgCCiK22zhyPX.SW7s2O9479Q-- Received: from [208.99.137.71] by web65505.mail.ac4.yahoo.com via HTTP; Wed, 18 Nov 2009 09:57:58 PST X-Mailer: YahooMailClassic/8.1.6 YahooMailWebService/0.7.361.4 Date: Wed, 18 Nov 2009 09:57:58 -0800 (PST) From: James Phillips To: Dan Nelson In-Reply-To: <20091118152153.GB89004@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: [Solved] Do permissions take time to take effect? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 17:57:59 -0000 =0A=0A--- On Wed, 11/18/09, Dan Nelson wrote:=0A= =0A=0A> In the last episode (Nov 17), James=0A> Phillips said:=0A> > I want= ed to create a shared directory writable by all=0A> users. When it=0A> > in= itially failed, I assumed there may be a blanket ban=0A> on writing to=0A> = > directories owned by root.=A0 Today, I was able to=0A> write to the root-= owned=0A> > "Share" directory.=A0 However, when I re-created=0A> the direct= ory owned by a=0A> > special-purpose "Share" user, I ran into the same=0A> = problem again.=0A=0A> =0A> You are probably in the "users" group.=A0= Running either=0A> the "groups" or "id"=0A> command will say for sure.=0A= =0AYes, I was using the "cd" and "pwd" combination as a poor replacement.= =0AIt is possible to re-assign the "home" directory.=0A=0A$ groups=0Ajames = Share=0A$ id=0Auid=3D1001(james) gid=3D1001(james) groups=3D1001(james),100= 3(Share)=0A=0A(I have since deleted the "users" group: it is a Debian thing= , and I had NIS set up to NOT export the membership information)=0A= =0A> =0A> If you are currently either the "james" or "backup" user,=0A> and= added the=0A> Share group membership on another tty, then you may need to= =0A> log out and back=0A> in for the system to assign your new group member= ship to=0A> your session. =0A> Filesystem permissions take effect immediate= ly, but group=0A> memberships are=0A> assigned once, at login.=0A=0AThis he= re was the problem. I was not logging out after the changes. However, I am = in the habit of logging out at the end of the day. As a result, I would get= the updated permissions when I log in the next day.=0A=0AThank-you for you= r help,=0A=0AJames Phillips=0A=0A=0A=0A ______________________________= ____________________________________=0ALooking for the perfect gift? Give t= he gift of Flickr! =0A=0Ahttp://www.flickr.com/gift/ From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 18:01:40 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D049C1065694 for ; Wed, 18 Nov 2009 18:01:40 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0C68FC17 for ; Wed, 18 Nov 2009 18:01:40 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id B63802841E; Thu, 19 Nov 2009 07:01:39 +1300 (NZDT) Date: Thu, 19 Nov 2009 07:01:39 +1300 From: Jonathan Chen To: Peter Steele Message-ID: <20091118180139.GA45385@osiris.chen.org.nz> References: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA10@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA34@MBX03.exg5.exghost.com> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FA3E@MBX03.exg5.exghost.com> <200911180833.33918.npapke@acm.org> <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FB64@MBX03.exg5.exghost.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7B9397B189EB6E46A5EE7B4C8A4BB7CB33A5FB64@MBX03.exg5.exghost.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: ELF library not found error X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 18:01:40 -0000 On Wed, Nov 18, 2009 at 11:49:47AM -0600, Peter Steele wrote: > >Presumably (and I am speculating), the 8.0 packages are not yet finalized and therefore inconsistent. Perhaps you will have better luck after the official 8.0 Release? > > I was thinking the same thing--too much version mismatching going on. I'm going to take your suggestion though and compile all of the ports we want to use, and then convert them back into packages. I tried that with one port that was failing and this solved the problem. > When you do a major upgrade (ie: 6 to 7, or 7 to 8), one of the final steps recommended is to recompile all ports. The compatX packages are a stop gap until your transition is complete, and can/should be removed once all your ports have been updated. If you choose not to recompile/refectch all your ports, you are faced with the possibility of library and port dependancy breakages as each installed port updates to newer and possibly incompatible versions. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "A little learning is a dangerous thing but a lot of ignorance is just as bad." - Bob Edwards From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 19:12:35 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 566F5106566B for ; Wed, 18 Nov 2009 19:12:35 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 1BEDA8FC1F for ; Wed, 18 Nov 2009 19:12:34 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id nAIJCXn5094070 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Nov 2009 13:12:34 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id nAIJCXgo056988 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Nov 2009 13:12:33 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id nAIJCX6u056986; Wed, 18 Nov 2009 13:12:33 -0600 (CST) (envelope-from dan) Date: Wed, 18 Nov 2009 13:12:33 -0600 From: Dan Nelson To: cronfy Message-ID: <20091118191233.GC89004@dan.emsphone.com> References: <4B042C50.6060904@sprinthost.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B042C50.6060904@sprinthost.ru> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 18 Nov 2009 13:12:34 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: FreeBSD Subject: Re: get accounting info for running process X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 19:12:35 -0000 In the last episode (Nov 18), cronfy said: > Is it possible to find out how much a process have used CPU user > time/system time/IO operations for now by it's pid? Like in sa, but for > running process. It's available to userland programs via the kern.proc.all syscall. it returns an array of "struct kinfo_proc", one for each process. One of the elements is ki_rusage, which contains the data that the sa command uses. The ps command can easily be extended to print these fields. See this patch at http://lists.freebsd.org/pipermail/freebsd-hackers/2009-March/027918.html for an example. (I still need to file that PR...) -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 19:50:47 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AC261065670 for ; Wed, 18 Nov 2009 19:50:47 +0000 (UTC) (envelope-from lists@jnielsen.net) Received: from ns1.jnielsen.net (ns1.jnielsen.net [69.55.238.237]) by mx1.freebsd.org (Postfix) with ESMTP id 18E6C8FC0C for ; Wed, 18 Nov 2009 19:50:46 +0000 (UTC) Received: from jnielsen.socialserve.com (office.socialserve.com [208.60.89.34]) (authenticated bits=0) by ns1.jnielsen.net (8.12.9p2/8.12.9) with ESMTP id nAIJoips061029; Wed, 18 Nov 2009 14:50:45 -0500 (EST) (envelope-from lists@jnielsen.net) From: John Nielsen To: freebsd-questions@freebsd.org Date: Wed, 18 Nov 2009 14:50:38 -0500 User-Agent: KMail/1.9.10 References: <4B01331F.7080305@ilik.net> In-Reply-To: <4B01331F.7080305@ilik.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200911181450.39325.lists@jnielsen.net> X-Virus-Scanned: ClamAV version 0.88.4, clamav-milter version 0.88.4 on ns1.jnielsen.net X-Virus-Status: Clean Cc: Patrik Usher Subject: Re: NFS and crossmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 19:50:47 -0000 On Monday 16 November 2009 06:10:23 Patrik Usher wrote: > I'm chaning fileserver to a FreeBSD 7.2 from my old linux and can't find > how to define the option "crossmnt" (crossmount) for NFS. > > Does anyone know if it's supported under FreeBSD 7 and if so, how to > define it ? I don't believe a similar option is available. You need a line in /etc/exports for each filesystem (mountpoint) you wish to export. JN From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 20:03:17 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C5F61065780 for ; Wed, 18 Nov 2009 20:03:17 +0000 (UTC) (envelope-from ryans@rpsommers.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 20E228FC21 for ; Wed, 18 Nov 2009 20:03:16 +0000 (UTC) Received: by bwz5 with SMTP id 5so1735706bwz.3 for ; Wed, 18 Nov 2009 12:03:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.86.206 with SMTP id w56mr2379399wee.1.1258572692989; Wed, 18 Nov 2009 11:31:32 -0800 (PST) Date: Wed, 18 Nov 2009 13:31:32 -0600 Message-ID: <3752c73e0911181131yea7b1s499776e045dc684d@mail.gmail.com> From: Ryan Sommers To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: RecvQ Size from fd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 20:03:17 -0000 Is it possible to get the amount of data in the receive queue from a socket file descriptor (userland app)? I see that netstat gets a list of struct socket* and from there you can find the answer from the so_rcv sockbuf. But I can't find a way to match a socket fd up to the struct sock. Thanks, Ryan -- Ryan P Sommers ryans@rpsommers.com From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 20:11:32 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4614B106566C; Wed, 18 Nov 2009 20:11:32 +0000 (UTC) (envelope-from gjin@ubicom.com) Received: from server70.appriver.com (server70.appriver.com [69.20.119.203]) by mx1.freebsd.org (Postfix) with ESMTP id CC3448FC21; Wed, 18 Nov 2009 20:11:31 +0000 (UTC) X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Policy: GLOBAL - ubicom.com X-Primary: gjin@ubicom.com X-Note: This Email was scanned by AppRiver SecureTide X-Virus-Scan: V- X-Note: TCH-CT/SI:0-58/SG:2 11/18/2009 3:11:10 PM X-GBUdb-Analysis: 0, 216.112.109.98, Ugly c=0.747107 p=-0.913352 Source White X-Signature-Violations: 0-0-0-8170-c X-Note: Spam Tests Failed: X-Country-Path: UNITED STATES->UNITED STATES X-Note-Sending-IP: 216.112.109.98 X-Note-Reverse-DNS: 216.112.109.98.ptr.us.xo.net X-Note-WHTLIST: gjin@ubicom.com X-Note: User Rule Hits: X-Note: Global Rule Hits: 115 116 117 118 122 123 221 X-Note: Mail Class: VALID X-Note: Headers Injected Received: from [216.112.109.98] (HELO stork.scenix.com) by server70.appriver.com (CommuniGate Pro SMTP 5.3c2) with ESMTP id 107546105; Wed, 18 Nov 2009 15:11:31 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Wed, 18 Nov 2009 12:03:54 -0800 Message-ID: In-Reply-To: <200911181213.34112.hselasky@c2i.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 8.0-RC3 USB lock up on mounting two partitions from one USB drive Thread-Index: AcpoP3z6JZv+wKUaR6W88hemmQS/OQASgtOA References: <200911181213.34112.hselasky@c2i.net> From: "Guojun Jin" To: "Hans Petter Selasky" , Cc: questions@freebsd.org, freebsd-stable@freebsd.org Subject: RE: 8.0-RC3 USB lock up on mounting two partitions from one USB drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 20:11:32 -0000 It looks like a system issue since it also happens to the SATA drive.=20 The USB drive seems having more difficulty. I will back up rest partitions, Then redo the slice and partition to see if problem goes away. If so, then 8.0-R has a backward compatibility issue on the partition table or format to older FreeBSD release. -----Original Message----- From: Hans Petter Selasky [mailto:hselasky@c2i.net]=20 Sent: Wednesday, November 18, 2009 3:14 AM To: freebsd-usb@freebsd.org Cc: Guojun Jin; freebsd-stable@freebsd.org; questions@freebsd.org Subject: Re: 8.0-RC3 USB lock up on mounting two partitions from one USB drive Hi, I'm not sure if this is an USB issue or not. If you get READ/WRITE errors and=20 the drive simply dies then it might be the case. Else it is a system issue. There are quirks for mass storage which you can add to=20 sys/dev/usb/storage/umass.c . --HPS On Wednesday 18 November 2009 08:33:07 Guojun Jin wrote: > Did newfs on those partition and made things worsen -- restore completely > fails: (I had experienced another similar problem on an IDE, which works > well for 6.4 and 7.2, but 8.0.) This dirve works fine under FreeBSD 6.4. > > Is something new in 8.0 making disk partition schema changed? > > g_vfs_done():da0s3d[READ(offset=3D98304, length=3D16384)]error =3D 6 > g_vfs_done():da0s3d[WRITE(offset=3D192806912, length=3D16384)]error = =3D 6 > fopen: Device not configured > cannot create save file ./restoresymtable for symbol table > abort? [yn] (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D > 0xa, scs i status =3D=3D 0x0 > (da0:umass-sim0:0:0:0): removing device entry > ugen1.2: at usbus1 > umass0: on usbus1 > umass0: SCSI over Bulk-Only; quirks =3D 0x0000 > umass0:0:0:-1: Attached to scbus0 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Fixed Direct Access SCSI-0 device > da0: 40.000MB/s transfers > da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C) > Device da0s3d went missing before all of the data could be written to it; > expect data loss. > > 99 23:19 sysinstall > 100 23:20 newfs /dev/da0s3d > 101 23:20 newfs /dev/da0s3e > 102 23:21 mount /dev/da0s3d /mnt > 103 23:21 cd /mnt > 104 23:21 dump -0f - /home | restore -rf - > 105 23:27 history 15 > > > > -----Original Message----- > From: Guojun Jin > Sent: Tue 11/17/2009 11:05 PM > To: freebsd-stable@freebsd.org > Cc: questions@freebsd.org; freebsd-usb@freebsd.org > Subject: 8.0-RC3 USB lock up on mounting two partitions from one USB drive > > When mounting two partitions from a USB dirve, it can cause the drive > access lock up for a long time. Details: > > Terminal 1 -- > term1# mount /dev/da0s3d /mnt > term1# cd /mnt ; rm -fr * > > when rm starts, go to terminal 2 and do: > > term2# mount /dev/da0s3e /dist ### this will hanging for a long time and > USB hard drive activity light is off. After more than 1-2 minutes, mount > returns, and the drive activity light is blinking, thus removing is going > on. > > term2# ls /dist ### this will cause dUSB dirve hanging again -- no > avtivity. Similarly, ls will finish in a couple of miniutes or longer, the > rm command continues; but for a while, the drive activity will stop again. > > Reboot machine, repeat the above steps, and result will be the same. Reboot > machine again, and just mount one partition, then doing "rm -rf *" without > involve the second partition, rm will finish quickly. > > Has anyone obseved this behave on 8.0-RC? > > -Jin From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 20:59:09 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 950FD1065670 for ; Wed, 18 Nov 2009 20:59:09 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f204.google.com (mail-qy0-f204.google.com [209.85.221.204]) by mx1.freebsd.org (Postfix) with ESMTP id 561C18FC1F for ; Wed, 18 Nov 2009 20:59:09 +0000 (UTC) Received: by qyk42 with SMTP id 42so888963qyk.28 for ; Wed, 18 Nov 2009 12:59:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=I8So850GNywG/YIsEIL0Lyib8VWYJKB3BYF6PD2Uke0=; b=o+bFwLU7oCMN93X46kQKO7t95z9e9dmOZvtFNiiWy+jJ8duzXkWVTFyt+BXS5mOv5e SxdhenfWw0rkjjPjSOl7VS9YgKcQjVm2MU37lg4NODyd4ymXxJE7WPk78p+CBH4nwr5J Gjp9AVSDfrRz3Ru8tXKAcYdZlUTuSeooLayBA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=woI82zqI6L7Ee+/1XFmY41UKNUwhYJTfe2+B/EqAgAPNCCXd02Ibp316Jl6Vyqqnvv 9wdV8r7CrpWqGTgtg/gn5YW9hWtJ9kLKp611EzcYfZROz34nq3mE7kAPhEjDBiNyF3+W e0w/xyNz7SIaSrjjOy6kxSYFLLBilQU/qJY+A= MIME-Version: 1.0 Received: by 10.229.33.201 with SMTP id i9mr1502300qcd.83.1258577948670; Wed, 18 Nov 2009 12:59:08 -0800 (PST) Date: Wed, 18 Nov 2009 12:59:08 -0800 Message-ID: <560f92640911181259m37d2659w775fa3fafd9499b6@mail.gmail.com> From: Nerius Landys To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Measuring disk I/O X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 20:59:09 -0000 A friend and I are working on a small video-game related project as a hobby. We're running several scripts 24/7 that make lots of calls to a MySQL database. The mysql server process shows an average CPU use of 1% (reported by top) and it never goes above about 2% The tables it's hitting are myisam tables. I'm a little bit worried that the mysql process is using a lot of disk access. I don't know too much about hard disks but my feeling is that too much disk use could slow the machine down or cause a premature hard disk failure. WD Raptor model. I don't know if my concerns are well-founded, but I would like to measure impact on the hard disk somehow. I don't know how to see disk I/O. I do know how to use top. How do I measure disk I/O? Any other thoughts? From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 21:13:34 2009 Return-Path: Delivered-To: FreeBSD-Questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63A0C106566B for ; Wed, 18 Nov 2009 21:13:34 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id E36D48FC14 for ; Wed, 18 Nov 2009 21:13:33 +0000 (UTC) Received: from mail16.syd.optusnet.com.au (mail16.syd.optusnet.com.au [211.29.132.197]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id nAIJ52oP032530 for ; Thu, 19 Nov 2009 06:05:02 +1100 Received: from server.vk2pj.dyndns.org (c122-106-232-83.belrs3.nsw.optusnet.com.au [122.106.232.83]) by mail16.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id nAIJ4xwM031728 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 06:05:00 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id nAIJ4wmg074034; Thu, 19 Nov 2009 06:04:58 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id nAIJ4wb9074033; Thu, 19 Nov 2009 06:04:58 +1100 (EST) (envelope-from peter) Date: Thu, 19 Nov 2009 06:04:58 +1100 From: Peter Jeremy To: David Kelly Message-ID: <20091118190458.GB68851@server.vk2pj.dyndns.org> References: <1229144206.498323.1258535266846.JavaMail.app@ech3-cdn11.prod> <20091118161317.GC7784@Grumpy.DynDNS.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <20091118161317.GC7784@Grumpy.DynDNS.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-stable@freebsd.org, FreeBSD-Questions@freebsd.org Subject: Re: Invitation to connect on LinkedIn X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 21:13:34 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2009-Nov-18 10:13:17 -0600, David Kelly wrote: >On Wed, Nov 18, 2009 at 01:07:46AM -0800, Andrei Antoukh wrote: >> LinkedIn >> ------------ >>=20 >> Andrei Antoukh requested to add you as a connection on LinkedIn: >> ------------------------------------------ > >Why isn't LinkedIn in FreeBSD.org's spam blocker? I have raised this with postmaster@ and he is investigating how to block this spam. --=20 Peter Jeremy --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAksERVoACgkQ/opHv/APuIc0HQCglDapxmeupIKFYKmrViwBf8E3 ImUAoKV8axAy4g7xlqw4H6o33vZQWXAZ =Z+UD -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ-- From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 21:19:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E69E610656C0 for ; Wed, 18 Nov 2009 21:19:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 9F6808FC0C for ; Wed, 18 Nov 2009 21:19:20 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx01.qsc.de (Postfix) with ESMTP id A24D43D1B1; Wed, 18 Nov 2009 22:19:18 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAILJHi6001867; Wed, 18 Nov 2009 22:19:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 18 Nov 2009 22:19:16 +0100 From: Polytropon To: Gary Kline Message-Id: <20091118221916.5852d938.freebsd@edvax.de> In-Reply-To: <20091117223844.GA19855@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> <4B02E346.3070209@otenet.gr> <20091117223844.GA19855@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Manolis Kiagias , FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 21:19:21 -0000 On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline wrote: > On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: > > Gary Kline wrote: > > > > > > > There is a question during sysinstall: "Would you like to enable ssh login?" > > Guess you answered "no" there? > > > > i didn't see this question -- or don't remember seeing it. Well, it't not SUCH a question. :-) In the dialog "Post Configuration" where you can set the services that should be run on startup, there's a choice "SSH" which will put the correct setting in /etc/rc.conf, causing the SSH server to generate the keys at its first start. Or maybe I'm wrong and the setting was in the "Networking" menu... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 21:33:30 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 385B91065676 for ; Wed, 18 Nov 2009 21:33:30 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (ns1.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id C9CEE8FC22 for ; Wed, 18 Nov 2009 21:33:29 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAILXDEK051285; Wed, 18 Nov 2009 13:33:13 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 18 Nov 2009 13:33:21 -0800 (PST) Date: Wed, 18 Nov 2009 13:33:21 -0800 From: Gary Kline To: Polytropon Message-ID: <20091118213320.GA23997@thought.org> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> <4B02E346.3070209@otenet.gr> <20091117223844.GA19855@thought.org> <20091118221916.5852d938.freebsd@edvax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091118221916.5852d938.freebsd@edvax.de> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Manolis Kiagias , FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 21:33:30 -0000 On Wed, Nov 18, 2009 at 10:19:16PM +0100, Polytropon wrote: > On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline wrote: > > On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: > > > Gary Kline wrote: > > > > > > > > > > There is a question during sysinstall: "Would you like to enable ssh login?" > > > Guess you answered "no" there? > > > > > > > i didn't see this question -- or don't remember seeing it. > > Well, it't not SUCH a question. :-) > > In the dialog "Post Configuration" where you can set the services > that should be run on startup, there's a choice "SSH" which will > put the correct setting in /etc/rc.conf, causing the SSH server > to generate the keys at its first start. Or maybe I'm wrong and > the setting was in the "Networking" menu... > i'm running a 'do-over' with v 8.0, and this time i did get asked about ssh.... one trouble is that i havent done a by-disk install since 5.3.... need coffee! > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 21:35:59 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32AEC106568D for ; Wed, 18 Nov 2009 21:35:59 +0000 (UTC) (envelope-from sonicy@otenet.gr) Received: from kane.otenet.gr (kane.otenet.gr [83.235.67.31]) by mx1.freebsd.org (Postfix) with ESMTP id AA3C38FC15 for ; Wed, 18 Nov 2009 21:35:57 +0000 (UTC) Received: from pulstar.local (ppp-94-69-68-121.home.otenet.gr [94.69.68.121]) by kane.otenet.gr (8.13.8/8.13.8/Debian-3) with ESMTP id nAILZs5A020181; Wed, 18 Nov 2009 23:35:55 +0200 Message-ID: <4B0468BA.3030703@otenet.gr> Date: Wed, 18 Nov 2009 23:35:54 +0200 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.23 (Macintosh/20090812) MIME-Version: 1.0 To: Polytropon References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> <4B02E346.3070209@otenet.gr> <20091117223844.GA19855@thought.org> <20091118221916.5852d938.freebsd@edvax.de> In-Reply-To: <20091118221916.5852d938.freebsd@edvax.de> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Gary Kline , FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 21:35:59 -0000 Polytropon wrote: > On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline wrote: > >> On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: >> >>> Gary Kline wrote: >>> >>>> >>>> >>> There is a question during sysinstall: "Would you like to enable ssh login?" >>> Guess you answered "no" there? >>> >>> >> i didn't see this question -- or don't remember seeing it. >> > > Well, it't not SUCH a question. :-) > Yes, there is: http://twitpic.com/q0wxq But see note below. > In the dialog "Post Configuration" where you can set the services > that should be run on startup, there's a choice "SSH" which will > put the correct setting in /etc/rc.conf, causing the SSH server > to generate the keys at its first start. Or maybe I'm wrong and > the setting was in the "Networking" menu... > > > Yes, it is in Configure -> Networking also as a checkbox. Regarding the question during setup, this may not appear depending on the type of installation. For me, I always select "Standard" and then "Custom" from the "Select Distributions" list. At the end of the install there is always this dialog: http://twitpic.com/q0xs7 with questions on networking, ftp server, ssh and so on. I am so accustomed to pressing these keys all the time I definitely don't know whether there is a difference in the other sysinstall routes :) From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 21:54:26 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D59A1065676 for ; Wed, 18 Nov 2009 21:54:26 +0000 (UTC) (envelope-from steve@ibctech.ca) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 9F5E68FC18 for ; Wed, 18 Nov 2009 21:54:25 +0000 (UTC) Received: (qmail 89121 invoked by uid 89); 18 Nov 2009 21:58:49 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 18 Nov 2009 21:58:49 -0000 Message-ID: <4B046D14.1070505@ibctech.ca> Date: Wed, 18 Nov 2009 16:54:28 -0500 From: Steve Bertrand User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Nerius Landys References: <560f92640911181259m37d2659w775fa3fafd9499b6@mail.gmail.com> In-Reply-To: <560f92640911181259m37d2659w775fa3fafd9499b6@mail.gmail.com> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Measuring disk I/O X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 21:54:26 -0000 Nerius Landys wrote: > A friend and I are working on a small video-game related project as a > hobby. We're running several scripts 24/7 that make lots of calls to > a MySQL database. The mysql server process shows an average CPU use > of 1% (reported by top) and it never goes above about 2% The tables > it's hitting are myisam tables. I'm a little bit worried that the > mysql process is using a lot of disk access. I don't know too much > about hard disks but my feeling is that too much disk use could slow > the machine down or cause a premature hard disk failure. WD Raptor > model. > > I don't know if my concerns are well-founded, but I would like to > measure impact on the hard disk somehow. I don't know how to see disk > I/O. I do know how to use top. How do I measure disk I/O? Any other > thoughts? Perhaps gstat(8) will help you get started: # gstat -a dT: 1.001s w: 1.000s L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name 4 176 114 10261 14.9 62 607 25.4 96.8| ar0 4 177 115 10389 17.8 62 607 26.5 100.0| ar0.eli 1 34 34 527 30.8 0 0 0.0 99.1| ar0.elie 2 66 4 16 20.5 62 607 26.6 98.0| ar0.elif 1 77 77 9845 12.1 0 0 0.0 93.0| ar0.elig ...or on ZFS: # zpool iostat 1 capacity operations bandwidth pool used avail read write read write ---------- ----- ----- ----- ----- ----- ----- storage 1.39T 440G 0 771 0 96.4M storage 1.39T 440G 0 1.05K 4.42K 126M Steve From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 22:03:25 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3AF7106566B for ; Wed, 18 Nov 2009 22:03:25 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id B87AF8FC0A for ; Wed, 18 Nov 2009 22:03:25 +0000 (UTC) Received: by pxi12 with SMTP id 12so1077646pxi.3 for ; Wed, 18 Nov 2009 14:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=eQlveA+yYuEXz/6PHclwCewRMYm2ku/KoZLYKaQou3k=; b=wzR441YvDm/lA4niQHYXc1mi8ngj44NS0vBpbbx45Ns4pcMQCcD7RyW0MXMK6FOEpt rfdWCzy0b1s95HlTfZUJUdCahhPuIXLlfeZGzKY3Ox1J+MjDpgOFi6TOhN6rLvcRxEJF +R/H3egDJBCSA3KQYtqqc980gwhI0sEQCVgVQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=HtqWPehBi+EHDz5Gmo3Fe/R3jeppRFnl7giUHLhnHlejlq0mu+LxgmuyRN015y2wjc NmTR1bDl1Nb0scodKNZjKyTjkhde1ToRLVAzeqk+7ui6MptJSCuy+BXf9SdwgVXtOX2h a3lFu616clUhGer0RazwEy2oQp1klIJRuRXRI= MIME-Version: 1.0 Received: by 10.142.250.3 with SMTP id x3mr1377785wfh.23.1258581805255; Wed, 18 Nov 2009 14:03:25 -0800 (PST) In-Reply-To: <4B046D14.1070505@ibctech.ca> References: <560f92640911181259m37d2659w775fa3fafd9499b6@mail.gmail.com> <4B046D14.1070505@ibctech.ca> Date: Wed, 18 Nov 2009 16:03:25 -0600 Message-ID: <6201873e0911181403k218b9d1fheab768b21aa2cb19@mail.gmail.com> From: Adam Vande More To: Steve Bertrand Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org, Nerius Landys Subject: Re: Measuring disk I/O X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 22:03:26 -0000 On Wed, Nov 18, 2009 at 3:54 PM, Steve Bertrand wrote: > Nerius Landys wrote: > > A friend and I are working on a small video-game related project as a > > hobby. We're running several scripts 24/7 that make lots of calls to > > a MySQL database. The mysql server process shows an average CPU use > > of 1% (reported by top) and it never goes above about 2% The tables > > it's hitting are myisam tables. I'm a little bit worried that the > > mysql process is using a lot of disk access. I don't know too much > > about hard disks but my feeling is that too much disk use could slow > > the machine down or cause a premature hard disk failure. WD Raptor > > model. > > > > I don't know if my concerns are well-founded, but I would like to > > measure impact on the hard disk somehow. I don't know how to see disk > > I/O. I do know how to use top. How do I measure disk I/O? Any other > > thoughts? > > Perhaps gstat(8) will help you get started: > > # gstat -a > > dT: 1.001s w: 1.000s > L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name > 4 176 114 10261 14.9 62 607 25.4 96.8| ar0 > 4 177 115 10389 17.8 62 607 26.5 100.0| ar0.eli > 1 34 34 527 30.8 0 0 0.0 99.1| ar0.elie > 2 66 4 16 20.5 62 607 26.6 98.0| ar0.elif > 1 77 77 9845 12.1 0 0 0.0 93.0| ar0.elig > > ...or on ZFS: > > # zpool iostat 1 > > capacity operations bandwidth > pool used avail read write read write > ---------- ----- ----- ----- ----- ----- ----- > storage 1.39T 440G 0 771 0 96.4M > storage 1.39T 440G 0 1.05K 4.42K 126M > > Steve > > systat -io is a nice visualization. If you're really io bound there are some things you can do config wise to help. However if you really are pushing a lot data, you need to be running scsi or ssd drives. It takes A LOT of striped sata drives to match the performance of a single good 15K scsi. if you're able to run ahci, that will help some as well. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 22:06:04 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E55341065672 for ; Wed, 18 Nov 2009 22:06:04 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id A9C3C8FC18 for ; Wed, 18 Nov 2009 22:06:04 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id nAIM62uG014959 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Nov 2009 16:06:02 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id nAIM61UJ046869 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 18 Nov 2009 16:06:01 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id nAIM61Dh046868; Wed, 18 Nov 2009 16:06:01 -0600 (CST) (envelope-from dan) Date: Wed, 18 Nov 2009 16:06:01 -0600 From: Dan Nelson To: Steve Bertrand Message-ID: <20091118220601.GD89004@dan.emsphone.com> References: <560f92640911181259m37d2659w775fa3fafd9499b6@mail.gmail.com> <4B046D14.1070505@ibctech.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B046D14.1070505@ibctech.ca> X-OS: FreeBSD 7.2-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 18 Nov 2009 16:06:02 -0600 (CST) X-Scanned-By: MIMEDefang 2.45 Cc: questions@freebsd.org, Nerius Landys Subject: Re: Measuring disk I/O X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 22:06:05 -0000 In the last episode (Nov 18), Steve Bertrand said: > Nerius Landys wrote: > > A friend and I are working on a small video-game related project as a > > hobby. We're running several scripts 24/7 that make lots of calls to a > > MySQL database. The mysql server process shows an average CPU use of 1% > > (reported by top) and it never goes above about 2% The tables it's > > hitting are myisam tables. I'm a little bit worried that the mysql > > process is using a lot of disk access. I don't know too much about hard > > disks but my feeling is that too much disk use could slow the machine > > down or cause a premature hard disk failure. WD Raptor model. > > > > I don't know if my concerns are well-founded, but I would like to > > measure impact on the hard disk somehow. I don't know how to see disk > > I/O. I do know how to use top. How do I measure disk I/O? Any other > > thoughts? > > Perhaps gstat(8) will help you get started: > > # gstat -a > > dT: 1.001s w: 1.000s > L(q) ops/s r/s kBps ms/r w/s kBps ms/w %busy Name > 4 176 114 10261 14.9 62 607 25.4 96.8| ar0 > 4 177 115 10389 17.8 62 607 26.5 100.0| ar0.eli > 1 34 34 527 30.8 0 0 0.0 99.1| ar0.elie > 2 66 4 16 20.5 62 607 26.6 98.0| ar0.elif > 1 77 77 9845 12.1 0 0 0.0 93.0| ar0.elig iostat -x gives similar output, although only to the device level, not the slice. There's also top's 'io' mode (press m), which will show per-process i/o stats of varying usability (I/O to zfs doesn't seem to show up). > ...or on ZFS: > > # zpool iostat 1 > > capacity operations bandwidth > pool used avail read write read write > ---------- ----- ----- ----- ----- ----- ----- > storage 1.39T 440G 0 771 0 96.4M > storage 1.39T 440G 0 1.05K 4.42K 126M -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 22:10:58 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CDDF7106568D; Wed, 18 Nov 2009 22:10:58 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9ED028FC0A; Wed, 18 Nov 2009 22:10:58 +0000 (UTC) Received: by pxi12 with SMTP id 12so1081638pxi.3 for ; Wed, 18 Nov 2009 14:10:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=dBWBDLH28igAcuw0VGQbMt9xE6uld0vaMggVFcWvqSY=; b=sXr+9vf6ZYXOBgqB7exdqUoZ3VG7pbHPdbiTfybTMrX4hFca5dlI4hBcD41IQtKgwl 6mMOODKUNRWujLuQPO6XuatgLWJiTYkLdH5h/Ja8ghjAeE7TsGXXZhLeaaUX5DuYkrfg qWIEwfJot6lq3uVIg1EHVYqmA2eD3759NJaC0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Wtg9Ggsx0JQLEdrtG+Osk7Jz5iJVLhNW/nE0CkjCdbIFv3M/F8Tu/SBVlSPUddXTyu KUHwnE3kcZytUkwRrMUvyJw5oSrwBgZ4bXb7llVFZ+gMgPR5SJN7UWWBEFEl7dqPm2Lh GK3gpl7VSruXIcociz+sjuuQrclE715jtDRYI= MIME-Version: 1.0 Received: by 10.114.2.29 with SMTP id 29mr224873wab.48.1258582258192; Wed, 18 Nov 2009 14:10:58 -0800 (PST) In-Reply-To: <456530742.21066.1258437272093.JavaMail.apache@mail51.abv.bg> References: <456530742.21066.1258437272093.JavaMail.apache@mail51.abv.bg> Date: Wed, 18 Nov 2009 15:10:57 -0700 Message-ID: From: Tim Judd To: Mario Pavlov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: Re: Re: [solved] Re: Re: Re: diskless - NFS root mount problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 22:10:58 -0000 On 11/16/09, Mario Pavlov wrote: > indeed you get bonus points if you firewall yourself :) > and of course this is not the first time I do that so my score is pretty > good > however my favourite is to forget about net.inet.ip.forwarding when I > upgrade routers with many clients :) > > Tim, thanks for your hints...but I don't understand this one: > >2nd, you buildworld and installworld into the diskless root, but never > >use it. You're using disk space you can reclaim. > how so I never use it and can reclaim diskspace ? The Monday's email you sent at 11:22 (by datestamp on gmail), you wrote: ================================================================================ mkdir /storage0/diskless cd /usr/src export DESTDIR=/storage0/diskless make buildworld buildkernel installworld distribution installkernel ================================================================================ ----------------------- You clearly 'make buildworld installworld' but your later exports have /storage0/diskless and /usr being exported. shouldn't it be either /storage0/diskless (as a root filesystem and everything underneath it) or if you want to unecessarily break it up, exporting /storage0/diskless/usr ? Understand? From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 22:44:52 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D34C106566B for ; Wed, 18 Nov 2009 22:44:52 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-pz0-f185.google.com (mail-pz0-f185.google.com [209.85.222.185]) by mx1.freebsd.org (Postfix) with ESMTP id D94928FC19 for ; Wed, 18 Nov 2009 22:44:51 +0000 (UTC) Received: by pzk15 with SMTP id 15so1096328pzk.3 for ; Wed, 18 Nov 2009 14:44:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=REI4/8ZVv7g6U5QrulDIIg+HJpnSQPK5lhIHkrf5xzE=; b=JaF9vdntCln0b3v36CwR5/NcCO7+wEID5+CqCVccfzHkbwu7ONMcP1qjxQkvc9MO8B joC5qH22Fpq/kD3R5GVZSoUuuTNvzRJ8kv8aYZk9BYl5hZCJFR2JAeFXnDMF4ioeK8wY +a0wClVfjMqyiQph4I0CTBRKbq1/tLS9e9HCY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=DJKacpwnMKSPY6GZRQWS/Pq8gkBVfxHWlEMwjkg/7Zr+F/eICDGNu+KgeA8jokdYwg +M0pzs/+DucRijo6KE84z30HqrC2A2+J7e+f8MoCHQydhD9Vwn8Y0hT0GLhlPnwab/1H jjACKZPAvGgzkqzmXaezho/kSSLQFFGA9zkJ8= MIME-Version: 1.0 Received: by 10.115.66.35 with SMTP id t35mr2428474wak.87.1258584291341; Wed, 18 Nov 2009 14:44:51 -0800 (PST) In-Reply-To: References: Date: Wed, 18 Nov 2009 15:44:51 -0700 Message-ID: From: Tim Judd To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: device hint -> disable firewire or sbp driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 22:44:52 -0000 Any way via tunables, environment, sysctl or device hints that one can disable firewire on the install medium of recent (7.2 and newer) Install CD/DVDs? more than one person is having problems with kernel panics on startup due to firewire, and I can't google my way out of this one. Any advice from the pros? From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 23:11:20 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB8FE106568F for ; Wed, 18 Nov 2009 23:11:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id A51398FC13 for ; Wed, 18 Nov 2009 23:11:20 +0000 (UTC) Received: from r55.edvax.de (port-92-195-53-77.dynamic.qsc.de [92.195.53.77]) by mx02.qsc.de (Postfix) with ESMTP id 1E5861E29E; Thu, 19 Nov 2009 00:11:19 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id nAINBHSs002188; Thu, 19 Nov 2009 00:11:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 19 Nov 2009 00:11:17 +0100 From: Polytropon To: Manolis Kiagias Message-Id: <20091119001117.c2ac826f.freebsd@edvax.de> In-Reply-To: <4B0468BA.3030703@otenet.gr> References: <20091115234930.GA11465@thought.org> <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> <4B02E346.3070209@otenet.gr> <20091117223844.GA19855@thought.org> <20091118221916.5852d938.freebsd@edvax.de> <4B0468BA.3030703@otenet.gr> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Gary Kline , FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 23:11:21 -0000 On Wed, 18 Nov 2009 23:35:54 +0200, Manolis Kiagias wrote: > Polytropon wrote: > > Well, it't not SUCH a question. :-) > > Yes, there is: > > http://twitpic.com/q0wxq Hmmm... I've installed 8.0-RC1 from CD and can't remember to have seen this dialog... need more memory. :-) Anyway, I'm always going the "Custom" install route because I don't know what "Standard" and "Express" do - I've never tried them. Maybe I should and see what happens... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Nov 18 23:12:56 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A77D31065679 for ; Wed, 18 Nov 2009 23:12:56 +0000 (UTC) (envelope-from kline@thought.org) Received: from aristotle.thought.org (aristotle.thought.org [209.180.213.210]) by mx1.freebsd.org (Postfix) with ESMTP id 5CCF08FC1B for ; Wed, 18 Nov 2009 23:12:56 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by aristotle.thought.org (8.14.2/8.14.2) with ESMTP id nAINCdoL052028; Wed, 18 Nov 2009 15:12:39 -0800 (PST) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Wed, 18 Nov 2009 15:12:47 -0800 (PST) Date: Wed, 18 Nov 2009 15:12:47 -0800 From: Gary Kline To: Polytropon Message-ID: <20091118231246.GB24254@thought.org> References: <20091116010014.f3ca28de.freebsd@edvax.de> <20091116070056.GE11539@thought.org> <20091116203149.1785f7c1.freebsd@edvax.de> <20091116231236.GA15714@thought.org> <20091117160117.12c71262.freebsd@edvax.de> <20091117174540.GB19113@thought.org> <4B02E346.3070209@otenet.gr> <20091117223844.GA19855@thought.org> <20091118221916.5852d938.freebsd@edvax.de> <20091118213320.GA23997@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091118213320.GA23997@thought.org> User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. X-Spam-Status: No, score=-4.4 required=3.6 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.3 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on aristotle.thought.org Cc: Manolis Kiagias , FreeBSD Mailing List Subject: Re: no sshd on new server... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 23:12:56 -0000 On Wed, Nov 18, 2009 at 01:33:21PM -0800, Gary Kline wrote: > On Wed, Nov 18, 2009 at 10:19:16PM +0100, Polytropon wrote: > > On Tue, 17 Nov 2009 14:38:45 -0800, Gary Kline wrote: > > > On Tue, Nov 17, 2009 at 07:54:14PM +0200, Manolis Kiagias wrote: > > > > Gary Kline wrote: > > > > > > > > > > > > > There is a question during sysinstall: "Would you like to enable ssh login?" > > > > Guess you answered "no" there? > > > > > > > > > > i didn't see this question -- or don't remember seeing it. > > > > Well, it't not SUCH a question. :-) > > > > In the dialog "Post Configuration" where you can set the services > > that should be run on startup, there's a choice "SSH" which will > > put the correct setting in /etc/rc.conf, causing the SSH server > > to generate the keys at its first start. Or maybe I'm wrong and > > the setting was in the "Networking" menu... > > > > > i'm running a 'do-over' with v 8.0, and this time i did get asked > about ssh.... one trouble is that i havent done a by-disk install > since 5.3.... > > no joy on 8.0rcx. i got stuck in an infinite loop and decided to go back to my 7.2 DVD. there i know i can get out to the net ; i always installed zsh. there are TWO kinds of gateways. one gateway is my local 10.47.0.1; the other is my wide area 209.* that runs thru my pfsense firewall. i =am= getting more familiar with this rats nets of details. i t hink we are severely oversue for a better way of doing a barebone install on virgin hardware..... =sigh= > > > > > > > > -- > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > -- > Gary Kline kline@thought.org http://www.thought.org Public Service Unix > http://jottings.thought.org http://transfinite.thought.org > The 7.31a release of Jottings: http://jottings.thought.org/index.php > > _______________________________________________ > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org The 7.31a release of Jottings: http://jottings.thought.org/index.php From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 01:53:14 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 32D6C1065670 for ; Thu, 19 Nov 2009 01:53:14 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 139AE8FC17 for ; Thu, 19 Nov 2009 01:53:13 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 7C768BDC46 for ; Wed, 18 Nov 2009 17:53:12 -0800 (PST) To: freebsd-questions@freebsd.org In-Reply-To: <44my2n45zd.fsf@be-well.ilk.org> Date: Wed, 18 Nov 2009 17:53:12 -0800 Message-ID: <80459.1258595592@tristatelogic.com> From: "Ronald F. Guilmette" Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 01:53:14 -0000 In message <44my2n45zd.fsf@be-well.ilk.org>, Lowell Gilbert wrote: >"Ronald F. Guilmette" writes: > >> Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=51,ERROR> error=40 LBA=256230591 > >This is *not* necessarily a big deal, despite what your other response >told you. Errors on reads do not mean that your drive's bad-sector >table is full; only errors on write indicate that. If you can try >manufacturer's drive diagnostics, do that. If you can't, then it's >harder to fix things up, but not impossible; write back if you >really can't use a low-level diag. Well, OK, so I ran the "long test" in Seagate Seatools. Result: It noticed exactly and only _one_ bad sector, which I of course told it to repair/remap. The kicker: The specific bad secror was somewhat near to the one that was indicated in the FreeBSD /var/log/messages errors, _however_ it was most definitely a different LBA sector #. So at that point I was kinda worried, cuz now I was looking at two bad sectors. Still, I didn't really want to have to RMA a drive that's less than one year old, so I used dd and copied /dev/zero to the whole drive. Then I used dd again to copy the wole drive to /dev/null. No errors at all in either case. Then I ran the Seatools "long" diagnostic again. Result: Zero errors. So I decided to keep the drive. Yes, there's some bad sectors, but I think they are all locked out now. I'm hoping this isn't a mistake. Only time will tell. Regards, rfg From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 01:57:29 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45BD4106566B for ; Thu, 19 Nov 2009 01:57:29 +0000 (UTC) (envelope-from davidcollins001@gmail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.27]) by mx1.freebsd.org (Postfix) with ESMTP id C8A1D8FC12 for ; Thu, 19 Nov 2009 01:57:28 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so324366eye.9 for ; Wed, 18 Nov 2009 17:57:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:reply-to:to:cc :subject:message-id:references:in-reply-to:user-agent:mime-version :content-type:content-transfer-encoding; bh=VNAnxKE2qQhcts89t2QvZQgczp9Ru5kBMVpoyUxNobI=; b=vdtHQ91+5eRNkjKksbSOqe2REAJNi5Kpg/tGhgfQdU/v/xwpPGfd1MssAGuK2bW0Wu 7Dqc2tq57UuaAupKN52EEZtJYs7s7l8+s5iKF7+qF6Pp6wAarAftw2qJFngQEnaN8qp4 T+dOU1f+s7XjC1EFJA/7nWkmIg+Hw35wfDH00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:reply-to:to:cc:subject:message-id:references:in-reply-to :user-agent:mime-version:content-type:content-transfer-encoding; b=ZSVQQPueZ7leBZFJB646gSdqhewY+aXaH5R/MIRk8C1LSdNQYJ3y5fOsd7Fa+B5mHn xTuedXrdtzwhnou86W7mFbKdDyPPGnuifd9+23KyBwEsGmNBlnxGqqNPFI0M25o/1WzV 5yfbLs0PUZhGri3JR+Sv9AEQC9J/4nFGrwz38= Received: by 10.213.0.196 with SMTP id 4mr1819750ebc.41.1258595847710; Wed, 18 Nov 2009 17:57:27 -0800 (PST) Received: from cobra (host86-147-221-98.range86-147.btcentralplus.com [86.147.221.98]) by mx.google.com with ESMTPS id 28sm3538eye.9.2009.11.18.17.57.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 18 Nov 2009 17:57:26 -0800 (PST) Date: Thu, 19 Nov 2009 01:57:06 +0000 From: David Collins To: korvus@comcast.net Message-ID: <4b04a5f2.M8s3CtxBChtJdm5p%davidcollins001@gmail.com> References: <4AE3944A.4090602@videotron.ca> <4AE40A00.3040607@infracaninophile.co.uk> <4b02dc68.eJdGkKbmyLCy24CC%davidcollins001@gmail.com> <4B0429B3.1080702@comcast.net> In-Reply-To: <4B0429B3.1080702@comcast.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: flashplugin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: davidcollins001@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 01:57:29 -0000 > >> This is what I did for a 7.2 box. Note that there are compatibility > >> > >> # pkg_info -orx linux > linux-stuff > >> # pkg_delete -rx linux > >> > >> # cd /compat/linux > >> # find . -type f -ls > >> # rm -rf * > >> > >> # sysctl compat.linux.osrelease=2.6.16 > >> > >> OVERRIDE_LINUX_BASE_PORT= f10 > >> OVERRIDE_LINUX_NONBASE_PORTS= f10 > >> > >> to /etc/make.conf. > >> > >> # portinstall www/nspluginwrapper > >> # nspluginwrapper -v -a -i > >> > >> * Finally, fire up Firefox and check that it has loaded the flash plugin by > >> typing 'about:plugins' into the URL bar. Find a site with flash content[*], > >> and enjoy. > > > Set linux_enable="YES" in /etc/rc.conf and make sure you are mounting > linprocfs: > /etc/fstab: > # Device Mountpoint FStype Options Dump Pass# > linproc /compat/linux/proc linprocfs rw 0 0 > Mounted linprocfs and it worked perfectly! Method tested and works on another 7.2 box Thanks :) From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 01:59:51 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 819851065676 for ; Thu, 19 Nov 2009 01:59:51 +0000 (UTC) (envelope-from mel.flynn+fbsd.questions@mailing.thruhere.net) Received: from mailhub.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id 35BE98FC1B for ; Thu, 19 Nov 2009 01:59:50 +0000 (UTC) Received: from mx1.sbmail.office-on-the.net (mx1.sbmail.office-on-the.net [192.168.2.107]) by mailhub.rachie.is-a-geek.net (Postfix) with ESMTP id 446347E853 for ; Wed, 18 Nov 2009 16:59:50 -0900 (AKST) Received: from dspam.sbmail.office-on-the.net (mx1.sbmail.office-on-the.net [192.168.2.107]) by mx1.sbmail.office-on-the.net (Postfix) with SMTP id B328FC2CB05 for ; Wed, 18 Nov 2009 16:59:49 -0900 (AKST) Received: from webmail.testbox.ath.cx (mx1.sbmail.office-on-the.net [192.168.2.107]) by mx1.sbmail.office-on-the.net (Postfix) with ESMTP id 16629C2CB04; Wed, 18 Nov 2009 16:59:49 -0900 (AKST) MIME-Version: 1.0 Date: Wed, 18 Nov 2009 16:59:48 -0900 From: Mel Flynn To: cronfy In-Reply-To: <4B042C50.6060904@sprinthost.ru> References: <4B042C50.6060904@sprinthost.ru> Message-ID: <5f09d2bccc69d1f101c5c22151ef0c05@sbmail.office-on-the.net> X-Sender: mel.flynn+fbsd.questions@mailing.thruhere.net User-Agent: RoundCube Webmail/0.2 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-DSPAM-Result: Innocent X-DSPAM-Processed: Wed Nov 18 16:59:49 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689407 chance of being spam X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 14,4b04a69542361057112987 X-DSPAM-Factors: 27, but, 0.40000, Received*2009+16, 0.40000, cronfy, 0.40000, Is+it, 0.40000, References*<4B042C50.6060904+sprinthost.ru>, 0.40000, file+%, 0.40000, Like, 0.40000, Content-Type*charset="UTF+8", 0.40000, Received*webmail.testbox.ath.cx, 0.40000, Subject*get+accounting, 0.40000, From*' prompt, I decided it may be a good time for me to finally upgrade to 64-bit, where I purchased an additional 4GB RAM and burned a bootonly amd64 disc. It wasn't a big deal for me since I knew my data was mirrored and available. However, I did consider purchasing a PS/2 keyboard to fix the system... But, let's be honest, who can resist an upgrade? :-) Here is the real reason for my post (besides archival purposes). Because I never disconnected the secondary disk (from the original mirror), it caused the loader to hang upon boot - no errors, just a blinking cursor on the top-left side. One answer I received about this, which makes perfect sense considering what I saw when I was trying to figure out what was happening (until I disconnected the second disk to avoid writing over it accidentally), is that the new loader and the previous loader were in conflict at boot. Once the secondary disk was disconnected, the system booted fine. Which brings me to my second question: 2.) loader problem? In hindsight, I can expect the loader to hang with two MBRs, but should this be expected? If the loader did not get "confused", any insight to what may have actually happened, since I could not see any output whatsoever? Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 03:00:53 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A81721065670 for ; Thu, 19 Nov 2009 03:00:53 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8BB518FC1E for ; Thu, 19 Nov 2009 03:00:53 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id E4264BDC46; Wed, 18 Nov 2009 19:00:52 -0800 (PST) To: Philipp Lengemann In-Reply-To: <20091116180102.61682ee8@gmx.de> Date: Wed, 18 Nov 2009 19:00:52 -0800 Message-ID: <80902.1258599652@tristatelogic.com> From: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Trivial questions about CNTL-ALT-DEL and CNTL-ALT-BACKSPACE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 03:00:53 -0000 In message <20091116180102.61682ee8@gmx.de>, you wrote: >Am Sun, 15 Nov 2009 15:19:29 -0800 >schrieb "Ronald F. Guilmette" : > >> I _did_ go and read the Handbook section that Manolis Kiagias >> kindly posted a link to, and I have now tried _both_ of the two >> ways described there to re-enable CNTL-ALT-BACKSPACE functionality >> for the X server, and sadly I must report that for me, at least >> _neither_ of those methods worked > > >Put the following to your xorg.conf: > > >Section "ServerFlags" > Option "DontZap" "off" > Option "AllowEmptyInput" "off" > Option "AutoAddDevices" "off" >EndSection > >Section "InputDevice" > Option "XkbOptions" "terminate:ctrl_alt_bksp" >EndSection > > >This works for me very reliable (xorg-7.4_2). Ummm... yes. Thanks. That does seem to work nicely. Thanks a bunch. From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 03:01:37 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C28191065693 for ; Thu, 19 Nov 2009 03:01:37 +0000 (UTC) (envelope-from listreader@lazlarlyricon.com) Received: from proxy1.bredband.net (proxy1.bredband.net [195.54.101.71]) by mx1.freebsd.org (Postfix) with ESMTP id 769B28FC0A for ; Thu, 19 Nov 2009 03:01:37 +0000 (UTC) Received: from ipb1.telenor.se (195.54.127.164) by proxy1.bredband.net (7.3.140.3) id 4AD3E1C00105C2B6 for questions@freebsd.org; Thu, 19 Nov 2009 04:01:36 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtdNADhEBEtV44PPPGdsb2JhbACBTYdfklEBAQEBN7thhDsEgW+BHQ X-IronPort-AV: E=Sophos;i="4.44,768,1249250400"; d="scan'208";a="5070899" Received: from c-cf83e355.09-42-6e6b7010.cust.bredbandsbolaget.se (HELO lazlar.kicks-ass.net) ([85.227.131.207]) by ipb1.telenor.se with ESMTP; 19 Nov 2009 04:01:35 +0100 Message-ID: <4B04B50E.6070504@lazlarlyricon.com> Date: Thu, 19 Nov 2009 04:01:34 +0100 From: Rolf Nielsen User-Agent: Thunderbird 2.0.0.23 (X11/20091117) MIME-Version: 1.0 To: Glen Barber References: <4ad871310911181835n7b72dde1o22c73ec86dcc6c12@mail.gmail.com> In-Reply-To: <4ad871310911181835n7b72dde1o22c73ec86dcc6c12@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: Loader does not load after reinstall with previous mirrored disk attached X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 03:01:37 -0000 Glen Barber wrote: > Hello, > > First off, this is not a real "I need help" post, though there are a > few questions that I'd like to get insight on, if possible - it is > more for informative purposes in the archives, should someone run into > this very random problem in the future. Additionally, I believe this > is far too unlikely this will happen to many others to consider it to > be a "problem", thus submitting a PR. > > The story, cut down from its original 3 hour length: > > For some time, I was dual-booting OpenSolaris and FreeBSD, on 500GB > SATA and 250GB IDE disks, respectively. When I lost the need to run > OpenSolaris (Flash), I purchased a second 500GB SATA disk. I added > the original SATA disk to gmirror, and synced the 250GB FreeBSD > install to the 500GB SATA drive. Once that finished, I removed the > 250GB disk, and installed the second 500GB disk, adding it to the > mirror. > > All was fine, except I was not using all of the drive space available. > This past weekend, I decided to create a slice to cover the remaining > 250GB, initially to try ZFS, which failed for the following reason. > Here is where question 1 comes into play. > > 1.) What is the correct way to completely break a gmirror setup, > replacing /dev/mirror/gm0 with the original /dev/adN configuration? > Is the assumption that once you initialize gmirror, you will never > need/want to go back to a single disk setup? Is there a clean way to > fix boot0 so it does not look for a mirror, short of > 'vfs.root.mountfrom' in loader.conf? > > After rendering my system unbootable since I use a USB keyboard, and > was not able to do anything at the 'mountroot>' prompt, I decided it > may be a good time for me to finally upgrade to 64-bit, where I > purchased an additional 4GB RAM and burned a bootonly amd64 disc. It > wasn't a big deal for me since I knew my data was mirrored and > available. However, I did consider purchasing a PS/2 keyboard to fix > the system... But, let's be honest, who can resist an upgrade? :-) > > Here is the real reason for my post (besides archival purposes). > Because I never disconnected the secondary disk (from the original > mirror), it caused the loader to hang upon boot - no errors, just a > blinking cursor on the top-left side. One answer I received about > this, which makes perfect sense considering what I saw when I was > trying to figure out what was happening (until I disconnected the > second disk to avoid writing over it accidentally), is that the new > loader and the previous loader were in conflict at boot. Once the > secondary disk was disconnected, the system booted fine. Which brings > me to my second question: > > 2.) loader problem? In hindsight, I can expect the loader to hang > with two MBRs, but should this be expected? If the loader did not get > "confused", any insight to what may have actually happened, since I > could not see any output whatsoever? > > Regards, > Hi Glen, I recently, successfully, broke a gmirror by simply issuing gmirror clear on all the disks, three in my case. Since gmirror stores metadata in the last sector of the disks (according to the gmirror man page) and everything else is untouched, issuing a gmirror clear reverts the disks to single disk usage, and since the data isn't striped, the system will be able to read the data and mount the filesystem(s). This is my experience. However, I have found no documentation about breaking a gmirror, and I may just have been lucky. The data I had was properly backed up, so if it hadn't worked, I could have restored it, and since I needed the extra space, I gave it a try. So, like I said, this worked for me, but I can't back my clam, neither by documentation nor reports from others, so I would still recommend backing your data up before issuing gmirror clear. Cheers, Rolf Nielsen From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 03:06:04 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B391065670 for ; Thu, 19 Nov 2009 03:06:04 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by mx1.freebsd.org (Postfix) with ESMTP id 9E7EB8FC1C for ; Thu, 19 Nov 2009 03:06:04 +0000 (UTC) Received: by pwj15 with SMTP id 15so1232708pwj.3 for ; Wed, 18 Nov 2009 19:06:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=6JcXL6ZmkBtpYvCnloGV+zhviTMaCZGMGOofb5uvZ8Y=; b=a27LbEi5Do/3nKFXOy9Z7Osw3Z51tP9grodiKerOp9N4gWW+BRXf3eBdl7vZpIloJA FJpVVcbvwC5WYfvlhG4bXsj2QojSRtuRB5pmnjS1strxNMEfRbSXQcXmhxyTcTV98vtn sjUAh/m3E1OETkBVbHf6Y+NRu8blzcqnEVBSI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=F/yEVI4Z/6FYvCsKQg00Dt/SaqSh0RItd5HDH3lCFE87/5wZlZ7ZSVwcoSxWX+Oy3L LKQKkcNATk7j0zpSx/9gP/fkMtW2CIUBuTZy1GcNKhIRFFvnKSbsNIFKJIndS1MwfpU3 5DbxA0x4SmdVlt76Y5csyYqv0/tt3i4CwuNSY= MIME-Version: 1.0 Received: by 10.142.7.3 with SMTP id 3mr1392480wfg.126.1258599964356; Wed, 18 Nov 2009 19:06:04 -0800 (PST) In-Reply-To: <4ad871310911181835n7b72dde1o22c73ec86dcc6c12@mail.gmail.com> References: <4ad871310911181835n7b72dde1o22c73ec86dcc6c12@mail.gmail.com> Date: Wed, 18 Nov 2009 21:06:04 -0600 Message-ID: <6201873e0911181906t9ba2699kbc48ad2940f88159@mail.gmail.com> From: Adam Vande More To: Glen Barber Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: Loader does not load after reinstall with previous mirrored disk attached X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 03:06:04 -0000 On Wed, Nov 18, 2009 at 8:35 PM, Glen Barber wrote: > Hello, > > First off, this is not a real "I need help" post, though there are a > few questions that I'd like to get insight on, if possible - it is > more for informative purposes in the archives, should someone run into > this very random problem in the future. Additionally, I believe this > is far too unlikely this will happen to many others to consider it to > be a "problem", thus submitting a PR. > > The story, cut down from its original 3 hour length: > > For some time, I was dual-booting OpenSolaris and FreeBSD, on 500GB > SATA and 250GB IDE disks, respectively. When I lost the need to run > OpenSolaris (Flash), I purchased a second 500GB SATA disk. I added > the original SATA disk to gmirror, and synced the 250GB FreeBSD > install to the 500GB SATA drive. Once that finished, I removed the > 250GB disk, and installed the second 500GB disk, adding it to the > mirror. > > All was fine, except I was not using all of the drive space available. > This past weekend, I decided to create a slice to cover the remaining > 250GB, initially to try ZFS, which failed for the following reason. > Here is where question 1 comes into play. > > 1.) What is the correct way to completely break a gmirror setup, > replacing /dev/mirror/gm0 with the original /dev/adN configuration? > Is the assumption that once you initialize gmirror, you will never > need/want to go back to a single disk setup? Is there a clean way to > fix boot0 so it does not look for a mirror, short of > 'vfs.root.mountfrom' in loader.conf? > I usually find this easier to run from fixit cd. I don't remember exact order but something like deactivate stop clear. clear is last for sure because that will remove metadata. Remember to change fstab. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 03:21:19 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E8AD106566B for ; Thu, 19 Nov 2009 03:21:19 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id B7E938FC0A for ; Thu, 19 Nov 2009 03:21:18 +0000 (UTC) Received: by fg-out-1718.google.com with SMTP id e12so2265486fga.13 for ; Wed, 18 Nov 2009 19:21:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=bBmq67EKkznK8vaqcMhBEjQf8lvLyGGM+yFF3r2WQ7U=; b=ku3UU8Dqf+Y9FT44znBg6YA9a/AcnAPWcUWEeDP+9p8QU4ZJAWQgPd7kmr+tujpoCv nt29Ei2YZ/ii4Ws8K5CpeJD5+ABmLxStWZs7KSyPsGn8Rr8J3cBwfWUWiZRnz3opdkoD 8BIaQ1z8Cs49A4BdsiYIxqdf304xK7OuATTYs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i8tKPZAU9hqj2gjHHVGQvlcdvF9dnxYVK502q4bH+hsivP3I7/Qg655SG5e1F/S44f EJW3y8ipiH2K2yz1lTjnXWWXeErCUo+hGFF6PIqIUhSSNas+dm0wMPhen1vsMKmKLcXG X7SIbICwDoNuISU+hze7t+qfzv2jA1d1fx9ro= MIME-Version: 1.0 Received: by 10.223.17.65 with SMTP id r1mr1549678faa.5.1258600877712; Wed, 18 Nov 2009 19:21:17 -0800 (PST) In-Reply-To: <4B04B50E.6070504@lazlarlyricon.com> References: <4ad871310911181835n7b72dde1o22c73ec86dcc6c12@mail.gmail.com> <4B04B50E.6070504@lazlarlyricon.com> Date: Wed, 18 Nov 2009 22:21:17 -0500 Message-ID: <4ad871310911181921s14c4d622r2413e40aaed818e7@mail.gmail.com> From: Glen Barber To: Rolf Nielsen , amvandemore@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: Loader does not load after reinstall with previous mirrored disk attached X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 03:21:19 -0000 Hi Rolf and Adam, Since you both seemingly responded with the same solution, I'll respond including the more verbose response: On Wed, Nov 18, 2009 at 10:01 PM, Rolf Nielsen wrote: > > I recently, successfully, broke a gmirror by simply issuing gmirror clear on > all the disks, three in my case. Since gmirror stores metadata in the last > sector of the disks (according to the gmirror man page) and everything else > is untouched, issuing a gmirror clear reverts the disks to single disk > usage, and since the data isn't striped, the system will be able to read the > data and mount the filesystem(s). > This makes sense, and hopefully I will not have to try it for some time, next time I need to break a mirror, I will try 'clear'-ing it first. Thanks, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 03:24:42 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C831F106566B for ; Thu, 19 Nov 2009 03:24:42 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 8B17F8FC1E for ; Thu, 19 Nov 2009 03:24:42 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id 1D735BDC47; Wed, 18 Nov 2009 19:24:42 -0800 (PST) To: Roland Smith In-Reply-To: <20091116182358.GA95918@slackbox.xs4all.nl> Date: Wed, 18 Nov 2009 19:24:42 -0800 Message-ID: <81118.1258601082@tristatelogic.com> From: "Ronald F. Guilmette" Cc: freebsd-questions@freebsd.org Subject: Re: Bad Blocks... Should I RMA? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 03:24:42 -0000 In message <20091116182358.GA95918@slackbox.xs4all.nl>, Roland Smith wrote: >On Sun, Nov 15, 2009 at 04:06:55PM -0800, Ronald F. Guilmette wrote: >>=20 >> In one of my systems, I've got a Seagate SATA 500GB drive (ST3500320AS) >> which is actually not very old... purchased 12/11/2008. > >> same single block. Here's the relevant lines from /var/log/messages: >>=20 >> Nov 15 15:24:17 coredump kernel: ad4: FAILURE - READ_DMA status=3D51Y,DSC,ERROR> error=3D40 LBA=256230591 >> Nov 15 15:24:43 coredump kernel: ad4: FAILURE - READ_DMA status=3D51Y,DSC,ERROR> error=3D40 LBA=256230591 >> Nov 15 15:24:46 coredump kernel: ad4: FAILURE - READ_DMA status=3D51Y,DSC,ERROR> error=3D40 LBA=256230591 >>=20 ... >Install the smartmontools port, and check the drive with >'smartctl -a /dev/ad4'. If you see a non-zero Reallocated_Sector_Ct, RMA it >immediately, as it is about to fail. If see other errors reported, RMA it. OK, I went to do this, but first (I figured) I had to umount the drive. So I did that first and... Yikes! Just umount'ing it caused an error, allegedly in LBA sector 0! Yikes! Nov 18 19:04:06 coredump kernel: ad4: TIMEOUT - READ_DMA retrying (1 retry left) LBA=0 Ignoring that for the moment, I went ahead and ran smartctl -a /dev/ad4 as you suggested. Results are attached below. I have no idea how to read this stuff, and would be happy to be tutored a bit on this. But anyway, because of the *new* error I just got (LBA=0) I have decided now that I *will* RMA the drive back after all. (Getting an error reading logical sector zero is just too scary for me!) Note that the original problematic sector was 256230591, however the one that Seatools had found to be bad (and had allegedly re-mapped for me) was 256230614... a number which also appears several times in the report below. I don't really understand what I'm looking at here. If in fact Seatools did actually "repair" (re-map?) a sector for me, then shouldn't Reallocated_Sector_Ct have some positive non-zero value? ============================================================================== smartctl version 5.38 [amd64-portbld-freebsd7.2] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ === START OF INFORMATION SECTION === Model Family: Seagate Barracuda 7200.11 Device Model: ST3500320AS Serial Number: 5QM2H3V3 Firmware Version: SD15 User Capacity: 500,107,862,016 bytes Device is: In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 4 Local Time is: Wed Nov 18 19:12:56 2009 PST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: ( 650) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 1) minutes. Extended self-test routine recommended polling time: ( 119) minutes. Conveyance self-test routine recommended polling time: ( 2) minutes. SCT capabilities: (0x103b) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 107 100 006 Pre-fail Always - 13587485 3 Spin_Up_Time 0x0003 094 094 000 Pre-fail Always - 0 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 11 5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 100 253 030 Pre-fail Always - 186292 9 Power_On_Hours 0x0032 092 092 000 Old_age Always - 7454 10 Spin_Retry_Count 0x0013 100 100 097 Pre-fail Always - 7 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 61 184 Unknown_Attribute 0x0032 100 100 099 Old_age Always - 0 187 Reported_Uncorrect 0x0032 099 099 000 Old_age Always - 1 188 Unknown_Attribute 0x0032 100 099 000 Old_age Always - 4295032833 189 High_Fly_Writes 0x003a 100 100 000 Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 058 054 045 Old_age Always - 42 (Lifetime Min/Max 42/42) 194 Temperature_Celsius 0x0022 042 046 000 Old_age Always - 42 (0 24 0 0) 195 Hardware_ECC_Recovered 0x001a 024 010 000 Old_age Always - 13587485 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 1 198 Offline_Uncorrectable 0x0010 100 100 000 Old_age Offline - 1 199 UDMA_CRC_Error_Count 0x003e 200 200 000 Old_age Always - 0 SMART Error Log Version: 1 ATA Error Count: 4 CR = Command Register [HEX] FR = Features Register [HEX] SC = Sector Count Register [HEX] SN = Sector Number Register [HEX] CL = Cylinder Low Register [HEX] CH = Cylinder High Register [HEX] DH = Device/Head Register [HEX] DC = Device Command Register [HEX] ER = Error register [HEX] ST = Status register [HEX] Powered_Up_Time is measured from power on, and printed as DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes, SS=sec, and sss=millisec. It "wraps" after 49.710 days. Error 4 occurred at disk power-on lifetime: 7381 hours (307 days + 13 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 d6 c4 45 0f Error: UNC at LBA = 0x0f45c4d6 = 256230614 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- 42 00 00 00 c0 45 4f 00 00:21:01.918 READ VERIFY SECTOR(S) EXT 42 d0 00 00 b0 38 ef 00 00:20:57.686 READ VERIFY SECTOR(S) EXT 42 d0 00 00 c0 28 ef 00 00:20:52.497 READ VERIFY SECTOR(S) EXT 42 d0 00 00 d0 18 ef 00 00:20:47.331 READ VERIFY SECTOR(S) EXT 42 d0 00 00 e0 08 ef 00 00:20:42.180 READ VERIFY SECTOR(S) EXT Error 3 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 d6 c4 45 0f Error: UNC at LBA = 0x0f45c4d6 = 256230614 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 20 bf c4 45 ef 00 00:11:39.184 READ DMA ca 00 14 5f 2f 00 e0 00 00:11:39.184 WRITE DMA ca 00 20 3f 2f 00 e0 00 00:11:39.183 WRITE DMA ca 00 20 1f 2f 00 e0 00 00:11:39.183 WRITE DMA ca 00 04 bf 00 00 e0 00 00:11:39.182 WRITE DMA Error 2 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 d6 c4 45 0f Error: UNC at LBA = 0x0f45c4d6 = 256230614 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 20 bf c4 45 ef 00 00:11:36.258 READ DMA ca 00 20 9f 82 4b ef 00 00:11:35.521 WRITE DMA ca 00 20 7f 82 4b ef 00 00:11:35.521 WRITE DMA ca 00 20 df c4 45 ef 00 00:11:35.520 WRITE DMA ca 00 40 1f 82 4b ef 00 00:11:13.328 WRITE DMA Error 1 occurred at disk power-on lifetime: 0 hours (0 days + 0 hours) When the command that caused the error occurred, the device was active or idle. After command completion occurred, registers were: ER ST SC SN CL CH DH -- -- -- -- -- -- -- 40 51 00 d6 c4 45 0f Error: UNC at LBA = 0x0f45c4d6 = 256230614 Commands leading to the command that caused the error were: CR FR SC SN CL CH DH DC Powered_Up_Time Command/Feature_Name -- -- -- -- -- -- -- -- ---------------- -------------------- c8 00 20 bf c4 45 ef 00 00:11:10.133 READ DMA ca 00 04 1f c4 45 ef 00 00:11:06.521 WRITE DMA ca 00 20 df c4 45 ef 00 00:11:04.521 WRITE DMA c8 00 04 5b c4 45 ef 00 00:10:54.453 READ DMA ca 00 20 df c4 45 ef 00 00:10:17.522 WRITE DMA SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Short offline Aborted by host 60% 7381 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. From owner-freebsd-questions@FreeBSD.ORG Thu Nov 19 04:29:34 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.or