ipnat

2008-05-25 Thread alexus
hi

i cant figure something out, maybe someone can help me...

i have two interfaces on my 7.0-RELEASE-p1 dc0 and fxp0, dc0 has
public IP, and fxp0 is internal, my ipnat.rules looks like this

map dc0 192.168.2.0/24 -> 0/32

su-3.2# ipnat -l
List of active MAP/Redirect filters:
map dc0 192.168.2.0/24 -> 0.0.0.0/32

List of active sessions:
su-3.2#

NAT on 192.168.2.0/24 doesn't seem to be working at all :(


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


squidguard installing problem - unknown bdb version

2008-05-25 Thread Ziaya Syed Hasan
Dear All,
I have installed a lots of applications on the FreeBSD7 Server the list is
attached below.
When I try to install squidguard it gives me following error:

stpl# pwd
/usr/ports/www/squidguard
stpl# make install clean
===>  squidGuard-1.3 cannot install: unknown bdb version: 51.
*** Error code 1

Stop in /usr/ports/www/squidguard.
===
Can somebody please guide me to resolve this problem ?
Thanking you in advance.

S. H. Ziaya
Kathmandu, Nepal.



stpl# pkg_info 
apache-2.2.8Version 2.2 of Apache web server with prefork MPM.
arc-5.21o_1 Create & extract files from DOS .ARC files
arj-3.10.22_1   Open-source ARJ
autoconf-2.61_2 Automatically configure source code on many Un*x
platforms 
autoconf-wrapper-20071109 Wrapper script for GNU autoconf
bandwidthd-2.0.1_1  Tracks bandwidth usage by IP address
bigreqsproto-1.0.2  BigReqs extension headers
clamav-0.92.1_1 Command line virus scanner written entirely in C
curl-7.16.3_1   Non-interactive tool to get files from FTP, GOPHER,
HTTP(S)
cyrus-sasl-2.1.22   RFC  SASL (Simple Authentication and Security Layer)
cyrus-sasl-saslauthd-2.1.22 SASL authentication server for cyrus-sasl2
db3-3.3.11_3,1  The Berkeley DB package, revision 3.3
db4-4.0.14_1,1  The Berkeley DB package, revision 4
dovecot-1.0.13_1Secure and compact IMAP and POP3 servers
expat-2.0.0_1   XML 1.0 parser written in C
freetype2-2.3.5 A free and portable TrueType font rendering engine
gd-2.0.35,1 A graphics library for fast creation of images
gettext-0.16.1_3GNU gettext package
gmake-3.81_2GNU version of 'make' utility
gnupg-2.0.8 The GNU Privacy Guard
gnutls-2.2.2GNU Transport Layer Security library
help2man-1.36.4_1   Automatically generating simple manual pages from
program o
inputproto-1.4.2.1  Input extension headers
jabber-1.6.1.1_1,1  XMPP/Jabber server daemon
jpeg-6b_4   IJG's jpeg compression utilities
kbproto-1.0.3   KB extension headers
lha-1.14i_6 Archive files using LZSS and Huffman compression (.lzh
file
libICE-1.0.4_1,1Inter Client Exchange library for X11
libSM-1.0.3_1,1 Session Management library for X11
libX11-1.1.3_1,1X11 library
libXau-1.0.3_2  Authentication Protocol library for X11
libXaw-1.0.4_1,1X Athena Widgets library
libXdmcp-1.0.2_1X Display Manager Control Protocol library
libXext-1.0.3,1 X11 Extension library
libXmu-1.0.3,1  X Miscellaneous Utilities libraries
libXp-1.0.0,1   X print library
libXpm-3.5.7X Pixmap library
libXt-1.0.5_1   X Toolkit library
libassuan-1.0.4 IPC library used by GnuPG and gpgme
libgcrypt-1.4.0 General purpose crypto library based on code used in
GnuPG
libgmp-4.2.2A free library for arbitrary precision arithmetic
libgpg-error-1.6Common error values for all GnuPG components
libiconv-1.11_1 A character set conversion library
libidn-1.2  Internationalized Domain Names command line tool
libksba-1.0.2   KSBA is an X.509 Library
libtasn1-1.3ASN.1 structure parser library
libtool-1.5.24  Generic shared library support script
libxml2-2.6.31  XML parser library for GNOME
lynx-2.8.6.5_2,1A non-graphical, text-based World-Wide Web client
m4-1.4.9,1  GNU m4
mhash-0.9.9 An easy-to-use library for strong hashes such as MD5 and
SH
mysql-client-5.1.23 Multithreaded SQL database (client)
mysql-server-5.1.23 Multithreaded SQL database (server)
net-snmp-5.4.1_2An extendable SNMP implementation
p5-Archive-Tar-1.38_1 Perl module for creation and manipulation of tar files
p5-Authen-PAM-0.16_1 A Perl interface to the PAM library
p5-Authen-SASL-2.10_1 Perl5 module for SASL authentication
p5-Compress-Raw-Zlib-2.008 Low-Level Interface to zlib compression library
p5-Compress-Zlib-2.008 Perl5 interface to zlib compression library
p5-DBD-mysql-4.006  MySQL driver for the Perl5 Database Interface (DBI)
p5-DBI-1.60.1   The perl5 Database Interface.  Required for DBD::*
modules
p5-Digest-1.15  Modules that calculate message digests
p5-Digest-HMAC-1.01 Perl5 interface to HMAC Message-Digest Algorithms
p5-Digest-MD5-2.36  Perl5 interface to the MD5 algorithm
p5-Digest-SHA1-2.11 Perl interface to the SHA-1 Algorithm
p5-Encode-Detect-1.00 An Encode::Encoding subclass that detects the encoding
of d
p5-Error-0.17012Perl module to provide Error/exception support for perl:
Er
p5-ExtUtils-CBuilder-0.22_1 Compile and link C code for Perl modules
p5-ExtUtils-ParseXS-2.19 Converts Perl XS code into C code
p5-GSSAPI-0.26  Perl extension providing access to the GSSAPIv2 library
p5-Geography-Countries-1.4 Handle ISO-3166 country codes
p5-HTML-Parser-3.56_1 Perl5 module for parsing HTML documents
p5-HTML-Tagset-3.20 Some useful data table in parsing HTML
p5-IO-Compress-Base-2.008 Base Class for IO::Uncompress modules
p5-IO-Compress-Zlib-2.008 Perl5 interface for reading and writing of (g)zip
fil

Re: non-RAID SATA

2008-05-25 Thread Erik Trulsson
On Sun, May 25, 2008 at 08:01:42PM -0700, Ted Mittelstaedt wrote:
> 
> 
> > -Original Message-
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Behalf Of
> > [EMAIL PROTECTED]
> > Sent: Sunday, May 25, 2008 6:11 PM
> > To: freebsd-questions@freebsd.org
> > Subject: non-RAID SATA
> > 
> > 
> > I am looking for a cost-effective way to add a SATA drive to an
> > existing 7.0 system whose on-board controller is PATA, and am not
> > getting very far at all in identifying an inexpensive controller
> > which would be expected to work well.  (I'd prefer PCI, since the
> > USB in this box is probably 1.0 and not capable of sustaining
> > desirable data rates.)
> > 
> 
> SATA is faster than PCI.  Most people would replace the motherboard
> or use a USB 2.0 card which has a far faster transfer speed than
> PCI does as a transition, with the expectation that sooner or
> later they are going to replace the system.

While it is true that the maximum theoretical transfer speed available
from SATA (150MB/s or 300MB/s depending on SATA version) exceeds that
of a normal PCI bus (133MB/s for a standard 32bit/33MHz bus), there
is currently no single SATA disk available on the market that will
swamp the PCI bus.
USB 2.0 is however much slower than either of SATA and PCI.
USB 2.0 has a maximum theoretical transfer speed of 480Mbit/s ( = 60MB/s)
with a practical maximum of maybe 30-40 MB/s - less than half of either PCI
or SATA.


> 
> > All mentions of SATA in the hardware guide and FAQ seem to be of
> > RAID controllers, or else too generic to guide a choice of add-in
> > cards.
> > 
> > Does anyone have any experience with this that they would be
> > inclined to share?
> 
> In automotive terms your adding a free-flow exhaust to a restricted
> engine - in the trade we call them adding a "fart can" because
> they do nothing to help the car go faster since there's restrictions
> further up the chain.

It is unlikely that a PCI-based SATA card would be a noticable bottleneck
in this case unless one were to connect several high-speed disks to the
card.

> 
> Go buy an inexpensive USB 2.0 external disk case, then buy your
> SATA disk and stick it inside of that, with the idea that eventually
> your going to get a faster machine you might be able to use the disk in.

USB however would be a quite noticable bottleneck.  Bad idea if you want
anything resembling speed.



-- 

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


Re: Stick memory USB

2008-05-25 Thread Sergey Zaharchenko
Hello Mark!

Mon, May 26, 2008 at 05:40:50AM +0100 you wrote:

>  It is detected as da2 and da3 (phone and memory stick - mine's a SCSI
>  system so da0 and da1 are the HDDs) but only the top-level device nodes
>  (/dev/da[23]) are created.
> 
>  I can try to mount /dev/da3 until I'm blue in the face and it always
>  fails but as soon as I attempt to mount /dev/da3s1 it fails first time
>  but succeeds the second time because the /dev/da3s1 device node gets
>  created on the first (failed) mount attempt.

I had a similar problem with my card reader. AFAIU the problem with
those is that they don't report media change events; the system gets to
know what's there only when it tries to access it, one way or the other.
This might be of help both to you and to the OP:

http://lists.freebsd.org/pipermail/freebsd-questions/2007-January/138907.html

It's not beautiful, but it works.

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpkIaQcGOOrU.pgp
Description: PGP signature


Re: cvsup RELENG_6_3 to RELENG_7 impaired gnome

2008-05-25 Thread Jason C. Wells
Try downloading the binary packages for 7.0 that you need and install 
them.  That would be fastest.


FreeBSD doesn't claim to maintain binary (library?) compatibility across 
major releases.  I personally have never had a problem, but I consider 
that dumb luck.


Regards,
Jason

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


Re: Stick memory USB

2008-05-25 Thread Mark Ovens

Chuck Robey wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

nej ALL wrote:

Hi,

I'm new on FreeBSD not on unix.

I want to mount automatically an usb-stick memory into my machine ?
I get some problems.

Need help.


You're trying with your devfs stuff to create the file, but you have to realize
it's a device representing a filesystem, not just a file.  What you want to read
is the mount and fstab man pages, mount to find out how to mount your memory
stick, and fstab to figure out how to get it to happen automatically.  The devfs
stuff is all mistaken, I think, you want that when you want to change
permissions or make softlinks of devices, not to create them in the first place,
 least that's how I';'ve always used it, and I know very well that the correct
line in /etc/fstab WILL automount your memory stick.



Are you sure Chuck? The devfs rules stuff is to allow non-root users to
mount removable media isn't it? I followed the instructions at
http://gphoto.sourceforge.net/doc/manual/permissions-usb.html - the
FreeBSD-specific stuff is near the bottom of the page - but I have
*exactly* the same problem as the OP with my mobile phone.

It is detected as da2 and da3 (phone and memory stick - mine's a SCSI
system so da0 and da1 are the HDDs) but only the top-level device nodes
(/dev/da[23]) are created.

I can try to mount /dev/da3 until I'm blue in the face and it always
fails but as soon as I attempt to mount /dev/da3s1 it fails first time
but succeeds the second time because the /dev/da3s1 device node gets
created on the first (failed) mount attempt.

It doesn't matter whether I have an entry in /etc/fstab for /dev/da3s1
or not, it stills fails, but creates the device, on the first attempt.

Maybe something has changed? The page I linked to above refers to
FreeBSD 5 but I'm running 6.3-STABLE.

Regards,

Mark




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


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Jonathan Chen
On Sun, May 25, 2008 at 09:55:39PM -0400, Chuck Robey wrote:

[...]
> So, could you
> tell me, are your comments about the Nvidia card driver performance dealing 
> with
> the Nvidia-supplied driver and OpenGL libs they have, as expressed in the
> FreeBSD-ports supplied (from Nvidia code) Nvidia driver??  I have them 
> compiled
> under FreeBSD-current, because a friend recommended them as the best 
> available,
> is that wrong?  Is there better?  I am not aware of any pure-public driver for
> those cards, but I just am not very well up on their details, so I want to be
> sure of your meaning, making sure I have you right here..

I've got a nVidia card on a FreeBSD-7/amd64 system, and so the
only driver I can use is the xorg-nvidia driver. The driver from the
nVidia is not an option for me. If you have an i386 system, the
driver from nVidia is *MUCH* faster than the xorg driver. Queries to
nVidia about the possiblity of an amd64 compatibile driver led me
to the kernel-feature list that they would like to have before being
able to release a driver form amd64 hosts.

HTH.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
The human mind ordinarily operates at only ten percent of its capacity
 -- the rest is overhead for the operating system.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cvsup RELENG_6_3 to RELENG_7 impaired gnome

2008-05-25 Thread KAYVEN RIESE


I am feeling nuked from the freeBSD community right now and
I was trying to appropriately post to the gnome list but oh
well.  I don't have time for the continued bugs in my system,
I have _GOT_ to get this running pronto.  The subscription
to the gnome list seems to be hanging or lagging and my
paranoia meter says that some people are doing this because
crimeny the gnome list should have sent me at least 50 emails
by now.

Anyway.  To my stupid question that is probably too stupid
for hackers, but I am not subscribed to questions either I
just can't tolerate that in my time frames It is hard enough
letting the other lists go by.  Oh.  I should have tried to
subscribe to that but I am under the.. GGGH fine. If I
don't get that subscription notice by the time I finish this
then I'm sending it.  I suspect the composition should take
a reasonable amount of time for that to happen.

I did cvsup with the standard-supfile but I guess I used the
one from freeBSD 6.2 and I thought it would be kosher to change
the bit that said "RELENG_6_2" to "RELENG_7" so that's what I
did.  I used the ftp4.freebsd.org mirror and I did a cvsup.
Then I did cvsup with the ports-supfile but that one had
cvsup4.freebsd.org in it, so after that I was OMG and I changed
the ftp4.freebsd.org in the standard-supfile and redid that
cvsup.

Anyway. THen I started following instructions in /usr/src/Makefile.
My current professor runs FreeBSD and he suggested that method.
It looks pretty similar to stuff I have seen elsewhwere, plus
it was part of what cvsup slurped up that was supposed to be
specific to my version, right?  Anyway, here are the steps:

  IMPROVISATION: I did mergemaster -p here oops. (see below)
  make buildworld
/ make buildkernel
   make kernel <-| substituted for-<  make installkernel

 reboot -s  .. okay.  This is where I guess I am basic?  I
 don't think I used the loader prompt, I didn't use reboot -s
 hmm.. that probably would have been a good thing to type
 after #  I guess I am really stupid.  I did shutdown -r now
 and when the devil came up I pressed "4"  Then I typed
 "mount -a" and then..

 mergemaster -p and that is a ball of wax depicted here:

  http://www.monkeyview.net/id/965/fsck/inst_world/index.vhtml
 The same thing happened the first time I did mergemaster -p
 tells my spidey sense "oh oh."

  Anyway.   Then I did make installworld and had a bad thing
  something about "make doesn't get it" but I fixed that by
  googling it.  Oh here it is:
  http://www.monkeyview.net/id/965/fsck/inst_world/p5240176.vhtml
  anyway, don't worry too much about that I fixed it by doing:
  /usr/src/usr.sbin/mergemaster/mergemaster.sh -p  and had the
  same trials and tribulation of hitting 1000 space bars at the
  right time with intercelated 1000 return keys (actually maybe
  more like 300 space bars and 200 return keys) and then, saints
  be praised, make installworld did some presumably nice things
  so then I did:

   make delete-old

   like /usr/src/Makefile said and OMFG I had to hit "y" 200 times
   now.

   mergemaster -U

   300 more space bars 200 more return keys

  make delete-old-libs

  and now I have provided some pictures of what happens when I try
  to start up.  I get to the devil and then it looks like

  http://www.monkeyview.net/id/965/fsck/fb7/p5250001.vhtml
  http://www.monkeyview.net/id/965/fsck/fb7/p5250002.vhtml
  http://www.monkeyview.net/id/965/fsck/fb7/p5250004.vhtml
  http://www.monkeyview.net/id/965/fsck/fb7/p5250005.vhtml

  I broke my gnome and my nessus which is the thing I absolute
need  pronto!  I am not trying to be demanding I am just informing
everybody that I am under pressure here and I have no idea what to
google at this point.

*--*
  Kayven Riese, BSCS, MS (Physiology and Biophysics)
  (415) 902 5513 cellular
  http://kayve.net
  Webmaster http://ChessYoga.org
*--*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: non-RAID SATA

2008-05-25 Thread Ted Mittelstaedt


> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of
> [EMAIL PROTECTED]
> Sent: Sunday, May 25, 2008 6:11 PM
> To: freebsd-questions@freebsd.org
> Subject: non-RAID SATA
> 
> 
> I am looking for a cost-effective way to add a SATA drive to an
> existing 7.0 system whose on-board controller is PATA, and am not
> getting very far at all in identifying an inexpensive controller
> which would be expected to work well.  (I'd prefer PCI, since the
> USB in this box is probably 1.0 and not capable of sustaining
> desirable data rates.)
> 

SATA is faster than PCI.  Most people would replace the motherboard
or use a USB 2.0 card which has a far faster transfer speed than
PCI does as a transition, with the expectation that sooner or
later they are going to replace the system.

> All mentions of SATA in the hardware guide and FAQ seem to be of
> RAID controllers, or else too generic to guide a choice of add-in
> cards.
> 
> Does anyone have any experience with this that they would be
> inclined to share?

In automotive terms your adding a free-flow exhaust to a restricted
engine - in the trade we call them adding a "fart can" because
they do nothing to help the car go faster since there's restrictions
further up the chain.

Go buy an inexpensive USB 2.0 external disk case, then buy your
SATA disk and stick it inside of that, with the idea that eventually
your going to get a faster machine you might be able to use the disk in.

Ted

> ___
> 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: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread RW
On Mon, 26 May 2008 10:54:28 +1200
Jonathan Chen <[EMAIL PROTECTED]> wrote:


> Support for the nVidia on FreeBSD from the vendor is also incomplete:
>   http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
> The feature request from nVidia appears to have stalled 

That article says:

"While the following is focused on the NVIDIA FreeBSD graphics drivers,
we believe the interfaces discussed below are generally applicable to
any modern high performance graphics driver."

Aside from the amd64 specific issues, it's doesn't seem to imply that
NVIDIA cards are particularly disadvantaged, just that NVIDIA are the
only company to make an effort with FreeBSD.

 
> In short, nVidia cards are usable, but performance can be
> exceptionally bad.

The xorg nv driver is certainly poor, but is there any reason to
believe that the nvidia driver is inferior to drivers for other
graphics cards. I've never heard any great claims for their 3d
performance.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Disk Controller

2008-05-25 Thread Nicholas Pfeiffenberger
Hi, I have a Biostar 7050PV motherboard, but can't tell what the disk 
controller is, I think it's an NF630A. Is this disk controller supported by any 
of the freebsd versions for amd64? 

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


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jonathan Chen wrote:
> On Sun, May 25, 2008 at 11:04:40PM +0100, Mark Ovens wrote:
>> Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had 
>> nothing but trouble with X hanging/crashing/locking-up.
>>
>> From what I've read, the state of the radeon drivers leaves much to be 
>> desired and although some people seem to have trouble with nVidia cards 
>> they appear to be a better choice.
>>
>> So, after over a decade of brand-loyalty to ATI (when I started with 
>> FreeBSD back in the mid-90's ATI cards were the only ones I could find 
>> that would run X at better than VGA resolution) I'm going to switch to 
>> nVidia.
> 
> Heh. I was just thinking about going the other way. One of the main
> problems with the nVidia on X is that the xorg-nvidia driver is very
> basic; this can be demonstrated by going to a Javascript heavy page (eg
> http://www.xwiki.org) using firefox. The X-server just slows to crawl
> when trying to scroll the site. The behaviour is not exhibited with
> xorg-intel driver, as a counter-example.
> 
> Support for the nVidia on FreeBSD from the vendor is also incomplete:
>   http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
> The feature request from nVidia appears to have stalled for the time
> being (more correctly: I couldn't locate news on any updates to on the
> 'Net).
> 
> In short, nVidia cards are usable, but performance can be exceptionally
> bad.

'Scuse me, I'm not personally very familiar (yet) with 3D graphics, but I'm
reading OpenGL (I bought the SuperBible) and I'm quite well along in writing my
driver for a cheapy graphics tablet, to get me along with Gimp.  So, could you
tell me, are your comments about the Nvidia card driver performance dealing with
the Nvidia-supplied driver and OpenGL libs they have, as expressed in the
FreeBSD-ports supplied (from Nvidia code) Nvidia driver??  I have them compiled
under FreeBSD-current, because a friend recommended them as the best available,
is that wrong?  Is there better?  I am not aware of any pure-public driver for
those cards, but I just am not very well up on their details, so I want to be
sure of your meaning, making sure I have you right here..

BTW, my card is a Nvidia-compatible (licensed) GeForce 8600 GTS card, if that
means anything to you.  If you think the ATI cards (using FreeBSD available
drivers) are better, let me have that one more time please, there is very little
on the net from even slightly reliable sources on this, so I would guess you
have a attentive audience here.

> 
> Cheers.

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIOhibz62J6PPcoOkRAoUFAJ4iG+lO49cL3X2qNrRWDwpvPgaAmwCfWd67
zmGMC23pwA6mE5w2LycKB/k=
=97lJ
-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]"


non-RAID SATA

2008-05-25 Thread perryh
I am looking for a cost-effective way to add a SATA drive to an
existing 7.0 system whose on-board controller is PATA, and am not
getting very far at all in identifying an inexpensive controller
which would be expected to work well.  (I'd prefer PCI, since the
USB in this box is probably 1.0 and not capable of sustaining
desirable data rates.)

All mentions of SATA in the hardware guide and FAQ seem to be of
RAID controllers, or else too generic to guide a choice of add-in
cards.

Does anyone have any experience with this that they would be
inclined to share?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Jonathan Chen
On Sun, May 25, 2008 at 11:04:40PM +0100, Mark Ovens wrote:
> Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had 
> nothing but trouble with X hanging/crashing/locking-up.
> 
> From what I've read, the state of the radeon drivers leaves much to be 
> desired and although some people seem to have trouble with nVidia cards 
> they appear to be a better choice.
> 
> So, after over a decade of brand-loyalty to ATI (when I started with 
> FreeBSD back in the mid-90's ATI cards were the only ones I could find 
> that would run X at better than VGA resolution) I'm going to switch to 
> nVidia.

Heh. I was just thinking about going the other way. One of the main
problems with the nVidia on X is that the xorg-nvidia driver is very
basic; this can be demonstrated by going to a Javascript heavy page (eg
http://www.xwiki.org) using firefox. The X-server just slows to crawl
when trying to scroll the site. The behaviour is not exhibited with
xorg-intel driver, as a counter-example.

Support for the nVidia on FreeBSD from the vendor is also incomplete:
  http://lists.freebsd.org/pipermail/freebsd-hackers/2006-June/016995.html
The feature request from nVidia appears to have stalled for the time
being (more correctly: I couldn't locate news on any updates to on the
'Net).

In short, nVidia cards are usable, but performance can be exceptionally
bad.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
"Only the meek get pinched. The bold survive."
  - Ferris Bueller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD crashed

2008-05-25 Thread Derek Ragona

At 03:52 AM 5/25/2008, gahn wrote:

Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is 
the message:


/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 : Mount  using filesystem 
 eg. ufs:da0s1a
 ?  List valid disk boot devices
  Abort manual input

mountroot>

///


Could any gurus here help me out this? I just want to save the files in 
the home directory so that I can rebuild the system.


Regards

Dave


Boot a cd, then copy your files to another system, or to removable media.


-Derek

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

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


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Mark Ovens

Manolis Kiagias wrote:


Don't know  about CompuViz, but if you would like to try compiz fusion, 
I am a bit tempted to point you to this article (maybe because I am the 
author :) 



Ah, compiz - that's what I was thinking of ;-)


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/compiz-fusion/

This will answer your questions on installing nvidia drivers and also 
getting 3D effects and compiz-fusion to work.
Note that there is no nvidia-supplied (read: proprietary) driver for the 
64bit version of FreeBSD. The community 'nvidia' driver works fine, 
although no 3D and 2D performance is somewhat limited.  I've used a 
number of cards with FreeBSD (7300GT, 7300Go (laptop), 6600GT,  6200) 
and never had problems.


The FX series should also work, but why not buying a newer card? You can 
get new entry-level nvidia cards for very little money.


Well, it's down to money really but I'll take a look at the price of new 
cards.


Thanks.

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


Re: Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Manolis Kiagias



Mark Ovens wrote:
Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had 
nothing but trouble with X hanging/crashing/locking-up.


From what I've read, the state of the radeon drivers leaves much to be 
desired and although some people seem to have trouble with nVidia 
cards they appear to be a better choice.


So, after over a decade of brand-loyalty to ATI (when I started with 
FreeBSD back in the mid-90's ATI cards were the only ones I could find 
that would run X at better than VGA resolution) I'm going to switch to 
nVidia.


The machine is FreeBSD-only so no issues with Windows drivers and 
performance etc. (I divorced the Evil Empire a couple of years ago) 
and my Radeon 8500 is adequate for my needs so I don't need a high-end 
card.


I'm looking on eBay and an FX5x00 card seems to fit the bill.

So, are there any particular cards that work well under Xorg/FreeBSD 
or, more importantly, any that don't?


Any advice about the need to consider 3D issues would be welcome? I 
run KDE and mainly use digikam/GIMP for digital photo editing and 
kmplayer for viewing videos. I believe there is a 3D interface for KDE 
(CompuViz?) - is this worth bothering with?


All help/advice gratefully received.

TIA

Mark



Don't know  about CompuViz, but if you would like to try compiz fusion, 
I am a bit tempted to point you to this article (maybe because I am the 
author :) 


http://www.freebsd.org/doc/en_US.ISO8859-1/articles/compiz-fusion/

This will answer your questions on installing nvidia drivers and also 
getting 3D effects and compiz-fusion to work.
Note that there is no nvidia-supplied (read: proprietary) driver for the 
64bit version of FreeBSD. The community 'nvidia' driver works fine, 
although no 3D and 2D performance is somewhat limited.  I've used a 
number of cards with FreeBSD (7300GT, 7300Go (laptop), 6600GT,  6200) 
and never had problems.


The FX series should also work, but why not buying a newer card? You can 
get new entry-level nvidia cards for very little money.

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


Best nVidia card for Xorg on FreeBSD?

2008-05-25 Thread Mark Ovens
Currently using a Radeon 8500LE but since u/g to xorg 7.3 I've had 
nothing but trouble with X hanging/crashing/locking-up.


From what I've read, the state of the radeon drivers leaves much to be 
desired and although some people seem to have trouble with nVidia cards 
they appear to be a better choice.


So, after over a decade of brand-loyalty to ATI (when I started with 
FreeBSD back in the mid-90's ATI cards were the only ones I could find 
that would run X at better than VGA resolution) I'm going to switch to 
nVidia.


The machine is FreeBSD-only so no issues with Windows drivers and 
performance etc. (I divorced the Evil Empire a couple of years ago) and 
my Radeon 8500 is adequate for my needs so I don't need a high-end card.


I'm looking on eBay and an FX5x00 card seems to fit the bill.

So, are there any particular cards that work well under Xorg/FreeBSD or, 
more importantly, any that don't?


Any advice about the need to consider 3D issues would be welcome? I run 
KDE and mainly use digikam/GIMP for digital photo editing and kmplayer 
for viewing videos. I believe there is a 3D interface for KDE 
(CompuViz?) - is this worth bothering with?


All help/advice gratefully received.

TIA

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


Linux Compatibility version of libXau

2008-05-25 Thread Derek Graham
I am trying to get the linux version of Planeshift to work but I need to find 
a linux version of libXau, cant find it in ports tho :( anyone got a solution 
to getting Planeshift to work?

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


Re: Your suggestions about this Dell configuration?

2008-05-25 Thread Sten Daniel Soersdal

VeeJay wrote:

Hello Frank

Really good points. I am really glad to have your thoughts. Regarding your
questions and comments, I have given some answers and a couple of questions
in *RED* colour. Please comment if you happen to manage some time during
weekend, Thanks!

*Please continue...*

On Thu, May 22, 2008 at 4:01 AM, Frank Shute <[EMAIL PROTECTED]> wrote:


On Wed, May 21, 2008 at 08:49:51AM +0200, VeeJay wrote:

Hello friends,

My employer is buying this Dell server and I would like to have your

opinion

about the configuration.

Requirements are:
2 Websites with 3-4 million hits per month with video ads.

If it's "3-4 million hits per month" as you've stated twice now, then
your hardware is complete overkill.

So I'll assume you mean 3-4 million hits a day for each site.



*No, its 3-4 million each site per month and we are having problem. Because,
either Apache or MySQL stops responding. I have following settings as
Performance:*
**
*# =
# Performance settings
# =
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 256
MaxRequestsPerChild 0*



Operating System:
*FreeBSD AMD647-STABBLE*

I'd use 7.0-RELEASE.


Database:
*PHP+MySQL with Apache*

No problem. You should use Apache 2.*.



*We will use Apache 2.**



Server Configuration:
*PowerEdge? 6850 SCSI*

Dual Core Intel(R) Xeon(R) Processor 7130M, 3.2GHz, 8MB L3 Cache, 800Mhz

FSB

1x Additional Dual Core Intel(R) Xeon(R) Processor 7130M, 3.2GHz, 8MB L3

Cache,

800MHz FSB

Slow FSB. I suppose they hope you hit the cache. Shouldn't matter
because your server is more likely to be disk bound rather than bus
bound.



Changed Processor to:

*PE 2950 III Quad Core Xeon X5450 (3.0GHz, 2x6MB, 1333MHz FSB)*

*what do you think about E5450?*


  16GB 400MHz Dual Rank DDR2 Memory (8X2GB)

Slow memory, to match the slow FSB :) But you've got >250MB per hit.
So use the excess to cache frequently accessed content.




*We have changed it to:*

*16GB (8x2GB Dual Rank DIMMs) 667MHz FBD*


 C5 Drives attached to embedded PERC4ei, RAID 10

  PERC 4/DC RAID controller (128MB cache) (1 intern and 1 extern Channel)
(Should I use controller with Both Internal or Both External Channel?

What

they do?)

Supported according to a quick Google search.


5 x 146GB SCSI Ultra320 (15000rpm) 1'' 80 pin harddrives

"No name" or a brand?


 *We have changed the disks to :*

*6 x 450GB SAS 15k 3.5" HD Hot Plug, (Hitachi Japan)*


We have the PERC 4e/Di and that works wonderfully (256 MB battery backed 
cache). One hint is that the PERC 4e/Di (and possibly the entire series) 
does not do correct RAID 1 + 0 (mirrored then striped) but instead does 
RAID 1 and concatenates those mirrors.








Chassis with support for 3.5'' SCSI Hard Drives

Dell Remote Access Card 4 SERVER MANAGEMENT CARD

Don't know if this will work. Most guys use a serial console/ssh for
management.


(I will have hot swappable drives & chassis)


Get it if your server is going to be remote.
It lets you mount CD-ROM disks and ISOs, Floppy images and gives you 
real keyboard/mouse/video display of the server. It also lets you power 
up/down/reboot the server remotely. A necessity to do firmware/BIOS 
upgrades. Serial console/ssh only lets you work with an already working 
system. The DRAC lets you do remote installs/reinstall/upgrades.





Thank you in advance.

The performance of this hardware will depend on what *sort* of hits
you get. Are a lot of them just for the homepage? Then just cache it.

Is it static content?



*No, its dynamic contents, data is coming form Database.*



If you're getting lots of ad-hoc database queries and fetches/writes
from/to disk, then your disks could get a thrashing.

How big's your database? Being read from more than written to? How
precious is the data?


*More than 20 million records and more than 1000 Tables.*
*And of course, data is always preciouse. :)*


How many of these hits are reading video ads? All of them? How many
KBs are these awful ads?


*50% of users are going to see the Video Ads.*
**
*Size would vary between 100KB to 2MB. *

What bandwidth do you have to these servers?
*100 Mbps*

How you are going to get the best out of your hardware depends on
questions like these, so you have to analyse your Apache logs and tune
appropriately.

Tuning Apache, mysql and PHP are all subjects in their own right.

For FreeBSD, read tuning(7).

Are you running FreeBSD ATM? Then some numbers from iostat, top etc.
would be useful in analysing how your new server is going to cope and
how much spare capacity you'll have, but the numbers are dependent on
how you've tuned it (if at all).

Hope I've given you something to think about.

Regards,


--

 Frank


 Contact info: http://www.shute.org.uk/misc/contact.html







--
Sten Daniel Soersdal
___
f

Non aligned DMA transfer errors with k3b

2008-05-25 Thread Mike Clarke

Suddenly today all my attempts to burn DVDs with k3b result in a 
continuous stream of the following error messages.

May 25 18:04:40 kestrel kernel: ata1: FAILURE - non aligned DMA transfer 
attempted
May 25 18:04:40 kestrel kernel: acd0: setting up DMA failed

Quiting k3b doesn't stop the flood of errors, reboots hang and the only 
solution is to hit the reset switch.

I'm running 7.0 RELEASE and if I reboot into my 6.3 partition k3b works 
just fine, confirming that it's not a media or hardware fault. I've 
also replaced the DVD writer but I still get the problem with 7.0.

I can burn the same data to the same DVD with growisofs with no problem 
which suggests that the problem lies with k3b so this got me wondering 
if it was related to the massive portupgrade I did yesterday (affecting 
156 ports) but that seems unlikely because when portupgrade finished 
last night I rebooted and burnt that day's backup to DVD+RW without 
problem. This morning I burnt 3 DVD+Rs without problem, then about an 
hour later the problem suddenly appeared when I started to burn another 
DVD+RW, and there'd been absolutely no software or hardware changes 
since the previous successful run.

Although I don't think upgrading the ports is responsible I've tried 
downgrading k3b from 1.0.4_1 to 1.0.4 but that had no effect, nor did 
downgrading dvd+rw-tools-7.1 to 7.0. I don't think any of the other 
upgraded ports would have been significant.

Turning off DMA by setting hw.ata.ata_dma and hw.ata.atapi_dma to zero 
stops the errors but with a big performance hit so that's not an option 
for a permanent fix.

I've now run out of ideas for what to try next so any suggestions would 
be welcome.

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


Re: Stick memory USB

2008-05-25 Thread Chuck Robey
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

nej ALL wrote:
> Hi,
> 
> I'm new on FreeBSD not on unix.
> 
> I want to mount automatically an usb-stick memory into my machine ?
> I get some problems.
> 
> Need help.

You're trying with your devfs stuff to create the file, but you have to realize
it's a device representing a filesystem, not just a file.  What you want to read
is the mount and fstab man pages, mount to find out how to mount your memory
stick, and fstab to figure out how to get it to happen automatically.  The devfs
stuff is all mistaken, I think, you want that when you want to change
permissions or make softlinks of devices, not to create them in the first place,
 least that's how I';'ve always used it, and I know very well that the correct
line in /etc/fstab WILL automount your memory stick.

I could give you the exact line, but I think you would rather look that up
yourself (I know I would).

> 
> -> /etc/devfs.rules
> add path 'da*' mode 0660 group operator
> 
> Actions:
> 1) ls -al   /dev/da*
> ls: No match.
> 
> 2) I Plug into the USB port, the ImageMate 12-in-1 Card Reader/Writer
> (SanDisk)
> 
> 3) ls -al   /dev/da*
> crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
> crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
> crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
> crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3
> 
> 4) I put the memory stick into the Card reader's slot
> 
> 5) ls -al/dev/da*
> crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
> crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
> crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
> crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3
> 
> the /dev/da2s1 isn't here.
> 
> 6) mount_msdosfs   /dev/da2s1/mnt/cleusb/
> mount_msdosfs: /dev/da2s1: No such file or directory
> 
> 7) fdisk/dev/da2
> *** Working on device /dev/da2 ***
> parameters extracted from in-core disklabel are:
> cylinders=30 heads=64 sectors/track=32 (2048 blks/cyl)
> 
> parameters to be used for BIOS calculations are:
> cylinders=30 heads=64 sectors/track=32 (2048 blks/cyl)
> 
> Media sector size is 512
> Warning: BIOS sector numbering starts with sector 1
> Information from DOS bootblock is:
> The data for partition 1 is:
> sysid 4 (0x04),(Primary DOS with 16 bit FAT (< 32MB))
> start 64, size 62656 (30 Meg), flag 0
> beg: cyl 1/ head 0/ sector 1;
> end: cyl 979/ head 1/ sector 32
> The data for partition 2 is:
> 
> The data for partition 3 is:
> 
> The data for partition 4 is:
> 
> 
> 8) ls -al   /dev/da*
> crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
> crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
> crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
> crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3
> 
> 9) mount_msdosfs   /dev/da2/mnt/cleusb
> mount_msdosfs: /dev/da2: Invalid argument
> 
> The command mount_msdosfs terminated abnormally but created in the /dev
> directory  the /dev/da2s1 file.
> 
> 10) ls -al  /dev/da*
> crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
> crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
> crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
> crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
> crw-rw  1 root  operator0, 142 25 mai 14:11 /dev/da2s1
> crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3
> 
> 11) And now i can mount and umount the stick memory.
> 
> Please, can someone explain to me why, when i plug the stick memory into the
> slot of the card reader,  the system doesn't create the /dev/da2s1 file in
> the the /dev directory.
> 
> And why i use the mount_msdosfs command, this command creates /dev/da2s1
> file in the /dev directory.
> 
> Thank you for your answers !
> 
> Sorry for my english.
> 
> Best regards
> 
> Nej
> 
> Email : [EMAIL PROTECTED]
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"

-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.4 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIOa34z62J6PPcoOkRAgH6AKCUgvP/EqN9INW2oQ+F+JCob71WYwCfaoJB
E1viOjy7youaf0uoJ/EDK9I=
=VDLR
-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]"


Stick memory USB

2008-05-25 Thread nej ALL
Hi,

I'm new on FreeBSD not on unix.

I want to mount automatically an usb-stick memory into my machine ?
I get some problems.

Need help.

-> /etc/devfs.rules
add path 'da*' mode 0660 group operator

Actions:
1) ls -al   /dev/da*
ls: No match.

2) I Plug into the USB port, the ImageMate 12-in-1 Card Reader/Writer
(SanDisk)

3) ls -al   /dev/da*
crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3

4) I put the memory stick into the Card reader's slot

5) ls -al/dev/da*
crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3

the /dev/da2s1 isn't here.

6) mount_msdosfs   /dev/da2s1/mnt/cleusb/
mount_msdosfs: /dev/da2s1: No such file or directory

7) fdisk/dev/da2
*** Working on device /dev/da2 ***
parameters extracted from in-core disklabel are:
cylinders=30 heads=64 sectors/track=32 (2048 blks/cyl)

parameters to be used for BIOS calculations are:
cylinders=30 heads=64 sectors/track=32 (2048 blks/cyl)

Media sector size is 512
Warning: BIOS sector numbering starts with sector 1
Information from DOS bootblock is:
The data for partition 1 is:
sysid 4 (0x04),(Primary DOS with 16 bit FAT (< 32MB))
start 64, size 62656 (30 Meg), flag 0
beg: cyl 1/ head 0/ sector 1;
end: cyl 979/ head 1/ sector 32
The data for partition 2 is:

The data for partition 3 is:

The data for partition 4 is:


8) ls -al   /dev/da*
crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3

9) mount_msdosfs   /dev/da2/mnt/cleusb
mount_msdosfs: /dev/da2: Invalid argument

The command mount_msdosfs terminated abnormally but created in the /dev
directory  the /dev/da2s1 file.

10) ls -al  /dev/da*
crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
crw-rw  1 root  operator0, 136 25 mai 14:11 /dev/da0
crw-rw  1 root  operator0, 138 25 mai 14:11 /dev/da1
crw-rw  1 root  operator0, 140 25 mai 14:11 /dev/da2
crw-rw  1 root  operator0, 142 25 mai 14:11 /dev/da2s1
crw-rw  1 root  operator0, 141 25 mai 14:11 /dev/da3

11) And now i can mount and umount the stick memory.

Please, can someone explain to me why, when i plug the stick memory into the
slot of the card reader,  the system doesn't create the /dev/da2s1 file in
the the /dev directory.

And why i use the mount_msdosfs command, this command creates /dev/da2s1
file in the /dev directory.

Thank you for your answers !

Sorry for my english.

Best regards

Nej

Email : [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: core dumped with java

2008-05-25 Thread ronggui
Dear all,

I don't know the exact problem. After I have installed the
/usr/ports/jdk15/, all things go smoothly. Thanks for all your
replies.

Best

On Mon, May 26, 2008 at 12:03 AM, Matthew Seaman
<[EMAIL PROTECTED]> wrote:
> ronggui wrote:
>>
>> Dear List,
>>
>> I upgraded to freebsd 7.0 yesterday.
>>
>> I have install /usr/ports/java/diablo-jre15/ using ports. Then, I run
>> the following command, resulting errors.
>>
>> [EMAIL PROTECTED] -jar /usr/local/share/java/jabref/jabref.jar
>> Segmentation fault: 11 (core dumped)
>>
>> Anyone know how to solve this problem? Thanks.
>>
>
> misc/compat6x ?
>
>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
>
>



-- 
HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/
Bachelor of Social Work, Fudan University, China
Master of sociology, Fudan University, China
Ph.D. Candidate, CityU of HK.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: anti-aliased fonts

2008-05-25 Thread Girish Kulkarni
On Sat, May 24, 2008 at 9:37 PM, Ashish Shukla wrote:
> Search for "FireFox" in this blog post[1]

That helped. Although, I had to restrict font availability in Firefox;
some fonts don't support anti-aliasing.

> You might like to join bsd-india[2] list[3].

Thanks.

-- 
Girish Kulkarni - Allahabad, India - http://girish.50webs.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: News in Spanish

2008-05-25 Thread Simon Jolle sjolle
On 05/24/2008 01:44 PM, Mustela wrote:
>Hello. I'm FreeBSD user. Very days ago, I verified that the news
>(what's new) in spanish is not up to date (the last is 1999!!) Why?

Hi Mustela

Disclaimer: I am not member of the FreeBSD team (I am only a newbie users)

Simply because there is no voluntary FreeBSD user who translated it.
Every Open Source project needs contributions. You are welcome to
translate the news.

>Link: [1]http://www.freebsd.org/es/news/press.html#story200802:02
>Very thanks.
>Pd:If is possible, please, reply in spanish.

cheers
Simon




signature.asc
Description: OpenPGP digital signature


Re: core dumped with java

2008-05-25 Thread Matthew Seaman

ronggui wrote:

Dear List,

I upgraded to freebsd 7.0 yesterday.

I have install /usr/ports/java/diablo-jre15/ using ports. Then, I run
the following command, resulting errors.

[EMAIL PROTECTED] -jar /usr/local/share/java/jabref/jabref.jar
Segmentation fault: 11 (core dumped)

Anyone know how to solve this problem? Thanks.



misc/compat6x ?

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: Ekiga/OPAL won't compile

2008-05-25 Thread Girish Kulkarni
On Sat, May 24, 2008 at 9:19 PM, Matthias Apitz wrote:
> The page says KDE 3.5.8 because this is what I have; I'm sure it will
> work with any other recent KDE or Gnome version; I'm happy to update the
> page with your (or others) version of KDE/Gnome/... just send me a note;

Never mind. I installed the pre-compiled package using pkg_add. It is
working fine now.

Girish.

-- 
Girish Kulkarni - Allahabad, India - http://girish.50webs.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mounting and using cd-rw media from a non root account

2008-05-25 Thread David M. Patronis

Desmond Chapman wrote:

I'm still stuck on the command line for this one. How do I give the user 
permissions and allow an application such as k3b to access the device? Any and 
all links to howtos or your own method is welcome.
Thank you in advance.

_
E-mail for the greater good. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ 
GreaterGood___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

  

My own configuration notes. Your mileage may vary : )

#How to install and configure K3b on FreeBSD 7.0

#To install the pre-compiled package (usually satisfactory) use the code 
below


pkg_add -r k3b

# If the pre-compiled package is ill-suited for your system, you can try 
compiling from source using the code below.


cd /usr/ports/sysutils/k3b  && make install clean

# Next, we edit configuration files in order to establish the proper 
settings and permissions

# Edit /boot/loader.conf to add the following:

atapicam_enable="YES"
hw.ata.atapi_dma="1"

# Modify devfs.conf with the following lines:

own cdrom root:operator
perm cdrom 0666
link cd0 cdwriter
own cderiter root:operator
perm cdwriter 0666
own pass0 root:operator
perm pass0 0666
own xpt0 root:operator
perm xpt0 0666

# Edit /etc/rc.conf to add the following:

devd_enable="YES"

#I am told the commands below are necessary on occasion. My system seems 
to work fine without them, however.


chmod 4711 /usr/local/bin/cdrecord
chmod 4711 /usr/local/bin/cdrdao



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


Re: mounting and using cd-rw media from a non root account

2008-05-25 Thread Manolis Kiagias

Desmond Chapman wrote:

I'm still stuck on the command line for this one. How do I give the user 
permissions and allow an application such as k3b to access the device? Any and 
all links to howtos or your own method is welcome.
Thank you in advance.


  


I have the following in my /etc/devfs.conf file:

own cd0 root:operator
perm cd0 0660

This makes the cd device owned by root / operator, and the permissions 
are set so that everyone in the operators group can read and write the 
device. If you change it to perm cd0 0666, everyone will be able to read 
and write (depending on your setup, this may have security 
implications). Do not forget to perform /etc/rc.d/devfs restart if you 
change the above file.


You will need to load the atapicam module into the kernel if you wish to 
use utilities like cdrecord and k3b. This will make your atapi CD to be 
handled as a SCSI device.  Use something like:


kldload atapicam

and add: atapicam_load="YES" in your /boot/loader.conf so that it also 
loads on your next boot. You can also build atapicam into your kernel if 
you don't want to use the module. The CD will then be handled using a 
cdX device, i.e. cd0, while the atapicd is usually acd0


Finally, for instructions on setting up k3b, go to 
/usr/ports/sysutils/k3b directory and type:


make showinfo

This will tell you most that you need to know on setting up k3b 
(including some of the info mentioned above).

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


mounting and using cd-rw media from a non root account

2008-05-25 Thread Desmond Chapman

I'm still stuck on the command line for this one. How do I give the user 
permissions and allow an application such as k3b to access the device? Any and 
all links to howtos or your own method is welcome.
Thank you in advance.

_
E-mail for the greater good. Join the i’m Initiative from Microsoft.
http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ 
GreaterGood___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Kyrre Nygård
Thanks a lot, this is exactly what I need.

Kyrre

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


Re: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Outback Dingo
Yupp thats the one i was referring to also, id go this way to do it remotely

On Sun, May 25, 2008 at 6:23 PM, Daniel Gerzo <[EMAIL PROTECTED]> wrote:

> Hello Kyrre,
>
> Sunday, May 25, 2008, 9:42:37 AM, you wrote:
>
> > My server is getting kinda messy, but my ISP charges too much for a
> > reinstall. Can I do this myself over SSH? Or perhaps there are ways to
> > make ones system as clean as a fresh install? Thanks.
>
> This will probably help you:
>
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/remote-install/
>
> --
> Best regards,
>  Danielmailto:[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: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Daniel Gerzo
Hello Kyrre,

Sunday, May 25, 2008, 9:42:37 AM, you wrote:

> My server is getting kinda messy, but my ISP charges too much for a
> reinstall. Can I do this myself over SSH? Or perhaps there are ways to
> make ones system as clean as a fresh install? Thanks.

This will probably help you:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/remote-install/

-- 
Best regards,
 Danielmailto:[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: where is FreeBSD on ftp.uk.freebsd.org?

2008-05-25 Thread Mike Clarke
On Sunday 25 May 2008, Sahil Tandon wrote:

> * Chris Whitehouse <[EMAIL PROTECTED]> [05-24-2008]:
> > Also UK is not in the list of countries at
> > http://mirrorlist.freebsd.org/FBSDsites.php.
>
> Several UK mirrors listed here:
>
> http://www.freebsd.org/doc/en/books/handbook/mirrors-ftp.html

Unfortunately most of these don't appear to be functional. I've tried to 
access /pub/FreeBSD/ports/ on them with very limited success.

ftp.uk.freebsd.org  => ftp.plig.net
   Failed - /pub/FreeBSD doesn't exist
ftp2.uk.freebsd.org => ftp.mirrorservice.org
   OK
ftp3.uk.freebsd.org => ftp.demon.net
   Failed - Incomplete mirror
   ftp> cd pub/FreeBSD
   250 CWD command successful.
   ftp> dir
   229 Entering Extended Passive Mode (|||52865|)
   150 Opening ASCII mode data connection for file list
   -r--rw-r--   1 root archives 6254 Nov  5  2002 README.TXT
   drwxr-xr-x   2 root archives 4096 Oct 24  2004 TrustedBSD
   -r--rw-r--   1 root archives20645 Feb  5  2004 dir.sizes
   226 Transfer complete.
ftp4.uk.freebsd.org => sunsite.org.uk
   Failed - Destination Host Unreachable
ftp5.uk.freebsd.org => karma.freebsd-uk.eu.org
   Failed - no response
ftp6.uk.freebsd.org => storm.freebsd.org.uk
   Failed - /pub/FreeBSD doesn't exist

Of the 6 mirrors, ftp2.uk.freebsd.org looks like the only usable one. 
That's what I've been using for quite a while now with no problems.

The situation with UK mirrors for the FreeBSD website is quite messy 
too. The home page at www.uk.freebsd.org doesn't appear to have been 
updated for over a year, the production release is shown as 6.2 and the 
latest security patch is listed as 2007-02-09.

The main FreeBSD site  shows a couple of UK 
mirrors in it's drop-down list, United Kingdom/1 and United Kingdom/2, 
which resolve to  www1.uk.freebsd.org and www3.uk.freebsd.org 
respectively. Currently www1 appears to be down but www3 appears to be 
OK.

I appreciate that www.uk.freebsd.org isn't listed as a mirror on the 
main web site but it's the one many people might intuitively try to use 
and it's a pity that it will give them such an out of date view of 
FreeBSD.

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


Re: FreeBSD crashed

2008-05-25 Thread Henri Hennebert

gahn wrote:

Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
message:

/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 : Mount  using filesystem 
 eg. ufs:da0s1a
 ?  List valid disk boot devices
  Abort manual input

mountroot>


try to find if da0s1a is the right disk:

`lsdev' may help

then `set currdev disk'

and check the content of the current disk with `ls'

Henri


///  



Could any gurus here help me out this? I just want to save the files in the 
home directory so that I can rebuild the system.

Regards

Dave


  
___

[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
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: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Lothar Braun

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

Kyrre Nygård wrote:
| My server is getting kinda messy, but my ISP charges too much for a
reinstall. Can I do this myself over SSH? Or perhaps there are ways to
make ones system as clean as a fresh install? Thanks.

If you have a spare partition on your system, then you can try the
depinguinator:

http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html

The depinguinator helps you to create a FreeBSD install image, that has
SSH enabled by default. You can boot into that system and use it as an
install medium for your FreeBSD installation.

Regards,
~  Lothar
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg5NtEACgkQOlpYSeF9JmZvXgCgh1bROYIDzY6b6vn760nLQUNc
cUEAnArHwflIa7//tfX+ce6IZbFYSiWn
=NZd3
-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: FreeBSD crashed

2008-05-25 Thread Richard Arends
On Sun, May 25, 2008 at 01:52:05AM -0700, gahn wrote:

> Could any gurus here help me out this? I just want to save the files in the 
> home directory so that I can rebuild the system.

Boot with a FreeBSD installation or live CD/DVD and mount the home partition and
burn the files on a CD or DVD, or copy them with scp to an other system or 
mount a
remote filesystem like CIFS/Samba/NFS and copy the files on that filesystem.

Or restore them from your most recent backup :)

-- 
Regards,

Richard.

/* Homo Sapiens non urinat in ventum */
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Outback Dingo
In theory yes you can its been done before, ill see if i can find the url
and the code for it i think it was mfsbsd ??

On Sun, May 25, 2008 at 4:31 PM, Christian Zachariasen <[EMAIL PROTECTED]>
wrote:

> On Sun, May 25, 2008 at 9:42 AM, "Kyrre Nygård" <[EMAIL PROTECTED]>
> wrote:
>
> > My server is getting kinda messy, but my ISP charges too much for a
> > reinstall. Can I do this myself over SSH? Or perhaps there are ways to
> make
> > ones system as clean as a fresh install? Thanks.
> >
> > Much obliged,
> > Kyrre
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to "
> > [EMAIL PROTECTED]"
> >
>
> (sorry, forgot to send this to the list as well)
>
> You have a server at an ISP?
>
> I'd say you'll need physical access to do an actual reinstall, unless
> they're using some kind of virtualization and you have access to that.
>
> But how is the server getting "messy"? In most cases you can just remove
> the
> software you're not using, and reclaim disk space that way. Also make sure
> any unneeded services are removed from /etc/rc.conf. To be honest, though -
> I've never felt the need to reinstall FreeBSD unless I was doing a major
> update as well (5 -> 6 for example).
>
> Christian Zachariasen
> ___
> 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: Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Christian Zachariasen
On Sun, May 25, 2008 at 9:42 AM, "Kyrre Nygård" <[EMAIL PROTECTED]>
wrote:

> My server is getting kinda messy, but my ISP charges too much for a
> reinstall. Can I do this myself over SSH? Or perhaps there are ways to make
> ones system as clean as a fresh install? Thanks.
>
> Much obliged,
> Kyrre
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

(sorry, forgot to send this to the list as well)

You have a server at an ISP?

I'd say you'll need physical access to do an actual reinstall, unless
they're using some kind of virtualization and you have access to that.

But how is the server getting "messy"? In most cases you can just remove the
software you're not using, and reclaim disk space that way. Also make sure
any unneeded services are removed from /etc/rc.conf. To be honest, though -
I've never felt the need to reinstall FreeBSD unless I was doing a major
update as well (5 -> 6 for example).

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


Re: FreeBSD crashed

2008-05-25 Thread Norman Maurer
Just type "?" to get the possible values. If this not help use the
livefs cd to start a shell and mount the disk.

Cheers,
Norman

2008/5/25 gahn <[EMAIL PROTECTED]>:
> Hello all:
>
> My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
> message:
>
> /
> ...
> 
> Trying to mount root from ufs:/dev/ad0s2a
>
> Manual root filesystem specification:
> : Mount  using filesystem 
> eg. ufs:da0s1a
> ?  List valid disk boot devices
>  Abort manual input
>
> mountroot>
>
> ///
>
>
> Could any gurus here help me out this? I just want to save the files in the 
> home directory so that I can rebuild the system.
>
> Regards
>
> Dave
>
>
>
> ___
> 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: core dumped with java

2008-05-25 Thread Christian Zachariasen
On Sun, May 25, 2008 at 10:11 AM, ronggui <[EMAIL PROTECTED]> wrote:

> Dear List,
>
> I upgraded to freebsd 7.0 yesterday.
>
> I have install /usr/ports/java/diablo-jre15/ using ports. Then, I run
> the following command, resulting errors.
>
> [EMAIL PROTECTED] -jar /usr/local/share/java/jabref/jabref.jar
> Segmentation fault: 11 (core dumped)
>
> Anyone know how to solve this problem? Thanks.
>
> --
> HUANG Ronggui, Wincent  http://ronggui.huang.googlepages.com/
> Bachelor of Social Work, Fudan University, China
> Master of sociology, Fudan University, China
> Ph.D. Candidate, CityU of HK.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>

Does it segfault if you just run a class as you normally would? e.g what
happens if you do the following:

vi HelloWorld.java

class HelloWorld {
  public static void main(String[] args) {
System.out.println("Hello world!");
  }
}


javac HelloWorld.java
java HelloWorld

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


FreeBSD crashed

2008-05-25 Thread gahn
Hello all:

My FreeBSD crashed. It boots fine but can't mount root directory. Here is the 
message:

/
...

Trying to mount root from ufs:/dev/ad0s2a

Manual root filesystem specification:
 : Mount  using filesystem 
 eg. ufs:da0s1a
 ?  List valid disk boot devices
  Abort manual input

mountroot>

///  


Could any gurus here help me out this? I just want to save the files in the 
home directory so that I can rebuild the system.

Regards

Dave


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


Can I Reinstall FreeBSD Over SSH?

2008-05-25 Thread Kyrre Nygård
My server is getting kinda messy, but my ISP charges too much for a reinstall. 
Can I do this myself over SSH? Or perhaps there are ways to make ones system as 
clean as a fresh install? Thanks.

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


core dumped with java

2008-05-25 Thread ronggui
Dear List,

I upgraded to freebsd 7.0 yesterday.

I have install /usr/ports/java/diablo-jre15/ using ports. Then, I run
the following command, resulting errors.

[EMAIL PROTECTED] -jar /usr/local/share/java/jabref/jabref.jar
Segmentation fault: 11 (core dumped)

Anyone know how to solve this problem? Thanks.

-- 
HUANG Ronggui, Wincent  http://ronggui.huang.googlepages.com/
Bachelor of Social Work, Fudan University, China
Master of sociology, Fudan University, China
Ph.D. Candidate, CityU of HK.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"