Re: ntpd fails on boot

2010-12-15 Thread Guido Falsi
On Tue, Dec 14, 2010 at 06:02:53PM -0800, Jeremy Chadwick wrote: > > For example: if you have two NICs (LAN and WLAN), both of which are > connected + configured during network configuration time, and both go to > the Internet, then it really doesn't matter which interface you choose > in netwait_

How to debug a double fault? (Re: Could MSGBUF_SIZE be made a loader tunable?)

2010-12-15 Thread perryh
Andriy Gapon wrote: > on 06/12/2010 07:20 per...@pluto.rain.com said the following: > > Would there be some fundamental problem in changing MSGBUF_SIZE > > from a compiled-in constant to a tunable that could be set at the > > loader prompt? > > I didn't see any obvious downside from examining the

vm.swap_reserved toooooo large?

2010-12-15 Thread George Mamalakis
Dear all, I was testing a program that would exhaust all my memory (in C++), and when this would happen, it would call set_new_handler() along with one of my functions that would inform the user about the lack of memory and then it would exit the program. Instead, the program was force-killed

Re: vm.swap_reserved toooooo large?

2010-12-15 Thread Trond Endrestøl
On Wed, 15 Dec 2010 13:04+0200, George Mamalakis wrote: > I was testing a program that would exhaust all my memory (in C++), > and when this would happen, it would call set_new_handler() along > with one of my functions that would inform the user about the lack > of memory and then it would exi

Re: How to debug a double fault? (Re: Could MSGBUF_SIZE be made a loader tunable?)

2010-12-15 Thread Andriy Gapon
on 15/12/2010 12:37 per...@pluto.rain.com said the following: > Fatal double fault: > eip = 0xc07feb98 > esp = 0xc101e000 > ebp = 0xc101e004 > cpuid = 0; apic id = 00 > panic: double fault > cpuid = 0 > > How do I go about tracking this down? Do you have the standard debugging options in your ker

Re: vm.swap_reserved toooooo large?

2010-12-15 Thread George Mamalakis
On 15/12/2010 13:26, Trond Endrestøl wrote: On Wed, 15 Dec 2010 13:04+0200, George Mamalakis wrote: I was testing a program that would exhaust all my memory (in C++), and when this would happen, it would call set_new_handler() along with one of my functions that would inform the user about the

Re: vm.swap_reserved toooooo large?

2010-12-15 Thread Kostik Belousov
On Wed, Dec 15, 2010 at 03:43:56PM +0200, George Mamalakis wrote: > On 15/12/2010 13:26, Trond Endrest??l wrote: > >On Wed, 15 Dec 2010 13:04+0200, George Mamalakis wrote: > > > >>I was testing a program that would exhaust all my memory (in C++), > >>and when this would happen, it would call set_ne

Re: vm.swap_reserved toooooo large?

2010-12-15 Thread George Mamalakis
On 15/12/2010 15:51, Kostik Belousov wrote: On Wed, Dec 15, 2010 at 03:43:56PM +0200, George Mamalakis wrote: On 15/12/2010 13:26, Trond Endrest??l wrote: On Wed, 15 Dec 2010 13:04+0200, George Mamalakis wrote: I was testing a program that would exhaust all my memory (in C++), and when this w

Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Jeremie Le Hen
Hi, [ Please Cc: me when replying, as I'm not subscribed to -sta...@. ] My filer at home runs FreeBSD. A single data RAID-1 zpool with 10~15 datasets, two of them using compression. Over the night, I got the following panic: Tracing pid 0 tid 100111 td 0x86393a00 kdb_enter(809faa5b,809faa5b,80

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Andriy Gapon
on 15/12/2010 10:28 Jeremie Le Hen said the following: > Hi, > > [ Please Cc: me when replying, as I'm not subscribed to -sta...@. ] > > My filer at home runs FreeBSD. A single data RAID-1 zpool with 10~15 > datasets, two of them using compression. Over the night, I got the > following panic:

named: high memory usage...?

2010-12-15 Thread Chuck Swiger
Hi-- I'd recently updated a machine to 7-STABLE, and I've noticed that named from the base system (which claims to be BIND 9.4-ESV-R4) is using more than twice as much memory as it used to: PID USERNAME THR PRI NICE SIZERES STATETIME WCPU COMMAND 706 bind 4 4

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Jeremie Le Hen
On Wed, Dec 15, 2010 at 07:28:57PM +0200, Andriy Gapon wrote: > on 15/12/2010 10:28 Jeremie Le Hen said the following: > > Hi, > > > > [ Please Cc: me when replying, as I'm not subscribed to -sta...@. ] > > > > My filer at home runs FreeBSD. A single data RAID-1 zpool with 10~15 > > datasets, tw

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Matthew D. Fuller
On Wed, Dec 15, 2010 at 11:55:40PM +0100 I heard the voice of Jeremie Le Hen, and lo! it spake thus: > > I think running a 64 bits kernel would help a lot in that case. > Unfortunately I don't think my CPU supports the instruction set: It does. > AMD Features=0x2000 LM = Long Mode All th

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Chuck Swiger
Hi-- On Dec 15, 2010, at 2:55 PM, Jeremie Le Hen wrote: > I think running a 64 bits kernel would help a lot in that case. > Unfortunately I don't think my CPU supports the instruction set: > > CPU: Intel(R) Core(TM)2 CPU 6320 @ 1.86GHz (1869.88-MHz 686-class > CPU) > Origin = "Genuine

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Dan Nelson
In the last episode (Dec 15), Andriy Gapon said: > on 15/12/2010 10:28 Jeremie Le Hen said the following: > > Hi, > > > > [ Please Cc: me when replying, as I'm not subscribed to -sta...@. ] > > > > My filer at home runs FreeBSD. A single data RAID-1 zpool with 10~15 > > datasets, two of them usi

Re: Panic in ZFS layer on 8.1-STABLE

2010-12-15 Thread Jeremy Chadwick
On Wed, Dec 15, 2010 at 11:55:40PM +0100, Jeremie Le Hen wrote: > On Wed, Dec 15, 2010 at 07:28:57PM +0200, Andriy Gapon wrote: > > on 15/12/2010 10:28 Jeremie Le Hen said the following: > > > Hi, > > > > > > [ Please Cc: me when replying, as I'm not subscribed to -sta...@. ] > > > > > > My filer

Re: ntpd fails on boot

2010-12-15 Thread Dan Allen
On 14 Dec 2010, at 7:02 PM, Jeremy Chadwick wrote: > The design model of these daemons is to assume network connectivity is > working when they start, and netwait > reliably ensures that. Thanks Jeremy for the script. It works like a charm on my system, fixing the problem. Dan _

HELP! /usr/bin/as core dump after 'make world' from RELENG_6 to RELENG_7

2010-12-15 Thread NAKAJI Hiroyuki
Hi, I made world from RELENG_6 to RELENG_7 on my FreeBSD/i386 box. make buildworld ... ok make buildkernel ... ok make installkernel ... maybe ok reboot -- -s ... ok mergemaster -p ... ok make installworld ... ok mergemaster ... ok reboot ... ok And then I did make delete-old BATCH_DELETE_OLD_F

Re: HELP! /usr/bin/as core dump after 'make world' from RELENG_6 to RELENG_7

2010-12-15 Thread Chuck Swiger
Hi, Hiroyuki-- On Dec 15, 2010, at 6:10 PM, NAKAJI Hiroyuki wrote: > After all, "portmaster -a" gets a 'cannot compile' error. I found as.core > in the WRKDIR and 'signal 11' in dmesg. > > I tried "gdb /usr/bin/as as.core" and got gdb.core file ... > > Is there any way to recover from this terri