php5 won't compile

2007-07-22 Thread David Banning
After a successful running installation, all of a sudden I have 
a problem where apache2 will not start. The error;

Syntax error on line 274 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp5.so into server: 
/usr/local/libexec/apache2/libphp5.so: Undefined symbol __fixunsdfdi


libphp5.so -does- exist. in that location. I thought I would rebuild
php5, but on building php5 I get the error;

/bin/sh /tusr/ports/lang/php5/work/php-5.2.3/libtool --silent 
--preserve-dup-deps --mode=link cc -export-dynamic -O -pipe  -L/usr/local/lib  
-R /usr/local/lib ext/libxml/libxml.lo ext/date/php_date.lo 
ext/date/lib/astro.lo ext/date/lib/dow.lo ext/date/lib/parse_date.lo 
ext/date/lib/parse_tz.lo ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo 
ext/date/lib/unixtime2tm.lo ext/reflection/php_reflection.lo regex/regcomp.lo 
regex/regexec.lo regex/regerror.lo regex/regfree.lo ext/standard/array.lo 
ext/standard/base64.lo ext/standard/basic_functions.lo ext/standard/browscap.lo 
ext/standard/crc32.lo ext/standard/crypt.lo ext/standard/cyr_convert.lo 
ext/standard/datetime.lo ext/standard/dir.lo ext/standard/dl.lo 
ext/standard/dns.lo ext/standard/exec.lo ext/standard/file.lo 
ext/standard/filestat.lo ext/standard/flock_compat.lo 
ext/standard/formatted_print.lo ext/standard/fsock.lo ext/standard/head.lo 
ext/standard/html.lo ext/standard/image.lo ext/standard/info.lo 
ext/standard/iptc.lo ext/standard/lcg.lo ext/standard/link.lo 
ext/standard/mail.lo ext/standard/math.lo ext/standard/md5.lo 
ext/standard/metaphone.lo ext/standard/microtime.lo ext/standard/pack.lo 
ext/standard/pageinfo.lo ext/standard/quot_print.lo ext/standard/rand.lo 
ext/standard/reg.lo ext/standard/soundex.lo ext/standard/string.lo 
ext/standard/scanf.lo ext/standard/syslog.lo ext/standard/type.lo 
ext/standard/uniqid.lo ext/standard/url.lo ext/standard/url_scanner.lo 
ext/standard/var.lo ext/standard/versioning.lo ext/standard/assert.lo 
ext/standard/strnatcmp.lo ext/standard/levenshtein.lo 
ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo 
ext/standard/ftp_fopen_wrapper.lo ext/standard/http_fopen_wrapper.lo 
ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo ext/standard/css.lo 
ext/standard/var_unserializer.lo ext/standard/ftok.lo ext/standard/sha1.lo 
ext/standard/user_filters.lo ext/standard/uuencode.lo ext/standard/filters.lo 
ext/standard/proc_open.lo ext/standard/streamsfuncs.lo ext/standard/http.lo 
TSRM/TSRM.lo TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo 
main/snprintf.lo main/spprintf.lo main/php_sprintf.lo main/safe_mode.lo 
main/fopen_wrappers.lo main/alloca.lo main/php_scandir.lo main/php_ini.lo 
main/SAPI.lo main/rfc1867.lo main/php_content_types.lo main/strlcpy.lo 
main/strlcat.lo main/mergesort.lo main/reentrancy.lo main/php_variables.lo 
main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo 
main/php_logos.lo main/output.lo main/streams/streams.lo main/streams/cast.lo 
main/streams/memory.lo main/streams/filter.lo main/streams/plain_wrapper.lo 
main/streams/userspace.lo main/streams/transports.lo main/streams/xp_socket.lo 
main/streams/mmap.lo Zend/zend_language_parser.lo Zend/zend_language_scanner.lo 
Zend/zend_ini_parser.lo Zend/zend_ini_scanner.lo Zend/zend_alloc.lo 
Zend/zend_compile.lo Zend/zend_constants.lo Zend/zend_dynamic_array.lo 
Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo 
Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo 
Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo 
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo Zend/zend_indent.lo 
Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_ini.lo 
Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_ts_hash.lo 
Zend/zend_stream.lo Zend/zend_iterators.lo Zend/zend_interfaces.lo 
Zend/zend_exceptions.lo Zend/zend_strtod.lo Zend/zend_objects.lo 
Zend/zend_object_handlers.lo Zend/zend_objects_API.lo 
Zend/zend_default_classes.lo Zend/zend_execute.lo sapi/cli/php_cli.lo 
sapi/cli/php_cli_readline.lo sapi/cli/getopt.lo main/internal_functions_cli.lo 
-lcrypt -lcrypt -lm -lxml2 -lz -liconv -lm -lcrypt -lcrypt  -o sapi/cli/php
ext/standard/.libs/basic_functions.o: In function `zif_getopt':
ext/standard/.libs/basic_functions.o(.text+0x1c26): undefined reference to 
`getopt_long'
*** Error code 1

Stop in /tusr/ports/lang/php5/work/php-5.2.3.
*** Error code 1

Stop in /tusr/ports/lang/php5.
*** Error code 1

Stop in /tusr/ports/lang/php5.


-

Any help would be appreciated. I have not seen many messages on this 
in the list.

My system;
FreeBSD 4.11-STABLE 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: php5 won't compile

2007-07-22 Thread Beech Rintoul
On Saturday 21 July 2007, David Banning said:
 After a successful running installation, all of a sudden I have
 a problem where apache2 will not start. The error;

 Syntax error on line 274 of /usr/local/etc/apache2/httpd.conf:
 Cannot load /usr/local/libexec/apache2/libphp5.so into server:
 /usr/local/libexec/apache2/libphp5.so: Undefined symbol
 __fixunsdfdi


 libphp5.so -does- exist. in that location. I thought I would
 rebuild php5, but on building php5 I get the error;

 /bin/sh /tusr/ports/lang/php5/work/php-5.2.3/libtool --silent
 --preserve-dup-deps --mode=link cc -export-dynamic -O -pipe 
 -L/usr/local/lib  -R /usr/local/lib ext/libxml/libxml.lo
 ext/date/php_date.lo ext/date/lib/astro.lo ext/date/lib/dow.lo
 ext/date/lib/parse_date.lo ext/date/lib/parse_tz.lo
 ext/date/lib/timelib.lo ext/date/lib/tm2unixtime.lo
 ext/date/lib/unixtime2tm.lo ext/reflection/php_reflection.lo
 regex/regcomp.lo regex/regexec.lo regex/regerror.lo
 regex/regfree.lo ext/standard/array.lo ext/standard/base64.lo
 ext/standard/basic_functions.lo ext/standard/browscap.lo
 ext/standard/crc32.lo ext/standard/crypt.lo
 ext/standard/cyr_convert.lo ext/standard/datetime.lo
 ext/standard/dir.lo ext/standard/dl.lo ext/standard/dns.lo
 ext/standard/exec.lo ext/standard/file.lo ext/standard/filestat.lo
 ext/standard/flock_compat.lo ext/standard/formatted_print.lo
 ext/standard/fsock.lo ext/standard/head.lo ext/standard/html.lo
 ext/standard/image.lo ext/standard/info.lo ext/standard/iptc.lo
 ext/standard/lcg.lo ext/standard/link.lo ext/standard/mail.lo
 ext/standard/math.lo ext/standard/md5.lo ext/standard/metaphone.lo
 ext/standard/microtime.lo ext/standard/pack.lo
 ext/standard/pageinfo.lo ext/standard/quot_print.lo
 ext/standard/rand.lo ext/standard/reg.lo ext/standard/soundex.lo
 ext/standard/string.lo ext/standard/scanf.lo ext/standard/syslog.lo
 ext/standard/type.lo ext/standard/uniqid.lo ext/standard/url.lo
 ext/standard/url_scanner.lo ext/standard/var.lo
 ext/standard/versioning.lo ext/standard/assert.lo
 ext/standard/strnatcmp.lo ext/standard/levenshtein.lo
 ext/standard/incomplete_class.lo ext/standard/url_scanner_ex.lo
 ext/standard/ftp_fopen_wrapper.lo
 ext/standard/http_fopen_wrapper.lo
 ext/standard/php_fopen_wrapper.lo ext/standard/credits.lo
 ext/standard/css.lo ext/standard/var_unserializer.lo
 ext/standard/ftok.lo ext/standard/sha1.lo
 ext/standard/user_filters.lo ext/standard/uuencode.lo
 ext/standard/filters.lo ext/standard/proc_open.lo
 ext/standard/streamsfuncs.lo ext/standard/http.lo TSRM/TSRM.lo
 TSRM/tsrm_strtok_r.lo TSRM/tsrm_virtual_cwd.lo main/main.lo
 main/snprintf.lo main/spprintf.lo main/php_sprintf.lo
 main/safe_mode.lo main/fopen_wrappers.lo main/alloca.lo
 main/php_scandir.lo main/php_ini.lo main/SAPI.lo main/rfc1867.lo
 main/php_content_types.lo main/strlcpy.lo main/strlcat.lo
 main/mergesort.lo main/reentrancy.lo main/php_variables.lo
 main/php_ticks.lo main/network.lo main/php_open_temporary_file.lo
 main/php_logos.lo main/output.lo main/streams/streams.lo
 main/streams/cast.lo main/streams/memory.lo main/streams/filter.lo
 main/streams/plain_wrapper.lo main/streams/userspace.lo
 main/streams/transports.lo main/streams/xp_socket.lo
 main/streams/mmap.lo Zend/zend_language_parser.lo
 Zend/zend_language_scanner.lo Zend/zend_ini_parser.lo
 Zend/zend_ini_scanner.lo Zend/zend_alloc.lo Zend/zend_compile.lo
 Zend/zend_constants.lo Zend/zend_dynamic_array.lo
 Zend/zend_execute_API.lo Zend/zend_highlight.lo Zend/zend_llist.lo
 Zend/zend_opcode.lo Zend/zend_operators.lo Zend/zend_ptr_stack.lo
 Zend/zend_stack.lo Zend/zend_variables.lo Zend/zend.lo
 Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo
 Zend/zend_list.lo Zend/zend_indent.lo
 Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
 Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
 Zend/zend_ts_hash.lo Zend/zend_stream.lo Zend/zend_iterators.lo
 Zend/zend_interfaces.lo Zend/zend_exceptions.lo Zend/zend_strtod.lo
 Zend/zend_objects.lo Zend/zend_object_handlers.lo
 Zend/zend_objects_API.lo Zend/zend_default_classes.lo
 Zend/zend_execute.lo sapi/cli/php_cli.lo
 sapi/cli/php_cli_readline.lo sapi/cli/getopt.lo
 main/internal_functions_cli.lo -lcrypt -lcrypt -lm -lxml2 -lz
 -liconv -lm -lcrypt -lcrypt  -o sapi/cli/php
 ext/standard/.libs/basic_functions.o: In function `zif_getopt':
 ext/standard/.libs/basic_functions.o(.text+0x1c26): undefined
 reference to `getopt_long' *** Error code 1

 Stop in /tusr/ports/lang/php5/work/php-5.2.3.
 *** Error code 1

 Stop in /tusr/ports/lang/php5.
 *** Error code 1

 Stop in /tusr/ports/lang/php5.


 -

 Any help would be appreciated. I have not seen many messages on
 this in the list.

 My system;
 FreeBSD 4.11-STABLE

All support for FreeBSD 4.x has ceased, you need to update to 6.x.

EOS/EOL Policies of Ports and Ports Infrastructure on RELENG_4

While still many people use RELENG_4, it is End of Life (EOL) and End 
of Support (EOS). We encourage all users and developers to migrate to 
the 

mc (GNU midnight commander) have I18N problem on FreeBSD?

2007-07-22 Thread Zhang Weiwu
Dear list

I found mc 4.6.1 behave differently on FreeBSD 6.2 and SuSE 10.2

1) run urxvt on FreeBSD 6.2
2) run mc 4.6.1, take a screenshot:
gopher://sdf.lonestar.org/I/users/weiwu/mconfreebsd.png
3) in the same urxvt window, ssh to another host running OpenSuSE 10.2;
4) run mc 4.6.1, take a screenshot:
gopher://sdf.lonestar.org/I/users/weiwu/mconsuse.png

So mc look different (and bad) on FreeBSD. Maybe I should post to
questions list before I complain to porter, just in case I have wrong
operation.

Thanks for your time paying attention to this issue!

P.S. before every screenshot I've checked LANG=en_US.UTF-8

Best Regards
-- 
锐业软服(国内业务)  http://www.realss.cn
Real SoftService  http://www.realss.com
销售咨询(Sales Department):0086 592 20 99987 (Chinese, German,
English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

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


is this possible? (let user able to access two moint points, one beneath another)

2007-07-22 Thread Zhang Weiwu
Dear all

I wish to export two directories for other people to mount, so I write
in my /etc/exports:

/var/ftp/pub -ro
/var/ftp/pub/music -ro

Start NFS server then I found only /var/ftp/music is successfully
exported, /var/log/message says:

Jul 22 15:34:32 exupery mountd[404]: can't change attributes
for /var/ftp/pub/music
Jul 22 15:34:32 exupery mountd[404]: bad exports list
line /var/ftp/pub/music -ro

I cannot understand what is change attributes and why it cannot be
done, so I go to read handbook. Here is the handbook section about this
issue 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.html#EXPORTS-ERRORS

12.13. Why does mountd keep telling me it “can't change
attributes” and that I have a “bad exports list” on my FreeBSD
NFS server?

The most frequent problem is not understanding the correct
format of /etc/exports. Please review exports(5) and the NFS
entry in the Handbook, especially the section on configuring
NFS.

And yes, I reviewed both document, and I am sure the format is correct
because it's only two similar lines and the first line is accepted by
server:
/var/ftp/pub -ro
/var/ftp/pub/music -ro

Give up on this, then I think probably I can use -alldirs. I write
my /etc/exports:
/var/ftp/pub -alldirs -ro

Start NFS server, check /var/log/messages I found:

Jul 22 15:30:37 exupery mountd[404]: -alldirs requested
but /var/ftp/pub is not a filesystem mountpoint
Jul 22 15:30:37 exupery mountd[404]: bad exports list
line /var/ftp/pub -alldirs

This seems to suggest that I cannot use -alldirs because /var/ftp/pub is
a plain directory, only a mount point can use -alldirs (in my
case, /var).

So I am stuck here. Any suggestion getting me out? Is it possible at all
to export a directory and also it's sub-directory?

Best Regards
-- 
锐业软服(国内业务)  http://www.realss.cn
Real SoftService  http://www.realss.com
销售咨询(Sales Department):0086 592 20 99987 (Chinese, German,
English)
国际业务(International Sales): 0086 10 8460 6011 (German and English)
联系:厦门大学科技园,嘉庚二号楼6楼
邮政:厦门大学2312号信箱(邮编361005)

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


Re: switch fromto gnome

2007-07-22 Thread vuthecuong

I understand that no need to remove KDE but I have let free disk space.
I'm sure that I want to remove completely *all* KDE-related apps.
I wander is this: pkg_deinstall -r kde/*
???
Tnx

Conrad J. Sabatier wrote:

On Sat, 21 Jul 2007 19:10:27 +0700
vuthecuong [EMAIL PROTECTED] wrote:

  

I'm using freebsd 6.2 with KDE 3.5.7. Running fine.
But I would like to try gnome on freebsd.
How can I remove completely all kde related apps?
Tnx



There's no need to remove KDE just to install/try GNOME (unless you're
short on storage, of course).

Are you *sure* you want to uninstall *all* KDE-related apps?

  

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


Re: is this possible? (let user able to access two moint points, one beneath another)

2007-07-22 Thread Beech Rintoul
On Saturday 21 July 2007, Zhang Weiwu said:
 Dear all

 I wish to export two directories for other people to mount, so I
 write in my /etc/exports:

 /var/ftp/pub -ro
 /var/ftp/pub/music -ro

 Start NFS server then I found only /var/ftp/music is successfully
 exported, /var/log/message says:

 Jul 22 15:34:32 exupery mountd[404]: can't change
 attributes for /var/ftp/pub/music
 Jul 22 15:34:32 exupery mountd[404]: bad exports list
 line /var/ftp/pub/music -ro

 I cannot understand what is change attributes and why it cannot
 be done, so I go to read handbook. Here is the handbook section
 about this issue
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/networking.htm
l#EXPORTS-ERRORS

 12.13. Why does mountd keep telling me it “can't change
 attributes” and that I have a “bad exports list” on my
 FreeBSD NFS server?

 The most frequent problem is not understanding the correct
 format of /etc/exports. Please review exports(5) and the
 NFS entry in the Handbook, especially the section on configuring
 NFS.

 And yes, I reviewed both document, and I am sure the format is
 correct because it's only two similar lines and the first line is
 accepted by server:
 /var/ftp/pub -ro
 /var/ftp/pub/music -ro

 Give up on this, then I think probably I can use -alldirs. I write
 my /etc/exports:
 /var/ftp/pub -alldirs -ro

 Start NFS server, check /var/log/messages I found:

 Jul 22 15:30:37 exupery mountd[404]: -alldirs requested
 but /var/ftp/pub is not a filesystem mountpoint
 Jul 22 15:30:37 exupery mountd[404]: bad exports list
 line /var/ftp/pub -alldirs

 This seems to suggest that I cannot use -alldirs because
 /var/ftp/pub is a plain directory, only a mount point can use
 -alldirs (in my case, /var).

 So I am stuck here. Any suggestion getting me out? Is it possible
 at all to export a directory and also it's sub-directory?

 Best Regards

Try writing the export:

 /var/ftp/pub  /var/ftp/pub/music -ro


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


Re: mc (GNU midnight commander) have I18N problem on FreeBSD?

2007-07-22 Thread Thomas Dickey
On Sun, Jul 22, 2007 at 04:05:35PM +0800, Zhang Weiwu wrote:
 Dear list
 
 I found mc 4.6.1 behave differently on FreeBSD 6.2 and SuSE 10.2
 
 1) run urxvt on FreeBSD 6.2
 2) run mc 4.6.1, take a screenshot:

perhaps FreeBSD's port for mc has one of the UTF-8 patches,
perhaps it does not.  There's no official upstream patch for it.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgp37i2MqiHDJ.pgp
Description: PGP signature


Re: is this possible? (let user able to access two moint points, one beneath another)

2007-07-22 Thread Zhang Weiwu
On Sun, 2007-07-22 at 00:49 -0800, Beech Rintoul wrote:

 Try writing the export:
 
  /var/ftp/pub  /var/ftp/pub/music -ro

Thanks, this solved the problem instantly!

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


kernel compilation fails

2007-07-22 Thread Nicolas Haller
Hi all,

I have a little problem trying to compile a -CURRENT kernel.
The compilation fails with this message:

/usr/src/sys/dev/usb/usb_quirks.c:111: error: 'USB_PRODUCT_METAGEEK_WISPY' 
undeclared here (not in a function)

Config and make depend run succefully but compilation fails (done with
make buildkernel).

I give you the kernel config file.

cheers,

-- 
Nicolas Haller
#
# GENERIC -- Generic kernel configuration file for FreeBSD/i386
#
# For more information on this file, please read the handbook section on
# Kernel Configuration Files:
#
#
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in /usr/share/doc/handbook
# if you've installed the doc distribution, otherwise always see the
# FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed explanations of the
# device lines is also present in the ../../conf/NOTES and NOTES files.
# If you are in doubt as to the purpose or necessity of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.473 2007/07/01 21:47:45 njl Exp $

#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   NICOLAS

# To statically compile in device wiring instead of /boot/device.hints
#hints  GENERIC.hints # Default places to look for devices.

#makeoptionsDEBUG=-g# Build kernel with gdb(1) debug symbols

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread preemption
options INET# InterNETworking
options INET6   # IPv6 communications protocols
#optionsSCTP# Stream Transmission Control Protocol
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big directories
options UFS_GJOURNAL# Enable gjournal-based UFS journaling
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_PART_GPT   # GUID Partition Tables.
options GEOM_LABEL  # Provides labelization
options COMPAT_43TTY# BSD 4.3 TTY compat [KEEP THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options COMPAT_FREEBSD6 # Compatible with FreeBSD6
options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time 
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options ADAPTIVE_GIANT  # Giant mutex is adaptive.
options STOP_NMI# Stop CPUS using NMI instead of IPI
options AUDIT   # Security event auditing

# Debugging for use in -current
#optionsKDB # Enable kernel debugger support.
#optionsDDB # Support DDB.
#optionsGDB # Support remote GDB.
#optionsINVARIANTS  # Enable calls of extra sanity checking
#optionsINVARIANT_SUPPORT   # Extra sanity checks of internal 
structures, required by INVARIANTS
#optionsWITNESS # Enable checks to detect deadlocks and 
cycles
#optionsWITNESS_SKIPSPIN# Don't run witness on spinlocks for 
speed

# To make an SMP kernel, the next two lines are needed
options SMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC

# CPU frequency control
device  cpufreq

# Bus support.
device  eisa
device  pci

# Floppy drives
#device fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
device  ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives

Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-22 Thread Oliver Peter
On Wed, Jul 18, 2007 at 03:56:45AM +0300, Bazy wrote:
 Oliver Peter wrote:
 ...
 I'm using it with MySQL, my database is only 900MB with 15000 mails and
 it works fine.
 
 How did you integrate clamav with postfix?

Clamav doesn't talk to postfix directly - Amavisd-new will call
Clamav.  Dunno if this is the best way.  Indeed it's very slow on my
pentium3.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpMQXiT8bEp7.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-22 Thread Oliver Peter
On Wed, Jul 18, 2007 at 11:35:26AM +0100, Feargal Reilly wrote:
 On Wed, 18 Jul 2007 00:28:08 +0200
 Oliver Peter [EMAIL PROTECTED] wrote:
 
  I think one main 'problem' with dbmail will be that if your db
  crashes or stops working  EVERYTHING  is lost.  You don't have
  these problems in this dimension with a filesystem based
  mailsystem. Primarily you will have to find a good
  backup/failover solution for your database - regardless of
  what system you will use (pgsql, mysql, oracle, mssql...
  SQLlite ...)
  
 
 This is a bit unfair to dbmail - the exact same applies to
 filesystem based mail systems. If you do not have a good
 backup/failover solution, and your filesystem crashes or stops
 working, EVERYTHING is lost.

Of course you're right.  But when you use a database based mail
solution your database can crash and your filesystem can crash.  When
you use a filesystem based system you don't have the additional
db-crash-factor.  Personally I trust my filesystem skills more than my
database skills :)

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgp09omjweeyn.pgp
Description: PGP signature


Re: Integrating Postfix + Amavisd-new + Clamav + DSpam + DBmail

2007-07-22 Thread Oliver Peter
On Wed, Jul 18, 2007 at 12:28:08AM +0200, Oliver Peter wrote:
 ...
 Serious:
 I had a little problem with dbmail and pgsql:
 http://www.mail-archive.com/[EMAIL PROTECTED]/msg11640.html
 
 I haven't tried the new version yet.

I would like to add:

Today I updated dbmail from 2.2.4 to 2.2.5.  Certainly the error above
has been fixed.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpdexqhRLAr8.pgp
Description: PGP signature


Re: kernel compilation fails

2007-07-22 Thread Gelsema, P \(Patrick\) - FreeBSD
On Sun, July 22, 2007 13:28, Nicolas Haller wrote:
 Hi all,

 I have a little problem trying to compile a -CURRENT kernel.
 The compilation fails with this message:

 /usr/src/sys/dev/usb/usb_quirks.c:111: error: 'USB_PRODUCT_METAGEEK_WISPY'
 undeclared here (not in a function)

This is known, introduced with commit:
http://lists.freebsd.org/pipermail/cvs-src/2007-July/080810.html

Keep an eye on
http://lists.freebsd.org/pipermail/cvs-src/2007-July/thread.html to see if
it has been fixed. In the mean time you could use a previous version of
the file, you can get this from the cvsweb.

Cheers

Patrick


 Config and make depend run succefully but compilation fails (done with
 make buildkernel).

 I give you the kernel config file.

 cheers,

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

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


Upgrade xorg 6.9 to 72

2007-07-22 Thread Martin Schweizer
Hello 

I read UPDATING and did all the steps described there. After portupgrade -a I 
get the attached output. It that correct? I see there probably problems with 
the xorg-libraries.
Any hints are welcome.

Script started on Sun Jul 22 16:15:22 2007
merkur# portup^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^H^[[K^G^G^G^Gee UPDATING^M^M
^[[?1049h^[[m^[[4l^[[?1h^[=^[[H^[[J^[[24B^[[?1h^[=^[[7;1H^[[?1h^[=^[[H^[ 
(Escape) Menü  ^y Suchtext eing.
merkur# portupgrde ^H^H^[[K^H^[[Kade -a^M^M
cd: can't cd to /usr/ports/x11/xorg-manpages^M
** Package 'xorg-manpages' has been removed from ports tree.^M
 ---  Upgrading 'xorg-libraries-6.9.0_1' to 'xorg-libraries-7.2_1' 
(x11/xorg-libraries)^M
---  Building '/usr/ports/x11/xorg-libraries'^M
===  Cleaning for libX11-1.1.2,1^M
===  Cleaning for libXfont-1.2.8,1^M
===  Cleaning for libXfontcache-1.0.4^M
===  Cleaning for libICE-1.0.3,1^M
===  Cleaning for libSM-1.0.2,1^M
===  Cleaning for libXres-1.0.3_1^M
===  Cleaning for libXTrap-1.0.0^M
===  Cleaning for libXau-1.0.3_2^M
===  Cleaning for libXaw-1.0.2,1^M
===  Cleaning for libXcomposite-0.3.1,1^M
===  Cleaning for libXcursor-1.1.8_1^M
===  Cleaning for libXdamage-1.1.1^M
===  Cleaning for libXdmcp-1.0.2^M
===  Cleaning for libXevie-1.0.2^M
===  Cleaning for libXext-1.0.3,1^M
===  Cleaning for libXfixes-4.0.3^M
===  Cleaning for libXi-1.0.2,1^M
===  Cleaning for libXinerama-1.0.1,1^M
===  Cleaning for libXmu-1.0.3,1^M
===  Cleaning for libXp-1.0.0,1^M
===  Cleaning for libXpm-3.5.6_1^M
===  Cleaning for libXrandr-1.2.1^M
===  Cleaning for libXrender-0.9.2^M
===  Cleaning for libXScrnSaver-1.1.2^M
===  Cleaning for libXt-1.0.5^M
===  Cleaning for libXtst-1.0.1^M
===  Cleaning for libXv-1.0.3,1^M
===  Cleaning for libXvMC-1.0.4^M
===  Cleaning for libXxf86dga-1.0.1^M
===  Cleaning for libXxf86misc-1.0.1^M
===  Cleaning for libXxf86vm-1.0.1^M
===  Cleaning for libxkbfile-1.0.4^M
===  Cleaning for libxkbui-1.0.2^M
===  Cleaning for libXft-2.1.12^M
===  Cleaning for libXprintUtil-1.0.1^M
===  Cleaning for libXprintAppUtil-1.0.1^M
===  Cleaning for libfontenc-1.0.4^M
===  Cleaning for libdmx-1.0.2^M
===  Cleaning for xtrans-1.0.3^M
===  Cleaning for libFS-1.0.0^M
===  Cleaning for liboldX-1.0.1^M
===  Cleaning for bigreqsproto-1.0.2^M
===  Cleaning for xextproto-7.0.2^M
===  Cleaning for xcmiscproto-1.1.2^M
===  Cleaning for kbproto-1.0.3^M
===  Cleaning for inputproto-1.3.2^M
===  Cleaning for xf86bigfontproto-1.1.2^M
===  Cleaning for xproto-7.0.10^M
===  Cleaning for libtool-1.5.22_4^M
===  Cleaning for pkg-config-0.21^M
===  Cleaning for fontcacheproto-0.1.2^M
===  Cleaning for fontsproto-2.0.2^M
===  Cleaning for freetype2-2.2.1_2^M
===  Cleaning for resourceproto-1.0.2^M
===  Cleaning for trapproto-3.4.3^M
===  Cleaning for printproto-1.0.3^M
===  Cleaning for compositeproto-0.3.1^M
===  Cleaning for fixesproto-4.0^M
===  Cleaning for renderproto-0.9.2^M
===  Cleaning for damageproto-1.1.0_2^M
===  Cleaning for evieext-1.0.2^M
===  Cleaning for xineramaproto-1.1.2^M
===  Cleaning for randrproto-1.2.1^M
===  Cleaning for scrnsaverproto-1.1.0^M
===  Cleaning for recordproto-1.13.2^M
===  Cleaning for videoproto-2.2.2^M
===  Cleaning for xf86dgaproto-2.0.2^M
===  Cleaning for xf86miscproto-0.9.2^M
===  Cleaning for xf86vidmodeproto-2.2.2^M
===  Cleaning for fontconfig-2.4.2_2,1^M
===  Cleaning for dmxproto-2.2.2^M
===  Cleaning for gmake-3.81_2^M
===  Cleaning for expat-2.0.0_1^M
===  Cleaning for gettext-0.16.1_3^M
===  Cleaning for libiconv-1.9.2_2^M
===  Cleaning for xorg-libraries-7.2_1^M
Read /usr/ports/UPDATING for the procedure to upgrade or install xorg 7.2.^M
*** Error code 1^M
^M
Stop in /usr/ports/x11/xorg-libraries.^M
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.43790.90 
env UPGRADE_TOOL=portupgra
** Fix the problem and try again.^M
---  Skipping 'x11/xterm' (xterm-224) because a requisite package 
'xorg-libraries-6.9.0_1' (x11/xorg-lib
---  Skipping 'audio/nas' (nas-1.8) because a requisite package 
'xorg-libraries-6.9.0_1' (x11/xorg-libra
---  Skipping 'x11-toolkits/qt33' (qt-3.3.7_1) because a requisite package 
'nas-1.8' (audio/nas) failed
---  Skipping 'x11-toolkits/tk84' (tk-8.4.14_2,2) because a requisite package 
'xorg-libraries-6.9.0_1' (
---  Skipping 'devel/dbus' (dbus-1.0.2) because a requisite package 
'xorg-libraries-6.9.0_1' (x11/xorg-l
---  Skipping 'java/diablo-jdk15' (diablo-jdk-1.5.0.07.01_3) because a 
requisite package 'xorg-libraries
---  Skipping 'x11-servers/xorg-vfbserver' (xorg-vfbserver-6.9.0_2) because a 
requisite package 'xorg-li
---  Skipping 'graphics/libwmf' (libwmf-0.2.8.4) because a requisite package 
'xorg-libraries-6.9.0_1' (x
---  Skipping 'x11-toolkits/gtk12' (gtk-1.2.10_17) because a requisite 
package 'xorg-libraries-6.9.0_1'
---  Skipping 'x11-fonts/xfs' (xorg-fontserver-6.9.0_1) because a requisite 
package 'xorg-libraries-6.9.
---  Skipping 'print/ghostscript-gnu' (ghostscript-gnu-7.07_15) because a 
requisite package 'xorg-librar
---  Skipping 

Re: is this possible? (let user able to access two moint points, one beneath another)

2007-07-22 Thread Beech Rintoul
On Sunday 22 July 2007, Zhang Weiwu said:
 On Sun, 2007-07-22 at 00:43 -0800, Beech Rintoul wrote:
  Try writing the export:
 
   /var/ftp/pub  /var/ftp/pub/music -ro

 This worked! Thanks otherwise I wouldn't know the difference.

 I used to write such thing on Linux that worked:
 /var/ftp/pub parameter
 /var/ftp/pub another_set_of_parameters
 /var/ftp/pub/music parameters
 /var/ftp/pub/music another_set_of_parameters


 P.S. I can know why you didn't put FreeBSD Questions list on 'cc'?
 If you simply forgotten I'd like to forward this reply there.

Sorry, wrong reply button. Anyway you're welcome I've run into the 
same problem myself, FreeBSD won't let you export two directories 
from the same filesystem unless you do it that way.


-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


trouble compiling some ports

2007-07-22 Thread Christian Baer
Hello Folks!

Currently I am setting up a new computer (Sun U60) with FreeBSD and I am
in serious guano. :-/

I am currently running 6.2-p6, of course with the ports up to date.
Normally the ports would not be the install method of choice since the
processors of this machine are relatively slow and compiling of slightly
bigger projects seems to take forever - especially since most ports
won't compile with multipal jobs. However, probably because of the
fact that all UltraSPARC CPUs that FreeBSD supports are this slow and
AFAIK cross-plattform-compiling is not supported (yet), many of the
packages are really ancient. So if you want up to date software, you
have to use the ports.

First I tried to install portupgrade. That however failed with an error
message that lets me think, there is still some confusion because this
port was moved from sysutils/ to ports-mgmt/.[1,7] This suspicion is
hardened by the fact that ruby won't compile when it is built as a
dependency of portupgrade, however it *does* compile and install
without any complications if this is done directly from the
/usr/ports/lang/ruby18/ directory.

Well, since that didn't work I decided to get busy on the MTA. I don't
much like Sendmail (although I had some thoughts about getting re-
aquainted) and Postfix is a little more what I want. Postfix requires
Perl 5.8 to work and if that isn't installed, the Postfix port does that
for me. Because I like to at least look at the options of each port
before I build and install anything, I decided to install Perl 5.8 on
foot (from the port of course). But that too refused to work. The build
stops with an error code 1 while still saying that everything is ok[2].

To verify what happened, the port offers a make test which I ran.
While this is running it spits out several messages like this one:

lib/Test/Simple/t/threads.skipping test on this platform

where I have to admit that I don't understand why these specific test do
not apply to my plattform. There are some that I understand (like some
tests for Win32), but not all of them. Well I guess the programmer knew
what he/she was doing and left it at that.

make test also spits out three error messages[3,4,5] which I haven't
included in the correct order, I'm afraid. The end of the test script
shows an error message[6] which doesn't really make me feel confident
about installing what I've just built.

Note #1:
You may find that in the messages shown below, Perl was compiled with
the -mcpu option which tends to break some ports (or even make
buildworld). I know about this and have tried several very conservative
options, down to only -O -pipe. I have also tried not only p6 but also
the current -STABLE, compiled with different compiler-options - which I
might say is *very* ball-busting on such a slow machine.

Note #2:
Someone in a German newsgroup told me that this problem (Perl won't
compile) seems to apply to AMD64 as well. This would *really* surprise
me as Perl is widely used and I didn't find any reports of this problem
anywhere else.

Note #3:
The error message noted in [3] seems a bit more that a coincidence:
 returned,
1000 expected.
There were thoughts about big-/little-endian (SPARC is big-endian)
problems but also about a bug in gcc's data-types.

Can anyone help?

Regards,
Chris


[1] last lines from portupgrade's build
/usr/local/bin/ruby18 -p  -e 'sub %r:/usr/local:, /usr/local'
ports.rb  .build/ports.rb
/usr/local/bin/ruby18 -wc portsdb.rb
Syntax OK
/usr/local/bin/ruby18 -p  -e 'sub %r:/usr/local:, /usr/local'
portsdb.rb  .build/portsdb.rb
=== man (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/man
gzip -cn pkg_deinstall.1  pkg_deinstall.1.gz
gzip -cn pkg_fetch.1  pkg_fetch.1.gz
gzip -cn pkg_glob.1  pkg_glob.1.gz
gzip -cn pkg_sort.1  pkg_sort.1.gz
gzip -cn pkgdb.1  pkgdb.1.gz
gzip -cn portcvsweb.1  portcvsweb.1.gz
gzip -cn portsclean.1  portsclean.1.gz
gzip -cn portsdb.1  portsdb.1.gz
gzip -cn portupgrade.1  portupgrade.1.gz
gzip -cn portversion.1  portversion.1.gz
gzip -cn pkgtools.conf.5  pkgtools.conf.5.gz
=== misc (all)
=== misc/bash (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/bash
=== misc/tcsh (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/tcsh
=== misc/zsh (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/zsh 



[2] End of the Perl 5.8 build
Making threads::shared (dynamic)
Writing Makefile for threads::shared
cp shared.pm ../../../lib/threads/shared.pm
../../../miniperl -I../../../lib -I../../../lib
../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap
-typemap typemap  shared.xs  shared.xsc  mv 

Re: mulberry mail crashes when using PGP under AMD64 ... ?

2007-07-22 Thread Mathieu Arnold
+-Le 21/07/07 18:53 -0300, Marc G. Fournier a dit :
| 
| Running latest -STABLE of FreeBSD on an 64bit Dual Core, mulberry mail
| seems to run okay until such a point in time as I try to PGP Sign/Encrypt
| an email and send it out, then it 'Seg Faults' ...
| 
| gpg appears to run fine from the command line, using gpg --list-keys ...
| 
| Anyone running Mulberry + 6-STABLE + AMD64 kernel successfully?

Hum, I've had some kind of the same problem on i386, and, hum, I don't
recall what solution I finally found, but I think it was a FreeBSD/linux
locale conflict.

-- 
Mathieu Arnold

pgpXtkPdaH06W.pgp
Description: PGP signature


Getting FreeBSD to see my dvd drive

2007-07-22 Thread Joshua Isom
Yesterday I bought and installed a Lite-ON SATA DVD Writer for my  
computer.  But FreeBSD fails to recognize it at all.  I'd wondered if  
something was broken on the motherboard or the drive or if something  
wasn't hooked up completely.  The BIOS recognizes the drive just fine,  
on IDE Channel 2.  I tried booting the amd64 6.2 install disk from the  
drive and loader fails very quickly with this error:


int=000d  err=  efl=00030002  eip=0001
eax=  ebx=  ecx=0002  edx=
esi=7261  edi=0004  ebp=  esp=
cs=f000  ds=42c9  es=42a9  fs=  gs=  ss=9dd7
cs:eip=00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
   00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
ss:esp=c9 42 08 00 00 91 61 72-6f ef 00 f0 f1 bd 00 f0
   46 02 ac 72 00 f0 46 00-00 91 61 72 6f ef 00 f0

I burned an ubuntu disk on another drive and tried booting it, and it  
worked perfectly.  So I know that the drive and motherboard and  
everything hardware is fine.  I can boot linux just fine from the  
drive, yet I can't find it at all in FreeBSD.  Since linux recognizes  
it as a scsi drive, I recompiled my kernel to try to support it, but it  
failed.  My custom kernel gets the same results as the generic kernel.   
Here's my dmesg.


Copyright (c) 1992-2007 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights  
reserved.

FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 6.2-STABLE #4: Sat Jul 21 23:55:54 CDT 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM
Timecounter i8254 frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) 64 Processor 3000+ (1999.79-MHz K8-class CPU)
  Origin = AuthenticAMD  Id = 0xf4a  Stepping = 10
   
Features=0x78bfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE, 
MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2

  AMD Features=0xe0500800SYSCALL,NX,MMX+,LM,3DNow!+,3DNow!
real memory  = 518914048 (494 MB)
avail memory = 492441600 (469 MB)
ACPI APIC Table: VIAK8M AWRDACPI
ioapic0 Version 0.3 irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: VIAK8M AWRDACPI on motherboard
acpi0: Power Button (fixed)
Timecounter ACPI-fast frequency 3579545 Hz quality 1000
acpi_timer0: 24-bit timer at 3.579545MHz port 0x4008-0x400b on acpi0
cpu0: ACPI CPU on acpi0
acpi_button0: Power Button on acpi0
acpi_button1: Sleep Button on acpi0
pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0
pci0: ACPI PCI bus on pcib0
agp0: VIA 8380 host to PCI bridge mem 0xf800-0xf9ff at device  
0.0 on pci0

pcib1: PCI-PCI bridge at device 1.0 on pci0
pci1: PCI bus on pcib1
pci1: display, VGA at device 0.0 (no driver attached)
atapci0: VIA 6420 SATA150 controller port  
0xe100-0xe107,0xe700-0xe703,0xe800-0xe807,0xe900-0xe903,0xe000 
-0xe00f,0xd000-0xd0ff irq 20 at device 15.0 on pci0

ata2: ATA channel 0 on atapci0
ata3: ATA channel 1 on atapci0
atapci1: VIA 8237 UDMA133 controller port  
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe200-0xe20f at device 15.1 on  
pci0

ata0: ATA channel 0 on atapci1
ata1: ATA channel 1 on atapci1
uhci0: VIA 83C572 USB controller port 0xe300-0xe31f irq 21 at device  
16.0 on pci0

uhci0: [GIANT-LOCKED]
usb0: VIA 83C572 USB controller on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: VIA 83C572 USB controller port 0xe400-0xe41f irq 21 at device  
16.1 on pci0

uhci1: [GIANT-LOCKED]
usb1: VIA 83C572 USB controller on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: VIA 83C572 USB controller port 0xe500-0xe51f irq 21 at device  
16.2 on pci0

uhci2: [GIANT-LOCKED]
usb2: VIA 83C572 USB controller on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
uhci3: VIA 83C572 USB controller port 0xe600-0xe61f irq 21 at device  
16.3 on pci0

uhci3: [GIANT-LOCKED]
usb3: VIA 83C572 USB controller on uhci3
usb3: USB revision 1.0
uhub3: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub3: 2 ports with 2 removable, self powered
ehci0: VIA VT6202 USB 2.0 controller mem 0xfc00-0xfcff irq 21  
at device 16.4 on pci0

ehci0: [GIANT-LOCKED]
usb4: EHCI version 1.0
usb4: companion controllers, 2 ports each: usb0 usb1 usb2 usb3
usb4: VIA VT6202 USB 2.0 controller on ehci0
usb4: USB revision 2.0
uhub4: VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub4: 8 ports with 8 removable, self powered
isab0: PCI-ISA bridge at device 17.0 on pci0
isa0: ISA bus on isab0
pcm0: VIA VT8237 port 0xd400-0xd4ff irq 22 at device 17.5 on pci0
pcm0: Avance Logic ALC655 AC97 Codec
pcm0: VIA DXS Enabled: DXS 4 / SGD 1 / REC 1
vr0: VIA VT6102 Rhine II 10/100BaseTX port 0xdc00-0xdcff mem  
0xfc001000-0xfc0010ff irq 23 at device 18.0 on pci0

miibus0: MII bus on vr0
rlphy0: RTL8201L 

Re: trouble compiling some ports

2007-07-22 Thread Derek Ragona

At 02:06 PM 7/22/2007, Christian Baer wrote:

Hello Folks!

Currently I am setting up a new computer (Sun U60) with FreeBSD and I am
in serious guano. :-/

I am currently running 6.2-p6, of course with the ports up to date.
Normally the ports would not be the install method of choice since the
processors of this machine are relatively slow and compiling of slightly
bigger projects seems to take forever - especially since most ports
won't compile with multipal jobs. However, probably because of the
fact that all UltraSPARC CPUs that FreeBSD supports are this slow and
AFAIK cross-plattform-compiling is not supported (yet), many of the
packages are really ancient. So if you want up to date software, you
have to use the ports.

First I tried to install portupgrade. That however failed with an error
message that lets me think, there is still some confusion because this
port was moved from sysutils/ to ports-mgmt/.[1,7] This suspicion is
hardened by the fact that ruby won't compile when it is built as a
dependency of portupgrade, however it *does* compile and install
without any complications if this is done directly from the
/usr/ports/lang/ruby18/ directory.

Well, since that didn't work I decided to get busy on the MTA. I don't
much like Sendmail (although I had some thoughts about getting re-
aquainted) and Postfix is a little more what I want. Postfix requires
Perl 5.8 to work and if that isn't installed, the Postfix port does that
for me. Because I like to at least look at the options of each port
before I build and install anything, I decided to install Perl 5.8 on
foot (from the port of course). But that too refused to work. The build
stops with an error code 1 while still saying that everything is ok[2].

To verify what happened, the port offers a make test which I ran.
While this is running it spits out several messages like this one:

lib/Test/Simple/t/threads.skipping test on this platform

where I have to admit that I don't understand why these specific test do
not apply to my plattform. There are some that I understand (like some
tests for Win32), but not all of them. Well I guess the programmer knew
what he/she was doing and left it at that.

make test also spits out three error messages[3,4,5] which I haven't
included in the correct order, I'm afraid. The end of the test script
shows an error message[6] which doesn't really make me feel confident
about installing what I've just built.

Note #1:
You may find that in the messages shown below, Perl was compiled with
the -mcpu option which tends to break some ports (or even make
buildworld). I know about this and have tried several very conservative
options, down to only -O -pipe. I have also tried not only p6 but also
the current -STABLE, compiled with different compiler-options - which I
might say is *very* ball-busting on such a slow machine.

Note #2:
Someone in a German newsgroup told me that this problem (Perl won't
compile) seems to apply to AMD64 as well. This would *really* surprise
me as Perl is widely used and I didn't find any reports of this problem
anywhere else.

Note #3:
The error message noted in [3] seems a bit more that a coincidence:
 returned,
1000 expected.
There were thoughts about big-/little-endian (SPARC is big-endian)
problems but also about a bug in gcc's data-types.

Can anyone help?

Regards,
Chris


[1] last lines from portupgrade's build
/usr/local/bin/ruby18 -p  -e 'sub %r:/usr/local:, /usr/local'
ports.rb  .build/ports.rb
/usr/local/bin/ruby18 -wc portsdb.rb
Syntax OK
/usr/local/bin/ruby18 -p  -e 'sub %r:/usr/local:, /usr/local'
portsdb.rb  .build/portsdb.rb
=== man (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/man
gzip -cn pkg_deinstall.1  pkg_deinstall.1.gz
gzip -cn pkg_fetch.1  pkg_fetch.1.gz
gzip -cn pkg_glob.1  pkg_glob.1.gz
gzip -cn pkg_sort.1  pkg_sort.1.gz
gzip -cn pkgdb.1  pkgdb.1.gz
gzip -cn portcvsweb.1  portcvsweb.1.gz
gzip -cn portsclean.1  portsclean.1.gz
gzip -cn portsdb.1  portsdb.1.gz
gzip -cn portupgrade.1  portupgrade.1.gz
gzip -cn portversion.1  portversion.1.gz
gzip -cn pkgtools.conf.5  pkgtools.conf.5.gz
=== misc (all)
=== misc/bash (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/bash
=== misc/tcsh (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/tcsh
=== misc/zsh (all)
Warning: Object directory not changed from original
/usr/ports/ports-mgmt/portupgrade/work/pkgtools-2.3.1/misc/zsh



[2] End of the Perl 5.8 build
Making threads::shared (dynamic)
Writing Makefile for threads::shared
cp shared.pm ../../../lib/threads/shared.pm
../../../miniperl -I../../../lib -I../../../lib
../../../lib/ExtUtils/xsubpp  -typemap ../../../lib/ExtUtils/typemap

Re: Upgrade xorg 6.9 to 72

2007-07-22 Thread RW
On Sun, 22 Jul 2007 19:15:16 +0200
Martin Schweizer [EMAIL PROTECTED] wrote:

 Hello 
 
 I read UPDATING and did all the steps described there. 

No, you didn't because /usr/ports/x11/xorg-libraries/Makefile contains
a little test to make sure you have read UPDATING.

After
 portupgrade -a I get the attached output. It that correct? I see
 there probably problems with the xorg-libraries.
 Any hints are welcome.
 
 ...

 ===  Cleaning for xorg-libraries-7.2_1^M
 Read /usr/ports/UPDATING for the procedure to upgrade or install xorg
 7.2.^M *** Error code 1^M
 ^M
 Stop in /usr/ports/x11/xorg-libraries.^M


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


information about crossbuilding the world

2007-07-22 Thread Jonathan Horne
where can i get information about crossbuilding more than one architecture? i 
want to use an amd64 machine, to buildworld/kernels for both amd64 and i386.  
then, i want to installworld via NFS from i386 clients on my network. 

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Yet Another Fonts Question ...

2007-07-22 Thread custompc
Hi All, I am building up a nice little lightweight desktop. So far I have
installed base, portsnapped fetched extracted, made Xorg meta port and
fluxbox. Ive added webfonts and artwiz fonts. Ive hand rolled fonts.conf
and followed the handbook on xfonts. Fonts still dont look too great
though? In fact sometimes its hard to tell the difference between one font
and another.
I am using conky and conky reports the Xft isnt enabled so I got to
wondering if this is part of my problem? If so, how do I go about enabling
it? Thanks in advance for any advice etc. Btw I have discovered 'links
-driver x' which is great, also mp3blaster, mc, mutt - is there any other
console apps I really should know about :)

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


Re: information about crossbuilding the world

2007-07-22 Thread Garrett Cooper

Jonathan Horne wrote:
where can i get information about crossbuilding more than one architecture? i 
want to use an amd64 machine, to buildworld/kernels for both amd64 and i386.  
then, i want to installworld via NFS from i386 clients on my network. 


cheers,
  
   Should be pretty straight forward, if you use a chrooted installed 
world to build your homebrew 'releases'. Just setup the correct CPUTYPE 
in /etc/make.conf, and refer to the correct kernel config.

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


installer freebsd

2007-07-22 Thread Boudjema

Bonjour,

Please excuses,
my english is bad, so i will explain in french my problem if this is not 
understood;
i have a problem to install x window. my hope is to install kde. but 
without x, i am stopped; when i do pkg_add -r xorg, the response is: 
xorg 6.9is already installed or it's old version. when i do with   cd 
/usr/ports/X11/xorg  make install clean: i have this reponse:
error code 1, /usr/local/libdata/xorg/libraries not found in 
/usr/ports/xorg-libraries.
other big problem because i have had this response at lot off 
attemptings: /usr/X11R6/ exists but is not a symlink. I have understoot 
in bad english that in the new versions , this file /usr/X11R6 must be 
only a symlink.

what i must do to updtate and make all the corrections for all the ports?
i think that there is a problem with a few of my ports, i can delete all 
the ports and install them in new ? like this i will have a system clean.

thin you.
what is error code 1? can i install all x window systeme? with 
sysinstall lot of packages are not installed: errors and failed are 
returned.

I have read the manual in french in first.
My version is 6.2
Areski Boudjema  Nanterre France

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


BEL (primarily for vi).

2007-07-22 Thread Gary Kline

Apologies for the triple postings, but this is general enough
for the -questions list and aimed at the gnome list.  It
includes a query for the KDE list.

I just opened a konsole, the KDE-hacked xterm, IIRC.  I had the
BEL set to system bell and as with terminals, vi/vim/and
other bell-type things just flashed the screen at me.  I do have
full-screen flash set up in my Gnome menu settings.  Nothing I
can do gets the .WAV bell to work under gnome.  Long-story-short,
just for the heck of it, I tried the next bell selection and
YES my bell is back when I use vi/nvi/vim.  It sounds a bit
strange, but at least it is audible.  I watch my keyboard and
fingers when I type--if I'm not coding--so hearing the bell when
I type ESC lets me know absolutely that I'm in command mode.

,My questions: why does this fake (wav) bell work under KDE and
not Gnome?  The desktop ports are pretty close to identical here
(FBSD) as with the Ubuntu fork of Debian.  Just FYI.Another 
question is: why is the natural system spkr disabled in 
at least the Gnome and KDE managers?  What was the rational?
In other words, isn't there some default setting that could go
into every /boot/loader.conf that would let both the external
audio speakers and the dinky system speaker work?  The Linux
kernel may not have this capability; I don't know.  That's why
these questions.


thanks for any insights, guys.  this is enough to make me want to
jump back into serious hacking ...  well, almost:)

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: installer freebsd

2007-07-22 Thread Jona Joachim
On Mon, 23 Jul 2007 00:27:06 +0200
Boudjema [EMAIL PROTECTED] wrote:

 Bonjour,
 
 Please excuses,
 my english is bad, so i will explain in french my problem if this is
 not understood;
 i have a problem to install x window. my hope is to install kde. but 
 without x, i am stopped; when i do pkg_add -r xorg, the response is: 
 xorg 6.9is already installed or it's old version. when i do with   cd 
 /usr/ports/X11/xorg  make install clean: i have this reponse:
 error code 1, /usr/local/libdata/xorg/libraries not found in 
 /usr/ports/xorg-libraries.
 other big problem because i have had this response at lot off 
 attemptings: /usr/X11R6/ exists but is not a symlink. I have
 understoot in bad english that in the new versions , this
 file /usr/X11R6 must be only a symlink.
 what i must do to updtate and make all the corrections for all the
 ports? i think that there is a problem with a few of my ports, i can
 delete all the ports and install them in new ? like this i will have
 a system clean. thin you.
 what is error code 1? can i install all x window systeme? with 
 sysinstall lot of packages are not installed: errors and failed are 
 returned.
 I have read the manual in french in first.
 My version is 6.2
 Areski Boudjema  Nanterre France

Hi!
It seems to me like your ports tree is not up to date.
The first thing you want to do is update it. The easiest method is
portsnap. This is explained in the handbook.
Then there are 2 possibilities:
Either you have an old version of X installed (which seems to be the
case). You will then have to update X by following the steps described
in /usr/ports/UPDATING.
Or you don't have X installed. In this case you should build it with
cd /usr/ports/x11/xorg  make install clean
Anyway it would be of great help if you could provide a more exhaustive
error log and the output of pkg_info to see what you have installed.

If some things seem unclear and you have difficulties with English I
can reply in French.

Bien le bonjour de Nancy!
Jona
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: trouble compiling some ports

2007-07-22 Thread Christian Baer
On Sun, 22 Jul 2007 15:47:08 -0500 Derek Ragona wrote:

I am grateful for your feedback, but please try to avoid fullquotes and
only quote the part you are directly refering to. That makes things a
lot shorter and easier to read. And avoids long scrolling. :-)

 I had similar problems on one server that had an old ports tree then 
 updated ports.  I ended up having to completely delete and re-download the 
 entire ports tree, and manually remove portupgrade and portmanager and 
 reinstall them.

Well, in this case the ports *were* completely fresh from the cvs-tree.
I missed installing them via ftp and so csup created them for me. I have
however until today never had any problems with updating ports before.

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


Re: installer freebsd

2007-07-22 Thread doug

On Mon, 23 Jul 2007, Boudjema wrote:


Bonjour,

Please excuses,
my english is bad, so i will explain in french my problem if this is not 
understood;
i have a problem to install x window. my hope is to install kde. but without 
x, i am stopped; when i do pkg_add -r xorg, the response is: xorg 6.9is 
already installed or it's old version. when i do with   cd 
/usr/ports/X11/xorg  make install clean: i have this reponse:
error code 1, /usr/local/libdata/xorg/libraries not found in 
/usr/ports/xorg-libraries.
other big problem because i have had this response at lot off attemptings: 
/usr/X11R6/ exists but is not a symlink. I have understoot in bad english 
that in the new versions , this file /usr/X11R6 must be only a symlink.

what i must do to updtate and make all the corrections for all the ports?
i think that there is a problem with a few of my ports, i can delete all the 
ports and install them in new ? like this i will have a system clean.

thin you.
what is error code 1? can i install all x window systeme? with sysinstall lot 
of packages are not installed: errors and failed are returned.

I have read the manual in french in first.
My version is 6.2
Areski Boudjema  Nanterre France


It does sound like xorg 6.9 is installed. You can tell by doing

   pkg_info | less

as root. If you see something like

   xorg-6.9.0  X.Org distribution metaport
   xorg-clients-6.9.0_3 X client programs and related files from X.Org
   xorg-documents-6.9.0 Documentation of X11 protocol and libraries from X.Org
   xorg-fonts-100dpi-6.9.0_1 X.Org 100dpi bitmap fonts
   xorg-fonts-75dpi-6.9.0_1 X.Org 75dpi bitmap fonts
   xorg-fonts-cyrillic-6.9.0_1 X.Org Cyrillic bitmap fonts
   xorg-fonts-encodings-6.9.0_1 X.Org font encoding files
   xorg-fonts-miscbitmaps-6.9.0_1 X.Org miscellaneous bitmap fonts
   xorg-fonts-truetype-6.9.0 X.Org TrueType fonts
   xorg-fonts-type1-6.9.0 X.Org Type1 fonts
   xorg-fontserver-6.9.0_1 X font server from X.Org
   xorg-libraries-6.9.0_1 X11 libraries and headers from X.Org
   xorg-manpages-6.9.0 X.Org library manual pages
   xorg-nestserver-6.9.0_1 Nesting X server from X.Org
   xorg-printserver-6.9.0_2 X Print server from X.Org
   xorg-server-6.9.0_6 X.Org X server and related programs
   xorg-vfbserver-6.9.0_2 X virtual framebuffer server from X.Org
   xterm-225   Terminal emulator for the X Window System

then you have xorg installed. If xorg-6.9 is installed there is no need to 
upgrade to 7.2 unless 6.9 does not work on your hardware.


If you also installed kde from the installation CD you will see something like:

  kde-3.5.6   The meta-port for KDE

followed by a bunch of lines starting with kde.

Did you follow the instructions in the handbook, 5.4: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html?


If you did this, and kde is not installed, try creating a file named .xsession 
as


   #!/bin/sh
   /usr/X11R6/bin/twm

and then type xdm from the console to start X. This gives you a very simple 
and (hopefully) self-explanatory window manager.


If all this works you can try to install kde as a package (i.e., pre-compiled) 
by:


   setenv PACKAGEROOT ftp://ftp2.FreeBSD.org (use the mirror nearest you)
   pkg_add -r kde

or you can install kde from your install CD. It is probably on disk 2. I 
personally think installing kde from packages is easier, especially if you are 
just starting out. There are easily 100+ packages required to support kde. It 
takes a long time to build and all the required packages.


Hope this helps. If you are going to use ports (i.e. build from source), it is 
(to me) much harder when you are starting out unless you know make and a bit of 
C, C++ so you can interpert the errors. In any case you should also update your 
port tree as previously suggested.

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


problem printing to a jetdirect

2007-07-22 Thread Jonathan Horne
since i upgraded to KDE 3.5.7, each time i try to add a printer to (both my 
laptop and desktop), i get:

A print error occurred. Error message received from system:

cupsdoprint -P 'HP2200' -J 'KDE Print 
Test' -H '/var/run/cups.sock:631' -U 'jhorne' -o ' 
multiple-document-handling=separate-documents-uncollated-copies 
orientation-requested=3' '/usr/local/share/apps/kdeprint/testprint.ps' : 
execution failed with message:
client-error-document-format-not-supported 

im not sure where to begin troubleshooting this.  printer im trying to use is 
an HP LaserJet 2200, which worked previously.

anyone have some tips to get this working?

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


HOW TO: Setting up rails for shared hosting on a dedicated box. . .?

2007-07-22 Thread Michael Williams

Hi All,

A partner and I recently purchased a dedicated FreeBSD box.  We're  
currently using Plesk (blech!) to manage client domains and such.   
I'm curious though as to what the best (most manageable) setup/ 
configuration is for supporting Rails for each of our clients.   
Basically we want to be our own Shared Hosting Rails Provider (for  
lack of a more appropriate phrase) and need to figure out the best  
server configuration.  Just a bit of an FYI, everything is already  
running on Apache2 so I'd need to share Apache2 among all programs  
(e.g. svn, rails, etc);  as opposed to splitting tasks between Apache  
and Apache2.


If you could point me in the right direction it would be most  
appreciated.


Regards,
Michael

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


Problems for running Xorg 7.2 from scratch

2007-07-22 Thread Antonio Évora
Hi

I have installed FreeBSD 6.2, Xfce 4.4 and GDM  from scratch using the
ports so they have also installed a lot of xorg programs, but after
setting muy xorg.conf file, when I do 'startx' it just shows me this

xee144f5ef170fabd7071200d36ce3ee7: not found
xauth:  creating new authority file /home/nadow/.serverauth.868
xauth: (stdin):1:  bad display name :0 in add command
xauth:  creating new authority file /home/nadow/.Xauthority
xauth: (argv):1:  bad display name :0 in list command
xauth:  creating new authority file /home/nadow/.Xauthority
xauth: (stdin):1:  bad display name :0 in add command
xauth:  creating new authority file /home/nadow/.Xauthority
xauth: (argv):1:  bad display name :0 in list command
xauth:  creating new authority file /home/nadow/.Xauthority
xauth: (stdin):1:  bad display name :0 in add command

xinit:  No such file or directory (errno 2):  no server X in PATH

Use the -- option, or make sure that /usr/local/bin is in your path and
that X is a program or a link to the right type of server
for your display.  Possible server names include:

   XorgCommon X server for most displays
   XvfbVirtual frame buffer
   Xnest   X server nested in a window on another X server
   Xephyr  kdrive-based nested X server

giving up.
xinit:  Connection refused (errno 61):  unable to connect to X server
xinit:  No such process (errno 3):  Server error.
xauth:  creating new authority file /home/nadow/.Xauthority
xauth: (argv):1:  bad display name :0 in remove command
xauth: (argv):1:  bad display name :0 in remove command

-

Basically it seems that it cant found /usr/local/bin/X because in fact
it doesnt exist. I would like to know which port/s do I have to
install for avoiding the meta port of xorg 7.2 which would install a
lot of things that I really dont need...But I also ask you... when I
installed XFCE and GDM, Shouldnt have their dependencies already
installed the basics of xorg so I could run the X?

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


Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-22 Thread Olivier Nicole
Hi Chuck,

With some delay, several answers together.

  For the example I gave, I am of course authoritative.
 Are you?  Depending on which servers I query, I either get an  
 NXDOMAIN, an answer with no authoritative nameservers listed, or the  
 results you've shown.  That implies that there is something wrong  
 with the DNS delegation, and/or the various nameservers aren't  
 returning reliable results.

I think that the no authoritative means it is an answer from a
chache. Am I wrong?

 Perhaps part of the problem seems to be that:
 
 % dig -t ns desktops.cs.ait.ac.th
 ;  DiG 9.3.4  -t ns desktops.cs.ait.ac.th
 ;; global options:  printcmd
 ;; Got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 19501
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;desktops.cs.ait.ac.th. IN  NS
 
 ;; ANSWER SECTION:
 desktops.cs.ait.ac.th.  43049   IN  NS  dns.cs.ait.ac.th.
 
 ;; Query time: 1 msec
 ;; SERVER: 127.0.0.1#53(127.0.0.1)
 ;; WHEN: Mon Jul 16 12:48:42 2007
 ;; MSG SIZE  rcvd: 57
 
 ...doesn't return any A records to go with the NS record for  
 dns.cs.ait.ac.th.  It's also the case that every domain should have  
 at least two nameservers listed, and by strong preference at least  
 one nameserver should be on another subnet to improve reliability.

It should, because dns.cs.ait.ac.th has had a very stable IP for many
years and this one is served by 3 name servers.

When I set-up the dynamic DNS, I did not replicate it because I was
not sure it woul dnot generate huge traffic, nor that redundancy was
as needed as for the static DNS.

But I am in the process of upgrading the hardware, so I will duplicate
the name servers also for the dynamic part.

 It's not anticipated that a reverse lookup would return a CNAME  
 rather than a PTR.

CNAME in rDNS is to my knowledge the only way to delegate a subnet of
a class C:

I have a /24 IP range, /25 is static and /25 is dynamic. For
separation, stability, etc, I want to rDNS on /25 and that is not
possible without a trick:

in the zone declaration for the rDNS of the /24
170.41.192.in-addr.arpa. I have a line that says:

$GENERATE 128-254 $ IN  CNAME   $.170.41.192.rev-dns.cs.ait.ac.th.

hence the CNAME and the PTR are generated dynamically in the zone
170.41.192.rev-dns.cs.ait.ac.th

Best regards,

Olivier

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