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: <20091116180