Re: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Doug Barton
Mel Flynn wrote:
 On Tuesday 28 July 2009 20:24:27 Dan Mahoney, System Admin wrote:
 
 make: don't know how to make
 /usr/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop
 *** Error code 2
 
 Someone else had the same problem, and they also chose overwrite-base:

 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-08/msg00035.
 html

 But it was dismissed because he was using sudo, however the real reason
 is because this problem goes away a second time.
 
 Most likely because that option changes PREFIX, so the BUILD_COOKIE changed, 
 but the target was already in make's list of targets to make. After options 
 are stored in /var/db/ports, BUILD_COOKIE will end in ._usr.

I believe Mel is right here. 'make clean ; make config ; make' worked
for me.


Please let me know if it doesn't work for you.


Doug

-- 

This .signature sanitized for your protection

___
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: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Dan Mahoney, System Admin

On Wed, 29 Jul 2009, Doug Barton wrote:


Mel Flynn wrote:

On Tuesday 28 July 2009 20:24:27 Dan Mahoney, System Admin wrote:


make: don't know how to make
/usr/ports/dns/bind96/work/.build_done.bind96._usr_local. Stop
*** Error code 2



Someone else had the same problem, and they also chose overwrite-base:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2007-08/msg00035.
html

But it was dismissed because he was using sudo, however the real reason
is because this problem goes away a second time.


Most likely because that option changes PREFIX, so the BUILD_COOKIE changed,
but the target was already in make's list of targets to make. After options
are stored in /var/db/ports, BUILD_COOKIE will end in ._usr.


I believe Mel is right here. 'make clean ; make config ; make' worked
for me.


As does a second make after getting this error, but it's nonintuitive, and 
probably a ports bug.


-Dan

--

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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: ntpd / time synchronization

2009-07-29 Thread Zbigniew Szalbot

Hello,

Jerry pisze:


ntpd_enable=YES
ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid -f /var/db/ntp.drift


Assuming you are running the system ntpd file, the above are not
really required. They are the defaults anyway. Try commenting out the
line and restarting ntpd.


Thank you Jerry - that was the problem. If you want to run a default 
nptd service, you should not have any ntpd flags in the rc.conf file.


Thanks - the clock is now synchronized. Thank you everyone! It is 
wonderful to be part of such a friendly community.



  Zbigniew Szalbot
  www.slowo.pl
  www.fairtrade.net.pl
___
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: fsck and dump freeze freebsd. any ideas?

2009-07-29 Thread DA Forsyth
On 29 Jul 2009 , freebsd-questions-requ...@freebsd.org entreated 
about
 freebsd-questions Digest, Vol 269, Issue 6:

   After one of the last crashes, the system would lock up a short time
 after rebooting. I found the problem caused by background fsck locking
 up the system. I took the partition out of the startup check for now.
 I 'think' I was installing a port during the last crash, but it has
 been a while. I performed a fsck and a dump (to /dev/null) confirming
 that both do crash the freebsd 7.2 and 6.2 (which I booted off of a
 separate drive). A tar to /dev/null did run successfully, but I recall
 reading that that is not a recommended way to backup/move a
 filesystem. The /usr partition where it causes trouble is in a raid5
 geom_vinum three drive array. I did not yet have the array rebuild the

My experience has been that dump *with snapshot* of a live filesystem 
will crash if the filesystem is 'large'.  MY solution is to umount 
the partition.  This happens with my 800GB /home which is part of a 4 
drive raid5 array (ar driver with hardware setup).  It used to happen 
with the previous 320GB mirror array too, just with /home which is 
the biggest partition.   This is one reason I moved away from tape 
backup to a secondary server full of harddrives as backup target, the 
tape took far too long with /home unmounted and users were affected.

As for the fsck crashing, I'm lost.  Maybe a faulty drive?  




--
   DA Fo rsythNetwork Supervisor
Principal Technical Officer -- Institute for Water Research
http://www.ru.ac.za/institutes/iwr/


___
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


fsck and dump freeze freebsd. any ideas?

2009-07-29 Thread Edward Sanford Sutton, III
  The smartctl tests on the three drives came back saying they were checked 
100% without error; bad sectors have always caused an error and an aborted 
scan at the point of trouble for me in the past.
  I 'thought' I recalled seeing a panic along the lines of ffs_free or 
something related to free blocks or something at one point; maybe that was an 
error with fsck on the live system when manually ran. I will try to 
reproduce. Otherwise I do not know that fsck crashes; the entire system 
locks. I will see if I can reproduce the problem as a panic.
  There were some errors fsck seems to think it cleaned. A couple still exist 
indicating wrong counts about '12 should be 4' or '4 should be 0' type stuff. 
One error had a ridiculously large seven digit or so number that fsck said 
should be reduced. I had made a many terabyte file with a dd write to the end 
of a file of the largest size it would let me create and have since deleted 
the file; maybe that was what the reference was to. After fixing some errors, 
the fsck still causes a freeze and at what seems to be about the same point.
  The filesystem was unmounted for the dump and fsck has been attempted both 
mounted and unmounted. The filesystem has (ufs, NFS exported, local, 
soft-updates) reported for features by mount under normal operation.
  The freeze with dump did occur during a snapshot creation, which I found I 
cannot kill with a -9 (kill attempted minutes before the crash which still 
would not stop the creation).
  The powerdown question is more for how to handle an unsafe powerdown/crash 
on an active system. If I need to read from a partition, would read only 
leave it completely clean? Is there a way to operate on a file system which 
is treated as more of a ramdisk of changes and keeps the real partition 
unmodified (giving results like Faronics deepfreeze software or qemu disks in 
snapshot mode)?
  Would a zfs mirror configuration handle the unexpected crash/powerdown? 
Would it just report and fix the corruption, mention what files/structures 
weror impacted, offer restore of that data from a recent snapshot, or just 
say it is time to restore from a backup?
  Thanks again for the feedback,
Ed Sutton
___
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


How to get SystemMemorySize?

2009-07-29 Thread Edward Sanford Sutton, III
Something like the following should use the power of sysctl. physmem and 
usermem in place of realmem may be of use too. Just wish I knew proper values 
nad logic to tweak kern.ipc.shmmax and similar paramaters.

int realmem;
char* realmem_mib_name = hw.realmem;
return(sysctlbyname(usermem_mib_name, realmem, len, 0, 0))
___
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


SATA DVD issues

2009-07-29 Thread Edward Sanford Sutton, III
For the encrypted DVDs, have you set a region for the drive to match? How are 
you accessing them? Further hardware information may help (people better at 
this than I) identify issues; what SATA controller connects the drive. Last I 
checked, my promise controller cards seem to have incomplete drivers for what 
is needed to support optical drives unless I misunderstood the code.
___
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


kernel panic on SATA drive

2009-07-29 Thread Edward Sanford Sutton, III
The FreeBSD Developers' Handbook describes how to get panic information (and 
dig out further details). 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/kerneldebug.html#KERNELDEBUG-OBTAIN
Was there any output before ad7: FAILURE - device detached? Losing the drive 
in the bios makes me think hardware, but I'd check for any firmware 
problems/updates if they exist.
I have not tried yet, but FreeBSD8 is supposed to finally handle the anxiety 
of losing a drive. 
http://freebsdfoundation.org/press/2008Dec-newsletter.shtml#Project1

I would try smartctl from ports; run a long scan and read the full output to 
see if it passes or if you get a response like:
# 1  Extended offlineCompleted: read failure   20% 32490 
308342849
Also look above that output to see if there any metioned 'Error ## occured at 
disk power-on lifetime' type of messages.
to scan, run:
smartctl -t long /dev/ad7
after the scan, read output with:
smartctl -a long /dev/ad7

What motherboard is it? GeForce 8200 sounds like a graphics chipset to me.

For hardware analysis, try to isolate it to a particular drive (sounds like it 
is only the seagate), cable (data or power), motherboard sata port. When the 
drive is not recognized, does a coldboot redetect it? Does the drive start 
any audible clicking? What model of drive is it? Make sure the drive is 
dusted off, increase the cooling, and try again; I have a drive that flakes 
out if the three speed antec fan in front of it is only on low but stabilizes 
when kept cooler; its a great hint to me that the drive is near life's end.
___
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


Xorg 7.4 issue

2009-07-29 Thread Edward Sanford Sutton, III
  The keyboard works in some apps but not others? What video driver (and have 
you tried vesa if not using it to see if the problem can still be 
reproduced)? All x11 related drivers were rebuilt too? Output from the xorg 
logfile and your xorg.conf may be helpful. Maybe there is other relevant 
output to the console that X is launched from.
  Maybe a different problem, but I had trouble with keyboard input not 
appearing (and all of the X screen freezing; no blinking clock). It would 
come back with touching the mouse, and freezing was also caused by using the 
mouse. The trouble appeared back when AllowEmptyInput was discussed in the 
ports UPDATING file, but that no longer seems to work right (nor does 
DontZap) in my xorg.conf. I found things worked right by stopping hald before 
launching X.
___
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


SMTP Authentication

2009-07-29 Thread Reed Lai

Hi,

I have two freebsd mail servers both configured SMTP authentication:

   FreeBSD Handbook 28.10 SMTP Authenticatin
   http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

   SMTP AUTO in sendmail 8.10-8.13
   http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the 
maillogs of the two servers, there is an AUTH=server message appear in the 
functional server, but the other one has not.


The maillog of functional server
==
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net 
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@..., 
size=1430, class=0, nrcpts=1, 
msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP, daemon=IPv4, 
relay=59-...net [59...147]


The other one
=
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt, 
arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147], 
reject=550 5.7.1 reed...@.. Relaying denied
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@..., 
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4, 
relay=59-...-147.HINET-IP.hinet.net [59...147]


It seems the other one's smtp authentication is not trigged.

Please help or tip me for something I forget.

Thank you!

Reed 


___
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: ntpd / time synchronization

2009-07-29 Thread RW
On Wed, 29 Jul 2009 08:48:44 +0200
Zbigniew Szalbot z.szal...@lcwords.com wrote:

 Hello,
 
 Jerry pisze:
 
  ntpd_enable=YES
  ntpd_flags=-g -c /etc/ntp.conf -p /var/run/ntpd.pid
  -f /var/db/ntp.drift
  
  Assuming you are running the system ntpd file, the above are not
  really required. They are the defaults anyway. Try commenting out
  the line and restarting ntpd.
 
 Thank you Jerry - that was the problem. If you want to run a default 
 nptd service, you should not have any ntpd flags in the rc.conf file.

I doubt it, I think you must have done something else to fix it. The
only difference between what you had, and the defaults is the -g
option. That option just allows ntpd to make an initial unlimited
correction rather, rather than exiting if the clock is out by 1000s. 

___
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


Can't boot 8-BETA2 on HP Pavilion dv7

2009-07-29 Thread Wael Nasreddine
Hi all,

I'm trying to boot from 8-BETA2 DVD in order to install it on an HP
Pavilion DV7-1199EF Laptop, but I get this error message:

run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config

This is repeated a few times then installation stops and debugging
console opens, see below (typed by hand)

panic: run_interrupt_driven_config_hooks: waited too long
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 10 ]
Stopped at kdb_enter+0x3d: movq    $0,0x687f60(%rip)
db bt
Tracing pid 0 tid 10 td 0x80c11fe0
kdb_enter() at kdb_enter+0x3d
panic() at panic+0x17b
run_interrupt_driven_config_hooks() at run_interrupt_driven_config_hooks+0x117
mi_startup() at mi_startup+0x59
btext() at btext+0x2c
db

Any help is appreciated !!

Much Thanks

--
Wael Nasreddine

Blog    : http://wael.nasreddine.com
E-mail  : wael.nasredd...@gmail.com
gTalk   : wael.nasredd...@gmail.com
Tel     : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

Sabayon Linux Chief Development Officer - http://www.sabayonlinux.org

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
  would never make a good program. (L. Torvalds 1995) :.
___
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


Can't boot 8-BETA2 on HP Pavilion dv7

2009-07-29 Thread Wael Nasreddine (a.k.a eMxyzptlk)
Hi all,

I'm trying to boot from 8-BETA2 DVD in order to install it on an HP
Pavilion DV7-1199EF Laptop, but I get this error message:

run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config

This is repeated a few times then installation stops and debugging
console opens, see below (typed by hand)

panic: run_interrupt_driven_config_hooks: waited too long
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 10 ]
Stopped at kdb_enter+0x3d: movq$0,0x687f60(%rip)
db bt
Tracing pid 0 tid 10 td 0x80c11fe0
kdb_enter() at kdb_enter+0x3d
panic() at panic+0x17b
run_interrupt_driven_config_hooks() at run_interrupt_driven_config_hooks+0x117
mi_startup() at mi_startup+0x59
btext() at btext+0x2c
db

Any help is appreciated !!

Much Thanks

-- 
Wael Nasreddine

Blog: http://wael.nasreddine.com
E-mail  : wael.nasredd...@gmail.com
gTalk   : wael.nasredd...@gmail.com
Tel : +33.6.32.94.70.13
Skype   : eMxyzptlk
Twitter : @eMxyzptlk

Sabayon Linux Chief Development Officer - http://www.sabayonlinux.org

PGP: 1024D/C8DD18A2 06F6 1622 4BC8 4CEB D724  DE12 5565 3945 C8DD 18A2

.: An infinite number of monkeys typing into GNU emacs,
   would never make a good program. (L. Torvalds 1995) :.
___
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: SMTP Authentication

2009-07-29 Thread Reed Lai

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING 
SASLv2

   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40 
+0800 (CST)

ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@freebsd.org
Subject: SMTP Authentication


Hi,

I have two freebsd mail servers both configured SMTP authentication:

   FreeBSD Handbook 28.10 SMTP Authenticatin
   http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

   SMTP AUTO in sendmail 8.10-8.13
   http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the
maillogs of the two servers, there is an AUTH=server message appear in the
functional server, but the other one has not.

The maillog of functional server
==
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
size=1430, class=0, nrcpts=1,
msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP, daemon=IPv4,
relay=59-...net [59...147]

The other one
=
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
reject=550 5.7.1 reed...@.. Relaying denied
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
relay=59-...-147.HINET-IP.hinet.net [59...147]

It seems the other one's smtp authentication is not trigged.

Please help or tip me for something I forget.

Thank you!

Reed

___
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-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: problem with startx..!

2009-07-29 Thread Lowell Gilbert
thanos trompoukis atr0...@gmail.com writes:

 I removed .Xauthority and I still have the same problem

Then the error messages will have changed; look at the log again.

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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


Diablo JDK threads implementation

2009-07-29 Thread Peter Steele
We've developed a server platform around FreeBSD 7.0 consisting of
several applications written in C and one primary application written in
Java (JDK 1.6). We're seeing cases in some of ouor stress tests where
some threads in our JAVA application appear to get no CPU time for
extended periods of time (sometimes over a minute), even though the box
has lots of idle time available and all of the C threads are running
without a glitch. We thought originally it might be memory related and
the GC was kicking in and freezing the JDK. That's not the case though,
and in fact the memory footprint of the Java application is very small. 

 

I know I've read that some ports of Java do not always use native
threads for the JDK thread model. Does anyone know the story with the
Diablo JDK port? Is there another explanation what might be causing this
problem?

 

___
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: problem with startx..!

2009-07-29 Thread thanos trompoukis
It seems to be like an other desktop environment very simple.
Now when I try startx I can see the same background I could see before
but now there are 3 windows (x-term) like the console window on KDE 3.5

Why KDE not starts?







2009/7/29 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 thanos trompoukis atr0...@gmail.com writes:

  I removed .Xauthority and I still have the same problem

 Then the error messages will have changed; look at the log again.

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/

___
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-update fails finding upgrade

2009-07-29 Thread Predrag Aleksic
freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 7.2-RELEASE-p2.


Is that normal? I mean, there obviously seems to be a 7.2-RELEASE-p3 but
then why isn't my system getting updated to that?

___
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-update fails finding upgrade

2009-07-29 Thread Glen Barber
On Wed, Jul 29, 2009 at 10:58 AM, Predrag Aleksicape...@gmail.com wrote:
 freebsd-update fetch
 Looking up update.FreeBSD.org mirrors... 3 mirrors found.
 Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org...
 done.
 Fetching metadata index... done.
 Inspecting system... done.
 Preparing to download files... done.

 No updates needed to update system to 7.2-RELEASE-p2.


 Is that normal? I mean, there obviously seems to be a 7.2-RELEASE-p3 but
 then why isn't my system getting updated to that?


The patch version is only bumped when there is a change in the kernel.

See also: 
http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2009-03/msg00069.html


-- 
Glen Barber
___
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


What is Freebsd 7.2pX

2009-07-29 Thread David Southwell
Where is information about 7.2pX to be found on freebsd.org?

I am running freebsd 7.2 64 amd 

7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009 
r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

version on Intel quad core and was advised to upgrade to 7.2pX but have 
not found about such a version from the web site and a google search for 
freebsd 7.2pX produces no documents.

Thanks in advance

David


___
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: problem with startx..!

2009-07-29 Thread Polytropon
On Wed, 29 Jul 2009 18:24:14 +0300, thanos trompoukis atr0...@gmail.com wrote:
 It seems to be like an other desktop environment very simple.
 Now when I try startx I can see the same background I could see before
 but now there are 3 windows (x-term) like the console window on KDE 3.5

This is twm. It's a window manager displaying three xterms. It's
not a desktop environment.



 Why KDE not starts?

Because... maybe you're missing the correct startup files. X display
managers (xdm, kdm, gdm) and the startx command behave a bit differently.
The easiest way to be able to use *any* method of starting is to have
the following files in your home directory:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc



1. ~/.xinitrc

#!/bin/sh
[ -f ~/.xmodmaprc ]  xmodmap ~/.xmodmaprc
# ... your further startup commands here, e. g.
xsetroot -solid rgb:3b/4c/7a
xset b 100 1000 15 
xset r rate 250 30 
xset s off 
xset -dpms 
# this starts your desired window manager / DE
exec startkde

Refer to the KDE documentation about what's the correct name to start
KDE. I think it's startkde, but I may be wrong because I am not using
KDE, so it's honestly just a guess.

Make sure that both files are +x attributes.

% chmod +x .xinitrc .xsession




-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Diablo JDK threads implementation

2009-07-29 Thread Gary Gatten
For fun you could try mapping to a different thread library with
libmap.conf

-Original Message-
From: owner-freebsd-questi...@freebsd.org
[mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of Peter Steele
Sent: Wednesday, July 29, 2009 10:20 AM
To: freebsd-questions@freebsd.org
Subject: Diablo JDK threads implementation

We've developed a server platform around FreeBSD 7.0 consisting of
several applications written in C and one primary application written in
Java (JDK 1.6). We're seeing cases in some of ouor stress tests where
some threads in our JAVA application appear to get no CPU time for
extended periods of time (sometimes over a minute), even though the box
has lots of idle time available and all of the C threads are running
without a glitch. We thought originally it might be memory related and
the GC was kicking in and freezing the JDK. That's not the case though,
and in fact the memory footprint of the Java application is very small. 

 

I know I've read that some ports of Java do not always use native
threads for the JDK thread model. Does anyone know the story with the
Diablo JDK port? Is there another explanation what might be causing this
problem?

 

___
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





font size=1
div style='border:none;border-bottom:double windowtext 2.25pt;padding:0in 0in 
1.0pt 0in'
/div
This email is intended to be reviewed by only the intended recipient
 and may contain information that is privileged and/or confidential.
 If you are not the intended recipient, you are hereby notified that
 any review, use, dissemination, disclosure or copying of this email
 and its attachments, if any, is strictly prohibited.  If you have
 received this email in error, please immediately notify the sender by
 return email and delete this email from your system.
/font

___
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


Problem with Vim 7.2 upgrade

2009-07-29 Thread Arthur Barlow
I noticed today that Vim 7.2 had been updated, but when I tried to use
portupgrade, there was an error at vim file 7.2.041.  It seems there are no
checksum files.
___
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: What is Freebsd 7.2pX

2009-07-29 Thread Glen Barber
On Wed, Jul 29, 2009 at 11:15 AM, David Southwellda...@vizion2000.net wrote:
 Where is information about 7.2pX to be found on freebsd.org?

 I am running freebsd 7.2 64 amd

 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 version on Intel quad core and was advised to upgrade to 7.2pX but have
 not found about such a version from the web site and a google search for
 freebsd 7.2pX produces no documents.


You probably mean 7.2-RELEASE-p2

You can update your system with freebsd-update(8), or csup(1) and
rebuilding the base system.

This is covered in the handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html

-- 
Glen Barber
___
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: What is Freebsd 7.2pX

2009-07-29 Thread Manolis Kiagias
David Southwell wrote:
 Where is information about 7.2pX to be found on freebsd.org?

 I am running freebsd 7.2 64 amd 

 7.2-RELEASE #0: Fri May  1 07:18:07 UTC 2009 
 r...@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

 version on Intel quad core and was advised to upgrade to 7.2pX but have 
 not found about such a version from the web site and a google search for 
 freebsd 7.2pX produces no documents.

 Thanks in advance

 David

   
7.2-RELEASE-pX where X is a number representing the current patch level,
for example 7.2-RELEASE-p2.
When you are running a release version of FreeBSD, updates to the base
system include only security and critical patches.
You can get the current -p version by using the freebsd-update utility:

# freebsd-update fetch install

depending on whether a kernel update is included, a reboot may or may
not be needed (it will be needed in your case).
For more details about the different available versions of FreeBSD and
the use of the freebsd-update utility, please read Handbook's Chapter
24, esp. section 24.2.2:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html


___
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-update fails finding upgrade

2009-07-29 Thread Predrag Aleksic
On Wed, 2009-07-29 at 11:36 -0400, John Nielsen wrote: 
 On Wednesday 29 July 2009 11:31:51 Glen Barber wrote:
  On Wed, Jul 29, 2009 at 10:58 AM, Predrag Aleksicape...@gmail.com wrote:
   freebsd-update fetch
   Looking up update.FreeBSD.org mirrors... 3 mirrors found.
   Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org...
   done.
   Fetching metadata index... done.
   Inspecting system... done.
   Preparing to download files... done.
  
   No updates needed to update system to 7.2-RELEASE-p2.
  
  
   Is that normal? I mean, there obviously seems to be a 7.2-RELEASE-p3 but
   then why isn't my system getting updated to that?
 
  The patch version is only bumped when there is a change in the kernel.
 
  See also:
  http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2009-03/msg00069.
 html
 
 Also see also 
 http://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc. And either 
 be patient or use one of the other methods mentioned to update:
 
 NOTE: Due to this issue being accidentally disclosed early, updated
 binaries are yet not available via freebsd-update at the time this
 advisory is being published.  Email will be sent to the freebsd-security
 mailing list when the binaries are available via freebsd-update.
 
 JN

Didn't see that one coming...
cheers

___
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-update fails finding upgrade

2009-07-29 Thread John Nielsen
On Wednesday 29 July 2009 11:31:51 Glen Barber wrote:
 On Wed, Jul 29, 2009 at 10:58 AM, Predrag Aleksicape...@gmail.com wrote:
  freebsd-update fetch
  Looking up update.FreeBSD.org mirrors... 3 mirrors found.
  Fetching metadata signature for 7.2-RELEASE from update5.FreeBSD.org...
  done.
  Fetching metadata index... done.
  Inspecting system... done.
  Preparing to download files... done.
 
  No updates needed to update system to 7.2-RELEASE-p2.
 
 
  Is that normal? I mean, there obviously seems to be a 7.2-RELEASE-p3 but
  then why isn't my system getting updated to that?

 The patch version is only bumped when there is a change in the kernel.

 See also:
 http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2009-03/msg00069.
html

Also see also 
http://security.freebsd.org/advisories/FreeBSD-SA-09:12.bind.asc. And either 
be patient or use one of the other methods mentioned to update:

NOTE: Due to this issue being accidentally disclosed early, updated
binaries are yet not available via freebsd-update at the time this
advisory is being published.  Email will be sent to the freebsd-security
mailing list when the binaries are available via freebsd-update.

JN
___
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: Problem with Vim 7.2 upgrade

2009-07-29 Thread Diego Schulz
On Wed, Jul 29, 2009 at 11:04 AM, Arthur Barlowarthurbar...@gmail.com wrote:
 I noticed today that Vim 7.2 had been updated, but when I tried to use
 portupgrade, there was an error at vim file 7.2.041.  It seems there are no
 checksum files.

I'm also having trouble upgrading my vim installation using portmaster.


...
...
= SHA256 Checksum OK for vim/7.2.238.
= MD5 Checksum OK for vim/7.2.239.
= SHA256 Checksum OK for vim/7.2.239.
*** Error code 1

Stop in /usr/ports/editors/vim-lite.

=== make failed for editors/vim-lite
=== Aborting update

=== Update for vim-lite-7.2.209 failed
=== Aborting update


Right now I'm running csup to update the ports, to see if the issue
has been solved.
___
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: problem with startx..!

2009-07-29 Thread Jerry
On Wed, 29 Jul 2009 09:56:09 -0400
Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org wrote:

 thanos trompoukis atr0...@gmail.com writes:
 
  I removed .Xauthority and I still have the same problem
 
 Then the error messages will have changed; look at the log again.

If present, delete:

..ICEauthority
..Xauthority

Check ownership on the Desktop/ directory if present as well as
the .xinitrc file. In fact, most, if not all of the files in the $HOME
directory should be owned by you.

This definitely sounds like a permission/file ownership problem. As
previously suggested, DO NOT run 'X' as a privileged user.

You might want to post the contents of the /var/log/Xorg.0.log to
http://www.pastebin.ca; so we can get a better idea of exactly what is
happening. I might suggest that you reboot the machine before starting
'X' also. Perhaps some program is hanging up and causing the problem.

Finally/ clean out your '/var/tmp' and '/tmp' directory before starting
'X'. there is always a possibility that something there has a
permissions/file ownership problem. It can't hurt.


-- 
Jerry
ges...@yahoo.com

Life being what it is, one dreams of revenge.

Paul Gauguin
___
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


Parallel debugging

2009-07-29 Thread Daniel Underwood
I'm programming a multithreaded scientific program using pthreads and
c++.  Currently The model is SMP, but may investigate MMP using MPI in
the future.  Can anyone suggest a good debugger and possibly an
associated GUI? (E.g., gdb and ddd.)

Along the same lines, are there any free solutions comparable in scope
and/or quality to the TotalView set of debugging tools?

TIA,
Daniel
___
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: problem with startx..!

2009-07-29 Thread Lowell Gilbert
thanos trompoukis atr0...@gmail.com writes:

 It seems to be like an other desktop environment very simple.
 Now when I try startx I can see the same background I could see before
 but now there are 3 windows (x-term) like the console window on KDE 3.5

 Why KDE not starts?

Almost certainly because you didn't set it up to do so.
Please read the documentation.  E.g., 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
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: Moxa 8-port serial multiplexor, how-to

2009-07-29 Thread WATANABE Kazuhiro
Hi.

If you want to load the puc(4) driver as a loadable module, you should
load the sio(4) or uart(4) driver module as well.  But these drivers
are included in the GENERIC kernel.  So you should to remove sio(4) or
uart(4) from the kernel and load it as a loadable module.

The other solution is to builtin the puc(4) driver to the
kernel. i.e.:

sio(4)  puc(4)  status
or uart(4)

module  module  work
builtin builtin work
builtin module  not work - current choice?
module  builtin not work

(module = loadable module, builtin = kernel builtin)

Other modifications will not be needed for PCI multiport cards.

At Fri, 24 Jul 2009 10:32:52 -0500,
Doug Poland wrote:
 Hello,
 
 I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
 working in 7.2-RELEASE(i386).
 
 I've recompiled a GENERIC kernel with
 
   options COM_MULTIPORT
 
 and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
 devices in /dev.
 
 After reading the handbook(26.2) and man puc(4), sio(4).  man sio(4)
 talks about adding /boot/device.hints but not for my particular
 hardware.  I'm at a loss on how to continue.
 
 Suggestions, pointers, URLs welcome.
 
 
 -- 
 Regards,
 Doug
---
WATANABE Kazuhiro (cqg00...@nifty.ne.jp)
___
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


messed up upgrade 7.0 7.1 to 7.2

2009-07-29 Thread PJ
I have been struggling for about 4 days trying to prepare 2 computers to
update to 7.2 with no success whatsoever.
The more I read the instructions, the less I understand.
And almost nothing works as it should
Some background:
I have been using FreeBSD as a LAN server (for files storage  web
development/backup etc. and part desktop for more than 10 years. I have
never had great success when it comes to installation but have managed
to get it running and have even kept on v. 4.10 for archiving older
sites I have had.
The older methods of upgrading worked well enough even though they were
somewhat lengthy.
Last week I finally managed to set up an Acer Travelmate 4400 amd64 with
FreeBSD 7.2 and even got everything right. For the first time I was able
to get Flash  Shockwave to work on a FreeBSD installation.
With a bit of help from this list. Thanks, guys.
However, I have not been able to figure out how a custom kernel could be
set up nor how the new modular system works. Haven't found any coherent
explanations.

But now I have the following problems:
PROBLEM 1. I freebsd-update fetch did not get the security patches or
whatever else it should - all I got was error: configuration file not found

PROBLEM 2. There seems to be some confusion about how to update and keep
current the ports - portsnap seems to work in concert with portversion;
there are some problems when one uses portsnap as there are with cvsup.
The two seem necessary since some errors inn installing cannot be
handled by both...
If, for example, it is necessary to delete the port completely and
reinstall it, portsnap just does not do it. I does not see that the port
direcotry is empty; cvsup does and fills it in so the error can be
correcte and the port properly installed.
And if you use cvsup and the try to update (portupgrade -af), the
upgrading never stops... I just stopped it with ctl+c after more than 30
hours... it was getting ridiculous.
The manual instructions say some like or can doe the portupgrade -af -
but, frankly, it isn't clear on why it should or could be done? It
implies it is a form of testing.  Nonsense... the instructions are
really not clear at all, at least for a dummy like me... (of course, my
studies in English literature and philosophy don't qualify me for
understanding anything, I guess...)

PROBLEM 3. I always have been running with a custom kernel. So, to
upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went
through that process as per manual instructions. Had to reboot as I
needed to transfer some downloaded files from the 7.1 box to the 7.0 box
for port upgrading. That was a mistake. Nothing indicated that I could
not reboot without screwing things up... of course, I should have known
better; but I'm prone to that kind of error. But I'm pretty sure that
the automatic upgrade would not have worked anyway as it doesn't work on
the machine with 7.0 installed.
Booting on this 7.1 machine is now impossible. I tried to boot from the
install CD but that only made it worse. As I understood the instruction
it would upgrade the machine, but I understand now that it just doesn't
work that way... it has to be upgraded from a 7.2 CD. That I don't have
at the moment.
So the boot now just says:
Invalid format
FreeBSD/i386 boot
Default: 0:ad(0,a)/boot/kernel/kernel
boot:
-
Now, what do I do? How can I fix this machine so I can either just boot
and access my files or also upgrade to 7.2 (which was my original intent)?

PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried
# freebsd-update -r 7.2-RELEASE upgrade
and I get the famous no configuration file found.
Somehow, I don't recall that being indicated anywhere in the manual. Oh,
I did read it... several times... and the more I read it, the more I
didn't understand anything - from mergemaster to the configuration file
to the modular kernels ...
Maybe someone could explain to me just exaclty how is one supposed to
deal with the upgrading and customizing the kernel. Should one (I) be
simply using the GENERIC kernel and then expect the upgrading to be as
simple as it seems to sound?
And just what advantage (speed wise I suppose) is there to use the
custom kernel?
Maybe the easiest is to just install the 7.2 fresh; but that would take
the fun out of beating my head against an already cracked wall for
upgrading and would take probably as long to reinstall all the 644 or so
programs.
On the 7.1 machine, I don't really want to lose all the files I have on
there... most have been saved and none are really that important... but
just in case.

If this seems too long to post as is, perhaps I should break it up and
make several posts?

Please help, I am totally confused, disappointed and terribly distressed.
But I still bear no love for that shitpile of MS.

-- 
Hervé Kempf: Pour sauver la planète, sortez du capitalisme.
-
Phil Jourdan --- p...@ptahhotep.com
   http://www.ptahhotep.com
   

stepping through make buildkernel

2009-07-29 Thread Robert Huff

Is there a way to do make buildkernel one component at a
time?  (A pointer to any relevant documentation would suffice.)


Robert Huff

___
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: problem with startx..!

2009-07-29 Thread thanos trompoukis
Ok, thanks! Finaly figured it out.
It was missing .xsession and I create it.
Anyway Thank you very much for your help.
Thanx!





2009/7/29 Lowell Gilbert freebsd-questions-lo...@be-well.ilk.org

 thanos trompoukis atr0...@gmail.com writes:

  It seems to be like an other desktop environment very simple.
  Now when I try startx I can see the same background I could see before
  but now there are 3 windows (x-term) like the console window on KDE 3.5
 
  Why KDE not starts?

 Almost certainly because you didn't set it up to do so.
 Please read the documentation.  E.g.,
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/

___
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: problem with startx..!

2009-07-29 Thread Polytropon
On Wed, 29 Jul 2009 19:04:23 +0300, thanos trompoukis atr0...@gmail.com wrote:
 The .xinitrc exists  and contains this:  startkde

This should be okay for the startx command, but display managers
such as xdm and kdm aren't interested in it.



 The .xsession does not exists.

This file is needed for display managers.



 What am I suppose to do now?
 I have no Idea.

It's quite easy. Create or modify so you have this:

1. ~/.xsession

#!/bin/csh
source ~/.cshrc
exec ~/.xinitrc

This assumes that your shell is the C shell, FreeBSD's standard
dialog shell. This file is used by the display managers, such as
xdm. It sources your user's C shell settings from .cshrc so you
have these settings in X when, for example, you're starting an X
terminal. Then it continues running as .xinitrc (exec statement).

2. ~/.xinitrc

#!/bin/sh
exec startkde

This file is used when giving the startx command from the text
mode console or executed after login by a display manager, such
as xdm. It continues running as the startkde command, which is
supposed to launch your KDE session.

After creating the files, run

% chmod +x .xinitrc .xsession

Now you can

% startx

to start X and KDE, or use xdm or kdm - no matter which solution
you use, the config files are prepared to cope with both situations.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: messed up upgrade 7.0 7.1 to 7.2

2009-07-29 Thread Roland Smith
On Wed, Jul 29, 2009 at 01:33:50PM -0400, PJ wrote:
 I have been struggling for about 4 days trying to prepare 2 computers to
 update to 7.2 with no success whatsoever.
 The more I read the instructions, the less I understand.
 And almost nothing works as it should
 Some background:
 I have been using FreeBSD as a LAN server (for files storage  web
 development/backup etc. and part desktop for more than 10 years. I have
 never had great success when it comes to installation but have managed
 to get it running and have even kept on v. 4.10 for archiving older
 sites I have had.
 The older methods of upgrading worked well enough even though they were
 somewhat lengthy.
 Last week I finally managed to set up an Acer Travelmate 4400 amd64 with
 FreeBSD 7.2 and even got everything right. For the first time I was able
 to get Flash  Shockwave to work on a FreeBSD installation.
 With a bit of help from this list. Thanks, guys.
 However, I have not been able to figure out how a custom kernel could be
 set up nor how the new modular system works. Haven't found any coherent
 explanations.
 
 But now I have the following problems:
 PROBLEM 1. I freebsd-update fetch did not get the security patches or
 whatever else it should - all I got was error: configuration file not found

Does /etc/freebsd-update.conf exist?
 
 PROBLEM 2. There seems to be some confusion about how to update and keep
 current the ports - portsnap seems to work in concert with portversion;
 there are some problems when one uses portsnap as there are with cvsup.
 The two seem necessary since some errors inn installing cannot be
 handled by both...
 If, for example, it is necessary to delete the port completely and
 reinstall it, portsnap just does not do it. I does not see that the port
 direcotry is empty; cvsup does and fills it in so the error can be
 correcte and the port properly installed.

Portsnap only updates the ports tree (the directories under /usr/ports),
not the installed ports themselves. You'll need either
/usr/ports/ports-mgmt/portupgrade or /usr/ports/ports-mgmt/portmaster to
keep installed ports up to date. I prefer portmaster since it doesn't
depend on a separate database as portupgrade does. Depending on how long
it has been since you've updated your ports and the speed of your
machine, updates can indeed take a long time. You could choose to use
pre-built packages instead of compiling from source, to speed things up.

 PROBLEM 3. I always have been running with a custom kernel. So, to
 upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went
 through that process as per manual instructions. 

Did you check that the GENERIC kernel that you built was installed as
/boot/kernel/kernel?

 Had to reboot as I needed to transfer some downloaded files from the
 7.1 box to the 7.0 box for port upgrading.

It is unclear to me why you should have to reboot to transfer
files... If you want to e.g. connect two machines with an ethernet
cable, are you aware that you can use the scripts in /etc/rc.d to stop
and restart networking?

And why not just transfer files with a USB thumbdrive?

 That was a mistake. Nothing indicated that I could
 not reboot without screwing things up... of course, I should have known
 better; but I'm prone to that kind of error. But I'm pretty sure that
 the automatic upgrade would not have worked anyway as it doesn't work on
 the machine with 7.0 installed.

Without a more thorough description of the steps that you followed,
there is not really a lot others can do to help you. From your
description it is totally unclear what has gone wrong.

 Booting on this 7.1 machine is now impossible. I tried to boot from the
 install CD but that only made it worse. As I understood the instruction
 it would upgrade the machine, but I understand now that it just doesn't
 work that way... it has to be upgraded from a 7.2 CD. That I don't have
 at the moment.
 So the boot now just says:
 Invalid format
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 -

Type ? at the boot prompt to see a list of files in the root directory
of the default boot device. Read the boot(8) manual page.

It could be that something went wrong with your disk. Mabye the slices
or partitions were deleted.

 PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried
 # freebsd-update -r 7.2-RELEASE upgrade
 and I get the famous no configuration file found.

Does this configuration file (see above) exist? 

 Somehow, I don't recall that being indicated anywhere in the manual. Oh,
 I did read it... several times... and the more I read it, the more I
 didn't understand anything - from mergemaster to the configuration file
 to the modular kernels ...
 Maybe someone could explain to me just exaclty how is one supposed to
 deal with the upgrading and customizing the kernel. Should one (I) be
 simply using the GENERIC kernel and then expect the upgrading to be as
 simple as it seems to sound?

If you want a custom 

Re: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Doug Barton
Dan Mahoney, System Admin wrote:

 I believe Mel is right here. 'make clean ; make config ; make' worked
 for me.
 
 As does a second make after getting this error, but it's nonintuitive,
 and probably a ports bug.

I'm not sure why 'make clean' is nonintuitive in the context of
changing OPTIONS. What is your expectation of how it should work?

Doug

-- 

This .signature sanitized for your protection

___
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: messed up upgrade 7.0 7.1 to 7.2

2009-07-29 Thread PJ
Roland Smith wrote:
 On Wed, Jul 29, 2009 at 01:33:50PM -0400, PJ wrote:
   
 I have been struggling for about 4 days trying to prepare 2 computers to
 update to 7.2 with no success whatsoever.
 The more I read the instructions, the less I understand.
 And almost nothing works as it should
 Some background:
 I have been using FreeBSD as a LAN server (for files storage  web
 development/backup etc. and part desktop for more than 10 years. I have
 never had great success when it comes to installation but have managed
 to get it running and have even kept on v. 4.10 for archiving older
 sites I have had.
 The older methods of upgrading worked well enough even though they were
 somewhat lengthy.
 Last week I finally managed to set up an Acer Travelmate 4400 amd64 with
 FreeBSD 7.2 and even got everything right. For the first time I was able
 to get Flash  Shockwave to work on a FreeBSD installation.
 With a bit of help from this list. Thanks, guys.
 However, I have not been able to figure out how a custom kernel could be
 set up nor how the new modular system works. Haven't found any coherent
 explanations.

 But now I have the following problems:
 PROBLEM 1. I freebsd-update fetch did not get the security patches or
 whatever else it should - all I got was error: configuration file not found
 

 Does /etc/freebsd-update.conf exist?
  
   
 PROBLEM 2. There seems to be some confusion about how to update and keep
 current the ports - portsnap seems to work in concert with portversion;
 there are some problems when one uses portsnap as there are with cvsup.
 The two seem necessary since some errors inn installing cannot be
 handled by both...
 If, for example, it is necessary to delete the port completely and
 reinstall it, portsnap just does not do it. I does not see that the port
 direcotry is empty; cvsup does and fills it in so the error can be
 correcte and the port properly installed.
 

 Portsnap only updates the ports tree (the directories under /usr/ports),
 not the installed ports themselves. You'll need either
 /usr/ports/ports-mgmt/portupgrade or /usr/ports/ports-mgmt/portmaster to
 keep installed ports up to date. I prefer portmaster since it doesn't
 depend on a separate database as portupgrade does. Depending on how long
 it has been since you've updated your ports and the speed of your
 machine, updates can indeed take a long time. You could choose to use
 pre-built packages instead of compiling from source, to speed things up.

   
 PROBLEM 3. I always have been running with a custom kernel. So, to
 upgrade I am supposed to provide the GENERIC kernel in /boot. Ok, I went
 through that process as per manual instructions. 
 

 Did you check that the GENERIC kernel that you built was installed as
 /boot/kernel/kernel?

   
 Had to reboot as I needed to transfer some downloaded files from the
 7.1 box to the 7.0 box for port upgrading.
 

 It is unclear to me why you should have to reboot to transfer
 files... If you want to e.g. connect two machines with an ethernet
 cable, are you aware that you can use the scripts in /etc/rc.d to stop
 and restart networking?

 And why not just transfer files with a USB thumbdrive?

   
 That was a mistake. Nothing indicated that I could
 not reboot without screwing things up... of course, I should have known
 better; but I'm prone to that kind of error. But I'm pretty sure that
 the automatic upgrade would not have worked anyway as it doesn't work on
 the machine with 7.0 installed.
 

 Without a more thorough description of the steps that you followed,
 there is not really a lot others can do to help you. From your
 description it is totally unclear what has gone wrong.

   
 Booting on this 7.1 machine is now impossible. I tried to boot from the
 install CD but that only made it worse. As I understood the instruction
 it would upgrade the machine, but I understand now that it just doesn't
 work that way... it has to be upgraded from a 7.2 CD. That I don't have
 at the moment.
 So the boot now just says:
 Invalid format
 FreeBSD/i386 boot
 Default: 0:ad(0,a)/boot/kernel/kernel
 boot:
 -
 

 Type ? at the boot prompt to see a list of files in the root directory
 of the default boot device. Read the boot(8) manual page.

 It could be that something went wrong with your disk. Mabye the slices
 or partitions were deleted.

   
 PROBLEM 4. The machine with 7.1 - after a complete ports upgrade, I tried
 # freebsd-update -r 7.2-RELEASE upgrade
 and I get the famous no configuration file found.
 

 Does this configuration file (see above) exist? 

   
 Somehow, I don't recall that being indicated anywhere in the manual. Oh,
 I did read it... several times... and the more I read it, the more I
 didn't understand anything - from mergemaster to the configuration file
 to the modular kernels ...
 Maybe someone could explain to me just exaclty how is one supposed to
 deal with the upgrading and customizing the kernel. Should one (I) be
 simply 

Re: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Mel Flynn
On Wednesday 29 July 2009 10:57:05 Doug Barton wrote:
 Dan Mahoney, System Admin wrote:
  I believe Mel is right here. 'make clean ; make config ; make' worked
  for me.
 
  As does a second make after getting this error, but it's nonintuitive,
  and probably a ports bug.

 I'm not sure why 'make clean' is nonintuitive in the context of
 changing OPTIONS. What is your expectation of how it should work?

What he means is that make without arguments or make install as per handbook, 
will build the build target which will invoke the config target if OPTIONS 
changed or no options file is found.

However, this is a corner case, as it applies to:
- Ports that change PREFIX using OPTIONS
- For which no options file is available or the OPTIONS list has changed
- When the PREFIX is actually changed through toggling the appropriate option.

This applies surely to less then 100 (probably more like a dozen) ports on the 
18k that are in the tree and only affects people who do not use ports-mgmt 
software. As such it is not worth fixing, IMHO.
-- 
Mel
___
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


port lang/g95 installation problem, cannot exec 'f951': No such file

2009-07-29 Thread Anton Shterenlikht
this is a regression

after some recent port updates, on 7.2-stable, 8.0-current and 8.0-beta2
port lang/g95 gives:

% g95 any fortran file
g95: installation problem, cannot exec 'f951': No such file or directory

I updated g95 with portmaster, so all dependencies should've been
followed.

What is this f951?

many thanks

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423
___
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


Innovative Datalogger with Wireless Communication

2009-07-29 Thread Pablo Villarroya
This is a message in multipart MIME format.  Your mail client should not be 
displaying this. Consider upgrading your mail client to view this message 
correctly.

___
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: Problem with Vim 7.2 upgrade

2009-07-29 Thread Esa Karkkainen
On Wed, Jul 29, 2009 at 11:44:33AM -0400, Diego Schulz wrote:
 Right now I'm running csup to update the ports, to see if the issue
 has been solved.

Probably not yet. You can fix this particular error by editing
/usr/ports/editors/vim/distinfo file with your favourite editor or run
the two following commands as root

# cd /usr/ports/editors/vim
# sed -I .orig -e 's/7\.2\.041%/7.2.041^/' distinfo

-- 
In the beginning the Universe was created. This has made a lot of
people very angry and been widely regarded as a bad move.
-- Douglas Adams 1952 - 2001
___
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: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Doug Barton
Mel Flynn wrote:
 On Wednesday 29 July 2009 10:57:05 Doug Barton wrote:
 Dan Mahoney, System Admin wrote:
 I believe Mel is right here. 'make clean ; make config ; make' worked
 for me.
 As does a second make after getting this error, but it's nonintuitive,
 and probably a ports bug.
 I'm not sure why 'make clean' is nonintuitive in the context of
 changing OPTIONS. What is your expectation of how it should work?
 
 What he means is that make without arguments or make install as per handbook, 
 will build the build target which will invoke the config target if OPTIONS 
 changed or no options file is found.

In the original post the build was already done, but it had been done
with a different set of OPTIONS choices. My question is, why is
running 'make clean' in the scenario of:
1. build
2. change options
[make clean should happen here]
3. install

not intuitive?

 However, this is a corner case, as it applies to:
 - Ports that change PREFIX using OPTIONS
 - For which no options file is available or the OPTIONS list has changed
 - When the PREFIX is actually changed through toggling the appropriate option.
 
 This applies surely to less then 100 (probably more like a dozen) ports on 
 the 
 18k that are in the tree and only affects people who do not use ports-mgmt 
 software. As such it is not worth fixing, IMHO.

Forget this particular problem, you're right that the fact that the
ports system doesn't know how to deal with an obsoleted build-cookie
actually is a corner case.

My concern is the general user expectation of what should happen in
this scenario. If it's generally expected that magic should happen if
a users changes OPTIONS after building the port we need to make that
magic happen. Otherwise people will be installing things that are not
built the way that they think they are.


Doug

-- 

This .signature sanitized for your protection

___
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: Moxa 8-port serial multiplexor, how-to

2009-07-29 Thread Doug Poland
On Wed, July 29, 2009 12:04, WATANABE Kazuhiro wrote:

 At Fri, 24 Jul 2009 10:32:52 -0500,
 Doug Poland wrote:
 Hello,

 I'm trying to get a Moxa Technologies C168H/PCI 8-port mux card
 working in 7.2-RELEASE(i386).

 I've recompiled a GENERIC kernel with

   options COM_MULTIPORT

 and loaded the puc(4) module.  I don't have any new ttyd? or cuad?
 devices in /dev.

 After reading the handbook(26.2) and man puc(4), sio(4).  man sio(4)
 talks about adding /boot/device.hints but not for my particular
 hardware.  I'm at a loss on how to continue.

 Suggestions, pointers, URLs welcome.


 Hi.

 If you want to load the puc(4) driver as a loadable module, you should
 load the sio(4) or uart(4) driver module as well.  But these drivers
 are included in the GENERIC kernel.  So you should to remove sio(4) or
 uart(4) from the kernel and load it as a loadable module.

 The other solution is to builtin the puc(4) driver to the
 kernel. i.e.:

   sio(4)  puc(4)  status
   or uart(4)
   
   module  module  work
   builtin builtin work
   builtin module  not work - current choice?
   module  builtin not work
   
   (module = loadable module, builtin = kernel builtin)

 Other modifications will not be needed for PCI multiport cards.

I removed devices sio and uart from my kernel, loaded them as modules
in /boot/loader.conf, and now I have 8 additional cuad? devices!

Many thanks for your help.

-- 
Regards,
Doug

___
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


Striping a live file system RAID 10 help

2009-07-29 Thread Richard Fairbanks
OK, so this is what I want to do. I have 4 big fast drives that I want to
run in RAID 10 (1+0). So, I'll need to mirror two sets of two disks, then
stripe those two mirrors. So, how do I do this if I want this striped set of
mirrors to be my entire fs? I can create both mirrors and have the entire fs
on one of the mirrors (*mirror0*), but then I need to stripe it with the
other mirrors (*mirror1*), and trying to create a stripe (*stripe*) from
that a set of mirrors in which one of the mirrors contains the live file
system does not work, obviously.

I was thinking, very generally, of creating the fstab file that I'll need to
point to the stripe instead of ad4 for example, rsyncing everything to a
disk on a diffferent server, using a live CD to create the stripe, then
rsyncing back to the stripe. I don't know if this will work, and haven't
even come to a conclusion of the particulars needed.

Of course, if there is a way to create the striped set off mirrors before
installation then installing onto that stripe, that'd be perfect. I don't
know if that can be done. I'm sure someone has configured a RAID 10
standalone system before. (Oh, I'm using 7.2). I'm just stuck at this
point!

Thanks for any and all help!
___
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: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Dan Mahoney, System Admin

On Wed, 29 Jul 2009, Doug Barton wrote:


Dan Mahoney, System Admin wrote:


I believe Mel is right here. 'make clean ; make config ; make' worked
for me.


As does a second make after getting this error, but it's nonintuitive,
and probably a ports bug.


I'm not sure why 'make clean' is nonintuitive in the context of
changing OPTIONS. What is your expectation of how it should work?


The fact that the error occurs AT ALL is the bug and what is 
counterintuitive, and many people would not think to try typing make 
again, and instead would just assume the thing's broken.


(See previously referenced email)

Make clean isn't solving the problem, but I can see how you're getting 
that thought.  The problem only occurs on a virgin, untouched, 
un-configged port.


The solution to the problem in this case is to just re-run make.  There's 
nothing to CLEAN, since you haven't made yet.


The reason it seems like make clean fixes it may also because make clean 
does not do a make rmconfig: when I do an rmconfig I can successfully 
duplicate this problem, however:


Running make config then make: fine
Running just make, with no config: this error.

Thoughts?

--

If you aren't going to try something, then we might as well just be
friends.

We can't have that now, can we?

-SK  Dan Mahoney,  December 9, 1998

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Dan Mahoney, System Admin

On Wed, 29 Jul 2009, Doug Barton wrote:


Mel Flynn wrote:

On Wednesday 29 July 2009 10:57:05 Doug Barton wrote:

Dan Mahoney, System Admin wrote:

I believe Mel is right here. 'make clean ; make config ; make' worked
for me.

As does a second make after getting this error, but it's nonintuitive,
and probably a ports bug.

I'm not sure why 'make clean' is nonintuitive in the context of
changing OPTIONS. What is your expectation of how it should work?


What he means is that make without arguments or make install as per handbook,
will build the build target which will invoke the config target if OPTIONS
changed or no options file is found.


In the original post the build was already done, but it had been done
with a different set of OPTIONS choices. My question is, why is
running 'make clean' in the scenario of:
1. build
2. change options
[make clean should happen here]
3. install

not intuitive?


Because in my case, the thing was already clean beforehand?  Two 
systems, one 6.4-PRERELEASE (6.4 release, really, it missed the release 
date by hours), the other 6.4-STABLE.  Both exhibit this with a ports tree 
cvsupped hours before this report.


make clean (or even make distclean), make rmconfig, then make still gives 
me this issue.


run clean after changing options is intuitive and is common sense, yes.

run clean after running config and before building code that you haven't 
built before does not make sense.


On a virgin port, you are thrown into the options screen by default unless 
you have BATCH set.  That's the counterintuitive part.


-Dan

--

Happy, Sad, Happy, Sad, Happy, Sad, Happy, Intruiged!  I've never been so
in touch with my emotions!

-AndrAIa as Hexadecimal, Reboot Episode 3.2.3

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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: Problem with Vim 7.2 upgrade

2009-07-29 Thread Diego Schulz
On Wed, Jul 29, 2009 at 3:29 PM, Esa Karkkainene...@iki.fi wrote:
 On Wed, Jul 29, 2009 at 11:44:33AM -0400, Diego Schulz wrote:
 Right now I'm running csup to update the ports, to see if the issue
 has been solved.

 Probably not yet. You can fix this particular error by editing
 /usr/ports/editors/vim/distinfo file with your favourite editor or run
 the two following commands as root

 # cd /usr/ports/editors/vim
 # sed -I .orig -e 's/7\.2\.041%/7.2.041^/' distinfo


Edited distinfo by hand, and replaced % by ^ to match the file in
/usr/ports/distfiles/vim/7.2.041^

Thank you Esa.
___
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: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Doug Barton
Dan Mahoney, System Admin wrote:
 The fact that the error occurs AT ALL is the bug and what is
 counterintuitive, and many people would not think to try typing make
 again, and instead would just assume the thing's broken.

Ok, I actually misunderstood the problem that you were reporting. I
thought that the reference to .build_done.bind96._usr_local indicated
that the port had already been built once, but that is not the case.
To reproduce the bug, you need to do the following:

1. Make sure there is nothing in /var/db/ports/bind96
2. cd /usr/ports/dns/bind96
3. make
4. Enable the replace base option
5. Save the config

You will then see the following error:

make: don't know how to make
/usr/local/tmp/usr/local/ports/dns/bind96/work/.build_done.bind96._usr_local.
Stop
*** Error code 2

I think Mel is right that the problem is changing PREFIX, but that's
the whole purpose of the option.

Could you please open a PR about this with a subject something to the
effect of OPTIONS that change PREFIX cause an error after 'make
config' and describe how to reproduce this?


Thanks,

Doug

-- 

This .signature sanitized for your protection

___
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


'Mastering Customer Insights Superior Marketing Strategies Workshop 2009, 2 September @ Conrad Hotel, Bangkok

2009-07-29 Thread Customer Insights

___
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: Parallel debugging

2009-07-29 Thread Roland Smith
On Wed, Jul 29, 2009 at 12:58:19PM -0400, Daniel Underwood wrote:
 I'm programming a multithreaded scientific program using pthreads and
 c++.  Currently The model is SMP, but may investigate MMP using MPI in
 the future.  Can anyone suggest a good debugger and possibly an
 associated GUI? (E.g., gdb and ddd.)

Both gdb and ddd can in principle be used with multithreaded programs.

IMHO there is no good way to analyze a multithreaded program with a
debugger, AFAIK. E.g. do not expect the program running in the debugger
to behave the same as when running outside of the debugger, especially
if you are dealing with timing issues or heisenbugs.

The UNIX philiosophy would be to make multiple programs that can
exchange (preferably plain text) data via pipes or shared memory. That
way you can test the components separately. Look e.g. at postfix.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpR5QeeU7NFy.pgp
Description: PGP signature


Re: Don't know how to make /usr/ports/dns/bind96/work/.build....

2009-07-29 Thread Dan Mahoney, System Admin

On Wed, 29 Jul 2009, Doug Barton wrote:


Dan Mahoney, System Admin wrote:

The fact that the error occurs AT ALL is the bug and what is
counterintuitive, and many people would not think to try typing make
again, and instead would just assume the thing's broken.


Ok, I actually misunderstood the problem that you were reporting. I
thought that the reference to .build_done.bind96._usr_local indicated
that the port had already been built once, but that is not the case.
To reproduce the bug, you need to do the following:

1. Make sure there is nothing in /var/db/ports/bind96
2. cd /usr/ports/dns/bind96
3. make
4. Enable the replace base option
5. Save the config

You will then see the following error:

make: don't know how to make
/usr/local/tmp/usr/local/ports/dns/bind96/work/.build_done.bind96._usr_local.
Stop
*** Error code 2

I think Mel is right that the problem is changing PREFIX, but that's
the whole purpose of the option.

Could you please open a PR about this with a subject something to the
effect of OPTIONS that change PREFIX cause an error after 'make
config' and describe how to reproduce this?


Done, just got the mail from gnats: 137250.

-Dan

--

Pika Pika Pika!

-Pikachu, of Pokemon fame.

Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---

___
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: Parallel debugging

2009-07-29 Thread Daniel Underwood
Thanks for the reply.  I should have said that I'm also interested in
profilers.  I have limited experience (in Linux) using gprof and
valgrind.
___
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: SMTP Authentication

2009-07-29 Thread Ihor Prystay
your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:
 Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the Sendmail
 
 banyan# sendmail -d0.1 -bv root
 Version 8.14.2
 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
 SASLv2
SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG
 
  SYSTEM IDENTITY (after readcf) 
  (short domain name) $w = banyan
  (canonical domain name) $j = banyan...com
 (subdomain name) $m = ..com
  (node name) $k = banyan...com
 
 
 root... deliverable: mailer local, user root
 
 banyan# telnet localhost 25
 Trying 127.0.0.1...
 Connected to localhost.
 Escape character is '^]'.
 220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
 +0800 (CST)
 ehlo localhost
 250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
 250-ENHANCEDSTATUSCODES
 250-PIPELINING
 250-8BITMIME
 250-SIZE
 250-DSN
 250-ETRN
 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
 250-DELIVERBY
 250 HELP
 
 The Sendmail test seems OK
 But the SMTP authentication does not work from my mail client.
 
 Reed
 
 
 From: Reed Lai
 Sent: Wednesday, July 29, 2009 5:37 PM
 To: freebsd-questions@freebsd.org
 Subject: SMTP Authentication
 
 
 Hi,
 
 I have two freebsd mail servers both configured SMTP authentication:
 
FreeBSD Handbook 28.10 SMTP Authenticatin
http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html
 
SMTP AUTO in sendmail 8.10-8.13
http://www.sendmail.org/~ca/email/auth.html
 
 One is functional, and the other one doesn't seem to work. Compare the
 maillogs of the two servers, there is an AUTH=server message appear in the
 functional server, but the other one has not.
 
 The maillog of functional server
 ==
 Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
 [59...147], authid=a660407, mech=LOGIN, bits=0
 Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
 size=1430, class=0, nrcpts=1,
 msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP, daemon=IPv4,
 relay=59-...net [59...147]
 
 The other one
 =
 Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
 arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
 reject=550 5.7.1 reed...@.. Relaying denied
 Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
 size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
 relay=59-...-147.HINET-IP.hinet.net [59...147]
 
 It seems the other one's smtp authentication is not trigged.
 
 Please help or tip me for something I forget.
 
 Thank you!
 
 Reed
 
 ___
 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-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-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: SMTP Authentication

2009-07-29 Thread Reed Lai
The mail client is Windows Live Mail and it work well with the functional 
server. Its SMTP authenication should be ok.


Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
+0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@freebsd.org
Subject: SMTP Authentication


Hi,

I have two freebsd mail servers both configured SMTP authentication:

   FreeBSD Handbook 28.10 SMTP Authenticatin
   http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

   SMTP AUTO in sendmail 8.10-8.13
   http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the
maillogs of the two servers, there is an AUTH=server message appear in the
functional server, but the other one has not.

The maillog of functional server
==
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
size=1430, class=0, nrcpts=1,
msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP, daemon=IPv4,
relay=59-...net [59...147]

The other one
=
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
reject=550 5.7.1 reed...@.. Relaying denied
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
relay=59-...-147.HINET-IP.hinet.net [59...147]

It seems the other one's smtp authentication is not trigged.

Please help or tip me for something I forget.

Thank you!

Reed

___
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-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-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-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: SMTP Authentication

2009-07-29 Thread Reed Lai
The maillog does not log the sm-mta: AUTH=server action. The functional 
server has the AUTH=server action logged. How do I debug from this 
different?


Reed

From: Reed Lai
Sent: Thursday, July 30, 2009 11:51 AM
To: FreeBSD Questions
Subject: Re: SMTP Authentication


The mail client is Windows Live Mail and it work well with the functional
server. Its SMTP authenication should be ok.

Reed


From: Ihor Prystay
Sent: Thursday, July 30, 2009 10:49 AM
To: freebsd-questions@freebsd.org
Subject: Re: SMTP Authentication


your working server does support LOGIN mech while other one dosn't.
I doubt if your mail client has a support for GSSAPI DIGEST-MD5 CRAM-MD5
auth, usually it's PLAIN or/and LOGIN.

Ihor



Reed Lai wrote:

Instruction of the SMTP AUTO in sendmail 8.10-8.13 to test the Sendmail

banyan# sendmail -d0.1 -bv root
Version 8.14.2
Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
   NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
SASLv2
   SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG

 SYSTEM IDENTITY (after readcf) 
 (short domain name) $w = banyan
 (canonical domain name) $j = banyan...com
(subdomain name) $m = ..com
 (node name) $k = banyan...com


root... deliverable: mailer local, user root

banyan# telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 banyan...com ESMTP Sendmail 8.14.2/8.14.2; Wed, 29 Jul 2009 21:19:40
+0800 (CST)
ehlo localhost
250-banyan...com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP

The Sendmail test seems OK
But the SMTP authentication does not work from my mail client.

Reed


From: Reed Lai
Sent: Wednesday, July 29, 2009 5:37 PM
To: freebsd-questions@freebsd.org
Subject: SMTP Authentication


Hi,

I have two freebsd mail servers both configured SMTP authentication:

   FreeBSD Handbook 28.10 SMTP Authenticatin
   http://www.freebsd.org/doc/en/books/handbook/smtp-auth.html

   SMTP AUTO in sendmail 8.10-8.13
   http://www.sendmail.org/~ca/email/auth.html

One is functional, and the other one doesn't seem to work. Compare the
maillogs of the two servers, there is an AUTH=server message appear in the
functional server, but the other one has not.

The maillog of functional server
==
Jul 29 16:15:10 maple sm-mta[57825]: AUTH=server, relay=59-net
[59...147], authid=a660407, mech=LOGIN, bits=0
Jul 29 16:15:10 maple sm-mta[57825]: n6T8F9ej057825: from=reed...@...,
size=1430, class=0, nrcpts=1,
msgid=40f9cc65e8874d128639a39c1eebd...@reedxp, proto=ESMTP, daemon=IPv4,
relay=59-...net [59...147]

The other one
=
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: ruleset=check_rcpt,
arg1=reed...@..., relay=59-...-147.HINET-IP.hinet.net [59...147],
reject=550 5.7.1 reed...@.. Relaying denied
Jul 29 17:12:41 banyan sm-mta[2539]: n6T9Cf9q002539: from=reed...@...,
size=0, class=0, nrcpts=0, proto=ESMTP, daemon=IPv4,
relay=59-...-147.HINET-IP.hinet.net [59...147]

It seems the other one's smtp authentication is not trigged.

Please help or tip me for something I forget.

Thank you!

Reed

___
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-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-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-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-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org