Re: UFS Crash and directories now missing

2012-05-01 Thread Robert Bonomi
Eitan Adler wrote: > On 30 April 2012 07:36, Robert Bonomi wrote: > > A competennt, "not stupid", sysadmin would know these things. And not > > 'remove all doubt' (in the words of Abraham Lincoln), by raising such > > nonsense questions. > > A competent sysadmin would ask questions when they do

Re: UFS Crash and directories now missing

2012-05-01 Thread Edward M
On 04/30/2012 10:58 PM, Robert Bonomi wrote: Reading_both_ of McKusick's "Design of .." books, and the 'Unix System Admininstration Handbook', by Nemeth, et al. is a good_start_. Having a bunch of the books from O'Reilley& Assoc. (), especially for 'standard' tools that y

Re: which filesytems zfs needs to function

2012-05-01 Thread Edward M
On 04/30/2012 05:52 PM, Adam Vande More wrote: The filesystems are mostly arbitrary. You really only need the rootfs with appropriate directories underneath. The list provided is simply a concise idealized layout. Thanks!. I will try creating different filesytems to further my learning

localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE

2012-05-01 Thread Unga
Hi all Following code fragment works in FreeBSD 8.1-RELEASE, but not in FreeBSD 9.0-STABLE: error = getaddrinfo("localhost", port, &hints, &res0);  if (error)     { fprintf(stderr,"getaddrinfo failed - %s\n", gai_strerror(error)); exit(1);     } It complains: getaddrinfo failed - host

Has anybody out there taken the BSDA certification exams?

2012-05-01 Thread herbert langhans
Hi List, on Saturday the 5th of May there is the Central-European BSD day in Vienna. They also give the chance to make the BSDA certification exams. I went through the 'BSD Associate Exam Objectives' to get some idea the questions. But I still wonder, how NetBSD users get away with the style of qu

Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE

2012-05-01 Thread Matthew Seaman
On 01/05/2012 11:08, Unga wrote: > Following code fragment works in FreeBSD 8.1-RELEASE, but not in FreeBSD > 9.0-STABLE: > > error = getaddrinfo("localhost", port, &hints, &res0); > if (error) > { > fprintf(stderr,"getaddrinfo failed - %s\n", gai_strerror(error)); > exit(1); >

Re: Performance and mouse problems

2012-05-01 Thread Harald Weis
On Mon, Apr 30, 2012 at 05:19:35PM +0200, Jerome Herman wrote: > Short answer : I am a proud member of the "HAL and DBus are evil" group. > Middle answer : HAL and DBus were made, maintained and tuned with pretty > much nothing but Linux in mind. As a result they hardly play well with > other OS

Limiting closed port RST response

2012-05-01 Thread Arthur Chance
Every once in a while the nightly periodic security checks tell me I've got a kernel message Limiting closed port RST response from N to 200 packets/sec where N > 200. The problem is that it doesn't say which port was involved. Is there any way to find that out so I can try tracking down the

Re: Performance and mouse problems

2012-05-01 Thread Harald Weis
On Tue, May 01, 2012 at 01:32:01PM +0200, Harald Weis wrote: Sorry for the typing error. Please read /etc/defaults/rc.conf instead of /etc/default/rc.conf. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

laptop very hot and noisy

2012-05-01 Thread Anton Shterenlikht
I run 10-current on Compaq 6715s. It's very hot and noisy. If I boot in verbose mode, I get lots of: acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 acpi_tz0: _AC3: temperature 92.0 >= setpoint 40.0 acpi_tz0: _AC2: temperature 92.0 >= setpoint 50

Re: laptop very hot and noisy

2012-05-01 Thread Alejandro Imass
On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht wrote: > I run 10-current on Compaq 6715s. > It's very hot and noisy. If I boot > in verbose mode, I get lots of: > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0 > acpi_tz0: _AC1: temperature 92.0 >= setpoint 60.0 > acpi_tz0: _AC3: temperatu

Re: laptop very hot and noisy

2012-05-01 Thread Anton Shterenlikht
On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht > wrote: > > I run 10-current on Compaq 6715s. > > It's very hot and noisy. If I boot > > in verbose mode, I get lots of: > > > > acpi_tz0: _AC2: temperature 92.0 >= setpoint 50.0

Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE

2012-05-01 Thread Bas Smeelen
On 05/01/2012 01:02 PM, Matthew Seaman wrote: On 01/05/2012 11:08, Unga wrote: Following code fragment works in FreeBSD 8.1-RELEASE, but not in FreeBSD 9.0-STABLE: error = getaddrinfo("localhost", port,&hints,&res0); if (error) { fprintf(stderr,"getaddrinfo failed - %s\n", gai_str

Re: UFS Crash and directories now missing

2012-05-01 Thread Polytropon
On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > Admininstration Handbook', by Nemeth, et al. is a good_start_. > > > > Having a bunch of the books from O'Reilley& As

Re: laptop very hot and noisy

2012-05-01 Thread Alejandro Imass
On Tue, May 1, 2012 at 8:41 AM, Anton Shterenlikht wrote: > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: >> On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht >> wrote: >> > I run 10-current on Compaq 6715s. >> > It's very hot and noisy. If I boot [..] > I didn't even know t

Re: laptop very hot and noisy

2012-05-01 Thread Polytropon
On Tue, 1 May 2012 13:41:11 +0100, Anton Shterenlikht wrote: > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht > > wrote: > > > I run 10-current on Compaq 6715s. > > > It's very hot and noisy. If I boot > > > in verbose mode,

Re: GPT + gmirror

2012-05-01 Thread Darren Baginski
There is a way. Here are the results http://www.opennet.ru/tips/2681_freebsd_gpt_raid_gmirror.shtml (in Russian) http://translate.yandex.com/ will provide meaningful translation to French/German/English or use your favorite translation service. 25.04.2012, 17:01, "Julien Cigar" : > Hello, > > I

Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE

2012-05-01 Thread Unga
> From: Matthew Seaman > To: Unga > Cc: "freebsd-questions@freebsd.org" > Sent: Tuesday, May 1, 2012 11:02 AM > Subject: Re: localhost not recognised in getaddrinfo(3) in FreeBSD 9.0-STABLE > > On 01/05/2012 11:08, Unga wrote: >> Following code fragment works in FreeBSD 8.1-RELEASE, but not in

netif starting late after upgrade to FreeBSD 9.0 from 8

2012-05-01 Thread Khairil Yusof
I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0. The upgrade following /usr/src/UPDATING was without any problems. The only issue I have is that there seems to be a race condition for bootup scripts in which netif can start later than devices that require it, resulting in the following

Adding a Static Route to rc.conf?

2012-05-01 Thread Chris Maness
How do add a static route to rc.conf? Thanks, Chris Maness ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: Adding a Static Route to rc.conf?

2012-05-01 Thread Noel
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/1/2012 10:31 AM, Chris Maness wrote: > How do add a static route to rc.conf? > > Thanks, > Chris Maness > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/fr

Re: UFS Crash and directories now missing

2012-05-01 Thread Edward M
On 05/01/2012 06:43 AM, Polytropon wrote: Except buying (good) books, you can also search for articles on the web. For example, "A Fast File System for UNIX" by M. K. McKusick is very interesting (at least it was for me when I lost all my important data). Some fs-related articles here: http://ww

Building kernel outside of /usr/src (with an unprivileged user)

2012-05-01 Thread Matthias Petermann
Hello, while trying to build a patched CURRENT src on a STABLE FreeBSD 9 I was wondering if it would be possible to have the source directory (src) in a different place from /usr (e.g. in /home/myuser/src) where it can be built with an unprivileged user and without interference with the STABLE

Segmentation fault in FreeBSD 9.0 flockfile ()

2012-05-01 Thread Unga
Hi all I'm getting a  Segmentation fault in FreeBSD 9.0 as follows for myprog.c: Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0  0x28ebb062 in flockfile () from /lib/libc.so.7 [New Thread 29c04900 (LWP 100575/SDLTimer)] [New Thread 29c04300 (LWP 1004

Re: UFS Crash and directories now missing

2012-05-01 Thread Chad Perrin
On Tue, May 01, 2012 at 12:58:10AM -0500, Robert Bonomi wrote: > > Reading _both_ of McKusick's "Design of .." books, and the 'Unix System > Admininstration Handbook', by Nemeth, et al. is a good _start_. "Both"? I'm aware of at least three (FreeBSD, 4.3BSD, and 4.4BSD) that are probably with

Re: Limiting closed port RST response

2012-05-01 Thread Ian Smith
In freebsd-questions Digest, Vol 413, Issue 4, Message: 7 On Tue, 01 May 2012 12:59:36 +0100 Arthur Chance wrote: > Every once in a while the nightly periodic security checks tell me I've > got a kernel message > > Limiting closed port RST response from N to 200 packets/sec > > where N >

Re: Segmentation fault in FreeBSD 9.0 flockfile ()

2012-05-01 Thread Darren Baginski
Hi! Mind to share code snippet caused the problem? 01.05.2012, 22:08, "Unga" : > Hi all > > I'm getting a  Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0  0x28ebb062 in flockfile () fr

Re: Segmentation fault in FreeBSD 9.0 flockfile ()

2012-05-01 Thread Eitan Adler
On 1 May 2012 14:08, Unga wrote: > Hi all > > I'm getting a  Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > > > Reading symbols from /libexec/ld-elf.so.1...done. > Loaded symbols for /libexec/ld-elf.so.1 > #0  0x28ebb062 in flockfile () from /lib/libc.so.7 > [New Thread 29c04900 (LWP

Re: laptop very hot and noisy

2012-05-01 Thread Erich Dollansky
Hi, On Tuesday 01 May 2012 19:41:11 Anton Shterenlikht wrote: > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > On Tue, May 1, 2012 at 8:06 AM, Anton Shterenlikht > > wrote: > > I didn't even know they put fluid heatsinks in laptop. > I thought this was something from IBM c

Re: UFS Crash and directories now missing

2012-05-01 Thread Polytropon
On Wed, 2 May 2012 06:07:23 +0700, Erich Dollansky wrote: > Hi, > > On Tuesday 01 May 2012 20:43:43 Polytropon wrote: > > On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > > > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix

Re: UFS Crash and directories now missing

2012-05-01 Thread Erich Dollansky
Hi, On Tuesday 01 May 2012 20:43:43 Polytropon wrote: > On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > > Admininstration Handbook', by Nemeth, et al. is a good_

Re: netif starting late after upgrade to FreeBSD 9.0 from 8

2012-05-01 Thread Warren Block
On Tue, 1 May 2012, Khairil Yusof wrote: I've just upgraded in place from FreeBSD 8 to FreeBSD 9.0. The upgrade following /usr/src/UPDATING was without any problems. The only issue I have is that there seems to be a race condition for bootup scripts in which netif can start later than devices

Re: netif starting late after upgrade to FreeBSD 9.0 from 8

2012-05-01 Thread Khairil Yusof
Thanks I stumbled upon netwait already. The only problem I have now is PF. The rules of course include network interfaces but lo0 doesn't seem to be up yet. On May 2, 2012 8:44 AM, "Warren Block" wrote: > On Tue, 1 May 2012, Khairil Yusof wrote: > > I've just upgraded in place from FreeBSD 8 to

Re: UFS Crash and directories now missing

2012-05-01 Thread Erich Dollansky
Hi, On Tuesday 01 May 2012 20:43:43 Polytropon wrote: > On Tue, 01 May 2012 00:37:51 -0700, Edward M wrote: > > On 04/30/2012 10:58 PM, Robert Bonomi wrote: > > > Reading_both_ of McKusick's "Design of .." books, and the 'Unix System > > > Admininstration Handbook', by Nemeth, et al. is a good_

Re: laptop very hot and noisy

2012-05-01 Thread Erich Dollansky
Hi, On Tuesday 01 May 2012 20:52:11 Polytropon wrote: > On Tue, 1 May 2012 13:41:11 +0100, Anton Shterenlikht wrote: > > On Tue, May 01, 2012 at 08:25:11AM -0400, Alejandro Imass wrote: > > Not a big issue. Make sure you can remember which parts belong where. > Make photos if it helps you, or dra

Re: Segmentation fault in FreeBSD 9.0 flockfile ()

2012-05-01 Thread Unga
From: Darren Baginski To: Unga >Cc: "freebsd-questions@freebsd.org" >Sent: Tuesday, May 1, 2012 7:04 PM >Subject: Re: Segmentation fault in FreeBSD 9.0 flockfile () > >Hi! > >Mind to share code snippet caused the problem? > >01.05.2012, 22:08, "Unga" : >> Hi all >> >> I'm getting a  Segmenta

Re: Segmentation fault in FreeBSD 9.0 flockfile ()

2012-05-01 Thread Robert Bonomi
Unga wrote; > From: Darren Baginski > > Unga wrote: > > > >01.05.2012, 22:08, "Unga" : > >> Hi all > >> > >> I'm getting a Segmentation fault in FreeBSD 9.0 as follows for myprog.c: > >> > >> Reading symbols from /libexec/ld-elf.so.1...done. > >> Loaded symbols for /libexec/ld-elf.so.1 > >> #