Re: skype replacement

2007-03-31 Thread Boris Samorodov
On Fri, 30 Mar 2007 23:12:59 -0700 Andriy Babiy wrote:

 Since skype requires some i386 binary, it doesn't build on amd64.
   
Where did you manage to get the sources?
Why didn't you give a try to use the port (/usr/ports/net/skype)?
It works just fine at amd64 (COMPAT_IA32 and COMPAT_LINUX32
should be used for kernel configuration).
  
   Thank you. I didn't know about those parameters. I'll give it a try.
 
  Well, there are the defaults and are presented at the GENERIC kernel.
  To answer your question. The default (GENERIC) kernel should use i386
  binaries, can't say about kernel modules though.

 It should work, but it didn't. As I didn't touch those parameters, they 
 were present in my kernel configuration. Is there anything else I should 
 set or configure? Just in case, if someone can have a look at my kernel 
 config and advise me, please find it attached.
 Thank you.

Well, so far so good. You didn't show any error messages and any
diagnostics. I even can't understand your it doesn't build on
amd64. Did you give it a try (to install from the port)? Have you got
any error messages? Does your sound card work with FreeBSD
applications? Which version of FreeBSD do you run? 


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Ports maintainer or adopting a port

2007-03-31 Thread Beech Rintoul
On Friday 30 March 2007, Kimi Ostro said:
 Hello list

 Not sure if this is appropriate for this list, basically I am
 looking to hear from past, current and future ports maintainers:

 is it fun? what are the requirements? (besides time) what does it
 mean to you? do you recommend it? best way to get started? what do
 I need to know about FreeBSD  Ports?

The first thing you should do is to subscribe to freebsd-ports@ 
mailing list.

Next you should read the Porter's Handbook and become very familiar 
with it. Just about everything you need to know is in there.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/index.html


 I am looking at adopting a port or two and looking to gain more
 insight, maybe someone that can do projects page for ports? which
 holds a list of unmaintained ports??

Here is a list of broken ports with no maintainer:

http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED]

You can also adopt any port that the maintainer is listed as ports@

Have fun,

Beech

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



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


Re: Ports maintainer or adopting a port

2007-03-31 Thread Beech Rintoul
On Friday 30 March 2007, Beech Rintoul said:
 On Friday 30 March 2007, Kimi Ostro said:
  Hello list
 
  Not sure if this is appropriate for this list, basically I am
  looking to hear from past, current and future ports maintainers:
 
  is it fun? what are the requirements? (besides time) what does it
  mean to you? do you recommend it? best way to get started? what
  do I need to know about FreeBSD  Ports?

 The first thing you should do is to subscribe to freebsd-ports@
 mailing list.

 Next you should read the Porter's Handbook and become very familiar
 with it. Just about everything you need to know is in there.

 http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/i
ndex.html

  I am looking at adopting a port or two and looking to gain more
  insight, maybe someone that can do projects page for ports? which
  holds a list of unmaintained ports??

I forgot to mention you can go to http://www.freshports.org and do a 
search on maintainer [EMAIL PROTECTED] That will list all 4283 of 
the unmaintained ports. Take your pick and go for it. :-)


 Here is a list of broken ports with no maintainer:

 http://people.freebsd.org/~fenner/errorlogs/[EMAIL PROTECTED]

 You can also adopt any port that the maintainer is listed as ports@

 Have fun,

 Beech



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



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


Re: question about superkaramba

2007-03-31 Thread Beni
On Saturday 31 March 2007 06:15:08 Kimi Ostro wrote:
 On 30/03/07, freenity [EMAIL PROTECTED] wrote:
  Hi.

 Hi

  I have installed the latest super karamba for kde 3.5.4 on my freebsd
  6.2release amd64.

 I notice SuperKaramba is very Linuxcentric, sadly.

  I installed a theme called GlassMonitor that is supposed to show some
  statistics about cpu, memory, disks and internet traffic.
  It detects some  of them but not all. It doesnt detect the cpu frequency,
  cpu temp, ip address and partitions.
  I dont know how does karamba work, thats why I need help. Do you know if
  it can be a problem with the theme, karamba or some kernel
  configuration??

You will have to edit 
~.kde/share/apps/superkaramba/themes/name_of_theme/file.theme (it's a text 
file)

For your processor name and speed, you will have to modify the lines that 
contain /proc/cpuinfo... to  cat /compat/linux/proc/cpuinfo... (because 
of the linux-centric way i suppose)

Same for your partitions ans ip address (chage the eth0 to your network card 
interface, vr0 or whatever).

Hope this helps,

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


Re: Mounting NTFS drive/partition

2007-03-31 Thread Ian Smith
On Fri, 30 Mar 2007 18:54:13 +0200  Ivan Zenzerovi?  [EMAIL PROTECTED] 
wrote:

  Ok, I think I understand, but tell me, is there any way I can read those
  partitions from freebsd? If this helps, on that disk are no windows, there
  are 3 ntfs partitions.
  
  Ivan
  
  On 3/30/07, Derek Ragona [EMAIL PROTECTED] wrote:
  
You are able to mount the primary partition, not the extended
   partitions.  This is a also a limitation mounting ms-dos fat drives.  The
   extended partitions are done differently and are outside the partition
   table.

I'm surprised if there's any problem mounting either msdosfs or ntfs
'drives' in 'extended partitions' nowadays?  There certainly wasn't in
FreeBSD 4.x, when I managed to get mount_hpfs going to salvage a number
of HPFS 'drives', all of which lived in the 'extended partition'. 

The HPFS code (still in the source tree last I checked, but not compiled
by default) was written by Semen Ustimenko [EMAIL PROTECTED], who
also wrote the (then) NTFS code; the two shared lots of cut-n-paste.

It's true that information on this is a bit sketchy and harder to find,
but basically an 'extended partition' (in DOS parlance) uses one of the
four slices on a disk, for example let's say ad0s2, and the separate
'drives' that might appear as D:, E:, etc to DOS/'doze would be then
accessed as ad0s5, ad0s6 etc. 

   At 07:58 AM 3/30/2007, =?ISO-8859-2?Q?Ivan_Zenzerovi=E6?= wrote:
  
   Hi,
  
   I'm trying to mount an ntfs drive with mount_ntfs. Now, the system sees
   the
   second hard disk, but shows only one partition, ad1s1 wich is NTFS, but on
   that disk there are 3 ntfs partitions and the system doesn't see them. On
   windows they work fine.

Try mount_ntfs using ad1s5, ad1s6 and ad1s7 then, read-only for safety.

From a 2004 fstab on one 4.10 system:
/dev/ad2s5  /hpfs   hpfsro,noauto   0 0

Cheers, Ian

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


RE: Why is 'disklabel'ng a new drive so difficult?

2007-03-31 Thread Daniel Eriksson

I've started using GPT for everything but the system disk.

To add a GPT table to a new disk and create a partition in that table
that spans the entire disk, all you need to do is this:

# gpt create /dev/adX
# gpt add /dev/adX
# newfs -O2 -U /dev/adXp1

Done!

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


autostart nx server

2007-03-31 Thread WarrenHead

Hi,

I've got freenx working on my freebsd 6.1. I'm wondering though how I 
can make it autostart when the machine has been rebooted.
All the installation 'manuals' that I have found in personal blogs cover 
the exact same steps each time and nothing more. Unfortunately they 
don't cover this.
I have found the configuration file 
/usr/X11R6/NX/etc/nxserver/node.conf.sample
I edited this file and moved it to /etc/nxserver/node.conf and symlinked 
it to /usr/NX/etc/node.conf as the file suggested.

I feel that I am missing something though.

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


net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Daniel Dvořák
Hi all,

I have a wrap PC Engine with CF card.

I want do a upgrade of net-snmp-5.2.3_3 to latest version.

Of cource I do not want to compile the whole port on CF card,

so the directory /usr/ports/ is mounted through NFS.

When I do portupgrade net-snmp or make install clean, it always fails with the 
same error, see below.

What may I do to compile it through NFS successfully ?

SERVER site:

# /etc/rc.d/nfsd status
nfsd is running as pid 1254 1255 1256 1257 1258.
# /etc/rc.d/mountd status
mountd is running as pid 1245.
# /etc/rc.d/rpcbind status
rpcbind is running as pid 1210.
# /etc/rc.d/nfslocking  status 

If it is with or without, it does not influence the error.

statd is running as pid 1264.
lockd is running as pid 1269 1275.

Thanks

Dan

# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
10.X.Y.Z:/usr/ports on /usr/ports (nfs)

# cd /usr/ports/net-mgmt/net-snmp

# make install clean
===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
===  Configuring for net-snmp-5.3.1_3
autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are 
running make -j on a lame NFS client?): Operation not supported
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
#

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


How Write To Win Drive?

2007-03-31 Thread Stan Cooper

Garrett Cooper writes:

  # ntfs-3g /dev/ad0s1 /win
  Failed to open /proc/filesystems: No such file or directory
  modprobe: not found
  Failed to open /proc/filesystems: No such file or directory
  Error opening partition device: Operation not permitted
  Failed to startup volume: Operation not permitted
  Failed to mount '/dev/ad0s1': Operation not permitted
  The NTFS partition is hibernated. Please resume Windows and turned it
  off properly, so mounting could be done safely.
 
  TIA,
  Stan
  
 /proc's in this case's strictly a linux thing, right? IIRC fuse was 
 ported from Linux, so some stuff may be in the wrong spots..
2So, in other words, wait for the developers to work out this bug? Or is there 
a way to work around it?

Also, is it possible to mount and read/write to my thumb drive?
TIA,
Stan

 
-
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food  Drink QA.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Replacing ghostscript-afpl with 'gpl' version

2007-03-31 Thread Gerard

The /print/ghostscript-afpl Makefile now has this notation in it:

1) /usr/ports/print/ghostscript-afpt

quote

DEPRECATED= the leading edge of Ghostscript development is now under GPL 
license, use print/ghostscript-gpl instead


EXPIRATION_DATE= 2007-07-01

end quote

I have several ports that depend on the 'afpl' version. If I were to 
place something like this in the /etc/make.conf file, would it force the 
use of the newer port in place of the older depreciate one?


1) /etc/make.conf

WITH_GHOSTSCRIPT_GPL=yes

Thanks!

--

   ___
  oo  // \\ ||  Gerard
 (_,\/ \_/ \||  [EMAIL PROTECTED]
   \ \_/_\_/||
   /_/   \_\||  If today is the first day of the rest of
  ___   ||  your life, then what was yesterday?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Jonathan Horne
On Sat, 31 Mar 2007 13:49:32 +0200
Daniel Dvořák [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have a wrap PC Engine with CF card.
 
 I want do a upgrade of net-snmp-5.2.3_3 to latest version.
 
 Of cource I do not want to compile the whole port on CF card,
 
 so the directory /usr/ports/ is mounted through NFS.
 
 When I do portupgrade net-snmp or make install clean, it always fails with 
 the same error, see below.
 
 What may I do to compile it through NFS successfully ?
 
 SERVER site:
 
 # /etc/rc.d/nfsd status
 nfsd is running as pid 1254 1255 1256 1257 1258.
 # /etc/rc.d/mountd status
 mountd is running as pid 1245.
 # /etc/rc.d/rpcbind status
 rpcbind is running as pid 1210.
 # /etc/rc.d/nfslocking  status 
 
 If it is with or without, it does not influence the error.
 
 statd is running as pid 1264.
 lockd is running as pid 1269 1275.
 
 Thanks
 
 Dan
 
 # mount
 /dev/ad0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 10.X.Y.Z:/usr/ports on /usr/ports (nfs)
 
 # cd /usr/ports/net-mgmt/net-snmp
 
 # make install clean
 ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
 ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
 ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
 ===  Configuring for net-snmp-5.3.1_3
 autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are 
 running make -j on a lame NFS client?): Operation not supported
 *** Error code 1
 
 Stop in /usr/ports/net-mgmt/net-snmp.
 #
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

you need to specify a different place for your workdirs to go, by adding a line 
like this to /etc/make.conf:

WRKDIRPREFIX=/usr/tmp

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


Re: FreeBSD X11/GNOME/KDM issue

2007-03-31 Thread Kevin Kinsey

Christian Walther wrote:

On 30/03/07, Joseph Marah [EMAIL PROTECTED] wrote:
Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen 
for a split sec abd got right back to KDM login.


ALT+CTRL+Backspace shuts down the X Server the hard way. A Desktop
Manager (KDM, GDM, XDM) is supposed to restart after a session is
ended, which means that the login screen comes back...


Also tried ctrl+f1, ctrl+f1 etc but go nowhere.


Yepp, but if you try ALT+CTRL+Fx (where 1 = x = 8) you'll get a
console login screen. Here you'll be able to login as root.


Joseph, I'm sorry; as you can see, Christian caught my error;
CTL-*ALT*-F1, etc., is correct.

KDK
--
Nuke them till they glow, then shoot them in the dark.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How Write To Win Drive?

2007-03-31 Thread Roland Smith
On Sat, Mar 31, 2007 at 04:51:24AM -0700, Stan Cooper wrote:

 So, in other words, wait for the developers to work out this bug? Or
 is there a way to work around it?

Check the mailing list archives. A while ago, someone had the same
problem and managed to solve it, IIRC.
 
 Also, is it possible to mount and read/write to my thumb drive?

Yes, at least if it is formatted with a FAT-style filesystem (which most are).
You'll find enlightenment (on this issue at least ;-) in § 18.5 of the Handbook.

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)


pgp2yu0PSDyr4.pgp
Description: PGP signature


Re: autostart nx server

2007-03-31 Thread Kevin Kinsey

WarrenHead wrote:

I've got freenx working on my freebsd 6.1. I'm wondering though how I 
can make it autostart when the machine has been rebooted.
All the installation 'manuals' that I have found in personal blogs cover 
the exact same steps each time and nothing more. Unfortunately they 
don't cover this.
I have found the configuration file 
/usr/X11R6/NX/etc/nxserver/node.conf.sample
I edited this file and moved it to /etc/nxserver/node.conf and symlinked 
it to /usr/NX/etc/node.conf as the file suggested.

I feel that I am missing something though.


If the program is a server, and installed from ports, most likely
a rc(8) script was installed to /usr/local/etc/rc.d or
/usr/X11R6/etc/rc.d.  If this is the case, then:

freenx_enable=YES

should be added to /etc/rc.conf (assuming that the script you
find in one of these directories is actually called freenx
or freenx.sh.

Otherwise, you could think about putting the command line
to start the program in root's crontab with the @ reboot
time target.

HTH,

Kevin Kinsey
--

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


updating a jail

2007-03-31 Thread Jonathan Horne
im still working on updating 2 jails.  i nullfs mounted /usr/src /usr/obj from 
my host into my jails, and tried to installworld, but got this error:

=== lib/libcrypt (install)
install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.3 /lib
install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not 
permitted
*** Error code 71

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

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

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

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

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

Stop in /usr/src.

the jail manpage is easy enough to follow, but IMO mastering management and 
maintenance is much more difficult to learn without good documented guidance.  
i know many have recommended that i try ezjail and such, but im one of those 
guys who refuses to pay someone to fix my own car until i fully understand why 
such an operation is too far above my head.  same glutton for pain stance for 
me on computer stuff too... i force myself to understand the canonical methods 
first, before i start taking advantage of shortcuts.

so... how do i get over or past this error?

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


Re: time problems

2007-03-31 Thread Lowell Gilbert
bram [EMAIL PROTECTED] writes:

 Hi all,

 I am running 6.1-RELEASE-p2-AMD64 on a dual AMD opteron system.
 Lately (after installing a twa-3ware raid controller I think) time
 just stops.
 We leave at work one evening and the clock is set ok.
 The next morning the clock is set at 3 o'clock instead of 8 o'clock,
 sometimes there is no clock anymore,
 when we type date, it just returns to the next line without any output
 whatsoever.

 This is very annoying, I've set a crontab task every 5 minutes to
 re-update the date but it does not help (wich leads to my believe that
 time has stopped).

 So, what could this be, and can I work around the problem ?

 Every service this machine runs stops working at such a time (no ssh
 etc), the local keyboard still works.

Hmm.  My first guess would be interrupt problems, most likely with the
timer interrupt itself but possibly something else interfering with it.
Keep an eye on 'vmstat -i'.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: static route

2007-03-31 Thread Lowell Gilbert
bernadette [EMAIL PROTECTED] writes:

 Is it possible to setup a static route while the routes not in table
 but not freed (obtained doing netstat -rs) value is not to 0 ?

Yes.

 By the way what does mean routes not in table but not freed ? (If I
 knew how to make one, I would have done this test myself of course)

Offhand, I don't see any way to do it intentionally.  
It's just a reference-count failure.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating a jail

2007-03-31 Thread Brandon Weisz
Jonathan Horne wrote:
 im still working on updating 2 jails.  i nullfs mounted /usr/src /usr/obj 
 from my host into my jails, and tried to installworld, but got this error:

 === lib/libcrypt (install)
 install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
 install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
 install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.3 /lib
 install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not 
 permitted
 *** Error code 71

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

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

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

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

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

 Stop in /usr/src.

 the jail manpage is easy enough to follow, but IMO mastering management and 
 maintenance is much more difficult to learn without good documented guidance. 
  i know many have recommended that i try ezjail and such, but im one of those 
 guys who refuses to pay someone to fix my own car until i fully understand 
 why such an operation is too far above my head.  same glutton for pain stance 
 for me on computer stuff too... i force myself to understand the canonical 
 methods first, before i start taking advantage of shortcuts.

 so... how do i get over or past this error?

 thanks,
 jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
   
I believe its failing attempting to run chflags during installworld
inside the jail.  You can set the sysctl security.jail.chflags_allowed=1
on the host system and try again or a better approach might be to
upgrade it from the host system with something similar to make
installworld DESTDIR=/usr/jails/something

mergemaster also has -D flag for situations like this.

Brandon

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


Re: updating a jail

2007-03-31 Thread Kimi Ostro

On 31/03/07, Jonathan Horne [EMAIL PROTECTED] wrote:

im still working on updating 2 jails.  i nullfs mounted /usr/src /usr/obj from 
my host into my jails, and tried to installworld, but got this error:

=== lib/libcrypt (install)
install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.3 /lib
install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not 
permitted
*** Error code 71

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

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

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

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

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

Stop in /usr/src.

the jail manpage is easy enough to follow, but IMO mastering management and 
maintenance is much more difficult to learn without good documented guidance.  
i know many have recommended that i try ezjail and such, but im one of those 
guys who refuses to pay someone to fix my own car until i fully understand why 
such an operation is too far above my head.  same glutton for pain stance for 
me on computer stuff too... i force myself to understand the canonical methods 
first, before i start taking advantage of shortcuts.

so... how do i get over or past this error?



do you fiddle with securelevels? check the file flags on
/lib/libcrypt.so.3 with ls -lo

also what is value of sysctl security.jail.chflags_allowed ?

I used a different strategy:

/var/jail/jail0 - contains a full buildworld
/var/jail/jail1 - is a unionfs from jail0
/var/jail/jailX - as jail1

jail0 has nfs mounted /usr/src and /usr/obj - this way I can jexec 1
/bin/csh do the whole buildworld mergemaster dance - only thing that
is nullfs mounted is /tmp. I also do a mksnap_ffs before updating just
incase things break  change security.jail.chflags_allowed before and
after the installworld part.


thanks,
jonathan


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


Re: dhcpd assigns address, but DNS resolvers and ping fail

2007-03-31 Thread Lowell Gilbert
David Benfell [EMAIL PROTECTED] writes:

 Another in my mysterious problems list...

 pf.conf is set up to allow icmp anywhere.  And dhcpd offers a
 plausible IP address and gateway that the client (tested under
 both Linux and Windows) accepts.

 The client doesn't get the DNS resolver information and can't
 ping anywhere, even by raw IP address, even to the router.  The
 router also fails to ping the client.

 This is FreeBSD stable, updated about a week ago.  dhcpd.conf
 and pf.conf files are attached.

 Any ideas?  Thanks!
 -- 
 David Benfell, LCP
 [EMAIL PROTECTED]
 ---
 Resume available at http://www.parts-unknown.org/
 NOTE: I sign all messages with GnuPG (0DD1D1E3).


 # $OpenBSD: dhcpd.conf,v 1.1 1998/08/19 04:25:45 form Exp $
 #
 # DHCP server options.
 # See dhcpd.conf(5) and dhcpd(8) for more information.
 #

 # Network:192.168.20.0/255.255.255.0
 # Domain name:cybernude.org
 # Name servers:   192.168.19.4
 # Default router: 192.168.17.1
 # Addresses:  192.168.20.2 - 192.168.20.254
 #
 shared-network LOCAL-NET {
   option  domain-name cybernude.org;
   option  domain-name-servers 192.168.18.31, 192.168.19.130, 64.81.79.2, 
 216.231.41.2;

   subnet 192.168.17.0 netmask 255.255.255.0 {
   option routers 192.168.17.1;
   }
   subnet 192.168.20.0 netmask 255.255.255.0 {
   option routers 192.168.20.1;
   range 192.168.20.2 192.168.20.254;
   }
 }

 #domain cybernude.org
 #nameserver 192.168.19.130
 #nameserver 192.168.18.31
 #nameserver 64.81.79.2
 #nameserver 216.231.41.2

 #shared-network LUPIN {
   #option  domain-name cybernude.org;
   #option  domain-name-servers 192.168.18.31;

   #subnet 192.168.100.0 netmask 255.255.255.0 {
   #option routers 192.168.100.1;
   #range 192.168.100.100 192.168.100.200;
   #}
 #}
 ddns-update-style ad-hoc;


Yeah, offhand it looks like it *should* work. 
Fairly complicated setup; make sure you really need those
shared-networks if you're using them.
Have you tried putting the domain-name-servers entries
at the subnet or global scope?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: updating a jail

2007-03-31 Thread Mikhail Goriachev
Jonathan Horne wrote:
 im still working on updating 2 jails.  i nullfs mounted /usr/src /usr/obj 
 from my host into my jails, and tried to installworld, but got this error:
 
 === lib/libcrypt (install)
 install -C -o root -g wheel -m 444   libcrypt.a /usr/lib
 install -C -o root -g wheel -m 444   libcrypt_p.a /usr/lib
 install -s -o root -g wheel -m 444   -fschg -S  libcrypt.so.3 /lib
 install: rename: /lib/[EMAIL PROTECTED] to /lib/libcrypt.so.3: Operation not 
 permitted
 *** Error code 71
 
 Stop in /usr/src/lib/libcrypt.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 the jail manpage is easy enough to follow, but IMO mastering management and 
 maintenance is much more difficult to learn without good documented guidance. 
  i know many have recommended that i try ezjail and such, but im one of those 
 guys who refuses to pay someone to fix my own car until i fully understand 
 why such an operation is too far above my head.  same glutton for pain stance 
 for me on computer stuff too... i force myself to understand the canonical 
 methods first, before i start taking advantage of shortcuts.
 
 so... how do i get over or past this error?


You can installworld directly from host:

host# setenv D /usr/local/jail/JAILNAME
host# /etc/rc.d/jail stop JAILNAME
host# cd /usr/src
host# make installworld DESTDIR=$D
host# /etc/rc.d/jail start JAILNAME


Don't forget all other mergemaster related steps and the rest of the
things mentioned in /usr/src/Makefile.


Hopefully this points into the right direction.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-31 Thread Joseph Marah
Thanks everyone for your help.  I will let you know of my next confusion.

Kevin Kinsey [EMAIL PROTECTED] wrote:  Christian Walther wrote:
 On 30/03/07, Joseph Marah wrote:
 Hi KK, thanks. I have tried ctrl+ald+bspace but got a black screen 
 for a split sec abd got right back to KDM login.
 
 ALT+CTRL+Backspace shuts down the X Server the hard way. A Desktop
 Manager (KDM, GDM, XDM) is supposed to restart after a session is
 ended, which means that the login screen comes back...
 
 Also tried ctrl+f1, ctrl+f1 etc but go nowhere.
 
 Yepp, but if you try ALT+CTRL+Fx (where 1 = x = 8) you'll get a
 console login screen. Here you'll be able to login as root.

Joseph, I'm sorry; as you can see, Christian caught my error;
CTL-*ALT*-F1, etc., is correct.

KDK
-- 
Nuke them till they glow, then shoot them in the dark.



Regards

Joseph Marah
**
IF YOU THINK YOU HAVE EVERYTHING UNDER CONTROL YOU ARE NOT GOING FAST ENOUGH 
- Mario Andretti, race car driver.
**
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD X11/GNOME/KDM issue

2007-03-31 Thread Joseph Marah
Hi Andriy, I finally got in.  At first I tried single user mode but had no 
editing permissions.  Then I noticed that I had only thr root slice mounted.  
So I found out how to mount the rest of the file system(mount -a) and did that. 
 Then I used the logon command to logon as root.  Then I made the necessary 
changes.
   
  Thanks for your suggestion, I will sure try it.
  

Andriy Babiy [EMAIL PROTECTED] wrote:
   Hi KK, thanks.  I have tried ctrl+ald+bspace but got a black screen for
 a split sec abd got right back to KDM login.  Also tried ctrl+f1,
 ctrl+f1 etc but go nowhere.   
   I can get in single user mode but no edit previleges as I am not root.
  still trying different things.  hanks tho.

Hi. You may want to try sysinstall - Fixit, then fix the problem in the 
shell.

Andriy

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


Cannot pkg_add linux-flashplugin7

2007-03-31 Thread Joseph Marah
I have tried to a couple of times to install a Micromedia-alike flash plugin 
for FreeBSD but failed.  So far I have 
  successfully installed the linux-pluginwrapper as a requirement at 
/usr/ports/www/linuxpluginwrapper. So I tried /usr/ports/www/linux-flashplugin7 
and
  issued the command pkg-add -r linux-flashplugin7. The system attempted to 
download the file from ftp site but came back saying the file 
linux-flashplugin7 did not exist.  Any idea what I may be doing wrong?


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


Marvell 88SE61xx (was: Re: Intel D975XBX2 - BTX halted)

2007-03-31 Thread Alexander Anderson
Thu, Mar 29, 2007 at 10:43:51 PM, Alexander Anderson wrote:
 Hello.
 I'm installing FreeBSD 6.2-RELEASE on a brand new system with Intel
 D975XBX2 board. It seems that FreeBSD does not support the onboard Marvell
 88SE6145 SATA controller. Could someone confirm this?
 
 At first, when I tried to boot the installation CD, the loader hung very
 early in the process with the message BTX halted. But when I went to the
 BIOS and disabled Secondary SATA controller (in Advanced, Peripheral
 Configuration), the CD booted and the install began alright.

[snip]

 Now that I figured out what was causing the BTX halted error, I'm going
 to complete the installation, and then try to enable the Marvell
 controller back. Let's see if that works.

No one seems to have replied ...but I'll draw the summary, anyway.

The installation has completed successfully with Marvell 88SE6145 SATA
RAID controller disabled. When I go to BIOS and enable it back, the system
still boots, but dmesg shows no sign of Marvell's presence.

I'm still not sure if the controller is just not configured correctly or
if it is not supported under FreeBSD at all, however, I'm leaning towards
the latter.

Maybe I'll try asking in freebsd-hackers.

Oh well, I guess I'll be looking for the second RAID controller on a PCI-X
card.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dhcpd assigns address, but DNS resolvers and ping fail

2007-03-31 Thread David Benfell
On Sat, 31 Mar 2007 11:01:30 -0400, Lowell Gilbert wrote:
 David Benfell [EMAIL PROTECTED] writes:
 
  Another in my mysterious problems list...
 
  pf.conf is set up to allow icmp anywhere.  And dhcpd offers a
  plausible IP address and gateway that the client (tested under
  both Linux and Windows) accepts.
 
  The client doesn't get the DNS resolver information and can't
  ping anywhere, even by raw IP address, even to the router.  The
  router also fails to ping the client.

 Yeah, offhand it looks like it *should* work. 
 Fairly complicated setup; make sure you really need those
 shared-networks if you're using them.
 Have you tried putting the domain-name-servers entries
 at the subnet or global scope?

It *is* a fairly complicated setup.  I noticed some kernel
arp messages claiming the client wasn't on the network, so I've
just gotten back from checking that I had things wired up right.

I *think* I do.  ifconfig reports that all the interfaces that
are supposed to have connections do and the ones that aren't
don't.  And I've checked all the other networks recently enough
to know that they're correctly connected.

But there is this one aggravating message that doesn't make any
sense to me.  In order to explain it, I have to reveal a bit of
the network setup.  (ifconfig -a output attached)

66.93.170.241 is the LAN address on the T1 router from my ISP.
It *is* on interface xl0.  I know this (I think) because I can
access the outside world without difficulty on this system.  The
network bits for this seem properly arranged.

sf1 is the interface I use to my VOIP box, which has a web
interface, and that's all I use that interface for.  The VOIP
box is just that, something I got from my ISP (Speakeasy).  I'm
getting arp messages that say 66.93.170.241 is on xl0 but got a
reply from (some MAC address) on sf1.

For whatever reason, I wasn't getting these messages when this
was an OpenBSD box.

Meanwhile sf0 is the network that has this public DHCP interface
and I have other interfaces available (including one that OpenBSD
didn't support--Thanks FreeBSD!) for if I ever need to plug the
community I live in and share my T1 with back into *my* local
router again.

Now, in response to your suggestions, I am trying getting rid of
the 192.168.17.x DHCP range in the configuration.  This is not
currently in use (and I think I actually meant to have that on a
different interface anyway).  I have also copied the declarations
you suggested into the subnet setup; this got the correct
DNS resolver information onto the client.

But I'm still not able to ping (in either direction) and DNS
resolution doesn't work on the client.

Thanks!
-- 
David Benfell, LCP
[EMAIL PROTECTED]
---
Resume available at http://www.parts-unknown.org/
NOTE: I sign all messages with GnuPG (0DD1D1E3).
sf0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.17.1 netmask 0xff00 broadcast 192.168.17.255
inet 192.168.20.1 netmask 0x broadcast 192.168.20.1
inet 192.168.17.242 netmask 0x broadcast 192.168.17.242
inet 192.168.17.249 netmask 0x broadcast 192.168.17.249
ether 00:00:d1:f0:24:2d
media: Ethernet autoselect (100baseTX full-duplex)
status: active
sf1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.102.2 netmask 0xff00 broadcast 192.168.102.255
ether 00:00:d1:f0:24:2e
media: Ethernet autoselect (100baseTX full-duplex)
status: active
sf2: flags=8802BROADCAST,SIMPLEX,MULTICAST mtu 1500
ether 00:00:d1:f0:24:2f
media: Ethernet autoselect (none)
status: no carrier
sf3: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 192.168.19.1 netmask 0xff00 broadcast 192.168.19.255
inet 192.168.19.30 netmask 0x broadcast 192.168.19.30
inet 192.168.19.31 netmask 0x broadcast 192.168.19.31
inet 192.168.19.32 netmask 0x broadcast 192.168.19.32
inet 192.168.19.60 netmask 0x broadcast 192.168.19.60
inet 192.168.19.61 netmask 0x broadcast 192.168.19.61
inet 192.168.19.62 netmask 0x broadcast 192.168.19.62
inet 192.168.19.242 netmask 0x broadcast 192.168.19.242
ether 00:00:d1:f0:24:30
media: Ethernet autoselect (100baseTX full-duplex)
status: active
dc0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 192.168.18.1 netmask 0xff00 broadcast 192.168.18.255
inet 192.168.18.30 netmask 0x broadcast 192.168.18.30
inet 192.168.18.31 netmask 0x broadcast 192.168.18.31
inet 192.168.18.32 netmask 0x broadcast 192.168.18.32
ether 00:a0:cc:65:ba:d0
media: Ethernet autoselect (100baseTX full-duplex)
status: active
xl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
options=8VLAN_MTU
inet 

Re: Ports maintainer or adopting a port

2007-03-31 Thread John Nielsen
On Saturday 31 March 2007, Kimi Ostro wrote:
 Not sure if this is appropriate for this list, basically I am looking
 to hear from past, current and future ports maintainers:

 is it fun?

I maintain a couple ports. Both were new in that they weren't in the ports 
collection before I submitted them. Both were pieces of software that I 
wanted to use, and for me the ports system made the actual porting much 
easier than it otherwise would have been. I didn't have to figure out how 
to use gmake instead of make, didn't have to manually extract the tarball 
every time I wanted a clean start (just do make extract or make patch 
once you have a couple basic lines in the port's makefile). Similarly, once 
you have a basic packing list you can make install and make deinstall 
instead of trying to copy or delete things manually. I think it's a lot of 
fun as long as you don't bite off more than you can chew.

 what are the requirements? (besides time)

In the case of software that isn't updated frequently, the requirements are 
pretty minimal, especially if you aren't doing the initial port. You should 
try to be proactive in keeping track of updates to the software (or at the 
very least respond quickly to e-mails to you as the port maintainer). For 
many programs you don't need to have much if any programming experience, 
just a willingness to read and understand the Porter's Handbook, and the 
ability to get your head around make(1) and Makefiles. Obviously 
programming experience is helpful in cases where things won't build cleanly 
or weren't written with portability in mind.

 what does it mean to you? do you recommend it?

I definitely recommend it. One of my favorite things to get in my e-mail 
is Commited, thanks! I second Garrett's two cents about warm fuzzies and 
community contribution[1], and as a side benefit you get bragging rights 
which can be useful in the broader open-source community or even with 
regards to employment or things like discounted web hosting.

 best way to get started? what do I need to know about FreeBSD  Ports?

Partially covered above; you should be familiar with FreeBSD in general and 
how and where it is used. Participation in the community (esp. via the 
mailing lists) is at least as important actually using the OS regularly for 
real-world activities. To get started just pick something to work on and do 
it; preferably something that has some utility or importance to you. If you 
get stuck ask for help (here or on -ports, generally). When you get 
something that's usable and at least a little polished, send in a PR. The 
ports team does an awesome job of giving feedback and getting things 
committed quickly once they're ready.

 I am looking at adopting a port or two and looking to gain more
 insight, maybe someone that can do projects page for ports? which
 holds a list of unmaintained ports??

Others have suggested good ways to identify unmaintained ports. There is 
also a lot of software out there that's not in the ports tree but easily 
could be. Sourceforge projects, Perl modules on CPAN, and other websites 
might be good places to look around and see what's out there.

JN

[1] I enjoy esr's take on open-source and the gift culture philosophy: 
http://www.catb.org/~esr/writings/cathedral-bazaar/homesteading/ar01s06.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


saving kernel configuration file into the kernel itself

2007-03-31 Thread lalev
I remember that in FreeBSD 4 there was a way to include configuration file
in the kernel being compiled, but I could not remember what it was and I
could not find it in the handbook. Is there such feature in FreeBSD 6 ?

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


FreeBSD 6.1 kernel panic

2007-03-31 Thread freebsd

I have the following setup:

3ware 9550SX-4LP raid card

4x 500GB SATA HD's in Raid 10.

It's running on: FreeBSD store01 6.1-RELEASE-p12 FreeBSD  
6.1-RELEASE-p12 #0: Mon Jan 22 11:20:03 UTC 2007


I use this machine mainly for backups and NFS mount points. The  
problem is that when I perform backups at night, within 1 hour or so  
the machine reboots because of kernel panic. The exact error message is:


Mar 31 00:29:05 store01 syslogd: kernel boot file is /boot/kernel/kernel
Mar 31 00:29:05 store01 kernel: start = 0, len = 11431, fs = /usr
Mar 31 00:29:05 store01 kernel: panic: ffs_alloccg: map corrupted
Mar 31 00:29:05 store01 kernel: Uptime: 2d22h57m30s
Mar 31 00:29:05 store01 kernel: Cannot dump. No dump device defined.
Mar 31 00:29:05 store01 kernel: Automatic reboot in 15 seconds - press  
a key on the console to abort



This has been happening only since I started doing massive backups on  
this box ( lots of directories/files ). After reboot, if I run a fsck  
-y on the partitions everything turns out fine but with fixed errors  
like: Mar 28 03:53:13 store01 fsck: /dev/da0s1f: INCORRECT BLOCK COUNT  
I=28342913 (40 should be 0) (CORRECTED)


The only other place where I've found a problem very similar to mine  
is:  
http://www.nabble.com/kern-35580:-creating-directories-on-large-UFS2--%3E-boom-t3203420.html  but that is on  
NetBSD.


Does anyone know if what I'm describing is a current bug in FreeBSD  
6.1 or a problem with the 3ware card or something else.


Thanks!



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


FreeBSD 6.1 kernel panic

2007-03-31 Thread freebsd

   I have the following setup:

   3ware 9550SX-4LP raid card

   4x 500GB SATA HD's in Raid 10.

   It's running on: FreeBSD store01 6.1-RELEASE-p12 FreeBSD
   6.1-RELEASE-p12= #0: Mon Jan 22 11:20:03 UTC 2007

   I use this machine mainly for backups and NFS mount points. The
   problem = is that when I perform backups at night, within 1 hour or so
   the machine re= boots because of kernel panic. The exact error message
   is:

   Mar 31 00:29:05 store01 syslogd: kernel boot file is
   /boot/kernel/kernel   Mar 31 00:29:05 store01 kernel: start = 0, len = 
11431, fs =
   /usr
   Mar 31 00:29:05 store01 kernel: panic: ffs_alloccg: map corrupted
   Mar 31 00:29:05 store01 kernel: Uptime: 2d22h57m30s
   Mar 31 00:29:05 store01 kernel: Cannot dump. No dump device defined.
   Mar 31 00:29:05 store01 kernel: Automatic reboot in 15 seconds - press
   a ke= y on the console to abort

   This has been happening only since I started doing massive backups on
   th= is box ( lots of directories/files ). After reboot, if I run a
   fsck -y on t= he partitions everything turns out fine but with fixed
   errors like: Mar 2= 8 03:53:13 store01 fsck: /dev/da0s1f: INCORRECT
   BLOCK COUNT I=28342913 (4= 0 should be 0) (CORRECTED)

   The only other place where I've found a problem very similar to mine
   is:= [1]http://www.nabble.com/kern-35580:-creating-d   
irectories-on-large-UFS2--%3E-boom-t3203420.html  but that is on N   etBSD.

   Does anyone know if what I'm describing is a current bug in FreeBSD
   6.1 = or a problem with the 3ware card or something else.

   Thanks!


   
References

   1. 
3Dhttp://www.nabble.com/kern-35580:-creating-directories-on-large___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Using weekly backup disk to store partial full backup as well?

2007-03-31 Thread Kelly Jones

I currently backup important files to DVD weekly. These files are 2G
in size total, so I waste ~2.7G on each DVD (these are DVD-Rs, so I
can't wipe/re-use them).

How can I use this wasted space to do a complete backup? Example:
first week, backup the first 2.7G of my HD; second week, backup the
second 2.7G of my HD, and so on. Once the full HD is backed up (over
a number of weeks), roll over and backup the first 2.7G again, etc.

My question here: given that the contents of my HD change constantly,
is there a program that will tell me WHICH 2.7G to backup each week?

In other words, a program that will tell me one of the following:

% Here are 2.7G of files that you've never backed up to weekly DVDs.
Some of these are files that were created/changed in the last
week. Others are old files that you've just never backed up. I'm
choosing these files in a specific way and keeping track of them. Once
you've backed up these files, I'll choose a different 2.7G of files
next week (unless some of the files you backup today change between
now and next week).

% There are only 1.0G of files that you've never backed up to weekly
DVD, and here they are. I've chosen an additional 1.7G of files that
you HAVE backed up, but they were backed up a long time ago, so it's a
good idea to back them up again.

Obviously, 2.7G is an arbitrary number here, and it may vary week to
week. If my important files suddenly grow to 3G, I'll have only 1.7G
left for the partial complete backup files.

Improvements would include compression, an exclude list, not backing
up two files w/ the same content, etc.

I do make regular complete backups, but it'd be nice to have this
extra layer of protection.

I considered writing something myself using find/ctime, but am too lazy!

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


deleting file '--preserve-permissions'

2007-03-31 Thread lalev
I've made mistake with tar. Something like

tar cvfz --preserve-permissions home.tgz *

or

tar cvfz --preserve-permissions * home.tgz

As result I have a file with name '--preserve-permissions'.
It seems that it's not easy to delete this file.

rm '--preserve-permissions'

does not give the desired result.
What should I do :-)

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


Re: saving kernel configuration file into the kernel itself

2007-03-31 Thread Martin Tournoij
On Sat 31 Mar 2007 20:03, [EMAIL PROTECTED] wrote:
 I remember that in FreeBSD 4 there was a way to include configuration file
 in the kernel being compiled, but I could not remember what it was and I
 could not find it in the handbook. Is there such feature in FreeBSD 6 ?

From /usr/src/sys/conf/NOTES :

# This allows you to actually store this configuration file into
# the kernel binary itself, where it may be later read by saying:
#strings -n 3 /boot/kernel/kernel | sed -n 's/^___//p'  MYKERNEL
#
options   INCLUDE_CONFIG_FILE # Include this file in kernel

Also check out /usr/src/sys/i386/conf/NOTES
Replace i386 with your arch.

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


Re: USB HD Problems Version 6.2 i386

2007-03-31 Thread SEan Strand

I am trying to get usb control er configured and am playing with the
/boot/device.hints file by poping in a line or two specifying what Microsoft
tells me about the controller etc, that being irq and mem for the like.

Can any one please confirm that this is the correct place to try and
configure these controllers.
Because I think I am wasting my time.

Any comments would be most welcome, all thanks in advance.
Rgds SEanS
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deleting file '--preserve-permissions'

2007-03-31 Thread Erik Trulsson
On Sat, Mar 31, 2007 at 10:36:03PM +0300, [EMAIL PROTECTED] wrote:
 I've made mistake with tar. Something like
 
 tar cvfz --preserve-permissions home.tgz *
 
 or
 
 tar cvfz --preserve-permissions * home.tgz
 
 As result I have a file with name '--preserve-permissions'.
 It seems that it's not easy to delete this file.
 
 rm '--preserve-permissions'
 
 does not give the desired result.
 What should I do :-)

You should read the rm(1) man-page.
Especially the part that says:


  NOTE
   The rm command uses getopt(3) to parse its arguments, which allows it to
   accept the --' option which will cause it to stop processing flag
   options at that point.  This will allow the removal of file names that
   begin with a dash (-').  For example:
 rm -- -filename
   The same behavior can be obtained by using an absolute or relative path
   reference.  For example:
 rm /home/user/-filename
 rm ./-filename




-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How Write To Win Drive?

2007-03-31 Thread Stan Cooper
Szakacsits Szabolcs [EMAIL PROTECTED] wrote:   Error opening partition 
device: Operation not permitted
 
 It seems one important error message is missing above this line or you 
 don't use the stable ntfs-3g 1.0 version. Correct? If there is another line 
 then what's that?

I copied and pasted the entire message and just now double-checked it, so yes, 
that's the whole message, and no, I didn't miss a line. Regarding the version, 
uh, I can't find it. I even read /usr/local/include/ntfs-3g/version.h and 
nothing there! I built it from the latest port after rebuilding my port tree.

 Failed to startup volume: Operation not permitted
 Failed to mount '/dev/ad0s1': Operation not permitted
 The NTFS partition is hibernated. Please resume Windows and turned it
 off properly, so mounting could be done safely.

 The ntfs-3g reliability sanity check could be too paranoid. Please mount 
 the partition read-only and send the output of the below 'hexdump' command, 
 so we could fix this problem.
 
  ntfs-3g /dev/ad0s1 /win -o force,ro
  hexdump -C /win/hiberfil.sys | head -20
  od -tx1 /win/hiberfil.sys

# ntfs-3g /dev/ad0s1 /win -o force,ro
Failed to open /proc/filesystems: No such file or directory
modprobe: not found
Failed to open /proc/filesystems: No such file or directory
# hexdump -C /win/hiberfil.sys | head -20
hexdump: /win/hiberfil.sys: No such file or directory
# od -tx1 /win/hiberfil.sys
od: /win/hiberfil.sys: No such file or directory

Now, I hate to disappoint you, but my satellite Internet connection is going to 
be turned off at any time. Could be days, could be midnight my time. I quit 
paying ;) If that happens, I won't be checking email until around Wednesday, 
and will only be in front of a computer with an Internet connection once a week 
(for the whole day). GMT+5, will sign on around 9:00 my time. But keep trying 
until you don't hear back from me ;)
Thanks,
Stan

 
-
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: deleting file '--preserve-permissions'

2007-03-31 Thread Derek Ragona

try:
rm -i *

only answer y to the one you want deleted.

-Derek


At 02:36 PM 3/31/2007, [EMAIL PROTECTED] wrote:

I've made mistake with tar. Something like

tar cvfz --preserve-permissions home.tgz *

or

tar cvfz --preserve-permissions * home.tgz

As result I have a file with name '--preserve-permissions'.
It seems that it's not easy to delete this file.

rm '--preserve-permissions'

does not give the desired result.
What should I do :-)

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

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: USB HD Problems Version 6.2 i386

2007-03-31 Thread Brian A. Seklecki
To get PCI USB controllers functional, you shouldn't have to change
anything in device.hints.

I don't have the full thread of this message, but why don't you send
your dmesg(8) output, as well as entries that relate to your hard drive
being connected.

~BAS

On Sat, 2007-03-31 at 20:50 +0100, SEan Strand wrote:
 Can any one please confirm that this is the correct place to try and

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


Re: FreeBSD 6.1 kernel panic

2007-03-31 Thread Brian A. Seklecki
From a troubleshooting standpoint, I would check the following:

1) A Quick Memtest86
2) The management interface to the RAID (functional CLI in FBSD?
   otherwise BIOS menu); sector scan on logical volume.
3) Backup and newfs the file system UFS2 (it's just backups?)
4) The changelog for the driver on the releng-6 branch; any serious
   pullups into 6-stable/6.2-P*


~BAS

On Sat, 2007-03-31 at 14:43 -0400, [EMAIL PROTECTED] wrote:
 I have the following setup:
 
 3ware 9550SX-4LP raid card
 
 4x 500GB SATA HD's in Raid 10.
 
 It's running on: FreeBSD store01 6.1-RELEASE-p12 FreeBSD  
 6.1-RELEASE-p12 #0: Mon Jan 22 11:20:03 UTC 2007
 
 I use this machine mainly for backups and NFS mount points. The  
 problem is that when I perform backups at night, within 1 hour or so  
 the machine reboots because of kernel panic. The exact error message is:
 
 Mar 31 00:29:05 store01 syslogd: kernel boot file is /boot/kernel/kernel
 Mar 31 00:29:05 store01 kernel: start = 0, len = 11431, fs = /usr
 Mar 31 00:29:05 store01 kernel: panic: ffs_alloccg: map corrupted
 Mar 31 00:29:05 store01 kernel: Uptime: 2d22h57m30s
 Mar 31 00:29:05 store01 kernel: Cannot dump. No dump device defined.
 Mar 31 00:29:05 store01 kernel: Automatic reboot in 15 seconds - press  
 a key on the console to abort
 
 
 This has been happening only since I started doing massive backups on  
 this box ( lots of directories/files ). After reboot, if I run a fsck  
 -y on the partitions everything turns out fine but with fixed errors  
 like: Mar 28 03:53:13 store01 fsck: /dev/da0s1f: INCORRECT BLOCK COUNT  
 I=28342913 (40 should be 0) (CORRECTED)
 
 The only other place where I've found a problem very similar to mine  
 is:  
 http://www.nabble.com/kern-35580:-creating-directories-on-large-UFS2--%3E-boom-t3203420.html
   but that is on  
 NetBSD.
 
 Does anyone know if what I'm describing is a current bug in FreeBSD  
 6.1 or a problem with the 3ware card or something else.
 
 Thanks!
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


how to make i386 port on amd64

2007-03-31 Thread freenity

Hi
I wanted to make Nvidia video driver, but because there is no for amd64 I
wanted to install the only one that is avaible for freebsd that is i386, but
it throughs this error:

===  nvidia-driver-1.0.9746 is only for i386, and you are running amd64..
*** Error code 1


is there any way to force it to compile under amd64??
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: how to make i386 port on amd64

2007-03-31 Thread Kris Kennaway
On Sat, Mar 31, 2007 at 06:22:05PM -0300, freenity wrote:
 Hi
 I wanted to make Nvidia video driver, but because there is no for amd64 I
 wanted to install the only one that is avaible for freebsd that is i386, but
 it throughs this error:
 
 ===  nvidia-driver-1.0.9746 is only for i386, and you are running amd64..
 *** Error code 1
 
 
 is there any way to force it to compile under amd64??

No, that's the point :)

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


Re: How Write To Win Drive?

2007-03-31 Thread Garrett Cooper

Stan Cooper wrote:

Garrett Cooper writes:

  

# ntfs-3g /dev/ad0s1 /win
Failed to open /proc/filesystems: No such file or directory
modprobe: not found
Failed to open /proc/filesystems: No such file or directory
Error opening partition device: Operation not permitted
Failed to startup volume: Operation not permitted
Failed to mount '/dev/ad0s1': Operation not permitted
The NTFS partition is hibernated. Please resume Windows and turned it
off properly, so mounting could be done safely.

TIA,
Stan
  
  
  
/proc's in this case's strictly a linux thing, right? IIRC fuse was 
ported from Linux, so some stuff may be in the wrong spots..


2So, in other words, wait for the developers to work out this bug? Or is there 
a way to work around it?

Also, is it possible to mount and read/write to my thumb drive?
TIA,
Stan
   You sure it's NTFS? Many thumb drives get formatted to FAT32 when 
they are setup.

   Although FAT32 isn't as ideal as NTFS, it's portable and writable.
Cheers,
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: time problems

2007-03-31 Thread Garrett Cooper

Lowell Gilbert wrote:

bram [EMAIL PROTECTED] writes:

  

Hi all,

I am running 6.1-RELEASE-p2-AMD64 on a dual AMD opteron system.
Lately (after installing a twa-3ware raid controller I think) time
just stops.
We leave at work one evening and the clock is set ok.
The next morning the clock is set at 3 o'clock instead of 8 o'clock,
sometimes there is no clock anymore,
when we type date, it just returns to the next line without any output
whatsoever.

This is very annoying, I've set a crontab task every 5 minutes to
re-update the date but it does not help (wich leads to my believe that
time has stopped).

So, what could this be, and can I work around the problem ?

Every service this machine runs stops working at such a time (no ssh
etc), the local keyboard still works.



Hmm.  My first guess would be interrupt problems, most likely with the
timer interrupt itself but possibly something else interfering with it.
Keep an eye on 'vmstat -i'.
  
Time skew might be caused by a dead CMOS battery (in particular this 
seemed like a bigger issue with my P4 than it was with my P1 once the 
battery died -- it would lose 5 minutes every couple hours or so).


Some vendors are lame too and ship motherboards with dead batteries (or 
the voltage in them dissipates over time because of parasitic impedances 
in the area).

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


Re: deleting file '--preserve-permissions'

2007-03-31 Thread Garrett Cooper

Derek Ragona wrote:

try:
rm -i *

only answer y to the one you want deleted.

-Derek


At 02:36 PM 3/31/2007, [EMAIL PROTECTED] wrote:

I've made mistake with tar. Something like

tar cvfz --preserve-permissions home.tgz *

or

tar cvfz --preserve-permissions * home.tgz

As result I have a file with name '--preserve-permissions'.
It seems that it's not easy to delete this file.

rm '--preserve-permissions'

does not give the desired result.
What should I do :-)
rm -- '--perserve-permissions'. -- tells getopt to stop searching and 
the single quotes are a double bonus because it doesn't interpret the 
string contents beforehand, but instead passes it on as a straight string.


Try: rm --perserve-permissions and rm '--perserve-permissions', in 
that order to just see what happens ;)..


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


Re: how to make i386 port on amd64

2007-03-31 Thread Garrett Cooper

Kris Kennaway wrote:

On Sat, Mar 31, 2007 at 06:22:05PM -0300, freenity wrote:
  

Hi
I wanted to make Nvidia video driver, but because there is no for amd64 I
wanted to install the only one that is avaible for freebsd that is i386, but
it throughs this error:

===  nvidia-driver-1.0.9746 is only for i386, and you are running amd64..
*** Error code 1


is there any way to force it to compile under amd64??



No, that's the point :)

Kris
DON'T do that! There are a lot more things under the hood than just 
compiling i386 binaries on amd64 and hoping (magically) stuff will just 
work. If you want amd64 support you'll have to contact nVidia and get 
them to compile / release a driver for the amd64 architecture.


amd64 introduces a lot of new interesting things to the mix in terms of 
library locations, primitive type length, etc that can't be resolved 
necessarily by just hoping it'll compile ;).


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


Re: net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Brian A. Seklecki
I've worked around this before with -L to mount_nfs.

The whole conundrum of compiling/updating something as huge as Net-SNMP
on a compact flash hardware platform is one of goals that my
bsd-appliance project hopes to provide convenient work-around for.

~BAS

On Sat, 2007-03-31 at 08:09 -0500, Jonathan Horne wrote:
 On Sat, 31 Mar 2007 13:49:32 +0200
 Daniel Dvořák [EMAIL PROTECTED] wrote:
 
  Hi all,
  
  I have a wrap PC Engine with CF card.
  
  I want do a upgrade of net-snmp-5.2.3_3 to latest version.
  
  Of cource I do not want to compile the whole port on CF card,
  
  so the directory /usr/ports/ is mounted through NFS.
  
  When I do portupgrade net-snmp or make install clean, it always fails with 
  the same error, see below.
  
  What may I do to compile it through NFS successfully ?
  
  SERVER site:
  
  # /etc/rc.d/nfsd status
  nfsd is running as pid 1254 1255 1256 1257 1258.
  # /etc/rc.d/mountd status
  mountd is running as pid 1245.
  # /etc/rc.d/rpcbind status
  rpcbind is running as pid 1210.
  # /etc/rc.d/nfslocking  status 
  
  If it is with or without, it does not influence the error.
  
  statd is running as pid 1264.
  lockd is running as pid 1269 1275.
  
  Thanks
  
  Dan
  
  # mount
  /dev/ad0s1a on / (ufs, local)
  devfs on /dev (devfs, local)
  10.X.Y.Z:/usr/ports on /usr/ports (nfs)
  
  # cd /usr/ports/net-mgmt/net-snmp
  
  # make install clean
  ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
  ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
  ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
  ===  Configuring for net-snmp-5.3.1_3
  autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you 
  are running make -j on a lame NFS client?): Operation not supported
  *** Error code 1
  
  Stop in /usr/ports/net-mgmt/net-snmp.
  #
  
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
  
 
 you need to specify a different place for your workdirs to go, by adding a 
 line like this to /etc/make.conf:
 
 WRKDIRPREFIX=/usr/tmp
 
 cheers,
 jonathan
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: FreeBSD 6.1 kernel panic

2007-03-31 Thread freebsd

Gotcha, I will try these options but just to recap:

How likely is it that the bug reported in that NetBSD page also occurs  
on FreeBSD ?


The system works fine otherwise, if I don't do any heavy copying. I  
had it up for 30 days without any incident whatsoever. The moment I  
start doing a large copy, after a while, the kernel panic occurs.


Quoting Brian A. Seklecki [EMAIL PROTECTED]:


From a troubleshooting standpoint, I would check the following:


1) A Quick Memtest86
2) The management interface to the RAID (functional CLI in FBSD?
   otherwise BIOS menu); sector scan on logical volume.
3) Backup and newfs the file system UFS2 (it's just backups?)
4) The changelog for the driver on the releng-6 branch; any serious
   pullups into 6-stable/6.2-P*


~BAS

On Sat, 2007-03-31 at 14:43 -0400, [EMAIL PROTECTED] wrote:

I have the following setup:

3ware 9550SX-4LP raid card

4x 500GB SATA HD's in Raid 10.

It's running on: FreeBSD store01 6.1-RELEASE-p12 FreeBSD
6.1-RELEASE-p12 #0: Mon Jan 22 11:20:03 UTC 2007

I use this machine mainly for backups and NFS mount points. The
problem is that when I perform backups at night, within 1 hour or so
the machine reboots because of kernel panic. The exact error message is:

Mar 31 00:29:05 store01 syslogd: kernel boot file is /boot/kernel/kernel
Mar 31 00:29:05 store01 kernel: start = 0, len = 11431, fs = /usr
Mar 31 00:29:05 store01 kernel: panic: ffs_alloccg: map corrupted
Mar 31 00:29:05 store01 kernel: Uptime: 2d22h57m30s
Mar 31 00:29:05 store01 kernel: Cannot dump. No dump device defined.
Mar 31 00:29:05 store01 kernel: Automatic reboot in 15 seconds - press
a key on the console to abort


This has been happening only since I started doing massive backups on
this box ( lots of directories/files ). After reboot, if I run a fsck
-y on the partitions everything turns out fine but with fixed errors
like: Mar 28 03:53:13 store01 fsck: /dev/da0s1f: INCORRECT BLOCK COUNT
I=28342913 (40 should be 0) (CORRECTED)

The only other place where I've found a problem very similar to mine
is:
http://www.nabble.com/kern-35580:-creating-directories-on-large-UFS2--%3E-boom-t3203420.html  but that is   
on

NetBSD.

Does anyone know if what I'm describing is a current bug in FreeBSD
6.1 or a problem with the 3ware card or something else.

Thanks!



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








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


Re: deleting file '--preserve-permissions'

2007-03-31 Thread Garrett Cooper

Garrett Cooper wrote:

Derek Ragona wrote:

try:
rm -i *

only answer y to the one you want deleted.

-Derek


At 02:36 PM 3/31/2007, [EMAIL PROTECTED] wrote:

I've made mistake with tar. Something like

tar cvfz --preserve-permissions home.tgz *

or

tar cvfz --preserve-permissions * home.tgz

As result I have a file with name '--preserve-permissions'.
It seems that it's not easy to delete this file.

rm '--preserve-permissions'

does not give the desired result.
What should I do :-)
rm -- '--perserve-permissions'. -- tells getopt to stop searching and 
the single quotes are a double bonus because it doesn't interpret the 
string contents beforehand, but instead passes it on as a straight 
string.


Try: rm --perserve-permissions and rm '--perserve-permissions', in 
that order to just see what happens ;)..


-Garrett
Haha. Forgot that the single quotes version won't work by itself. It's 
basically for cases when there are shell sensitive characters inside a 
string, when compared to the double quotes. The first solution with -- 
will work though, guaranteed :).


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


Re: Router with 2 internet connections

2007-03-31 Thread Brian A. Seklecki
Right.  Since you can only have one default route, you'd to use static
routes out of the second interface make the decision based on
destination IP address (layer 3 decision making here).  

To make it based on source address or some layer-4 decision, you'd need
a layer4 switch and/or BGP.

BGP is your best bet.

~BAS

On Fri, 2007-03-30 at 19:09 -0700, Kevin Glick wrote:
 I've got a BSD router with two internet connections:
 dc0 (DSL) and dc1 (Cable)
 
 I also have an internal nic:
 rl0 (192.168.0.1)
 
 I've got PF setup and running nat.  What I need to know is this;
 Can I easily route all outbound traffic from 192.168.0.2 - 192.168.0.250 out
 the dc1 interface, AND route traffic from 192.168.0.251 - 192.168.0.254 out
 the dc0 interface with PF and something else?
 
 Currently, PF redirects the traffic correctly, however, the traffic from the
 upper block goes out the default route (gateway of dc1).  So the traffic
 never comes back.
 
 I guess the problem is that I'm sending the nat'd packets out as the IP of
 dc0, but they're being send out dc1.
 
 Make sense?  Anybody follow this, and have a useful suggestion?
 
 --
 Kevin Glick
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: how to make i386 port on amd64

2007-03-31 Thread freenity

ok thanks.

On 3/31/07, Garrett Cooper [EMAIL PROTECTED] wrote:


Kris Kennaway wrote:
 On Sat, Mar 31, 2007 at 06:22:05PM -0300, freenity wrote:

 Hi
 I wanted to make Nvidia video driver, but because there is no for amd64
I
 wanted to install the only one that is avaible for freebsd that is
i386, but
 it throughs this error:

 ===  nvidia-driver-1.0.9746 is only for i386, and you are running
amd64..
 *** Error code 1


 is there any way to force it to compile under amd64??


 No, that's the point :)

 Kris
DON'T do that! There are a lot more things under the hood than just
compiling i386 binaries on amd64 and hoping (magically) stuff will just
work. If you want amd64 support you'll have to contact nVidia and get
them to compile / release a driver for the amd64 architecture.

amd64 introduces a lot of new interesting things to the mix in terms of
library locations, primitive type length, etc that can't be resolved
necessarily by just hoping it'll compile ;).

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





--
http://feudaltimes.com.ar - Feudal Times `s webmaster and programer.
http://gamescreators.sourceforge.net - linux games programing community.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Printer issue

2007-03-31 Thread Ivan Zenzerović

Hi guys,

I have now another problem. I tryed to set up my printer (HP LaserJet 6L)
following the instructions in the handbook. Ok, the printer responds, but
when i try to print it only takes paper and prints eventually a line of some
strange signs. I set it up at first on interrupt-driven mode, then on
polled-mode, but it always takes pages and i cant stop it, I tryed stopping
it with lpc, but nothing. I tried with the troubleshooting section but
nothing, no solution for my problem.
Has anyone maybe the same printer set-up?

Thanks,
Ivan

--

---
Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton
Senna
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: No buffer space available

2007-03-31 Thread Brian A. Seklecki
Show us netstat -m on the broken kernel?  Show us your dmesg(8) for
em(4).

TIA,
~BAS

On Fri, 2007-03-30 at 11:13 -0300, Thiago Esteves de Oliveira wrote:
 Hello,
 
 I've had a problem with one of my FreeBSD servers, the machine has stopped 
 its network services
 and then sent these messages:
 
 -Mar 27 13:00:03 anubis dhcpd: send_packet: No buffer space available
 -Mar 27 13:00:26 anubis routed[431]: Send bcast sendto(em0, 
 146.164.92.255.520): No buffer space
 available
 
 The messages were repeated a lot of times before a temporary solution. I've 
 changed the
 kernel(FreeBSD 6.2) to an older one(FreeBSD 6.1) and since then it's been 
 working well. What
 happened?
 
 P.S.: I can give more informations if necessary.
 
 
 
 
 
 
 
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Kernel crash on boot from CD (6.2)

2007-03-31 Thread Brian A. Seklecki
The usual fair for bleeding edge hardware.

Try:

 acpi_load
   Unset this to disable automatic loading of the ACPI
   module.
   See also hint.acpi.0.disabled in device.hints(5).

Break out of the boot screen and set that value

~BAS


On Fri, 2007-03-30 at 11:51 +0200, Albert Kok (Technico Automatisering
b.v.) wrote:
 Greetings,
 
  
 
 I have been using FreeBSD for years and with success. I'd like to use
 FreeBSD as my main operating system on my new HP Pavilion DV6248EU.
 
 Specs: AMD Turion64 X2 TL-50, Nvidia Geforce Go 6150, 2 GB RAM, 120 GB
 HD, DVD RW+DL+LS, LAN/WLAN, 1280x800, etc.
 
  
 
 I have tried the AMD64 release of FreeBSD 6.2, but when booting from CD
 it crashes almost immediately and I can hardly read whats going on. A
 few lines keep scrolling over the screen, which I think is kernel
 debugging output.
 
  
 
 So I thought I might be lucky with the i386 release of FreeBSD 6.2. It
 also crashes on boot but at least I can read whats going on. This is
 what I get booting from the installation disc:
 
  
 
 /boot/kernel/acpi.ko text=0x4398 data=0x23c0+0x10f0
 syms=[0x4+0x7ba0+0x4+0xa828
 
 ]
 
 Loading required module 'pci'
 
 ACPI autoload failed - no such file or directory
 
 \
 
 int=0006  err=  efl=00010002  eip=0003
 
 eax=00449130  ebx=  ecx=004f010f  edx=0003fa40
 
 esi=  edi=  ebp=  esp=000928b0
 
 cs=0008  ds=0010  es=0010fs=0010  gs=0010  ss=0010
 
 cs:eip=f0 53 ff 00 f0 c3 e2 00-f0 53 ff 00 f0 53 ff 00
 
f0 54 ff 00 f0 c7 a9 00-f0 53 ff 00 f0 a5 fe 00
 
 ss:esp=00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
 
00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00
 
 BTX halted
 
  
 
 
 
 I don't think the kernel crash has anything to do with the failing ACPI
 autoload. Normally I would enter my BIOS and play with settings for
 compatibility. But as you may guess, most settings in this laptop are
 locked.
 
  
 
 If anyone has any ideas or advice in mind, please let me know.
 
  
 
 
 
 Kind regards,
 
  
 
 Albert Kok
 
  
 
 Technico Automatisering B.V.
 Industrieweg 30
 2382 NW Zoeterwoude
 
  
 
 Helpdesk: 0900-0400665
 Tel: +31 (0)71-542 43 44
 Fax: +31 (0)71-589 30 18
 
 
 
  
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]

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


Re: Printer issue

2007-03-31 Thread Warren Block

On Sun, 1 Apr 2007, Ivan Zenzeroviæ wrote:


I have now another problem. I tryed to set up my printer (HP LaserJet 6L)
following the instructions in the handbook. Ok, the printer responds, but
when i try to print it only takes paper and prints eventually a line of some
strange signs.


What are you trying to print?  The LJ6L only handles ASCII text and PCL 
control codes.  Additionally, it needs to either have text formatted 
with additional carriage returns or to treat linefeeds as carriage 
returns.


Many people use apsfilter from the ports to handle print conversion.  I 
prefer setting up my own simpler, smaller filter, like Simulating 
PostScript on Non PostScript Printers in the Handbook Advanced Printer 
Setup section.



I set it up at first on interrupt-driven mode, then on
polled-mode, but it always takes pages and i cant stop it, I tryed stopping
it with lpc, but nothing. I tried with the troubleshooting section but
nothing, no solution for my problem.
Has anyone maybe the same printer set-up?


It should work fine.  Please post your /etc/printcap.

-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 [EMAIL PROTECTED]

Re: Printer issue

2007-03-31 Thread Ivan Zenzerović

Thanks, I'll try to configure it now.

/etc/printcap/


#   @(#)printcap5.3 (Berkeley) 6/30/90
# $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $

#
# This enables a simple local raw printer, hooked up to the first
# parallel port.  No kind of filtering is done, so everything you pass
# to the lpr command will be printed unmodified.
#
# Remember, for further print queues you're going to add, you have
# to choose different spool directories (the sd capability below),
# otherwise you will greatly confuse lpd.
#
# For some advanced printing, have a look at the apsfilter package.
# It plugs into the lpd system, allowing you to print a variety of
# different file types by converting everything to PostScript(tm)
# format.  For more information about apsfilter visit
#
#http://www.apsfilter.org/
#
# If you don't have a PostScript(tm) printer, don't panic, but do
# also install the latest ghostscript package for best printer support.
#
# Do also refer to the printing section of the handbook.
#
#
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
#
# A local copy can be found under
#
#   /usr/share/doc/handbook/handbook.{html,latin1}.
#
# Banner pages are now suppressed by default.  Remove the :sh: capability
# to turn them back on.
#
#lp|local line printer:\
#   :sh:\
#   :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
# Sample remote printer.  The physical printer is on machine lphost.
# You can perform any kind of local filtering directly.  If you need
# local filters (e.g. LF - CR-LF conversion for HP printers), create
# a filter script that sends the proper escape sequence to the printer
# and then concatenates stdin to stdout.
#
#remote|sample remote printer:\
#   :sh:\
#   :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\
#   :if=/usr/local/libexec/if-script:
#
# Simple Russian printer with hardware CP866 character set, output filter
# used for KOI8-R - CP866 conversion
#
#lp|Russian local line printer:\
#   :sh:of=/usr/libexec/lpr/ru/koi2alt:\
#   :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
zenzo|line|HP6L|lp|Hewlett z Packard Laser Jet6L:\
   :sh:sd=/var/spool/zenzo:\
   :lp=/dev/lpt0:\
   :if=/usr/local/libexec/if-simple:\
#   :if=/usr/local/libexec/hpif:

On 4/1/07, Warren Block [EMAIL PROTECTED] wrote:


On Sun, 1 Apr 2007, Ivan Zenzeroviæ wrote:

 I have now another problem. I tryed to set up my printer (HP LaserJet
6L)
 following the instructions in the handbook. Ok, the printer responds,
but
 when i try to print it only takes paper and prints eventually a line of
some
 strange signs.

What are you trying to print?  The LJ6L only handles ASCII text and PCL
control codes.  Additionally, it needs to either have text formatted
with additional carriage returns or to treat linefeeds as carriage
returns.

Many people use apsfilter from the ports to handle print conversion.  I
prefer setting up my own simpler, smaller filter, like Simulating
PostScript on Non PostScript Printers in the Handbook Advanced Printer
Setup section.

 I set it up at first on interrupt-driven mode, then on
 polled-mode, but it always takes pages and i cant stop it, I tryed
stopping
 it with lpc, but nothing. I tried with the troubleshooting section but
 nothing, no solution for my problem.
 Has anyone maybe the same printer set-up?

It should work fine.  Please post your /etc/printcap.

-Warren Block * Rapid City, South Dakota USA





--

---
Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton
Senna
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Printer issue

2007-03-31 Thread Ivan Zenzerović

Hi,

still the same, I put the device ljet5, because there is no ljet6. I just
don't get it, why is doing that!

Ivan

On 4/1/07, Ivan Zenzerović [EMAIL PROTECTED] wrote:


Thanks, I'll try to configure it now.

/etc/printcap/


#   @(#)printcap5.3 (Berkeley) 6/30/90
# $FreeBSD: src/etc/printcap,v 1.14 2004/06/06 11:46:27 schweikh Exp $

#
# This enables a simple local raw printer, hooked up to the first
# parallel port.  No kind of filtering is done, so everything you pass
# to the lpr command will be printed unmodified.
#
# Remember, for further print queues you're going to add, you have
# to choose different spool directories (the sd capability below),
# otherwise you will greatly confuse lpd.
#
# For some advanced printing, have a look at the apsfilter package.
# It plugs into the lpd system, allowing you to print a variety of
# different file types by converting everything to PostScript(tm)
# format.  For more information about apsfilter visit
#
#http://www.apsfilter.org/
#
# If you don't have a PostScript(tm) printer, don't panic, but do
# also install the latest ghostscript package for best printer support.
#
# Do also refer to the printing section of the handbook.
#
#
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing.html
#
# A local copy can be found under
#
#   /usr/share/doc/handbook/handbook.{html,latin1}.
#
# Banner pages are now suppressed by default.  Remove the :sh: capability
# to turn them back on.
#
#lp|local line printer:\
#   :sh:\
#   :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
#
# Sample remote printer.  The physical printer is on machine lphost.
# You can perform any kind of local filtering directly.  If you need
# local filters (e.g. LF - CR-LF conversion for HP printers), create
# a filter script that sends the proper escape sequence to the printer
# and then concatenates stdin to stdout.
#
#remote|sample remote printer:\
#   :sh:\
#   :rm=lphost:sd=/var/spool/output/lphost:lf=/var/log/lpd-errs:\
#   :if=/usr/local/libexec/if-script:
#
# Simple Russian printer with hardware CP866 character set, output filter
# used for KOI8-R - CP866 conversion
#
#lp|Russian local line printer:\
#   :sh:of=/usr/libexec/lpr/ru/koi2alt:\
#   :lp=/dev/lpt0:sd=/var/spool/output/lpd:lf=/var/log/lpd-errs:
zenzo|line|HP6L|lp|Hewlett z Packard Laser Jet6L:\
:sh:sd=/var/spool/zenzo:\
:lp=/dev/lpt0:\
:if=/usr/local/libexec/if-simple:\
#   :if=/usr/local/libexec/hpif:

On 4/1/07, Warren Block [EMAIL PROTECTED] wrote:

 On Sun, 1 Apr 2007, Ivan Zenzeroviæ wrote:

  I have now another problem. I tryed to set up my printer (HP LaserJet
 6L)
  following the instructions in the handbook. Ok, the printer responds,
 but
  when i try to print it only takes paper and prints eventually a line
 of some
  strange signs.

 What are you trying to print?  The LJ6L only handles ASCII text and PCL
 control codes.  Additionally, it needs to either have text formatted
 with additional carriage returns or to treat linefeeds as carriage
 returns.

 Many people use apsfilter from the ports to handle print conversion.  I
 prefer setting up my own simpler, smaller filter, like Simulating
 PostScript on Non PostScript Printers in the Handbook Advanced Printer

 Setup section.

  I set it up at first on interrupt-driven mode, then on
  polled-mode, but it always takes pages and i cant stop it, I tryed
 stopping
  it with lpc, but nothing. I tried with the troubleshooting section but

  nothing, no solution for my problem.
  Has anyone maybe the same printer set-up?

 It should work fine.  Please post your /etc/printcap.

 -Warren Block * Rapid City, South Dakota USA




--

---
Correr, competir, eu levo isso no sangue, é parte da minha vida. -
Ayrton Senna





--

---
Correr, competir, eu levo isso no sangue, é parte da minha vida. - Ayrton
Senna
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

RE: net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Daniel Dvořák
Ok thanks for your quick reply. It helped me ... for a while.

I did what you advised me and it worked, but after some comilling time this new 
error appeared:

Makefile out-of-date with respect to Makefile.PL 
/usr/local/lib/perl5/5.8.8/mach/Config.pm 
/usr/local/lib/perl5/5.8.8/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean  /dev/null 21
/usr/local/bin/perl Makefile.PL
ERROR from evaluation of 
/usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl/default_store/Makefile.PL:
 You need to install net-snmp first (I can't find net-snmp-config) at 
./Makefile.PL line 83.
*** Error code 2

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl.
*** Error code 1

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.


I have compilled net-snmp for many times on many platforms even this wpra pc 
engine, but always with success. What is wrong with this net-snmp version 5.3.X 
?

Dan
-Original Message-
From: Jonathan Horne [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 31, 2007 3:10 PM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re: net-snmp: portupgrade or clean instalation from ports through NFS 
failed again and again

On Sat, 31 Mar 2007 13:49:32 +0200
Daniel Dvořák [EMAIL PROTECTED] wrote:

 Hi all,
 
 I have a wrap PC Engine with CF card.
 
 I want do a upgrade of net-snmp-5.2.3_3 to latest version.
 
 Of cource I do not want to compile the whole port on CF card,
 
 so the directory /usr/ports/ is mounted through NFS.
 
 When I do portupgrade net-snmp or make install clean, it always fails with 
 the same error, see below.
 
 What may I do to compile it through NFS successfully ?
 
 SERVER site:
 
 # /etc/rc.d/nfsd status
 nfsd is running as pid 1254 1255 1256 1257 1258.
 # /etc/rc.d/mountd status
 mountd is running as pid 1245.
 # /etc/rc.d/rpcbind status
 rpcbind is running as pid 1210.
 # /etc/rc.d/nfslocking  status 
 
 If it is with or without, it does not influence the error.
 
 statd is running as pid 1264.
 lockd is running as pid 1269 1275.
 
 Thanks
 
 Dan
 
 # mount
 /dev/ad0s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 10.X.Y.Z:/usr/ports on /usr/ports (nfs)
 
 # cd /usr/ports/net-mgmt/net-snmp
 
 # make install clean
 ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
 ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
 ===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
 ===  Configuring for net-snmp-5.3.1_3
 autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are 
 running make -j on a lame NFS client?): Operation not supported
 *** Error code 1
 
 Stop in /usr/ports/net-mgmt/net-snmp.
 #
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

you need to specify a different place for your workdirs to go, by adding a line 
like this to /etc/make.conf:

WRKDIRPREFIX=/usr/tmp

cheers,
jonathan

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


Re: Printer issue

2007-03-31 Thread Warren Block

On Sun, 1 Apr 2007, Ivan Zenzerovię wrote:


zenzo|line|HP6L|lp|Hewlett z Packard Laser Jet6L:\
:sh:sd=/var/spool/zenzo:\
:lp=/dev/lpt0:\
:if=/usr/local/libexec/if-simple:\
#   :if=/usr/local/libexec/hpif:



still the same, I put the device ljet5, because there is no ljet6. I just
don't get it, why is doing that!


Please edit your posts to remove unneeded text, and post your reply 
after the section you're replying to.  This makes it easier to read and 
respond.


First, you can't use comments inside a printcap entry.  Those 
backslashes at the end of the line are line continuation characters; the 
whole thing is really just one long line.


Second, the default printer is usually called lp.  Unless you have 
that, you'll have to tell lpr the printer name with -P each time you use 
it.  Given that, here's an edit of your printcap:


lp:\
:lp=/dev/lpt0:\
:sh:\
:sd=/var/spool/zenzo:\
:if=/usr/local/libexec/if-simple:

This requires that /usr/local/libexec/if-simple is in place and 
executable, too.


Now you should be able to print with lpr.  However, your printer still 
doesn't know that linefeed also means carriage return.  So we'll include 
carriage returns with a test print:


lptest 66 79 | perl -ne 's/\n/\r\n/; print' | lpr

This should print one page.  If it works, you're almost there.

-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 [EMAIL PROTECTED]

Re: net-snmp: portupgrade or clean instalation from ports through NFS failed again and again

2007-03-31 Thread Garrett Cooper

Daniel Dvořák wrote:

Ok thanks for your quick reply. It helped me ... for a while.

I did what you advised me and it worked, but after some comilling time this new 
error appeared:

Makefile out-of-date with respect to Makefile.PL 
/usr/local/lib/perl5/5.8.8/mach/Config.pm 
/usr/local/lib/perl5/5.8.8/mach/CORE/config.h
Cleaning current config before rebuilding Makefile...
make -f Makefile.old clean  /dev/null 21
/usr/local/bin/perl Makefile.PL
ERROR from evaluation of 
/usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl/default_store/Makefile.PL:
 You need to install net-snmp first (I can't find net-snmp-config) at 
./Makefile.PL line 83.
*** Error code 2

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1/perl.
*** Error code 1

Stop in /usr/tmp/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.3.1.
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.


I have compilled net-snmp for many times on many platforms even this wpra pc 
engine, but always with success. What is wrong with this net-snmp version 5.3.X 
?

Dan
-Original Message-
From: Jonathan Horne [mailto:[EMAIL PROTECTED] 
Sent: Saturday, March 31, 2007 3:10 PM

To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: Re: net-snmp: portupgrade or clean instalation from ports through NFS 
failed again and again

On Sat, 31 Mar 2007 13:49:32 +0200
Daniel Dvořák [EMAIL PROTECTED] wrote:

  

Hi all,

I have a wrap PC Engine with CF card.

I want do a upgrade of net-snmp-5.2.3_3 to latest version.

Of cource I do not want to compile the whole port on CF card,

so the directory /usr/ports/ is mounted through NFS.

When I do portupgrade net-snmp or make install clean, it always fails with the 
same error, see below.

What may I do to compile it through NFS successfully ?

SERVER site:

# /etc/rc.d/nfsd status
nfsd is running as pid 1254 1255 1256 1257 1258.
# /etc/rc.d/mountd status
mountd is running as pid 1245.
# /etc/rc.d/rpcbind status
rpcbind is running as pid 1210.
# /etc/rc.d/nfslocking  status 


If it is with or without, it does not influence the error.

statd is running as pid 1264.
lockd is running as pid 1269 1275.

Thanks

Dan

# mount
/dev/ad0s1a on / (ufs, local)
devfs on /dev (devfs, local)
10.X.Y.Z:/usr/ports on /usr/ports (nfs)

# cd /usr/ports/net-mgmt/net-snmp

# make install clean
===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/perl5.8.8 - found
===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/autoconf259 - found
===   net-snmp-5.3.1_3 depends on file: /usr/local/bin/libtool - found
===  Configuring for net-snmp-5.3.1_3
autom4te259: cannot lock autom4te.cache/requests with mode 2 (perhaps you are 
running make -j on a lame NFS client?): Operation not supported
*** Error code 1

Stop in /usr/ports/net-mgmt/net-snmp.
#

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




you need to specify a different place for your workdirs to go, by adding a line 
like this to /etc/make.conf:

WRKDIRPREFIX=/usr/tmp

cheers,
jonathan
  
My guess is that that particular error message is a typo because usually 
Perl scripts are prefixed like {blah}.pl, not {blah}.PL.

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


not able to install some ports

2007-03-31 Thread dbetts
I have been trying to install amavisd-new, portgrey, and portupgrade. I 
get the same error on all ports when they try to install 
dependencies:(this is an example from trying to install the port 
portupgrade)


= bdb-0.6.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
= Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/.
fetch: ftp://moulon.inra.fr/pub/ruby/bdb-0.6.0.tar.gz: Can't open data 
connection
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: 
File unavailable (e.g., file not found, no access)

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ruby and try again.
*** Error code 1
I have also tried pkg_add and get the error:

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: 
File unavailable (e.g., file not found, no access)

Is the ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles down?
Or is there a way to install these ports?

Thanks

--
Darrell
[EMAIL PROTECTED]
--
Looks like I Picked the Wrong Week to Stop Sniffing Glue.
-- Steve McCroskey --

Live ATC Feed from Toledo Express Airport http://audio.liveatc.net:8012/ktol.m3u

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


Re: not able to install some ports

2007-03-31 Thread Garrett Cooper

dbetts wrote:
I have been trying to install amavisd-new, portgrey, and portupgrade. 
I get the same error on all ports when they try to install 
dependencies:(this is an example from trying to install the port 
portupgrade)


= bdb-0.6.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
= Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/.
fetch: ftp://moulon.inra.fr/pub/ruby/bdb-0.6.0.tar.gz: Can't open data 
connection
= Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: 
File unavailable (e.g., file not found, no access)

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ruby and try again.
*** Error code 1
I have also tried pkg_add and get the error:

ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: 
File unavailable (e.g., file not found, no access)

Is the ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles down?
Or is there a way to install these ports?

Thanks

Not sure why, but this happens on occasion with some ports. What you 
should do (quickest method) is google the filename listed above, 
download the file, and save it to /usr/ports/distfiles, then rebuild the 
port(s). This shouldn't occur with most of your ports though.

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


The FreeBSD Diary: 2007-03-11 - 2007-03-31

2007-03-31 Thread Dan Langille
The FreeBSD Diary contains a large number of practical 
examples and how-to guides.  This message is posted weekly
to freebsd-questions@freebsd.org with the aim of letting people
know what's available on the website.  Before you post a question
here it might be a good idea to first search the mailing list 
archives http://www.freebsd.org/search/search.html#mailinglists 
and/or The FreeBSD Diary http://www.freebsddiary.org/. 


-- 
Dan Langille
BSDCan - http://www.BSDCan.org/ - BSD Conference

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


Re: not able to install some ports

2007-03-31 Thread Mikhail Goriachev
dbetts wrote:
 I have been trying to install amavisd-new, portgrey, and portupgrade. I 
 get the same error on all ports when they try to install 
 dependencies:(this is an example from trying to install the port 
 portupgrade)
 
 = bdb-0.6.0.tar.gz doesn't seem to exist in /usr/ports/distfiles/ruby.
 = Attempting to fetch from ftp://moulon.inra.fr/pub/ruby/.
 fetch: ftp://moulon.inra.fr/pub/ruby/bdb-0.6.0.tar.gz: Can't open data 
 connection
 = Attempting to fetch from 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/.
 fetch: 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: 
 File unavailable (e.g., file not found, no access)
 = Couldn't fetch it - please try to retrieve this
 = port manually into /usr/ports/distfiles/ruby and try again.
 *** Error code 1
 I have also tried pkg_add and get the error:
 
 ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/ruby/bdb-0.6.0.tar.gz: 
 File unavailable (e.g., file not found, no access)
 Is the ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles down?
 Or is there a way to install these ports?


Check your connection. Maybe your firewall is a bit tight (NAT
problems?). Check what FTP mode you're using. Try to ftp into
ftp.freebsd.org. Let us know how it goes.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


(no subject)

2007-03-31 Thread Michael Brady
I am very new to Freebsd so this might be a dumb question, but I can't find
an answer through FAQ..

 

I used the command make install clean to install some ported applications,
and the installs went off without a hitch and reported successful.My problem
is that I can't find the locations of the installed applications or the
executables for the apps to run them.What am I missing here?

 

Thank you in advance.

Michael Brady

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


new user help

2007-03-31 Thread Brian

Michael Brady wrote:

I am very new to Freebsd so this might be a dumb question, but I can't find
an answer through FAQ..

 


I used the command make install clean to install some ported applications,
and the installs went off without a hitch and reported successful.My problem
is that I can't find the locations of the installed applications or the
executables for the apps to run them.What am I missing here?

 


Thank you in advance.

Michael Brady

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
If you just installed them and havent relogged in yet, type rehash.  If 
that fails, run /etc/periodic/weekly/310.locate as root and then locate 
filename.


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


bsd

2007-03-31 Thread Robert Rue

hello free bsd, have time for internet and am wondering if free bsd now
supports nvidia nforce4 motherboards. please respond
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Where the fsck are my files? (Was: no subject)

2007-03-31 Thread Lane

On Saturday 31 March 2007 23:30, Michael Brady wrote:
 I am very new to Freebsd so this might be a dumb question, but I can't find
 an answer through FAQ..



 I used the command make install clean to install some ported
 applications, and the installs went off without a hitch and reported
 successful.My problem is that I can't find the locations of the installed
 applications or the executables for the apps to run them.What am I missing
 here?



 Thank you in advance.

 Michael Brady
Michael,

From the port directory, e.g. /usr/ports/multimedia/mplayer, type this:

cat pkg-plist | more

This will show you the list of files and directories that were installed by 
the

make install

command.

If you are using csh for your shell then the newly installed files will not be 
immediately available unless you type

rehash

from the shell where you invoked make.

Good luck!

lane
P.S.  A subject would be more helpful
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: as i progress with jails...

2007-03-31 Thread Chad Leigh -- Shire.Net LLC


On Apr 1, 2007, at 12:16 AM, James Long wrote:


Date: Thu, 29 Mar 2007 19:14:16 -0600
From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]
Subject: Re: as i progress with jails...
To: Jonathan Horne [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed


[deleted]

That needs to be updated per jail.  I use a master jail I nullfs
mount so I just ave to update userland once but if major etc changes
happen still have to do that in each

Chad


And is mergemaster useful inside jails, or do changes to jails'
/etc tree have to be handled manually?


To be honest I have not yet tried.  I tend to do it by hand when  
things break by not doing it :-)


Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net



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


Freebsd 4.X php 5

2007-03-31 Thread RYAN M. vAN GINNEKEN

Hello all i am running freebsd 4.11 an cannot seem to build php4 or php5 i get 
errors like these 

/usr/ports/lang/php4/work/php-4.4.6/ext/standard/basic_functions.c:1619: 
arithmetic on pointer to an incomplete type 
/usr/ports/lang/php4/work/php-4.4.6/ext/standard/basic_functions.c:1619: 
dereferencing pointer to incomplete type 
/usr/ports/lang/php4/work/php-4.4.6/ext/standard/basic_functions.c:1651: 
warning: passing arg 1 of `free_longopts' from incompatible pointer type 


warning: passing arg 1 of `free_longopts' from incompatible pointer type 

-- 
Computer King  CaN Mail - Sales Service Hosting Backup 

http://www.computerking.ca http://www.canmail.org 

NEW!!! Custom Service Packages 
Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online Accounting 
Packages 

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


Re: as i progress with jails...

2007-03-31 Thread James Long
 Date: Thu, 29 Mar 2007 19:14:16 -0600
 From: Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]
 Subject: Re: as i progress with jails...
 To: Jonathan Horne [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
 
[deleted]
 That needs to be updated per jail.  I use a master jail I nullfs  
 mount so I just ave to update userland once but if major etc changes  
 happen still have to do that in each
 
 Chad

And is mergemaster useful inside jails, or do changes to jails'
/etc tree have to be handled manually?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]