Re: bsd boot sequence

2013-06-27 Thread Warren Block
On Thu, 27 Jun 2013, Brian Kim wrote: To start, I was wondering if someone could briefly explain the operations and function calls that occur at boot time. I wish to thoroughly examine the freebsd source code but I'm afraid the sheer volume of code that exists leaves me with no real starting poi

Re: Xorg help

2013-01-31 Thread Warren Block
On Thu, 31 Jan 2013, Wojciech Puchar wrote: What driver should i use with Atom D525? xf86-video-intel29 is the only one that works, in spite of market as not supported. Citing https://wiki.freebsd.org/Intel_GPU "Required usermode components are available in the ports tree, you need to add WIT

Re: SATA disk disappears

2013-01-12 Thread Warren Block
On Sat, 12 Jan 2013, Warren Block wrote: Hmm. The green drives are supposed to go to sleep for power saving, and then there's a multiple-second delay when they have to spin back up on access. That should not be a problem for gmirror, but maybe it is. sysutils/ataidle can turn on the spi

Re: SATA disk disappears

2013-01-12 Thread Warren Block
On Sat, 12 Jan 2013, Christian Gusenbauer wrote: On Friday 11 January 2013 22:47:03 Warren Block wrote: On Fri, 11 Jan 2013, Wojciech Puchar wrote: GEOM_MIRROR: Component ada2 (device home1) broken, skipping. GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22). started gmirror rebuild and

Re: SATA disk disappears

2013-01-11 Thread Warren Block
On Fri, 11 Jan 2013, Wojciech Puchar wrote: GEOM_MIRROR: Component ada2 (device home1) broken, skipping. GEOM_MIRROR: Cannot add disk ada2 to home1 (error=22). started gmirror rebuild and it now works at full speed. GEOM_MIRROR: Device home1: rebuilding provider ada2. What kind of hardware

Re: SATA disk disappears

2013-01-10 Thread Warren Block
On Fri, 11 Jan 2013, Wojciech Puchar wrote: got this on dell poweredge T110 server with 4 disks, including two 3TB drives (ada2,ada3): ahcich2: Timeout on slot 8 port 0 ahcich2: is cs 1e00 ss 1f00 rs 1f00 tfd 40 serr cmd c817 ahcich2: AHCI reset: device no

Re: cvs deprecated

2012-12-27 Thread Warren Block
On Thu, 27 Dec 2012, Sam Fourman Jr. wrote: On Thu, Dec 27, 2012 at 4:18 AM, Wojciech Puchar wrote: but i can't find "moron guide" for using svn to update tree. I cant seem to find a way to handle conflicts, ive tried to do svn revert on every directory, but there is always more... maybe svn

Re: cvs deprecated

2012-12-27 Thread Warren Block
On Thu, 27 Dec 2012, Garrett Cooper wrote: On Thu, Dec 27, 2012 at 6:50 AM, Warren Block wrote: ... I see a lot of people switching to the target directory first rather than just including it as an argument for svn. Is there an advantage there that I'm missing? I've always

Re: cvs deprecated

2012-12-27 Thread Warren Block
On Thu, 27 Dec 2012, Garrett Cooper wrote: On Thu, Dec 27, 2012 at 1:18 AM, Wojciech Puchar wrote: but i can't find "moron guide" for using svn to update tree. I never used cvs or svn myself just want to 1) get latest FreeBSD 9-* sources 2) get latest HEAD sources. 1. Checkout the sources:

Re: FreeBSD for serious performance?

2012-12-09 Thread Warren Block
On Sun, 9 Dec 2012, Dieter BSD wrote: B. Use GPT, which does not have the CHS baggage.  It is easier and more    versatile.  My systems with GPT disks don't complain about track    alignment.  Or maybe that's ahci(4)'s doing. I never found a way to boot from different partitions, much less dif

Re: FreeBSD for serious performance? (was: Re: 9.x -- New Install -- serious partition misalignment)

2012-12-08 Thread Warren Block
On Sat, 8 Dec 2012, Dieter BSD wrote: Having a 4KiB misalignment is nothing compared with not having NCQ support. ... Speaking of alignment, I still get "partition 1 does not end on a track boundary" messages. FreeBSD has no clue where the track boundaries are and neither do I. Disks have used

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-22 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: The install config I created /conf/ada-install.cfg and /conf/da-install.cfg the only difference here is the name of the disk as that is not auto discovered. Here is ada-install.cfg # User Generated pc-sysinstall configuration inst

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-20 Thread Warren Block
On Mon, 19 Nov 2012, Mark Saad wrote: On Nov 17, 2012, at 12:19 AM, Warren Block wrote: On Fri, 16 Nov 2012, Mark Saad wrote: On Nov 16, 2012, at 8:44 PM, Warren Block wrote: On Fri, 16 Nov 2012, Warren Block wrote: Trying to start this from SYSLINUX almost works. My menu config

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-19 Thread Warren Block
On Mon, 19 Nov 2012, Mark Saad wrote: On Nov 17, 2012, at 12:19 AM, Warren Block wrote: On Fri, 16 Nov 2012, Mark Saad wrote: On Nov 16, 2012, at 8:44 PM, Warren Block wrote: On Fri, 16 Nov 2012, Warren Block wrote: Trying to start this from SYSLINUX almost works. My menu config

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: On Nov 16, 2012, at 8:44 PM, Warren Block wrote: On Fri, 16 Nov 2012, Warren Block wrote: Trying to start this from SYSLINUX almost works. My menu config just does Actually, it does work on a real machine. It stalls on a VirtualBox VM during or

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Warren Block wrote: Trying to start this from SYSLINUX almost works. My menu config just does Actually, it does work on a real machine. It stalls on a VirtualBox VM during or after the NFS root mount. ___ freebsd-hackers

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: Useful paths on /export, /export/install/freebsd/9.1/{i386,amd64} this is the contents of the install media rsync'd to a local filesystem Do you have a way to choose either i386 or amd64 installs? 5 I changed my rc.conf to start a simple shell script and

Re: Using PC-Sysinstall for automated network installs of FreeBSD

2012-11-16 Thread Warren Block
On Fri, 16 Nov 2012, Mark Saad wrote: All I wanted to share with you my method for network installs of FreeBSD 9.1-RCn . This does not use PC-BSD just stock FreeBSD. This should work on 9.0-RELEASE is known to work on 9.1-RC's and BETA. I decided to use pc-sysinstall in place of bsdinstall as p

Re: Give users a hint when their locate database is too small.

2012-11-14 Thread Warren Block
On Tue, 13 Nov 2012, Benjamin Kaduk wrote: if (len < (2*NBG)) - errx(1, "database too small: %s", db); + errx(1, "database too small: %s\nRun /usr/libexec/locate.updatedb", db); That looks longer than 80 characters, a limit given implicitly in style.9. The

Re: Give users a hint when their locate database is too small.

2012-11-13 Thread Warren Block
On Mon, 12 Nov 2012, Eitan Adler wrote: What do people think of this? Maybe /usr/libexec/locate.updatedb is a better pointer? commit fb03b777daf2c69bb9612902e38fdb25b256be72 Author: Eitan Adler Date: Mon Nov 12 22:05:55 2012 -0500 Give users a hint when their locate database is too small

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-15 Thread Warren Block
On Fri, 14 Sep 2012, Yuri wrote: On 09/14/2012 19:23, Warren Block wrote: Did you actually try gpart? GEOM prevents writes to providers that are in use, but gpart should handle it correctly if the problem is just that fdisk doesn't understand GEOM. # gpart set -a active -i 1 ada0 If

Re: Why fdisk can't open root disk with MBR for writing?

2012-09-14 Thread Warren Block
On Fri, 14 Sep 2012, Yuri wrote: I am trying to change the active partition in MBR. This should be a matter of changing only two bits (clearing one in one byte and setting another one in another byte). However, fdisk complains: fdisk: Failed to write MBR. Try to use gpart(8). truss reveals t

Re: FreeBSD 8.3

2012-07-14 Thread Warren Block
On Sat, 14 Jul 2012, Warren Block wrote: In a VM with stock settings (Linux 64-bit), Ubuntu 12.04 LTS Desktop Live CD works okay, installed also seems to work okay. The mouse is a little draggy but usable, like using a wireless mouse. kern.hz is set to 100 on the host (9-stable, er 9.1

Re: FreeBSD 8.3

2012-07-14 Thread Warren Block
On Sat, 14 Jul 2012, Mike Meyer wrote: On Sat, 14 Jul 2012 13:13:50 -0600 (MDT) Warren Block wrote: On Sat, 14 Jul 2012, Mike Meyer wrote: Can you give a specific Linux version that has problems? I'm willing to download and test it on this i5/9-stable/amd64 system. Haven't n

Re: FreeBSD 8.3

2012-07-14 Thread Warren Block
On Sat, 14 Jul 2012, Mike Meyer wrote: I just set up a system designed to handle lots of VBox VM's: a 6-core SandyBridge processor with 32GB of ram on a FreeBSD 8.3-STABLE host. Unfortunately, once I got it set up, I found that VBox guest performance simply sucks. The *mouse* isn't responsive.

Re: proper newfs options for SSD disk

2012-06-19 Thread Warren Block
On Tue, 19 Jun 2012, Matthias Apitz wrote: El día Sunday, June 17, 2012 a las 09:16:12PM -0600, Warren Block escribió: On Sat, 16 Jun 2012, Matthias Apitz wrote: OK, but I wanted to have most of the space of the 4 GB SSD encrypted with geli(8); so I should make there some slice containing

Re: proper newfs options for SSD disk

2012-06-17 Thread Warren Block
On Sat, 16 Jun 2012, Matthias Apitz wrote: OK, but I wanted to have most of the space of the 4 GB SSD encrypted with geli(8); so I should make there some slice containing /boot (unencrypted) and a second slice which later will contain my HOME and encrypted; wrong? That's correct: http://forums

Re: FreeBSD Boot Times

2012-06-13 Thread Warren Block
On Tue, 12 Jun 2012, Warren Block wrote: On Tue, 12 Jun 2012, Richard Yao wrote: Gentoo FreeBSD shares OpenRC with Gentoo Linux. OpenRC is a BSD 2-clause licensed System V init system replacement that supports parallel boot. Its boot performance is competitive with systemd and Ubuntu&#

Re: FreeBSD Boot Times

2012-06-12 Thread Warren Block
On Tue, 12 Jun 2012, Richard Yao wrote: Gentoo FreeBSD shares OpenRC with Gentoo Linux. OpenRC is a BSD 2-clause licensed System V init system replacement that supports parallel boot. Its boot performance is competitive with systemd and Ubuntu's upstart. If FreeBSD's init system is serializing

Re: proper newfs options for SSD disk

2012-05-25 Thread Warren Block
On Fri, 25 May 2012, Matthias Apitz wrote: Talking about another question, related to file systems on SSD: My netbook with the two SSD has file systems mounted as: $ df -kh Filesystem SizeUsed Avail Capacity Mounted on /dev/ada0s1a3.7G567M3.1G15%/ /dev/ada1s1a

Re: proper newfs options for SSD disk

2012-05-24 Thread Warren Block
On Wed, 23 May 2012, Tim Kientzle wrote: On May 22, 2012, at 7:40 AM, Warren Block wrote: On Tue, 22 May 2012, Matthias Apitz wrote: El día Tuesday, May 22, 2012 a las 07:42:18AM -0600, Warren Block escribió: On Tue, 22 May 2012, Matthias Apitz wrote: El día Sunday, May 20, 2012 a las

Re: proper newfs options for SSD disk

2012-05-22 Thread Warren Block
On Tue, 22 May 2012, Matthias Apitz wrote: El día Tuesday, May 22, 2012 a las 07:42:18AM -0600, Warren Block escribió: On Tue, 22 May 2012, Matthias Apitz wrote: El día Sunday, May 20, 2012 a las 03:36:01AM +0900, rozhuk...@gmail.com escribió: Do not use MBR (or manually do all to align

Re: proper newfs options for SSD disk

2012-05-22 Thread Warren Block
On Tue, 22 May 2012, Matthias Apitz wrote: El día Sunday, May 20, 2012 a las 03:36:01AM +0900, rozhuk...@gmail.com escribió: Do not use MBR (or manually do all to align). 63 - not 4k aligned. To create the above shown partition layout I have not used gpart(8); I just said: # fdisk -I /d

Re: proper newfs options for SSD disk

2012-05-19 Thread Warren Block
On Sat, 19 May 2012, Matthias Apitz wrote: El día Saturday, May 19, 2012 a las 10:40:32AM +0200, User Wojtek escribió: You may be able to find the exact erase block size in the technical documentation of your specific SSD. But the manufacturers don't always tell. :) ... Hi, Some weeks ago

Re: gnome start error?help me.

2012-05-18 Thread Warren Block
On Fri, 18 May 2012, Sean Bruno wrote: On Tue, 2012-05-15 at 18:13 -0700, cz li wrote: FreeBSD9.0 support for the ATI HD2300 or ATI x2300 graphics card? according to man 4 radeon, the x2300 is supported. according to man 4 radeonhd, it supports both. radeonhd is unmaintained, no commits in

Re: cron(8) mis-feature with @reboot long after system startup

2011-11-25 Thread Warren Block
On Fri, 25 Nov 2011, Tom Evans wrote: On Fri, Nov 25, 2011 at 4:09 PM, Cy Schubert wrote: Changing the behaviour by default would change the semantics of @reboot, altering  the behaviour of cron jobs which rely on the brokenness. What if both behaviours are wanted on the same system? Unlikely,

Re: [UPDATE] New Boot-Loader Menu -- version 1.4

2011-05-09 Thread Warren Block
On Mon, 9 May 2011, Alexander Leidinger wrote: IMO it's either - change now or - no change, never ever or - change if special variable is set In case it hasn't already been suggested... Just make the loader read a template file that defines the menu. The port or base system can include a st

Re: [UPDATE] New Boot-Loader Menu -- version 1.4

2011-05-05 Thread Warren Block
On Thu, 5 May 2011, Devin Teske wrote: Running on i386-compatible hardware supporting ACPI: B&W (standard): http://twitpic.com/4tlsin Color (loader_color=YES): http://twitpic.com/4tlt6l Looks nice. Options 3, 4, and 5 could be changed to 3. Safe Mode 4. Single User Mode 5. Verbose On/

RE: [RELEASE] New Boot-Loader Menu

2011-04-29 Thread Warren Block
On Fri, 29 Apr 2011, Devin Teske wrote: I'm still leaning toward just making the "V" in "Verbose" and "S" in "Single User" bolded. Why not just underline hotkey characters? That's already a well-known standard in lots of places. ___ freebsd-hacker

Re: Add SUM sysctl

2011-04-16 Thread Warren Block
On Sat, 16 Apr 2011, dieter...@engineer.com wrote: Suggestion 2: The kernel may not have an official flag for single vs multi user mode but you can fake it. Try something like "pgrep syslogd". If syslogd is running assume multiuser mode. If syslogd is not running assume single user mode. A

Re: listing all modules compiled into a kernel instance

2011-03-01 Thread Warren Block
On Tue, 1 Mar 2011, Jason Helfman wrote: On Tue, Mar 01, 2011 at 12:01:48PM -0800, Carl thus spake: I can explicitly include ucom in a kernel by adding "device ucom" in the configuration file, in which case it would call DRIVER_MODULE(), right? That would then make it appear in the "kldstat -v

Re: memstick.img is bloated with 7% 2K blocks of nulls

2011-02-12 Thread Warren Block
On Sat, 12 Feb 2011, Tim Kientzle wrote: Alternatively, of course, is there any way to use isofs instead of ufs for memstick.img? Devin Teske's DruidBSD (http://druidbsd.sourceforge.net/) uses the same image for CD, hard disk, or memstick. I don't know the technical details. (VirtualBox di

Re: ccache pausing in buildworld

2010-11-08 Thread Warren Block
On Mon, 8 Nov 2010, Emanuel Haupt wrote: I've just updated the ccache port to 3.1.1. ... After updating and zeroing the cache files the a build of RELENG_8_1 fails with: CC='/usr/local/libexec/ccache/world-cc' mkdep -f .depend -a -I/usr/src/lib/csu/i386-elf/../common -I/usr/src/lib/csu

Re: ccache pausing in buildworld

2010-10-31 Thread Warren Block
On Sun, 31 Oct 2010, Garrett Cooper wrote: On Sun, Oct 31, 2010 at 9:38 AM, Warren Block wrote: About a month ago, ccache began to pause in buildworld.  The build doesn't halt or quit, it stays running but not doing anything: /usr/local/libexec/ccache/world-cc -fpic -DPIC -O2 -pipe -

ccache pausing in buildworld

2010-10-31 Thread Warren Block
About a month ago, ccache began to pause in buildworld. The build doesn't halt or quit, it stays running but not doing anything: /usr/local/libexec/ccache/world-cc -fpic -DPIC -O2 -pipe -march=prescott -I/usr/src/lib/libc/include -I/usr/src/lib/libc/../../include -I/usr/src/lib/libc/i386-DNLS

Re: sysrc -- a sysctl(8)-like utility for managing /etc/rc.conf et. al.

2010-10-07 Thread Warren Block
On Thu, 7 Oct 2010, Douglas K. Rand wrote: I think that this script might also fill a void with using Puppet as a configuration tool. Currently Puppet, as its default behaviour, uses files in /etc/rc.conf.d to set variables. I've found this approach really lacking because you cannot do things li

Re: Improve OptionalObsoleteFiles.inc

2010-10-05 Thread Warren Block
On Tue, 5 Oct 2010, Alexander Leidinger wrote: We do not have a target which allows to go to src/bin/XXX and run "make deinstall" or similar. What is correctly written in this thread is that "make check-old" and "make delete-old" (and "make delete-old-libs") is supposed to do what you want (g

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Warren Block
On Thu, 16 Sep 2010, Oliver Fromme wrote: I've updated the patch for ada(4). It includes a bug fix (command1 vs. command2) and uses the howto flags passed to the shutdown function. Thanks again for pointing these out. Works perfectly on a system here. Thanks! ___

Re: Summary: Re: Spin down HDD after disk sync or before power off

2010-09-16 Thread Warren Block
On Thu, 16 Sep 2010, Alexander Best wrote: On Wed Sep 15 10, Oliver Fromme wrote: Warren Block wrote: > [...] > 8. Alexander Motin has an updated CAM version of the ATA system which > will eventually replace the existing one. In -CURRENT, anyway. He was > kind enough to look

Re: thoughts on sorting files into sub-folders by access date?

2010-07-01 Thread Warren Block
On Thu, 1 Jul 2010, Steve Franks wrote: My high-end point&shoot camera likes to glob all my photos in a single folder, and it's glutting up my drive, and makes finding a specific trip unpleasant, with no good place for metadata. My SLR sorts them into folders by date, which I love. I can't fin

Summary: Re: Spin down HDD after disk sync or before power off

2010-03-05 Thread Warren Block
both reboot and shutdown. I don't have evidence either way as to whether the standby followed by a reboot causes as much wear as a cold spinup/spindown cycle, or whether that is more of a problem than emergency head parks. -Warren Block * Rapid City, South Dakota USA __

Re: Spin down HDD after disk sync or before power off

2010-02-03 Thread Warren Block
On Thu, 4 Feb 2010, Erich Dollansky wrote: let me do. On 04 February 2010 am 04:44:04 Warren Block wrote: On Wed, 3 Feb 2010, Oliver Fromme wrote: Alexander Best wrote: No -- *Please* make sure that the disks are only spun down upon an actual power-off command (i.e. when reboot() is Could

Re: Spin down HDD after disk sync or before power off

2010-02-03 Thread Warren Block
r device drivers that differentiate the reboot and poweroff actions that could be used as inspiration or simply shamelessly copied in modifying ata-disk? -Warren Block * Rapid City, South Dakota USA ___ freebsd-hackers@freebsd.org mailing list http://l

Re: Spin down HDD after disk sync or before power off

2010-01-29 Thread Warren Block
On Fri, 29 Jan 2010, Jung-uk Kim wrote: On Friday 29 January 2010 05:38 pm, Warren Block wrote: I am not 100% sure but I think it should be something like the attached patch. Yes, I had the two commands backwards. So let me try to summarize: ad_shutdown uses ATA_FLUSHCACHE writes out any

Re: Spin down HDD after disk sync or before power off

2010-01-29 Thread Warren Block
/wonkity.com/~wblock/sounds/patchedglink.wav Can't speak to the safety of this, but it definitely sounds better. -Warren Block * Rapid City, South Dakota USA ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: Spin down HDD after disk sync or before power off

2010-01-26 Thread Warren Block
sd damages hdds! Does the shutdown sound different with that patch? On a couple of different notebooks here, unpatched FreeBSD makes a "GLINK!" sound when the drive parks, much louder than other operating systems on the same notebooks. -Warren Block * Rap

Re: FBSD 7.0-p3 NIC driver problem (Realtek)

2009-02-20 Thread Warren Block
ying). Anybody with this problem? If you can do 'ifconfig re0' and then the NIC is active, see this: http://www.freebsd.org/cgi/query-pr.cgi?pr=130586&cat= -Warren Block * Rapid City, South Dakota USA ___ freebsd-hackers@

Re: Coverity problems?

2008-01-11 Thread Warren Block
2008 note here: http://scan.coverity.com/ -Warren Block * Rapid City, South Dakota USA ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: How to duplicate a copy of all incoming and outgoing mail

2005-10-07 Thread Warren Block
On Tue, 4 Oct 2005, Patrick Dung wrote: It is system wide, not specific user (~/.forward) Is it possble with Sendmail? Yes. There are a couple of milters for sendmail that will bcc mail to another address. Here is one: http://www.snertsoft.com/sendmail/milter-bcc/index.shtml -Warren

Re: perl

2005-08-03 Thread Warren Block
;Your name:"; $name = I would like to get the input like this: man -P 'less +/password' perlfaq8 -Warren Block * Rapid City, South Dakota USA ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freeb

Re: real vs. avail memory

2003-10-12 Thread Warren Block
hing like that? 34M, as I figure it. Is this an Intel motherboard, or other motherboard with integrated video adapter? That could be "shared" memory used for the video. -Warren Block * Rapid City, South Dakota USA ___ [EMAIL PROTECTED] mailing l

Re: freebsd running on a cdrom

2003-01-05 Thread Warren Block
lly cheap, $20 or less. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: freebsd running on a cdrom

2003-01-02 Thread Warren Block
rive partitions in its startup, but that should be easy to remove. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

lpr/lpd Print Job Name

2002-09-12 Thread Warren Block
files should be handled: force the same job name on all of them, just the first one, or use a delimited list after -N? What about lpd--is adding a -N option and the job name to the parameters it feeds to input filters a bad idea? Suggestions are welcome--thanks! -Warren Block * Rapid City, South