Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Chad Leigh -- Shire.Net LLC


On Jul 1, 2006, at 11:10 PM, Francisco Reyes wrote:


Chad Leigh -- Shire.Net LLC writes:

I don't remember general complaints about nfs in the 6.x series  
here  in the list.


Checkt he stable list. :-)
Locking issues on server during heavy load.
Background fsck + NFSD locking issues
Clients freeze if server goes away.. soft mount option doesn help.


stable is not release.  If they are confined to the stable list then  
it is probably a stable issue.


Chad





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



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


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Francisco Reyes

Paul Chvostek writes:


Apache logs daily).  NFS seems to go away for a few seconds (the filer
is unpingable), then return.


I see this in 6.X too.


 Despite the 5.x branch's known problems, I
had attributed this to the fact that I'm using  bge NICs.


Our problems seem to occur with other cards too including intel cards (em 
if I recall)



moved most of this log processing to a 6.1-RELEASE box last week (on
identical hardware), and I've seen none of the timeouts.


Do you do mostly reading? Any writing?



I'm using HP DL380-G4 servers (onboard bge, ciss RAID), with a BlueArc
Titan for NFS.


How much storage? How much?
Looking at their site.. don't see pricing..
Did you buy from them or had to use a re-seller?


 Of course, I'm not running nfsd on the FreeBSD boxes,
they're just clients.


If you can do this test in a 6.X box.
Disconnect the 6.X client from the NFS (ie plug the cable off the 
switch/card).. try "umount -f " 
___

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


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Paul Chvostek
On Sun, Jul 02, 2006 at 01:10:29AM -0400, Francisco Reyes wrote:
> 
> Chad Leigh -- Shire.Net LLC writes:
> 
> >I don't remember general complaints about nfs in the 6.x series here  
> >in the list.
> 
> Checkt he stable list. :-)
> Locking issues on server during heavy load.
> Background fsck + NFSD locking issues
> Clients freeze if server goes away.. soft mount option doesn help.

I've had ongoing problems with a 5.4 box that does boatloads of file IO
both on NFS and local disk (doing weird things with 10 to 12 GB of
Apache logs daily).  NFS seems to go away for a few seconds (the filer
is unpingable), then return.  Despite the 5.x branch's known problems, I
had attributed this to the fact that I'm using  bge NICs.  I
moved most of this log processing to a 6.1-RELEASE box last week (on
identical hardware), and I've seen none of the timeouts.

Hardly scientific, but my $0.02 nonetheless

I'm using HP DL380-G4 servers (onboard bge, ciss RAID), with a BlueArc
Titan for NFS.  Of course, I'm not running nfsd on the FreeBSD boxes,
they're just clients.

-- 
  Paul Chvostek <[EMAIL PROTECTED]>
  it.canadahttp://www.it.ca/

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


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Francisco Reyes

Chad Leigh -- Shire.Net LLC writes:

I don't remember general complaints about nfs in the 6.x series here  
in the list.


Checkt he stable list. :-)
Locking issues on server during heavy load.
Background fsck + NFSD locking issues
Clients freeze if server goes away.. soft mount option doesn help.

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


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Chad Leigh -- Shire.Net LLC


On Jul 1, 2006, at 11:01 PM, Francisco Reyes wrote:


Chad Leigh -- Shire.Net LLC writes:


How can I downgrade from 6.1 Stable to 5.5 Stable?
Having all type of problems with NFS. Both with the server and  
the  client.

You might have more luck with 6.1-RELEASE


Really?
Were changes introduced to 6.1 Stable that made NFS less stable  
than 6.1 Release?


I don't know but there were lots of changes from 5 to 6 which could  
cause you problems, I am guessing.


My 6.1-RELEASE machines don't do a lot of nfs.  My 6.0 machines have  
had no nfs issues as a server or a client.


I don't remember general complaints about nfs in the 6.x series here  
in the list.


Chad



Are you talking from experience?
It would be significantly easier if going to 6.1 Release fixed the  
problems..


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



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


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Francisco Reyes

Chad Leigh -- Shire.Net LLC writes:


How can I downgrade from 6.1 Stable to 5.5 Stable?
Having all type of problems with NFS. Both with the server and the  
client.


You might have more luck with 6.1-RELEASE


Really?
Were changes introduced to 6.1 Stable that made NFS less stable than 6.1 
Release?


Are you talking from experience?
It would be significantly easier if going to 6.1 Release fixed the 
problems..

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


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Chad Leigh -- Shire.Net LLC


On Jul 1, 2006, at 7:34 PM, Francisco Reyes wrote:


How can I downgrade from 6.1 Stable to 5.5 Stable?
Having all type of problems with NFS. Both with the server and the  
client.


You might have more luck with 6.1-RELEASE

Chad




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



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


Re: 6.1-RELEASE Loader broken (work around)

2006-07-01 Thread Micah

Micah wrote:

Hey all,

I just upgraded via source from FreeBSD 6.0-RELEASE to FreeBSD
6.1-RELEASE-p2 on my Compaq Presario M2000 laptop.

I followed the procedures as outlined in the handbook basically:
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot to single user
mergemaster -p
make isntallworld
mergemaster
reboot

Basically all went well until the final reboot. I never get to the boot
menu (the loader menu that used to have the ascii beastie on it).
instead a screen appears for a split second and the laptop reboots. The
only text I can make out after trying this many times is BTX. :( It's
just up for too short a time to even try and figure out what's being
displayed. Using a 6.0-RELEASE rescue disk I copied loader.old to
loader, rebooted and the system boots fine, but now I'm using a 6.0
loader with 6.1. Any clues on what could be wrong?

Thanks,
Micah


I changed my grub settings and the 6.1 loader now works. Heres what my 
menu.lst looks like now:


title FreeBSD 6.1 (hd0,1) (GRUB installed here)
root (hd0,1,a)
#   kernel /boot/loader #doesn't work
chainloader +1

Still looking for clues why "kernel /boot/loader" doesn't work on my 
laptop with 6.1 while the exact same line worked with 6.0 and works fine 
with 6.1 on my desktop. I'm wondering if it's a timing/deadlock issue 
since using chainloader takes slightly longer than kernel...


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


6.1-RELEASE Loader broken

2006-07-01 Thread Micah

Hey all,

I just upgraded via source from FreeBSD 6.0-RELEASE to FreeBSD
6.1-RELEASE-p2 on my Compaq Presario M2000 laptop.

I followed the procedures as outlined in the handbook basically:
mergemaster -p
make buildworld
make buildkernel
make installkernel
reboot to single user
mergemaster -p
make isntallworld
mergemaster
reboot

Basically all went well until the final reboot. I never get to the boot
menu (the loader menu that used to have the ascii beastie on it).
instead a screen appears for a split second and the laptop reboots. The
only text I can make out after trying this many times is BTX. :( It's
just up for too short a time to even try and figure out what's being
displayed. Using a 6.0-RELEASE rescue disk I copied loader.old to
loader, rebooted and the system boots fine, but now I'm using a 6.0
loader with 6.1. Any clues on what could be wrong?

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


Re: CUPS, USB printers & "Permission Denied"

2006-07-01 Thread John Nielsen
On Saturday 01 July 2006 12:40, Jan-Espen Pettersen wrote:
> > The problem is that read operations on usb printers might just
> > block/hang with no data from the printer (?). ulpt doesn't have
> > non-blocking I/O, so I've made a patch that simply times out read
> > operations, and disables further reads if it detects a blocking/stall
> > condition. It is possible that this breaks the back-channel, as I'm
> > unsure if we can expect a printer to send inbound data before we
> > actually write anything out?
> >
> > It looks like there are similar problems with other backends? I've only
> > looked at the usb backend yet.
>
> Sorry, the attachment got cleared by mailman.
> http://www.radiotube.org/patch-backend_usb-unix.c
>
> Put it into /usr/ports/print/cups-base/files if you would like to test
> it.

That works for me with my USB Lexmark E210. (The file:/ URI workaround also 
works).

Thanks!  Are you coordinating anything with the cups project or the port 
maintainer to explore this issue?

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


Re: Raid card for FreeBSD

2006-07-01 Thread Mike Tancsa
On Thu, 29 Jun 2006 09:51:00 +1000, in sentex.lists.freebsd.questions
you wrote:

>Hi,
>
>I will host a mail server in FreeBSD 6.x. Since we are going to use Raid for
>mirroing, can anyone please recommend a RAID CARD that is fully compatible
>with FreeBSD? I found the following RAIDCARD sounds good, what is your
>opinon about it?
>
>http://www.cwol.com/serial-ata/rocketraid-2320-pci-express.htm
>


http://www.3ware.com/

They work really well with FreeBSD under load.  Excellent support
tools as well.


---Mike

Mike Tancsa, Sentex communications http://www.sentex.net
Providing Internet Access since 1994
[EMAIL PROTECTED], (http://www.tancsa.com)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread RW
On Sunday 02 July 2006 02:34, Francisco Reyes wrote:
> How can I downgrade from 6.1 Stable to 5.5 Stable?
> Having all type of problems with NFS. Both with the server and the client.
>
> >From what I read on the stable list others are having simmilar problems,
>
> but don't see any mention of fixes.
>
> I need to downgrade a number of machines from 6.1 Stable to 5.5 stable
>
> What do I need to do?
> cvsup to 5.5 stable?

Why are you using 6.1 Stable? It's a development branch that isn't intended 
for production use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD 6.0 compat with DL320 G4

2006-07-01 Thread Ted Mittelstaedt
What I had to do is mount a floppy in a second machine, copy the broadcom
driver patch over to the floppy, then mount the floppy in the DL320 and
copy the driver to the system, recompile the kernel with the patched driver.

Once the initial patch for the Broadcom chip is made, it will give you
a usable enough network connection so that you can copy larger files
over without the server panicing, however without warning a file transfer
can halt due to the timeout problem.  So you still have to stand over it.

The easiest way is to buy the replacement PCI-X riser card and
use the Intel Pro 1000 MT Server adapter in it, then the system will
install and run out of the box.  But if you don't mind the floppy shuffle
you can save $30 on buying the replacement riser card and just go with
the PCI-Express riser card that comes with the system and the Intel
Pro 1000 PT Server adapter, and then when the system is installed,
copy the 7.1 driver over to it via a floppy, recompile the kernel, etc.

Ted

- Original Message - 
From: "William" <[EMAIL PROTECTED]>
To: "Ted Mittelstaedt" <[EMAIL PROTECTED]>
Cc: "Antony Mawer" <[EMAIL PROTECTED]>;

Sent: Saturday, July 01, 2006 1:45 PM
Subject: Re: FreeBSD 6.0 compat with DL320 G4


> Bloody good point.
>
> On 01/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:
> > How will you cvsup without a network connection?
> >
> > Ted
> >
> > - Original Message -
> > From: "William" <[EMAIL PROTECTED]>
> > To: "Antony Mawer" <[EMAIL PROTECTED]>
> > Cc: 
> > Sent: Friday, June 30, 2006 12:51 AM
> > Subject: Re: FreeBSD 6.0 compat with DL320 G4
> >
> >
> > > Will i get the updated driver by just cvsup'ing to stable once I
> > > install -STABLE from CD?
> > >
> > > On 30/06/06, Antony Mawer <[EMAIL PROTECTED]> wrote:
> > > > On 30/06/2006 4:56 PM, William wrote:
> > > > > I've got an Intel card in production already on a homebrew box,
the
> > > > > code is INTEL-PWLA8492MT and description is "Intel Dual Port
Server
> > > > > Adapter 10/100/1000". Any idea if that will do?
> > > >
> > > > The adapter you mentioned is a PCI-X adapter, which won't work
unless
> > > > you purchase the optional PCI-X riser card to replace the standard
one
> > > > in the DL320 G4. The standard riser card provides PCI Express slots
(1
> > > > half height, 1 full height), that are not compatible with PCI-X (or
> > > > regular PCI). You will need to either:
> > > >
> > > >  1) Purchase the PCI-X riser, and then use your existing card
> > > >  (provided that FreeBSD 6.x will recognise it)
> > > >
> > > >  2) Purchase a PCI Express NIC, which will (likely) _not_ work
with
> > > >  the standard driver in 6.x.
> > > >
> > > > Option 1 may or may not work with the standard 6.x driver; I know
the
> > > > PCI Express one definately does NOT.
> > > >
> > > > That being said, it is _very_ simple to add the updated Intel driver
and
> > > > rebuild the kernel if you need to do so (for either option): I'd be
> > > > happy to help you with the steps you need to do so if you require.
> > > >
> > > > Regards
> > > > Antony
> > > >
> > > ___
> > > 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]"


Urgent: Downgrading from 6.X to 5.X?

2006-07-01 Thread Francisco Reyes

How can I downgrade from 6.1 Stable to 5.5 Stable?
Having all type of problems with NFS. Both with the server and the client.
From what I read on the stable list others are having simmilar problems, 

but don't see any mention of fixes.

I need to downgrade a number of machines from 6.1 Stable to 5.5 stable

What do I need to do?
cvsup to 5.5 stable?
On the archives I see mention of a delete flag to cvsup.
Do I need to do one run with "cvsup -D" and then a regular pass?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Anish Mistry
On Saturday 01 July 2006 14:34, Charles Howse wrote:
> On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:
> > On Saturday 01 July 2006 11:54, Charles Howse wrote:
> >> I've added the following to /etc/devfs.conf:
> >> own lpt0root:wheel
> >> permlpt00660
> >>
> >> Save that, then, # chmod 0660 /dev/lpt0
> >>
> >> When I reboot, the permissions revert to the default of 0600.
> >> Anyone know why that is?
> >
> > man devfs.rules
> > http://am-productions.biz/docs/devfs.rules.php
>
> Sorry, this just isn't working for me.
>
> /etc/rc.conf contains:
> devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
> devfs_system_ruleset="local_rules"
>
> $ cat /etc/devfs.rules
> [local_rules=10]
> add path lpt0 mode 660 group wheel
>
> devfs does not complain when I restart it.
When you restart devfs "/etc/rc.d/devfs restart" are the correct 
permission that you've set in devfs.rules applied?

> I've tried:
> 'lpt*'
> 'lpt0*'
>
> No matter what, the permissions revert to 600 when I reboot.
> How about a little nudge in the right direction?  :)
>
>
> --
> Webmaster's Computer Page -
> http://bubbabbq.homeunix.net/webmaster.html
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgpjya0TlUt8n.pgp
Description: PGP signature


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Charles Howse


On Jul 1, 2006, at 2:44 PM, Anish Mistry wrote:


On Saturday 01 July 2006 14:34, Charles Howse wrote:

On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:

On Saturday 01 July 2006 11:54, Charles Howse wrote:

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?


man devfs.rules
http://am-productions.biz/docs/devfs.rules.php


Sorry, this just isn't working for me.

/etc/rc.conf contains:
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
devfs_system_ruleset="local_rules"

$ cat /etc/devfs.rules
[local_rules=10]
add path lpt0 mode 660 group wheel

devfs does not complain when I restart it.

When you restart devfs "/etc/rc.d/devfs restart" are the correct
permission that you've set in devfs.rules applied?


Well, they are now.  I decided to press "Enter" at the end of the  
second line in devfs.rules.

Apparently, that's what it wanted.

That seems to me to be an inconsistency with lots of files.  Some  
want the cr/lf, some don't.


--
Thanks,
Charles
http://bubbabbq.homeunix.net


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


Re: Linux shared libs on FreeBSD

2006-07-01 Thread Christian Laursen
bill <[EMAIL PROTECTED]> writes:

> We have a third-party php extension that we need to use for a
> specific application here. The extension is compiled for Linux, but
> it appears that its possible to use them in FreeBSD under the Linux
> emulation.

It is, but it's not pretty.

> Its not working out so well for us, unfortunately. Here's what I've
> done, and hopefully someone can point out where we've gone wrong and
> maybe suggest a fix:
>
> 1) the PHP .so has been branded using: brandelf -t Linux 
>
> 2) linux compatibility is enabled, linprocfs is mounted, etc.
>
> 3) the port linux_base-8-8.0_14 is installed and seems to be working
> properly.
>
> I think that should about do it, no?

Not quite. You can't mix native binaries and linux libraries.

You need to use a php built for linux and load your .so into that.
I had to do this once and chose to run php in cgi mode from a native
apache. If you want to use php as an apache module, you'll need an
apache built for linux as well.

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


Re: one more question, related to java/CLASSPATH

2006-07-01 Thread Jim Stapleton

wow, I feel dumb now. It's been a few years since I've dealt with Java.

Thank you,
-Jim

On 7/1/06, Micah <[EMAIL PROTECTED]> wrote:

Jim Stapleton wrote:
> OK, sorry for being a continuous bother on this, but google is
> failling me, and I cannot find a reason for this issue. Java will not
> run an app, and everything I've read says that "." should be in the
> classpath to make it work, so I'm thinking this is a BSD-Java
> implementation related issue. Any ideas?
>
>
> [EMAIL PROTECTED] 11:54:17 (0) ~/dev/java/test > java -classpath . test.java
> Exception in thread "main" java.lang.NoClassDefFoundError: test/java
> [EMAIL PROTECTED] 11:54:27 (0) ~/dev/java/test > java -version
> java version "1.5.0-p3"
> Java(TM) 2 Runtime Environment, Standard Edition (build
> 1.5.0-p3-root_01_jul_2006_07_53)
> Java HotSpot(TM) Client VM (build 1.5.0-p3-root_01_jul_2006_07_53, mixed
> mode)
> [EMAIL PROTECTED] 11:54:43 (0) ~/dev/java/test > ls
> test.class  test.java
>
>
> I don't know what other info to send. Running 6.1, the specific port
> was ports/java/jdk15
>
>
> Thanks,
> -Jim

Java expects the name of a class, not the name of a file. You should
invoke your test using "java test"
The command "java test.java" is trying to execute a class named "java"
in the "test" package.

FWIW my classpath is:
./:/usr/local/share/java/classes/junit.jar:/usr/local/freetts/lib/

HTH,
Micah


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


Fixed my server crashing in X with AGP video

2006-07-01 Thread Derek Ragona
I have a server that ran fine in FreeBSD 5.X but after updating to 6.0 
started crashing and rebooting from X.  I thought maybe it was some anomaly 
and hoped 6.1 would fix it.


It was still crashing, so I dove in to find why . . .

It seems with some RTFM on the nvidia driver notes, I found the agp module 
compiled into FreeBSD kernels by default in 6.0 was a known problem.


I disabled the kernel's agp putting in:
hint.agp.0.disabled="1"
in /boot/device.hints

There is a driver setting for the nvidia driver I added to my XF86Config 
telling it to manage the agp.


Since making these changes the server is completely stable running X.

I have seen other messages with other video card problems, and wanted to 
share my experience as it may help other agp video card users.




-Derek
[EMAIL PROTECTED]



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

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


Using syslogd to log for BIND

2006-07-01 Thread Josh Paetzel
I have a nameserver running BIND 9.3.2 on a FreeBSD box running 
6.1-RELEASE.  BIND seems to log to /var/log/messages by default and I 
would like to change that behavior.  Here's what I've done so far:

syslog.conf

local1.*/var/log/bind/bind.log

*.info;mail.none;cron.none;kern.none;local0.none;local1.none;ftp.none;auth.none;
authpriv.none   /var/log/messages/messages

!named
*.* /var/log/bind/bind.log

named.conf

logging {
channel my_syslog {
syslog local1;
severity info;
};
};

I am getting the logging into bind.log which is what I want but named 
is still logging to /var/log/messages/messages

How do I disable this undesirable behaviour?

-- 
Thanks,

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


Re: batching port builds

2006-07-01 Thread backyard1454-bsd


--- Javier Echaiz <[EMAIL PROTECTED]> wrote:

> You can put BATCH=yes in your /etc/make.conf
> 
> The settings for each port (if it has something to
> config) are stored
> in /var/db/ports/{port dir name}/options (just in
> case you want to see
> what the port assumed).
> 
> If you want to configure ports (with than ncurses
> blues screen)
> sometimes and assume defaults in other cases perhaps
> you should try
> portupgrade -m BATCH=yes  on a need basis.
> 
> As David suggested you can always do "make
> config-recursive install
> clean", to answer all the option questions before
> the port builds.
> 
> Warmly,
> Javier
> 
> >>On 30/06/06 David J Brooks said:
> >>
> >> If you  do 'make -DBATCH' instead of 'make' - 
> you will use the preset
> >> defaults for each port with options. Or you can
> do
> >> 'make config-recursive' - which will offer you
> all the option screens for
> >> the port in whose directory you're currently in
> and all its dependencies.
> >>
> >> See 'man ports' for more information.
> >>
> >> To use those with 'portupgrade -a' will probably
> take some custom scripting.
> >
> >Ah, so there's no make.conf option for this?
> >
> >Thanks,
> >Mike
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 

the most convenient way to batch build ports is to use
this sort of if statements in make.conf

.if ${.CURDIR:M*/databases/mysql*}
BUILD_STATIC=yes
BUILD_OPTIMIZED=yes
WITH_LINUXTHREADS=yes
.endif

#reference
#http://blog.innerewut.de/articles/2006/01/14/upgrading-ports-and-preserve-make-options

this will work with portupgrade even in dependancies
because the port will always look to make.conf for
default system settings.

so


.if ${.CURDIR:M*/foo/bar}
BATCH=yes
WITH_THISOPTION=yes
WITHOUT_2NDOPTION=yes
.endif

will build with and without those options. just
remember to prefix the OPTIONS in a menu config setup
with WITH or WITHOUT to enable/disable what you want.
Always make sure to remember WITH_FOO=no means
WITH_FOO=yes, it should be
WITHOUT_FOO=whatever_it_is_now_set. The good thing is
individually you can choose to use one setting over
the other, and this also ensures one ports options
don't mess things up in another ones build. I know
when I was blindly setting build options in make.conf
weird problems began to arrise until I got errors
about make.conf being too large.

this can make make.conf get large so I've been meaning
to move the port configs into port.conf instead and
reference it in like


.if ${.CURDIR:M*/usr/ports/*}
include /foo/port.conf
.endif

I believe this is the correct syntax but I haven't
tried it yet. This method is how I am batch building
my servers. Ultimately I will make a Makefile to build
what I need and let it do its thing. 

I wish this method was documented better. Although it
is trivially simple if one understands makefiles so I
can see why its not really discussed. It is none the
less very effective and simple.

What I would like to know is if there is a simple way
to get the build options for every port in the
collection so it can easily be brought into a
"port.conf" file simply. I know I saw a command that
would parse the makefiles of all the ports and do
something to that effect but I can't recall it.

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


Re: FreeBSD 6.0 compat with DL320 G4

2006-07-01 Thread Ted Mittelstaedt
How will you cvsup without a network connection?

Ted

- Original Message - 
From: "William" <[EMAIL PROTECTED]>
To: "Antony Mawer" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, June 30, 2006 12:51 AM
Subject: Re: FreeBSD 6.0 compat with DL320 G4


> Will i get the updated driver by just cvsup'ing to stable once I
> install -STABLE from CD?
>
> On 30/06/06, Antony Mawer <[EMAIL PROTECTED]> wrote:
> > On 30/06/2006 4:56 PM, William wrote:
> > > I've got an Intel card in production already on a homebrew box, the
> > > code is INTEL-PWLA8492MT and description is "Intel Dual Port Server
> > > Adapter 10/100/1000". Any idea if that will do?
> >
> > The adapter you mentioned is a PCI-X adapter, which won't work unless
> > you purchase the optional PCI-X riser card to replace the standard one
> > in the DL320 G4. The standard riser card provides PCI Express slots (1
> > half height, 1 full height), that are not compatible with PCI-X (or
> > regular PCI). You will need to either:
> >
> >  1) Purchase the PCI-X riser, and then use your existing card
> >  (provided that FreeBSD 6.x will recognise it)
> >
> >  2) Purchase a PCI Express NIC, which will (likely) _not_ work with
> >  the standard driver in 6.x.
> >
> > Option 1 may or may not work with the standard 6.x driver; I know the
> > PCI Express one definately does NOT.
> >
> > That being said, it is _very_ simple to add the updated Intel driver and
> > rebuild the kernel if you need to do so (for either option): I'd be
> > happy to help you with the steps you need to do so if you require.
> >
> > Regards
> > Antony
> >
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: freeBSD binary

2006-07-01 Thread Nikolas Britton

On 7/1/06, Dark Bishop <[EMAIL PROTECTED]> wrote:

hai
i know tat this is a silly question... but i just wondering can openBSD binary 
run in FreeBSD



Well we have:

options COMPAT_43
options COMPAT_FREEBSD4
options COMPAT_FREEBSD5
options COMPAT_LINUX
options COMPAT_AOUT
options COMPAT_SVR4

but I don't see anything for Open or NetBSD so I would have to say no.


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions on EXT3 vs standard BSD partitions

2006-07-01 Thread Jim Stapleton

Well, I'm not so worried about crashes, the only crashes I've had with
BSD are with power failures, and this is a notebook :-)

I was planning on having three "slices" on the drive, the first I
would blast from a linux or BSD image as needed, the second would be
ext2 or ext3 (or other?) and have "/home", and the third would be my
"/data" mount point, where I'd keep a synced copy of my Windows "My
Documents" Folder (synced with my BSD desktop and my windows machine),
as well as choice music files (it's too small for all that FLAC).

Thanks
-Jim


On 7/1/06, RW <[EMAIL PROTECTED]> wrote:

On Friday 30 June 2006 17:44, Jim Stapleton wrote:
> I have to move between BSD and Linux on one system quite a bit, and I
> was wondering if there  were any reasons to avoid EXT3 on a filesystem
> (such as /dev/ad0s1), as opposed to using the more standard BSD setups
> (such as UFS on /dev/ad0s1a)? I'm thinking mostly in terms of
> reliability, but also in terms of flexibility and speed.

I haven't tried recently, but a year or so ago FreeBSD could not use ext3 as
such. There is a port that adds ext3 fsck support for syncing the journal,
FreeBSD can then mount it as ext2. The problem with that is that you then
have a choice between reliability and decent write speed according to whether
you mount it  synchronously or asynchronously.

I found that even having an  ext3 transfer partition  that's  mounted by
default was a bit of a pain, because without a journal or softupdates,
booting after a crash can take a long time.
___
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]"


freeBSD binary

2006-07-01 Thread Dark Bishop
hai
i know tat this is a silly question... but i just wondering can openBSD binary 
run in FreeBSD

-- 
___
Play 100s of games for FREE! http://games.mail.com/

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


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Micah

Charles Howse wrote:


On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:


On Saturday 01 July 2006 11:54, Charles Howse wrote:

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?

man devfs.rules
http://am-productions.biz/docs/devfs.rules.php


Sorry, this just isn't working for me.

/etc/rc.conf contains:
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
devfs_system_ruleset="local_rules"

$ cat /etc/devfs.rules
[local_rules=10]
add path lpt0 mode 660 group wheel

devfs does not complain when I restart it.
I've tried:
'lpt*'
'lpt0*'

No matter what, the permissions revert to 600 when I reboot.
How about a little nudge in the right direction?  :)


Just a "me too."  I tried the rule quoted above on my 6.1 release 
system, and it doesn't work here either. There are no devices attached 
to the parallel port if that makes a difference.  I have several other 
similar rules that /do/ work for ulpt, da*, and pass*, but the ltp* 
device does not respond to my devfs.rules.


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


Re: FreeBSD 6.0 compat with DL320 G4

2006-07-01 Thread William

Bloody good point.

On 01/07/06, Ted Mittelstaedt <[EMAIL PROTECTED]> wrote:

How will you cvsup without a network connection?

Ted

- Original Message -
From: "William" <[EMAIL PROTECTED]>
To: "Antony Mawer" <[EMAIL PROTECTED]>
Cc: 
Sent: Friday, June 30, 2006 12:51 AM
Subject: Re: FreeBSD 6.0 compat with DL320 G4


> Will i get the updated driver by just cvsup'ing to stable once I
> install -STABLE from CD?
>
> On 30/06/06, Antony Mawer <[EMAIL PROTECTED]> wrote:
> > On 30/06/2006 4:56 PM, William wrote:
> > > I've got an Intel card in production already on a homebrew box, the
> > > code is INTEL-PWLA8492MT and description is "Intel Dual Port Server
> > > Adapter 10/100/1000". Any idea if that will do?
> >
> > The adapter you mentioned is a PCI-X adapter, which won't work unless
> > you purchase the optional PCI-X riser card to replace the standard one
> > in the DL320 G4. The standard riser card provides PCI Express slots (1
> > half height, 1 full height), that are not compatible with PCI-X (or
> > regular PCI). You will need to either:
> >
> >  1) Purchase the PCI-X riser, and then use your existing card
> >  (provided that FreeBSD 6.x will recognise it)
> >
> >  2) Purchase a PCI Express NIC, which will (likely) _not_ work with
> >  the standard driver in 6.x.
> >
> > Option 1 may or may not work with the standard 6.x driver; I know the
> > PCI Express one definately does NOT.
> >
> > That being said, it is _very_ simple to add the updated Intel driver and
> > rebuild the kernel if you need to do so (for either option): I'd be
> > happy to help you with the steps you need to do so if you require.
> >
> > Regards
> > Antony
> >
> ___
> 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: make.conf and USA_RESIDENT

2006-07-01 Thread RW
On Friday 30 June 2006 21:10, [EMAIL PROTECTED] wrote:
> It would be nice to have a definative answer on this
> because people still suggest it is put into
> make.conf...

I had a quick look with grep and it couldn't USA_RESIDENT under /usr/src in 
6.1 at all.

It appears in three port Makefiles. In one it's passed into a scripts 
environment, but not used. In another it's used to set the default paper size 
of all things.

The only example I could find where it's used for anything meaningful is when 
xfree86 is built with the XDM_DES knob and it forces Americans to fetch their 
own copy of Wraphelp.c. There doesn't seem to be a corresponding usage in 
xorg, so maybe the  xfree86 port is just running a bit behind the times.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6-STABLE on 6 Gb RAM 2 x Xeon 3.0 HTT & GDT RAID5 - how?

2006-07-01 Thread ASTESIN
Dear FreeBSD gurus,

can anyone point me at a good FM where process of _proper_ setting up
FreeBSD 6-STABLE on 6 Gb RAM machine w/ 2 x Xeon CPU is described? It also
has ICP (former GDT) RAID controller w/RAID-5 configuration (iir0 device).

Purpose: just Apache + mod_perl + MySQL 5.x application server.
Install went fine, system boots, I'm going to try PAE kernel on it. But
somathing makes me doubt that things are going on well...

I.e. I worry about strange messages in dmesg output with regard to ACPI, see
below; will iir0 work with PAE?

Thanks in advanse!
Andrew Stesin

p.s. Personal copy of your reply is greatly appreciated: for some reason a
local mail host hates FreeBSD mailing lists and kills most messages from
them. :(


Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 6.1-STABLE-200606 #0: Sun Jun  4 11:15:14 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP
ACPI APIC Table: 
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.66GHz (2665.92-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
 
Features=0xbfebfbff
  Features2=0x4400>
  Logical CPUs per core: 2
real memory  = 4077912064 (3889 MB)
avail memory = 3992907776 (3807 MB)
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP): APIC ID:  7
ACPI-0698: *** Warning: Type override - [DEB_] had invalid type
(Integer) for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [MLIB] had invalid type
(Integer) for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [IO__] had invalid type
(Integer) for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [DATA] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [SIO_] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [SB__] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [ICNT] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [ACPI] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [IORG] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [SB__] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [SIO_] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [PM__] had invalid type (String)
for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [BIOS] had invalid type
(Integer) for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [CMOS] had invalid type
(Integer) for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [KBC_] had invalid type
(Integer) for Scope operator, changed to (Scope)
ACPI-0698: *** Warning: Type override - [OEM_] had invalid type
(Integer) for Scope operator, changed to (Scope)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0  irqs 0-15 on motherboard
ioapic1  irqs 16-31 on motherboard
ioapic2  irqs 32-47 on motherboard
kbd1 at kbdmux0
acpi0:  on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x508-0x50b on acpi0
cpu0:  on acpi0
acpi_throttle0:  on cpu0
cpu1:  on acpi0
acpi_throttle1:  on cpu1
acpi_throttle1: failed to attach P_CNT
device_attach: acpi_throttle1 attach returned 6
cpu2:  on acpi0
acpi_throttle2:  on cpu2
acpi_throttle2: failed to attach P_CNT
device_attach: acpi_throttle2 attach returned 6
cpu3:  on acpi0
acpi_throttle3:  on cpu3
acpi_throttle3: failed to attach P_CNT
device_attach: acpi_throttle3 attach returned 6
acpi_button0:  on acpi0
pcib0:  port 0xcf8-0xcff on acpi0
pci0:  on pcib0
pci0:  at device 2.0 (no driver attached)
em0:  port
0x8f00-0x8f3f mem 0xfe5a-0xfe5b irq 30 at device 4.0 on pci0
em0: Ethernet address: 00:30:48:52:d4:9e
isab0:  at device 15.0 on pci0
isa0:  on isab0
atapci0:  port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xffa0-0xffaf at device 15.1 on pci0
ata0:  on atapci0
ata1:  on atapci0
ohci0:  mem 0xfe5fe000-0xfe5fefff irq 10 at
device 15.2 on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0:  on ohci0
usb0: USB revision 1.0

Re: FreeBSD 6.0 compat with DL320 G4

2006-07-01 Thread Ted Mittelstaedt

- Original Message - 
From: "Antony Mawer" <[EMAIL PROTECTED]>
To: "William" <[EMAIL PROTECTED]>
Cc: "Antony Mawer" <[EMAIL PROTECTED]>; "Ted Mittelstaedt"
<[EMAIL PROTECTED]>; 
Sent: Thursday, June 29, 2006 11:07 PM
Subject: Re: FreeBSD 6.0 compat with DL320 G4


> On 30/06/2006 3:53 PM, William wrote:
> > Thanks for the email Antony, I'm awaiting delivery of the server so I
> > might have to order an intel card sharpish. What can I do the
> > server+fbsd 6.x to prove the lock up?
> >
> > Regards,
> > Will
>
> Configure the network card (bge0) and then do something to pass traffic
> across the network (eg. ping another host on the network). In our case,
> the machine booting at startup and the various network services starting
> up was enough to do it within seconds.
>

The patch I posted to the PR database fixes that problem.  Unfortunately
there
is another problem with the broadcom driver that affects many different
broadcom
chipsets, it's a timeout error.  I gave up trying to find that one.  The
timeout
error only affects certain broadcom chips.

> I have a copy of the Intel driver we used if you are looking to run this
> machine on FreeBSD 6.0 or 6.1; the standard driver in these releases
> will not support the Pro/1000 PT (at least the card we used).
>

You can order the PCI-X riser card for this server and use an Intel Pro 1000
MT Server
card and it will work out of the box with FreeBSD 6.1

Ted

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


Re: permissions in devfs.conf don't stick

2006-07-01 Thread Charles Howse


On Jul 1, 2006, at 12:16 PM, Anish Mistry wrote:


On Saturday 01 July 2006 11:54, Charles Howse wrote:

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?

man devfs.rules
http://am-productions.biz/docs/devfs.rules.php


Sorry, this just isn't working for me.

/etc/rc.conf contains:
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules"
devfs_system_ruleset="local_rules"

$ cat /etc/devfs.rules
[local_rules=10]
add path lpt0 mode 660 group wheel

devfs does not complain when I restart it.
I've tried:
'lpt*'
'lpt0*'

No matter what, the permissions revert to 600 when I reboot.
How about a little nudge in the right direction?  :)


--
Webmaster's Computer Page -
http://bubbabbq.homeunix.net/webmaster.html


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


permission denied on /dev/ttyd0

2006-07-01 Thread Yousef Raffah
Hello..

It's kinda strange though but I am getting a permission denied when I
try to read from the /dev/ttyd0 device although I have:

crw---  1 root  wheel0,  75 Jul  1 20:49 /dev/ttyd0
crw---  1 root  wheel0,  76 Jul  1 20:45 /dev/ttyd0.init
crw---  1 root  wheel0,  77 Jul  1 20:45 /dev/ttyd0.lock

I'm running the command minicom and here is my minicom configuration


lqqqk
x A -Serial Device  : /dev/ttyd0
x
x B - Lockfile Location : /var/run/ttyd0.lock
x
x C -   Callin Program  :
x
x D -  Callout Program  :
x
x E -Bps/Par/Bits   : 9600 8N1
x
x F - Hardware Flow Control : No
x
x G - Software Flow Control : No
x
x
x
xChange which setting?
x

mqqqj

Any idea what could be the reason?

Using FreeBSD 6.1-RELEASE-p1

Below is my kernel configuration file:

machine i386
cpu I686_CPU
ident   LAPTOP


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

options SCHED_4BSD  # 4BSD scheduler
options PREEMPTION  # Enable kernel thread
preemption
options INET# InterNETworking
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates
support
options UFS_ACL # Support for access control
lists
options UFS_DIRHASH # Improve performance on big
directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires
NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options GEOM_GPT# GUID Partition Tables.
options COMPAT_43   # Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options COMPAT_FREEBSD5 # Compatible with FreeBSD5
options SCSI_DELAY=5000 # Delay (in ms) before probing
SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in
debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in
debug
# output.  Adds ~215k to driver.
options ADAPTIVE_GIANT  # Giant mutex is adaptive.

device  apic# I/O APIC

device  eisa
device  pci

device  ata
device  atadisk # ATA disk drives
device  atapicd # ATAPI CDROM drives
options ATA_STATIC_ID   # Static device numbering



device  scbus   # SCSI bus (required for SCSI)
device  ch  # SCSI media changers
device  da  # Direct Access (disks)
device  cd  # CD
device  pass# Passthrough device (direct SCSI
access)
device  ses # SCSI Environmental Services (and
SAF-TE)

device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  kbdmux  # keyboard multiplexer

device  vga # VGA video card driver

device  splash  # Splash screen and screen saver support

device  sc
device  agp # support several AGP chipsets

device  apm
device  pmtimer

device  cbb # cardbus (yenta) bridge
device  pccard  # PC Card (16-bit) bus
device  cardbus # CardBus (32-bit) bus

device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  ppi # Parallel port interface device


device  miibus  # MII bus support

device  wlan# 802.11 support
device  wi  # WaveLAN/Intersil/Symbol 802.11
wireless NICs.

device  loop# 

Re: permissions in devfs.conf don't stick

2006-07-01 Thread Anish Mistry
On Saturday 01 July 2006 11:54, Charles Howse wrote:
> I've added the following to /etc/devfs.conf:
> own lpt0root:wheel
> permlpt00660
>
> Save that, then, # chmod 0660 /dev/lpt0
>
> When I reboot, the permissions revert to the default of 0600.
> Anyone know why that is?
man devfs.rules
http://am-productions.biz/docs/devfs.rules.php

-- 
Anish Mistry
[EMAIL PROTECTED]
AM Productions http://am-productions.biz/


pgp56bSIHwBuG.pgp
Description: PGP signature


Re: pf on freebsd 6.1 on DMZ in m0n0wall question

2006-07-01 Thread Darrin Chandler
On Sat, Jul 01, 2006 at 11:46:42PM +0800, jan gestre wrote:
> i recently installed and configured
> (postfix+dovecot+amavisd-new+clamav+dspam+roundcubemail) in my freebsd
> 6.1box, i placed the box in my dmz protected by m0n0wall, however i
> have no
> firewall on the mentioned box and i'm relying on m0n0wall to protect it. is
> that ok? i'm new to freebsd and read about pf and i'm having some thoughts
> of installing pf as firewall in my webmailserver but i'm afraid to mess
> things up especially now that the box is already a production server, do i
> really need to install a separate firewall? is it an overkill? if not then
> anybody kind enough to lend a working pf configuration that allows http,
> smtp and ssh, i've read the handbook but don't understand it much
> particularly the firewall thing.

I think you're right not to try this out on your production box. Pf is
nice, and I encourage you to use it, but *please* find a test machine!
Pf works well and it's pretty easy to learn, but you almost certainly
will make mistakes in the beginning.

In addition to the fine Handbook, there's a nice pf faq at
www.openbsd.org/faq/pf/ that explains a lot and has a few ruleset
examples.

If you learn your way on a test box it'll be a snap to put it in
production...

-- 
Darrin Chandler|  Phoenix BSD Users Group
[EMAIL PROTECTED]   |  http://bsd.phoenix.az.us/
http://www.stilyagin.com/  |
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CUPS, USB printers & "Permission Denied"

2006-07-01 Thread Jan-Espen Pettersen

> The problem is that read operations on usb printers might just
> block/hang with no data from the printer (?). ulpt doesn't have
> non-blocking I/O, so I've made a patch that simply times out read
> operations, and disables further reads if it detects a blocking/stall
> condition. It is possible that this breaks the back-channel, as I'm
> unsure if we can expect a printer to send inbound data before we
> actually write anything out?
>
> It looks like there are similar problems with other backends? I've only
> looked at the usb backend yet.
>
>   
Sorry, the attachment got cleared by mailman.
http://www.radiotube.org/patch-backend_usb-unix.c

Put it into /usr/ports/print/cups-base/files if you would like to test it.





signature.asc
Description: OpenPGP digital signature


Re: Root crontab for backup

2006-07-01 Thread Kevin Kinsey

Kostas Blekos wrote:
 
 Is it a bad idea to use root's crontab for backup scripts?
Is it better to put those scripts in periodic/... ? 


I can't think of any particular reason why it's bad; it's
the way I've always done it.  Mistakes I've made *might* have
been mitigated somewhat by placing them there; for example:

#min hr day mon wday command

15   03  *   *   *  /sbin/dump -L -0 -a -f - /usr | (cd /3;
/sbin/restore -ruvf - )

with "-v" and without a "> /dev/null 2>&1" was a big problem
(took a good while to dl root's email that day) :-D

The major advantage of periodic would be the built-in logging
functionality, should you choose to use it; cron's
advantage would be in flexibility (in regard to both
time assignment and script requirements).

My $.02,

Kevin Kinsey

--
The world is moving so fast these days that the man who says
it can't be done is generally interrupted by someone doing it.
-- E. Hubbard
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


pf on freebsd 6.1 on DMZ in m0n0wall question

2006-07-01 Thread jan gestre

hi to all,

i recently installed and configured
(postfix+dovecot+amavisd-new+clamav+dspam+roundcubemail) in my freebsd
6.1box, i placed the box in my dmz protected by m0n0wall, however i
have no
firewall on the mentioned box and i'm relying on m0n0wall to protect it. is
that ok? i'm new to freebsd and read about pf and i'm having some thoughts
of installing pf as firewall in my webmailserver but i'm afraid to mess
things up especially now that the box is already a production server, do i
really need to install a separate firewall? is it an overkill? if not then
anybody kind enough to lend a working pf configuration that allows http,
smtp and ssh, i've read the handbook but don't understand it much
particularly the firewall thing.

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


Re: Raid card for FreeBSD

2006-07-01 Thread Vulpes Velox
On Fri, 30 Jun 2006 10:27:48 +0900
"Steve Lee" <[EMAIL PROTECTED]> wrote:

> 
> > 
> > Sam Wun wrote:
> > > Hi,
> > > 
> > > I will host a mail server in FreeBSD 6.x. Since we are going to
> > > use Raid for mirroing, can anyone please recommend a RAID CARD
> > > that is fully compatible with FreeBSD? I found the following 
> > RAIDCARD sounds 
> > > good, what is your opinon about it?
> > > 
> > > http://www.cwol.com/serial-ata/rocketraid-2320-pci-express.htm
> > > 
> > 
> > I currently use Promise IDE and SATA cards on 4.x, 5.x and 
> > 6.x without problems.  They are cheap RAID cards, but they 
> > have decent performance, and support is pretty good.
> > 
> 
> Anyone succeeded with Silicon Image's 3124 chipset SATA Raid card
> on 6.1? It's cheap and good as well..

If that is the one I am thinking of, the last I have seen the chipset
had massive problems with time outs.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: CUPS, USB printers & "Permission Denied"

2006-07-01 Thread Jan-Espen Pettersen
Rainer Heesen --- wrote:
> I have a Minolta PagePro 1350 printer. When I use the workaround I get the 
> error 'raw printers cannot use file: devices!'
>
> Is there another workaround?
>
> [EMAIL PROTECTED] ~$ lpstat -d -p -t
> system default destination: Minolta
> printer Minolta disabled since Fri Jun 30 17:14:11 2006 -
> Raw printers cannot use file: devices!
> scheduler is running
> system default destination: Minolta
> device for Minolta: /dev/lpt0
> Minolta accepting requests since Fri Jun 30 17:14:11 2006
> printer Minolta disabled since Fri Jun 30 17:14:11 2006 -
> Raw printers cannot use file: devices!
> Minolta-47  rainer  195584   Fri Jun 30 17:14:11 2006
>
>
> --
> I found that the usb backend stalled here before actually doing any
> work. Before I've done any actual debugging of the backend, I suspect
> that it is being blocked on a status read attempt, though this is only
> my current guess.
>
> Here is a workaround:
>
> In printers.conf () you will probably find a line like this:
>
> DeviceURI usb:/dev/ulpt0
>
> change usb: to file:, so that it looks something like this:
>
> DeviceURI file:/dev/ulpt0
>
> Then restart cups. Cups will not read any status information from the
> printer, but at least it can print. Be warned about unknown side effects. :)
>
> Jan-Espen Pettersen
>
>   
The problem is that read operations on usb printers might just
block/hang with no data from the printer (?). ulpt doesn't have
non-blocking I/O, so I've made a patch that simply times out read
operations, and disables further reads if it detects a blocking/stall
condition. It is possible that this breaks the back-channel, as I'm
unsure if we can expect a printer to send inbound data before we
actually write anything out?

It looks like there are similar problems with other backends? I've only
looked at the usb backend yet.

Jan-Espen Pettersen



signature.asc
Description: OpenPGP digital signature


Re: one more question, related to java/CLASSPATH

2006-07-01 Thread Micah

Jim Stapleton wrote:

OK, sorry for being a continuous bother on this, but google is
failling me, and I cannot find a reason for this issue. Java will not
run an app, and everything I've read says that "." should be in the
classpath to make it work, so I'm thinking this is a BSD-Java
implementation related issue. Any ideas?


[EMAIL PROTECTED] 11:54:17 (0) ~/dev/java/test > java -classpath . test.java
Exception in thread "main" java.lang.NoClassDefFoundError: test/java
[EMAIL PROTECTED] 11:54:27 (0) ~/dev/java/test > java -version
java version "1.5.0-p3"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p3-root_01_jul_2006_07_53)
Java HotSpot(TM) Client VM (build 1.5.0-p3-root_01_jul_2006_07_53, mixed 
mode)

[EMAIL PROTECTED] 11:54:43 (0) ~/dev/java/test > ls
test.class  test.java


I don't know what other info to send. Running 6.1, the specific port
was ports/java/jdk15


Thanks,
-Jim


Java expects the name of a class, not the name of a file. You should 
invoke your test using "java test"
The command "java test.java" is trying to execute a class named "java" 
in the "test" package.


FWIW my classpath is: 
./:/usr/local/share/java/classes/junit.jar:/usr/local/freetts/lib/


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


Re: one more question, related to java/CLASSPATH

2006-07-01 Thread Jim Stapleton

OK, sorry for being a continuous bother on this, but google is
failling me, and I cannot find a reason for this issue. Java will not
run an app, and everything I've read says that "." should be in the
classpath to make it work, so I'm thinking this is a BSD-Java
implementation related issue. Any ideas?


[EMAIL PROTECTED] 11:54:17 (0) ~/dev/java/test > java -classpath . test.java
Exception in thread "main" java.lang.NoClassDefFoundError: test/java
[EMAIL PROTECTED] 11:54:27 (0) ~/dev/java/test > java -version
java version "1.5.0-p3"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.5.0-p3-root_01_jul_2006_07_53)
Java HotSpot(TM) Client VM (build 1.5.0-p3-root_01_jul_2006_07_53, mixed mode)
[EMAIL PROTECTED] 11:54:43 (0) ~/dev/java/test > ls
test.class  test.java


I don't know what other info to send. Running 6.1, the specific port
was ports/java/jdk15


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


permissions in devfs.conf don't stick

2006-07-01 Thread Charles Howse

I've added the following to /etc/devfs.conf:
own lpt0root:wheel
permlpt00660

Save that, then, # chmod 0660 /dev/lpt0

When I reboot, the permissions revert to the default of 0600.
Anyone know why that is?

--
Bubba's Funny Stuff -
http://bubbabbq.homeunix.net/humor.html


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


Root crontab for backup

2006-07-01 Thread Kostas Blekos
 
 Is it a bad idea to use root's crontab for backup scripts?
Is it better to put those scripts in periodic/... ? 

-- 
Kostas Blekos   
GPGKey = 1398 1AB3 483E B2DF 3A2D  95F4 7534 E392 012E 6167
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Questions on EXT3 vs standard BSD partitions

2006-07-01 Thread RW
On Friday 30 June 2006 17:44, Jim Stapleton wrote:
> I have to move between BSD and Linux on one system quite a bit, and I
> was wondering if there  were any reasons to avoid EXT3 on a filesystem
> (such as /dev/ad0s1), as opposed to using the more standard BSD setups
> (such as UFS on /dev/ad0s1a)? I'm thinking mostly in terms of
> reliability, but also in terms of flexibility and speed.

I haven't tried recently, but a year or so ago FreeBSD could not use ext3 as 
such. There is a port that adds ext3 fsck support for syncing the journal, 
FreeBSD can then mount it as ext2. The problem with that is that you then 
have a choice between reliability and decent write speed according to whether 
you mount it  synchronously or asynchronously.

I found that even having an  ext3 transfer partition  that's  mounted by 
default was a bit of a pain, because without a journal or softupdates, 
booting after a crash can take a long time. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FBSD 4 series

2006-07-01 Thread Jacques S.

Anish Mistry wrote:

On Thursday 29 June 2006 08:09, Bill Moran wrote:

In response to Colin Percival <[EMAIL PROTECTED]>:

Bill Moran wrote:

Anish Mistry <[EMAIL PROTECTED]> wrote:

http://security.freebsd.org/

You should be transitioning to 6.x now/soon.

???

4.11 will be supported for another 18 months.

Last time I looked at my calendar, January 31st, 2007 was only 7
months away.

Oops ... what happened to 2005?

Apparently, I shouldn't do calendar math so early in the morning.

However, my point still stands.  I've got 2 pieces of hardware
still running 4.11, and both are scheduled for replacement before
the end of this year.  If anyone has a good reason for me to take
the time to upgrade these before they're replaced, I'd enjoy being
corrected, as my current plan is to simply replace them with 6.1
machines when the new hardware arrives.

Sounds like what most of us with 4.11 systems are planning on doing.



Just a 'me too' here.
Seems to me a lot of FreeBSD users seem to be knee-jerk early adopters, 
and too quick to advise others to go and do likewise.
I appreciate seeing the more reasoned approach recommended in response 
to this op.


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


Re: user rights

2006-07-01 Thread albi
On Sat, 1 Jul 2006 14:19:38 +0100
eoghan <[EMAIL PROTECTED]> wrote:

> I want to be able to edit stuff in my /public_html folder as a
> normal user. What permissions (group) do I need to add for this user.
> I have www already but the /home/user/public_html/ is still read only.

you need 755 (or 705) on your home-directory itself

the rest (in your public_html) should be 644 for files and 755 for
sub-directories

-- 
The Internet: where men are men, women are men, and children are FBI
agents.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: questions

2006-07-01 Thread Kevin Kinsey

Wei Chong Yeo wrote:
1)May I know the threading model of FreeBSD 6? Is it user, kernel or hybrid? 


FreeBSD 5 included the first work with "Kernel Scheduled Entities", a
"kernel-supported threading system similar in design to Scheduler 
Activations".  IANAE, but probably "hybrid" is the best answer.


http://www.freebsd.org/cgi/man.cgi?query=kse&apropos=0&sektion=0&manpath=FreeBSD+5.0-current&format=html
http://www.freebsd.org/kse/index.html
http://www.aims.net.au/chris/kse/

   
  2)Could you also tell me the difference between FreeBSD 5.0, 6.0 and the 

>  future version?

The higher the number, the better it is :-D

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/version-guide/index.html
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/5-roadmap/index.html

and

http://www.freebsd.org/cgi/cvsweb.cgi/   ;-)



also how is it different from Windows?
 


Now, that's a religious question. ;-)

I can point you here,

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/explaining-bsd/index.html

but it's a tad old.  Gotta run, good luck
with your "questions"!

Kevin Kinsey

--
One can't proceed from the informal to the formal by formal means.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


user rights

2006-07-01 Thread eoghan

Hi
I want to be able to edit stuff in my /public_html folder as a normal  
user. What permissions (group) do I need to add for this user.

I have www already but the /home/user/public_html/ is still read only.
Thanks
Eoghan
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Siemens Santis WLAN PC Card

2006-07-01 Thread Csabi
Hello,

A couple of days ago i`ve got this SIEMENS SANTIS
802.11b 11Mbps WLAN PCCard.
Since then I`m searching for a way to use it but
failed miserably... couldn`t find anything searching
the net and archives and I couldn`t interpret the
'pccard dumpcis' either so i could use with 'pccard
enabler' (maybe it`s not allways possible?)

My questions would be:
1. Did anyone used or using this type of PCCARD on
FreeBSD? If yes, how?
2. Could anyone give me some hints how to 'pccardc
enabler' this adapter using the info from the dumpcis
tuples?

I`m using FreeBSD 5.3-RELEASE i386.
--- begin pccardc dumpcis ---
Configuration data for card in slot 0
Tuple #1, code = 0x17 (Attribute memory descriptor),
length = 3
   000:  d9 01 ff
   Attribute memory device information:
   Device number 1, type Function specific, WPS =
ON
   Speed = 250nS, Memory block size = 2Kb, 1 units
Tuple #2, code = 0x1d (Other conditions for attribute
memory), length = 4
   000:  03 d9 01 ff
   (MWAIT) (3V card)
Tuple #3, code = 0x20 (Manufacturer ID), length = 4
   000:  00 00 00 00
   PCMCIA ID = 0x0, OEM ID = 0x0
Tuple #4, code = 0x21 (Functional ID), length = 2
   000:  06 00
   Network/LAN adapter
Tuple #5, code = 0x15 (Version 1 info), length = 23
   000:  05 00 53 41 4e 54 49 53 00 57 4c 41 4e 20 50
43
   010:  20 43 61 72 64 00 ff
   Version = 5.0, Manuf = [SANTIS], card vers = [WLAN
PC Card]
Tuple #6, code = 0x1a (Configuration map), length = 6
   000:  01 02 00 08 03 ff
   Reg len = 2, config register addr = 0x800, last
config = 0x2
   Registers: XX-- 1 bytes in subtuples
Tuple #7, code = 0x1b (Configuration entry), length =
16
   000:  c1 81 9d 71 b5 1e 2e 2e 2d fc 14 45 10 b8 ff
20
   Config index = 0x1(default)
   Interface byte = 0x81 (I/O)  wait signal supported
   Vcc pwr:
   Nominal operating supply voltage: 3 x 1V, ext =
0x1e
   Max current average over 1 second: 2.5 x 100mA
   Max current average over 10 ms: 2.5 x 100mA
   Power down supply current: 2.5 x 10mA
   Wait scale Speed = 1.2 x 10 us
   Card decodes 5 address lines, limited 8/16 Bit I/O
   IRQ modes:
   IRQs:  3 4 5 7 8 9 10 11 12 13 14 15
   Max twin cards = 0
   Misc attr: (Power down supported)
Tuple #8, code = 0xff (Terminator), length = 0
2 slots found
--- end pccardc dumpcis ---

Any help or suggestion is welcome and thank you!
Best regards,
Csabi

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
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: batching port builds

2006-07-01 Thread Javier Echaiz

You can put BATCH=yes in your /etc/make.conf

The settings for each port (if it has something to config) are stored
in /var/db/ports/{port dir name}/options (just in case you want to see
what the port assumed).

If you want to configure ports (with than ncurses blues screen)
sometimes and assume defaults in other cases perhaps you should try
portupgrade -m BATCH=yes  on a need basis.

As David suggested you can always do "make config-recursive install
clean", to answer all the option questions before the port builds.

Warmly,
Javier


On 30/06/06 David J Brooks said:

If you  do 'make -DBATCH' instead of 'make' -  you will use the preset
defaults for each port with options. Or you can do
'make config-recursive' - which will offer you all the option screens for
the port in whose directory you're currently in and all its dependencies.

See 'man ports' for more information.

To use those with 'portupgrade -a' will probably take some custom scripting.


Ah, so there's no make.conf option for this?

Thanks,
Mike

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


Re: FreeBSD 6.1 amd64 (Intel EMT64) and Samba 3

2006-07-01 Thread albi
On Sat, 1 Jul 2006 12:05:06 - (GMT)
"DSA - JCR" <[EMAIL PROTECTED]> wrote:

> I have made also a portupgrade -a in order to upgrade all the ports
> of the system but I have always the same problem with samba I can get
> it to work When I use Swat i always get:
> 
> /libexec/ld-elf.so.1: /usr/local/lib/libcups.so.2: unsupported file
> layout
> 
> I have the last Samba 3.22 from ports, and rebuilded all of them.
> 
> I have to say that some ports have errors and can not be builded.
> (really I don't know which one of them, because the screen runs very
> quickly. It seems that Samba is ok, because i run portupgrade -F
> Samba and get nothing like if it were updated.

get those errors reported to a file, probably :

# portupgrade -arvy 1>report.1.txt 2> report.2.txt
# tail -f report.1.txt

will do

i also recommend using portmanager, it's excellent and handles
dependencies very well !

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


FreeBSD 6.1 amd64 (Intel EMT64) and Samba 3

2006-07-01 Thread DSA - JCR
Hi all again

I am trying to install Samba in a computer with the above conf but I can´t.

I have made also a portupgrade -a in order to upgrade all the ports of the
system but I have always the same problem with samba I can get it to work
When I use Swat i always get:

/libexec/ld-elf.so.1: /usr/local/lib/libcups.so.2: unsupported file layout

I have the last Samba 3.22 from ports, and rebuilded all of them.

I have to say that some ports have errors and can not be builded. (really
I don't know which one of them, because the screen runs very quickly.
It seems that Samba is ok, because i run portupgrade -F Samba and get
nothing like if it were updated.

How can I solve this?

Is this because the amd64 flavour and is better to run the i386 one?

somebody has experienced FreeNAS? because if this is very problematic I
must think in another options, I must give the computer to my customer.




thanks in advance and best regards

Juan Coruña
Desarrollo de Software Atlantico



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


Atheros 5414 chipset

2006-07-01 Thread Erik Nørgaard
Hi:

I posted this one week ago, but no reply, I found a similar post in the
hardware list's archive from February, also no reply:

Is the Atheros 5414 chipset supported by the ath driver? (FBSD 6.1)

The ath/ath_hal man-pages only mentions 52XX chipsets, but maybe they
have not been updated.

Googling, I found another post from Sam Leffler, also from february on
the stable-list, about a patch for ath_hal that is needed for the newer
5414 chipset, that he hoped to have committed before the 6.1 release,
but the link to the patch is blind.

Can anyone confirm if the newer chipset is supported, or tell where the
patch is available?

Thanks, Erik
-- 
Ph: +34.666334818  web: http://www.locolomo.org
X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt
Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9


smime.p7s
Description: S/MIME Cryptographic Signature


questions

2006-07-01 Thread Wei Chong Yeo
1)May I know the threading model of FreeBSD 6? Is it user, kernel or hybrid? 
   
  2)Could you also tell me the difference between FreeBSD 5.0, 6.0 and the 
future version? also how is it different from Windows?
   
  Thanks. I'll be looking forward to hearing from you.
   
  yours faithfully
  Wei Chong


-
 
 Real people. Real questions. Real answers. Share what you know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Linux shared libs on FreeBSD

2006-07-01 Thread bill

Hello everyone,

We have a third-party php extension that we need to use for a  
specific application here. The extension is compiled for Linux, but  
it appears that its possible to use them in FreeBSD under the Linux  
emulation.


Its not working out so well for us, unfortunately. Here's what I've  
done, and hopefully someone can point out where we've gone wrong and  
maybe suggest a fix:


1) the PHP .so has been branded using: brandelf -t Linux 

2) linux compatibility is enabled, linprocfs is mounted, etc.

3) the port linux_base-8-8.0_14 is installed and seems to be working  
properly.


I think that should about do it, no?

Here's what happens when apachectl start runs:

PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/ 
lib/php/20020429/php4_cybersource.so' - Shared object  
"libgcc_s.so.1" not found, required by  
"php4_cybersource.so" in Unknown on line 0
PHP Warning:  Unknown(): Unable to load dynamic library '/usr/local/ 
lib/php/20020429/php4_cybersource.so' - Shared object  
"libgcc_s.so.1" not found, required by  
"php4_cybersource.so" in Unknown on line 0
[Thu Jun 29 04:51:29 2006] [notice] Apache/1.3.36 (Unix) PHP/4.4.2  
mod_ssl/2.8.27 OpenSSL/0.9.7e-p1 configured -- resuming normal  
operations

[Thu Jun 29 04:51:29 2006] [notice] Accept mutex: flock (Default: flock)

And so, libgcc_s.so.1 really exists at /usr/compat/linux/lib/ 
libgcc_s.so.1. If I go as far as symlink it into the native freebsd  
ld path, then it finds it and doesn't complain. I end up having to do  
this with about 4 or 5 other libraries until eventually it stops  
complaining about missing libraries and starts complaining about  
missing symbols within the libraries.


That's about when I stop trying to accommodate it because that's just  
getting out of hand, eh? I'm thinking that linux compatibility is not  
even playing a role in what's going on.


So that's where we are now. It would be nice to use this library, but  
the company also has a java implementation, so we might have to use  
that in a pinch. But it really would be nice to get it running within  
php.


Thanks for any help. I am not subscribed to this list for followup  
purposes.


Best wishes,
William

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


Re: Intel PRO/1000 PT

2006-07-01 Thread Randall Stewart

Nikolas Britton wrote:

What are the difference between the Intel PRO/1000 PT Server and
Desktop Adapters?

Intel PRO/1000 PT Server Adapter: $130 ~ 150
Intel PRO/1000 PT Desktop Adapter: $40 ~ 60

Both use the i82572EI chip and both appear to use the same PCB. Would
I be correct in assuming it's a marketing scam to get 2.5 times the
price for the same device?



Nikolas:

I have been told by friends who have tested
the two.. if you use the desktop one you will
have packet loss and really not be able to get
hi performance on it... the server adaptor, however,
is much better will do a gig throughput.. don't
know what the physical diff is .. must have scrimpted
on the parts :-0

Note, I have gone through 5 of these puppy's getting
3 that work... at least they worked when I tested them
finally... 2 of the first 3 arrived with check-sum failures.

I could disable the checksum and make them work sort of.. but
then they all had a bogus mac address... I also followed
advice on the web and "re-flashed" the cards.. had to build
a windoz boot disk for this :-0.. but that did not work..

I returned two of them.. got two more.. and one came in bad.. but
re-flashing worked... very strange :-0

Good luck if you get them.. I have not taken the time to go
and play with mine yet.. once I got 3 that worked I began
a travel stint :-0

R

--
Randall Stewart
NSSTG - Cisco Systems Inc.
803-345-0369  815-342-5222 (cell)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Intel PRO/1000 PT

2006-07-01 Thread Nikolas Britton

What are the difference between the Intel PRO/1000 PT Server and
Desktop Adapters?

Intel PRO/1000 PT Server Adapter: $130 ~ 150
Intel PRO/1000 PT Desktop Adapter: $40 ~ 60

Both use the i82572EI chip and both appear to use the same PCB. Would
I be correct in assuming it's a marketing scam to get 2.5 times the
price for the same device?


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


source to the nym.alias.net nymserver

2006-07-01 Thread nymserv source
Some extremely brief instructions on setting up a nym.alias.net style
nym server.  This assumes you already know about remailers and DNS,
and sendmail, and have already setup the appropriate DNS records
(either A or MX) to receive mail at a "nym" domain name on your
machine.

Make sure you have perl5.003 or later, installed with the DB_File
module.  Don't forget to run h2ph when installing perl (cd
/usr/include; h2ph *.h sys/*.h).  If you don't have DB_File, get db
from ftp.cs.berkeley.edu:/ucb/4bsd/db.1.85.tar.gz, install it, and
then reinstall perl so that the DB_File module is available.

Make sure you also have a type 1 remailer running.  By default, the
type1 remailer executable is assumed to be at /usr/remail/remailer.
If you are using the ghio2 remailer, you will need to add the
following lines at the start of the main procedure (also make sure you
define PGPPATH as it will be needed for access to the randseed.bin
file):

  int lockfd;

  umask (007);
  lockfd = open (DIR "/lock", O_CREAT|O_WRONLY, 0777);
  flock (lockfd, LOCK_EX);
#ifdef PGPPATH
  strcpy(input,"PGPPATH=");
  strcat(input,PGPPATH);
  putenv(input);
#endif

Create a new userid/groupid under which to run the nym.  Call it
nymuser.

Create a directory for your nym server to reside in, for example
/usr/nym.  Copy the nymserv perl script into /usr/nym, and make three
subdirectories of /usr/nym:  pgp, queue, and users.  Make sure pgp,
queue, and users are writeable by user nymuser.

Create a PGP key for your nymserver as follows:

   setenv PGPPATH /usr/nym/pgp
   pgp -kg

Put the corresponding PGP passphrase in the file pgp/passphrase.

Create files /usr/nym/users/postmaster.forward and
/usr/nym/users/admin.forward which contain your real E-mail address.
Create a file users/remailer-key.reply which contains the PGP public
key you just created.  Create a ring prototype file.

   echo 'From: [EMAIL PROTECTED]' > users/remailer-key.reply
   echo 'Subject: PGP key for nym.alias.net' >> users/remailer-key.reply
   echo '' >> users/remailer-key.reply
   pgp +pubring=pgp/pubring.pgp -fkxa >> users/remailer-key.reply

   cp pgp/pubring.pgp ring-proto.pgp

Edit the first few lines of the nymserv executable to set your machine
name and domain name of your nym server.  Make sure you also have
md5sum (if not, get textutils from prep.ai.mit.edu:/pub/gnu).

If you have an A record for your nymserver, set up finger support.
Put a line like this in /etc/inetd.conf:

finger  stream  tcp nowait  nymuser /usr/nym/nymserv nymserv -fingerd

Finally, make a new sendmail.cf file which sends all mail to the nym
domain name through the nymserver.  What follows is an example ".mc"
file suitable for use with sendmail 8.7.5.

---
divert(-1)

# Example sendmail configuration for a nymserver

include(`../m4/cf.m4')

dnl
dnl  Set your Operating system type below
dnl
OSTYPE(solaris2)dnl

dnl
dnl  These flags are necessary to encure privacy (and to prevent nym
dnl  from lines from being rewritten with names of actual users in the
dnl  password file):
dnl
define(`confPRIVACY_FLAGS',
`novrfy,noexpn,noreceipts,restrictmailq,restrictqrun')dnl
define(`confFROM_HEADER', `$g')dnl
define(`confLOG_LEVEL', `1')dnl
define(`confTO_IDENT', `0s')dnl
define(`HReceived', `H?R?Received')dnl

dnl
dnl  Recommended:
dnl
define(`confMIME_FORMAT_ERRORS', `False')dnl

dnl
dnl  Uncomment the following line if you want procmail used for local
dnl  mail:
dnl
dnl  FEATURE(local_procmail)

PUSHDIVERT(7)dnl

##
###   alias mailer specification   ###
##

dnl
dnl  Note here that  should be changed to the user ID of the nym
dnl  user, and  should be changed to the group ID of that user.
dnl
Mnym,   P=/usr/nym/nymserv, F=DFMehluS, L=255, T=X-Unix,
U= , S=10/30, R=20/40,
A=nymserv -d $u

POPDIVERT`'dnl

MAILER(local)dnl
MAILER(smtp)dnl

LOCAL_RULE_0

dnl
dnl  Replace nym.alias.net with the actual name of your nymserver.
dnl
# Redirect the alias mail to the alias mailer
R$+<@nym.alias.net.>$#nym $: $1
---

And here is the nymserv perl script:

#!/usr/local/bin/perl -Tw
# $Revision: 1.112 $

#
# nymserv email pseudonym server
# email/finger <[EMAIL PROTECTED]> for installation instructions
# email/finger <[EMAIL PROTECTED]> for a copy of the license
# 
# Copyright 1996-1998 David Mazieres
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GN