Re: Canon printer and TurboPrint

2006-12-07 Thread Chandan Haldar

Couldn't fix it with the time I could spend... so still saving printouts for
Windoz.  :-(  I know, I know, it's a shame...

On 12/8/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:


On Thu, Jun 29, 2006 at 08:59:51PM +0530, Chandan Haldar wrote:
> I'm searching for ways to print on a Canon PIXMA IP8500
> from FreeBSD 6.0 Release.
>
> Has anyone tried to make the linux driver for PIXUS IP 8600
> from canon.jp work for the PIXMA IP 8500 on FreeBSD?
>
> Has anyone tried the TurboPrint linux driver on FreeBSD?
> I need it bad enough to even buy this Euro 30 driver if
> it works on FreeBSD.
>
> It's incredibly annoying to have to boot Win just to print
> :-(.
>
> Chandan

How do you print on your Canon PIXMA?
I have a Canon PIXMA iP 2000 and the same problem.

Elisej Babenko
___
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: access wikipedia (walk through the great firewall of China)

2006-12-07 Thread Matthew Seaman
??? wrote:
> Hello. My office use this method to access wikipedia behind the great
> firewall of China:
> 
> 1) we have a server in europ, let's call it server;
> 2) I run this command on my desktop:
> $ ssh -L 80:en.wikipedia.org:80 server;
> 3) everybody in the office edit /etc/hosts, add this line:
> [my_ip_addr] en.wikipedia.org
> 
> So my computer become a 'proxy'.
> 
> The trouble is I have to keep the ssh running there. The 'proxy' will
> not automatically set up next time I reboot my computer.
> 
> Is it possible to install some software to run as a daemon and do this
> proxy?
> 
> I think of stunnel, but I have too few knowledge to know if stunnel can
> do this.

There are two general possibilities here:

  a) A Web cache/proxy -- squid is the canonical example, but you can
 do this sort of stuff in apache very readily.  I think apache 
 would be a good place for you to start, as most sysadmins have
 at least a passing acquaintance with its configuration.

 You'ld need set up a proxy on your European server to redirect
 any web traffic to en.wikipedia.org -- your users would use the
 service exactly as they do at the moment, but they'd put the
 IP of the European server into their hosts file, rather than
 your desktop.  If that is a problem, then you can chain together
 a series of proxies starting with your desktop machine, then
 the European server -- but performance may be a tad slow.

  b) IPsec or other VPN tunnel between your server in Europe and a
 local firewall -- preferably your local firewall should be on
 the egress path from your LAN.  Then you can arrange routing
 so that packets to destinations in Europe pass through the 
 tunnel and use your European server as the gateway to the
 internet.  In this case, there shouldn't be any need for your
 users to have to spoof the address of en.wikipedia.org in 
 their hosts files.  IPSec comes standard with FreeBSD, but
 you'ld probably want to combine it with pf(4) or other firewall
 software which you can use to control redirecting appropriate
 packets through your tunnel.  If IPSec is too mind-mangling
 for you, OpenVPN (in ports) is a pretty good alternative.

 You'll almost definitely want to configure a NAT gateway on
 the European server.
 
Either of these solutions will run automatically on system startup, if
so configured.  Option (a) will send your web traffic across the net
in clear-text unless you can chain two proxies together and get creative
about using HTTPS.  Or you can combine both approaches: use a local HTTP
proxy with a VPN tunnel to your European server.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: access wikipedia (walk through the great firewall of China)

2006-12-07 Thread 张韡武
在 2006-12-08五的 14:25 +0800,张韡武写道:
> Hello. My office use this method to access wikipedia behind the great
> firewall of China:
> 
> 1) we have a server in europ, let's call it server;
> 2) I run this command on my desktop:
> $ ssh -L 80:en.wikipedia.org:80 server;
> 3) everybody in the office edit /etc/hosts, add this line:
> [my_ip_addr] en.wikipedia.org
> 
> So my computer become a 'proxy'.
> 
> The trouble is I have to keep the ssh running there. The 'proxy' will
> not automatically set up next time I reboot my computer.
> 
> Is it possible to install some software to run as a daemon and do this
> proxy?
> 
> I think of stunnel, but I have too few knowledge to know if stunnel can
> do this.

Forgot to mention another requirement is to be able to automatically
re-connect if the ssh connection drops. It's difficult to maintain a
connection the whole day..

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


access wikipedia (walk through the great firewall of China)

2006-12-07 Thread 张韡武
Hello. My office use this method to access wikipedia behind the great
firewall of China:

1) we have a server in europ, let's call it server;
2) I run this command on my desktop:
$ ssh -L 80:en.wikipedia.org:80 server;
3) everybody in the office edit /etc/hosts, add this line:
[my_ip_addr] en.wikipedia.org

So my computer become a 'proxy'.

The trouble is I have to keep the ssh running there. The 'proxy' will
not automatically set up next time I reboot my computer.

Is it possible to install some software to run as a daemon and do this
proxy?

I think of stunnel, but I have too few knowledge to know if stunnel can
do this.

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


Rejected posting to [EMAIL PROTECTED]

2006-12-07 Thread L-Soft list server at LISTS.WAYNE.EDU (1.8d)
You  are   not  authorized  to   send  mail  to   the  SACME  list   from  your
[EMAIL PROTECTED] account. You might be authorized to send to the list from
another of  your accounts,  or perhaps  when using  another mail  program which
generates slightly  different addresses, but  LISTSERV has no way  to associate
this other account or address with yours. If you need assistance or if you have
any question  regarding the policy of  the SACME list, please  contact the list
owners: [EMAIL PROTECTED]

 Rejected message (81 lines) --
Received: from mirapointmr1.wayne.edu (IDENT:[EMAIL PROTECTED] [141.217.1.108])
by listserv-new.wayne.edu (8.12.10+Sun/8.12.10) with ESMTP id 
kB86KDNg025776
for <[EMAIL PROTECTED]>; Fri, 8 Dec 2006 01:20:13 -0500 (EST)
Received: from freebsd.org (cit001-40674-rtr-adsl-172.altohiway.com 
[213.83.127.172] (may be forged))
by mirapointmr1.wayne.edu (MOS 3.7.5-GA)
with ESMTP id DBS13993;
Fri, 8 Dec 2006 01:20:10 -0500 (EST)
Message-Id: <[EMAIL PROTECTED]>
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Returned mail: see transcript for details
Date: Fri, 8 Dec 2006 06:20:16 +
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.
Content-Type: multipart/mixed; boundary="MIRAPOINT_PART1_4579041d"
X-Mirapoint-Virus: VIRUSDELETED;
host=mirapointmr1.wayne.edu;
attachment=[2.2];
virus=W32/MyDoom-O
X-Junkmail-Status: score=10/50, host=mirapointmr1.wayne.edu
X-Junkmail-SD-Raw: score=unknown,
refid=str=0001.0A090207.45790301.000C,ss=1,fgs=0,
ip=213.83.127.172,
so=2006-03-30 10:46:40,
dmn=5.2.125/2006-10-10

This is a multi-part message in MIME format.

--MIRAPOINT_PART1_4579041d
Content-Type: text/plain

WARNING!!! (from mirapointmr1.wayne.edu)

The following message attachments were flagged by the antivirus scanner:

Attachment [2.2] document.scr, virus infected: W32/MyDoom-O.  Action taken: 
deleted

--MIRAPOINT_PART1_4579041d
Content-Type: multipart/mixed;
boundary="=_NextPart_000_0006_D2ABD7C9.8DCCA0AA"

--=_NextPart_000_0006_D2ABD7C9.8DCCA0AA
Content-Type: text/plain;
charset=us-ascii
Content-Transfer-Encoding: 7bit

The message was undeliverable due to the following reason:

Your message was not delivered because the destination server was
not reachable within the allowed queue period. The amount of time
a message is queued before it is returned depends on local configura-
tion parameters.

Most likely there is a network problem that prevented delivery, but
it is also possible that the computer is turned off, or does not
have a mail system running right now.

Your message was not delivered within 5 days:
Mail server 64.166.95.110 is not responding.

The following recipients did not receive this message:
<[EMAIL PROTECTED]>

Please reply to [EMAIL PROTECTED]
if you feel this message to be in error.


--=_NextPart_000_0006_D2ABD7C9.8DCCA0AA
Content-Type: text/plain

VIRUS WARNING Message (from mirapointmr1.wayne.edu)

The virus W32/MyDoom-O was detected in email attachment [2.2] document.scr.  
The infected attachment has been deleted.

--=_NextPart_000_0006_D2ABD7C9.8DCCA0AA--

--MIRAPOINT_PART1_4579041d--

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


how do I do this "special proxy"?

2006-12-07 Thread 张韡武
Hello. I know this question must have been asked on the list, I simply
don't know how to describe my problem with good English so that I can
start a google search.

We got a Windows file server in the next office, I have a FreeBSD host
in my office. I wish to let it listen on 135/139 port (I am not sure
which one is used for Windows file sharing), and forward any request to
the Windows file server as if this FreeBSD is accessing the windows
share itself. Also it forward the packet from Windows share server to
client. To the client, the FreeBSD host IS the windows share server.
However the Windows share server always think the FreeBSD host is the
client. So this is a proxy I guess.

Is it possible?

I ask this because I wish to access these files at home, but my home ISP
block access to the Windows share server for ISP competition reason.
Luckily I have a FreeBSD server in my office connected to both competing
ISP. I think I can configure this FreeBSD act as a "proxy" to access the
Windows share.

P.S. Complain to these governmental ISP won't work. This is in China.

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


Re: Canon printer and TurboPrint

2006-12-07 Thread a
On Thu, Jun 29, 2006 at 08:59:51PM +0530, Chandan Haldar wrote:
> I'm searching for ways to print on a Canon PIXMA IP8500
> from FreeBSD 6.0 Release.
> 
> Has anyone tried to make the linux driver for PIXUS IP 8600
> from canon.jp work for the PIXMA IP 8500 on FreeBSD?
> 
> Has anyone tried the TurboPrint linux driver on FreeBSD?
> I need it bad enough to even buy this Euro 30 driver if
> it works on FreeBSD.
> 
> It's incredibly annoying to have to boot Win just to print
> :-(.
> 
> Chandan

How do you print on your Canon PIXMA?
I have a Canon PIXMA iP 2000 and the same problem.

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


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-12-07 Thread Dieter
> > > > > > > > hw.ata.wc=3D3D3D3D0
> > > > > > > ^^^
> > > > > > > "Make my hard drive go rally slow please (just in case I cr=
> ash)=3D
> > > " :)
> > > > > >=3D3D20
> > > > > > Slower, yes, but not *that* slow.
> > > > > >=3D3D20
> > > > > > Normal ls : 0.032 second.  Two processes using same disk, multipl=
> y by=3D
> > >  two,
> > > > > > so 0.064 second.  Maybe the multiplier is more than 2, call it 10=
> x, so
> > > > > > 0.32 second.  But I'm seeing a factor of over 9100x.
> > > > >=3D20
> > > > > Humour me and turn it back on, then see what happens.
> > > >=3D20
> > > > Where is the knob to turn the write cache on/off on a per-drive basis
> > > > in FreeBSD?  I can do this in NetBSD, but the only knob I can find in
> > > > FreeBSD affects all drives, and requires a reboot.
> > >=20
> > > Yes, I think you need to do it globally at boot time.
> > >=20
> > > > Humour me and read the Subject line.  The ls does not get its fair sh=
> are
> > > > of disk I/O.
> > > >=3D20
> > > > Both times are with the disk's write cache in write-through mode.
> > > > I'm not comparing times with the write cache in different modes.
> > > > I'm comparing ls by itself against ls competing with cp.
> > >=20
> > > Your cp is going to be running synchronously, i.e. spend a lot of time
> > > waiting on the disk to perform the writes.  This may well be the cause
> > > of your problem.  Once we have established whether or not it is the
> > > cause, we can proceed to whether this behaviour can be improved.
> >=20
> > I submitted PR 106340 asking for a way to control the disk write cache on
> > a per disk basis like NetBSD can.  Meanwhile, I added a PATA via USB disk,
> > which judging from the write speed, appears to be immune from hw.ata.wc=
> =3D0.
> >=20
> > So I now have a disk which has the write cache on, is connected via a dif=
> ferent
> > controller, and thus uses a different device driver.
> >=20
> > I still see the same problems.  Writing to one disk *significantly* slows=
>  down
> > writing to another disk.  Even if one process is at normal default priori=
> ty
> > and the other is running at rtprio 5.  Regardless of which process uses t=
> he
> > USB disk and which uses the direct-to-chipset disk.  Even if the rtprio 5
> > process only needs a very small fraction of the disk bandwidth, it still =
> gets
> > slowed down to the point that data is lost.
> >=20
> > My current SWAG is that writing to a disk requires some spl/mutex/lock th=
> at
> > is global across all disks on the system.  And this spl/mutex/lock is a
> > bottleneck.
> 
> In the case of USB devices, yes - all USB accesses require Giant so
> all USB I/O is serialized.  This isn't true in general though, unless
> you have debug.mpsafevfs=3D0 set (or forced because of something else,
> e.g. quotas).  If this is set then all filesystem I/O is serialized
> (and maybe it's even worse, if there are also device drivers in the
> I/O path that also require Giant, like USB).

debug.mpsafevfs: 1
machine is single CPU
I'm not using quotas.

> However, I don't know what you mean by "data is lost".  Data should
> never be lost from the filesystem regardless of how slow the I/O is
> happening, unless there's something else going wrong (e.g. driver
> bug).
> 
> Also, rtprio should not be used in general - see the manpage.  Were
> you using rtprio in your original scenario?  It can easily cause
> resource starvation.

I have data arriving on Ethernet.  The data rate is 2.5 MB/s max,
but the other end only has a small buffer.  If the BSD box doesn't read
the port fast enough, the data is lost.  I have a C program (port2file)
reading from the port into a *large* circular buffer, currently 431,226,880
bytes.  This should be enough to buffer over 2 minutes of data.  It does
non-blocking 64KB writes to stdout.  Shell script calls this program and
redirects stdout to a disk file.  Very little if any other i/o to this
disk.  Even with disk cache in write-through mode, I can write at about
6-7 MB/s.  The process needs very little CPU.  Sounds like this should
be no problem.

And it seems to work okay if the system is otherwise idle.

The problem is that if some other process is writing to some other disk,
it somehow slows down writes to ALL disks.  Enough that, dispite the 
non-blocking
writes (?), the TCP receive window shrinks and shrinks and finally is smaller
than a packet.  The src machine obediantly stops sending packets, its small
buffer fills up, and data is lost.

Things I have done so far:

   BIG buffer (over 2 minutes worth).

   The port2file process cranks up the TCP receive window from 65700 to 197100.

   It also cranks up rtprio from 20 to 5.

   sysctl net.inet.tcp.delayed_ack=0

The only process running rtprio is port2file.  All other processes are
either default priority or niced down with the classic nice(1).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mail

Re: BSDStats Report for December 1st, 2006

2006-12-07 Thread Wayne Sierke
On Sun, 2006-12-03 at 04:09 -0400, Marc G. Fournier wrote:
> Numbers are up from November, which is what we hope for ... not drastically, 
> but 7.5% isn't shabby either:
> 
> Last MonthThis Month  % Change
> Total Systems 2085  2254 7.50%
> 
> alpha3 3 0.00%
> amd64  173   163-6.13%
>  i386 1893  2072 8.64%
>  ia641 0 0.00%
>   sparc64   1516 6.25%
> 
>   4.x  224   220-1.82%
>   5.x  303   37218.55%
>   6.x 1533  1623 5.55%
>   7.x   253935.90%
> 
The % Change is calculated incorrectly. It uses the "This Month" figure
as the baseline instead of the "Last Month", unless you specifically
intend to do it that way.

e.g.
7.x 25 -> 39  Change = +14

+14/25 = +56%
+14/39 = +36%


Wayne

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


Re: Which one?

2006-12-07 Thread [EMAIL PROTECTED]

On 12/7/06, Todd McNutt <[EMAIL PROTECTED]> wrote:

I am hoping to install BSD on an IBM ThinkPad 600X that
I have.  It has not been running the newer Windows and I
popped a CD version of Knoppix in it and it works fantastic.

It got me thinking... I had used BSD in the past and I would
like to find an OS that I can actually 'install' on the hard
drive and just use the computer strictly as a BSD machine.
 Do you have a version of BSD Free that will install and run
on this machine?


Assuming that by thinkpad 600x you are talking about a
pentium3, any current distribution:
http://pcbsd.org/
http://www.desktopbsd.net/
http://www.freesbie.org/
http://www.freebsd.org/where.html
. . . should work fine.

YMMV

--
--
___
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 I see security logs without turning on sendmail?

2006-12-07 Thread Wasp King
Thanks. this seem to work for me!

--- Lane <[EMAIL PROTECTED]> wrote:
___
> IIRC, sendmail has three controlling values in
> /etc/rc.conf:
> 
> sendmail_enable="YES"
> sendmail_enable="NO"
> and
> sendmail_enable="NONE"
> 
> The third value, "NONE," causes the boot process to
> ignore any attempt to 
> start sendmail.
> 
> The second value, "NO," causes the boot process to
> start sendmail for "local 
> delivery, only" (i.e. do NOT accept inbound
> connections from external hosts).
> 
> The first value, "YES," causes the boot process to
> start sendmail for outgoing 
> and incoming SMTP connections.
> 
> There are many "tweaks" that you can use in
> /etc/rc.conf - (refer 
> to /etc/defaults/rc.conf) - that will allow various
> flavors of sendmail 
> usage.  See also, /etc/rc.sendmail.
> 
> In your case sendmail_enable="NO" should allow the
> local system to 
> send "periodic" information to [EMAIL PROTECTED], or
> whatever alias you use 
> in /etc/mail/aliases, while disallowing external
> hosts from sending email by 
> way of the local host.  Note that this requires that
> you pay heed 
> to /etc/mail/Makefile and associated README
> documentation 
> in /usr/src/contrib/sendmail and below.
> 
> Best of luck!
> 
> 
> lane
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



 

Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-12-07 Thread Kris Kennaway
On Thu, Dec 07, 2006 at 03:21:46PM +, Dieter wrote:
> > > > > > >   hw.ata.wc=3D3D3D0
> > > > > > ^^^
> > > > > > "Make my hard drive go rally slow please (just in case I crash)=
> > " :)
> > > > >=3D20
> > > > > Slower, yes, but not *that* slow.
> > > > >=3D20
> > > > > Normal ls : 0.032 second.  Two processes using same disk, multiply by=
> >  two,
> > > > > so 0.064 second.  Maybe the multiplier is more than 2, call it 10x, so
> > > > > 0.32 second.  But I'm seeing a factor of over 9100x.
> > > >=20
> > > > Humour me and turn it back on, then see what happens.
> > >=20
> > > Where is the knob to turn the write cache on/off on a per-drive basis
> > > in FreeBSD?  I can do this in NetBSD, but the only knob I can find in
> > > FreeBSD affects all drives, and requires a reboot.
> > 
> > Yes, I think you need to do it globally at boot time.
> > 
> > > Humour me and read the Subject line.  The ls does not get its fair share
> > > of disk I/O.
> > >=20
> > > Both times are with the disk's write cache in write-through mode.
> > > I'm not comparing times with the write cache in different modes.
> > > I'm comparing ls by itself against ls competing with cp.
> > 
> > Your cp is going to be running synchronously, i.e. spend a lot of time
> > waiting on the disk to perform the writes.  This may well be the cause
> > of your problem.  Once we have established whether or not it is the
> > cause, we can proceed to whether this behaviour can be improved.
> 
> I submitted PR 106340 asking for a way to control the disk write cache on
> a per disk basis like NetBSD can.  Meanwhile, I added a PATA via USB disk,
> which judging from the write speed, appears to be immune from hw.ata.wc=0.
> 
> So I now have a disk which has the write cache on, is connected via a 
> different
> controller, and thus uses a different device driver.
> 
> I still see the same problems.  Writing to one disk *significantly* slows down
> writing to another disk.  Even if one process is at normal default priority
> and the other is running at rtprio 5.  Regardless of which process uses the
> USB disk and which uses the direct-to-chipset disk.  Even if the rtprio 5
> process only needs a very small fraction of the disk bandwidth, it still gets
> slowed down to the point that data is lost.
> 
> My current SWAG is that writing to a disk requires some spl/mutex/lock that
> is global across all disks on the system.  And this spl/mutex/lock is a
> bottleneck.

In the case of USB devices, yes - all USB accesses require Giant so
all USB I/O is serialized.  This isn't true in general though, unless
you have debug.mpsafevfs=0 set (or forced because of something else,
e.g. quotas).  If this is set then all filesystem I/O is serialized
(and maybe it's even worse, if there are also device drivers in the
I/O path that also require Giant, like USB).

However, I don't know what you mean by "data is lost".  Data should
never be lost from the filesystem regardless of how slow the I/O is
happening, unless there's something else going wrong (e.g. driver
bug).

Also, rtprio should not be used in general - see the manpage.  Were
you using rtprio in your original scenario?  It can easily cause
resource starvation.

Kris


pgph1079GdwhL.pgp
Description: PGP signature


Re: quanta on freebsd

2006-12-07 Thread Erik Trulsson
On Thu, Dec 07, 2006 at 11:45:32PM +, Chris Whitehouse wrote:
> Does anyone know about the kde web development package quanta on 
> freebsd? Google finds references to it being in ports in some mailing 
> lists as late as Jan 2006 but the actual port isn't in my recent ports 
> tree, nor on freshports or freebsd.org/ports. I've been told it is linux 
> only but since it is based in kde I find that hard to believe.
> 

/usr/ports/MOVED says that the www/quanta port was renamed to www/kdewebdev
back in August 2004.  (This renaming seems to have been done as part of
updating KDE to version 3.3)



-- 

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


Which one?

2006-12-07 Thread Todd McNutt
I am hoping to install BSD on an IBM ThinkPad 600X that I have.  It has not 
been running the newer Windows and I popped a CD version of Knoppix in it and 
it works fantastic.

It got me thinking... I had used BSD in the past and I would like to find an OS 
that I can actually 'install' on the hard drive and just use the computer 
strictly as a BSD machine.  Do you have a version of BSD Free that will install 
and run on this machine?

Hope you do,

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


quanta on freebsd

2006-12-07 Thread Chris Whitehouse
Does anyone know about the kde web development package quanta on 
freebsd? Google finds references to it being in ports in some mailing 
lists as late as Jan 2006 but the actual port isn't in my recent ports 
tree, nor on freshports or freebsd.org/ports. I've been told it is linux 
only but since it is based in kde I find that hard to believe.


Thanks

Chris

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


Re: Dell - kernel panic problems

2006-12-07 Thread Lane
On Thursday 07 December 2006 16:28, Andrew Boring wrote:
> On Nov 21, 2006, at 6:11 PM, [EMAIL PROTECTED] wrote:
> > I have problems with what appears to be kernel panics when accessing
> > the
> > disk (either reading or writing). This box does nothing at the moment
> > but
> > wait for me to install and configure something, since it's a test box
> > and
> > hasn't even made it to live testing yet.
> >
> > The panics usually happen when installing something via Ports. Today,
> > as I
> > was running a "make clean", I managed to get this one:
> >
> > Fatal trap 12: page fault while in kernel mode
> > fault virtual address = 0x2
> > fault code= supervisor read, page not present
> > instruction pointer   = 0x20:0xc083f0dc
>
> Well, I'm disappointed that no one even responded with an RTFM
> somewhere that could I find more information on this. As it happens, a
> google search eventually pointed me back to this section of the FAQ:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/
> advanced.html#KERNEL-PANIC-TROUBLESHOOTING
>
> So here's the instruction pointer matching with the symbol table:
>
> #nm -n /boot/kernel/kernel | grep c083f
> c083f06c  T  pmap_clear_modify
>
> It's possible that my instruction pointer in my first email above was
> typo'ed, since I handwrote the panic output and typed it into my email.
>
> Any suggestions? I'm recompiling the GENERIC kernel with options DDB so
> I can capture the crash dump...but I would like to know if anyone has
> any suggestions in the meantime.
>
> -Andrew
>
> ___
Andrew,

Sorry no one responded.

How 'bout a 

uname -a

plus 

dmesg

and some information about the install status...

You indicate with "The panics usually happen when installing something via 
Ports" that the system is fully installed, but that is not absolutely clear.  
And from this vantage, with this information, troubleshooting would only be 
shooting in the dark at this point.

Looking forward to hearing back.

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


Re: processes not getting fair share of available disk I/O (was: Re: TCP parameters and interpreting tcpdump output )

2006-12-07 Thread Dieter
> > > > > > hw.ata.wc=3D3D3D0
> > > > > ^^^
> > > > > "Make my hard drive go rally slow please (just in case I crash)=
> " :)
> > > >=3D20
> > > > Slower, yes, but not *that* slow.
> > > >=3D20
> > > > Normal ls : 0.032 second.  Two processes using same disk, multiply by=
>  two,
> > > > so 0.064 second.  Maybe the multiplier is more than 2, call it 10x, so
> > > > 0.32 second.  But I'm seeing a factor of over 9100x.
> > >=20
> > > Humour me and turn it back on, then see what happens.
> >=20
> > Where is the knob to turn the write cache on/off on a per-drive basis
> > in FreeBSD?  I can do this in NetBSD, but the only knob I can find in
> > FreeBSD affects all drives, and requires a reboot.
> 
> Yes, I think you need to do it globally at boot time.
> 
> > Humour me and read the Subject line.  The ls does not get its fair share
> > of disk I/O.
> >=20
> > Both times are with the disk's write cache in write-through mode.
> > I'm not comparing times with the write cache in different modes.
> > I'm comparing ls by itself against ls competing with cp.
> 
> Your cp is going to be running synchronously, i.e. spend a lot of time
> waiting on the disk to perform the writes.  This may well be the cause
> of your problem.  Once we have established whether or not it is the
> cause, we can proceed to whether this behaviour can be improved.

I submitted PR 106340 asking for a way to control the disk write cache on
a per disk basis like NetBSD can.  Meanwhile, I added a PATA via USB disk,
which judging from the write speed, appears to be immune from hw.ata.wc=0.

So I now have a disk which has the write cache on, is connected via a different
controller, and thus uses a different device driver.

I still see the same problems.  Writing to one disk *significantly* slows down
writing to another disk.  Even if one process is at normal default priority
and the other is running at rtprio 5.  Regardless of which process uses the
USB disk and which uses the direct-to-chipset disk.  Even if the rtprio 5
process only needs a very small fraction of the disk bandwidth, it still gets
slowed down to the point that data is lost.

My current SWAG is that writing to a disk requires some spl/mutex/lock that
is global across all disks on the system.  And this spl/mutex/lock is a
bottleneck.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Extending a slice

2006-12-07 Thread Jerry McAllister
On Thu, Dec 07, 2006 at 10:56:41PM +, Vince wrote:

> Jerry McAllister wrote:
> >>Hello,
> >>
> >>I have and existing FreeBSD 5.4 box with 2 6GB hard drives in a RAID 1 
> >>mirror using gmirror. Due to physical space restrictions I cannot put 
> >>more drives into this box and yet I need more physical drive space. I 
> >>have 2 blank 40GB drives to replace my 2 current 6GB drives. I broke the 
> >>mirror and inserted one 40GB drive into the mirror and removed the 
> >>remaining 6GB drive. So, now I have a 40GB drive with only 6GB's of 
> >>space on it and 34GB's of unused space. I have and existing mount point 
> >>in the 6GB of space called /data. I would like to extend the slice and 
> >>add the 34GB of unused space to the current /data mount point. Does 
> >>someone even "extend" an UFS slice? Or do I create a new slice in the 
> >>unused section and somehow merge the existing slice's /data with the new 
> >>one? Or am I missing something rudimentary? Any direction would be 
> >>appreciated.
> >>
> >
> >If the space was already in a slice and you just wanted to expand
> >a partition in to the unused space, then you could use growfs(8), but
> >I don't think that will work to expand a slice.
> >
> >  
> To be fair the growfs man page does say
> " If you wish
> to grow a file system beyond the boundary of the slice it resides 
> in, you
> must re-size the slice using fdisk(8) before running growfs."

Yes.  But using fdisk will nuke it I believe.
Then it is easier to just use bsdlabel and make the partitions
and newfs to make the file systems and load stuff back in from
either dumps - or that other copy, if it is usable.

jerry

> I've never tried this but since this is one of a mirrored pair and you 
> still have the other mirrow you're in a good position to try it ;)
> There is a rather old (example is on 4.4) but i think still valid, 
> example here
> http://ezine.daemonnews.org/200111/growfs.html
> 
> (that said I've never tried it and it could easily hose your system. try 
> at your own risk)
> 
> 
> Vince
> >Really, the easiest thing is to use dump(8) to back up the existing 6 GB. 
> >It will be necessary to do a dump for each file system (partition) you
> >have in the slice other than swap or /tmp.
> >
> >Then build the 40 GB disk as needed.   You can best do this from
> >a fixit CD.You will need to make a slice with fdisk, then
> >divide that slice into partitions with bsdlabel.   Then for each
> >partition except for swap, use newfs to build a file system in them.
> >When that is done, make temporary mount points, mount the partitions
> >and restore the dumps.   This sounds long and drawn out telling it,
> >but it is actually quite easy and works well.
> >
> >If it is your boot disk, then the fdisk should write the MBR and
> >the bsdlabel needs to write the boot sector for the slice.  
> >There is a good example of fdisk and bsddlabel use for creating
> >a brand new bootable disk with one FreeBSD slice in the bsdlabel
> >man page near the bottom.   Also, in the last few days I have 
> >posted several replies to questions that would cover this process
> >and included extensive examples.The only difference is that
> >they weren't for mirrored disks.  But, it sounds like you got
> >rid of the mirror anyway.   
> >
> >The dump/rebuild/restore is the way to go
> >even if you do it to a new mirror of the 40GB drives.  
> >Or you could write the dumps to one of the rather than tape
> >and restore from that.
> >
> >jerry
> >
> >
> >  
> >>Thank You.
> >>Peter Clark
> >>
> >>___
> >>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-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]"


Fwd: FreeBSD 6.1 throttling sendmail?

2006-12-07 Thread Worth Bishop


Think I answered my first question myself - messages we're 
sending are all text, only ~5 - 10kb, so we should not be 
bumping up against the limit.


Still interested in the second question though...


  --- the forwarded message follows ---
--- Begin Message ---

Following up with two specific question:

1)  Could the MinFreeBlocks=100 setting in sendmail.cf be 
causing this problem? The /var slice is only 1.9 Gb here, 
with about half free.


2)  Is it possible to overcome this constraint by:

-  setting up a new drive with identical slices, only 
expanding the /var slice, then;


-  copying the files on the existing drive onto the 
new drive?


Will the FreeBSD & other applications work this way or 
must they all be installed freshly from scratch?


Thanks!


  --- the forwarded message follows ---
--- Begin Message ---
After poring over sendmail manuals, docs, readme's and 
Googling extensively have not found the answer to this 
question. What configuration settings regulate the 
outgoing e-mail volume?


Have recently upgraded from FreeBSD 4.3 to 6.1 (i.e., did 
new install of 6.1 on clean disk, installed current 
versions of applications and moved files - on same server 
as before, same processors/memory, etc.). Installed 
Sendmail 8.13 using standard sendmail.cf & FreeBSD.cf in 
/etc/mail.


Have a PostgreSQL database of 20k+ opt-in subscribers to a 
newsletter. When I invoke the sending routine, sendmail 
immediately spawns 20 - 30 processes (all I can see via 
"top"), quickly sends out 150 - 160 e-mails (via 
/var/spool/mqueue) then no more new processes are spawned 
and the system returns to a listening state. No error 
message in /var/log/messages, no clues in 
/var/log/maillog, nothing in the PostgreSQL logfile to 
indicate why the e-mails stopped sending.


FreeBSD's sysctl shows more than ample system resources 
(mbufs, files, etc). Netstat -m reveals no denied 
requests. Is there another FreeBSD mechanism at play? A 
sendmail configuration setting I can tweak to ensure all 
e-mails are sent? Any other ideas on a cause of this 
behavior?


Have x-posted to the comp.mail.sendmail group with no 
replies yet; sure would appreciate any help.


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

Re: Extending a slice

2006-12-07 Thread Vince

Jerry McAllister wrote:

Hello,

I have and existing FreeBSD 5.4 box with 2 6GB hard drives in a RAID 1 
mirror using gmirror. Due to physical space restrictions I cannot put 
more drives into this box and yet I need more physical drive space. I 
have 2 blank 40GB drives to replace my 2 current 6GB drives. I broke the 
mirror and inserted one 40GB drive into the mirror and removed the 
remaining 6GB drive. So, now I have a 40GB drive with only 6GB's of 
space on it and 34GB's of unused space. I have and existing mount point 
in the 6GB of space called /data. I would like to extend the slice and 
add the 34GB of unused space to the current /data mount point. Does 
someone even "extend" an UFS slice? Or do I create a new slice in the 
unused section and somehow merge the existing slice's /data with the new 
one? Or am I missing something rudimentary? Any direction would be 
appreciated.



If the space was already in a slice and you just wanted to expand
a partition in to the unused space, then you could use growfs(8), but
I don't think that will work to expand a slice.

  

To be fair the growfs man page does say
" If you wish
to grow a file system beyond the boundary of the slice it resides 
in, you

must re-size the slice using fdisk(8) before running growfs."

I've never tried this but since this is one of a mirrored pair and you 
still have the other mirrow you're in a good position to try it ;)
There is a rather old (example is on 4.4) but i think still valid, 
example here

http://ezine.daemonnews.org/200111/growfs.html

(that said I've never tried it and it could easily hose your system. try 
at your own risk)



Vince
Really, the easiest thing is to use dump(8) to back up the existing 6 GB. 
It will be necessary to do a dump for each file system (partition) you

have in the slice other than swap or /tmp.

Then build the 40 GB disk as needed.   You can best do this from
a fixit CD.You will need to make a slice with fdisk, then
divide that slice into partitions with bsdlabel.   Then for each
partition except for swap, use newfs to build a file system in them.
When that is done, make temporary mount points, mount the partitions
and restore the dumps.   This sounds long and drawn out telling it,
but it is actually quite easy and works well.

If it is your boot disk, then the fdisk should write the MBR and
the bsdlabel needs to write the boot sector for the slice.  
There is a good example of fdisk and bsddlabel use for creating

a brand new bootable disk with one FreeBSD slice in the bsdlabel
man page near the bottom.   Also, in the last few days I have 
posted several replies to questions that would cover this process

and included extensive examples.The only difference is that
they weren't for mirrored disks.  But, it sounds like you got
rid of the mirror anyway.   


The dump/rebuild/restore is the way to go
even if you do it to a new mirror of the 40GB drives.  
Or you could write the dumps to one of the rather than tape

and restore from that.

jerry


  

Thank You.
Peter Clark

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


Re: Dell - kernel panic problems

2006-12-07 Thread Andrew Boring


On Nov 21, 2006, at 6:11 PM, [EMAIL PROTECTED] wrote:

I have problems with what appears to be kernel panics when accessing  
the
disk (either reading or writing). This box does nothing at the moment  
but
wait for me to install and configure something, since it's a test box  
and

hasn't even made it to live testing yet.

The panics usually happen when installing something via Ports. Today,  
as I

was running a "make clean", I managed to get this one:

Fatal trap 12: page fault while in kernel mode
fault virtual address = 0x2
fault code= supervisor read, page not present
instruction pointer   = 0x20:0xc083f0dc



Well, I'm disappointed that no one even responded with an RTFM  
somewhere that could I find more information on this. As it happens, a  
google search eventually pointed me back to this section of the FAQ:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/ 
advanced.html#KERNEL-PANIC-TROUBLESHOOTING


So here's the instruction pointer matching with the symbol table:

#nm -n /boot/kernel/kernel | grep c083f
c083f06c  T  pmap_clear_modify

It's possible that my instruction pointer in my first email above was  
typo'ed, since I handwrote the panic output and typed it into my email.


Any suggestions? I'm recompiling the GENERIC kernel with options DDB so  
I can capture the crash dump...but I would like to know if anyone has  
any suggestions in the meantime.


-Andrew

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


Re: Beryl on FreeBSD

2006-12-07 Thread Gabor Kovesdan

Olivier Regnier schrieb:

Hello,

I'm currently running Xfce4 on FreeBSD 6.1-RELEASE-p11 and my question
is, it is possible to install Beryl using FreeBSD ?

Anyone know if there are tutorials to install Beryl ? I'm using my best
friend who is Google but without success.

Thank you in advance :)
  


It is not officially supported yet, but there is an experimental port. 
See Florent's blog post about this:

http://blog.xbsd.org/

Cheers,
Gabor

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


Beryl on FreeBSD

2006-12-07 Thread Olivier Regnier
Hello,

I'm currently running Xfce4 on FreeBSD 6.1-RELEASE-p11 and my question
is, it is possible to install Beryl using FreeBSD ?

Anyone know if there are tutorials to install Beryl ? I'm using my best
friend who is Google but without success.

Thank you in advance :)
-- 
Cheers,
Olivier Regnier
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Unable to build jackit-0.102.20

2006-12-07 Thread Kay Abendroth
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Gerard Seibert wrote:
> On Thursday December 07, 2006 at 03:39:59 (PM) Robert Huff wrote:
> 
> 
>> Gerard Seibert writes:
>>
>>>  I have tried for two days now to update 'jacket' but without
>>>  success.
>>  Built for me six hours ago under -Current.
> 
> It doesn't seem to be working here.
> 
> FreeBSD scorpio.seibercom.net 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0:

I build jackit some hours ago without problems on a recent RELENG_6_2.
Does every build attempt stop at the same position?


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (FreeBSD)

iQEVAwUBRXiOSv6xkxz4DngiAQg01Qf7BQap7ZrMTy3syhJ5SS1FHnkId8W61klz
vHmGAEmCujisUtlNjPp87hx3B9JIbuFgLD9RYKHnPuC2EcExjWihkRBdd2qwWdly
iYUCWZcMrC8l/1EhYYirt5YugtkolRD6TXDfnQ50pnYPuYl3hOREbR46Bsp5KiPQ
UtcSZlGni6E0haYj+9kjAwkXcq5qfBebOhJqzF6etZd0h1p4g2H0ZE0HjRElxHcw
5IbOshfb2mLLzMCxyOrRz64G+zk9TGJwmNW0s/dZXSx07oC14h3uFxbxN6maFqDf
Z18MMw4uhxZ4uy8iKaPtoPF/ZifRzgdTuZXgeB4G8oKIVYZI4uKfbg==
=+sEm
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Extending a slice

2006-12-07 Thread Jerry McAllister

> Hello,
> 
> I have and existing FreeBSD 5.4 box with 2 6GB hard drives in a RAID 1 
> mirror using gmirror. Due to physical space restrictions I cannot put 
> more drives into this box and yet I need more physical drive space. I 
> have 2 blank 40GB drives to replace my 2 current 6GB drives. I broke the 
> mirror and inserted one 40GB drive into the mirror and removed the 
> remaining 6GB drive. So, now I have a 40GB drive with only 6GB's of 
> space on it and 34GB's of unused space. I have and existing mount point 
> in the 6GB of space called /data. I would like to extend the slice and 
> add the 34GB of unused space to the current /data mount point. Does 
> someone even "extend" an UFS slice? Or do I create a new slice in the 
> unused section and somehow merge the existing slice's /data with the new 
> one? Or am I missing something rudimentary? Any direction would be 
> appreciated.

If the space was already in a slice and you just wanted to expand
a partition in to the unused space, then you could use growfs(8), but
I don't think that will work to expand a slice.

Really, the easiest thing is to use dump(8) to back up the existing 6 GB. 
It will be necessary to do a dump for each file system (partition) you
have in the slice other than swap or /tmp.

Then build the 40 GB disk as needed.   You can best do this from
a fixit CD.You will need to make a slice with fdisk, then
divide that slice into partitions with bsdlabel.   Then for each
partition except for swap, use newfs to build a file system in them.
When that is done, make temporary mount points, mount the partitions
and restore the dumps.   This sounds long and drawn out telling it,
but it is actually quite easy and works well.

If it is your boot disk, then the fdisk should write the MBR and
the bsdlabel needs to write the boot sector for the slice.  
There is a good example of fdisk and bsddlabel use for creating
a brand new bootable disk with one FreeBSD slice in the bsdlabel
man page near the bottom.   Also, in the last few days I have 
posted several replies to questions that would cover this process
and included extensive examples.The only difference is that
they weren't for mirrored disks.  But, it sounds like you got
rid of the mirror anyway.   

The dump/rebuild/restore is the way to go
even if you do it to a new mirror of the 40GB drives.  
Or you could write the dumps to one of the rather than tape
and restore from that.

jerry


> 
> 
> Thank You.
> Peter Clark
> 
> ___
> 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: Jails not being assigned IP address?

2006-12-07 Thread Matt Bostock
> I have three jails on one machine that won't resolve DNS because it looks as
> though the jails themselves aren't being assigned IP addresses.

In the end, I tried just rebooting the host, which fixed the problem. Thanks to
Tom for emailing me :-)

Best regards,
Matt




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


Extending a slice

2006-12-07 Thread Peter Clark

Hello,

I have and existing FreeBSD 5.4 box with 2 6GB hard drives in a RAID 1 
mirror using gmirror. Due to physical space restrictions I cannot put 
more drives into this box and yet I need more physical drive space. I 
have 2 blank 40GB drives to replace my 2 current 6GB drives. I broke the 
mirror and inserted one 40GB drive into the mirror and removed the 
remaining 6GB drive. So, now I have a 40GB drive with only 6GB's of 
space on it and 34GB's of unused space. I have and existing mount point 
in the 6GB of space called /data. I would like to extend the slice and 
add the 34GB of unused space to the current /data mount point. Does 
someone even "extend" an UFS slice? Or do I create a new slice in the 
unused section and somehow merge the existing slice's /data with the new 
one? Or am I missing something rudimentary? Any direction would be 
appreciated.



Thank You.
Peter Clark

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


Re: Sendmail - restrict some users.

2006-12-07 Thread Chuck Swiger

On Dec 7, 2006, at 12:51 PM, Efren Bravo wrote:

Which feature of Sendmail can I use to prohibit
an local user to send and to receive mails?

For intance:

jhon receive from *.cu only
 sendto *.cu and *.domain.com


While it is possible to prevent a user from sending mail at all, it  
is not easily possible to permit them to send mail, but only to a  
limited set of domains, using the normal mechanisms.  While you can  
write your own LOCAL_RULESETS to accomplish the goal, anyone with a  
smidgen of clue could work around such a restriction by forging email  
as if it came from another user.


In other words, you're describing a social problem which should be  
enforced by getting the user to agree to use email only for  
legitimate purposes, and by monitoring their usage by checking the  
mail logfiles to ensure they don't abuse email by sending to  
inappropriate domains.


--
-Chuck

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


Re: Unable to build jackit-0.102.20

2006-12-07 Thread Gerard Seibert
On Thursday December 07, 2006 at 03:39:59 (PM) Robert Huff wrote:


> Gerard Seibert writes:
> 
> >  I have tried for two days now to update 'jacket' but without
> >  success.
> 
>   Built for me six hours ago under -Current.

It doesn't seem to be working here.

FreeBSD scorpio.seibercom.net 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0:


-- 
Gerard

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


Re: php 5.2.0... go boom!

2006-12-07 Thread Antony Mawer

On 7/12/2006 10:51 PM, Spil Oss wrote:

Hi Jonathan,

Have you found a solution yet to your segfaulting php 5.2.0?
There are reports that it has to do with the order of loading the
extensions (notably, session seems to have to be one of the last, and
mysql last)

Please let me know if it helps (and even if it doesn't) or any other
solutions. My php 5.2.0 still won't fly (although the debug-version
does!).


Have you tried compiling without the SUHOSIN protection patch? This was 
turned on by default in version 5.1.6_1 of the php5 port, and is on by 
default in 5.2.0 as well.


This patch provides a number of additional security enhancements to PHP, 
and (I believe) some of these include attempting prevent buffer 
overflows in PHP itself being affected. Perhaps one of the modules is 
triggering this and the patch causes the current process to terminate as 
a safety measure.


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


Re: kernel: kern.maxfiles limit exceeded

2006-12-07 Thread Garrett Cooper

Drew Sanford wrote:

Coen Watstaatervoor wrote:

Just got a busy machine with the following errors in the messages log:

kernel: kern.maxfiles limit exceeded by uid 80, please see tuning(7).
Default FreeBSD 6.1 / AMP set-up. Thought 6.1 would handle this stuff
automaticly just like the mbufs. Anyone knows how the raise those limits?


You need to put an entry in /boot/loader.conf

Simple answer: read the manpage-tuning(7)!
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RSA/DSA authentication

2006-12-07 Thread Chuck Swiger

On Dec 7, 2006, at 9:44 AM, Erik Richards wrote:
Now I'm editing some of my /etc/ssh/sshd_config file like  
uncommenting:

(correct? I shouldn't be editing /etc/ssh/ssh_config?)

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile  /root/.ssh/authorized_keys
(I did rename the key I was using this and made sure it was all on  
one line)


Once you've used ssh-keygen to make a keypair, you should copy  
id_dsa.pub (or id_rsa.pub) to authorized_keys, not move it.  And you  
need to push the new version of authorized keys to the machine you  
are SSH'ing into, as well as having the id_whatever private key  
available on the machine you are SSH'ing from


--
-Chuck

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


Unable to build jackit-0.102.20

2006-12-07 Thread Robert Huff

Gerard Seibert writes:

>  I have tried for two days now to update 'jacket' but without
>  success.

Built for me six hours ago under -Current.


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


Sendmail - restrict some users.

2006-12-07 Thread Efren Bravo
Hi,

Which feature of Sendmail can I use to prohibit
an local user to send and to receive mails?  
  
For intance:   
  
jhon receive from *.cu only   
 sendto *.cu and *.domain.com

Thank

 



__ 
LLama Gratis a cualquier PC del Mundo. 
Llamadas a fijos y móviles desde 1 céntimo por minuto. 
http://es.voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


POKED TIMER

2006-12-07 Thread Robert Fitzpatrick
I get this message in the logs from named on a machine running FreeBSD
5.4 and BIND 9.3.1. From what I have found out, there may be a problem
with this mix...

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2005-06/1035.html

This post suggests an option to get the ports system to overwrite the
base. How do I do this? I have never patched the system either and
unsure how to apply the security patches. My freebsd-update is having
problems connecting to updates.daemonology.net, are there other sources?

Thanks in advance, Robert

-- 
Robert

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


Re: kernel: kern.maxfiles limit exceeded

2006-12-07 Thread Drew Sanford

Coen Watstaatervoor wrote:

Just got a busy machine with the following errors in the messages log:

kernel: kern.maxfiles limit exceeded by uid 80, please see tuning(7).
Default FreeBSD 6.1 / AMP set-up. Thought 6.1 would handle this stuff
automaticly just like the mbufs. Anyone knows how the raise those limits?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"


You need to put an entry in /boot/loader.conf

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


kernel: kern.maxfiles limit exceeded

2006-12-07 Thread Coen Watstaatervoor

Just got a busy machine with the following errors in the messages log:

kernel: kern.maxfiles limit exceeded by uid 80, please see tuning(7).
Default FreeBSD 6.1 / AMP set-up. Thought 6.1 would handle this stuff
automaticly just like the mbufs. Anyone knows how the raise those limits?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Unable to build jackit-0.102.20

2006-12-07 Thread Gerard Seibert
I have tried for two days now to update 'jacket' but without success.

This is the log file from the build attempt:

Script started on Wed Dec  6 20:08:51 2006
===>  Found saved configuration for jackit-0.102.20
===>  Extracting for jackit-0.102.20
=> MD5 Checksum OK for jack-audio-connection-kit-0.102.20.tar.gz.
=> SHA256 Checksum OK for jack-audio-connection-kit-0.102.20.tar.gz.
===>  Patching for jackit-0.102.20
===>  Applying FreeBSD patches for jackit-0.102.20
===>   jackit-0.102.20 depends on executable in : pkg-config - found
===>   jackit-0.102.20 depends on shared library: portaudio.0 - found
===>   jackit-0.102.20 depends on shared library: sndfile.1 - found
===>   jackit-0.102.20 depends on shared library: FLAC.7 - found
===>  Configuring for jackit-0.102.20
checking build system type... i386-portbld-freebsd6.1
checking host system type... i386-portbld-freebsd6.1
checking target system type... i386-portbld-freebsd6.1
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... c++ -E
checking for g77... no
checking for f77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... (cached) 262144
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd6.1 ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... fre

RE: pb installing P5-BerkeleyDB

2006-12-07 Thread Mark
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Len Conrad
> Sent: donderdag 7 december 2006 14:09
> To: freebsd-questions@freebsd.org
> Subject: pb installing P5-BerkeleyDB
> 
>
> %cd /usr/ports/databases/p5-BerkeleyDB
> %make WITH_BDB_VER=41


You seem to have a pretty old port system. Aren't they on
p5-BerkeleyDB-0.31 yet? And the latest BerkeleyDB version is 4.5.20, I
believe.

> ===> p5-BerkeleyDB-0.25 depends on shared library: db41.1 - not found

I usually compile a new BerkeleyDB (the Perl module) directly from CPAN.
You do the whole "perl Makefile.PL" thingy, and then you edit "config.in"
to tell it about the location of your BerkeleyDB (the database). Otherwise
it cannot find the new database. Edit "config.in" like so:

INCLUDE = /usr/local/BerkeleyDB.4.1/include
LIB = /usr/local/BerkeleyDB.4.1/lib
DBNAME = -ldb-4.1

(change the paths according to your system's locations, of course!)

P.S. If you installed the database via ports, you wouldn't get a location
like: "/usr/local/BerkeleyDB.4.1/lib" (if I recall correctly, you get that
from running ./configure from a manual installation); but something like:
"/usr/local/lib/db41/". Anyway, as long as you know where everything
resides, the edit of "config.in" should do what you want.

- Mark

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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-07 Thread Shaun Amott
On Thu, Dec 07, 2006 at 06:16:18PM +0100, mato wrote:
> 
> Matthew, that is a great answer!!
> Thank you! :-)
> 
> The last question would be how to make make(1) /portupgrade/portsystem
> to ignore FORBIDDEN.
> 

"make -DNO_IGNORE" will get around this. But bypassing FORBIDDEN is
generally not wise.

-- 
Shaun Amott // PGP: 0x6B387A9A
"A foolish consistency is the hobgoblin
of little minds." - Ralph Waldo Emerson


pgpxsYrzg80hW.pgp
Description: PGP signature


Poblems with my DVD Dual Layer.

2006-12-07 Thread perikillo

  Hi people.

  I bought one DVD Sony [DVD RW DRU-820A ][2.0c]

  Is external USB, now i have been trying to test this drive, i setup my
kernel with all the requirements(from handbook), my dmesg say this:

pass0 at umass-sim0 bus 0 target 0 lun 0
pass0:  Removable CD-ROM SCSI-0 device
pass0: 1.000MB/s transfers

pass1 at ata0 bus 0 target 1 lun 0
pass1:  Removable CD-ROM SCSI-0 device
pass1: Serial Number [
pass1: 16.000MB/s transfers
GEOM: new disk cd0
GEOM: new disk cd1
ATA PseudoRAID loaded

(Internal CD-RW)
(cd1:ata0:0:1:0): error 6
(cd1:ata0:0:1:0): Unretryable Error
cd1 at ata0 bus 0 target 1 lun 0
cd1:  Removable CD-ROM SCSI-0 device
cd1: Serial Number [
cd1: 16.000MB/s transfers
cd1: Attempt to query device size failed: NOT READY, Medium not present

(My DVD)
(cd0:umass-sim0:0:0:0): error 6
(cd0:umass-sim0:0:0:0): Unretryable Error
cd0 at umass-sim0 bus 0 target 0 lun 0
cd0:  Removable CD-ROM SCSI-0 device
cd0: 1.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
(cd0:umass-sim0:0:0:0): error 6
(cd0:umass-sim0:0:0:0): Unretryable Error
(cd0:umass-sim0:0:0:0): error 6
(cd0:umass-sim0:0:0:0): Unretryable Error
(cd0:umass-sim0:0:0:0): error 6
(cd0:umass-sim0:0:0:0): Unretryable Error

(cd1:ata0:0:1:0): error 6
(cd1:ata0:0:1:0): Unretryable Error
(cd1:ata0:0:1:0): error 6
(cd1:ata0:0:1:0): Unretryable Error
(cd1:ata0:0:1:0): error 6
(cd1:ata0:0:1:0): Unretryable Error

Trying to mount root from ufs:/dev/ad0s1a

Unretryable Error

This error is not new, my backup server have one Tape that always send this
message went it mounts the Tape && is working very well.

cd1 is my internal CD-RW(Laptop)

Went i want to test my DVD:


bsblaptop# dvd+rw-mediainfo /dev/cd0
INQUIRY:[SONY][DVD RW DRU-820A ][2.0c]
:-( unable to GET CONFIGURATION: Input/output error
Input/output error

I still cannot do to much with my device, the model is Sony DRX-820U.

Some tips about? this mean that i cannot use my device..?

Thanks all for you time!!!

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


RSA/DSA authentication

2006-12-07 Thread Erik Richards
Greetings,

I'm not sure if this is the right place for this or the security mailing list,
but I am extremely confused by RSA/DSA authentication and using it with 
OpenSSH.  
My current setup is that I have a freebsd box at home acting as a 
firewall/gateway/webserver.
I'd like to access it from work using Putty on Windows 2000.  Right now I have 
password
authentication with a good strong username/password, Denyhosts and I feel safe. 
 I just wanted
to try a little extra security (for kicks) so I started reading and 
implementing RSA.
Well now after reading what there was in the handbook, freebsddairy, and a 
really
nice article about it on IBM I have no idea how to get this to work and am just
a little frustrated. I believe I'm getting messed up on the public and private 
key
and where they should go on the computer i'm trying to connect to or connect 
from?
I used ssh-keygen and putty to generate a key (RSA w/passphrase) and both times 
I've gotten 
neither to work from what I've been able to tell.

One time I was close and got something saying that my key's permissions had to 
be changed
because they were to open so I fixed that warning and then it said that my key 
was accepted
and I entered my passphrase. But then just to play around I removed my key 
(wanted to see
if it wouldn't let me connect).  It did and asked for my password not 
passphrase. What I was
hoping for was that the server would see that i didn't have a key and deny my 
access but
saddly it didn't.

Now I'm editing some of my /etc/ssh/sshd_config file like uncommenting:
(correct? I shouldn't be editing /etc/ssh/ssh_config?)

RSAAuthentication yes
PubkeyAuthentication yes
AuthorizedKeysFile  /root/.ssh/authorized_keys 
(I did rename the key I was using this and made sure it was all on one line)

PasswordAuthentication no

but I still don't have anything working.  I've restarted sshd by doing:

/etc/rc.d/sshd restart

each time as well. Am I wrong to assume the server should deny
me access if I don't have the key or is using RSA/DSA authentication just to 
assure
myself that I'm actually connecting to my server and not some other person's 
trying
to get my passwords?

Thank you for reading this mess, as you can tell I'm pretty bewildered.

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


Re: freebsd jails

2006-12-07 Thread Philip Hallstrom

On Thursday 07 December 2006 10:18, Greg Barniskis wrote:

Denzil Kelly wrote:

I need to implement web content filtering using squidguard and/or
dansguardian for several locations. Each site has different
filtering requirements. I want to know if it is possible to do
this using a jail for each site(provided that I have sufficiently
powerful hardware).


Also look into the ezjail package... makes setting up jails really easy 
and saves quite a bit of disk space b/n them as it shares things like 
/usr/bin that isn't going to change...

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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-07 Thread mato
Matthew Seaman wrote:
> mato wrote:
>   
>> On Thu, 07 Dec 2006 13:46:18 +, Vince wrote
>> 
>>> mato wrote:
>>>   
 On Wed, 6 Dec 2006 16:46:24 -0800, Josh Carroll wrote
 
 ** Port marked as IGNORE: multimedia/win32-codecs:
 is forbidden: Remote code execution:
 http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html

 Isn't this behaviour flawed ??  Or am I missing something ?
 
> You need to make config in /usr/ports/multimedia/win32-codecs, and
> unselect quicktime. Then the port should install. This is assuming,
>  of course, that you can live without the QT codec(s).
>
> Josh
>   
 OK, I will try it..  Thank you all.

 But the question remains -- if new port version is not vulnerable why i 
 cannot
 upgrade to it ??

 
>>> Its only not vulnerable if you unselect the quicktime codec. the
>>> vulnerability is in the quicktime codec.
>>>
>>> The port will by default use the stored config in
>>> /var/db/ports/win32-codecs/options and if this says to use the quicktime
>>> codec then it will not upgrade. This seems pretty sensible to me.
>>>
>>> Vince
>>>
>>>   
>> I cannot access and check the port's Makefile right now ... Is it Makefile
>> which says (conditionally) "hey i'm vulnerable" or is it portaudit/VuXML
>> database which says that.  I guess the former, otherwise freshports.org 
>> should
>> mark the port as vulnerable.  Right?
>> 
>
> In general, this sort of security flagging is done via portaudit's own 
> database
> which is derived mostly from VuXML.  To get around the lockout imposed by 
> portaudit
> you can do:
>
>  make DISABLE_VULNERABILITIES=yes
>
> but a) this doesn't disable any actual vulnerabilities, just the checking
> for their presence, and b) on your own head be it.
>
> Now, in the case of the win32-codecs port, it is done differently.  The port
> Makefile says this:
>
> .if defined(WITH_QUICKTIME)
> FORBIDDEN=  Remote code execution: 
> http://vuxml.FreeBSD.org/24f6b1eb-43d5-11
> db-81e1-000e0c2e438a.html
> ADDITIONAL_CODECS_DISTFILES+=   qt63dlls-20050115.tar.bz2 \
> qtextras-20041107.tar.bz2
> PLIST_SUB+= QUICKTIME=""
> .else
> PLIST_SUB+= QUICKTIME="@comment "
> .endif
>
> ie. selecting the Quicktime plugins in the OPTIONS dialog, which causes
> WITH_QUICKTIME to be defined, means that the port will be marked forbidden,
> and any attempt to install it will be blocked.
>
> A simple 'make config' and unchecking that option will let you install
> the port with all of the other codecs.
>
> Freshports parses the VuXML database to mark ports as vulnerable -- the VuXML
> data contains a listing of the vulnerable package names and ranges of version
> numbers.  VuXML doesn't actually have a way of distinguishing what options are
> enabled for the port, although the textual note in the entry explains the 
> situation
> fairly clearly.  It doesn't say "Users are advised to reinstall the port with 
> the
> Quicktime support turned off" which might be a nice addition.  The system will
> however prompt users to upgrade to a version of the port after the code to
> forbid installation with Quicktime stuff enabled was added.
>
>   Cheers,
>
>   Matthew
>
>   

Matthew, that is a great answer!!
Thank you! :-)

The last question would be how to make make(1) /portupgrade/portsystem
to ignore FORBIDDEN.

Anyway, thanks again.

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


Re: SATA server recommendation

2006-12-07 Thread Nathan Vidican

Alex Zbyslaw wrote:

Can anyone recommend a server to run FreeBSD with the following features:

   1) Supports multiple (say 4 or more) SATA disks (RAID optional) - 
capacity is more important than speed so SAS disks are overkill.


   2) Decent on-site support for the whole machine, so probably from a 
big-brand manufacturer.  Separately purchased add-on cards therefore a 
no-no, so no Highpoint/Areca or other SATA controllers unless they 
come with the machine.


   3) Tower format.

   4) Working ethernet, preferably twin.

   5) USB would be nice.

We started looking at Dell's, having had success with 2850s, but with 
the new product line I can't find a suitable controller I know is 
supported.  The 1900 has a SAS 5/iR for which I can find no definitive 
information; the 1430 has a SAS 5/i for which again I can find no "it 
works" info.  (Note: not the PERC 5 range which at £300+ are simply 
overkill).


Has anyone got a Dell like one of these working?  Or an HP?  Sun?  IBM?

TIA,

--Alex



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




Sun X4500... holds up to 48 SATA-II drives... Dual Dual-Core Opteron 
2.6ghz CPUS, quad gigabit ethernet Only problem is they are really 
pricey as on can only order them with 48 500GB drives installed afaik.


Personally, I'd take a second look at putting a 3Ware Escalade 
controller into a server yourself... can't beat the cost/performance 
you'll get there. Our servers here are all dual opteron based boxes in 
rackmount configuration with 3Ware Escalade 4 and 8 port S-ATA RAID 
cards in them... knock-on-wood, never had a hardware problem yet.


My two cents anyhow.

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


Fwd: FreeBSD 6.1 throttling sendmail?

2006-12-07 Thread Worth Bishop

Following up with two specific question:

1)  Could the MinFreeBlocks=100 setting in sendmail.cf be 
causing this problem? The /var slice is only 1.9 Gb here, 
with about half free.


2)  Is it possible to overcome this constraint by:

-  setting up a new drive with identical slices, only 
expanding the /var slice, then;


-  copying the files on the existing drive onto the 
new drive?


Will the FreeBSD & other applications work this way or 
must they all be installed freshly from scratch?


Thanks!


  --- the forwarded message follows ---
--- Begin Message ---
After poring over sendmail manuals, docs, readme's and 
Googling extensively have not found the answer to this 
question. What configuration settings regulate the 
outgoing e-mail volume?


Have recently upgraded from FreeBSD 4.3 to 6.1 (i.e., did 
new install of 6.1 on clean disk, installed current 
versions of applications and moved files - on same server 
as before, same processors/memory, etc.). Installed 
Sendmail 8.13 using standard sendmail.cf & FreeBSD.cf in 
/etc/mail.


Have a PostgreSQL database of 20k+ opt-in subscribers to a 
newsletter. When I invoke the sending routine, sendmail 
immediately spawns 20 - 30 processes (all I can see via 
"top"), quickly sends out 150 - 160 e-mails (via 
/var/spool/mqueue) then no more new processes are spawned 
and the system returns to a listening state. No error 
message in /var/log/messages, no clues in 
/var/log/maillog, nothing in the PostgreSQL logfile to 
indicate why the e-mails stopped sending.


FreeBSD's sysctl shows more than ample system resources 
(mbufs, files, etc). Netstat -m reveals no denied 
requests. Is there another FreeBSD mechanism at play? A 
sendmail configuration setting I can tweak to ensure all 
e-mails are sent? Any other ideas on a cause of this 
behavior?


Have x-posted to the comp.mail.sendmail group with no 
replies yet; sure would appreciate any help.


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

Re: wireless iwi breaking in 6.1-R-p10 to 6.1-R-p11 upgrade

2006-12-07 Thread Andy Harrison

So anyway, nevermind, all set...

If anyone else runs into this, remember boys and girls, if you upgrade
your kernel, you may need to reload your firmware to your wireless
card.

iwicontrol -i iwi0 -d /boot/firmware -m bss

Can you say firmware?

I knew you could.

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


Re: TCP parameters and interpreting tcpdump output

2006-12-07 Thread Dieter
Dieter> > 16 IP bsd.63743 > src.65001: . ack 52 win 65535
Dieter> > 11 IP bsd.63743 > src.65001: . ack 53 win 112 <-- why 
does  
Dieter> > the window suddenly shrink?

Chuck> I'd guess because both sides have requested that the connection  
Chuck> close

That's probably the case.  It just looked odd for the window size
to suddenly shrink.

Dieter> > The ack time is normally 12 or 13 microseconds, which seems to be  
Dieter> > okay.
Dieter> > But 99.5 milliseconds is *way* too slow, data will be lost.
Dieter> >
Dieter> > Is TCP sitting around waiting for a second packet, so that
Dieter> > it can be "efficient" and ack two packets at once?

Chuck> Yup.  Coalescing data before sending it results in less overhead.

Dieter> > What can I do to fix this?  Is there a knob I can turn to say
Dieter> > "ack every packet", or "only wait xxx microseconds for a 2nd packet" ?

Chuck> You can turn on TCP_NODELAY via setsockopt() to disable the Nagle  
Chuck> algorithm.  There are probably sysctl's you can tweak, also...

Bill> sysctl -d net.inet.tcp.delayed_ack
Bill> net.inet.tcp.delayed_ack: Delay ACK to try and piggyback it onto a data 
packet
Bill> 
Bill> That sysctl will turn it off for all network connections on the system.  
You
Bill> can also set it on a per-socket basis using setsockopt and the TCP_NODELAY
Bill> option.  Some google searches on TCP_NODELAY will provide interesting
Bill> technical details.

That fixed one source of evil latency.  Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


wireless iwi breaking in 6.1-R-p10 to 6.1-R-p11 upgrade

2006-12-07 Thread Andy Harrison

I've been running 6.1-R-p10 for months now without any issues.  After
I upgraded last night, wpa_supplicant is broken.   When I run it in
debug mode, I see it repeat this error message:

Starting AP scanbroadcast SSID)
ioctl[SIOCS80211]: Invalid argument
ioctl[SIOCS80211, op 23, arg 0x0]: Invalid argument
Failed to initiate AP scan.
Setting scan request: 10 sec 0 usec

Any clue what the problem might be?

My wpa_supplicant.conf file hasn't been changed for 2 months.  I've
been running the FreeBSD version of wpa_supplicant, but today I tried
installing the wpa_supplicant-0.3.8_2 port to see if that would work,
it did not and failed with the error messages.

I verified that the correct kernel modules are being loaded.  I
switched back to the GENERIC kernel profile, rm -rf /usr/obj/*, and
did another full make buildworld && make kernel and installation
procedure.

At the boot prompt, if I unload the new kernel, then load
/boot/kernel.old/kernel and boot, I still get the same wpa_supplicant
errors.

Any ideas?

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


Re: freebsd jails

2006-12-07 Thread Anish Mistry
On Thursday 07 December 2006 10:18, Greg Barniskis wrote:
> Denzil Kelly wrote:
> > I need to implement web content filtering using squidguard and/or
> > dansguardian for several locations. Each site has different
> > filtering requirements. I want to know if it is possible to do
> > this using a jail for each site(provided that I have sufficiently
> > powerful hardware).
>
> Should not be too difficult to implement.
>
> > I want to
> > have a different IP address for each jail.
>
> A unique IP for each jail is required in any case.
>
> > If this is possible do I need to
> > have a different NIC for each jail?
>
> Nope. Just use aliases in rc.conf for the one NIC. For example, if
> I have a NIC fxp0, on a host with two jails:
>
> ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.0"
> ifconfig_fxp0_alias0="inet 192.168.0.2 netmask 255.255.255.255"
> ifconfig_fxp0_alias1="inet 192.168.0.3 netmask 255.255.255.255"
>
> Note the alias masks are all ones -- that's not a typo.
For 6.2 and above you don't need the alias lines anymore, the 
following works just fine.

jail_list="wwwtest"
# wwwtest jail
jail_wwwtest_interface="vr0"
jail_wwwtest_ip="192.168.1.61"
jail_wwwtest_hostname="wwwtest.example.org"
jail_wwwtest_rootdir="/jail/wwwtest"
jail_wwwtest_devfs_enable="YES"
jail_wwwtest_devfs_ruleset="devfsrules_jail"

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


pgptN5Yc39GHp.pgp
Description: PGP signature


Openbgpd TCP-MD5

2006-12-07 Thread Sergey Alexanov

Hello,

Seemingly like you don't have rfc 2385 support in your kernel

from /usr/src/sys/conf/NOTES :

# TCP_SIGNATURE adds support for RFC 2385 (TCP-MD5) digests. These are
# carried in TCP option 19. This option is commonly used to protect
# TCP sessions (e.g. BGP) where IPSEC is not available nor desirable.
# This is enabled on a per-socket basis using the TCP_MD5SIG socket option.
# This requires the use of 'device crypto', 'options FAST_IPSEC' or 'options
# IPSEC', and 'device cryptodev'.
#optionsTCP_SIGNATURE   #include support for RFC 2385


Regards,

--
Sergey Alexanov
SA1215-RIPE
[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 jails

2006-12-07 Thread Greg Barniskis

Denzil Kelly wrote:

I need to implement web content filtering using squidguard and/or
dansguardian for several locations. Each site has different filtering
requirements. I want to know if it is possible to do this using a jail for
each site(provided that I have sufficiently powerful hardware). 


Should not be too difficult to implement.


I want to
have a different IP address for each jail. 


A unique IP for each jail is required in any case.


If this is possible do I need to
have a different NIC for each jail?


Nope. Just use aliases in rc.conf for the one NIC. For example, if I 
have a NIC fxp0, on a host with two jails:


ifconfig_fxp0="inet 192.168.0.1 netmask 255.255.255.0"
ifconfig_fxp0_alias0="inet 192.168.0.2 netmask 255.255.255.255"
ifconfig_fxp0_alias1="inet 192.168.0.3 netmask 255.255.255.255"

Note the alias masks are all ones -- that's not a typo.


--
Greg Barniskis, Computer Systems Integrator
South Central Library System (SCLS)
Library Interchange Network (LINK)
, (608) 266-6348
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-07 Thread Matthew Seaman
mato wrote:
> On Thu, 07 Dec 2006 13:46:18 +, Vince wrote
>> mato wrote:
>>> On Wed, 6 Dec 2006 16:46:24 -0800, Josh Carroll wrote
>>> ** Port marked as IGNORE: multimedia/win32-codecs:
>>> is forbidden: Remote code execution:
>>> http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html
>>>
>>> Isn't this behaviour flawed ??  Or am I missing something ?
 You need to make config in /usr/ports/multimedia/win32-codecs, and
 unselect quicktime. Then the port should install. This is assuming,
  of course, that you can live without the QT codec(s).

 Josh
>>>
>>> OK, I will try it..  Thank you all.
>>>
>>> But the question remains -- if new port version is not vulnerable why i 
>>> cannot
>>> upgrade to it ??
>>>
>> Its only not vulnerable if you unselect the quicktime codec. the
>> vulnerability is in the quicktime codec.
>>
>> The port will by default use the stored config in
>> /var/db/ports/win32-codecs/options and if this says to use the quicktime
>> codec then it will not upgrade. This seems pretty sensible to me.
>>
>> Vince
>>
> 
> 
> I cannot access and check the port's Makefile right now ... Is it Makefile
> which says (conditionally) "hey i'm vulnerable" or is it portaudit/VuXML
> database which says that.  I guess the former, otherwise freshports.org should
> mark the port as vulnerable.  Right?

In general, this sort of security flagging is done via portaudit's own database
which is derived mostly from VuXML.  To get around the lockout imposed by 
portaudit
you can do:

 make DISABLE_VULNERABILITIES=yes

but a) this doesn't disable any actual vulnerabilities, just the checking
for their presence, and b) on your own head be it.

Now, in the case of the win32-codecs port, it is done differently.  The port
Makefile says this:

.if defined(WITH_QUICKTIME)
FORBIDDEN=  Remote code execution: http://vuxml.FreeBSD.org/24f6b1eb-43d5-11
db-81e1-000e0c2e438a.html
ADDITIONAL_CODECS_DISTFILES+=   qt63dlls-20050115.tar.bz2 \
qtextras-20041107.tar.bz2
PLIST_SUB+= QUICKTIME=""
.else
PLIST_SUB+= QUICKTIME="@comment "
.endif

ie. selecting the Quicktime plugins in the OPTIONS dialog, which causes
WITH_QUICKTIME to be defined, means that the port will be marked forbidden,
and any attempt to install it will be blocked.

A simple 'make config' and unchecking that option will let you install
the port with all of the other codecs.

Freshports parses the VuXML database to mark ports as vulnerable -- the VuXML
data contains a listing of the vulnerable package names and ranges of version
numbers.  VuXML doesn't actually have a way of distinguishing what options are
enabled for the port, although the textual note in the entry explains the 
situation
fairly clearly.  It doesn't say "Users are advised to reinstall the port with 
the
Quicktime support turned off" which might be a nice addition.  The system will
however prompt users to upgrade to a version of the port after the code to
forbid installation with Quicktime stuff enabled was added.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


periodic passwd change?

2006-12-07 Thread Anton Shterenlikht
I can't see how to prescribe periodic passwd change,
only how to set expiry time. At the moment I put the following
line in the root's crontab:

2 2 2 * * pw usermod shterenl -p "`date '+\%d-\%m-\%Y'`"

This makes a user's passwd expire once a month.

Is there a better way to force users change their passwds periodically?

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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-07 Thread mato
On Thu, 07 Dec 2006 13:46:18 +, Vince wrote
> mato wrote:
> > On Wed, 6 Dec 2006 16:46:24 -0800, Josh Carroll wrote
> > ** Port marked as IGNORE: multimedia/win32-codecs:
> > is forbidden: Remote code execution:
> > http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html
> >
> > Isn't this behaviour flawed ??  Or am I missing something ?
> >> You need to make config in /usr/ports/multimedia/win32-codecs, and
> >> unselect quicktime. Then the port should install. This is assuming,
> >>  of course, that you can live without the QT codec(s).
> >>
> >> Josh
> > 
> > 
> > OK, I will try it..  Thank you all.
> > 
> > But the question remains -- if new port version is not vulnerable why i 
> > cannot
> > upgrade to it ??
> > 
> Its only not vulnerable if you unselect the quicktime codec. the
> vulnerability is in the quicktime codec.
> 
> The port will by default use the stored config in
> /var/db/ports/win32-codecs/options and if this says to use the quicktime
> codec then it will not upgrade. This seems pretty sensible to me.
> 
> Vince
> 


I cannot access and check the port's Makefile right now ... Is it Makefile
which says (conditionally) "hey i'm vulnerable" or is it portaudit/VuXML
database which says that.  I guess the former, otherwise freshports.org should
mark the port as vulnerable.  Right?

Cheers,

Martin

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


Re: pb installing P5-BerkeleyDB

2006-12-07 Thread Len Conrad

pkg_info shows:

db41-4.1.25_4   The Berkeley DB package, revision 4.1
p5-BerkeleyDB-0.31  Perl5 interface to the Berkeley DB package

but I still get:

%/usr/local/etc/rc.d/postgrey.sh start

Can't locate BerkeleyDB.pm in @INC (@INC contains: 
/usr/local/lib/perl5/site_perl/5.8.2/mach 
/usr/local/lib/perl5/site_perl/5.8.2 /usr/local/lib/perl5/site_perl 
/usr/local/lib/perl5/5.8.2/BSDPAN /usr/local/lib/perl5/5.8.2/mach 
/usr/local/lib/perl5/5.8.2) at /usr/local/bin/postgrey.pl line 14.

BEGIN failed--compilation aborted at /usr/local/bin/postgrey.pl line 14.

Len


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


Re: pb installing P5-BerkeleyDB

2006-12-07 Thread Len Conrad



>  >> Checksum mismatch for bdb/db-4.1.25.tar.gz.
>  >> Checksum OK for bdb/patch.4.1.25.1.
>
> ===>  Refetch for 1 more times files: bdb/db-4.1.25.tar.gz
> ===>  Vulnerability check disabled
>
>  >> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb.
>  >> Attempting to fetch from http://www.sleepycat.com/update/snapshot/.
>
> fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz:
> Moved Permanently
>
>  >> Attempting to fetch from
>
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/.
> fetch:
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz:
> size mismatch: expected 3080234, actual 2901161

The problem is that Sleepycat repackaged their tarball at some point this
year, changing the filesize and checksum without changing the version number.
I have a feeling I got round this on one box by upgrading the ports tree
(which of course adds its own problems with newer ports, dependencies etc),
and on another box by copying the checksum and file size from
http://www.freshports.org/ into the port's distinfo.

It is an extremely irritating problem: in an ideal world no-one would ever
change the size/checksum of their main distfile without also changing the
filename/version number, even if only slightly.


ok, but on an adjacent 4.11-R machine, this worked, as the msg says:

%cd /usr/ports/distfiles/bdb
%ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz

so I think I'm pretty close on this 4.10 machine, just some little 
tweak somewhere, but I  can't find it.


thanks
Len


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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-07 Thread Vince
mato wrote:
> On Wed, 6 Dec 2006 16:46:24 -0800, Josh Carroll wrote
> ** Port marked as IGNORE: multimedia/win32-codecs:
> is forbidden: Remote code execution:
> http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html
>
> Isn't this behaviour flawed ??  Or am I missing something ?
>> You need to make config in /usr/ports/multimedia/win32-codecs, and
>> unselect quicktime. Then the port should install. This is assuming,
>>  of course, that you can live without the QT codec(s).
>>
>> Josh
> 
> 
> OK, I will try it..  Thank you all.
> 
> But the question remains -- if new port version is not vulnerable why i cannot
> upgrade to it ??
> 
Its only not vulnerable if you unselect the quicktime codec. the
vulnerability is in the quicktime codec.

The port will by default use the stored config in
/var/db/ports/win32-codecs/options and if this says to use the quicktime
codec then it will not upgrade. This seems pretty sensible to me.

Vince


> Cheers,
> 
> Martin
> ___
> 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: pb installing P5-BerkeleyDB

2006-12-07 Thread Jonathan McKeown
On Thursday 07 December 2006 15:06, Len Conrad wrote:

>  >> Checksum mismatch for bdb/db-4.1.25.tar.gz.
>  >> Checksum OK for bdb/patch.4.1.25.1.
>
> ===>  Refetch for 1 more times files: bdb/db-4.1.25.tar.gz
> ===>  Vulnerability check disabled
>
>  >> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb.
>  >> Attempting to fetch from http://www.sleepycat.com/update/snapshot/.
>
> fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz:
> Moved Permanently
>
>  >> Attempting to fetch from
>
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/.
> fetch:
> ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz:
> size mismatch: expected 3080234, actual 2901161

The problem is that Sleepycat repackaged their tarball at some point this 
year, changing the filesize and checksum without changing the version number. 
I have a feeling I got round this on one box by upgrading the ports tree 
(which of course adds its own problems with newer ports, dependencies etc), 
and on another box by copying the checksum and file size from 
http://www.freshports.org/ into the port's distinfo.

It is an extremely irritating problem: in an ideal world no-one would ever 
change the size/checksum of their main distfile without also changing the 
filename/version number, even if only slightly.

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


Re: portupgrade refusin to upgrade a port .. when it shouldn't imho

2006-12-07 Thread mato
On Wed, 6 Dec 2006 16:46:24 -0800, Josh Carroll wrote
> > >> ** Port marked as IGNORE: multimedia/win32-codecs:
> > >> is forbidden: Remote code execution:
> > >> http://vuxml.FreeBSD.org/24f6b1eb-43d5-11db-81e1-000e0c2e438a.html
> > >>
> > >> Isn't this behaviour flawed ??  Or am I missing something ?
> 
> You need to make config in /usr/ports/multimedia/win32-codecs, and
> unselect quicktime. Then the port should install. This is assuming,
>  of course, that you can live without the QT codec(s).
> 
> Josh


OK, I will try it..  Thank you all.

But the question remains -- if new port version is not vulnerable why i cannot
upgrade to it ??

Cheers,

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


pb installing P5-BerkeleyDB

2006-12-07 Thread Len Conrad

freebsd 4.10-R
perl 5.8.2

==

cd /usr/ports/databases/db41

cd /usr/ports/databases/db41
%make && make install
===>  Vulnerability check disabled
===>  Extracting for db41-4.1.25_2
>> Checksum mismatch for bdb/db-4.1.25.tar.gz.
>> Checksum OK for bdb/patch.4.1.25.1.
===>  Refetch for 1 more times files: bdb/db-4.1.25.tar.gz
===>  Vulnerability check disabled
>> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb.
>> Attempting to fetch from http://www.sleepycat.com/update/snapshot/.
fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz: 
Moved Permanently
>> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz: 
size mismatch: expected 3080234, actual 2901161

>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/bdb and try again.
*** Error code 1

Stop in /usr/ports/databases/db41.
*** Error code 1

Stop in /usr/ports/databases/db41.

ok, so RTFMsg above and :

%cd /usr/ports/distfiles/bdb
%ftp ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz

cd dist
./configure
make && make intall

 all works fine:

%ll /usr/local/BerkeleyDB.4.1/bin/
total 104
-r-xr-xr-x  1 root  100  -  5612 Dec  7 07:57 db_archive*
-r-xr-xr-x  1 root  100  -  7116 Dec  7 07:57 db_checkpoint*
-r-xr-xr-x  1 root  100  -  6720 Dec  7 07:57 db_deadlock*
-r-xr-xr-x  1 root  100  - 10064 Dec  7 07:57 db_dump*
-r-xr-xr-x  1 root  100  - 17264 Dec  7 07:57 db_load*
-r-xr-xr-x  1 root  100  -  7996 Dec  7 07:57 db_printlog*
-r-xr-xr-x  1 root  100  -  6684 Dec  7 07:57 db_recover*
-r-xr-xr-x  1 root  100  - 23488 Dec  7 07:57 db_stat*
-r-xr-xr-x  1 root  100  -  5932 Dec  7 07:57 db_upgrade*
-r-xr-xr-x  1 root  100  -  6828 Dec  7 07:57 db_verify*


%ll /usr/local/BerkeleyDB.4.1/lib
total 1586
-rw-r--r--  1 root  100- 878878 Dec  7 07:57 libdb-4.1.a
-rw-r--r--  1 root  100-724 Dec  7 00:03 libdb-4.1.la
-rwxr-xr-x  1 root  100- 695625 Dec  7 00:03 libdb-4.1.so*
lrwxr-xr-x  1 root  wheel  - 12 Dec  7 07:57 libdb-4.so@ -> libdb-4.1.so
lrwxr-xr-x  1 root  wheel  - 11 Dec  7 07:57 libdb.a@ -> libdb-4.1.a
lrwxr-xr-x  1 root  wheel  - 12 Dec  7 07:57 libdb.so@ -> libdb-4.1.so


Install the Perl5 module for BerkeleyDB:


cd /usr/ports/databases/p5-BerkeleyDB

make WITH_BDB_VER=41

%cd /usr/ports/databases/p5-BerkeleyDB
%make WITH_BDB_VER=41
===>   p5-BerkeleyDB-0.25 depends on shared library: db41.1 - not 
found  <

===>Verifying install for db41.1 in /usr/ports/databases/db41
===>  Vulnerability check disabled
===>  Extracting for db41-4.1.25_2
>> Checksum mismatch for bdb/db-4.1.25.tar.gz.
>> Checksum OK for bdb/patch.4.1.25.1.
===>  Refetch for 1 more times files: bdb/db-4.1.25.tar.gz
===>  Vulnerability check disabled
>> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb.
>> Attempting to fetch from http://www.sleepycat.com/update/snapshot/.
fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz: 
Moved Permanently
>> Attempting to fetch from 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/.
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz: 
size mismatch: expected 3080234, actual 2901161

>> Couldn't fetch it - please try to retrieve this
>> port manually into /usr/ports/distfiles/bdb and try again.
*** Error code 1

but :

%ll /usr/ports/distfiles/bdb
total 2868
drwxr-xr-x  54 100   100-1024 Dec  7 07:57 db-4.1.25/
-rw-r--r--   1 root  wheel  - 2901161 Feb  9  2006 db-4.1.25.tar.gz
-rw-r--r--   1 root  wheel  - 610 Jan 27  2003 patch.4.1.25.1

I also tried putting it here:

%ll /usr/ports/databases/db41
total 2922
-rw-r--r--   1 root  wheel  -1267 Apr 16  2004 Makefile
drwxr-xr-x  54 100   100-1024 Dec 19  2002 db-4.1.25/
-rw-r--r--   1 root  wheel  - 2901161 Feb  9  2006 db-4.1.25.tar.gz
-rw-r--r--   1 root  wheel  - 192 Mar 17  2004 distinfo
drwxr-xr-x   2 root  wheel  - 512 Sep 29  2004 files/
-rw-r--r--   1 root  wheel  - 489 Jul  9  2003 pkg-descr
-rw-r--r--   1 root  wheel  -   49150 Jan  6  2003 pkg-plist

so how do I get :

cd /usr/ports/databases/p5-BerkeleyDB
make WITH_BDB_VER=41
make WITH_BDB_VER=41 install

... to find the BerekelyDB?

thanks
Len


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


RE: How does my computer work with an empty arp table?

2006-12-07 Thread Paul Hamilton
> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Monday, 4 December 2006 2:15 PM
> To: freebsd-questions@freebsd.org
> Subject: Re: How does my computer work with an empty arp table?
> 
> 
> On Sun, Dec 03, 2006 at 02:53:44PM -0800, Atom Powers wrote:
> > On 12/3/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > >My computer is connected to ISP via ADSL and works properly.
> > >
> > >I typed
> > >
> > >arp -a
> > >
> > >and saw an empty table, although I pinged successfully an Internet 
> > >host one second ago.
> > 
> > The ARP table is a cache of known ARP<->IP addresses. If 
> there are no 
> > addresses in the ARP table then the system will send out an ARP 
> > broadcast to discover the ARP address that belongs to the 
> IP address. 
> > Of course only the Ethernet hosts on your local network will be in 
> > your ARP table.
> > 
> > --
> > --
> > Perfection is just a word I use occasionally with mustard.
> > --Atom Ray Powers--
> 
> Thank you for response.
> 
> But why there is no MAC address of my ADSL modem connected 
> via Ethernet? Does my host send broadcast frames to 
> communicate with modem everytime?
> 
> Furthermore, when I ping the modem, a proper entry appears in table:
> 
> --
> --
> $arp -a
> 
> $ping -c 1 rt # It is my modem
> PING rt.my.domain (192.168.1.1): 56 data bytes
> 64 bytes from 192.168.1.1: icmp_seq=0 ttl=254 time=1.298 ms
> 
> --- rt.my.domain ping statistics ---
> 1 packets transmitted, 1 packets received, 0% packet loss 
> round-trip min/avg/max/stddev = 1.298/1.298/1.298/0.000 ms
> 
> $arp -a
> rt.my.domain (192.168.1.1) at 00:13:49:61:f9:b2 on rl0 [ethernet]
> --
> --
> 
> But no entry appears when I communicate trough the modem.
> 
> How can I watch what is going on?
> 

You can see what's going on by su'ing to root, and typeing:  

  tcpdump -ni rl0

then try pinging, or sending your traffic.  You will then see the ADSL modem
reply (or the PPoE traffic etc).

Cheers,

Paul
 

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


SATA server recommendation

2006-12-07 Thread Alex Zbyslaw

Can anyone recommend a server to run FreeBSD with the following features:

   1) Supports multiple (say 4 or more) SATA disks (RAID optional) - 
capacity is more important than speed so SAS disks are overkill.


   2) Decent on-site support for the whole machine, so probably from a 
big-brand manufacturer.  Separately purchased add-on cards therefore a 
no-no, so no Highpoint/Areca or other SATA controllers unless they come 
with the machine.


   3) Tower format.

   4) Working ethernet, preferably twin.

   5) USB would be nice.

We started looking at Dell's, having had success with 2850s, but with 
the new product line I can't find a suitable controller I know is 
supported.  The 1900 has a SAS 5/iR for which I can find no definitive 
information; the 1430 has a SAS 5/i for which again I can find no "it 
works" info.  (Note: not the PERC 5 range which at £300+ are simply 
overkill).


Has anyone got a Dell like one of these working?  Or an HP?  Sun?  IBM?

TIA,

--Alex



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


Re: BSDStats Report for December 1st, 2006

2006-12-07 Thread Marc G. Fournier
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Can you email me the output of /var/db/bsdstats?

- --On Thursday, December 07, 2006 13:38:28 +0300 Abdullah Al-Marrie 
<[EMAIL PROTECTED]> wrote:

> Hello,
>
> I'm using it in my laptop, but I don't see my country State of Qatar
> in http://www.bsdstats.org/countries.php
>
> Is it supported?
>
> Thank you,
>
> -Abdullah



- 
Marc G. Fournier   Hub.Org Networking Services (http://www.hub.org)
Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFeADH4QvfyHIvDvMRAuYtAKCftqpwXxhFc2wtmAMbHnMTSQ7r7QCeI0JH
15AmGUXeq9zhyO2UkNgE4y4=
=f0xv
-END PGP SIGNATURE-

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


Re: php 5.2.0... go boom!

2006-12-07 Thread Spil Oss

Hi Jonathan,

Have you found a solution yet to your segfaulting php 5.2.0?
There are reports that it has to do with the order of loading the
extensions (notably, session seems to have to be one of the last, and
mysql last)

Please let me know if it helps (and even if it doesn't) or any other
solutions. My php 5.2.0 still won't fly (although the debug-version
does!).

See http://lists.freebsd.org/pipermail/freebsd-ports/2006-November/036596.html

Kind regards,

Spil

On 08/11/06, Jonathan Horne <[EMAIL PROTECTED]> wrote:

well, im franticly researching that bit of text that has flashed by during
countless portupgrades... "backing up previous version".  right about now, i
would LOVE to have php 5.1.6_3 back...

1) anyone else have bad luck with the upgrade to 5.2.0?  my httpd-error logs
are filling with this:

[Tue Nov 07 20:49:09 2006] [notice] child pid 58928 exit signal Segmentation
fault (11

2) can anyone shed light on the fabled "way of backing out of a portupgrade
gone awry?

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


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


Re: How to use ulpt driver?

2006-12-07 Thread Vince
[EMAIL PROTECTED] wrote:
> On Thu, Dec 07, 2006 at 09:53:08AM +, Vince wrote:
>> [EMAIL PROTECTED] wrote:
>>> I get USB printer Canon PIXMA iP 2000 and attached it to my computer.
>>>
>>> The kernel was compiled with:
>>>
>>> # USB support
>>> device  uhci# UHCI PCI->USB interface
>>> device  usb # USB Bus (required)
>>> device  ugen# Generic
>>> device  uhid# "Human Interface Devices"
>>> device  umass   # Disks/Mass storage - Requires scbus 
>>> and da
>>>
>>> and sees the printer:
>>>

>>> What is wrong and how will I print?
>>>
>> when you plug in/turn on the printer with the system booted, what
>> appears in your dmesg/messages log?
>>
>> I see there are some ugen entries in /dev so it might not be recognised
>> by the driver correctly.
>>
>> Vince
>>
>>> Elisej Babenko
> 
> It is something misterious.
> 
> When I boot my computer with printer turned on and load ulpt driver
> the results is like above (ugens instead of ulpt).
> 
> When I turn off the printer, the kernel reads:
> 
> ugen0: at uhub0 port 2 (addr 2) disconnected
> All threads purged from ugen0.2
> All threads purged from ugen0.1
> All threads purged from ugen0
> ugen0: detached
> 
> and ugen0, ugen0.1, and ugen0.2 disappear in /dev.
> 
> When I turn on the printer again with ulpt loaded, the kernel reads:
> 
> ulpt0: Canon iP2000, rev 1.10/1.05, addr 2, iclass 7/1
> ulpt0: using bi-directional mode
> 
> And I have ulpt0 and unlpt0 desired in /dev instead of ugens now!
> 
> May be the ugen driver built in kernel prevents ulpt driver from
> proper work and I should throw ugen driver out from kernel?
> 
No instead just have ulpt compiled statically in or load it by
/boot/loader.conf (or do what you did here.)


Vince

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

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


Re: How to use ulpt driver?

2006-12-07 Thread a
On Thu, Dec 07, 2006 at 09:53:08AM +, Vince wrote:
> [EMAIL PROTECTED] wrote:
> > I get USB printer Canon PIXMA iP 2000 and attached it to my computer.
> > 
> > The kernel was compiled with:
> > 
> > # USB support
> > device  uhci# UHCI PCI->USB interface
> > device  usb # USB Bus (required)
> > device  ugen# Generic
> > device  uhid# "Human Interface Devices"
> > device  umass   # Disks/Mass storage - Requires scbus 
> > and da
> > 
> > and sees the printer:
> > 
> > 
> > $ dmesg
> > 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-RELEASE #14: Thu Dec  7 07:15:51 EET 2006
> > [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
> > ACPI APIC Table: 
> > Timecounter "i8254" frequency 1193182 Hz quality 0
> > CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1511.68-MHz 686-class CPU)
> >   Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
> >   
> > Features=0x3febfbff
> > real memory  = 805240832 (767 MB)
> > avail memory = 782880768 (746 MB)
> > ioapic0  irqs 0-23 on motherboard
> > acpi0:  on motherboard
> > acpi0: Power Button (fixed)
> > Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> > cpu0:  on acpi0
> > acpi_throttle0:  on cpu0
> > acpi_button0:  on acpi0
> > acpi_button1:  on acpi0
> > pcib0:  port 0xcf8-0xcff,0x4000-0x40f7 on acpi0
> > pci0:  on pcib0
> > agp0:  mem 0xd800-0xdbff at device 
> > 0.0 on pci0
> > pcib1:  at device 1.0 on pci0
> > pci1:  on pcib1
> > pci1:  at device 0.0 (no driver attached)
> > pcib2:  at device 30.0 on pci0
> > pci2:  on pcib2
> > rl0:  port 0xc000-0xc0ff mem 
> > 0xde00-0xdeff irq 17 at device 1.0 on pci2
> > miibus0:  on rl0
> > rlphy0:  on miibus0
> > rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> > rl0: Ethernet address: 00:02:44:92:18:75
> > pci2:  at device 5.0 (no driver attached)
> > isab0:  at device 31.0 on pci0
> > isa0:  on isab0
> > atapci0:  port 
> > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
> > ata0:  on atapci0
> > ata1:  on atapci0
> > uhci0:  port 0xd000-0xd01f 
> > irq 19 at device 31.2 on pci0
> > uhci0: [GIANT-LOCKED]
> > usb0:  on uhci0
> > usb0: USB revision 1.0
> > uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > uhub0: 2 ports with 2 removable, self powered
> > pci0:  at device 31.3 (no driver attached)
> > uhci1:  port 0xd800-0xd81f 
> > irq 23 at device 31.4 on pci0
> > uhci1: [GIANT-LOCKED]
> > usb1:  on uhci1
> > usb1: USB revision 1.0
> > uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> > uhub1: 2 ports with 2 removable, self powered
> > pcm0:  port 0xdc00-0xdcff,0xe000-0xe03f irq 17 at 
> > device 31.5 on pci0
> > pcm0: 
> > acpi_tz0:  on acpi0
> > fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
> > fdc0: [FAST]
> > fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> > atkbdc0:  port 0x60,0x64 irq 1 on acpi0
> > atkbd0:  irq 1 on atkbdc0
> > kbd0 at atkbd0
> > atkbd0: [GIANT-LOCKED]
> > psm0:  irq 12 on atkbdc0
> > psm0: [GIANT-LOCKED]
> > psm0: model IntelliMouse, device ID 3
> > pmtimer0 on isa0
> > sc0:  at flags 0x100 on isa0
> > sc0: VGA <16 virtual consoles, flags=0x300>
> > vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> > ugen0: Canon iP2000, rev 1.10/1.05, addr 2
> > Timecounter "TSC" frequency 1511681224 Hz quality 800
> > Timecounters tick every 1.000 msec
> > ad0: 38204MB  at ata0-master UDMA100
> > acd0: CDROM  at ata1-master PIO4
> > Trying to mount root from ufs:/dev/ad0s1a
> > rl0: link state changed to UP
> > 
> > 
> > Now I loaded ulpt dinamically:
> > 
> > 
> > $ kldstat
> > Id Refs AddressSize Name
> >  1   14 0xc040 33dc1c   kernel
> >  21 0xc073e000 58554acpi.ko
> > .
> > 121 0xc45f1000 3000 ulpt.ko
> > 
> > 
> > But no ulpt in /dev appeared:
> > 
> > 
> > $ ls /dev
> > acd0bpsm0   kbd0random  ttyv9
> > acpiconsole klogsndstat ttyva
> > ad0 consolectl  kmemstderr  ttyvb
> > ad0s1   cttylog stdin   ttyvc
> > ad0s1a  devctl  mdctl   stdout  ttyvd
> > ad0s1b  devstat mem sysmousettyve
> > ad0s1c  dsp0.0  mixe

Re: BSDStats Report for December 1st, 2006

2006-12-07 Thread Abdullah Al-Marrie

Hello,

I'm using it in my laptop, but I don't see my country State of Qatar
in http://www.bsdstats.org/countries.php

Is it supported?

Thank you,

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


Re: Which version to use ( Xeon 64 bits )

2006-12-07 Thread Vince
Vince wrote:
> Frank Bonnet wrote:
>> Peter A. Giessel wrote:
>>
>>> It depends on what you are going to do with it.  This question has been
>>> asked many times on this e-mail list, so you might want to start by
>>> searching the archives.
>>>
>>> If you are running desktop applications on it (such as X11), you might
>>> be better off running the i386 version as some ports don't support AMD64,
>>> however, if you have more than 4GB of RAM and/or are running all ports
>>> that support AMD64, you'd probably be better off running AMD64.  I'm
>>> running AMD64 with Apache22, PHP5, MySQL40, Dovecot, Sendmail, SASL2,
>>> Horde-IMP, and some other things and it works great (Opteron 246 x2,
>>> 4GB RAM, 3Ware raid card), but YMMV.
>> Well thanks for your answer, the machine will be our mailhub so its
>> configuration will be close to yours ( except I'll run postfix instead
>> of sendmail )
>> it will have 7Gb RAM so I have to go for AMD64
>>
>> I discover after posting my email to the list the the serverRAID shipped
>> with my x3650 is not yet supported at 6.1 (no disk seen at install) but
>> I read in an archive there is a patch (in aac) provided by Adaptec that
>> will be integrated in 6.2 ...
>>
>> If the 6.2 delay is too long I'll try to apply the patch myself, I never
>> did
>> that but there is probably a way to do it :-)
>>
> 
> you could try installing from the RC-1 images if your impatient. (ISOs
> in /pub/FreeBSD/releases/i386/ISO-IMAGES/6.2 on your favorite mirror)
> 
Sorry lacking coffeee this morning I mean of course

/pub/FreeBSD/releases/amd64/ISO-IMAGES/6.2

/me goes back to sleep now.
Vince
> Vince
>> Thanks again
> 
> ___
> 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: Which version to use ( Xeon 64 bits )

2006-12-07 Thread Vince
Frank Bonnet wrote:
> Peter A. Giessel wrote:
> 
>> It depends on what you are going to do with it.  This question has been
>> asked many times on this e-mail list, so you might want to start by
>> searching the archives.
>>
>> If you are running desktop applications on it (such as X11), you might
>> be better off running the i386 version as some ports don't support AMD64,
>> however, if you have more than 4GB of RAM and/or are running all ports
>> that support AMD64, you'd probably be better off running AMD64.  I'm
>> running AMD64 with Apache22, PHP5, MySQL40, Dovecot, Sendmail, SASL2,
>> Horde-IMP, and some other things and it works great (Opteron 246 x2,
>> 4GB RAM, 3Ware raid card), but YMMV.
> 
> Well thanks for your answer, the machine will be our mailhub so its
> configuration will be close to yours ( except I'll run postfix instead
> of sendmail )
> it will have 7Gb RAM so I have to go for AMD64
> 
> I discover after posting my email to the list the the serverRAID shipped
> with my x3650 is not yet supported at 6.1 (no disk seen at install) but
> I read in an archive there is a patch (in aac) provided by Adaptec that
> will be integrated in 6.2 ...
> 
> If the 6.2 delay is too long I'll try to apply the patch myself, I never
> did
> that but there is probably a way to do it :-)
> 

you could try installing from the RC-1 images if your impatient. (ISOs
in /pub/FreeBSD/releases/i386/ISO-IMAGES/6.2 on your favorite mirror)

Vince
> Thanks again

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


Re: How to use ulpt driver?

2006-12-07 Thread Vince
[EMAIL PROTECTED] wrote:
> I get USB printer Canon PIXMA iP 2000 and attached it to my computer.
> 
> The kernel was compiled with:
> 
> # USB support
> deviceuhci# UHCI PCI->USB interface
> deviceusb # USB Bus (required)
> deviceugen# Generic
> deviceuhid# "Human Interface Devices"
> deviceumass   # Disks/Mass storage - Requires scbus 
> and da
> 
> and sees the printer:
> 
> 
> $ dmesg
> 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-RELEASE #14: Thu Dec  7 07:15:51 EET 2006
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
> ACPI APIC Table: 
> Timecounter "i8254" frequency 1193182 Hz quality 0
> CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1511.68-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
>   
> Features=0x3febfbff
> real memory  = 805240832 (767 MB)
> avail memory = 782880768 (746 MB)
> ioapic0  irqs 0-23 on motherboard
> acpi0:  on motherboard
> acpi0: Power Button (fixed)
> Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> cpu0:  on acpi0
> acpi_throttle0:  on cpu0
> acpi_button0:  on acpi0
> acpi_button1:  on acpi0
> pcib0:  port 0xcf8-0xcff,0x4000-0x40f7 on acpi0
> pci0:  on pcib0
> agp0:  mem 0xd800-0xdbff at device 
> 0.0 on pci0
> pcib1:  at device 1.0 on pci0
> pci1:  on pcib1
> pci1:  at device 0.0 (no driver attached)
> pcib2:  at device 30.0 on pci0
> pci2:  on pcib2
> rl0:  port 0xc000-0xc0ff mem 0xde00-0xdeff 
> irq 17 at device 1.0 on pci2
> miibus0:  on rl0
> rlphy0:  on miibus0
> rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> rl0: Ethernet address: 00:02:44:92:18:75
> pci2:  at device 5.0 (no driver attached)
> isab0:  at device 31.0 on pci0
> isa0:  on isab0
> atapci0:  port 
> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
> ata0:  on atapci0
> ata1:  on atapci0
> uhci0:  port 0xd000-0xd01f irq 
> 19 at device 31.2 on pci0
> uhci0: [GIANT-LOCKED]
> usb0:  on uhci0
> usb0: USB revision 1.0
> uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub0: 2 ports with 2 removable, self powered
> pci0:  at device 31.3 (no driver attached)
> uhci1:  port 0xd800-0xd81f irq 
> 23 at device 31.4 on pci0
> uhci1: [GIANT-LOCKED]
> usb1:  on uhci1
> usb1: USB revision 1.0
> uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> uhub1: 2 ports with 2 removable, self powered
> pcm0:  port 0xdc00-0xdcff,0xe000-0xe03f irq 17 at 
> device 31.5 on pci0
> pcm0: 
> acpi_tz0:  on acpi0
> fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
> fdc0: [FAST]
> fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> atkbdc0:  port 0x60,0x64 irq 1 on acpi0
> atkbd0:  irq 1 on atkbdc0
> kbd0 at atkbd0
> atkbd0: [GIANT-LOCKED]
> psm0:  irq 12 on atkbdc0
> psm0: [GIANT-LOCKED]
> psm0: model IntelliMouse, device ID 3
> pmtimer0 on isa0
> sc0:  at flags 0x100 on isa0
> sc0: VGA <16 virtual consoles, flags=0x300>
> vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> ugen0: Canon iP2000, rev 1.10/1.05, addr 2
> Timecounter "TSC" frequency 1511681224 Hz quality 800
> Timecounters tick every 1.000 msec
> ad0: 38204MB  at ata0-master UDMA100
> acd0: CDROM  at ata1-master PIO4
> Trying to mount root from ufs:/dev/ad0s1a
> rl0: link state changed to UP
> 
> 
> Now I loaded ulpt dinamically:
> 
> 
> $ kldstat
> Id Refs AddressSize Name
>  1   14 0xc040 33dc1c   kernel
>  21 0xc073e000 58554acpi.ko
>   .
> 121 0xc45f1000 3000 ulpt.ko
> 
> 
> But no ulpt in /dev appeared:
> 
> 
> $ ls /dev
> acd0  bpsm0   kbd0random  ttyv9
> acpi  console klogsndstat ttyva
> ad0   consolectl  kmemstderr  ttyvb
> ad0s1 cttylog stdin   ttyvc
> ad0s1adevctl  mdctl   stdout  ttyvd
> ad0s1bdevstat mem sysmousettyve
> ad0s1cdsp0.0  mixer0  ttyp0   ttyvf
> ad0s1ddsp0.1  net ttyv0   ugen0
> ad0s1edspW0.0 net1ttyv1   ugen0.1
> ad0s1fdspW0.1 net2ttyv2   ugen0.2
> agpgart   dspr0

Re: How to use ulpt driver?

2006-12-07 Thread a
On Wed, Dec 06, 2006 at 10:46:17PM -0800, Garrett Cooper wrote:
> [EMAIL PROTECTED] wrote:
> >I get USB printer Canon PIXMA iP 2000 and attached it to my computer.
> >The kernel was compiled with:
> ># USB support
> >device   uhci# UHCI PCI->USB interface
> >device   usb # USB Bus (required)
> >device   ugen# Generic
> >device   uhid# "Human Interface Devices"
> >device   umass   # Disks/Mass storage - Requires scbus 
> >and da
> >and sees the printer:
> >
> >$ dmesg
> >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-RELEASE #14: Thu Dec  7 07:15:51 EET 2006
> >[EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKERNEL
> >ACPI APIC Table: 
> >Timecounter "i8254" frequency 1193182 Hz quality 0
> >CPU: Intel(R) Pentium(R) 4 CPU 1.50GHz (1511.68-MHz 686-class CPU)
> >  Origin = "GenuineIntel"  Id = 0xf12  Stepping = 2
> >  
> >Features=0x3febfbff
> >real memory  = 805240832 (767 MB)
> >avail memory = 782880768 (746 MB)
> >ioapic0  irqs 0-23 on motherboard
> >acpi0:  on motherboard
> >acpi0: Power Button (fixed)
> >Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
> >acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
> >cpu0:  on acpi0
> >acpi_throttle0:  on cpu0
> >acpi_button0:  on acpi0
> >acpi_button1:  on acpi0
> >pcib0:  port 0xcf8-0xcff,0x4000-0x40f7 on acpi0
> >pci0:  on pcib0
> >agp0:  mem 0xd800-0xdbff at device 
> >0.0 
> >on pci0
> >pcib1:  at device 1.0 on pci0
> >pci1:  on pcib1
> >pci1:  at device 0.0 (no driver attached)
> >pcib2:  at device 30.0 on pci0
> >pci2:  on pcib2
> >rl0:  port 0xc000-0xc0ff mem 
> >0xde00-0xdeff 
> >irq 17 at device 1.0 on pci2
> >miibus0:  on rl0
> >rlphy0:  on miibus0
> >rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> >rl0: Ethernet address: 00:02:44:92:18:75
> >pci2:  at device 5.0 (no driver attached)
> >isab0:  at device 31.0 on pci0
> >isa0:  on isab0
> >atapci0:  port 
> >0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 31.1 on pci0
> >ata0:  on atapci0
> >ata1:  on atapci0
> >uhci0:  port 0xd000-0xd01f 
> >irq 
> >19 at device 31.2 on pci0
> >uhci0: [GIANT-LOCKED]
> >usb0:  on uhci0
> >usb0: USB revision 1.0
> >uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> >uhub0: 2 ports with 2 removable, self powered
> >pci0:  at device 31.3 (no driver attached)
> >uhci1:  port 0xd800-0xd81f 
> >irq 
> >23 at device 31.4 on pci0
> >uhci1: [GIANT-LOCKED]
> >usb1:  on uhci1
> >usb1: USB revision 1.0
> >uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
> >uhub1: 2 ports with 2 removable, self powered
> >pcm0:  port 0xdc00-0xdcff,0xe000-0xe03f irq 17 at 
> >device 
> >31.5 on pci0
> >pcm0: 
> >acpi_tz0:  on acpi0
> >fdc0:  port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
> >fdc0: [FAST]
> >fd0: <1440-KB 3.5" drive> on fdc0 drive 0
> >atkbdc0:  port 0x60,0x64 irq 1 on acpi0
> >atkbd0:  irq 1 on atkbdc0
> >kbd0 at atkbd0
> >atkbd0: [GIANT-LOCKED]
> >psm0:  irq 12 on atkbdc0
> >psm0: [GIANT-LOCKED]
> >psm0: model IntelliMouse, device ID 3
> >pmtimer0 on isa0
> >sc0:  at flags 0x100 on isa0
> >sc0: VGA <16 virtual consoles, flags=0x300>
> >vga0:  at port 0x3c0-0x3df iomem 0xa-0xb on isa0
> >ugen0: Canon iP2000, rev 1.10/1.05, addr 2
> >Timecounter "TSC" frequency 1511681224 Hz quality 800
> >Timecounters tick every 1.000 msec
> >ad0: 38204MB  at ata0-master UDMA100
> >acd0: CDROM  at ata1-master PIO4
> >Trying to mount root from ufs:/dev/ad0s1a
> >rl0: link state changed to UP
> >
> >Now I loaded ulpt dinamically:
> >
> >$ kldstat
> >Id Refs AddressSize Name
> > 1   14 0xc040 33dc1c   kernel
> > 21 0xc073e000 58554acpi.ko
> > .
> >121 0xc45f1000 3000 ulpt.ko
> >
> >But no ulpt in /dev appeared:
> >
> >$ ls /dev
> >acd0 bpsm0   kbd0random  ttyv9
> >acpi console klogsndstat ttyva
> >ad0  consolectl  kmemstderr  ttyvb
> >ad0s1cttylog stdin   ttyvc
> >ad0s1a   devctl  mdctl   stdout  ttyvd
> >ad0s1b   devstat mem sysmousettyve
> >ad0s1c   dsp0.0  mixer0  ttyp0   ttyvf
> >ad0s1d   dsp0.1  net ttyv0   ugen0
> >ad0s1e

Re: The Opera browser on FreeBSD

2006-12-07 Thread Svein Halvor Halvorsen
Me:
>> Btw, sound in flash is lagging (this is nothing new, though, it was
>> always the case). Has this something to do with the
>> Opera/Flash-combo, or is it due to the Linuxulator-stuff? Does
>> anyone else see this?

Arjan van Leeuwen wrote:
> It's a known bug in Flash 7 for Linux. It's supposed to be improved in  
> Flash 9.

That's a pity! As I understand, Flash 9 for uses ALSA for sound on
Linux, and -- while it will be suported on FreeBSD -- will not give
any sound. Right?


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: Which version to use ( Xeon 64 bits )

2006-12-07 Thread Frank Bonnet

Peter A. Giessel wrote:


It depends on what you are going to do with it.  This question has been
asked many times on this e-mail list, so you might want to start by
searching the archives.

If you are running desktop applications on it (such as X11), you might
be better off running the i386 version as some ports don't support AMD64,
however, if you have more than 4GB of RAM and/or are running all ports
that support AMD64, you'd probably be better off running AMD64.  I'm
running AMD64 with Apache22, PHP5, MySQL40, Dovecot, Sendmail, SASL2,
Horde-IMP, and some other things and it works great (Opteron 246 x2,
4GB RAM, 3Ware raid card), but YMMV.


Well thanks for your answer, the machine will be our mailhub so its
configuration will be close to yours ( except I'll run postfix instead of 
sendmail )
it will have 7Gb RAM so I have to go for AMD64

I discover after posting my email to the list the the serverRAID shipped
with my x3650 is not yet supported at 6.1 (no disk seen at install) but
I read in an archive there is a patch (in aac) provided by Adaptec that
will be integrated in 6.2 ...

If the 6.2 delay is too long I'll try to apply the patch myself, I never did
that but there is probably a way to do it :-)

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


Re: The Opera browser on FreeBSD

2006-12-07 Thread Arjan van Leeuwen
On Wed, 06 Dec 2006 22:23:39 +0100, Svein Halvor Halvorsen  
<[EMAIL PROTECTED]> wrote:



Arjan van Leeuwen wrote:

As of the latest weekly development release of Opera (see
http://my.opera.com/desktopteam/blog/), it's now possible to use any  
Linux

plugin in the native Opera for FreeBSD version, including Flash and
Acrobat Reader. The feature will be included in the upcoming Opera 9.1.


Nice! Thanks for the *great* work!

Btw, sound in flash is lagging (this is nothing new, though, it was
always the case). Has this something to do with the
Opera/Flash-combo, or is it due to the Linuxulator-stuff? Does
anyone else see this?


It's a known bug in Flash 7 for Linux. It's supposed to be improved in  
Flash 9.


Arjan


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Natd problem

2006-12-07 Thread Arek Czereszewski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello,

I have strange situation on one my server:

Before restart natd
#df -hi
/dev/ad0s1d5.2G4.3G433M91%  170252  489202   26%   /var

But
#du -sh /var
1.3G/var

lsof shows:
natd   310 root 4w  VREG  4,17 2946973785  244973 /var (/dev/ad0s1d)

After restart natd I have:
/dev/ad0s1d4.8G1.3G3.2G29%  170167  489287   26%   /var

#du -sh /var
1.3G/var

Any idea why this happen?
Uptime 159 days.

Regards
Arek
- --
Arek Czereszewski
"UNIX is like a wigwam:
 no windows, no gates, apache inside."
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)

iD8DBQFFd84R4DZFgJgZVlkRAjFrAJ4t3NMpUZHyTYG/B6ThVaKupanw+wCfU0j+
iZU+MiXbhQOiBEkLngivyjI=
=w8ty
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


extracting strings from terminfo

2006-12-07 Thread perryh
I have a C program which currently does not use any terminal control
facilities.  I don't want to make it into a full-screen application,
or anything close, but I would like to extract the bold and sgr0
terminfo strings (or the md and me termcap strings, if on a system
too ancient to have terminfo) so as to render the occasional word in
bold.

What is the best way to go about this?  Everything I've found so
far is written from the perspective of either writing termcap/info
entries for new terminal types, or writing full-screen applications.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"