make world error 9.0-RELEASE #0 i386

2012-04-14 Thread Janos Dohanics
Hello All,

I'm trying to build world after having csupped, but the build fails
with:

c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\i386-unknown-freebsd9.0\ -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaTemplateVariadic.cpp
c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\i386-unknown-freebsd9.0\ -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaType.cpp
c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\i386-unknown-freebsd9.0\ -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/TargetAttributesSema.cpp
c++ -O2 -pipe -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema 
-I. 
-I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include 
-DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS 
-DLLVM_HOSTTRIPLE=\i386-unknown-freebsd9.0\ -fstack-protector -fno-exceptions 
-fno-rtti -c 
/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp
{standard input}: Assembler messages:
{standard input}:57706: Warning: end of file not at end of a line; newline 
inserted
{standard input}: Assembler messages:
{standard input}:71548: Warning: end of file not at end of a line; newline 
inserted
{standard input}:71876: Error: no such instruction: `su'
{standard input}:58857: Error: suffix or operands invalid for `mov'
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1
c++: Internal error: Killed: 9 (program cc1plus)
Please submit a full bug report.
See URL:http://gcc.gnu.org/bugs.html for instructions.
*** Error code 1


2 errors
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
1 error

The build log is at:

http://wwwp.3dresearch.com/KONSTANZE2012041401_buildworld

Would you please advise?

-- 
Janos Dohanics
___
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: make world error 9.0-RELEASE #0 i386

2012-04-14 Thread Janos Dohanics
On Sat, 14 Apr 2012 12:28:52 -0400
Janos Dohanics w...@3dresearch.com wrote:

 Hello All,
 
 I'm trying to build world after having csupped, but the build fails
 with:
 
 [...]
 c++ -O2 -pipe
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema
 -I.
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS
 -D__STDC_CONSTANT_MACROS -DLLVM_HOSTTRIPLE=\i386-unknown-freebsd9.0
 \ -fstack-protector -fno-exceptions -fno-rtti
 -c 
 /usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp
 {standard input}: Assembler messages: {standard input}:57706:
 Warning: end of file not at end of a line; newline inserted {standard
 input}: Assembler messages: {standard input}:71548: Warning: end of
 file not at end of a line; newline inserted {standard input}:71876:
 Error: no such instruction: `su' {standard input}:58857: Error:
 suffix or operands invalid for `mov' c++: Internal error: Killed: 9
 (program cc1plus) Please submit a full bug report. See
 URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1
 c++: Internal error: Killed: 9 (program cc1plus) Please submit a full
 bug report. See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 [...]

I wanted to note that the error occurred when I used make buildworld
with the -j8 switch. Without the -j8 switch the build completed
without errors. 

-- 
Janos Dohanics
___
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: FreeBSD 9, GPT and gmirror

2012-02-10 Thread Janos Dohanics
On Thu, 09 Feb 2012 07:02:29 -0800
per...@pluto.rain.com wrote:

 Janos Dohanics w...@3dresearch.com wrote:
 
  1. The Guided partitioning doesn't suggest any more to
  create /var, /tmp, /usr, etc. file systems. Is it really
  the recommendation to go with just / ?
 
 Depends on who you ask :) and on your intended usage.
 
  2. Is there a way to use the old sysinstall to install FreeBSD 9? 
 
 Not using the standard distribution IIUC.  You might want to look
 at http://druidbsd.sf.net/
 [...]

This may be just what I need - thank you.

-- 
Janos Dohanics
___
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: FreeBSD 9, GPT and gmirror

2012-02-10 Thread Janos Dohanics
On Thu, 09 Feb 2012 20:20:03 +0100
Michael Cardell Widerkrantz m...@hack.org wrote:

 Janos Dohanics w...@3dresearch.com, 2012-02-08 19:42 (+0100):
 
  4. Also, with GPT, one has to be in single user mode to synchronize
  disks - correct?
 
 I think the guide you linked to:
 
   http://blather.michaelwlucas.com/archives/1071
 
 meant that you have to be in single user mode until you have edited
 /etc/fstab to point to the mirror, otherwise you wouldn't boot with
 root on the mirror. The synchronization between the disks works fine
 in multi-user mode as well.
 
 I have two 2 TiB disks in gmirror set up just like that.
 Synchronization was done running in multi-user.

You are right - just removed and then re-inserted a component in one of
the mirrors and the mirror synchronized fine in multi-user mode.
 
-- 
Janos Dohanics
___
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


FreeBSD 9, GPT and gmirror

2012-02-08 Thread Janos Dohanics
Hello Everyone,

May be I should have searched more for answers, but after installing
FreeBSD 9 with gmirror, I am wondering if the experts here have some
recommendations for best practices.

1. The Guided partitioning doesn't suggest any more to
create /var, /tmp, /usr, etc. file systems. Is it really the
recommendation to go with just / ?

2. Is there a way to use the old sysinstall to install FreeBSD 9? 

3. It seems that setting up gmirror is more involved with GPT
(http://blather.michaelwlucas.com/archives/1071); now I have a mirror
for each of the filesystems /, /var, /tmp, etc. Is it OK to use gmirror
in this way at all?

4. Also, with GPT, one has to be in single user mode to synchronize
disks - correct?

3. Assuming one has enough RAM, is zfs mirror or raidz recommended over
gmirror?

Prior to FreeBSD 9, I used to take the the sysinstall defaults with
some overrides as I thought appropriate and proceeded to set up
gmirror - it was simple and not a lot of work, and a good way to make
use of older systems...

-- 
Janos Dohanics
___
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


Question about block size

2012-01-24 Thread Janos Dohanics
Hello Everyone,

I seem to remember a thread which I can't find now which discussed the
long time it takes to make freebsd-snapshots on large disks. I also
seem to remember that one suggestion was to use larger block size.

I have a pair of 2 TB hard drives assembled in a gmirror, which is to
be added to an existing server. There will be 3 partitions about the
same sizes on the 2 TB mirror.

What block size should I use if I'd like to use freebsd-snapshots?

-- 
Janos Dohanics
___
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: Cannot create 2nd gmirror

2012-01-06 Thread Janos Dohanics
On Fri, 6 Jan 2012 11:55:50 +1030
William Brown william.e.br...@adelaide.edu.au wrote:

  
  I am trying to add a second gmirror, gm1:
  
  # sysctl kern.geom.debugflags=16
  kern.geom.debugflags: 16 - 16
  
  # gmirror label -v -b round-robin gm1 /dev/ad4
  Metadata value stored on /dev/ad4.
  Done.
  
  # gmirror insert gm1 /dev/ad6
  gmirror: No such device: gm1.
  
  Why does gm1 fail to be created?
  
 
 What is the output of gmirror list after you run the gmirror label? 
 
 Alternately, according to
 http://www.freebsd.org/cgi/man.cgi?query=gmirrorapropos=0sektion=0manpath=FreeBSD+6.1-RELEASEformat=html
 you should be able to just run 
 
 gmirror label -v -b round-robin gm1 /dev/ad4 /dev/ad6
 gmirror rebuild gm1 /dev/ad6
 
 
 Sincerely,
 
 William Brown
 
 Research  Teaching, Technology Services
 The University of Adelaide, AUSTRALIA 5005

gmirror list only showed gm0; it did did not show gm1, nor were there
any gm1* entries in /dev/mirror.

However, as soon as I have unmounted /dev/ad4s1d, /dev/ad4s1e,
and /dev/ad4s1f, gm1 was automagically created:

Jan  4 20:21:27 0.2 isolde kernel: GEOM_MIRROR: Device mirror/gm1 launched 
(1/1).
Jan  4 20:21:27 0.2 isolde kernel: GEOM: mirror/gm1s1: geometry does not 
match label (16h,63s != 255h,63s).
Jan  4 21:22:32 0.2 isolde kernel: GEOM_MIRROR: Device gm1: rebuilding 
provider ad6.

Don't quite understand why creating gm1 happened only after unmounting
the filesystems on ad4.

-- 
Janos Dohanics
___
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: Apparently conflicting smartctl output

2012-01-06 Thread Janos Dohanics
On Thu, 05 Jan 2012 11:56:44 -0800
Chuck Swiger cswi...@mac.com wrote:

 On Jan 5, 2012, at 11:42 AM, Janos Dohanics wrote:
  - Do I have a bad hard drive (apparently, I do...)
  
  - Why are there No Errors Logged by smartctl?
 
 You've probably got a bad sector on the drive, anyway.
 
 The SMART error log is a funny thing governed by various drive's
 firmware which have quirks.  Some of 'em only have a self-test log,
 but don't store the error log at all; others will only record an
 error after they've given up trying to remap a failing sector.  You
 snipped too much of the smartctl output to see what the Error
 logging capability section says-- the full output would be more
 informative.
 
 You almost certainly want to do a full read-scan of the drive via dd
 if=/dev/ad4 of=/dev/null bs=64k, which will help the drive notice
 any other failing sectors.  Repeat dd if it aborts early with an
 error (or add conv=noerror, maybe).
 
 Regards,
 -- 
 -Chuck

Chuck,

Thank you - dd says:

dd: /dev/ad4: Input/output error
10025840+0 records in
10025840+0 records out
657053450240 bytes transferred in 5230.204427 secs (125626724 bytes/sec)

I have to replace this drive.

-- 
Janos Dohanics
___
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


Apparently conflicting smartctl output

2012-01-05 Thread Janos Dohanics
Hello Everyone,

I was trying to set up a new gmirror with components ad4 and ad6 in a
machine which already has one, but the new gmirror doesn't finish syncing:

Jan  4 20:21:27 0.2 isolde kernel: GEOM_MIRROR: Device mirror/gm1 launched 
(1/1).
Jan  4 21:22:32 0.2 isolde kernel: GEOM_MIRROR: Device gm1: rebuilding 
provider ad6.
Jan  4 23:43:50 0.2 isolde kernel: GEOM_MIRROR: Request failed (error=5). 
ad4[READ(offset=657053450240, length=131072)]
Jan  4 23:43:50 0.2 isolde kernel: GEOM_MIRROR: Synchronization request 
failed (error=5). mirror/gm1[READ(offset=657053450240, length=131072)]

I then ran smartctl short and long tests on both ad4 and ad6:

# smartctl -l error /dev/ad4
smartctl 5.41 2011-06-09 r3365 [FreeBSD 8.2-STABLE amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART Error Log Version: 1
No Errors Logged

No errors logged... but then:

# smartctl -a /dev/ad4
smartctl 5.41 2011-06-09 r3365 [FreeBSD 8.2-STABLE amd64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Caviar Black
Device Model: WDC WD2002FAEX-007BA0
Serial Number:WD-WMAY03714307
LU WWN Device Id: 5 0014ee 0ad99b304
Firmware Version: 05.01D05
User Capacity:2,000,398,934,016 bytes [2.00 TB]
Sector Size:  512 bytes logical/physical
Device is:In smartctl database [for details use: -P show]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Thu Jan  5 14:34:13 2012 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

[...]

SMART Self-test log structure revision number 1
Num  Test_DescriptionStatus  Remaining  LifeTime(hours)  
LBA_of_first_error
# 1  Short offline   Completed: read failure   90%  1863 
1283307620
# 2  Short offline   Completed: read failure   90%  1860 
1283307620
# 3  Extended offlineCompleted: read failure   90%  1742 
1283307620

So, my questions are:

- Do I have a bad hard drive (apparently, I do...)

- Why are there No Errors Logged by smartctl?

-- 
Janos Dohanics
___
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


Cannot create 2nd gmirror

2012-01-04 Thread Janos Dohanics
Hello Everyone,

I have system with gmirror gm0:

# gmirror list
Geom name: gm0
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 3516398316
Providers:
1. Name: mirror/gm0
   Mediasize: 320072932864 (298G)
   Sectorsize: 512
   Mode: r5w5e14
Consumers:
1. Name: ad8
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 95660722
2. Name: ad10
   Mediasize: 320072933376 (298G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 632264112

I am trying to add a second gmirror, gm1:

# sysctl kern.geom.debugflags=16
kern.geom.debugflags: 16 - 16

# gmirror label -v -b round-robin gm1 /dev/ad4
Metadata value stored on /dev/ad4.
Done.

# gmirror insert gm1 /dev/ad6
gmirror: No such device: gm1.

Why does gm1 fail to be created?

-- 
Janos Dohanics
___
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: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Janos Dohanics
On Mon, 02 Jan 2012 07:18:53 +0100
Marco Steinbach c...@executive-computing.de wrote:

 Janos Dohanics wrote on 31.12.2011 19:56:
  Buildworld stopped with this error (with updated source):
  
  [...]
  cc -O3  -DNEED_SOLARIS_BOOLEAN
 [...]
  
  I have posted the build log at
  http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
  
  Would you please advise?
 
 Quoting /usr/share/examples/etc/make.conf:
 
 # CFLAGS controls the compiler settings used when compiling C code.
 # Note that optimization settings other than -O and -O2 are not
 # recommended or supported for compiling the world or the kernel -
 # please revert any nonstandard optimization settings to -O or -O2
 # -fno-strict-aliasing before submitting bug reports without patches
 # to the developers.
 
 The error you're seeing is a result from using O3 for building the 
 source in question -- At least my 8.2-STABLE ran into the same
 problem, once I used O3, instead of the default '-O2 -pipe'.
 
 MfG CoCo

Thank you, there was indeed the line CFLAGS=-O3 in make.conf, after I
have commented it out, I could build world.

I'm wondering how was my make.conf changed though; I'm sure I did not
add CFLAGS=-O3 - is it possible that one of the ports have added this?

-- 
Janos Dohanics
___
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: buildworld error 8.2-STABLE amd64

2012-01-02 Thread Janos Dohanics
On Mon, 02 Jan 2012 13:15:59 +0100
Marco Steinbach c...@executive-computing.de wrote:

 Janos Dohanics wrote on 02.01.2012 11:04:
  On Mon, 02 Jan 2012 07:18:53 +0100
  Marco Steinbach c...@executive-computing.de wrote:
  
  Janos Dohanics wrote on 31.12.2011 19:56:
  Buildworld stopped with this error (with updated source):
 
  [...]
  cc -O3  -DNEED_SOLARIS_BOOLEAN
  [...]
  I have posted the build log at
  http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld
 
  Would you please advise?
  Quoting /usr/share/examples/etc/make.conf:
 
  # CFLAGS controls the compiler settings used when compiling C code.
  # Note that optimization settings other than -O and -O2 are not
  # recommended or supported for compiling the world or the kernel -
  # please revert any nonstandard optimization settings to -O or
  # -O2 -fno-strict-aliasing before submitting bug reports without
  # patches to the developers.
 
  The error you're seeing is a result from using O3 for building the 
  source in question -- At least my 8.2-STABLE ran into the same
  problem, once I used O3, instead of the default '-O2 -pipe'.
 
  MfG CoCo
  
  Thank you, there was indeed the line CFLAGS=-O3 in make.conf,
  after I have commented it out, I could build world.
  
  I'm wondering how was my make.conf changed though; I'm sure I did
  not add CFLAGS=-O3 - is it possible that one of the ports have
  added this?
 
 Although, as far as I can tell, not explicitly forbidden in the
 porter's handbook, I think that to be highly unlikely in the case of
 CFLAGS.
 
 The least I'd expect would be some kind notice, if so intrusive a
 change is done deliberately.
 
 
 If I'd suspect a port fiddling with /etc/make.conf, I'd probably go 
 looking for entries carrying a timestamp close to /etc/make.confs in 
 /var/db/pkg.  Of course, this largely depends on what happened in 
 between the time of actual modification and me noticing, but I think 
 that's the first thing I'd do.
 
 MfG CoCo

Thanks again, unfortunately, I have edited /etc/make.conf and did not
make note of the time stamp...

-- 
Janos Dohanics
___
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: Single user mode exits unexpectedly

2012-01-01 Thread Janos Dohanics
On Sat, 31 Dec 2011 09:39:41 +0100
Polytropon free...@edvax.de wrote:

 On Sat, 31 Dec 2011 00:57:04 -0500, Janos Dohanics wrote:
  I have just rebuilt world and kernel according to the Handbook,
  installed the new kernel, rebooted, logged in, issued sudo shutdown
  now - the machine entered single user mode, then immediately exited
  without any intervention by me and continued to boot into multiuser
  mode.
 
 That's not the procedure required. From the comment section
 of /usr/src/Makefile:
 
  1.  `cd /usr/src'   (or to the directory containing your source
 tree).
  2.  `make buildworld'
  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is
 GENERIC).
  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is
 GENERIC). [steps 3.  4. can be combined by using the kernel target]
  5.  `reboot'(in single user mode: boot -s from the loader
 prompt).
  6.  `mergemaster -p'
  7.  `make installworld'
  8.  `make delete-old'
  9.  `mergemaster'(you may wish to use -i, along with -U
 or -F).
 10.  `reboot'
 11.  `make delete-old-libs' (in case no 3rd party program uses them
 anymore)
 
 Step 5: reboot _into_ single user mode. After installing
 the kernel and shutting down the system, let it come up
 to the kernel loader. You can enter that stage by pressing
 the space bar several times. If I remember correctly,
 you'll then see prompt

Well, rebuilt World, kernel, installed kernel, rebooted into single
user mode, installed world, but still have the same problem. When going
from multi user mode to single user mode: the computer immediately exits
single user mode and boots into multi user mode. When starting the
system and booting into single user mode, this does not happen.

I'd appreciate your suggestions...

-- 
Janos Dohanics
___
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: Single user mode exits unexpectedly

2011-12-31 Thread Janos Dohanics
On Sat, 31 Dec 2011 09:39:41 +0100
Polytropon free...@edvax.de wrote:

 On Sat, 31 Dec 2011 00:57:04 -0500, Janos Dohanics wrote:
  I have just rebuilt world and kernel according to the Handbook,
  installed the new kernel, rebooted, logged in, issued sudo shutdown
  now - the machine entered single user mode, then immediately exited
  without any intervention by me and continued to boot into multiuser
  mode.
 
 That's not the procedure required. From the comment section
 of /usr/src/Makefile:
 
  1.  `cd /usr/src'   (or to the directory containing your source
 tree).
  2.  `make buildworld'
  3.  `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is
 GENERIC).
  4.  `make installkernel KERNCONF=YOUR_KERNEL_HERE'   (default is
 GENERIC). [steps 3.  4. can be combined by using the kernel target]
  5.  `reboot'(in single user mode: boot -s from the loader
 prompt).
  6.  `mergemaster -p'
  7.  `make installworld'
  8.  `make delete-old'
  9.  `mergemaster'(you may wish to use -i, along with -U
 or -F).
 10.  `reboot'
 11.  `make delete-old-libs' (in case no 3rd party program uses them
 anymore)
 
 Step 5: reboot _into_ single user mode. After installing
 the kernel and shutting down the system, let it come up
 to the kernel loader. You can enter that stage by pressing
 the space bar several times. If I remember correctly,
 you'll then see prompt

You are right, the Handbook says Reboot into single user mode, and I
should have just followed it. Nonetheless, I used to reboot normally,
and then drop in single user mode - can't remember ever seeing this
problem.

Thank you, I'll try it next time I'm at that machine...

-- 
Janos Dohanics
___
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


buildworld error 8.2-STABLE amd64

2011-12-31 Thread Janos Dohanics
Buildworld stopped with this error (with updated source):

[...]
cc -O3  -DNEED_SOLARIS_BOOLEAN
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/compat/opensolaris/include
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/head
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/common
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris/uts/common
-DNEED_SOLARIS_BOOLEAN -g -std=gnu89 -fstack-protector -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -Wno-unknown-pragmas
-c 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/output.c
cc -O3  -DNEED_SOLARIS_BOOLEAN
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/compat/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/compat/opensolaris/include
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/head
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/common
-I/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt
-I/usr/src/cddl/usr.bin/ctfconvert/../../../sys/cddl/contrib/opensolaris/uts/common
-DNEED_SOLARIS_BOOLEAN -g -std=gnu89 -fstack-protector -Wsystem-headers
-Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
-Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align
-Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs
-Wredundant-decls -Wno-pointer-sign -Wno-unknown-pragmas
-c 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c
cc1: warnings being treated as
errors 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:
In function
'tdefdecl': 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:777:
warning: 'width' may be used uninitialized in this
function 
/usr/src/cddl/usr.bin/ctfconvert/../../../cddl/contrib/opensolaris/tools/ctf/cvt/st_parse.c:777:
note: 'width' was declared here *** Error code 1

Stop in /usr/src/cddl/usr.bin/ctfconvert.
*** Error code 1

Stop in /usr/src/cddl/usr.bin.
*** Error code 1

Stop in /usr/src/cddl.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I have posted the build log at
http://wwwp.3dresearch.com/ALMAVIVA2011123101_buildworld

Would you please advise?

-- 
Janos Dohanics
___
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


Single user mode exits unexpectedly

2011-12-30 Thread Janos Dohanics
I have just rebuilt world and kernel according to the Handbook,
installed the new kernel, rebooted, logged in, issued sudo shutdown
now - the machine entered single user mode, then immediately exited
without any intervention by me and continued to boot into multiuser
mode.

Here is a snippet from /var/log/messages:

Dec 30 17:41:15 iguana rc.shutdown: 30 second watchdog timeout expired. 
Shutdown terminated.
Dec 30 17:41:15 iguana init: /bin/sh on /etc/rc.shutdown terminated abnormally, 
going to single user mode
Dec 30 17:41:15 iguana syslogd: exiting on signal 15---
Dec 30 17:41:28 iguana syslogd: kernel boot file is /boot/kernel/kernel ---

This seems to be happening every time in response to shutdown now.

However, I can cold boot this machine into single user mode with
nothing unusual.

This is FreeBSD 8.2-STABLE amd64, rebuilt on 12/26/2011

I guess I may have unintentionally changed a config file? Where should
I look?

-- 
Janos Dohanics
___
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


postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
Could you comment on the pros and cons of using INST_BASE=on in postfix
on a production server?

-- 
Janos Dohanics
___
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: postfix INST_BASE option

2011-11-03 Thread Janos Dohanics
On Thu, 3 Nov 2011 11:23:46 -0400
Alejandro Imass a...@p2ee.org wrote:

 On Thu, Nov 3, 2011 at 10:47 AM, Janos Dohanics w...@3dresearch.com
 wrote:
  Could you comment on the pros and cons of using INST_BASE=on in
  postfix on a production server?
 
 
 Great question! I know there has been some discussion to be able to
 choose your base MTA upon install but I don't know how far this has
 gone.
 I don't use that option but rather install it as a regular port,
 register it in mailer.conf when it asks you to and then do this in
 your rc.conf
 
 sendmail_enable=NO
 sendmail_submit_enable=NO
 sendmail_outbound_enable=NO
 sendmail_msp_queue_enable=NO
 postfix_enable=YES
 
 I haven't used the INST_BASE option out of fear that it might give me
 trouble on building world and upgrading. Also a new approach I'm
 taking is using EzJail for service jails so use a pure MTA jail and
 use the base sendmail as a relay to that. For the time being I'm using
 posfix on the base system to relay  but in the future I plan to do it
 with the native sendmail and only use postfix on the MTA service jail.
 
 -- 
 Alejandro Imass

That's exactly what I have done when setting up systems, as well as
setting WITHOUT_SENDMAIL in src.conf, as Lowell Gilbert mentioned.

With the above options, Sendmail is disabled, is not being built
with buildworld, and Postfix is installed as regular port in /usr/local.

If INST_BASE=off is the default, what's then the usage scenario when I
still would want to change it?

-- 
Janos Dohanics
___
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: Timestamps shifted by 8 hours

2011-10-04 Thread Janos Dohanics
On Tue, 04 Oct 2011 09:38:46 +0100
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 On 04/10/2011 05:29, Janos Dohanics wrote:
  I have pfSense-2.0 for gateway/firewall (10.10.10.2).
  
  10.10.10.2 logs to 10.10.10.252, which runs FreeBSD 7.4-STABLE.
  
  10.10.10.252 is the ntpd server for this LAN.
  
  On 10.10.10.2:
  
  date
  
  Tue Oct  4 00:00:42 EDT 2011
  
  On 10.10.10.252:
  
  $date
  Tue Oct  4 00:00:50 EDT 2011
  (just after logging out of 10.10.10.2, so they seem to be in sync)
  
  However, timestamps in pfsense.log, residing on 10.10.10.252, are
  shifted by 8 hours, for example:
  
  $ tail -f /var/log/pfsense.log
  Oct  4 09:00:01 10.10.10.2 pf: 00:00:00.748775 rule 1/0(match):
  [...] 
  
  I guess I should read some man page...

Thank you for your reply.

 I'd say this is probably the standard thing about the system clock
 running UTC vs running wall-clock time.  But 8 hours is /twice/ the
 difference between EDT and UTC -- which is suspicious.

Actually, it's 9 hours, not 8.

Just looked in /var/log/filter.log residing on 10.10.10.2. Timestamps
are ahead by 9 hours. However, date shows the correct time (correct to
a few seconds).

On the other hand, /var/log/system.log shows correct timestamps.

So, I asked the wrong question. The question I should be asking is: Why
are timestamps wrong in /var/log/filter.log even though date shows the
correct time? However, this question I should ask the pfSense list...

 For dedicated FreeBSD machines I'd recommend running the system clock
 in UTC.  That avoids a lot of pointless conversion between timezones
 when running ntpd (NTP basically works in UTC internally).  So long
 as the file /etc/wall_cmos_clock *doesn't* exist the system clock
 assumes UTC
 -- see adjkerntz(8) for the details of how it all works.  Also check
 the localtime setup with tzsetup(8).
 
 [...]
 
 You don't say if your NTP server is a FreeBSD box or not, but the same
 arguments apply to any Unix-oid OS and you should make the same sort
 of checks there too, as well as on your firewall.

It is, but doesn't seem to be relevant to the problem.

Thank you again,

-- 
Janos Dohanics
___
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: Timestamps shifted by 8 hours

2011-10-04 Thread Janos Dohanics
On Tue, 04 Oct 2011 15:50:15 +0200
Damien Fleuriot m...@my.gd wrote:

 
 
 On 10/4/11 6:29 AM, Janos Dohanics wrote:
  I have pfSense-2.0 for gateway/firewall (10.10.10.2).
  
  10.10.10.2 logs to 10.10.10.252, which runs FreeBSD 7.4-STABLE.
  
  10.10.10.252 is the ntpd server for this LAN.
  
  On 10.10.10.2:
  
  date
  
  Tue Oct  4 00:00:42 EDT 2011
  
  On 10.10.10.252:
  
  $date
  Tue Oct  4 00:00:50 EDT 2011
  (just after logging out of 10.10.10.2, so they seem to be in sync)
  
  However, timestamps in pfsense.log, residing on 10.10.10.252, are
  shifted by 8 hours, for example:
  
  $ tail -f /var/log/pfsense.log
  Oct  4 09:00:01 10.10.10.2 pf: 00:00:00.748775 rule 1/0(match):
  [...] 
  
  I guess I should read some man page...
  
 
 
 
 In your pfsense web administration page:
 System - general setup - Time Zone

It's been set to America/New_York...

-- 
Janos Dohanics
___
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: Timestamps shifted by 8 hours

2011-10-04 Thread Janos Dohanics
On Tue, 04 Oct 2011 15:55:46 +0200
Damien Fleuriot m...@my.gd wrote:

 
 
 On 10/4/11 3:54 PM, Janos Dohanics wrote:
  On Tue, 04 Oct 2011 15:50:15 +0200
  Damien Fleuriot m...@my.gd wrote:
  
 
 
  On 10/4/11 6:29 AM, Janos Dohanics wrote:
  I have pfSense-2.0 for gateway/firewall (10.10.10.2).
 
  10.10.10.2 logs to 10.10.10.252, which runs FreeBSD 7.4-STABLE.
 
  10.10.10.252 is the ntpd server for this LAN.
 
  On 10.10.10.2:
 
  date  

  Tue Oct  4 00:00:42 EDT 2011
 
  On 10.10.10.252:
 
  $date
  Tue Oct  4 00:00:50 EDT 2011
  (just after logging out of 10.10.10.2, so they seem to be in sync)
 
  However, timestamps in pfsense.log, residing on 10.10.10.252, are
  shifted by 8 hours, for example:
 
  $ tail -f /var/log/pfsense.log
  Oct  4 09:00:01 10.10.10.2 pf: 00:00:00.748775 rule 1/0(match):
  [...] 
 
  I guess I should read some man page...
 
 
 
 
  In your pfsense web administration page:
  System - general setup - Time Zone
  
  It's been set to America/New_York...
  
 
 And is that what you wanted ?
 
 Is that the same as your other hosts ?

Yes and yes.

-- 
Janos Dohanics
___
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: Timestamps shifted by 8 hours

2011-10-04 Thread Janos Dohanics
On Tue, 4 Oct 2011 04:05:48 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:

 
  Date: Tue, 4 Oct 2011 00:29:10 -0400
  From: Janos Dohanics w...@3dresearch.com
  To: FreeBSD Questions freebsd-questions@freebsd.org
  Subject: Timestamps shifted by 8 hours
 
  I have pfSense-2.0 for gateway/firewall (10.10.10.2).
 
  10.10.10.2 logs to 10.10.10.252, which runs FreeBSD 7.4-STABLE.
 
  10.10.10.252 is the ntpd server for this LAN.
 
  On 10.10.10.2:
 
  date
  
  Tue Oct  4 00:00:42 EDT 2011
 
  On 10.10.10.252:
 
  $date
  Tue Oct  4 00:00:50 EDT 2011
  (just after logging out of 10.10.10.2, so they seem to be in sync)
 
  However, timestamps in pfsense.log, residing on 10.10.10.252, are
  shifted by 8 hours, for example:
 
  $ tail -f /var/log/pfsense.log
  Oct  4 09:00:01 10.10.10.2 pf: 00:00:00.748775 rule 1/0(match):
  [...] 
 
  I guess I should read some man page...
 
 I'll take your word that the 'error' is 8 hours.
 
 Presuming that pfsense is logginvg via 'syslog', then, -on- the .252
 machine, try using the 'logger' commnd  to send messages to the 
 pfsense log file.   you'll need the '-p' switch to get the right
 facility and seveity level. 
 
 *IF this logs with the 'wrong' time, then you have a 'local' problem
 onf the .252 machine.  It is booting up with the *wrong* timezone (GMT
 +4) specified for 'local' time  -- and _that_ timezone is in effect
 when syslog starts.  But, by the time you complete an interactive
 login, the 'environment' for your session says the timezone is
 US/Eastern (GMT-4), so a 'date' command, from the shell prompt, shows
 a grossly different offset from GMT than what the syslog deamon
 thinks the offset is.
 
 *IF* 'logger' items from the .252 machine post correctly, then you
 need to try running 'logger' on the pfsense box, -first-, explicitly
 telling logger the -remote- (i.e., the .252 machine) host/port to log
 to, then -second-, _not_ specifying any host. and see how those log.

Thank you; I asked the wrong question in my first post:
http://lists.freebsd.org/pipermail/freebsd-questions/2011-October/234214.html

-- 
Janos Dohanics
___
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: Timestamps shifted by 8 hours

2011-10-04 Thread Janos Dohanics
On Tue, 04 Oct 2011 16:44:59 +0100
Matthew Seaman m.sea...@infracaninophile.co.uk wrote:

 On 04/10/2011 14:50, Janos Dohanics wrote:
  So, I asked the wrong question. The question I should be asking is:
  Why are timestamps wrong in /var/log/filter.log even though date
  shows the correct time? However, this question I should ask the
  pfSense list...
 
 Hmmm...
 
 Somewhat of an outside chance, but timezones can be set per-process,
 just by setting TZ in the environment.  Make sure that procfs(5) is
 mounted, and try running
 
ps -auxwwwe | grep TZ

Well, my pfSense installation does not have /proc, and I'd hate to mess
with a production system of a customer...

 If there is a process with TZ set in the environment, especially if it
 is set to 'America/Los_Angeles' or similar (9 hours offset from UTC is
 typical for PDT)[*] that's probably your smoking gun right there.  Do
 you have West Coast based users/admins who might have restarted some
 processes or reloaded firewall rulesets?
 
   Cheers,
 
   Matthew
 
 [*] Or else on Guam or some other part of the Eastern Pacific?

I'm the only one (I hope...) with access to this box...

-- 
Janos Dohanics
___
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


Timestamps shifted by 8 hours

2011-10-03 Thread Janos Dohanics
I have pfSense-2.0 for gateway/firewall (10.10.10.2).

10.10.10.2 logs to 10.10.10.252, which runs FreeBSD 7.4-STABLE.

10.10.10.252 is the ntpd server for this LAN.

On 10.10.10.2:

date

Tue Oct  4 00:00:42 EDT 2011

On 10.10.10.252:

$date
Tue Oct  4 00:00:50 EDT 2011
(just after logging out of 10.10.10.2, so they seem to be in sync)

However, timestamps in pfsense.log, residing on 10.10.10.252, are
shifted by 8 hours, for example:

$ tail -f /var/log/pfsense.log
Oct  4 09:00:01 10.10.10.2 pf: 00:00:00.748775 rule 1/0(match): [...]
   

I guess I should read some man page...

-- 
Janos Dohanics
___
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


System stop

2011-06-11 Thread Janos Dohanics
Last night one of my systems stopped, it's FreeBSD 7.4-STABLE, i386.
In /var/log/messages I found this:

Jun 10 23:11:59 mail1 acpi: resumed at 20110610 23:11:59
Jun 10 23:11:59 mail1 postfix/postfix-script[50651]: stopping the Postfix mail 
system
Jun 10 23:11:59 mail1 postfix/master[92051]: terminating on signal 15
Jun 10 23:11:59 mail1 ntpd[746]: ntpd exiting on signal 15
Jun 10 23:11:59 mail1 syslogd: exiting on signal 15

I guess the entry acpi: resumed at 20110610 23:11:59 has to do
something with the fact that the system had stopped - would some please
comment on this? Does this entry indicate a hardware failure?

-- 
Janos Dohanics
___
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: System stop

2011-06-11 Thread Janos Dohanics
On Sat, 11 Jun 2011 14:25:53 -0400
Michael Powell nightre...@hotmail.com wrote:

 Janos Dohanics wrote:
 
  Last night one of my systems stopped, it's FreeBSD 7.4-STABLE, i386.
  In /var/log/messages I found this:
  
  Jun 10 23:11:59 mail1 acpi: resumed at 20110610 23:11:59
  Jun 10 23:11:59 mail1 postfix/postfix-script[50651]: stopping the
  Postfix mail system Jun 10 23:11:59 mail1 postfix/master[92051]:
  terminating on signal 15 Jun 10 23:11:59 mail1 ntpd[746]: ntpd
  exiting on signal 15 Jun 10 23:11:59 mail1 syslogd: exiting on
  signal 15
  
  I guess the entry acpi: resumed at 20110610 23:11:59 has to do
  something with the fact that the system had stopped - would some
  please comment on this? Does this entry indicate a hardware failure?
  
 
 Only a wild guess off the top of my head, but look at your BIOS and
 disable any power management sleep and/or suspend modes. Laptops can
 sleep, probably not a good idea for servers. Only a hasty guess, but
 maybe somewhere to start.
 
 -Mike

Mike,

I thought about this, but this machine is a relay for a moderate amount
of mail, and it's seldom idle for longer than a few minutes 24/7.
Still, I'll check the BIOS - thank you for the reminder...

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-11 Thread Janos Dohanics
On Mon, 9 May 2011 18:52:12 +0100
Chris Rees utis...@gmail.com wrote:

 On 9 May 2011 18:38, Janos Dohanics w...@3dresearch.com wrote:
  On Sun, 8 May 2011 19:52:54 -0500 (CDT)
  Robert Bonomi bon...@mail.r-bonomi.com wrote:
 
   From [...]
 
                                                 Are you trying to
   run a parallel build?
 
  Reading the full trace _DID_ show a parallel build.
 
  How can you tell? I'm pretty sure I did not use the -j flag...
 
 
 You're right about + =!
 
 Fetch this patchfile:
 
 http://www.bayofrum.net/~crees/patches/patch-mailnews-extensions-smime-build-Makefile-in
 
 and stick it in /usr/ports/mail/thunderbird/files
 
 make clean, and try making again.
 
 Chris

Chris,

I guess your reward for helping is more nagging... would you please
take a look at http://wwwp.3dresearch.com/thunderbird2

-- 
Janos Dohanics


___
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: firefox-4.0.1,1 crashes

2011-05-09 Thread Janos Dohanics
On Sun, 08 May 2011 14:55:58 -0400
Michael Powell nightre...@hotmail.com wrote:

 Adam Vande More wrote:
 
  On Sun, May 8, 2011 at 1:00 PM, Janos Dohanics w...@3dresearch.com
  wrote:
  
  Rebuilt the kernel with options P1003_1B_SEMAPHORES and Firefox
  now works fine.
 
  Since this option seems to be required for Firefox (and perhaps for
  other ports?), shouldn't /usr/ports/UPDATING or /usr/src/UPDATING
  reflect this?
 
  Thanks again for your help.
 
  
  Review the pkg installation message:
  
  pkg_info -Dx firefox
  
  And it's not a requirement.  I've never seen that issue, or enabled
  the fix although firefox is my primary browser.
 
 These options are present in the GENERIC kernel and you probably did
 not remove them. My guess is the OP did and never realized it. At
 least that's how it is in Release, if Stable is different I wouldn't
 know.
 
 As far as operator misconfiguring is concerned, UPDATING is not aimed
 at this.
 
 -Mike

Actually, I build custom kernels, and I must have deleted the option
P1003_1B_SEMAPHORES by accident.

FreeBSD 7.3-RELEASE Release Notes says that FreeBSD now supports POSIX
semaphores (P1003_1B_SEMAPHORES kernel option) by default - I should
assume then that the option P1003_1B_SEMAPHORES has been included by
default in all 8.x versions, correct?

-- 
Janos Dohanics
___
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: firefox-4.0.1,1 crashes

2011-05-09 Thread Janos Dohanics
On Mon, 09 May 2011 03:37:28 -0400
Michael Powell nightre...@hotmail.com wrote:

 Janos Dohanics wrote:
 
 [snip]
   
   And it's not a requirement.  I've never seen that issue, or
   enabled the fix although firefox is my primary browser.
  
  These options are present in the GENERIC kernel and you probably
  did not remove them. My guess is the OP did and never realized it.
  At least that's how it is in Release, if Stable is different I
  wouldn't know.
 [snip]
  
  Actually, I build custom kernels, and I must have deleted the option
  P1003_1B_SEMAPHORES by accident.
 
 Yes. Been there done that myself. Before Firefox 4 it didn't matter.
  
  FreeBSD 7.3-RELEASE Release Notes says that FreeBSD now supports
  POSIX semaphores (P1003_1B_SEMAPHORES kernel option) by default -
  I should assume then that the option P1003_1B_SEMAPHORES has been
  included by default in all 8.x versions, correct?
  
 
 Yes. A snip from GENERIC:
 
 options   SYSVSHM # SYSV-style shared
 memory optionsSYSVMSG # SYSV-style
 message queues optionsSYSVSEM #
 SYSV-style semaphores options P1003_1B_SEMAPHORES #
 POSIX-style semaphores options_KPOSIX_PRIORITY_SCHEDULING #
 POSIX P1003_1B real-time extensions
 
 Whenever a userland app gives problems it's very easy to fixate on
 the app being broken, and most of the time that is indeed the case.
 When it's complaining about some kind of support library or function
 missing, or throwing an error, the next thing to look for is the
 source for the error in whatever upstream dependency. In this
 particular case the location of the complaint just happened to be
 something which is in the default kernel. This is why I knew you had
 built a custom kernel and removed this. Like I said, been there done
 that.
 
 -Mike

Thanks for your help - so many ways to mess up... :)

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Janos Dohanics
On Sun, 8 May 2011 20:45:54 +0100
Chris Rees utis...@gmail.com wrote:

 On 8 May 2011 20:03, Chris Rees utis...@gmail.com wrote:
  On 8 May 2011 18:37, Janos Dohanics w...@3dresearch.com wrote:
  On Sun, 08 May 2011 13:14:36 -0400
  Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:
 
  Janos Dohanics w...@3dresearch.com writes:
 
   Trying to build thunderbird-3.1.10 on a FreeBSD 8.2-STABLE amd64
   machine and getting this error:
  
   gmake[4]: [...]
   Error 2 *** Error code 1
  
   Stop in /usr/ports/mail/thunderbird.
   *** Error code 1
  
   Stop in /usr/ports/mail/thunderbird.
  
   I'd appreciate your expert advice...
 
  The actual error was earlier than you quoted.
  Are you trying to run a parallel build?
 
  Actually, I wasn't - I posted the full make output to
  http://wwwp.3dresearch.com/thunderbird.
 
  Thank you for taking the time and looking into it...
 
 
  To clarify; have you tried make clean and starting again?
 
 
 If it persists, stick up a copy of
 /usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions/smime/build/Makefile
 and we can have a look.
 
 Chris

Chris,

I did make clean and make distclean, same result.

I posted 
/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions/smime/build/Makefile
at http://wwwp.3dresearch.com/thunderbird_smime_Makefile

I'm not familiar with makefile syntax, still, I wondered if line 84
had an unwanted extra space between + =?

 83 ifndef MOZ_STATIC_MAIL_BUILD
 84 SHARED_LIBRARY_LIBS + = 
../../../base/util/$(LIB_PREFIX)msgbsutl_s.$(LIB_SUFFIX)
 85 endif

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Janos Dohanics
On Mon, 9 May 2011 12:45:38 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:

  From owner-freebsd-questi...@freebsd.org  Mon May  9 12:40:39 2011
  Date: Mon, 9 May 2011 13:38:19 -0400
  From: Janos Dohanics w...@3dresearch.com
  To: Robert Bonomi bon...@mail.r-bonomi.com
  Cc: FreeBSD Questions freebsd-questions@freebsd.org
  Subject: Re: thunderbird-3.1.10 build error
 
  On Sun, 8 May 2011 19:52:54 -0500 (CDT)
  Robert Bonomi bon...@mail.r-bonomi.com wrote:
 
From [...]
   
  Are you trying to
run a parallel build?
   
   Reading the full trace _DID_ show a parallel build.
 
  How can you tell? I'm pretty sure I did not use the -j flag...
 
 I actually read the log you posted.  grin
 
 Shortly after the line with the makefile error, there was a line
 mentioning  'pmake'.   pmake is the 'parallel make' utility.
 
 Q.E.D.

I'm getting these unwelcome reminders of getting older and dimmer more
and more often; forgetting things, can't see the obvious in plain
sight, etc... but I can't for the life of me find pmake either in my
original post or in build log I posted additionally:
http://wwwp.3dresearch.com/thunderbird

Then again, I may have forgotten my ophthalmologist appointment...

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Janos Dohanics
On Mon, 9 May 2011 18:52:12 +0100
Chris Rees utis...@gmail.com wrote:

 On 9 May 2011 18:38, Janos Dohanics w...@3dresearch.com wrote:
  On Sun, 8 May 2011 19:52:54 -0500 (CDT)
  Robert Bonomi bon...@mail.r-bonomi.com wrote:
 
   From [...]
 
                                                 Are you trying to
   run a parallel build?
 
  Reading the full trace _DID_ show a parallel build.
 
  How can you tell? I'm pretty sure I did not use the -j flag...
 
 
 You're right about + =!
 
 Fetch this patchfile:
 
 http://www.bayofrum.net/~crees/patches/patch-mailnews-extensions-smime-build-Makefile-in
 
 and stick it in /usr/ports/mail/thunderbird/files
 
 make clean, and try making again.
 
 Chris

Thank you for the patch, I have installed it, tried make clean and make
again, and this time I got the error:

*** nsMsgSMIMEFactory.cpp
No rule to make target `../../../base/util/libmsgbsutl_s.a', needed by
`libmsgsmime.so'.  Stop.

Also posted the build log at http://wwwp.3dresearch.com/thunderbird2

Thank you for your help...

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Janos Dohanics
On Mon, 9 May 2011 14:35:55 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:

  From w...@3dresearch.com  Mon May  9 13:30:28 2011
  Date: Mon, 9 May 2011 14:29:47 -0400
  From: Janos Dohanics w...@3dresearch.com
  To: Robert Bonomi bon...@mail.r-bonomi.com
  Cc: FreeBSD Questions freebsd-questions@freebsd.org
  Subject: Re: thunderbird-3.1.10 build error
 
  On Mon, 9 May 2011 12:45:38 -0500 (CDT)
  Robert Bonomi bon...@mail.r-bonomi.com wrote:
 
From owner-freebsd-questi...@freebsd.org  Mon May  9 12:40:39
2011 Date: Mon, 9 May 2011 13:38:19 -0400
From: Janos Dohanics w...@3dresearch.com
To: Robert Bonomi bon...@mail.r-bonomi.com
Cc: FreeBSD Questions freebsd-questions@freebsd.org
Subject: Re: thunderbird-3.1.10 build error
   
On Sun, 8 May 2011 19:52:54 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:
   
  From [...]
 
Are you
  trying to run a parallel build?
 
 Reading the full trace _DID_ show a parallel build.
   
How can you tell? I'm pretty sure I did not use the -j flag...
   
   I actually read the log you posted.  grin
   
   Shortly after the line with the makefile error, there was a line
   mentioning  'pmake'.   pmake is the 'parallel make' utility.
   
   Q.E.D.
 
  I'm getting these unwelcome reminders of getting older and dimmer
  more and more often; forgetting things, can't see the obvious in
  plain sight, etc... 
 
 Simple explanation: bit-rot in _my_ memory.  It was -not- an explicit
 reference to 'pmake', as I mis-remembered.  It was _this_ line:
 
  gmake[3]: *** Waiting for unfinished jobs

Relief :)

I should then ask: where is the switch which tells Thuderbird to do a
parallel build or not? Since I didn't use -j...

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-09 Thread Janos Dohanics
On Mon, 9 May 2011 16:35:59 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:

  [...]
 
  I should then ask: where is the switch which tells Thuderbird to do
  a parallel build or not? Since I didn't use -j...
 
 The answer to that is a hybrid between a rhinoceros and an elephant.
 i.e.  'elephino'.  GRIN
 
 I'm _guessing_ that a several-levels deep makefile sets '-j' for a
 build in the lower-level directory.  without a bunch of digging
 through the source-code build tree of a product _I_ don't use, I
 can't be any more specific.

Thanks for all your help...

-- 
Janos Dohanics
___
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: thunderbird-3.1.10 build error

2011-05-08 Thread Janos Dohanics
On Sun, 08 May 2011 13:14:36 -0400
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 Janos Dohanics w...@3dresearch.com writes:
 
  Trying to build thunderbird-3.1.10 on a FreeBSD 8.2-STABLE amd64
  machine and getting this error:
 
  gmake[4]: [...]
  Error 2 *** Error code 1
 
  Stop in /usr/ports/mail/thunderbird.
  *** Error code 1
 
  Stop in /usr/ports/mail/thunderbird.
 
  I'd appreciate your expert advice...
 
 The actual error was earlier than you quoted.
 Are you trying to run a parallel build?

Actually, I wasn't - I posted the full make output to
http://wwwp.3dresearch.com/thunderbird.

Thank you for taking the time and looking into it...

-- 
Janos Dohanics
___
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: firefox-4.0.1,1 crashes

2011-05-08 Thread Janos Dohanics
On Fri, 06 May 2011 23:45:25 +0200
Herbert J. Skuhra h.sku...@gmail.com wrote:

 On Fri, 6 May 2011 09:31:57 -0400
 Janos Dohanics w...@3dresearch.com wrote:
 
 After updating Firefox and all the ports it depends on,
 firefox-4.0.1,1 crashes when trying to use any part of the toolbar
 or the pull-down menu.
 
 I have posted the gdb output:
 
 http://wwwp.3dresearch.com/firefox.bt
 
 I have also recently rebuilt kernel and world (FreeBSD 8.2-STABLE
 i386)
 
 Have you rebuilt your kernel without options P1003_1B_SEMAPHORES?
 
 man sem
 
 -Herbert

Rebuilt the kernel with options P1003_1B_SEMAPHORES and Firefox now
works fine.

Since this option seems to be required for Firefox (and perhaps for
other ports?), shouldn't /usr/ports/UPDATING or /usr/src/UPDATING
reflect this?

Thanks again for your help.

-- 
Janos Dohanics
___
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: Newbie Needing Help

2011-05-08 Thread Janos Dohanics
On Sun, 8 May 2011 17:17:48 -0700
John or Judy Hixson johnorj...@earthlink.net wrote:

 [...]
 Another problem that's throwing me for a loop is that even though I'm
 logged in as root I'm getting a permission denied return when I
 list a file (e.g. /etc/fstab) and press enter.

When you enter a file name at the prompt, such as /etc/fstab, and you
receive the response permission denied, it is because /etc/fstab is
not an executable file. Entering just the file name will cause the
shell to try to execute the file, but this file has no permission to be
executed, (even by root).

You can view the permissions for this file by entering:

ls -l /etc/fstab

and you'll see something similar to this:

-rw-r--r--  1 root  wheel  278 Sep 28  2008 /etc/fstab
   ^  ^  ^

However, for example, the file /bin/ls is executable:

-r-xr-xr-x  1 root  wheel  29656 Dec 11  2009 /bin/ls
   ^  ^  ^

Michael Lucas' book is a great way to get started. You can read many of
his tutorials at http://oreilly.com/pub/ct/13. I have also found Dru
Lavigne's series of articles FreeBSD Basics a great resource
(http://oreilly.com/pub/ct/15).

-- 
Janos Dohanics
___
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: firefox-4.0.1,1 crashes

2011-05-08 Thread Janos Dohanics
On Sun, 8 May 2011 13:32:47 -0500
Adam Vande More amvandem...@gmail.com wrote:

 On Sun, May 8, 2011 at 1:00 PM, Janos Dohanics w...@3dresearch.com
 wrote:
 
  Rebuilt the kernel with options P1003_1B_SEMAPHORES and Firefox
  now works fine.
 
  Since this option seems to be required for Firefox (and perhaps for
  other ports?), shouldn't /usr/ports/UPDATING or /usr/src/UPDATING
  reflect this?
 
  Thanks again for your help.
 
 
 Review the pkg installation message:
 
 pkg_info -Dx firefox
 
 And it's not a requirement.  I've never seen that issue, or enabled
 the fix although firefox is my primary browser.
 -- 
 Adam Vande More

pkg_info -Dx firefox says:

If your Firefox crashes with the following message while viewing a
HTML5 page:
Bad system call (core dumped)

you need to load the sem module (kldload sem).

The page I was looking at was the default Google page. Firefox started
to crash after updating to 4.x - apparently, this option is not needed
for versions  4.

-- 
Janos Dohanics
___
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: firefox-4.0.1,1 crashes

2011-05-07 Thread Janos Dohanics
On Fri, 06 May 2011 23:45:25 +0200
Herbert J. Skuhra h.sku...@gmail.com wrote:

 On Fri, 6 May 2011 09:31:57 -0400
 Janos Dohanics w...@3dresearch.com wrote:
 
 After updating Firefox and all the ports it depends on,
 firefox-4.0.1,1 crashes when trying to use any part of the toolbar
 or the pull-down menu.
 
 I have posted the gdb output:
 
 http://wwwp.3dresearch.com/firefox.bt
 
 I have also recently rebuilt kernel and world (FreeBSD 8.2-STABLE
 i386)
 
 Have you rebuilt your kernel without options P1003_1B_SEMAPHORES?
 
 man sem
 
 -Herbert

Thanks for the pointer - there is no options P1003_1B_SEMAPHORES in
my kernel configuration.

However, now that you mentioned this option, I found this thread:

http://lists.freebsd.org/pipermail/freebsd-questions/2011-January/226492.html

So, perhaps I should rebuild the kernel with this option - I'll let you
know.

-- 
Janos Dohanics
___
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


thunderbird-3.1.10 build error

2011-05-07 Thread Janos Dohanics
Trying to build thunderbird-3.1.10 on a FreeBSD 8.2-STABLE amd64
machine and getting this error:

gmake[4]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import'
gmake[6]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions/smime/build'
Makefile:84: *** missing separator.  Stop.
gmake[6]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions/smime/build'
gmake[5]: *** [export] Error 2
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions/smime'
gmake[4]: *** [smime_export] Error 2
gmake[4]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/extensions'
gmake[3]: *** [extensions_export] Error 2
gmake[3]: *** Waiting for unfinished jobs
gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/public'
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -D 
../../../mozilla/dist/idl
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -D 
../../../mozilla/dist/idl
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -R -m 644 
nsIImportService.idl nsIImportModule.idl nsIImportMail.idl 
nsIImportMailboxDescriptor.idl nsIImportGeneric.idl nsIImportAddressBooks.idl 
nsIImportABDescriptor.idl nsIImportSettings.idl nsIImportMimeEncode.idl 
nsIImportFieldMap.idl nsIImportFilters.idl ../../../mozilla/dist/idl
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -R -m 644 
_xpidlgen/nsIImportService.h _xpidlgen/nsIImportModule.h 
_xpidlgen/nsIImportMail.h _xpidlgen/nsIImportMailboxDescriptor.h 
_xpidlgen/nsIImportGeneric.h _xpidlgen/nsIImportAddressBooks.h 
_xpidlgen/nsIImportABDescriptor.h _xpidlgen/nsIImportSettings.h 
_xpidlgen/nsIImportMimeEncode.h _xpidlgen/nsIImportFieldMap.h 
_xpidlgen/nsIImportFilters.h ../../../mozilla/dist/include 
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/public'
gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/src'
gmake[5]: Nothing to be done for `export'.
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/src'
gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/text/src'
gmake[5]: Nothing to be done for `export'.
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/text/src'
gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/comm4x/public'
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -D 
../../../../mozilla/dist/idl
gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/comm4x/src'
gmake[5]: Nothing to be done for `export'.
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/comm4x/src'
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -D 
../../../../mozilla/dist/idl
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -R -m 644 
nsIComm4xProfile.idl ../../../../mozilla/dist/idl
/usr/ports/mail/thunderbird/work/comm-1.9.2/mozilla/config/nsinstall -R -m 644 
_xpidlgen/nsIComm4xProfile.h ../../../../mozilla/dist/include 
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/comm4x/public'
gmake[5]: Entering directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/build'
gmake[5]: Nothing to be done for `export'.
gmake[5]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import/build'
gmake[4]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews/import'
gmake[3]: Leaving directory 
`/usr/ports/mail/thunderbird/work/comm-1.9.2/mailnews'
gmake[2]: *** [export_tier_app] Error 2
gmake[2]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-1.9.2'
gmake[1]: *** [tier_app] Error 2
gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-1.9.2'
gmake: *** [default] Error 2
*** Error code 1

Stop in /usr/ports/mail/thunderbird.
*** Error code 1

Stop in /usr/ports/mail/thunderbird.

I'd appreciate your expert advice...

-- 
Janos Dohanics
___
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


firefox-4.0.1,1 crashes

2011-05-06 Thread Janos Dohanics
After updating Firefox and all the ports it depends on, firefox-4.0.1,1
crashes when trying to use any part of the toolbar or the pull-down
menu.

I have posted the gdb output:

http://wwwp.3dresearch.com/firefox.bt

I have also recently rebuilt kernel and world (FreeBSD 8.2-STABLE i386)

How can I fix this?

-- 
Janos Dohanics
___
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


/etc/newsyslog.conf and denyhosts

2011-05-03 Thread Janos Dohanics
What is the correct way to rotate denyhosts log files?

In /etc/newsyslog.conf I have:

/var/log/denyhosts  644 12  *   $M1D0
JC  /var/run/denyhosts.pid

However, denyhosts does not log in the new file.

-- 
Janos Dohanics
___
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: /etc/newsyslog.conf and denyhosts

2011-05-03 Thread Janos Dohanics
On Tue, 3 May 2011 13:03:25 -0500 (CDT)
Robert Bonomi bon...@mail.r-bonomi.com wrote:

  From owner-freebsd-questi...@freebsd.org  Tue May  3 12:17:12 2011
  Date: Tue, 3 May 2011 12:40:37 -0400
  From: Janos Dohanics w...@3dresearch.com
  To: freebsd-questions@freebsd.org
  Subject: /etc/newsyslog.conf and denyhosts
 
  What is the correct way to rotate denyhosts log files?
 
  In /etc/newsyslog.conf I have:
 
  /var/log/denyhosts  644 12  *
  $M1D0 JC  /var/run/denyhosts.pid
 
  However, denyhosts does not log in the new file.
 
 Denyhosts has to be informed that the logfile has changed, so that it
 can close and re-open the logfile.   It may be possible by sending it
 a 'signal', or you may have to kill/restart it.  See the
 documentation for denyhosts.
 
 Newsyslog itself does _not_ notify/restart any daemons  you have to
 do this yourself.

Thank you, I'll just set up a cron job to restart it

-- 
Janos Dohanics
___
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


Attempt to write outside dump device boundaries

2011-01-13 Thread Janos Dohanics
I have been having problems with a newly built system which I have
installed 8.2-PRERELEASE amd64. One problem I posted at
http://lists.freebsd.org/pipermail/freebsd-questions/2011-January/225822.html
(Fernando, thank you for replying).

After wiping and reinstalling, I made sure that I could obtain a kernel
dump.

Next, I have set up gmirror. Upon reboot, synchronizing the mirror was
going very slow.

I checked the drives with smartctl; one drive turned out to be faulty.

Next, removed the faulty drive from gmirror, and did reboot -d. At this
point, I got the error Attempt to write outside dump device
boundaries similar to what's described in
http://lists.freebsd.org/pipermail/freebsd-stable/2008-December/046982.html

Once the system came back up, and I could verify that the faulty drive
was no longer part of gmirror, did reboot -d again, which caused the
same error.

Next, physically disconnected the faulty drive, and had no problem
getting a kernel dump.

Next, reconnected the faulty drive, but did not insert it into gmirror,
and had no problem getting a kernel dump.

I obviously need to replace the faulty drive. Beyond that, I'm
wondering if someone could explain why is it not possible to get a
kernel dump when a drive in gmirror fails.

-- 
Janos Dohanics
w...@3dresearch.com
___
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


FreeBSD 8.1-STABLE amd 64 crash during shutdown

2011-01-03 Thread Janos Dohanics
My system crashed during shutdown, so I tried to get a crash dump, but
I don't seem to be able to do so:

Dumping 1224 MB: (stops at 1177)

Fatal trap 12: page fault while in kernel mode
cpuid = 1, apic id = 01
fault virtual address = 0x1
fault code= supervisor read instruction, page not present
instruction pointer: 0x20:0x1

uname -opr
FreeBSD 8.1-STABLE amd64

I'd appreciate your advice...

-- 
Janos Dohanics
w...@3dresearch.com
___
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


pcpu.h: No such file or directory

2010-11-21 Thread Janos Dohanics
I took a crash dump just as a test, and I noticed this:

#0  doadump () at pcpu.h:224
224 pcpu.h: No such file or directory.
in pcpu.h
(kgdb) #0  doadump () at pcpu.h:224
#1  0x805b381e in boot (howto=256)
at /usr/src/sys/kern/kern_shutdown.c:419
#2  0x805b3d1c in reboot (td=0xff00028f08c0, 
uap=0xff8123f57bb0) at /usr/src/sys/kern/kern_shutdown.c:176
#3  0x805f1be5 in syscallenter (td=0xff00028f08c0, 
sa=0xff8123f57ba0) at /usr/src/sys/kern/subr_trap.c:315
#4  0x8089cc3b in syscall (frame=0xff8123f57c40)
at /usr/src/sys/amd64/amd64/trap.c:889
#5  0x80885752 in Xfast_syscall ()
at /usr/src/sys/amd64/amd64/exception.S:377
#6  0x00080078e16c in ?? ()
Previous frame inner to this frame (corrupt stack?)

This is a fresh installed FreeBSD 8.1-STABLE amd64 system, I have
rebuilt kernel and world last night.

Is this something to worry about?

-- 
Janos Dohanics
w...@3dresearch.com
___
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


Directory with large number of files

2010-03-10 Thread Janos Dohanics
I have a directory with over 180,000 files in 4 subdirectories. Over 170,000 
of the files are in one of the subdirectories. The files are image files, 
mostly 50K. The machine has 2 GB RAM.

What would be a reasonable setting for vfs.ufs.dirhash_maxmem? Is there a 
disadvantage to setting vfs.ufs.dirhash_maxmem too high?

Is there any other setting to change to find files faster in a directory with 
such large number of files?

Thank you for your advice.

-- 
Janos Dohanics
___
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: Disabling inbound email in a jail

2009-02-27 Thread Janos Dohanics
On Friday 27 February 2009 10:49:22 am Kirk Strauser wrote:
 I only want sendmail in a jail to do one thing: forward nightly reports
 from r...@localhost to a real account on another machine.  What's the
 proper way to configure this?  By default, sendmail_enable=NO in
 /etc/rc.conf still gives a running sendmail that accepts mail from other
 hosts:

 m...@realhost$ echo foo | mail m...@jail.example.com

 m...@jail.example.com$ tail -f /var/log/maillog
 Feb 27 09:43:37 jail.example.com sm-mta[86832]: n1RFhbBp086832:
 from=m...@realhost, size=735, class=0, nrcpts=1,
 msgid=20090227154335.877a442...@realhost, bodytype=7BIT, proto=ESMTP,
 daemon=Daemon0, relay=jail.example.com [10.0.5.70]
 Feb 27 09:43:37 jail.example.com sm-mta[86833]: n1RFhbBp086832:
 to=m...@jail.example.com, delay=00:00:00, xdelay=00:00:00, mailer=local,
 pri=30983, relay=local, dsn=2.0.0, stat=Sent

 However, if I set sendmail_enable=NONE, then I can't send outbound email
 either:

 m...@jail.example.com$ echo foo | mail m...@realhost
 m...@jail.example.com$ tail -f /var/log/maillog
 Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513: from=me,
 size=28, class=0, nrcpts=1,
 msgid=200902271537.n1rfbbg3086...@jail.example.com, relay...@localhost
 Feb 27 09:37:37 jail.example.com sendmail[86513]: n1RFbbg3086513:
 to...@realhost, ctladdr=me (1001/1001), delay=00:00:00, xdelay=00:00:00,
 mailer=relay, pri=30028, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0,
 stat=Deferred: Connection refused by [127.0.0.1]

 What's the happy medium between sendmail wide open (eg
 sendmail_enable=NO (WTF?)) and disabled mail system (eg
 sendmail_enable=NONE)?

You might want to disable sendmail and use mail/ssmtp - it's meant for 
scenarios just like yours.

-- 
Janos Dohanics
___
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: Can stock syslog do hostA - fileA?

2009-02-26 Thread Janos Dohanics
On Thursday 26 February 2009 09:19:34 am Paul Halliday wrote:
 I am collecting syslogs from a PIX and a couple of Barracudas. It
 would be a lot easier for each to have their own logfile. I have been
 poking around a bit; I saw this one:

 +host1 /var/log/host1

 but it doesn't appear to work. Is it being trumped by something else
 in the config file? Is the syntax wrong?

 Thanks.
 ___
 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

Here is what works for me, logging a router running pFsense::

In /etc/rc.conf:

syslogd_enable=YES
syslogd_flags=-a 192.168.0.1 -v

In /etc/syslogd.conf:

+pfsense
*.* /var/log/pfsense.log
+*

In /etc/hosts:

192.168.0.1 pfsense

Then, do a /etc/rc.d/syslogd restart

I should note that in /etc/syslogd.conf the +pfsense entry block is after the 
cron.* entry and before the *.=debug. I seem to remember that when I appended 
the +pfsense block to the end of /etc/syslogd.conf, everything was logged 
to /var/log/messages - may be I made a typo then (?); I didn't think that the 
order of entries matters...

Hope this helps,

-- 
Janos Dohanics
___
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


wlan_scan_ap and wlan_scan_sta

2009-02-26 Thread Janos Dohanics
According to the Handbook, I can compile into the kernel

device wlan_scan_ap  # 802.11 AP mode scanning
device wlan_scan_sta # 802.11 STA mode scanning

But when I do, I get:

config: Error: device wlan_scan_ap is unknown
config: Error: device wlan_scan_sta is unknown
config: 2 errors
*** Error code 1
1 error
*** Error code 2
1 error

I'm wondering why? 6.4-PRERELEASE, amd64

-- 
Janos Dohanics
___
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: wlan_scan_ap and wlan_scan_sta

2009-02-26 Thread Janos Dohanics
On Friday 27 February 2009 12:52:30 am you wrote:
 On Thu, Feb 26, 2009 at 9:57 PM, Janos Dohanics w...@3dresearch.com wrote:
  According to the Handbook, I can compile into the kernel
 
  device wlan_scan_ap  # 802.11 AP mode scanning
  device wlan_scan_sta # 802.11 STA mode scanning
 
  But when I do, I get:
 
  config: Error: device wlan_scan_ap is unknown
  config: Error: device wlan_scan_sta is unknown
  config: 2 errors
  *** Error code 1
  1 error
  *** Error code 2
  1 error
 
  I'm wondering why? 6.4-PRERELEASE, amd64

 Does the handbook say the version of FreeBSD with which you can compile
 these in the kernel?
 I know they also refused to play with 8.0-CURRENT for me recently.

Well, the Wireless Networking page doesn't seem to mention specifically any 
version of FreeBSD.

-- 
Janos Dohanics
___
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: wlan_scan_ap and wlan_scan_sta

2009-02-26 Thread Janos Dohanics
On Friday 27 February 2009 01:15:14 am you wrote:
 On Fri, Feb 27, 2009 at 08:52:30AM +0300, Remorque wrote:
  On Thu, Feb 26, 2009 at 9:57 PM, Janos Dohanics w...@3dresearch.com 
wrote:
   According to the Handbook, I can compile into the kernel
  
   device wlan_scan_ap  # 802.11 AP mode scanning
   device wlan_scan_sta # 802.11 STA mode scanning
  
   But when I do, I get:
  
   config: Error: device wlan_scan_ap is unknown
   config: Error: device wlan_scan_sta is unknown
   config: 2 errors
   *** Error code 1
   1 error
   *** Error code 2
   1 error
  
   I'm wondering why? 6.4-PRERELEASE, amd64

 6.4-R does not need these, you can remove them safely.  I'll add a note
 to the Handbook.

Great, thank you...

-- 
Janos Dohanics
___
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


saslauthd + pam error

2009-02-24 Thread Janos Dohanics
I'm trying to make cyrus work with saslauthd + pam, but having no luck.

# imtest -m PLAIN -a test
WARNING: no hostname supplied, assuming localhost

S: * OK [CAPABILITY IMAP4 IMAP4rev1 LITERAL+ ID AUTH=LOGIN AUTH=PLAIN 
AUTH=DIGEST-MD5 AUTH=CRAM-MD5 SASL-IR] [myserver] Cyrus IMAP v2.3.13 server 
ready
Please enter your password:
C: A01 AUTHENTICATE PLAIN AHRlc3QAamFjaw==
S: A01 NO authentication failure
Authentication failed. generic failure
Security strength factor: 0

In /var/log/auth.log I get the error saslauthd[17624] :do_auth : auth 
failure: [user=test] [service=imap] [realm=] [mech=pam] [reason=PAM auth 
error]

imtest works fine with DIGEST-MD5

In /usr/local/etc/imapd.conf I have:

sasl_pwcheck_method: saslauthd

saslauthd is running with -a pam.

Where should I look to fix my configuration?

-- 
Janos Dohanics
___
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


error: field 'aio_sigevent' has incomplete type

2009-01-22 Thread Janos Dohanics

I am trying to build a new kernel for an amd64 machine but the build
fails:

objcopy --only-keep-debug ahd.ko.debug ahd.ko.symbols
objcopy --strip-debug --add-gnu-debuglink=ahd.ko.symbols ahd.ko.debug
ahd.ko
=== aio (all)
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Werror  /usr/src/sys/libkern/scanc.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Werror  /usr/src/sys/libkern/skpc.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Werror  /usr/src/sys/libkern/strcasecmp.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -std=c99 -g
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -nostdinc  -I. -I/usr/src/sys
-I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS
-include opt_global.h -fno-common -finline-limit=8000 --param
inline-unit-growth=100 --param large-function-growth=1000 
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Werror  /usr/src/sys/libkern/strcat.c
cc -O2 -fno-strict-aliasing -pipe  -D_KERNEL -DKLD_MODULE -std=c99
-nostdinc   -DHAVE_KERNEL_OPTION_HEADERS -include
/usr/obj/usr/src/sys/FRACASSO2009012201/opt_global.h -I. -I@
-I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100
--param large-function-growth=1000 -fno-common -g
-fno-omit-frame-pointer -I/usr/obj/usr/src/sys/FRACASSO2009012201
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding
-Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef
-Wno-pointer-sign -fformat-extensions -c
/usr/src/sys/modules/aio/../../kern/vfs_aio.c
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2548: error: field
'aio_sigevent' has incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2564: error: field
'aio_sigevent' has incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function
'convert_old_sigevent32':
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2575: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2580: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2584: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2585: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function
'convert_sigevent32':
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2621: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2626: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2629: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2632: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2633: error: dereferencing
pointer to incomplete type
/usr/src/sys/modules/aio/../../kern/vfs_aio.c: In function
'freebsd32_olio_listio':
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2859: error: storage size
of 'osig' isn't known
/usr/src/sys/modules/aio/../../kern/vfs_aio.c:2859: warning: 

What is my disk usage?

2007-08-08 Thread Janos Dohanics

du is acting strange on my system:

# du /usr/X11R6
4   /usr/X11R6/share/locale
8   /usr/X11R6/share
12  /usr/X11R6

# du -h /usr/X11R6
2.0K/usr/X11R6/share/locale
4.0K/usr/X11R6/share
6.0K/usr/X11R6

# du -k /usr/X11R6
2   /usr/X11R6/share/locale
4   /usr/X11R6/share
6   /usr/X11R6

This seems to be happening only after I have sudo'd myself. du reports
consistent numbers if I run it as myself or if I su first.

This is a  FreeBSD 6.2-STABLE system with snapshots enabled.

Any ideas?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is my disk usage?

2007-08-08 Thread Janos Dohanics

On 8/8/2007, Chuck Swiger [EMAIL PROTECTED] wrote:

On Aug 8, 2007, at 9:21 AM, Janos Dohanics wrote:
 du is acting strange on my system:

 # du /usr/X11R6
 4   /usr/X11R6/share/locale
 8   /usr/X11R6/share
 12  /usr/X11R6

 # du -h /usr/X11R6
 2.0K/usr/X11R6/share/locale
 4.0K/usr/X11R6/share
 6.0K/usr/X11R6

 # du -k /usr/X11R6
 2   /usr/X11R6/share/locale
 4   /usr/X11R6/share
 6   /usr/X11R6

 This seems to be happening only after I have sudo'd myself. du reports
 consistent numbers if I run it as myself or if I su first.

 This is a  FreeBSD 6.2-STABLE system with snapshots enabled.

 Any ideas?

Presumably the accounts which have consistent results have something
like:

 setenv  BLOCKSIZE K

...or:

 export BLOCKSIZE=K

...configured in their shell.

--
-Chuck

Well, this is all I have in .bash_profile:

$ cat .bash_profile
PS1=[EMAIL PROTECTED] \w]\\$ 
export EDITOR=vim

The issue is that du reports twice as much disk usage as du -h or du -k,
and I have no clue why...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: What is my disk usage?

2007-08-08 Thread Janos Dohanics

On 8/8/2007, Don Hinton [EMAIL PROTECTED] wrote:

Janos Dohanics writes:
 
  On 8/8/2007, Chuck Swiger [EMAIL PROTECTED] wrote:
 
  On Aug 8, 2007, at 9:21 AM, Janos Dohanics wrote:
   du is acting strange on my system:
  
   # du /usr/X11R6
   4   /usr/X11R6/share/locale
   8   /usr/X11R6/share
   12  /usr/X11R6
  
   # du -h /usr/X11R6
   2.0K/usr/X11R6/share/locale
   4.0K/usr/X11R6/share
   6.0K/usr/X11R6
  
   # du -k /usr/X11R6
   2   /usr/X11R6/share/locale
   4   /usr/X11R6/share
   6   /usr/X11R6
  
   This seems to be happening only after I have sudo'd myself. du reports
   consistent numbers if I run it as myself or if I su first.
  
   This is a  FreeBSD 6.2-STABLE system with snapshots enabled.
  
   Any ideas?
  
  Presumably the accounts which have consistent results have something
  like:
  
   setenv  BLOCKSIZE K
  
  ...or:
  
   export BLOCKSIZE=K
  
  ...configured in their shell.
  
  --
  -Chuck
 
  Well, this is all I have in .bash_profile:
 
  $ cat .bash_profile
  PS1=[EMAIL PROTECTED] \w]\\$ 
  export EDITOR=vim
 
  The issue is that du reports twice as much disk usage as du -h or du -k,
  and I have no clue why...

$ echo $BLOCKSIZE
K
$ mkdir test
$ du test
2   test
$ du -k test
2   test
$ du -h test
2,0Ktest
$ unset BLOCKSIZE
$ du test
4   test

 BLOCKSIZE  If the environment variable BLOCKSIZE is set, and the -k
option is not specified, the block counts will be displayed in
units of that size block.  If BLOCKSIZE is not set, and the -k
option is not specified, the block counts will be displayed in
512-byte blocks.

hth...
don

Thank you... sorry for the noise.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Out of memory during request

2007-05-24 Thread Janos Dohanics

I'm using imapsync to transfer maildirs to a new server. One of the
mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
imapsync quits with this message:

END
while processing LITERAL
Read: * 5330 FETCH (UID 5337 BODY[] )
12835 OK Fetch completed.

Out of memory during request for 80 bytes, total sbrk() is 536813568
bytes!

I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
with 1 GB RAM.

I'm wondering if I could adjust some resource settings to let the
imapsync job finish?

Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NFS server not responding/is alive again

2007-05-02 Thread Janos Dohanics

I have a FreeBSD 4.11 machine which mounts a volume from a Netapp ONTap.
The FreeBSD machine also acts as a Samba PDC. The Samba volumes are in
the NFS-mounted volume. There are about a dozen Win2K workstations on
the network served by the Samba server.

Lately I have noticed that /var/log/messages is full with entries like:

... /kernel: nfs server filer01:/vol/vol0/psa: not responding
... /kernel: nfs server filer01:/vol/vol0/psa: is alive again

It seems that the server sometimes is unresponsive for less than a
second, many other times it's unresponsive for a number of seconds (as
many as 8 seconds).

This happens quite frequently, sometimes 60+ times an hour, perhaps not
surprising that it doesn't happen or happens rarely when the
workstations are not being used.

There are also 15-20 got bad cookie messages per day.

The NFS volume is mounted with rw,-r=1024.

I have looked at some nfsstat output, but I don't know what if anything
should I be looking for there.

Is this a FreeBSD or an ONTap problem? What can I do to fix it?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Syslog not logging remote host

2007-04-13 Thread Janos Dohanics

I'm trying capture logs from m0n0wall, but the log file is empty.

Here is my configuration:

On the logging machine, in /etc/rc.conf:

syslogd_flags=-a 10.61.70.1

In /etc/syslog.conf:

+10.61.70.1
*.* /var/log/m0n0wall.log

/var/log/m0n0wall.log exists and writable:

-rw-rw-r--  1 root  network  0 Apr 13 00:32 /var/log/m0n0wall.log

The m0n0wall is configured to send logs to 10.61.70.100, which is the
logging machine.

What am I missing?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Is this a hard drive crash?

2007-03-29 Thread Janos Dohanics

I have a FreeBSD 6.2-STABLE system with 2 gmirrors. The gmirrors are
arranged as gm0 consisting of ad0 and ad2 and gm1 consisting of ad1 and
ad3. gm0 has the / partition.

This system has crashed a couple of times recently. I got messages like
these on the terminal:

ad0: SETFEATURES ENABLE RCACHE taskqueue timeout - completing request
directly
ad0: SETFEATURES ENABLE WCACHE taskqueue timeout - completing request
directly
ad0: SET_MULTI taskqueue timeout - completing request directly
ad0: FAILURE - WRITE_DMA timed out LBA=3956063
panic: initiate_write_inodeblock_ufs2: already started

Upon reboot, gm0 could not find it's component ad2, but I could rebuild
the RAID after forget/insert.

I also ran the Seagate drive utility which found no problems with the
drive. When the same kind of crash happened again, I thought the problem
may be the IDE controller, I have replaced the motherboard.

Now it crashed again with the new motherboard - and I don't know what
should I do next: should I just replace an apparently good hard drive?

Also, if this is just a hard drive crash, shouldn't  the system keep
going?


Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]