Re: Help setting up Vinum mirror

2005-10-04 Thread Peter Clutton
 In some releases 'vinum_enable=yes' in /etc/conf caused a kernel panic at
 boot.
 Hence my question what OS...

 Arno

Thanks for the replies everyone and sorry for the slow reply.
I'm running 5.3 , and realised i had to run newfs and mount etc to get
it going. I was getting confused thinking that it wouldn't add
the mount to /etc/fstab , and if i put it in there myself.

Apart from adding the vinum_enable etc, will i need to add the info
to /etc/fstab referring to the name i gave it in vinum.. I'm starting to get
it alot more after reading the man page a few times, and Greg Lehey's info
in the Complete FreeBSD, and was happy to get it running.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


broken ports

2005-10-04 Thread Reinhard Weismann

does anybody know where to report broken ports, or, where to get
information if/why a port currently is broken. 

in this case on my 5.4-RELEASE-p6 (i386) installations, the port 
mail/p5-Mail-SpamAssassin (p5-Mail-SpamAssassin-3.1.0) does not
compile, i.e. i get 
[..]
Segmentation fault (core dumped)
*** Error code 139
[..]
when doing a `make configure` (regardless of which options are
enabled/disabled and which optional modules are installed)

on another installation with 5.3, but same perl-version (v5.8.7 built
for i386-freebsd-64int) it works.

-- 
Everything is controlled by a small evil group to which, unfortunately,
no one we know belongs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


i would like to recover data from my vinum partition

2005-10-04 Thread Milo
I broke my system (did make world with RELENG_5_4 while running 4.10) and I
was running
mirrored /usr partitions with vinum using ad0 and ad2. This morning I didn't
have time to setup vinum and installed 5.4 from cd onto ad0 as usual.

How can I see the data on my vinum drive (ad2) using mount? Other methods
you know of to access the drive to see if I can recover any data?

I tried mounting but only get incorrect super block error.
root# mount -t ufs /dev/ad2s1e /mnt/ad2
mount: /dev/ad2s1e on /mnt/ad2: incorrect super block

I also tried changing the fstype from vinum to 4.2BSD using bsdlabel but
no such luck.
root# bsdlabel ad2s1
# /dev/ad2s1:
8 partitions:
# size offset fstype [fsize bsize bps/cpg]
c: 241248042 0 unused 0 0 # raw part, don't edit
e: 233815971 0 vinum
f: 7432071 233815971 4.2BSD 2048 16384 89

Suggestions greatly appreciated. I searched the lists and google but could
not find the answer.

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


Re: Need help: fwd on ipfw

2005-10-04 Thread Foo Ji-Haw
Well according to the link:
http://archives.neohapsis.com/archives/freebsd/2005-01/0089.html

Duane commented that since 5.3 it has been disabled by default.

- Original Message - 
From: Andrew P. [EMAIL PROTECTED]
To: Foo Ji-Haw [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, October 04, 2005 1:31 PM
Subject: Re: Need help: fwd on ipfw


 On 10/4/05, Foo Ji-Haw [EMAIL PROTECTED] wrote:
  Hello Mr Anderson,
 
  So, the story is that the newer versions of 5.x comes with forwarding
  disabled, hence the inability to to ipfw add fwd?
 
  Ok, will definately give it a try. Thanks for being a better Googler
than
  me!
 

 When was it enabled by default?..

 In case you still have trouble, check out this option,
 too:

 option IPFIREWALL_FORWARD_EXTENDED

 But don't enable it just in case, it unfastens some
 seat belts.


 Cheerz,
 Andrew P.
 ___
 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]


xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
Hi,
I went to play a video file today  with kaffeine and it crashed when trying 
to open the file. I decided to do a portupgrade -fR kaffeine\* to rebuild it 
and it's dependencies in the hope that would fix the problem, but it made no 
difference.
Then I tried running xine by itself and found it gave a bus error and core 
dumped every time I tried to start it (not opening a file or anything). The 
splash screen appears, then the GUI, then both close and in the xterm I start 
it from, I just bus error.

I've tried doing a portupgrade -f xine just in case, though it should have 
been re-built along with kaffeine. None of the above seems to fix the 
problem.
I'm running FBSD 5.4-RELEASE p6 and my ports tree was updated last night. Port 
versions are:
kaffeine-0.7.1
xine-0.99.4

 Xine/Kaffeine used to work, evidently a recent portupgrade has broken it, 
though I'm not sure exactly when it last worked.

Just hoping someone can suggest a fix!

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpHdsvsqpzVP.pgp
Description: PGP signature


Re: Multilanguange

2005-10-04 Thread Dmitry Mityugov
On 10/4/05, Owen Jeremiah [EMAIL PROTECTED] wrote:
 I want to use X with FreeBSD like I use my WinXP: it has multilanguage
 capabilities. Like when I want to create a presentation, I can type in other
 language (like in chinese) and instantly change it back to english. I
 understand that MacOS X can do this instantly too.

 Can anybody direct me to the right way to do this in FreeBSD (using KDE?
 Gnome?)

As far as I know, KDE in FreeBSD 5.4 does not support other languages
by default; Gnome does. I managed to set up Gome at home to write in
Russian.

--
Dmitry Mityugov, St. Petersburg, Russia
I ignore all messages with confidentiality statements

We live less by imagination than despite it - Rockwell Kent, N by E
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD NFS server not responding to TCP SYN packets from Linux/SunOS clients

2005-10-04 Thread Nicolas KOWALSKI
Hello,

Our FreeBSD 4.10 NFS server has some problems serving files by NFS on
TCP (no problem with UDP) when the Linux (2.6) or Solaris (5.9)
clients shut down in an unclean manner (power failure). 

When the clients try to mount the shares from the server after an
unclean shutdown, the mount process hang during several minutes (delay
is varying), then succeeds.

I used ethereal on a Linux client, just after an unclean shutdown, and
it looks like the client is sending SYN packets to the 2049 port of
the server, but the server does not respond to this ; the client
retries a few seconds later, and the server still does not acknoledge
it ; and it continues several times, until succeeding.

Here is a trace ; the frames showing the problem are 33-36, when the
client request a SYN to the 2049 port.

No. TimeSourceDestination   Protocol Info
 16 0.001774client-ip  server-ip  MOUNTV3 MNT 
Call (Reply In 17)
 17 0.001983server-ip  client-ip  MOUNTV3 MNT 
Reply (Call In 16)
 18 0.002013client-ip  server-ip  TCP  909  
805 [ACK] Seq=105 Ack=73 Win=5840 Len=0 TSV=4294748848 TSER=1226883802
 19 0.002233client-ip  server-ip  TCP  911  
sunrpc [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=4294748848 TSER=0 WS=2
 20 0.002418server-ip  client-ip  TCP  sunrpc  
911 [SYN, ACK] Seq=0 Ack=1 Win=57344 Len=0 MSS=1460 WS=0 TSV=1226883802 
TSER=4294748848
 21 0.002447client-ip  server-ip  TCP  911  
sunrpc [ACK] Seq=1 Ack=1 Win=5840 Len=0 TSV=4294748848 TSER=1226883802
 22 0.002579client-ip  server-ip  Portmap  V2 
GETPORT Call (Reply In 23)
 23 0.002782server-ip  client-ip  Portmap  V2 
GETPORT Reply (Call In 22)
 24 0.002807client-ip  server-ip  TCP  911  
sunrpc [ACK] Seq=61 Ack=33 Win=5840 Len=0 TSV=4294748849 TSER=1226883802
 25 0.002941client-ip  server-ip  TCP  911  
sunrpc [FIN, ACK] Seq=61 Ack=33 Win=5840 Len=0 TSV=4294748849 TSER=1226883802
 26 0.003042server-ip  client-ip  TCP  sunrpc  
911 [ACK] Seq=33 Ack=62 Win=57920 Len=0 TSV=1226883803 TSER=4294748849
 27 0.003057server-ip  client-ip  TCP  sunrpc  
911 [FIN, ACK] Seq=33 Ack=62 Win=57920 Len=0 TSV=1226883803 TSER=4294748849
 28 0.003105client-ip  server-ip  TCP  911  
sunrpc [ACK] Seq=62 Ack=34 Win=5840 Len=0 TSV=4294748849 TSER=1226883803
 29 0.003264client-ip  server-ip  TCP  909  
805 [FIN, ACK] Seq=105 Ack=73 Win=5840 Len=0 TSV=4294748849 TSER=1226883802
 30 0.003417server-ip  client-ip  TCP  805  
909 [ACK] Seq=73 Ack=106 Win=57920 Len=0 TSV=1226883803 TSER=4294748849
 31 0.003433server-ip  client-ip  TCP  805  
909 [FIN, ACK] Seq=73 Ack=106 Win=57920 Len=0 TSV=1226883803 TSER=4294748849
 32 0.003480client-ip  server-ip  TCP  909  
805 [ACK] Seq=106 Ack=74 Win=5840 Len=0 TSV=4294748849 TSER=1226883803
 33 0.003881client-ip  server-ip  TCP  798  
2049 [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=4294748850 TSER=0 WS=2
 34 3.004094client-ip  server-ip  TCP  798  
2049 [SYN] Seq=0 Ack=0 Win=23360 Len=0 MSS=1460 TSV=4294751850 TSER=0 WS=2
 35 9.003506client-ip  server-ip  TCP  798  
2049 [SYN] Seq=0 Ack=0 Win=23360 Len=0 MSS=1460 TSV=4294757850 TSER=0 WS=2
 36 21.001319   client-ip  server-ip  TCP  798  
2049 [SYN] Seq=0 Ack=0 Win=23360 Len=0 MSS=1460 TSV=4294769850 TSER=0 WS=2


Is there something I can set on the server (sysctl variable perhaps),
to make it accept the SYN packets from the clients ?


As an counter-example, here is a trace when the same Linux client,
after an unclean shutdown, tries to mount a previously (before the
powerfailure) NFS mounted share from a SunOS 5.9 server. The SYN
packet is acknowledged by the server (frames 36-37), so the client
does not hang mounting the share.

No. TimeSourceDestination   Protocol Info
 17 0.002257client-ip  solaris-server MOUNTV3 
MNT Call (Reply In 19)
 18 0.002391solaris-server client-ip  TCP  
32785  911 [ACK] Seq=1 Ack=93 Win=49140 Len=0 TSV=613133117 TSER=4294753259
 19 0.006256solaris-server client-ip  MOUNTV3 
MNT Reply (Call In 17)
 20 0.006280client-ip  solaris-server TCP  911 
 32785 [ACK] Seq=93 Ack=77 Win=5840 Len=0 TSV=4294753263 TSER=613133117
 21 0.006514client-ip  solaris-server TCP  913 
 sunrpc [SYN] Seq=0 Ack=0 Win=5840 Len=0 MSS=1460 TSV=4294753264 TSER=0 WS=2
 22 0.006670solaris-server client-ip  

SATA

2005-10-04 Thread glm
Why won't FreeBsd install on an SATA HDD.in a dual boot situation with Windows 
XP and the Grub 
Bootloader. 
GLM.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: SATA

2005-10-04 Thread Dilyan Dimov
You may need a driver for SATA controller, which must be provided from 
your mother board vendor.


Dilian Dimov
System Administrator
ProCredit Bank (Bulgaria) AD




glm [EMAIL PROTECTED] 
Sent by: [EMAIL PROTECTED]
04.10.2005 13:12

To
freebsd-questions@FreeBSD.org
cc

Subject
SATA






Why won't FreeBsd install on an SATA HDD.in a dual boot situation with 
Windows XP and the Grub 
Bootloader. 
GLM.
___
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: SATA

2005-10-04 Thread Jonathan Glaschke
Hello,
On Tue, Oct 04, 2005 at 08:12:22PM +1000, glm wrote:
 Why won't FreeBsd install on an SATA HDD.in a dual boot situation with 
 Windows XP and the Grub 
 Bootloader. 
 GLM.
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
 

Why shouldn't FreeBSD install on a SATA HDD.in a dual boot situation
with Windows XP and the Grub Bootloader?

Please give us some more details or nobody can help you.

Jonathan

-- 
 | /\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  XHTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \ And News | http://jonathan-glaschke.de/


pgp3fzgdj8txo.pgp
Description: PGP signature


Help!!!!!

2005-10-04 Thread Leo2tv1
I lost all the pasword for root, admin, etc at FreeBsd 3 and I don't know who 
to change it. and I can't access, anyone could assist me?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining what a port will install... (more than pretty-print-*) [Soln]

2005-10-04 Thread Csaba Henk
On Mon, Oct 03, 2005 at 11:55:28AM -0500, Eric Schuele wrote:
 Hello,
 
 Some time back I posted a question regarding how to determine what
 ports/packages would need to be installed on my machine when I install a 
 new (new to the local machine) port.
 
 For example, if I do not presently have openoffice installed... what
 will get installed when I 'make install clean' it?  Note that I want the
 differences between what is needed to build/run the port and what is
 already present on the machine.
 
 At the time no one responded with a clear way to do this... so I finally
 had a few minutes to write a script to do it for me.  I thought someone
 else might find it useful... So I'm posting it here for comments and
 thoughts (be gentle, I'm new to awk).

Here is an improved/spoiled (decide by yourself) version. I aimed to
sport a more orthogonal design and avoid some gotchas I run into (see
comments in awk code).


#! /bin/sh

# Script to determine the differences between what is necessary for
# a port, and what is already present on the local machine.

awkprgt='{
count = 0
pkgs = 
for(i=5; i=NF-2; i++) {
  pkg = $i

  # the if is here to hack it around when you get:
  # This port requires package(s)  to build.
  if (pkg != \\) {
if (index(pkg, \) == 1)
  {pkg = substr(pkg, 2, length(pkg)-1)}
if (index(pkg, \)  1)
  {pkg = substr(pkg, 1, length(pkg)-1)}
  
if ( system(pkg_info -e  pkg) == 1) {
  pkgs = pkgs   pkg
  count++
}
  }
}

if ( count ) {
  print You need the following (%s) perequisites:
  print pkgs
}
else {
  print All (%s) prerequisites are present.
}

  }
  END {
# triggered, eg., by audio/artswrapper (on my box, at least)
if( ! FNR) {
  print Bogus (empty) %s dependency information
}
  }
'

awkit() {
# Resolve %s-s via sed is a blunt hack
# but good enough here and thus we don't have
# to care about the number of occurrences
awk `echo $awkprgt | sed s/%s/$1/g`
}


make pretty-print-build-depends-list | awkit build

make pretty-print-run-depends-list | awkit run


Alas... while I was making these changes, I succeeded to recall why I
abandoned my earlier attempt to put together a script which fulfils this
(highly desired) functionality.

Because all such scripts are fundamentally broken.

When make decides which ports to pull in, it doesn't only use the flat
data of build and run dependencies, but uses its full Turing complete
computing power. Eg., what happens when a port needs a postscript
interpreter? Should it use the AFPL or the GNU edition as a dependency?
Of course, doing a favor toward one of them (and taking away user's
choice) is unacceptable. So what happens is that make directly checks
whether the gs executable is present.

See, for example, print/gv. Your script's output will include
ghostscript-gnu-7.07_13 both as a build and a run dependency.
Yet when I type make, my ghostscript-gnu-7.07_12 installation will
be happily utilized as the following output snippet shows:

= Checksum OK for gv-3.6.1.tar.gz.
===  Patching for gv-3.6.1
===  Applying FreeBSD patches for gv-3.6.1
===   gv-3.6.1 depends on executable: gmake - found
===   gv-3.6.1 depends on executable: gs - found
===   gv-3.6.1 depends on shared library: Xaw3d - found
===   gv-3.6.1 depends on shared library: X11.6 - found
===  Configuring for gv-3.6.1

The approach taken by FreeBSD's ports is to have more flexibility but
less predictability, and now we have to live with it. Maybe the Gentoo
guys are the ones who succeeded to find the proper balance between these
two quantities -- they made up a mini-markup-language for denoting
dependencies, which is clever enough to cover all cases but it's still
just an easy to parse flat data.

One solution for FreeBSD could be digging deep into the make backend of
the ports framework and insert the necessary hooks everywhere to produce
a reliable dry-run.

Or severely refactor the whole ports framework and switch to Gentoo style
dependency handling. This won't happen any soon IMHO as ports API
changes should be pushed through all ports...

(OFF: to have a bit of bitter laugh, I think Gentoo's portage suffers
from a fundamental design flaw: they can't tune installation prefixes
(which would be necessary to make it an acceptable cross platform 3rd
party package manager, akin to pkgsrc, but it would have other uses, too).
This is again such a thing which can be changed only by rewriting all of
their e-builds.)

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


Feedback for a closed PR?

2005-10-04 Thread Csaba Henk
Hi!

I had some problem with my digicam. I found a PR which described the
phenomena and gave a workaround, too. (PR i386/76653, see

http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/76653

).

As I see, feedback was asked for but it didn't come... hence finally the
PR has been closed. Now I have the information which could give the
requested feedback... What am I to do?

The PR Handling Guidelines
(http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pr-guidelines/)
doesn't cover this case... More precisely, it says that if a problem is
not being worked on, due to lack of information or resources, then it
should be suspended, not closed (so I find it strange that this PR has
been closed).

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


Fwd: jack audio server - it won't work

2005-10-04 Thread James McNaughton


--- James McNaughton [EMAIL PROTECTED] wrote:

 Date: Tue, 27 Sep 2005 18:30:29 -0700 (PDT)
 From: James McNaughton [EMAIL PROTECTED]
 Subject: jack audio server - it won't work
 To: Questions FreeBSD
 freebsd-questions@freebsd.org
 
 Has anyone ever gotten jackd to work. I'm having no
 luck. Should I keep trying or is it a lost cause?
 

I got it to work sort of.

jackd -d oss -r 44100 will make it work for xmms-jack
plugin. But just about anything will send it
spiralling out of control. I tried the commercial oss
drivers and they were worse, even after I inlcuded (I
think) the commercial headers.

Updating to jack-0.100.0 didn't help either.

Using jackd -d dummy results in the same loss of
control.

This is the jack output:
could not handle external client request
cannot read request from client (0/2100/Resource
temporarily unavailable)

I'm giving up for now.




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


Re: Multilanguange

2005-10-04 Thread Andrew P.
On 10/4/05, Dmitry Mityugov [EMAIL PROTECTED] wrote:
 On 10/4/05, Owen Jeremiah [EMAIL PROTECTED] wrote:
  I want to use X with FreeBSD like I use my WinXP: it has multilanguage
  capabilities. Like when I want to create a presentation, I can type in other
  language (like in chinese) and instantly change it back to english. I
  understand that MacOS X can do this instantly too.
 
  Can anybody direct me to the right way to do this in FreeBSD (using KDE?
  Gnome?)

 As far as I know, KDE in FreeBSD 5.4 does not support other languages
 by default; Gnome does. I managed to set up Gome at home to write in
 Russian.

 --
 Dmitry Mityugov, St. Petersburg, Russia
 I ignore all messages with confidentiality statements

 We live less by imagination than despite it - Rockwell Kent, N by E
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


Долго мучился? :)

Лучше скажи, у тебя Gaim нормально пашет, или
buggy client... говорит постоянно?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: Perl / Webmin: ld-elf.so.1 issue

2005-10-04 Thread Mark Edwards

On Oct 3, 2005, at 4:20 PM, Lowell Gilbert wrote:


Mark Edwards [EMAIL PROTECTED] writes:



On Oct 3, 2005, at 1:33 AM, Lowell Gilbert wrote:



Mark Edwards [EMAIL PROTECTED] writes:




I am getting the following error in the browser when trying to use
webmin's crontab editing feature:

/usr/libexec/ld-elf.so.1: /usr/local/bin/perl: Undefined symbol
PL_exit_flags
crontab: /usr/local/lib/webmin/cron/cron_editor.pl exited with
status 1

I am running perl 5.8.7 from ports, and I have done the whole  
routine

with setting use.perl port and perl_after_upgrade.

I notice that there are two /usr/libexec/ld-elf.so.1 files on my
machine:

-r-xr-xr-x  1 root  wheel85940 Feb 11  2005 ld-elf.so.1
-r-xr-xr-x  1 root  wheel85908 Jun 29  2004 ld-elf.so.1.old

Is that normal?  I reinstalled the perl port to no avail.




Are your ports up to date?
[From an up-to-date ports tree?]



Yes, up to date from cvs as of a week ago or so.  Can anyone suggest
a way for me to troubleshoot what exactly the problem is?



Well, that symbol is definitely supposed to be present in your perl
executable.

[E.g.,
[   strings /usr/local/bin/perl|grep exit_fl
[  PL_exit_flags
[  

Do you have any perl-related knobs in make.conf, or in pkgtools.conf
(if you used portupgrade for installing)?


Well, I get the same result when I run the above command.  I suspect  
that it isn't perl itself that is the problem, but rather another  
port or an issue with my system.


One thing I wonder is about how I did my last system upgrade.  I did  
it long-distance, and so was unable to boot into single-user mode, so  
I just shut everything down and did the make installworld live, and  
then rebooted.  I wonder if something wasn't done correctly then,  
although I didn't get any complaints from the process, that I was  
aware of.


The other possibility is that this is a problem with webmin, although  
that doesn't seem likely since this error seems to indicate something  
broken with perl.  Still, why is this the only place where the error  
is showing up?  Lots of other stuff uses perl on my machine -- exim,  
spam-assassin, etc.


My /etc/make.conf is pretty simple:

lilbuddy:/usr/src paimin$ cat /etc/make.conf
CFLAGS= -O -pipe
NOPROFILE= true# Avoid compiling profiled libraries
MAKE_IDEA= YES # IDEA (128 bit symmetric encryption)
USA_RESIDENT=  YES

#WITH_GTK=yes

WITH_OPENSSL_BASE=yes

# port settings
.if ${.CURDIR:M*/mail/exim}
WITH_AUTH_SASL=yes
.endif

# added by use.perl 2005-09-30 16:58:27
PERL_VER=5.8.7
PERL_VERSION=5.8.7
NOPERL=yes


--
Mark Edwards
[EMAIL PROTECTED]
cell: +46704070332


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


Re: Feedback for a closed PR?

2005-10-04 Thread Giorgos Keramidas
On 2005-10-04 14:10, Csaba Henk [EMAIL PROTECTED] wrote:
 Hi!
 I had some problem with my digicam. I found a PR which described the
 phenomena and gave a workaround, too. (PR i386/76653, see

 http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/76653

 As I see, feedback was asked for but it didn't come... hence finally the
 PR has been closed. Now I have the information which could give the
 requested feedback... What am I to do?

Either submit a followup to the PR requesting that it's reopened and
adding your feedback at the end of the followup, or submit a new PR
(with a reference to the old one, if you feel that's appropriate).

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


Re: Problems with Acroread7 port

2005-10-04 Thread Lowell Gilbert
Vladimir Tsvetkov [EMAIL PROTECTED] writes:

  I meant that you need the X version of libfreetype.
 
 I've just installed /usr/ports/emulators/linux_base-8 port, but happen
 also to break my acroread5 port, and neither acroread5 nor acroread6
 works.

I haven't had acroread6 installed in a long time, but acroread5 still
works for me (in a very carefully controlled environment, because its
security bugs are both serious and unlikely to be fixed).

 # acroread
 /compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread:
 error while loading shared libraries: libXext.so.6: cannot open shared
 object file: No such file or directory
 
 I looked for libXext.so.6:
 # find /usr -name libXext.so.*
 /usr/X11R6/lib/libXext.so.6
 
 It appears to be right in place, but still acroread doesn't work.

That's *not* the right place.  The right place would be
/usr/compat/linux/usr/X11R6/lib/libXext.so.6.  
The one you found will only help you with FreeBSD binaries, not Linux ones.

 I started to portupgrade -a:
 
 # portupgrade -a
 Stale dependency: acroread7-7.0.1 -- linux-pango-1.2.1_3 -- manually
 run 'pkgdb -F' to fix, or specify -O to force.
 
 What means that?
 I don't understand why this dependency happens to be STALE???

I don't either, but you seem to have been updating things in a
haphazard way.  Fix the dependency, update the ports, and you should
be fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Help!!!!!

2005-10-04 Thread Jerry McAllister
 
 I lost all the pasword for root, admin, etc at FreeBsd 3 and I don't know who 
 to change it. and I can't access, anyone could assist me?

This is a frequently ask question and will be in the archive many
times over.Check out booting to single user.

jerry

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


Re: Help!!!!!

2005-10-04 Thread Eros

Dont you have do the passwd for the Toor ?

- Original Message - 
From: Jerry McAllister [EMAIL PROTECTED]

To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Tuesday, October 04, 2005 10:27 AM
Subject: Re: Help!




I lost all the pasword for root, admin, etc at FreeBsd 3 and I don't know 
who

to change it. and I can't access, anyone could assist me?


This is a frequently ask question and will be in the archive many
times over.Check out booting to single user.

jerry

___
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: Help!!!!!

2005-10-04 Thread Jerry McAllister
 
 Dont you have do the passwd for the Toor ?

There is no password for toor unless you created one.
Toor is just an extra account name partially set up in case you 
wanted one.   It serves as sort of a template for creating a root 
account by hand.

Do as I suggest - look up the FAQ - specifically:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW
in case you can't figure it out.

Or look in the list archives.   It is mentioned many times.  I have
written it up several times and others have as well.

The specific FAQ is missing one piece of instruction, although it is
covered copiously in other parts,  it doesn't say how to get to that
boot prompt in the root password item.   So, to do that, boot the system
- CTRL-ALT-DEL  or  power cycle it if needed.   When it gets to the
countdown that says hit ENTER to boot immediately or any other key
for boot prompt, just hit the spacebar.   Then do the rest - 'type boot -s'
when it finishes type 'fsck -p', let it finish, type 'mount -u /'
and then 'mount -a' (and 'swapon -a' if you want) and then 'passwd root'
or if you had created another named root account like Rleo for example,

type 'passwd Rleo' and set the password.   You can even set a password
for the toor account if you like.   Then reboot with 'shudown -r now'/.
When it comes up, you should be able to log in to the account for which
you set the password.   You might also want to make a separate home 
directory for that account and choose a shell.   I put mine in /root/myROOT
if the account is myROOT.

Next time, check the archives and FAQ when suggested before arguing with 
the person responding to you question.

jerry

 
 - Original Message - 
 From: Jerry McAllister [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Sent: Tuesday, October 04, 2005 10:27 AM
 Subject: Re: Help!
 
 
 
  I lost all the pasword for root, admin, etc at FreeBsd 3 and I don't know 
  who
  to change it. and I can't access, anyone could assist me?
 
  This is a frequently ask question and will be in the archive many
  times over.Check out booting to single user.
 
  jerry
 
  ___
  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]


X Windows on Toshiba Tecra M1

2005-10-04 Thread jmulkerin
Just installed Freebsd 5.4 on a Toshiba Tecra M1.   Anyone know the 
right parameters for the Video?All I get is lines and then fades to 
mostly dark gray.   I've searched the FAQ and the internet and haven't 
found anything that gives me a clue yet.


Thanks

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


Re: How do you patch a driver?

2005-10-04 Thread Chuck Swiger

Foo Ji-Haw wrote:
[ ...don't top-post, please... ]

I also have this line in dmesg:
ipfw2 initialized, divert disabled, rule-based forwarding disabled, default
to deny, logging disabled

I see that 'rule-based forwarding' is disabled. Is this what caused the
error? How can I enable it? I can't find the details on the Handbook.


Add:

options IPFIREWALL_FORWARD
options IPFIREWALL_DIVERT

...to your kernel config file.  This is mostly documented here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/firewalls-ipfw.html

Also note that ipfw forwarding alone may not do what you expect, unless you 
make special efforts on the machine being forwarded to, to recognize the 
additional IP addresses.  You might find using the redirect_host or 
redirect_port directives to natd more appropriate for your purposes.


--
-Chuck

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


Re: Problems with Acroread7 port

2005-10-04 Thread Vladimir Tsvetkov
   I meant that you need the X version of libfreetype.
 
  I've just installed /usr/ports/emulators/linux_base-8 port, but happen
  also to break my acroread5 port, and neither acroread5 nor acroread6
  works.

 I haven't had acroread6 installed in a long time, but acroread5 still
 works for me (in a very carefully controlled environment, because its
 security bugs are both serious and unlikely to be fixed).

I meant 7 (SEVEN) :).
I reinstalled acroread with
# portinstall acroread
and this fixed the problem with the Acroread5.

  # acroread
  /compat/linux/usr/local/Adobe/Acrobat7.0/Reader/intellinux/bin/acroread:
  error while loading shared libraries: libXext.so.6: cannot open shared
  object file: No such file or directory
 
  I looked for libXext.so.6:
  # find /usr -name libXext.so.*
  /usr/X11R6/lib/libXext.so.6
 
  It appears to be right in place, but still acroread doesn't work.

 That's *not* the right place.  The right place would be
 /usr/compat/linux/usr/X11R6/lib/libXext.so.6.
 The one you found will only help you with FreeBSD binaries, not Linux ones.

Now, I understand. The problem with the Linux version of FreeType is solved.
This time I am getting a different message about another missing
library. But I hope I'm going to fix this too.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: music on FreeBSD

2005-10-04 Thread Subhro

Escape Velocity sat at his 'puter and typed on 10/4/2005 19:47:
Yes, I understand it would be free and I am willing to abide by the 
BSD License - this song would be released under the Creative Commons 
license (http://creativecommons.org/licenses/by-nc-sa/2.5/). Let me 
know what I should do next.


]That's great. However I feel there is a small glitch. As per 
http://creativecommons.org/licenses/by-nc-sa/2.5/, the work can not be 
used for Commercial Purposses. However as per the BSD license you CAN 
use BSD License protected softwares for commercial purposes but you wont 
be allowed to call it a BSD Protected software any more.


Thanks
S.

--
---+--
  |   Subhro Sankha Kar
   \   /  |  GSM: +919831064613  --  Fax: +919831832913
\./   |  MSN:[EMAIL PROTECTED]  --  Yahoo: subhro82
   (0Y0)  |  ICQ: 203567534 --  AIM: bsdboy1982
ooO--(_)--Ooo--+--

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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John
I think I'm having a similar problem with totem (which uses xine) and vlc.
 Can you try installing /usr/ports/multimedia/vlc and see what that does? 
If that gives a bus error as well then I think we might have the same
issue.  I haven't been able to find a solution to this yet...

/Brian

- Original Message -

 Hi,
 I went to play a video file today amp; with kaffeine and it crashed
when trying
 to open the file. I decided to do a portupgrade -fR kaffeine\* to
rebuild it
 and it's dependencies in the hope that would fix the problem, but it
made no
 difference.
 Then I tried running xine by itself and found it gave a bus error and core
 dumped every time I tried to start it (not opening a file or anything). The
 splash screen appears, then the GUI, then both close and in the xterm I
start
 it from, I just bus error.

 I've tried doing a portupgrade -f xine just in case, though it should have
 been re-built along with kaffeine. None of the above seems to fix the
 problem.
 I'm running FBSD 5.4-RELEASE p6 and my ports tree was updated last
night. Port
 versions are:
 kaffeine-0.7.1
 xine-0.99.4

  Xine/Kaffeine used to work, evidently a recent portupgrade has broken it,
 though I'm not sure exactly when it last worked.

 Just hoping someone can suggest a fix!

 Cheers,
 --
 Ian
 gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


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


5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Brian John
Hello,
I just got a 128MB USB flash drive.  When I plug it in in FreeBSD, the box
promptly reboots!  What would cause this?  I dual boot Windows XP and the
drive works fine there.  I seem to remember hearing something about this
in the past but can't find any info on it.  Can someone point me in the
right direction?

Thanks

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


Re: Want to symbolic link 2-3 hard drives (Allen D. Tate)

2005-10-04 Thread Allen D. Tate
Thanks to all who sent answers to my question. I am investigating vinum
as I type this. :P



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Determining what a port will install... (more than pretty-print-*) [Soln]

2005-10-04 Thread Eric Schuele

Csaba Henk wrote:

On Mon, Oct 03, 2005 at 11:55:28AM -0500, Eric Schuele wrote:


Hello,

Some time back I posted a question regarding how to determine what
ports/packages would need to be installed on my machine when I install a 
new (new to the local machine) port.


For example, if I do not presently have openoffice installed... what
will get installed when I 'make install clean' it?  Note that I want the
differences between what is needed to build/run the port and what is
already present on the machine.

At the time no one responded with a clear way to do this... so I finally
had a few minutes to write a script to do it for me.  I thought someone
else might find it useful... So I'm posting it here for comments and
thoughts (be gentle, I'm new to awk).



Here is an improved/spoiled (decide by yourself) version. 


Improved.


I aimed to
sport a more orthogonal design and avoid some gotchas I run into (see
comments in awk code).


#! /bin/sh

# Script to determine the differences between what is necessary for
# a port, and what is already present on the local machine.

awkprgt='{
count = 0
pkgs = 
for(i=5; i=NF-2; i++) {
  pkg = $i

  # the if is here to hack it around when you get:
  # This port requires package(s)  to build.


I never ran into this case.


  if (pkg != \\) {
if (index(pkg, \) == 1)
  {pkg = substr(pkg, 2, length(pkg)-1)}
if (index(pkg, \)  1)
  {pkg = substr(pkg, 1, length(pkg)-1)}
  
if ( system(pkg_info -e  pkg) == 1) {

  pkgs = pkgs   pkg
  count++
}
  }
}

if ( count ) {
  print You need the following (%s) perequisites:
  print pkgs
}
else {
  print All (%s) prerequisites are present.
}

  }


I did see this on a few ports... but decided to handle it in the same 
fashion as `make pretty-print*`, for better or worse.  My initial 
response was to do as you did (and I believe that IS the right thing)... 
but I fell back to what the make target did.  But I prefer your soln.



  END {
# triggered, eg., by audio/artswrapper (on my box, at least)
if( ! FNR) {
  print Bogus (empty) %s dependency information
}
  }
'

awkit() {
# Resolve %s-s via sed is a blunt hack
# but good enough here and thus we don't have
# to care about the number of occurrences
awk `echo $awkprgt | sed s/%s/$1/g`
}


make pretty-print-build-depends-list | awkit build

make pretty-print-run-depends-list | awkit run


Alas... while I was making these changes, I succeeded to recall why I
abandoned my earlier attempt to put together a script which fulfils this
(highly desired) functionality.


I highly desire this too... but my initial post (some months ago) 
received less attention than I expected.  I find this functionality very 
useful, and was surprised solution didn't already exist.




Because all such scripts are fundamentally broken.

When make decides which ports to pull in, it doesn't only use the flat
data of build and run dependencies, but uses its full Turing complete
computing power. Eg., what happens when a port needs a postscript
interpreter? 


Then do the pretty-print(s) not provide the useful information they 
appear to?  I mean, If the above were true then they would have no 
value... and should go away.  Or do they provide true but incomplete 
information?



Should it use the AFPL or the GNU edition as a dependency?
Of course, doing a favor toward one of them (and taking away user's
choice) is unacceptable. So what happens is that make directly checks
whether the gs executable is present.

See, for example, print/gv. Your script's output will include
ghostscript-gnu-7.07_13 both as a build and a run dependency.
Yet when I type make, my ghostscript-gnu-7.07_12 installation will
be happily utilized as the following output snippet shows:


Is this not acceptable behavior since it is just a port revision? 
Shouldn't the revision be compatible in every way with the vendor's release?




= Checksum OK for gv-3.6.1.tar.gz.
===  Patching for gv-3.6.1
===  Applying FreeBSD patches for gv-3.6.1
===   gv-3.6.1 depends on executable: gmake - found
===   gv-3.6.1 depends on executable: gs - found
===   gv-3.6.1 depends on shared library: Xaw3d - found
===   gv-3.6.1 depends on shared library: X11.6 - found
===  Configuring for gv-3.6.1

The approach taken by FreeBSD's ports is to have more flexibility but
less predictability, and now we have to live with it. Maybe the Gentoo
guys are the ones who succeeded to find the proper balance between these
two quantities -- they made up a mini-markup-language for denoting
dependencies, which is clever enough to cover all cases but it's still
just an easy to parse flat data.

One solution for FreeBSD could be 

about linux emulation

2005-10-04 Thread Antoine Solomon
Is it possible to chroot into a fully functional linux environment on
freebsd?

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


Mainboard and CPU supported by FreeBSD?

2005-10-04 Thread Andreas Wideroe Andersen

Hi,
I'm about to spec a new server and I need some help.

Anyone knows if this mainboard is supported by FreeBSD 5.4?
http://www.intel.com/design/servers/boards/se7230nh1-e/index.htm

And also if this processor is supported (The FAQ 
says it supports most Pentium types, but this is 
rather new so I figured somebody might have tried it already):

Intel CPU Pentium D 820 Dual Core 2.8GHz 800MHz 2x1M BOXED Smithfield

Thanks,
Andreas




---
Norsk Smalfilm AS
Andreas Widerøe Andersen [EMAIL PROTECTED]
http://www.smalfilm.no

Filmshooting | Com - http://www.filmshooting.com

Tel:(+47) 38 17 99 16
Fax:(+47) 38 02 33 84 


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


Re: Firefox won't stay as default browser ...

2005-10-04 Thread Danny Howard
On Tue, Sep 27, 2005 at 01:04:09PM -0700, Garrett Cooper wrote:
 Kiffin Gish wrote:
 
 Every time I fire up firefox it claims it is not the default browser. 
 If I click on yes to make it the default browser or go into Prferences 
 | General and hit the Default Browser [Check Now]-button and/or I 
 restart firefox, I still get the message that it is NOT the default 
 browser.
 Nothing I do helps -- what got stuch?!
 
What desktop environment/window manager are you using?

I use fvwm2.

It is seriously obnoxious.

But I see another posted a thing to turn the checking bit off, so I'll
do that. :)

Silly Mozilla ...

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


twa kernel panic under heavy load

2005-10-04 Thread Dan Rue
Greetings,

I am running a 3ware 9500 SATA raid card in a 12x300GB raid 50
configuration.  Too often, I am seeing reboots during high I/O (rsync)
operations.  

[EMAIL PROTECTED]:~$ uname -a
FreeBSD leopard.claimlynx.com 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Thu
Jun 30 02:25:52 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386


This is logged in /var/log/messages just before the reboot: 
Oct  1 23:15:49 leopard kernel: twa0: Missing expected status bit(s) 
2000MC_RDY
Oct  1 23:15:49 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001)
Oct  1 23:15:49 leopard last message repeated 239 times
Oct  1 23:15:50 leopard kernel: a: ERROR: (0x03: 0x0001)
Oct  1 23:15:50 leopard kernel: twa0: SCSI cmd = 0x2a: ERROR: (0x03:0x0001)


Here is dmesg identifying the controller: 
3ware device driver for 9000 series storage controllers, version: 2.50.02.012
twa0: 3ware 9000 series Storage Controller port 0xb800-0xb8ff mem 
0xfb80-0xfbff,0xfc5ffc00-0xfc5ffcff irq 24 at device 2.0 on pci2
twa0: 12 ports, Firmware FE9X 2.06.00.009, BIOS BE9X 2.03.01.051


Is this somethign that has been worked on in 5-STABLE or 6?  Would
a kernel dump be helpful?  Please aim me at the appropriate list or
people that would know.

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


Mutt weirdness

2005-10-04 Thread Bob Hall
I did portupgrade -ar last night. When I tried to use mutt this 
morning, it was behaving weirdly. Mutt wasn't one of the upgrades.


Anything involving the display at the bottom of the mutt screen doesn't 
work. If I type c to change the mailbox, nothing happens. If I type 
d, I can mark a mail for deletion, but I can't quit mutt because 
quitting requires a message at the bottom of the screen asking if I want 
to delete the messages marked for deletion. Typing y has no effect. I 
have to unmark the mail in order to quit.


I'm using 5.2.1. A list of the updated ports follows. I have no idea 
which one's may be causing the problem.


XFree86-Server-4.5.0_1needs updating (port has 4.5.0_3)
docbook-xsl-1.68.1needs updating (port has 1.69.1)
gd-2.0.33_1,1 needs updating (port has 2.0.33_2,1)
gtk-2.6.8 needs updating (port has 2.6.10_1)
libwmf-0.2.8.3needs updating (port has 0.2.8.4)
libxml2-2.6.21needs updating (port has 2.6.22)
netpbm-10.26.14   needs updating (port has 10.26.16)
openssl-0.9.7gneeds updating (port has 0.9.8)
p5-Compress-Zlib-1.37 needs updating (port has 1.39)
p5-Digest-1.10needs updating (port has 1.12)
p5-MIME-Tools-5.417,2 needs updating (port has 5.418,2)
p5-Scalar-List-Utils-1.14,1needs updating (port has 1.17,1)
p5-Test-Simple-0.60   needs updating (port has 0.61)
p5-Time-HiRes-1.72,1  needs updating (port has 1.74,1)
pure-ftpd-1.0.20_3needs updating (port has 1.0.20_4)
t1lib-5.0.1,1 needs updating (port has 5.1.0,1)
tiff-3.7.3needs updating (port has 3.7.4)
tightvnc-1.2.9needs updating (port has 1.2.9_1)
unzip-5.52_1  needs updating (port has 5.52_2)
xterm-204 needs updating (port has 205_1)

I've tried googling for mutt and bottom of screen, which is all I 
can think of, but no luck.


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


Re: Mutt weirdness

2005-10-04 Thread Danny Howard
On Tue, Oct 04, 2005 at 06:15:14PM -0400, Bob Hall wrote:
 I did portupgrade -ar last night. When I tried to use mutt this 
 morning, it was behaving weirdly. Mutt wasn't one of the upgrades.

I'm pretty sure this command isn't recursive:

0-15:47 [EMAIL PROTECTED] /usr/ports/mail/mutt make run-depends-list
/usr/ports/converters/libiconv
/usr/ports/devel/gettext
/usr/ports/misc/mime-support
/usr/ports/security/openssl

 XFree86-Server-4.5.0_1needs updating (port has 4.5.0_3)
 docbook-xsl-1.68.1needs updating (port has 1.69.1)
 gd-2.0.33_1,1 needs updating (port has 2.0.33_2,1)
 gtk-2.6.8 needs updating (port has 2.6.10_1)
 libwmf-0.2.8.3needs updating (port has 0.2.8.4)
 libxml2-2.6.21needs updating (port has 2.6.22)
 netpbm-10.26.14   needs updating (port has 10.26.16)
 openssl-0.9.7gneeds updating (port has 0.9.8)
 p5-Compress-Zlib-1.37 needs updating (port has 1.39)
 p5-Digest-1.10needs updating (port has 1.12)
 p5-MIME-Tools-5.417,2 needs updating (port has 5.418,2)
 p5-Scalar-List-Utils-1.14,1needs updating (port has 1.17,1)
 p5-Test-Simple-0.60   needs updating (port has 0.61)
 p5-Time-HiRes-1.72,1  needs updating (port has 1.74,1)
 pure-ftpd-1.0.20_3needs updating (port has 1.0.20_4)
 t1lib-5.0.1,1 needs updating (port has 5.1.0,1)
 tiff-3.7.3needs updating (port has 3.7.4)
 tightvnc-1.2.9needs updating (port has 1.2.9_1)
 unzip-5.52_1  needs updating (port has 5.52_2)
 xterm-204 needs updating (port has 205_1)

OpenSSL?

ARE YOU RUNNING IN AN XTERM?  It may be that the newer xterm has some
weird curses intereaction ... last week or so I hit a situation where if
I change font size in xterm, the window resizes, and if I drag to resize
the window, the geometry is in pixels instead of characters.  Huh?  This
vintag of xterm sucks rocks, and I wouldn't be surprised if it was
plaguing your mutt as well. ;)

-danny

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


Re: music on FreeBSD

2005-10-04 Thread Danny Pansters
On Tuesday 4 October 2005 15:13, Subhro wrote:
 Escape Velocity sat at his 'puter and typed on 10/4/2005 19:47:
  Yes, I understand it would be free and I am willing to abide by the
  BSD License - this song would be released under the Creative Commons
  license (http://creativecommons.org/licenses/by-nc-sa/2.5/). Let me
  know what I should do next.

 ]That's great. However I feel there is a small glitch. As per
 http://creativecommons.org/licenses/by-nc-sa/2.5/, the work can not be
 used for Commercial Purposses. However as per the BSD license you CAN
 use BSD License protected softwares for commercial purposes but you wont
 be allowed to call it a BSD Protected software any more.

 Thanks
 S.

[EMAIL PROTECTED]: do CC the list please

Do you think everything distributed with FreeBSD is BSDL, Subhro? It's not. 
CCL is fine for contributed docs and artwork. Everyone seems to do it. 
There's no license issue.

But the question is, do the people who decide what goes in the distribution 
(on the CDs so to speak) want such a thing. I'm not one of them, but I think 
it's not a bad idea to have some media for testing and promotional purposes. 

I'm not sure who he should ask if they want that; releng@ ?

On installation CDs space is always tight though, and you probably don't want 
something like this to go stale for months on end. Before you'd know it there 
may be so many people offering media that after CD space, bandwidth may 
become an issue. A contrib-media port or something alike with RESTRICTED set 
is something that could be made by anyone at anytime of course.

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


problem with ssh connetions in jail

2005-10-04 Thread Tyler T
hi people first sorry for my english.

i have a pc with only one etternet card connected to a router
(172.16.0.1) which provide both internet connection and dhcp service,
in this machine i have configured a jail virtual server, the ip of the
real server is 172.16.1.36/16 and i have made a ip alias for the jail
virtual server which is 172.16.1.100/32, i want that the virtual
server respond all incoming connections from internet, i have
configured natd with next option in /etc/rc.natd:

redirect_port  tcp  172.16.1.100:22   22


in /etc/firewall.rules:

add divert natd all from any to any via rl0


in /etc/rc.conf:

natd_enable=YES
natd_interface=rl0
natd_flags=-l -f /etc/rc.natd

firewall_enable=YES
firewall_type=/etc/firewall.rules
firewall_script=/etc/rc.firewall

in the sshd of jail:

KeepAlive yes
UseDNS no

my firewall is IPFW2, the configuration works well however often the
conections is reset, i don't know what happen

a scheme of my lan:

 172.16.0.1/16
real ip  172.16.1.36/16

INTERNET--modem/router-  PC with run jail

  
 alias ip  172.16.1.100/32


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


Re: Mutt weirdness

2005-10-04 Thread Giorgos Keramidas
On 2005-10-04 18:15, Bob Hall [EMAIL PROTECTED] wrote:
 I did portupgrade -ar last night. When I tried to use mutt this
 morning, it was behaving weirdly. Mutt wasn't one of the upgrades.

Is your new mutt binary linked to libslang?  You can check with ldd:

$ ldd `which mutt` | grep -i slang
$

I've seen some pretty silly effects whenever my mutt port was installed
WITH_SLANG=yes.  Now my pkgtools.conf file includes (among other
things):

MAKE_ARGS = {
  'mail/mutt-devel*' = [
  'WITH_MUTT_NCURSES=YES',
  'WITHOUT_MUTT_HTML=YES',
  'WITHOUT_MUTT_SGMLFORMAT=YES',
  ],
}
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
On Wednesday 05 October 2005 00:44, Brian John wrote:
 I think I'm having a similar problem with totem (which uses xine) and vlc.
  Can you try installing /usr/ports/multimedia/vlc and see what that does?
 If that gives a bus error as well then I think we might have the same
 issue.  I haven't been able to find a solution to this yet...

 /Brian

Yep, vlc gives a bus error too. Looks like we have the same problem!

Cheers,
Ian


 - Original Message -

  Hi,
  I went to play a video file today amp; with kaffeine and it crashed

 when trying

  to open the file. I decided to do a portupgrade -fR kaffeine\* to

 rebuild it

  and it's dependencies in the hope that would fix the problem, but it

 made no

  difference.
  Then I tried running xine by itself and found it gave a bus error and
  core dumped every time I tried to start it (not opening a file or
  anything). The splash screen appears, then the GUI, then both close and
  in the xterm I

 start

  it from, I just bus error.
 
  I've tried doing a portupgrade -f xine just in case, though it should
  have been re-built along with kaffeine. None of the above seems to fix
  the problem.
  I'm running FBSD 5.4-RELEASE p6 and my ports tree was updated last

 night. Port

  versions are:
  kaffeine-0.7.1
  xine-0.99.4
 
   Xine/Kaffeine used to work, evidently a recent portupgrade has broken
  it, though I'm not sure exactly when it last worked.
 
  Just hoping someone can suggest a fix!
 
  Cheers,
  --
  Ian

gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgp9bCoo38VFU.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread David Kirchner
On 10/4/05, Ian Moore [EMAIL PROTECTED] wrote:
 On Wednesday 05 October 2005 00:44, Brian John wrote:
  I think I'm having a similar problem with totem (which uses xine) and vlc.
   Can you try installing /usr/ports/multimedia/vlc and see what that does?
  If that gives a bus error as well then I think we might have the same
  issue.  I haven't been able to find a solution to this yet...
 
  /Brian

 Yep, vlc gives a bus error too. Looks like we have the same problem!

 Cheers,
 Ian

I've found that installing from ports doesn't always (ever? I'm not
sure) upgrade the dependencies. Could it be a common shared library
used by the three programs?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Samba and/or cups problem with printing

2005-10-04 Thread Nicolas Blais
Hi,

(Please excuse my overly complicated message)

I just bought a usb laser printer (Lexmark E232). After some hours of digging, 
I ended up having it working with cups+foomatic under a Laserjet 4 driver in 
FreeBSD. It works fine.

But, to further complicate things, I wanted my printer to be accessible by XP 
users on the same workgroup so I added a share in samba :

[printers]
path = /var/spool/samba
use client driver = Yes
printable = yes
public = yes
guest ok = yes
writable = no

As user Alpha
I can see my share from XP so I tried to print a test page. Windows asks me 
for the drivers, which I provide and my test page prints about 5-6 minutes 
later and most complicated documents don't print.
Then I log in as user Beta and he sees the printer, can print instantly and 
everything is fine. Yet user Alpha takes hours to print.

So I figured, let's make a second printer in cups to the same physical printer 
and install the same drivers in XP, but this time in user Beta. Not 
surprisingly, that new printer in user Beta takes infinitly long to print 
but now user Alpha can print instantly using that printer.

Can anyone guess why or how to fix this behavior?

Thanks!
Nicolas.

--
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpFw3yKLlHaY.pgp
Description: PGP signature


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Parv
in message
[EMAIL PROTECTED]
, wrote Brian John thusly...

 I just got a 128MB USB flash drive.  When I plug it in in FreeBSD,
 the box promptly reboots!  What would cause this?

I don't know the cause.

Have you tried booting FreeBSD from power-off state w/ the flash
drive already inserted?  That may solve your booting problem, but
will not make use of the drive any easier.

Which version if FreeBSD are you using?  Which of the [ueo]hci
drivers come up in dmesg(8) on instertion of the USB drive?


  - Parv

-- 

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


sysinstall MEDIA_TIMEOUT pretty high

2005-10-04 Thread David Kirchner
MEDIA_TIMEOUT is used to determine how long it will wait between
retrying a DNS lookup.

Would there be any objection to modifying the defaults sysinstall to
lower its default MEDIA_TIMEOUT from 300 seconds to something more
like 10, and then increasing the retry count from 2 to 30? The net
result should be that it would wait just as long (5 minutes) before
accepting a total failure, but it should retry often enough that two
transient failures (for whatever reason they may occur) won't cause
the installation to fail entirely, and it could help make sysinstall
just slightly more user-friendly.

(This is particularly an issue because if it cannot look up the
hostname, sysinstall will allow you to try to restart the process, but
it will then try to install the OS on the ramdisk, or do other broken
things: bin/42162 from 2002)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which MySQL version best to use and with/without linux threads?

2005-10-04 Thread Peter Wemm
On Friday 30 September 2005 06:22 am, Olaf Greve wrote:

 Then, I'm currently configuring a second beast, ee, server. :)
 Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it,
 I instinctively installed the latest MySQL 4.0.x version (being
 4.0.26) and it works flawlessly with the data from my current
 production machine.

The only problem is that linuxthreads doesn't exist on FreeBSD/amd64. 
You have to use one of the native thread libraries.

Your choices on 5.4 are not that great.  I'd suggest libthr on 6.0 as 
the closest match to linuxthreads, but I don't recall if it is 
available on 5.4.  I have a feeling it isn't.  I have a feeling your 
choices are libc_r or libpthread (kse).  libpthread should smoke libc_r 
for disk IO performance in general.  But modern libthr (on 6.0+) should 
give it a serious run for its money.

-- 
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Brian John

Parv wrote:


in message
[EMAIL PROTECTED]
 


, wrote Brian John thusly...

I just got a 128MB USB flash drive.  When I plug it in in FreeBSD,
the box promptly reboots!  What would cause this?
   



I don't know the cause.

Have you tried booting FreeBSD from power-off state w/ the flash
drive already inserted?  That may solve your booting problem, but
will not make use of the drive any easier.

Which version if FreeBSD are you using?  Which of the [ueo]hci
drivers come up in dmesg(8) on instertion of the USB drive?


 - Parv

 

Ok, I tried booting up with the drive installed.  If I leave it 
installed while it is booting up, it eventually reboots.  However, I was 
able to unplug it during boot and look at dmesg.  It says this over and 
over again:


umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi 
status == 0x0

umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: at uhub2 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
Opened disk da0 - 5
umass0: detached

I am running FreeBSD 5.4.  Does this shed some light on the problem?

Thanks

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


Re: Which MySQL version best to use and with/without linux threads?

2005-10-04 Thread Emanuel Strobl
Am Mittwoch, 5. Oktober 2005 02:17 CEST schrieb Peter Wemm:
 On Friday 30 September 2005 06:22 am, Olaf Greve wrote:
  Then, I'm currently configuring a second beast, ee, server. :)
  Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it,
  I instinctively installed the latest MySQL 4.0.x version (being
  4.0.26) and it works flawlessly with the data from my current
  production machine.

 The only problem is that linuxthreads doesn't exist on FreeBSD/amd64.
 You have to use one of the native thread libraries.

 Your choices on 5.4 are not that great.  I'd suggest libthr on 6.0 as
 the closest match to linuxthreads, but I don't recall if it is
 available on 5.4.  I have a feeling it isn't.  I have a feeling your
 choices are libc_r or libpthread (kse).  libpthread should smoke libc_r

Smoke of brakes or smoke of the engine?

 for disk IO performance in general.  But modern libthr (on 6.0+) should
 give it a serious run for its money.

Please! Not all readers are native enlish speaking, it sounds nice but it 
doesn't help clarifying anything. I guess libthr is the favourite choice 
but I only guess since I never heard of smoking thread libraries nor of 
run for money. I'm suffering from the list's english enough, please 
don't use phrases... :)

-Harry


pgpKhyC6zqo90.pgp
Description: PGP signature


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John

David Kirchner wrote:


On 10/4/05, Ian Moore [EMAIL PROTECTED] wrote:
 


On Wednesday 05 October 2005 00:44, Brian John wrote:
   


I think I'm having a similar problem with totem (which uses xine) and vlc.
Can you try installing /usr/ports/multimedia/vlc and see what that does?
If that gives a bus error as well then I think we might have the same
issue.  I haven't been able to find a solution to this yet...

/Brian
 


Yep, vlc gives a bus error too. Looks like we have the same problem!

Cheers,
Ian
   



I've found that installing from ports doesn't always (ever? I'm not
sure) upgrade the dependencies. Could it be a common shared library
used by the three programs?

 

It probably is.  However, I'm not sure how to go about figuring out 
which one of these dependencies it is, let alone how to fix it.  Could 
you help us troubleshoot this?  BTW, I used portmanager to upgrade my ports.


Thanks

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


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Parv
in message [EMAIL PROTECTED],
wrote Brian John thusly...

 Ok, I tried booting up with the drive installed.  If I leave it
 installed while it is booting up, it eventually reboots.

Sorry about that that did not help.  :(


 However, I was able to unplug it during boot and look at dmesg.
 It says this over and over again:
 
 umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
 da0: 1.000MB/s transfers
 da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C)
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status 
 == 0x0
...
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 umass0: at uhub2 port 1 (addr 2) disconnected
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 Opened disk da0 - 5
 umass0: detached
 
 I am running FreeBSD 5.4.  Does this shed some light on the problem?

I personally can't say; i requested the above information so that
others may be able to help you.


  - Parv

-- 

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


Is it possible to mount MSDOS partitions on the 5.4 fixit floppy?

2005-10-04 Thread Tom Norris
I need to mount a msdos partition on from is FreeBSD 5.4 fixit 
floppy(this machine doesn't have a CD Drive :\), but when I run the command:

mount -t msdos /dev/da0 /mnt/usb-msd
I get:
mount: exec mount_msdos not found in /sbin:/usr/sbin: No such file or 
directory.


Where could I go to get this binary?
Could I pull it off of another FreeBSD machine I have kicking around or 
will the machine running fixit get angry at me?


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


Looking for other UNIONFS users ...

2005-10-04 Thread Marc G. Fournier


As some of you may know, FreeBSD 6.x's UNIONFS is *seriously* broken due 
to some major changes to the VFS required for SMP (all good advances, but 
for those of us using UNIONFS, we're kinda stuck) ...


I've been talking to one developer that would be interested in fixing 
UNIONFS, but do to the # of bugs that existed *before* the VFS changes, 
the fix is going to involve a complete re-write, instead of just adding 
more bandaids and patches.


So, my first question is how many ppl are out there that are using UNIONFS 
and would be interested in co-funding a rewrite of it so that its fixed 
once and for all?




Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email: [EMAIL PROTECTED]   Yahoo!: yscrappy  ICQ: 7615664
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Lowell Gilbert
Brian John [EMAIL PROTECTED] writes:

 Parv wrote:
 
 in message
 [EMAIL PROTECTED]
 
 , wrote Brian John thusly...
 
 I just got a 128MB USB flash drive.  When I plug it in in FreeBSD,
 the box promptly reboots!  What would cause this?
 
 
 I don't know the cause.
 
 Have you tried booting FreeBSD from power-off state w/ the flash
 drive already inserted?  That may solve your booting problem, but
 will not make use of the drive any easier.
 
 Which version if FreeBSD are you using?  Which of the [ueo]hci
 drivers come up in dmesg(8) on instertion of the USB drive?
 
 
   - Parv
 
 
 Ok, I tried booting up with the drive installed.  If I leave it
 installed while it is booting up, it eventually reboots.  However, I
 was able to unplug it during boot and look at dmesg.  It says this
 over and over again:
 
 umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
 da0 at umass-sim0 bus 0 target 0 lun 0
 da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
 da0: 1.000MB/s transfers
 da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C)
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
 status == 0x0
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 umass0: BBB reset failed, STALLED
 umass0: BBB bulk-in clear stall failed, STALLED
 umass0: BBB bulk-out clear stall failed, STALLED
 umass0: at uhub2 port 1 (addr 2) disconnected
 (da0:umass-sim0:0:0:0): lost device
 (da0:umass-sim0:0:0:0): removing device entry
 Opened disk da0 - 5
 umass0: detached
 
 I am running FreeBSD 5.4.  Does this shed some light on the problem?

Only a little.  Do you have udbp(4) in your kernel?  
Can you try booting 6.0 with the flash unit plugged in and see if it
still has problems?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: chflags uid 0 exited on signal 12 (core dump) Bad system call

2005-10-04 Thread pirat sriyotha
Quoting Kris Kennaway [EMAIL PROTECTED]:

 On Mon, Oct 03, 2005 at 01:55:22PM +0700, pirat sriyotha wrote:
  hi sirs,
 
  i am upgrading my other machine from 4.9 to 4.11
  and it produced the above message during make installkernel.
 
  so what is the solution to this error ?  it appears to many places
 unexpectedly.
   and when i reboot once again, still 4.9, i get that same error message
  hightlighted durinh the boot sequences before login: prompt.
 
  thanks in advance for any helps and hints to this problem.  and please cc
 to me
  since i do not subscribe to this mailing list.

 I'm guessing you really updated your machine to 5.x or later by
 mistake (e.g. used the wrong cvsupfile), and you have also tried to
 installworld before installkernel, which is an incorrect way to do the
 update anyway.

thanks to all.
you are right kris, i did what you expected.  worse was that any command
produced core dump in single user mode.
the last one was sh exited on signal 12 (cored dump)
i simply responded with install 5.4 to that machine anew.
i took 25 hours 50 minutes in building world and now begin buildkernel.
that is a very old 90MHz machine from bb though.

anyway, thanks so much for all of your response and your times.


 Kris




--


with best regards,
psr

http://www.thai-aec.org/forum


This message was sent using Inet-Webmail.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: Re: music on FreeBSD

2005-10-04 Thread Danny Pansters
Please CC the mailing list whenever replying, otherwise no one else sees your 
replies. The idea is that other people may have ideas and that that gets you 
further to an answer or perhaps an alternative.


--  Forwarded Message  --

Subject: Re: music on FreeBSD
Date: Tuesday 4 October 2005 23:58
From: Escape Velocity [EMAIL PROTECTED]
To: Danny Pansters [EMAIL PROTECTED]

Thanks for the input, Dan. You understand exactly what I'm trying to do. The
question is... who do I speak with about getting some of our music included
for free distribution with the FreeBSD package? Any information would be
great!

Thanks,
Michael

On 10/4/05, Danny Pansters [EMAIL PROTECTED] wrote:
 On Tuesday 4 October 2005 15:13, Subhro wrote:
  Escape Velocity sat at his 'puter and typed on 10/4/2005 19:47:
   Yes, I understand it would be free and I am willing to abide by the
   BSD License - this song would be released under the Creative Commons
   license (http://creativecommons.org/licenses/by-nc-sa/2.5/). Let me
   know what I should do next.
 
  ]That's great. However I feel there is a small glitch. As per
  http://creativecommons.org/licenses/by-nc-sa/2.5/, the work can not be
  used for Commercial Purposses. However as per the BSD license you CAN
  use BSD License protected softwares for commercial purposes but you wont
  be allowed to call it a BSD Protected software any more.
 
  Thanks
  S.

 [EMAIL PROTECTED]: do CC the list please

 Do you think everything distributed with FreeBSD is BSDL, Subhro? It's
 not.
 CCL is fine for contributed docs and artwork. Everyone seems to do it.
 There's no license issue.

 But the question is, do the people who decide what goes in the
 distribution
 (on the CDs so to speak) want such a thing. I'm not one of them, but I
 think
 it's not a bad idea to have some media for testing and promotional
 purposes.

 I'm not sure who he should ask if they want that; releng@ ?

 On installation CDs space is always tight though, and you probably don't
 want
 something like this to go stale for months on end. Before you'd know it
 there
 may be so many people offering media that after CD space, bandwidth may
 become an issue. A contrib-media port or something alike with RESTRICTED
 set
 is something that could be made by anyone at anytime of course.

 Dan

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


Re: Mutt weirdness

2005-10-04 Thread Bob Hall
On Tue, Oct 04, 2005 at 03:51:26PM -0700, Danny Howard wrote:
 On Tue, Oct 04, 2005 at 06:15:14PM -0400, Bob Hall wrote:
  I did portupgrade -ar last night. When I tried to use mutt this 
  morning, it was behaving weirdly. Mutt wasn't one of the upgrades.
 
 I'm pretty sure this command isn't recursive:
 
 0-15:47 [EMAIL PROTECTED] /usr/ports/mail/mutt make run-depends-list
 /usr/ports/converters/libiconv
 /usr/ports/devel/gettext
 /usr/ports/misc/mime-support
 /usr/ports/security/openssl

Thanks. The run-depends-list was the clue I needed. I added that to my
clue notebook. Downgraded openssl and all is well.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Which MySQL version best to use and with/without linux thread s?

2005-10-04 Thread Nick Evans


 -Original Message-
 From: Peter Wemm [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 04, 2005 8:17 PM
 To: [EMAIL PROTECTED]
 Cc: Olaf Greve; [EMAIL PROTECTED]; freebsd-questions@freebsd.org
 Subject: Re: Which MySQL version best to use and with/without linux
 threads?
 
 
 On Friday 30 September 2005 06:22 am, Olaf Greve wrote:
 
 Then, I'm currently configuring a second beast, ee, server. :)
 Being an AMD-64 19 server, running FreeBSD 5.4-Release AMD64. On it,
 I instinctively installed the latest MySQL 4.0.x version (being
 4.0.26) and it works flawlessly with the data from my current
 production machine.
 
 The only problem is that linuxthreads doesn't exist on FreeBSD/amd64. 
 You have to use one of the native thread libraries.
 
 Your choices on 5.4 are not that great.  I'd suggest libthr on 6.0 as 
 the closest match to linuxthreads, but I don't recall if it is 
 available on 5.4.  I have a feeling it isn't.  I have a feeling your 
 choices are libc_r or libpthread (kse).  libpthread should smoke libc_r 
 for disk IO performance in general.  But modern libthr (on 6.0+) should 
 give it a serious run for its money.
 
 -- 
 Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 All of this is for nothing if we don't go to the stars - JMS/B5
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
[EMAIL PROTECTED]


I've been benchmarking this on a dual opteron 246 server. mysql 4.1.x and
libthr worked on 5.4, but 6.0 was faster and libthr was definitely faster
than pthreads. There's a thread about this on [EMAIL PROTECTED]

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


Re: music on FreeBSD

2005-10-04 Thread Gary W. Swearingen
Danny Pansters [EMAIL PROTECTED] writes:

 CCL is fine for contributed docs and artwork. Everyone seems to do it. 
 There's no license issue.

At least one CCL allows no derivation under any terms, which would at
least raise an issue, I'd hope.  I'm not aware of any CCLs in FreeBSD
other than the two GNU licenses (but I haven't looked for others).

 I'm not sure who he should ask if they want that; releng@ ?

From
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/pref-license.html

The FreeBSD project discourages completely new licenses and
variations on the standard licenses. New licenses require the
approval of [EMAIL PROTECTED] to reside in the main
repository. The more different licenses that are used in the tree,
the more problems that this causes to those wishing to utilize
this code, typically from unintended consequences from a poorly
worded license.

I doubt if no-commercial-use licenses would be approved for use in the
base OS, because of the previously-mentioned sale of CDROMs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Which MySQL version best to use and with/without linux threads?

2005-10-04 Thread Greg 'groggy' Lehey
On Monday,  3 October 2005 at 10:37:21 -0800, Peter A. Giessel wrote:
 On 10/3/2005 09:41, Jared Kuolt seems to have typed:
 There really isn't any reason not to
 anymore since everything is backwards compatible.

 I've found that Dovecot 1.0a3 has a problem with 4.1.x,

Can you give more details?

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpXsOJgCGkzN.pgp
Description: PGP signature


Re: Fwd: Re: music on FreeBSD

2005-10-04 Thread Gary W. Swearingen
I've had a few more thoughts on the matter.

If core wants the music and the only question is licensing, maybe
core and you could agree on a custom license which allows anyone to
copy it unmodified (which must include being copied as a single file
from any web site) or including it unmodified in a compilation or
other derivative work (eg, FreeBSD), but not if that work consists
predominately of music.  It would be easier if you could just allow
all uses in unmodified form (I think there's such a CCL), and better
if you could allow generic translations of digital format.

OTOH, I'm guessing core could find someone to donate some music under
a BSD-type license, without a lot of effort.  Or get some
non-proprietary music off an out-of-copyright record or movie which is
probably on the web somewhere already.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Password

2005-10-04 Thread sulie halim
Hi there,

i am new to freebsd, and now working as an
administrator of my college system, which using
freebsd. my question is, if i have 50 users in the
systems, how can i view all their usernames and
passwords? this because i always have problems of them
forgot thier passwords, and they can't log in to the
systems. until now, what i did was, delete their
usernames, and create new ones because i didn't know
what their passwords either. so any other alternative?

help me. Thanks.



__ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 5.4 reboots when I plug in a flash drive?

2005-10-04 Thread Brian John

Lowell Gilbert wrote:


Brian John [EMAIL PROTECTED] writes:

 


Parv wrote:

   


in message
[EMAIL PROTECTED]

 


, wrote Brian John thusly...

I just got a 128MB USB flash drive.  When I plug it in in FreeBSD,
the box promptly reboots!  What would cause this?

   


I don't know the cause.

Have you tried booting FreeBSD from power-off state w/ the flash
drive already inserted?  That may solve your booting problem, but
will not make use of the drive any easier.

Which version if FreeBSD are you using?  Which of the [ueo]hci
drivers come up in dmesg(8) on instertion of the USB drive?


- Parv


 


Ok, I tried booting up with the drive installed.  If I leave it
installed while it is booting up, it eventually reboots.  However, I
was able to unplug it during boot and look at dmesg.  It says this
over and over again:

umass0: vendor 0x10d6 USB 2.0(FS) FLASH DISK, rev 1.10/1.00, addr 2
da0 at umass-sim0 bus 0 target 0 lun 0
da0: USB2.0 (FS) FLASH DISK 1.00 Removable Direct Access SCSI-0 device
da0: 1.000MB/s transfers
da0: 119MB (245473 512 byte sectors: 64H 32S/T 119C)
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
(da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi
status == 0x0
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: BBB reset failed, STALLED
umass0: BBB bulk-in clear stall failed, STALLED
umass0: BBB bulk-out clear stall failed, STALLED
umass0: at uhub2 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry
Opened disk da0 - 5
umass0: detached

I am running FreeBSD 5.4.  Does this shed some light on the problem?
   



Only a little.  Do you have udbp(4) in your kernel?  
Can you try booting 6.0 with the flash unit plugged in and see if it

still has problems?

 

I could try it, but I don't want to have to roll 6.0 back to 5.4 
afterward if it doesn't work.  Upgrading to 6.0 is a major change and I 
only have 1 PC.  I am still kind of a novice, how easy is it to upgrade 
to 6.0 and how stable is it?  I see that I have the line with udbp 
commented out in my kernel config.  Should I rebuild with it uncommented?


#device udbp# USB Double Bulk Pipe devices

Thanks

/Brian

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


Re: Password

2005-10-04 Thread Tom Norris

sulie halim wrote:

systems, how can i view all their usernames and
passwords? 



You can't.  FreeBSD uses a one way hash to encode the passwords.  If you 
 are the administrator you can change the password though:


#passwd user-that-forgot-their-password
New password: you type in their new password, it won't show up as * or 
anything like that

New password again: type in what you typed above

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


Re: Password

2005-10-04 Thread Nicolas Blais
On October 4, 2005 09:36 pm, sulie halim wrote:
 Hi there,

 i am new to freebsd, and now working as an
 administrator of my college system, which using
 freebsd. my question is, if i have 50 users in the
 systems, how can i view all their usernames and
 passwords? this because i always have problems of them
 forgot thier passwords, and they can't log in to the
 systems. until now, what i did was, delete their
 usernames, and create new ones because i didn't know
 what their passwords either. so any other alternative?

 help me. Thanks.


You can't view their passwords unless you (or they) saved them in a database 
(which you (they) should really NOT). 

To change a user's passwod without making a new account, use the 'passwd' 
command as root:

[nicblais] ~ su
Password:
[root] /home/nicblais# passwd freakuser
Changing local password for freakuser
New Password:
Retype New Password:

Nicolas.

-- 
FreeBSD 7.0-CURRENT #0: Sat Oct  1 11:51:38 EDT 2005 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CLK01A 
PGP? : http://www.clkroot.net/security/nb_root.asc


pgpG8D3iPuFlv.pgp
Description: PGP signature


Re: Password

2005-10-04 Thread pete wright
On 10/4/05, sulie halim [EMAIL PROTECTED] wrote:

 Hi there,

 i am new to freebsd, and now working as an
 administrator of my college system, which using
 freebsd. my question is, if i have 50 users in the
 systems, how can i view all their usernames and
 passwords? this because i always have problems of them
 forgot thier passwords, and they can't log in to the
 systems. until now, what i did was, delete their
 usernames, and create new ones because i didn't know
 what their passwords either. so any other alternative?

 help me. Thanks.


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

specifically:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users.html

-pete




--
~~o0OO0o~~
Pete Wright
www.nycbug.org http://www.nycbug.org
NYC's *BSD User Group
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread David Kirchner
On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
 It probably is.  However, I'm not sure how to go about figuring out
 which one of these dependencies it is, let alone how to fix it.  Could
 you help us troubleshoot this?  BTW, I used portmanager to upgrade my ports.

I don't know if I can be much help, as I haven't used xine or vlc, or
portmanager. What I would do in your case is run 'ktrace -i -d vlc'
(along with whatever other arguments) to trace the process and its
dependencies, and then run 'kdump' to view the trace (the output will
be enormous). You might see something interesting near the end, like a
file not found that it was expecting, or it opening a file just prior
to dumping core. It may be possible the other programs would have the
same last few lines.

This is generic advice, I'm afraid, and may not even be valid in this
case. But who knows.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Replacing a failing HD

2005-10-04 Thread Charlie Schluting
So, clearly dd'ing the drive to another drive won't work.

How can I replicate the boot block and partition table from my
existing drive onto a new one in freebsd?
In solaris, I'd use prtvtoc | fmthard, then dd...

Thanks :)

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


Thinkpad wireless problem

2005-10-04 Thread Matt Juszczak

Hi all,

My thinkpad wifi card is being a bit odd...

When I do this:

ifconfig wi0 wepmode on ssid myssid wepkey 0x1231231234 up

It shows status as associated, and a tcpdump shows activity on the 
network, but I can't ping anywhere nor can I get anywhere (of course I 
set an IP manually and also do a route add default 192.168.0.1 to add 
the default gateway).


When I disable wep on the router, and do:

ifconfig wi0 wepmode off ssid myssid up

it works fine.  I can run dhclient wi0, etc. all works fine.


So something is up with wep on this IBM Thinkpad T23 internal wireless 
card.  Any ideas?


Maybe I'm being dumb, but the laptop says the key is a 40 bit wep key 
while the router says its a 64 bit hex... although I think these are 
identical because one is decimal and one is hex, correct?  Or is this 
where my problem is?


Regards,

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


Re: Replacing a failing HD

2005-10-04 Thread Bob Ababurko

Charlie Schluting wrote:

So, clearly dd'ing the drive to another drive won't work.

How can I replicate the boot block and partition table from my
existing drive onto a new one in freebsd?
In solaris, I'd use prtvtoc | fmthard, then dd...

Thanks :)

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



I have used dd to image a drive many times before in freebsd.  It works 
like a champion and will boot up just fine.  I may have misunderstood 
your mail but if not then it will work.


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


Re: Cleanup unused files and other junk ...

2005-10-04 Thread Alex de Kruijff
On Mon, Sep 26, 2005 at 09:50:21PM +0200, Kiffin Gish wrote:
 Is there a good and dependable procedure for cleaning up the file 
 systems from unused junk that just clutters valuable disc space?
 
 I am already aware of the 'periodic daily' scripts 
 'clear_tmp_enable=YES' option for the rc.conf file, but where else can 
 one safely remove files.
 
 For example, is it safe to delete all distfiles?

Yes, but that doesn't mean its save. You could install a port called
portupgrade and use the util portsclean. This wil clean your working
directory, (old) distfiles, (old) packages and more.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John

David Kirchner wrote:


On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
 


It probably is.  However, I'm not sure how to go about figuring out
which one of these dependencies it is, let alone how to fix it.  Could
you help us troubleshoot this?  BTW, I used portmanager to upgrade my ports.
   



I don't know if I can be much help, as I haven't used xine or vlc, or
portmanager. What I would do in your case is run 'ktrace -i -d vlc'
(along with whatever other arguments) to trace the process and its
dependencies, and then run 'kdump' to view the trace (the output will
be enormous). You might see something interesting near the end, like a
file not found that it was expecting, or it opening a file just prior
to dumping core. It may be possible the other programs would have the
same last few lines.

This is generic advice, I'm afraid, and may not even be valid in this
case. But who knows.

 


David,
Ok, I sent the logs to you but the list rejected it.  I couldn't find 
anything in there that looked useful.  Could this possibly have 
something to do with the video card I'm running?  I'm running a Radeon 
9200 SE 256 MB.


Ian,
What kind of card are you running?

Thanks

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


Re: about linux emulation

2005-10-04 Thread K Anderson

- Original Message - 
From: Antoine Solomon [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Tuesday, October 04, 2005 7:14 AM
Subject: about linux emulation


Is it possible to chroot into a fully functional linux environment on
freebsd?

--
Hi Antoine,

I don't know if this fully answers your question as I barely understand the 
chroot process myself. I wanted to install Coldfusion on FreeBSD (Ain't 
gonna work but I tried). First it complained about FreeBSD not being 
supported so I'm like yah so. But what next? I was putzing around someplace 
and found something that went in the lines like this

chroot /compat/linux/ /bin/bash

And to my surprise I was chrooted. I then re-ran the install process for 
Coldfusion and it didn't complain until the very end where it said can't 
find 'ps' and some other little gizmo (I think it was top). I was bummed 
because it seems that ps and top are not part of the linux emulation. 
Admittedly I'm using linux_base-rh-7.3. But anyway I was chrooted. One last 
thing in the path there is also a linux chroot. So my guess is that you 
could chroot with success but wont know until you use some application that 
requires some missing element, in my case 'ps' and 'top.'

Hope that helps.

~Mr. Anderson 


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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Brian John

Brian John wrote:


David Kirchner wrote:


On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
 


It probably is.  However, I'm not sure how to go about figuring out
which one of these dependencies it is, let alone how to fix it.  Could
you help us troubleshoot this?  BTW, I used portmanager to upgrade 
my ports.
  



I don't know if I can be much help, as I haven't used xine or vlc, or
portmanager. What I would do in your case is run 'ktrace -i -d vlc'
(along with whatever other arguments) to trace the process and its
dependencies, and then run 'kdump' to view the trace (the output will
be enormous). You might see something interesting near the end, like a
file not found that it was expecting, or it opening a file just prior
to dumping core. It may be possible the other programs would have the
same last few lines.

This is generic advice, I'm afraid, and may not even be valid in this
case. But who knows.

 


David,
Ok, I sent the logs to you but the list rejected it.  I couldn't find 
anything in there that looked useful.  Could this possibly have 
something to do with the video card I'm running?  I'm running a Radeon 
9200 SE 256 MB.


Ian,
What kind of card are you running?

Thanks

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


Another note: just for the hell of it I installed xine and tried to run 
it directly -- it didn't crash!  So maybe our problems aren't the same 
after all...


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


Re: help needed for ipfw rules

2005-10-04 Thread Alex de Kruijff
On Mon, Sep 26, 2005 at 05:26:12PM +0300, Ertan Kucukoglu wrote:
 Hi,
 
 I have a problem blocking foreign intruders for specific ports in ipfw.
 
 One of my friends have 4.X-Stable running in production for proxy, 
 e-mail, virus etc. Server also have natd and ipfw installed on it. We 
 have following rule set.
 -
 00050 2132 1212881 divert 8668 ip from any to any via dc1
 00100 1078 4537400 allow ip from any to any via lo0
 002000   0 deny ip from any to 127.0.0.0/8
 003000   0 deny ip from 127.0.0.0/8 to any
 004000   0 allow tcp from 192.168.0.0/24 to me 23
 005000   0 deny tcp from 192.168.0.69 to me 1863
 005500   0 deny tcp from 192.168.0.63 to me 1863
 006000   0 deny tcp from 192.168.0.69 to me 80
 006500   0 deny tcp from 192.168.0.63 to me 80
 010000   0 allow tcp from 192.168.0.0/16 to me 21
 010100   0 deny tcp from any to me 21
 011000   0 allow tcp from 212.58.X.X to me 1433 via dc1 (ip 
 intentionally hided)
 011100   0 deny tcp from any to me 1433 via dc1
 65000 5467 3180867 allow ip from any to any
 65535 4654  322885 deny ip from any to any
 -
 
 Natd is diverting port 1433 to an internal machine.
 
 When I try with a different ip address on Internet than 212.58.x.x, and 
 I can easily get connect to directed servers' 1433 port.
 
 I'm sure that I'm missing something, but I can not recognize what it is 
 at the moment. Any help will be appreciated.
 
 Regards,

Your forgetting that natd changes the destation ip address so that it is
not me. Try putting the block rule before the divert. This is also good
for performance.

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.

Howto's based on my ppersonal use, including information about 
setting up a firewall and creating traffic graphs with MRTG
http://www.kruijff.org/alex/FreeBSD/

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


Re: Which MySQL version best to use and with/without linux thread s?

2005-10-04 Thread David Xu

Nick Evans wrote:


cut

I've been benchmarking this on a dual opteron 246 server. mysql 4.1.x and
libthr worked on 5.4, but 6.0 was faster and libthr was definitely faster
than pthreads. There's a thread about this on [EMAIL PROTECTED]

Nick
 



Should libthr be default thread library on 6.x ? :-)

David Xu


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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
On Wednesday 05 October 2005 11:25, David Kirchner wrote:
 On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
  It probably is.  However, I'm not sure how to go about figuring out
  which one of these dependencies it is, let alone how to fix it.  Could
  you help us troubleshoot this?  BTW, I used portmanager to upgrade my
  ports.

 I don't know if I can be much help, as I haven't used xine or vlc, or
 portmanager. What I would do in your case is run 'ktrace -i -d vlc'
 (along with whatever other arguments) to trace the process and its
 dependencies, and then run 'kdump' to view the trace (the output will
 be enormous). You might see something interesting near the end, like a
 file not found that it was expecting, or it opening a file just prior
 to dumping core. It may be possible the other programs would have the
 same last few lines.

 This is generic advice, I'm afraid, and may not even be valid in this
 case. But who knows.

OK, I've done that for xine, here's the last bit:
  1935 xine RET   read 4096/0x1000
  1935 xine CALL  mmap(0,0x5e000,0x5,0x20002,0x6,0,0,0)
  1935 xine RET   mmap 692838400/0x294be000
  1935 xine CALL  mprotect(0x294ec000,0x1000,0x7)
  1935 xine RET   mprotect 0
  1935 xine CALL  mprotect(0x294ec000,0x1000,0x5)
  1935 xine RET   mprotect 0
  1935 xine CALL  mmap(0x294ed000,0x3000,0x3,0x12,0x6,0,0x2e000,0)
  1935 xine RET   mmap 693030912/0x294ed000
  1935 xine CALL  mmap(0x294f,0x2c000,0x3,0x1012,0x,0,0,0)
  1935 xine RET   mmap 693043200/0x294f
  1935 xine CALL  close(0x6)
  1935 xine RET   close 0
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /usr/X11R6/lib/libstdc++.so.4
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /usr/local/lib/libstdc++.so.4
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /lib/libstdc++.so.4
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /usr/lib/libstdc++.so.4
  1935 xine RET   access 0
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /usr/X11R6/lib/libm.so.3
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /usr/local/lib/libm.so.3
  1935 xine RET   access -1 errno 2 No such file or directory
  1935 xine CALL  access(0x2816a000,0)
  1935 xine NAMI  /lib/libm.so.3
  1935 xine RET   access 0
  1935 xine CALL  mprotect(0x294ae000,0xf000,0x7)
  1935 xine RET   mprotect 0
  1935 xine CALL  mmap(0,0x348,0x3,0x1000,0x,0,0,0)
  1935 xine RET   mmap 693223424/0x2951c000
  1935 xine CALL  munmap(0x2951c000,0x348)
  1935 xine RET   munmap 0
  1935 xine CALL  mprotect(0x294ae000,0xf000,0x5)
  1935 xine RET   mprotect 0
  1935 xine CALL  mmap(0,0xb48,0x3,0x1000,0x,0,0,0)
  1935 xine RET   mmap 693223424/0x2951c000
  1935 xine CALL  munmap(0x2951c000,0xb48)
  1935 xine RET   munmap 0
  1935 xine PSIG  SIGBUS SIG_DFL
  1935 xine CALL  kse_thr_interrupt(0,0x4,0xa)
  1935 xine NAMI  xine.core

Looks like it can't see lib files that really are there:
%ll /lib/libm*
-r--r--r--  1 root  wheel  108400 Feb 24  2004 /lib/libm.so.2
-r--r--r--  1 root  wheel  120004 Jul 29 17:38 /lib/libm.so.3
-r--r--r--  1 root  wheel   41096 Jul 29 17:38 /lib/libmd.so.2
%ll /usr/lib/libstdc++.*
-r--r--r--  1 root  wheel  1754130 Jul 29 17:39 /usr/lib/libstdc++.a
lrwxr-xr-x  1 root  wheel   14 Jul 29 17:39 /usr/lib/libstdc++.so - 
libstdc++.so.4
-r--r--r--  1 root  wheel   881208 Jul 29 17:39 /usr/lib/libstdc++.so.4

So I don't know what's going on there.

Cheers,
-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpxBISvR8yol.pgp
Description: PGP signature


apsfilter and HP Deskjet 842c

2005-10-04 Thread E. J. Cerejo
I could print perfectly using apsfilter before I did a
clean FreeBSD instalation and now something is not
right, when I go through the setup program and I
finally test a page the sheet of paper gets fed and
looks like it starts printing and then everything
freezes on my printer or it completely shuts down and
it only turn on if I pull the plug.  I'm using
FBSD5.4.  Has anyone ever had this problem?

EJC
www.only7bucks.com








___ 
Novo Yahoo! Messenger com voz: ligações, Yahoo! Avatars, novos emoticons e 
muito mais. Instale agora! 
www.yahoo.com.br/messenger/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Replacing a failing HD

2005-10-04 Thread Charlie Schluting

 I have used dd to image a drive many times before in freebsd.  It works
 like a champion and will boot up just fine.  I may have misunderstood
 your mail but if not then it will work.


Well, maybe my weird over ssh calling a setuid program that calls a
script dd was flawed somehow. I'll do it again with both drives in
the same machine.

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


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread Ian Moore
On Wednesday 05 October 2005 12:41, Ian Moore wrote:
 On Wednesday 05 October 2005 11:25, David Kirchner wrote:
  On 10/4/05, Brian John [EMAIL PROTECTED] wrote:
   It probably is.  However, I'm not sure how to go about figuring out
   which one of these dependencies it is, let alone how to fix it.  Could
   you help us troubleshoot this?  BTW, I used portmanager to upgrade my
   ports.
 
  I don't know if I can be much help, as I haven't used xine or vlc, or
  portmanager. What I would do in your case is run 'ktrace -i -d vlc'
  (along with whatever other arguments) to trace the process and its
  dependencies, and then run 'kdump' to view the trace (the output will
  be enormous). You might see something interesting near the end, like a
  file not found that it was expecting, or it opening a file just prior
  to dumping core. It may be possible the other programs would have the
  same last few lines.
 
  This is generic advice, I'm afraid, and may not even be valid in this
  case. But who knows.

And vlc gives the same errors too:

  6585 vlc  RET   read 4096/0x1000
  6585 vlc  CALL  mmap(0,0x5e000,0x5,0x20002,0x5,0,0,0)
  6585 vlc  RET   mmap 687357952/0x28f84000
  6585 vlc  CALL  mprotect(0x28fb2000,0x1000,0x7)
  6585 vlc  RET   mprotect 0
  6585 vlc  CALL  mprotect(0x28fb2000,0x1000,0x5)
  6585 vlc  RET   mprotect 0
  6585 vlc  CALL  mmap(0x28fb3000,0x3000,0x3,0x12,0x5,0,0x2e000,0)
  6585 vlc  RET   mmap 687550464/0x28fb3000
  6585 vlc  CALL  mmap(0x28fb6000,0x2c000,0x3,0x1012,0x,0,0,0)
  6585 vlc  RET   mmap 687562752/0x28fb6000
  6585 vlc  CALL  close(0x5)
  6585 vlc  RET   close 0
  6585 vlc  CALL  access(0x28198000,0)
  6585 vlc  NAMI  /lib/libstdc++.so.4
  6585 vlc  RET   access -1 errno 2 No such file or directory
  6585 vlc  CALL  access(0x28198000,0)
  6585 vlc  NAMI  /usr/lib/libstdc++.so.4
  6585 vlc  RET   access 0
  6585 vlc  CALL  access(0x28198000,0)
  6585 vlc  NAMI  /lib/libm.so.3
  6585 vlc  RET   access 0
  6585 vlc  CALL  mmap(0,0x190,0x3,0x1000,0x,0,0,0)
  6585 vlc  RET   mmap 687742976/0x28fe2000
  6585 vlc  CALL  munmap(0x28fe2000,0x190)
  6585 vlc  RET   munmap 0
  6585 vlc  CALL  mmap(0,0xb48,0x3,0x1000,0x,0,0,0)
  6585 vlc  RET   mmap 687742976/0x28fe2000
  6585 vlc  CALL  munmap(0x28fe2000,0xb48)
  6585 vlc  RET   munmap 0
  6585 vlc  CALL  sigprocmask(0x3,0x281882f0,0)
  6585 vlc  RET   sigprocmask 0
  6585 vlc  PSIG  SIGBUS SIG_DFL
  6585 vlc  NAMI  vlc.core


-- 
Ian
gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc


pgpmO1npQljpc.pgp
Description: PGP signature


Re: Looking for other UNIONFS users ...

2005-10-04 Thread Garance A Drosehn

At 9:45 PM -0300 10/4/05, Marc G. Fournier wrote:


I've been talking to one developer that would be interested in
fixing UNIONFS, but due to the # of bugs that existed *before* the
VFS changes, the fix is going to involve a complete re-write,
instead of just adding more bandaids and patches.

So, my first question is how many ppl are out there that are using
UNIONFS and would be interested in co-funding a rewrite of it so
that its fixed once and for all?


At times I have been interested in using it, but have stayed away
due to bug-reports that I see pop up on the mailing lists.  I'd be
willing to contribute some money to a rewrite of it.

--
Garance Alistair Drosehn =  [EMAIL PROTECTED]
Senior Systems Programmer   or   [EMAIL PROTECTED]
Rensselaer Polytechnic Institute; Troy, NY;  USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: xine / kaffeine core dumps with bus error

2005-10-04 Thread David Kirchner
On 10/4/05, Ian Moore [EMAIL PROTECTED] wrote:
 OK, I've done that for xine, here's the last bit:
   1935 xine RET   read 4096/0x1000
   1935 xine CALL  mmap(0,0x5e000,0x5,0x20002,0x6,0,0,0)
   1935 xine RET   mmap 692838400/0x294be000
   1935 xine CALL  mprotect(0x294ec000,0x1000,0x7)
   1935 xine RET   mprotect 0
   1935 xine CALL  mprotect(0x294ec000,0x1000,0x5)
   1935 xine RET   mprotect 0
   1935 xine CALL  mmap(0x294ed000,0x3000,0x3,0x12,0x6,0,0x2e000,0)
   1935 xine RET   mmap 693030912/0x294ed000
   1935 xine CALL  mmap(0x294f,0x2c000,0x3,0x1012,0x,0,0,0)
   1935 xine RET   mmap 693043200/0x294f
   1935 xine CALL  close(0x6)
   1935 xine RET   close 0
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /usr/X11R6/lib/libstdc++.so.4
   1935 xine RET   access -1 errno 2 No such file or directory
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /usr/local/lib/libstdc++.so.4
   1935 xine RET   access -1 errno 2 No such file or directory
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /lib/libstdc++.so.4
   1935 xine RET   access -1 errno 2 No such file or directory
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /usr/lib/libstdc++.so.4
   1935 xine RET   access 0
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /usr/X11R6/lib/libm.so.3
   1935 xine RET   access -1 errno 2 No such file or directory
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /usr/local/lib/libm.so.3
   1935 xine RET   access -1 errno 2 No such file or directory
   1935 xine CALL  access(0x2816a000,0)
   1935 xine NAMI  /lib/libm.so.3
   1935 xine RET   access 0
   1935 xine CALL  mprotect(0x294ae000,0xf000,0x7)
   1935 xine RET   mprotect 0
   1935 xine CALL  mmap(0,0x348,0x3,0x1000,0x,0,0,0)
   1935 xine RET   mmap 693223424/0x2951c000
   1935 xine CALL  munmap(0x2951c000,0x348)
   1935 xine RET   munmap 0
   1935 xine CALL  mprotect(0x294ae000,0xf000,0x5)
   1935 xine RET   mprotect 0
   1935 xine CALL  mmap(0,0xb48,0x3,0x1000,0x,0,0,0)
   1935 xine RET   mmap 693223424/0x2951c000
   1935 xine CALL  munmap(0x2951c000,0xb48)
   1935 xine RET   munmap 0
   1935 xine PSIG  SIGBUS SIG_DFL
   1935 xine CALL  kse_thr_interrupt(0,0x4,0xa)
   1935 xine NAMI  xine.core

 Looks like it can't see lib files that really are there:
 %ll /lib/libm*
 -r--r--r--  1 root  wheel  108400 Feb 24  2004 /lib/libm.so.2
 -r--r--r--  1 root  wheel  120004 Jul 29 17:38 /lib/libm.so.3
 -r--r--r--  1 root  wheel   41096 Jul 29 17:38 /lib/libmd.so.2
 %ll /usr/lib/libstdc++.*
 -r--r--r--  1 root  wheel  1754130 Jul 29 17:39 /usr/lib/libstdc++.a
 lrwxr-xr-x  1 root  wheel   14 Jul 29 17:39 /usr/lib/libstdc++.so -
 libstdc++.so.4
 -r--r--r--  1 root  wheel   881208 Jul 29 17:39 /usr/lib/libstdc++.so.4

 So I don't know what's going on there.

What it's doing there is checking the library path to try and find the
requested library -- it does eventually find it, so that's OK. What
this ktrace shows is that the dump occurs before anything else goes on
-- ie just after loading the initial set of libraries it does
something not related to a system call (like mishandling a pointer). I
hate to suggest this, especially since you've had world built for so
long without trouble, but maybe a freshly updated world would help?
libstdc++ hasn't been updated in quite a while, but libm has had some
radical changes made to it, it seems. It may not actually mean
anything specific, though.

I'm stuck at this point, I think. I don't know a lot about the X
server internals or the drivers (specifically to the Radeon question).
Might be best just to downgrade the port rather than mess around with
something as big as rebuilding the entire world.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: problem with ssh connetions in jail

2005-10-04 Thread Tyler T
 hi people first sorry for my english.

 i have a pc with only one etternet card connected to a router
 (172.16.0.1) which provide both internet connection and dhcp service,
 in this machine i have configured a jail virtual server, the ip of the
 real server is 172.16.1.36/16 and i have made a ip alias for the jail
 virtual server which is 172.16.1.100/32, i want that the virtual
 server respond all incoming connections from internet, i have
 configured natd with next option in /etc/rc.natd:

 redirect_port  tcp  172.16.1.100:22   22


 in /etc/firewall.rules:

 add divert natd all from any to any via rl0


 in /etc/rc.conf:

 natd_enable=YES
 natd_interface=rl0
 natd_flags=-l -f /etc/rc.natd

 firewall_enable=YES
 firewall_type=/etc/firewall.rules
 firewall_script=/etc/rc.firewall

 in the sshd of jail:

 KeepAlive yes
 UseDNS no

 my firewall is IPFW2, the configuration works well however often the
 conections is reset, i don't know what happen

 a scheme of my lan:

  172.16.0.1/16
 real ip  172.16.1.36/16

 INTERNET--modem/router-  PC with run jail


  alias ip  172.16.1.100/32


 any help is thank in avantage.


the solution:

in /etc/ssh/sshd_config   add following line:

VerifyReverseMapping no


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


Re: Need help: fwd on ipfw

2005-10-04 Thread Andrew P.
On 10/5/05, Foo Ji-Haw [EMAIL PROTECTED] wrote:
 Hello Anderson,

 I hope you can lend me your experience and generosity again in a follow-up
 question I have with ipfw. Basically I have much help from the Handbook.
 It's some small things that I get stuck with. Unfortunately I can't figure a
 way around it.

 Below is my firewall configuration:
 00100 check-state
 00300 allow ip from any to 192.168.0.4 in via dc0
 00400 allow ip from 192.168.0.4 to any out via dc0
 00600 allow ip from 127.0.0.1 to 127.0.0.1
 00700 allow icmp from 10.10.0.0/16 to 10.10.0.0/16
 00900 allow ip from 10.10.0.0/16 to 10.10.0.0/16 dst-port 67,68,80
 01000 allow ip from 10.10.0.0/16 to 10.10.0.0/16 dst-port 53
 01050 allow ip from 10.10.0.0/16 to 10.10.0.0/16
 01060 allow ip from any to any MAC any 00:90:d1:00:80:00/33
 01100 fwd 10.10.10.10,80 tcp from 10.10.0.0/16 to any dst-port 80 in via vr0
 01200 allow ip from any to any
 65535 deny ip from any to any

 My box has 2 interfaces. dc0 is the trusted network, vr0 is the untrusted
 network (the implementation is for a captive portal). The server's IP on vr0
 is 10.10.10.10.

 Problem 1:
 My rule (900) to allow the clients on vr0 to talk to the server's dhcpd
 service works well. But I can't get them to connect to the DNS service (rule
 1000). I don't understand why this is so, because the same DNS service works
 well for clients on dc0. DNS will work if rule 1200 is in place (of course,
 1200 should not be there).

 Problem 2:
 Rule 1100 is key for captive portal setup. Any web outgoing traffic from vr0
 will be redirected to the 'login' page at 10.10.10.10:80. And it works
 (fortunately!). But only with 1200 in place. Does this mean that after
 processing rule 1100 the ipfw continues to process the rest of the rules?

 Problem 3:
 I need to grant authenticated a client with the specified MAC address (1060)
 full access to the Internet, thereby bypassing fwd 1100. If I replace 1060
 with:
 01060 allow ip from 10.10.10.100 to any
 The access is ok. But I need to lock down at the MAC level (to prevent IP
 spoofing). Can you advice me on the correct statement? This is the most
 frustrating question I have among the 3.

 Appreciate your time on this. Thanks again!


Please, cc the mailing list unless your problem is
purely between you and me.

Before I start answering your questions, let me give
you some advice.

1. Don't do check-state, unless you really need
(and have configured) a stateful firewall

2. Use xmit and recv instead of via whenever
possible. In your case rule 300 should contain
in recv and the next one - out xmit.

3. A much better way to pass loopback traffic is:
allow ip from any to any via lo0
deny ip from any to 127.0.0.0/8
deny ip from 127.0.0.0/8 to any
(these should usually be at the very top)

4. It's a wonder that your rule 900 somehow
allows dhcp to work. It certainly shouldn't.
Dhcp requires much less restrictive rules
(including broadcasts and undefined source).

5. You must always keep in mind that any
communication between a server and a
client requires packet to go both ways,
sometimes passing firewall 2 times in
each direction. Your rule 1000 only allows
dns queries to get through to the dns server,
the corresponding answers will be blocked.
I suppose that rule 1050 or 1200 solves the
problem, but if you want to restrict traffic
you should come up with something else.
Same goes for your rule 1100: you block
all the http answers.

6. Sad, but true, you can never rely on MAC-
bindings security in a production network.
MAC address is as easily spoofed as
anything. Moreover, ipfw has not been
designed for layer-2 packet inspection, so
you'll stumble upon many problems and
unexpected results.
You'd better come up with a VPN/IPSec
solution.


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