Re: 7.2-STABLE to 8-R

2009-11-29 Thread John
On Wed, Nov 25, 2009 at 08:28:52AM +, John wrote:

[..stuff...]

Looks like I had to learn the hard way. portmanager won't fix it all.

Basically had to make delete old libs and files as per the Makefile in
/usr/src, then did pkg_delete -a then rm -rf /usr/ports then portsnap,
then installed what ports I needed starting off with the monsters like
the latest perl and xorg.
-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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


slightly complex query - one machine with two network interfaces

2009-11-29 Thread John
Hello list, I hope you can help.

I have a freebsd 8.0-R machine with a wired and a wireless interface.
The wired network has real IP addresses. I want the wireless to talk to
the wireless network which is behind a NAT/firewall. 

The wireless interface on the freebsd box does not want to route
traffic (although it would be nice if it could function as a repeater if
a wireless laptop was in the vicinity closer to it than the actual
access point, but that's another matter). All I want the wireless
interface on the freebsd box to do right at this moment is to talk to
the other wireless devices. The network is 192.168.0.0/24

Now, if I bring both interfaces up on the freebsd box, routing on that
box turns horrible. but the routing table looks normal with 0.0.0.0
traffic going out on the wired re0 interface. I can ping the wireless
interface from another computer on the private network, but that's about
it. Can anyone give me pointers on how to make the wireless interface
more usable? basically, I want to export via either nfs or samba some
shares to the wireless network, but routing ropiness seems to kill this.

cheers
-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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 does this message mean?

2009-11-29 Thread Bruce Cran
On Sat, 28 Nov 2009 23:27:33 -0700 (MST)
Brett Glass br...@lariat.net wrote:

 
 Just installed mpd5 to experiment with it, and got the following
 error message on the next boot:
 
 WARNING: attempt to domain_add(netgraph) after domainfinalize()
 
 What does this mean? Does it signal a serious problem?

It seems to be a harmless warning message - I've seen it many times
when starting the Bluetooth stack.

-- 
Bruce Cran
___
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: slightly complex query - one machine with two network interfaces

2009-11-29 Thread Matthew Seaman

John wrote:

Hello list, I hope you can help.

I have a freebsd 8.0-R machine with a wired and a wireless interface.
The wired network has real IP addresses. I want the wireless to talk to
the wireless network which is behind a NAT/firewall. 


The wireless interface on the freebsd box does not want to route
traffic (although it would be nice if it could function as a repeater if
a wireless laptop was in the vicinity closer to it than the actual
access point, but that's another matter). All I want the wireless
interface on the freebsd box to do right at this moment is to talk to
the other wireless devices. The network is 192.168.0.0/24

Now, if I bring both interfaces up on the freebsd box, routing on that
box turns horrible. but the routing table looks normal with 0.0.0.0
traffic going out on the wired re0 interface. I can ping the wireless
interface from another computer on the private network, but that's about
it. Can anyone give me pointers on how to make the wireless interface
more usable? basically, I want to export via either nfs or samba some
shares to the wireless network, but routing ropiness seems to kill this.


Hmmm... this isn't a particularly complex setup really.

By bringing up your wireless i/f and assigning it an IP and netmask, you
should create a route to the directly attached network (192.168.0.0/24) 
automatically.  Given that, you should certainly have the capability to 
ping other hosts on that network, and they should be able to ping you.


If there isn't an entry for 192.168.0.0/24 in the output of 


  % netstat -rn

(note: it may be printed as 192.168.0/24) then try something like this:

  # route add -net 182.168.0.0/24 -interface wlan0

wlan0 should be the correct interface on 8.0-R but other OS versions will
probably need to substitute the particular device matching their hardware.

If that doesn't work, then please show us some real data: the output from

  # ifconfig -a
  # netstat -rn

plus any /etc/rc.conf settings relating to ifconfig or wlan.

Once you've got the basic networking going, it's downhill from there.  You'll
need to provide some sort of means of doing name resolution for the wireless 
network (minimally this means adding entries to /etc/hosts, but it could require

fiddling with /etc/resolv.conf or other possibilities).  You need to be careful
that the source address of packets you send into the wireless lan is the IP 
number
on your wlan interface otherwise hosts on the wlan will send their replies out
through the NAT gateway (their default route) instead of straight back to you.
By and large this will just work automatically -- there are some software 
packages
where you can override the normal behaviour, but presumably you should know if
you've set up anything like that.  If you suspect this is a problem, use tcpdump or 
wireshark to capture and examine the traffic passing across your wlan interface.


Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: 7.2-STABLE to 8-R

2009-11-29 Thread Roland Smith
On Sun, Nov 29, 2009 at 09:49:32AM +, John wrote:
 
 Looks like I had to learn the hard way. portmanager won't fix it all.

Been there, done that. :-) 

I think this problem is just too complex when updating between major versions,
for several reasons. First of all being that the port management tool probably
do not know they are updating to a new major version of the system
libraries. Sometimes a port will not build correctly when an older version is
installed. And there can be special instructions in /usr/ports/UPDATING that
the upgrade tools can't read.

IMO building a tool that can rebuild ports between major versions would
be nice but not worth the effort, since it happens so infrequently.

 Basically had to make delete old libs and files as per the Makefile in
 /usr/src, then did pkg_delete -a then rm -rf /usr/ports then portsnap,
 then installed what ports I needed starting off with the monsters like
 the latest perl and xorg.

It seems to me that deleting the entire ports tree is not necessary. That
would delete all the distfiles as well. Next time just update it with
portsnap, it will save you a lot of downloading.

And if you have a spare machine, update that first and then copy /usr/local,
/var/db/ports and /var/db/pkg to the other machines with the same hardware
architecture. That will save you a lot of time and effort and will result in
minimal downtime and risk.

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)


pgpLHlNyoFGS7.pgp
Description: PGP signature


Re: slightly complex query - one machine with two network interfaces

2009-11-29 Thread John
On Sun, Nov 29, 2009 at 10:56:11AM +, Matthew Seaman wrote:

Thanks for your help! I will try what you suggest when I'm back at home.

-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5
___
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 Olympus USB camera on 8.0 RELEASE

2009-11-29 Thread krad
2009/11/28 Mike Clarke jmc-freeb...@milibyte.co.uk

 The camera in question is an Olympus C-2040Z, I've had no problems using
 it with 6.4. I tried rev. 7 some time ago but plugging the camera in
 always caused a panic and crash so I stayed with 6.4. Now that 8.0 is
 out I'd like to move on and the good news is that with 8.0 I can
 connect the camera without a panic but the bad news is that although
 the system detects the camera I'm not able to access it. On plugging in
 the camera I see the following console messages:

 ugen0.2: OLYMPUS at usbus0
 umass0: OLYMPUS C-2040ZOOM, class 0/0, rev 1.10/1.00, addr 2 on usbus0
 umass0:  SCSI over (unknown 0x00); quirks = 0x0100
 umass0: could not setup required transfers, USB_ERR_INVAL
 device_attach: umass0 attach returned 6

 ... and camcontrol devlist returns nothing at all

 I only see this problem with this particular camera, 2 other USB devices
 (Nikon Coolpix 3100 and Canon iP4500 printer) can be accessed OK.

 In case the info is any use for comparison here's the messages when I
 connect the camera on the same PC running 6.4:

  umass0: OLYMPUS C-2040ZOOM, rev 1.10/1.00, addr 2
  da0 at umass-sim0 bus 0 target 0 lun 0
  da0: OLYMPUS C-2040ZOOM 1.00 Removable Direct Access SCSI-2 device
  da0: 1.000MB/s transfers
  da0: 62MB (128000 512 byte sectors: 64H 32S/T 62C)

 --
 Mike Clarke
 ___
 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

 try connecting it via a powerd usb hub or forcing the usb speed down to
version 1
___
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


Dtrace

2009-11-29 Thread Tom Worster

is it likely that Dtrace will be coming to standard RELEASE kernels in
future?

i prefer not compile custom kernels for production servers but i do find the
system monitoring Dtrace affords rather handy.
-- 
View this message in context: 
http://old.nabble.com/Dtrace-tp26562798p26562798.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


ACPI temperature

2009-11-29 Thread Steven Friedrich
I booted my HP Pavilion zd8215us and I immediately invoked chkCPUTemperature.
The first temp reported was 52C, which is 125.6F. This leads me to believe
that acpi has an anomaly regarding temperature measurement. The ambient temp 
was 71F (21.6C). The machine had been off for over eight hours.

Here's chkCPUTemperature:

#!/bin/sh
# $Id:$
#

# CPU Temperature Information from ACPI
POLLING_RATE=`sysctl hw.acpi.thermal.polling_rate|awk '{print $2}'`
while [ 1 ]
do
sysctl hw.acpi.thermal.tz0.temperature
sleep $POLLING_RATE
done

uname -a
FreeBSD laptop2.StevenFriedrich.org 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #1: 
Sat Oct  3 18:47:43 EDT 2009 
r...@laptop2.stevenfriedrich.org:/usr/obj/usr/src/sys/LAPTOP  i386
___
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


Broken multimedia/dvdauthor repaired at last

2009-11-29 Thread Harald Weis
I just found a way to ''repair'' dvdauthor which is broken since several
months.
It suffices to comment two lines - 1082 and 1083 - in subreader.c like
so:
  //fribidi_set_mirroring (FRIBIDI_TRUE);
  //fribidi_set_reorder_nsm (FRIBIDI_FALSE);

# cd /usr/ports/multimedia/dvdauthor
# make
This produces the error message. Change subreader.c as said.
# vi work/dvdauthor-0.6.14/src/subreader.c
# make install

It works for me. Don't know what is missing now. But lxdvdrip which
requires dvdauthor is working as usual. :)

Hope it helps everybody else.
-- 
Harald Weis
___
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: ACPI temperature

2009-11-29 Thread ill...@gmail.com
2009/11/29 Steven Friedrich free...@insightbb.com:
 I booted my HP Pavilion zd8215us and I immediately invoked chkCPUTemperature.
 The first temp reported was 52C, which is 125.6F. This leads me to believe
 that acpi has an anomaly regarding temperature measurement. The ambient temp
 was 71F (21.6C). The machine had been off for over eight hours.


I'm not sure.  My laptop shows about 59C as soon as I can
log in, in a room kept around 16C ambient.  It rather quickly
drops to 40C if I let it idle with powerd doing its thing.

-- 
--
___
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: Sorting a device list

2009-11-29 Thread Oliver Mahmoudi
you can try to delete the /dev/ad10 entry with sed and then just append it
to the end manually using the
printf(1) utility like so:

# ls /dev/ad* | sed s/\/dev\/ad10// | grep /dev/ad  printf
/dev/ad10\n

Does that help?

Oliver





On Sun, Nov 29, 2009 at 6:56 AM, Peter Steele pste...@maxiscale.com wrote:

 I had tried that. It doesn't work:

 # ls -d1 /dev/ad* | sort -n
 /dev/ad10
 /dev/ad4
 /dev/ad6
 /dev/ad8

 I want the ad10 to appear last...

 -Original Message-
 From: Giorgos Keramidas [mailto:keram...@ceid.upatras.gr]
 Sent: Saturday, November 28, 2009 4:31 PM
 To: Peter Steele
 Cc: freebsd-questions@freebsd.org
 Subject: Re: Sorting a device list

 On Sat, 28 Nov 2009 11:48:18 -0600, Peter Steele pste...@maxiscale.com
 wrote:
  Can anyone recommend a quick and dirty way to sort a device list? For
 example, if I do this:
 
  ls /dev/ad* | sort
 
  I get something like this:
 
  /dev/ad10
  /dev/ad4
  /dev/ad6
  /dev/ad8

 Just use `sort -n':

ls -d1 /dev/ad* | sort -n

 It should work fine even when there are non-numeric prefix strings.


 ___
 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: slightly complex query - one machine with two network interfaces

2009-11-29 Thread James Phillips


 Date: Sun, 29 Nov 2009 10:16:53 +
 From: John comp.j...@googlemail.com
 Subject: slightly complex query - one machine with two
 network
     interfaces
 To: freebsd-questions freebsd-questions@freebsd.org
 Message-ID: 20091129101652.gb48...@potato
 Content-Type: text/plain; charset=us-ascii
 

 it. Can anyone give me pointers on how to make the wireless
 interface
 more usable? basically, I want to export via either nfs or
 samba some
 shares to the wireless network, but routing ropiness seems
 to kill this.
 

I suggest you should be careful here. By default NFS seems to assume that only 
trusted hosts (not users) will connect. If your share is read-only that may not 
be a problem (depending on the information shared).

You should also make sure samba is using (sufficiently strongly) encrypted 
passwords as well.

You may want to read the security section of the handbook.

Regards,

James Phillips

PS: If I want to be paranoid over wireless I need new hardware. My PII 350 can 
only do SSH (128 bit 3-DES?) at ~1MB/s.



  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/
___
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: Broken multimedia/dvdauthor repaired at last

2009-11-29 Thread Julian H. Stacey
Hi,
Reference:
 From: Harald Weis ha...@free.fr 
 Date: Sun, 29 Nov 2009 16:43:14 +0100 
 Message-id:   20091129154314.ga2...@pollux.local.net 

Harald Weis wrote:
 I just found a way to ''repair'' dvdauthor which is broken since several
 months.
 It suffices to comment two lines - 1082 and 1083 - in subreader.c like
 so:
   //fribidi_set_mirroring (FRIBIDI_TRUE);
   //fribidi_set_reorder_nsm (FRIBIDI_FALSE);
 
 # cd /usr/ports/multimedia/dvdauthor
 # make
 This produces the error message. Change subreader.c as said.
 # vi work/dvdauthor-0.6.14/src/subreader.c
 # make install
 
 It works for me. Don't know what is missing now. But lxdvdrip which
 requires dvdauthor is working as usual. :)
 
 Hope it helps everybody else.

Please use send-pr so this will be seen by those who can commit your fix.

Cheers,
Julian
-- 
Julian Stacey: BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com
Mail plain text not quoted-printable, HTML or Base64:  http://asciiribbon.org
  Vote For Smoke Free Bavarian Pubs Restaurants http://berklix.org/~jhs/nim/
___
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: Sorting a device list

2009-11-29 Thread Peter Steele
I ended up using

ls /dev/ad*|sort -g -k1.8

Not quite as generic as I wanted but it works...

From: Oliver Mahmoudi [mailto:olivermahmo...@gmail.com]
Sent: Sunday, November 29, 2009 10:36 AM
To: Peter Steele
Cc: freebsd-questions@freebsd.org
Subject: Re: Sorting a device list

you can try to delete the /dev/ad10 entry with sed and then just append it to 
the end manually using the
printf(1) utility like so:

# ls /dev/ad* | sed s/\/dev\/ad10// | grep /dev/ad  printf /dev/ad10\n

Does that help?

Oliver




On Sun, Nov 29, 2009 at 6:56 AM, Peter Steele 
pste...@maxiscale.commailto:pste...@maxiscale.com wrote:
I had tried that. It doesn't work:

# ls -d1 /dev/ad* | sort -n
/dev/ad10
/dev/ad4
/dev/ad6
/dev/ad8
I want the ad10 to appear last...

-Original Message-
From: Giorgos Keramidas 
[mailto:keram...@ceid.upatras.grmailto:keram...@ceid.upatras.gr]
Sent: Saturday, November 28, 2009 4:31 PM
To: Peter Steele
Cc: freebsd-questions@freebsd.orgmailto:freebsd-questions@freebsd.org
Subject: Re: Sorting a device list

On Sat, 28 Nov 2009 11:48:18 -0600, Peter Steele 
pste...@maxiscale.commailto:pste...@maxiscale.com wrote:
 Can anyone recommend a quick and dirty way to sort a device list? For 
 example, if I do this:

 ls /dev/ad* | sort

 I get something like this:

 /dev/ad10
 /dev/ad4
 /dev/ad6
 /dev/ad8

Just use `sort -n':

   ls -d1 /dev/ad* | sort -n

It should work fine even when there are non-numeric prefix strings.


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

2009-11-29 Thread Chris Rees
2009/11/26 Jerry ges...@yahoo.com:
 rant

rant snipped

 Even OSX greatly simplifies the
 installation process.


What are you trying to say about OS X?

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in a mailing list?
___
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: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Paul Hoffman
At 12:50 AM + 11/29/09, Frank Shute wrote:
You don't mention what command you are using to upgrade your
ports/packages.

Sorry: portupgrade -aPPR

You do realise that you don't have to upgrade your ports if you go
from 7.1 to 7.2. You can do but don't have to.

No, I didn't realize that. The FreeBSD Handbook indicates differently.

You should upgrade python25 to python26. See /usr/ports/UPDATING dated
20090608 for instructions on how to do so.

Thanks, but that didn't help. So, I have now done a long, painful 'portrupgrade 
-a', having it stop regularly to prompt me for configuration settings. We'll 
see what happens when I go to 8.

--Paul Hoffman
___
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: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Boris Samorodov
On Sun, 29 Nov 2009 12:16:15 -0800 Paul Hoffman wrote:

 So, I have now done a long, painful
 portrupgrade -a', having it stop regularly to prompt me for
 configuration settings.

I'm sure portupgrade has an option to do a recursive configure
before actual upgrade. If it doesn't you may look at portmaster.

-- 
WBR, bsam
___
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


VirtualBox: How to install 'Guest Additions' on FreeBSD host with Linux Ubuntu guest?

2009-11-29 Thread Yuri
I've setup guest additions in the menu, this makes CDROM 
VBOXADDITIONS_3. to appear in guest.
But it only has folder OS2 and Readme.txt file talking about Where have 
the Windows drivers gone?. And doesn't talk where have FreeBSD/Linux 
drivers gone.


Yuri
___
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: Broken multimedia/dvdauthor repaired at last

2009-11-29 Thread Harald Weis
On Sun, Nov 29, 2009 at 07:26:53PM +0100, Julian H. Stacey wrote:
 Hi,
 Reference:
  From:   Harald Weis ha...@free.fr 
  Date:   Sun, 29 Nov 2009 16:43:14 +0100 
  Message-id: 20091129154314.ga2...@pollux.local.net 
 
 Harald Weis wrote:
  I just found a way to ''repair'' dvdauthor which is broken since several
  months.
  It suffices to comment two lines - 1082 and 1083 - in subreader.c like
  so:
//fribidi_set_mirroring (FRIBIDI_TRUE);
//fribidi_set_reorder_nsm (FRIBIDI_FALSE);
  
  # cd /usr/ports/multimedia/dvdauthor
  # make
  This produces the error message. Change subreader.c as said.
  # vi work/dvdauthor-0.6.14/src/subreader.c
  # make install
  
  It works for me. Don't know what is missing now. But lxdvdrip which
  requires dvdauthor is working as usual. :)
  
  Hope it helps everybody else.
 
 Please use send-pr so this will be seen by those who can commit your fix.

Okay, done.
Harald
___
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: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Warren Block

On Sun, 29 Nov 2009, Boris Samorodov wrote:


On Sun, 29 Nov 2009 12:16:15 -0800 Paul Hoffman wrote:


So, I have now done a long, painful
portrupgrade -a', having it stop regularly to prompt me for
configuration settings.


I'm sure portupgrade has an option to do a recursive configure
before actual upgrade.


Yes, it's -c or -C.

-Warren Block * Rapid City, South Dakota USA
___
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: how do i automate building packages?

2009-11-29 Thread Philipp Lengemann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sat, 28 Nov 2009 01:05:47 -0800
schrieb Gary Kline kl...@thought.org:

 
   How do I build tarballs of packages that usually wind up in 
   /usr/ports/packages?
 
   I thought I had something in /etc/make.conf, but nope.  My
   build of OOo [311] recently finished on my new to-be server.  
   Since both the new Dell and this older Dell are running 7.2, I
   figure I can do any builds and move the packages across.
 
   I thought I had seen foo.tgz in /usr/ports/bar/foo/; but this
   time, no expected tarball.  --??--  A man ports isn't very
   clear.  I usually type make install clean when I build
   anything.  If I have to start over from scratch with
   openoffice would I type
 
   # make install package clean? Or what?
 
   anybody?
 
 
 

If you need packages one possibility is

# pkg_info -Ea | xargs -L1 pkg_create -b 

This will build a package of every installed port.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAksS3OAACgkQlOPmvEv31gZLcQCfTYu1X9jvr6CxgrmwgrMmavnA
36UAniyHgOkTgc5eqoyi0adt91b2FcZE
=K+9t
-END PGP SIGNATURE-
___
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

7.2R and Firefox 3.5.3 and Flash/Java - something odd I can't quite figure out...

2009-11-29 Thread Kurt Buff
All,

I've gotten Flash and Java going with Firefox, as root, using the
directions here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

However, I can't get it going as a standard user. When I run

 'nspluginwrapper -v -a -i'

I get the following:

 Auto-install plugins from /usr/local/lib/browser_plugins
 Looking for plugins in /usr/local/lib/browser_plugins
 Auto-install plugins from /usr/local/lib/npapi/linux-flashplugin
 Looking for plugins in /usr/local/lib/npapi/linux-flashplugin
 Install plugin /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
  ... already installed system-wide, skipping
 Auto-install plugins from /home/kurt/.mozilla/plugins
 Looking for plugins in /home/kurt/.mozilla/plugins

and 'about:plugins' only shows libnullplugin.so as enabled for all MIME types.

 'nspluginwrapper -l'

shows

 /usr/local/lib/browser_plugins/npwrapper.libflashplayer.so
   Original plugin: /usr/local/lib/npapi/linux-flashplugin/libflashplayer.so
   Wrapper version string: 1.2.2

Any ideas?

Kurt
___
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: how do i automate building packages?

2009-11-29 Thread Roland Smith
On Sun, Nov 29, 2009 at 09:43:07PM +0100, Philipp Lengemann wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Am Sat, 28 Nov 2009 01:05:47 -0800
 schrieb Gary Kline kl...@thought.org:
 
  
  How do I build tarballs of packages that usually wind up in 
  /usr/ports/packages?
  
  I thought I had something in /etc/make.conf, but nope.  My
  build of OOo [311] recently finished on my new to-be server.  
  Since both the new Dell and this older Dell are running 7.2, I
  figure I can do any builds and move the packages across.

Now that my desktop and laptop are both running 8.0, I build ports on my
(faster) desktop, and then rsync /usr/local to the laptop. Works fine. Of
course my laptop now has some apps on it that it doesn't really need, but on
the other hand I have been able to remove /usr/ports, /var/db/ports and
/var/db/pkg from the laptop. This is a lot easier than creating packages and
updating them on another machine.

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)


pgpkjbqayY1B5.pgp
Description: PGP signature


Re: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread Frank Shute
On Sun, Nov 29, 2009 at 12:16:15PM -0800, Paul Hoffman wrote:

 At 12:50 AM + 11/29/09, Frank Shute wrote:

 You don't mention what command you are using to upgrade your
 ports/packages.
 
 Sorry: portupgrade -aPPR

My opinion is that you shouldn't use packages and compile from source
instead. In my experience it's less troublesome and because FreeBSD is
so good at multi-tasking it's possible to get on with your work whilst
it's doing the building.

Packages only if you've got weak hardware and/or limited bandwidth.

 
 You do realise that you don't have to upgrade your ports if you go
 from 7.1 to 7.2. You can do but don't have to.
 
 No, I didn't realize that. The FreeBSD Handbook indicates differently.

It shouldn't do. You only have to rebuild all your ports if you're
going from a major version to another major version e.g 7.* to 8.0

Between minor versions FreeBSD maintains things so it shouldn't be
necessary.

 
 You should upgrade python25 to python26. See /usr/ports/UPDATING dated
 20090608 for instructions on how to do so.
 

 Thanks, but that didn't help. So, I have now done a long, painful
 'portrupgrade -a', having it stop regularly to prompt me for
 configuration settings. We'll see what happens when I go to 8.

The other guys have pointed out the neato switch to portupgrade so
that you do the config beforehand. 

It's also possible to accept the default configs by putting:

BATCH=yes

in /etc/make.conf IIRC.

As to your problems, it could be that your ports tree is out of date.
Have you c[v]sup'd or portsnapped it recently?

 
 --Paul Hoffman
 
 
Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.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: ACPI temperature

2009-11-29 Thread Steven Friedrich
On Sunday 29 November 2009 11:03:28 am you wrote:
 2009/11/29 Steven Friedrich free...@insightbb.com:
  I booted my HP Pavilion zd8215us and I immediately invoked
  chkCPUTemperature. The first temp reported was 52C, which is 125.6F. This
  leads me to believe that acpi has an anomaly regarding temperature
  measurement. The ambient temp was 71F (21.6C). The machine had been off
  for over eight hours.
 
 I'm not sure.  My laptop shows about 59C as soon as I can
 log in, in a room kept around 16C ambient.  It rather quickly
 drops to 40C if I let it idle with powerd doing its thing.
 
Thanks for the response. One question though, what OS are you running.

The reason I ask is because I want to discover if it's FreeBSD specific or 
possibly affecting Linux distros as well. And if you're running FreeBSD, which 
version.

___
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: portupgrade for binaries fails miserably, but not completely

2009-11-29 Thread RW
On Sun, 29 Nov 2009 12:16:15 -0800
Paul Hoffman phoff...@proper.com wrote:

 At 12:50 AM + 11/29/09, Frank Shute wrote:
 You don't mention what command you are using to upgrade your
 ports/packages.
 
 Sorry: portupgrade -aPPR

Packages for a release are built against the ports tree that's
distributed with the installation cd.  If you want portupgrade -aPP to
work you need to use csup with the port release tag which I think is
RELEASE_7_2_0. Otherwise use portupgrade -aP.

___
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


portmaster upgrade breaks cups-image

2009-11-29 Thread David Newman
8.0R amd64

Part of the upgrade process from 7.2R requires reinstalling all
third-party software, such as ports. I use portmaster for this,
following the nine-step procedure described in the EXAMPLES section of
the manpage.

During the upgrade, cups-image fails with the error shown below. A
temporary workaround is to disable CUPS support in ghostscript8 and
samba3, but I might want to use this box as a print server in the future.

Thanks in advance for clues on fixing this error.

Also, I believe this is the same issue as in this message:

http://is.gd/57iuU

dn

..

cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
-L/usr/local/lib -Wl,-R/usr/local/lib  -pie -fPIE -Wall -Wno-format-y2k
-fPIC -Os -g -fstack-protector -o bannertops bannertops.o pstext.o
common.o -lcupsimage \
 -lcups   -pthread -lm -lcrypt
/usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used
when making a shared object; recompile with -fPIC
/usr/lib/crt1.o: could not read symbols: Bad value
gmake[1]: *** [bannertops] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/cups-image/work/cups-1.4.2/filter'
gmake: *** [all] Error 1
*** Error code 1

Stop in /usr/ports/print/cups-image.
*** Error code 1

Stop in /usr/ports/print/cups-image.

=== make failed for print/cups-image
___
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


kdebindings4-python-pykde4 ver 4.3.3 fails to build

2009-11-29 Thread Steven Friedrich
Anyone else seeing this?

Here's the tail of the log:
[ 98%] Built target compile_python_files
make -f 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.dir/build.make
 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.dir/depend
cd /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3  
/usr/local/bin/cmake -E cmake_depends Unix Makefiles 
/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.dir/DependInfo.cmake
 
--color=
Scanning dependencies of target kpythonpluginfactory_automoc
make -f 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.dir/build.make
 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.dir/build
cd /usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory  
/usr/local/bin/automoc4 /usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/kpythonpluginfactory_automoc.cpp
 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
/usr/local/bin/moc-qt4 /usr/local/bin/cmake
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/devel/kdebindings4-
python-pykde4/work/kdebindings-4.3.3/CMakeFiles
[ 98%] Built target kpythonpluginfactory_automoc
make -f 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/build.make
 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/depend
cd /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3  
/usr/local/bin/cmake -E cmake_depends Unix Makefiles 
/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/DependInfo.cmake
 
--color=
Scanning dependencies of target kpythonpluginfactory
make -f 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/build.make
 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/build
/usr/local/bin/cmake -E cmake_progress_report /usr/ports/devel/kdebindings4-
python-pykde4/work/kdebindings-4.3.3/CMakeFiles 
[ 98%] Building CXX object 
python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpythonpluginfactory_automoc.o
cd /usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory  
/usr/bin/c++   -DMAKE_KPYTHONPLUGINFACTORY_LIB -D_GNU_SOURCE -DQT_NO_STL -
DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -
D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API -
DKDE_DEFAULT_DEBUG_AREA=15000 -O2 -fno-strict-aliasing -pipe -march=pentium4 -
Woverloaded-virtual -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g -
DNDEBUG -DQT_NO_DEBUG -fPIC -I/usr/ports/devel/kdebindings4-python-
pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory -
I/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 -
I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -
I/usr/local/include/qt4/KDE -I/usr/local/include/qt4 -
I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtWebKit -
I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDBus -
I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtUiTools -
I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtSvg -
I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -
I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -
I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/Qt3Support -
I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -
I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -
I/usr/local/include -I/usr/local/include/python2.5 -
I/usr/local/kde4/include/solid -I/usr/local/kde4/include/kio -
I/usr/local/kde4/include/kdeprint -I/usr/local/kde4/include/kdeprint/lpr -
I/usr/local/kde4/include/dom -I/usr/local/kde4/include/ksettings -
I/usr/local/kde4/include/knewstuff2 -I/usr/local/kde4/include/dnssd -
I/usr/local/include/PolicyKit/polkit-qt 

FreeBSD 8.0 system setup with ZFS steps

2009-11-29 Thread Derrick Ryalls
Greetings,

I created the following guide when I was trying out ZFS in VirtualBox
on my windows machine.  I created 5 hard drives: 1 to represent a
flash drive to boot off of, 4 to represent the large hard drives I
would be using in raid.  It seemed to work to get a running system,
but wanted to make sure I wasn't doing anything stupid or missing a
good step.

FreeBSD 8.0 with ZFS


*Setup
   Use a 2gig Flash device.  1 gig is enough space though.  512M will be tight.
   Collect the 4 other SATA drives.
*Start FreeBSD normal install.
   Select the flash device as the device to install to.
   Use the entire device
   Install the bootMgr
   Create a single slice taking up the entire device, mount to /
   Select distribution minimal
   Run install
   Normal post install answers
   Reboot
*Activate ZFS 
(http://www.freebsd.org/doc/en/books/handbook/filesystems-zfs.html)
   Follow instructions for RaidZ
   Be sure to add the instructions for daily raid mails
*Create mount points in pool
   home
   local
   obj
   ports
   src
   var
   share
   tmp
*One at a time, copy existing data from / to new mount points.
Instructions are in the link above
*Reboot (make sure nothing is broken)
*Swap
   zfs create -V 4g storage/swap
   geli onetime -s 4096 /dev/zvol/storage/swap (encryption, might not be needed)
   swapon /dev/zvol/storage/swap.eli
*pkg_add -r bash
*Add users
*Normal setup at this point.

/copy

My goal is to not burn out the flash drive with a bunch of writes, so
it should primarily be read only, with the occasional edit to a config
file or installworld.  I tried putting /etc in a ZFS pool to take
advantage of snapshots and such, but the machine couldn't find the
boot drive as that information is stored in /etc and ZFS is not loaded
at that point.

Am I doing something stupid that may burn out the flash drive or cause
the system to be rather slow?

Thanks,

Derrick
___
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


mysterious try process dumping core on 7.2-RELEASE ... worried ...

2009-11-29 Thread George Sanders


I see these two entries in my /var/log/messages:

Nov 24 18:08:41 hostname kernel: pid 25901 (try), uid 0: exited on signal 10 
(core dumped)
Nov 24 18:10:29 hostname kernel: pid 35359 (try), uid 0: exited on signal 10 
(core dumped)

But I've never heard of a try binary, and 'which try' shows nothing ...

When I search through my system, the only thing remotely resembling try is:

/usr/ports/lang/perl5.8/work/perl-5.8.9/lib/Test/Simple/t/try.t

I do see that my perl binary is dated:

0 lrwxr-xr-x  1 root  wheel  24 Nov 24 18:12 /usr/bin/perl

a few minutes after those error messages, so perhaps that is it ... 

Anyway, what is try.t, what is a .t file and if a try.t file core dumped, 
would I indeed see simply try in my logs, as above ?

Thanks.


  

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


Re: kdebindings4-python-pykde4 ver 4.3.3 fails to build

2009-11-29 Thread Dima Panov
On Monday 30 November 2009 12:03:41 Steven Friedrich wrote:
 Anyone else seeing this?
 
 Here's the tail of the log:
 [ 98%] Built target compile_python_files
 make -f
 python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.
 dir/build.make
  python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc
 .dir/depend cd
  /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 
  /usr/local/bin/cmake -E cmake_depends Unix Makefiles
 /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory
 /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/CMakeFiles
 /kpythonpluginfactory_automoc.dir/DependInfo.cmake --color=
 Scanning dependencies of target kpythonpluginfactory_automoc
 make -f
 python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc.
 dir/build.make
  python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory_automoc
 .dir/build cd /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
 /usr/local/bin/automoc4 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/kpythonplu
 ginfactory_automoc.cpp /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory
 /usr/local/bin/moc-qt4 /usr/local/bin/cmake
 /usr/local/bin/cmake -E cmake_progress_report
  /usr/ports/devel/kdebindings4-
  python-pykde4/work/kdebindings-4.3.3/CMakeFiles
 [ 98%] Built target kpythonpluginfactory_automoc
 make -f
 python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/buil
 d.make
  python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/dep
 end cd /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3
   /usr/local/bin/cmake -E cmake_depends Unix Makefiles
 /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory
 /usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory
 /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory/CMakeFiles
 /kpythonpluginfactory.dir/DependInfo.cmake --color=
 Scanning dependencies of target kpythonpluginfactory
 make -f
 python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/buil
 d.make
  python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/bui
 ld /usr/local/bin/cmake -E cmake_progress_report
  /usr/ports/devel/kdebindings4-
  python-pykde4/work/kdebindings-4.3.3/CMakeFiles
 [ 98%] Building CXX object
 python/pykde4/kpythonpluginfactory/CMakeFiles/kpythonpluginfactory.dir/kpyt
 honpluginfactory_automoc.o cd /usr/ports/devel/kdebindings4-python-
 pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory 
 /usr/bin/c++   -DMAKE_KPYTHONPLUGINFACTORY_LIB -D_GNU_SOURCE -DQT_NO_STL -
 DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DQT3_SUPPORT -
 D_REENTRANT -DQT_CORE_LIB -DQT_GUI_LIB
  -DUSING_SOPRANO_NRLMODEL_UNSTABLE_API - DKDE_DEFAULT_DEBUG_AREA=15000 -O2
  -fno-strict-aliasing -pipe -march=pentium4 - Woverloaded-virtual
  -fvisibility=hidden -fvisibility-inlines-hidden -O2 -g - DNDEBUG
  -DQT_NO_DEBUG -fPIC -I/usr/ports/devel/kdebindings4-python-
  pykde4/work/kdebindings-4.3.3/python/pykde4/kpythonpluginfactory -
  I/usr/ports/devel/kdebindings4-python-pykde4/work/kdebindings-4.3.3 -
  I/usr/local/kde4/include -I/usr/local/kde4/include/KDE -
 I/usr/local/include/qt4/KDE -I/usr/local/include/qt4 -
 I/usr/local/include/qt4/phonon -I/usr/local/include/qt4/QtWebKit -
 I/usr/local/include/qt4/QtHelp -I/usr/local/include/qt4/QtDBus -
 I/usr/local/include/qt4/QtTest -I/usr/local/include/qt4/QtUiTools -
 I/usr/local/include/qt4/QtScript -I/usr/local/include/qt4/QtSvg -
 I/usr/local/include/qt4/QtXml -I/usr/local/include/qt4/QtSql -
 I/usr/local/include/qt4/QtOpenGL -I/usr/local/include/qt4/QtNetwork -
 I/usr/local/include/qt4/QtDesigner -I/usr/local/include/qt4/Qt3Support -
 I/usr/local/include/qt4/QtGui -I/usr/local/include/qt4/QtCore -
 I/usr/local/include/qt4/Qt -I/usr/local/share/qt4/mkspecs/default -
 I/usr/local/include -I/usr/local/include/python2.5 -
 I/usr/local/kde4/include/solid -I/usr/local/kde4/include/kio -
 I/usr/local/kde4/include/kdeprint -I/usr/local/kde4/include/kdeprint/lpr -
 I/usr/local/kde4/include/dom 

ntpdate on FreeBSD 8.0

2009-11-29 Thread ajtiM
Hi!

I have new installed FreeBSD 8.0 and in rc.conf I have:

ntpdate_enable=YES
ntpdate_hosts=ntp1.cs.wisc.edu

When I boot computer I get a message there are no this host but when I run 
/usr/sbin/ntpdate ntp1.cs.wisc.edu it works.

I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All 
settings on FreeBSD8.0 are the same as I had on 7.2.

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


Why I am getting message: wlan0: ieee80211_new_state_locked: pending SCAN - RUN transition lost in 8.0 with ndis driver?

2009-11-29 Thread Yuri
After upgrading to 8.0 I am getting a new message: wlan0: 
/ieee80211_new_state_locked: pending SCAN/ - RUN transition lost.

I use ndis driver with Broadcom WiFi card BCM94312MCGSG.

Yuri

___
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: ntpdate on FreeBSD 8.0

2009-11-29 Thread Anh K. Huỳnh
On Sun, 29 Nov 2009 20:39:32 -0600
ajtiM lum...@gmail.com wrote:

 Hi!
 
 I have new installed FreeBSD 8.0 and in rc.conf I have:
 
 ntpdate_enable=YES
 ntpdate_hosts=ntp1.cs.wisc.edu
 
 When I boot computer I get a message there are no this host but
 when I run /usr/sbin/ntpdate ntp1.cs.wisc.edu it works.
 

This is due to DNS problem. Your DNS resolver must work before you run 
`ntpdate`.

 I had the same in rc.conf on FreeBSD 7.2 and it works all the time.
 All settings on FreeBSD8.0 are the same as I had on 7.2.
 
 Thanks in advance.


-- 
Anh K. Huynh
Homepage: http://viettug.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: ntpdate on FreeBSD 8.0

2009-11-29 Thread Warren Block

On Sun, 29 Nov 2009, ajtiM wrote:


I have new installed FreeBSD 8.0 and in rc.conf I have:

ntpdate_enable=YES
ntpdate_hosts=ntp1.cs.wisc.edu

When I boot computer I get a message there are no this host but when I run
/usr/sbin/ntpdate ntp1.cs.wisc.edu it works.

I had the same in rc.conf on FreeBSD 7.2 and it works all the time. All
settings on FreeBSD8.0 are the same as I had on 7.2.


Might you have a Realtek network card?

-Warren Block * Rapid City, South Dakota USA
___
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


8.0 MYSQL50 denying access to user root no password

2009-11-29 Thread Fbsd1
For many releases of Freebsd going back to 4.3 I have all ways used the 
default mysql user root localhost with no password which has been the 
default.

With 8.0/mysql-server-5.0.86 I am denied access now.
The mysql manual still says the normal install defaults to allowing
access to user root with no password are in effect.

After a fresh clean install of mysql
Tried  mysqladmin -u root drop test   to delete the test db.
Received this msg
connect to srver at localhost failed
access denied for user 'r...@localost (using password: no)
This in not suppose to happen.

Is anyone else having this problem?
Has the package for mysql50-server been changed to force securing user 
root with a password?

___
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: Sorting a device list

2009-11-29 Thread perryh
Oliver Mahmoudi olivermahmo...@gmail.com wrote:
 you can try to delete the /dev/ad10 entry with sed and then just
 append it to the end manually using the printf(1) utility like so:

 # ls /dev/ad* | sed s/\/dev\/ad10// | grep /dev/ad  printf
 /dev/ad10\n

Or strip the non-numerics from the beginning of each line, and put
them back after sorting:

# pfx=/dev/ad ; ls -d1 ${pfx}* | sed s;$pfx;; | sort -n | sed s;^;$pfx;
___
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: portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-29 Thread Richard Kolkovich
On Sun, Nov 29, 2009 at 08:42:30AM +0100, n dhert wrote:
 In my nightly portupgrade I got, while upgrading  print/cups-client :
 ...
 /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
 making
  a shared object; recompile with -fPIC
 /usr/lib/crt1.o: could not read symbols: Bad value
 gmake[1]: *** [bannertops] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/print/cups-client/work/cups-1.4.2/filter
 '
 gmake: *** [all] Error 1
 *** Error code 1
 Stop in /usr/ports/print/cups-client.
 *** Error code 1
 Stop in /usr/ports/print/cups-client.

I can confirm this same build error on my (amd64) box after upgrading to 
8.0-STABLE (RELENG_8).
cups-image was compiled previously on 8.0-RC1.

-- 

Richard Kolkovich
sarum...@sigil.org
PGP Key: 0x9E54EF59 (http://pgp.mit.edu)


pgpm9DcnvcEVR.pgp
Description: PGP signature


Re: portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-29 Thread wen heping
On Mon, Nov 30, 2009 at 1:40 PM, Richard Kolkovich sarum...@sigil.orgwrote:

 On Sun, Nov 29, 2009 at 08:42:30AM +0100, n dhert wrote:
  In my nightly portupgrade I got, while upgrading  print/cups-client :
  ...
  /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
  making
   a shared object; recompile with -fPIC
  /usr/lib/crt1.o: could not read symbols: Bad value
  gmake[1]: *** [bannertops] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/print/cups-client/work/cups-1.4.2/filter
  '
  gmake: *** [all] Error 1
  *** Error code 1
  Stop in /usr/ports/print/cups-client.
  *** Error code 1
  Stop in /usr/ports/print/cups-client.

 I can confirm this same build error on my (amd64) box after upgrading to
 8.0-STABLE (RELENG_8).


me too.


 cups-image was compiled previously on 8.0-RC1.

 --

 Richard Kolkovich
 sarum...@sigil.org
 PGP Key: 0x9E54EF59 (http://pgp.mit.edu)

___
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 only on MacBook? Having problems...

2009-11-29 Thread w s
(x posted to http://forums.freebsd.org/showthread.php?t=8827, my
apologies, but no one seems interested there...)

I am trying to follow the steps to install FreeBSD 8.0 on my MacBook.
I don't want to dual boot or anything, so I am following along here:

http://wiki.freebsd.org/AppleMacbook...15739bad407a8a

(Note that earlier I managed to stomp all over the slices trying to
partition without reading the directions...)

However, it doesn't match my experience exactly, and I don't really
have the FreeBSD background to compensate (long time Linux user, and
never very hardware focused at all), so here are some starting
questions (Note I am in the Fixit shell from the livefs CD):

1. Is gpart the same as gpt?

2. How can I lose the GPT? When I run # gpart destory ad5 I get
gpart: Device busy. I presume that it is because / is mounted to run
the livefs CD. So ...

3. Umm, what do I do now

If I run gpart show ad5 I get a bunch of stuff which I would have to
type in manually -- let me know which pieces are important and I will
do it.

TIA!
___
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: mysterious try process dumping core on 7.2-RELEASE ... worried ...

2009-11-29 Thread Matthew Seaman

George Sanders wrote:


I see these two entries in my /var/log/messages:

Nov 24 18:08:41 hostname kernel: pid 25901 (try), uid 0: exited on signal 10 
(core dumped)
Nov 24 18:10:29 hostname kernel: pid 35359 (try), uid 0: exited on signal 10 
(core dumped)

But I've never heard of a try binary, and 'which try' shows nothing ...


I believe this is generated by autoconf as one of its tests of OS behaviour.
As such it's harmless.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


ZFSROOT / Custom Kernels [or upgrades]

2009-11-29 Thread Philip M. Gollucci
Hi All,

1)
I followed this wiki link to setup our server [sigyn.apache.org]
(Dell r710 with 4 disks mfid[0123] as raidz2)
http://wiki.freebsd.org/RootOnZFS/GPTZFSBoot/RAIDZ2

Rebooted all was well.

2) off on another 'build' box [loki.apache.org], I had compiled
release/8.0.0 userland+kernel [with LOADER_ZFS_SUPPORT=yes].
Whats the ETA for MFC from trunk-stable/8 for
http://svn.freebsd.org/viewvc/base?view=revisionrevision=199714

** FWIW, loki is working nicely on 8.0-RELEASE geom+zfs.

3) I nfs mounted /usr/src, and /usr/obj on sigyn from loki.
$ cd /usr/src
$ sudo make installkernel KERNCONF=SIGYN

It fails to mount from zfs:zroot upon reboot. Via great hoops and magic
I got back into the fixit on remote console. I didn't see a loader.old
or a zfsboot. So I repeated the steps in wiki to install zfsboot.
Rebooted, same diff.

Jumped backed to fixit and reverted the kernel to a stock GENERIC that
worked the 1st time.  Same error again.
cd /boot
$ mv kernel kernel.cust
$ mv kernel.old kernel

So assuming you are lucky enough to get a zfsroot system.  Is there an
actual upgrade path ? Am I missing something stupid ?

Any help greatly appreciated.

I have a few days to play with this machine before we forgoe zfsroot and
drop back to geom gmirror.

I'm at a datacenter for $work on Monday/Tuesday so I'll be spare over
tonight.






-- 

1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C
Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354
VP Apache Infrastructure; Member, Apache Software Foundation
Committer,FreeBSD Foundation
Sr. System Admin, Ridecharge Inc.
Consultant,   P6M7G8 Inc.

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
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 8.0 system setup with ZFS steps

2009-11-29 Thread Polytropon
Pease allow me a terminology note:

On Sun, 29 Nov 2009 18:30:57 -0800, Derrick Ryalls ryal...@gmail.com wrote:
 *Start FreeBSD normal install.
Select the flash device as the device to install to.
Use the entire device

This step creates a slice covering the whole disk. Make sure that
the slice is marked active when it should be the booting slice.



Install the bootMgr

Only needed if you want to dual-boot something. In normal cases,
writing the standard MBR is completely sufficient, because it
only boots to FreeBSD.



Create a single slice taking up the entire device, mount to /

A single partition - you've already created a slice.

Terminology comparison from Windows land: A SLICE is a DOS
primary partition, and a PARTITION is comparable to a logical
volume inside an extended DOS partition. Partitions are the
subdivisions of a slice holding a file system.



 *pkg_add -r bash

Really? :-)



 Am I doing something stupid that may burn out the flash drive or cause
 the system to be rather slow?

Not that I see it. You could make sure that any mount options
refering to the UFS / on the flash drive are honoring the fact
that writes should be minimized, such as the noatime option.
This shouldn't have negative effects on the booting process or
the FreeBSD system running on it.



-- 
Polytropon
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