freebsd network fax server?

2007-05-24 Thread Dave

Hello,
   I was wondering if FreeBSD could relay or act as a network fax server? 
I've got a FreeBSD box that has a fax modem attached to it, and another 
machine that's a print server. I was wondering if say from a windows box i 
could submit a document to be printed but the printserver sends it 
cross-network to the fax box, which sends it? Is this doable?

Thanks.
Dave.

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


Re: Maple 10

2007-05-24 Thread Sandy Rutherford
Benjamin,

On Wed, 23 May 2007 you wrote:

  On Wednesday 23 May 2007 15:41, Sandy Rutherford wrote:
  I have been trying to get Maple 10 working on FreeBSD 6.2.  With the
  patch to the kernel to add `linux_rt_sigpending', it works fine with
  the exception of the help command.  This gives me:
  
  Help error, during help initialization - No help database found
  
  The help database file are *.hdb files and they are in my
  installation.  I tried running ktrace to see where it is looking for
  these files, but can't see anything of use.  Has anybody else solved
  this problem?

  Are you using the most recent version of Maple 10? With the first 
  version (10.0 or maybe even 10.1), help was broken with the Linux 
  version.

That would be the problem.  I have 10.0.  Thanks.

Should I decide to update, has anyone had success with Maple 11?

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


Re: Backup advice

2007-05-24 Thread Jason Lixfeld


On 24-May-07, at 12:33 AM, Doug Hardie wrote:



On May 23, 2007, at 19:03, Jason Lixfeld wrote:



On 23-May-07, at 9:23 PM, Doug Hardie wrote:

The criteria for selecting a backup approach is not the backup  
methodology but the restore methodology.


Excellent point.

Perhaps I'm asking the wrong question, so let me try it this way  
instead:


I'm looking for a backup solution that I can rely on in the event  
I have a catastrophic server failure.  Ideally this backup would  
look and act much like a clone of the production system.  In the  
worse case, I'd re-format the server array and copy the clone back  
to the server, setup the boot blocks, and that would be it.


Ideally this clone should be verifiable, meaning I should be able  
to verify it's integrity so that it's not going to let me down if  
I need it.


I'm thinking external USB hard drive of at least equal size to the  
server array size as far as hardware goes, but I'm lost as far as  
software goes.


What kind of data are you backing up?  If you are backing up the  
system and your data then you have to be very careful about links.   
Some backup solutions will copy the files as separate files.  When  
you restore the link is gone.  An update to one of the linked files  
will no longer be seen by the other names.  The OS uses a lot of  
links.  If all you are backing up is data, its probably not an  
issue.  I have used both dump and tar successfully.  I currently  
use tar as I have many directories I don't want to backup.  Tar  
requires some care and feeding to handle links properly.  It  
doesn't do it by default.  Dump does handle them properly by  
default.  Another option is rsync.  The advantage it has is that it  
only copies the changes in the file.  It will run a lot faster than  
dump or tar which will copy everything each time.  You do have to  
be careful with /dev if you are copying the root partition.


I'm backing up my entire system.  To me, it's easier this way in the  
long run.  In the event of a failure, you just copy everything from  
the backup back to the system without the need to worry about re- 
installing applications, library dependencies, configuration files,  
nuances, idiosyncrasies, etc.  I've been doing this for years with my  
OS X laptop and it's the quickest way to get back on your feet in a  
worst case scenario.


Dump seems to be the best at doing what I'm looking to do.  Better  
than tar or rsync.  I think dd would beat out dump, but dd is far  
less of a backup tool than dump is, so I think dump is still the  
winner.  The caveat of a full dump taking the most time and resources  
can be reasonably mitigated by doing a full dump every X intervals  
and incremental in between.  It seems to be a fair compromise seeing  
as how cheap hard drive space is these days.


2 x system space would be enough for a full dump plus plenty of  
increments, I'd say.  No?  Is there a rule of thumb?  3x?  4x?


As far as restoring goes, let's assume my machine blew up one full  
backup and 15 increments ago and I want to restore the entire system  
in it's entirety from my backup.  How is that done?  Point restore to  
the last incremental and it figures it out for itself, or is it a  
manual process where I have to figure out what backups consist of the  
complete system?


One backup disk is not all that great a safety approach.  You will  
never know if that drive has failed till you try and use it.  Then  
its too late.  Failures do not require that the drive hardware has  
failed.  Any interruption in the copy can cause an issue that may  
not be detected during the backup.  Sectors generally don't just go  
bad sitting on the shelf, but it does happen.  That was a  
significant problem with tapes.  Generally 25% of the tapes I used  
to get back from off-site storage after a month were no longer  
readable.


There has to be some way for the OS to know if a drive is bad, or to  
verify the state of the data that was just copied from one location  
to another.  Is there no method of doing error correction?  My laptop  
backup programs I've been using for years shows me information at the  
end of the run:  Files copied, Speed, Time, Errors, etc.


If a UNIX backup process is as unreliable as you're making it out to  
be, then I could buy 10 drives and still potentially have each one  
fail and be screwed if I were to need to rely on it at some point.


I'd feel more comfortable backing up off a RAID1 to a single backup  
drive that provided some sort of error protection/correction/ 
notification than backing up off a RAID1 to 100 backup drives that  
didn't give me any indication as to the success of the copy.


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


Re: Backup advice

2007-05-24 Thread Olivier Nicole
 2 x system space would be enough for a full dump plus plenty of  
 increments, I'd say.  No?  Is there a rule of thumb?  3x?  4x?

That depends how much your file system change. If every ficle change
befor the incremental run, dump 1 will be equal to dump 2, and 2x will
be enough for just dump0 and dump 1.

There is no rule.

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


Re: Backup advice

2007-05-24 Thread Jason Lixfeld


On 24-May-07, at 3:16 AM, Olivier Nicole wrote:


2 x system space would be enough for a full dump plus plenty of
increments, I'd say.  No?  Is there a rule of thumb?  3x?  4x?


That depends how much your file system change. If every ficle change
befor the incremental run, dump 1 will be equal to dump 2, and 2x will
be enough for just dump0 and dump 1.

There is no rule.


How would one go about gauging their system for the number of file  
system changes to determine a suitable amount of backup space?



Olivier


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


Re: freebsd network fax server?

2007-05-24 Thread Matthias Apitz
El día Thursday, May 24, 2007 a las 02:53:20AM -0400, Dave escribió:

 Hello,
I was wondering if FreeBSD could relay or act as a network fax server? 
 I've got a FreeBSD box that has a fax modem attached to it, and another 
 machine that's a print server. I was wondering if say from a windows box i 
 could submit a document to be printed but the printserver sends it 
 cross-network to the fax box, which sends it? Is this doable?
 Thanks.
 Dave.

HylaFAX (/usr/ports/comms/hylafax) has enough interfaces to build
such a solution; we still use it as a fax server here.

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC PICA GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclcpica.org/ http://guru.UnixLand.de/
b http://gurucubano.blogspot.com/
OCLC PICA GmbH, Geschaeftsfuehrer: Christine Magin-Weeger, Norbert Weinberger
Sitz der Gesellschaft: Oberhaching, HRB Muenchen: 113261
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 6.2 on Dell PowerEdge SC440

2007-05-24 Thread Dominik Zalewski
Dear All,

I'm thinking of buying Dell PowerEdge SC440 for a small webserver. Anyone 
using this server with FreeBSD 6.2 -release ? Any issues? Some stuff fixed 
in -stable or just stick with -release?

Thank you in advance,

Dominik




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


Re: looking for ethernet errors, collisions

2007-05-24 Thread Tom Judge

Chuck Swiger wrote:

On May 23, 2007, at 4:25 PM, RW wrote:

Well, there are plenty there on my sis0 interface (internal).

[EMAIL PROTECTED] ~]$ netstat -i
NameMtu Network   Address  Ipkts IerrsOpkts
Oerrs Coll
sis0   1500 Link#1  00:0a:e6:4a:56:c2 37989565  3980 36808783
5749 6492857
sis0   1500 192.168.1 kanga 12380344 -
9255757 -


What are collisions in this context?

Traditional ethernet collisions aren't possible on modern hardware,
since there's never more than one output writing to each twisted-pair.


Even though all modern NICs will happily do full-duplex operation when 
connected via a switch, people still use hubs rather than switches, 
sometimes  :-)  You can still get ethernet collisions on a hub.




In theory it is also possible to have collisions using a switch when the 
switches switching backplane is flooded.



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


Re: 2 problems with shared libraries

2007-05-24 Thread Boris Samorodov
On Thu, 24 May 2007 12:26:47 +0700 (ICT) Olivier Nicole wrote:

 $ ldconfig -r | grep libqt-mt.so.3
 102:-lqt-mt.3 = /usr/X11R6/lib/libqt-mt.so.3
 $ ldd colorseg
 colorseg:
 libfreetype.so.6 = /usr/lib/libfreetype.so.6 (0x28279000)
 libjpeg.so.62 = /usr/lib/libjpeg.so.62 (0x282e2000)
 libpng.so.3 = /usr/lib/libpng.so.3 (0x2830)
 libdpstk.so.1 = /usr/X11R6/lib/libdpstk.so.1 (0x28323000)
 libdps.so.1 = /usr/X11R6/lib/libdps.so.1 (0x2832b000)
 libXt.so.6 = /usr/X11R6/lib/libXt.so.6 (0x28374000)
 libXext.so.6 = /usr/X11R6/lib/libXext.so.6 (0x283c7000)
 libSM.so.6 = /usr/X11R6/lib/libSM.so.6 (0x283d7000)
 libICE.so.6 = /usr/X11R6/lib/libICE.so.6 (0x283e)
 libX11.so.6 = /usr/X11R6/lib/libX11.so.6 (0x283f8000)
 libz.so.1 = /usr/lib/libz.so.1 (0x284f4000)
 libpthread.so.0 = /lib/obsolete/linuxthreads/libpthread.so.0 
 (0x28507000)
 libqt-mt.so.3 = not found
 libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x2855b000)
 libm.so.6 = /lib/obsolete/linuxthreads/libm.so.6 (0x28614000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x2863a000)
 libc.so.6 = /lib/obsolete/linuxthreads/libc.so.6 (0x28644000)
 libdl.so.2 = /lib/libdl.so.2 (0x28763000)
 /lib/ld-linux.so.2 (0x2825a000)

 Why libqt-mt.so.3 is not found while it is listed by ldconfig?

 Colorseg is a Linux executable that I got without source.

Those libraries have (an undisplayed) prefix /compat/linux. And
there is no /compat/linux/usr/X11R6/lib/libqt-mt.so.3. This library is
from qt3 rpm which we don't have currently at out ports tree.

However you may try to install the port I wrote:
ftp://ftp.ipt.ru/pub/download/linux-qt3.tar.bz2

# cp linux-qt3.tar.bz2 /usr/ports/x11-toolkits
# cd /usr/ports/x11-toolkits
# tar xyf linux-qt3.tar.bz2
# cd linux-qt3
# make install clean

I've tested the port at tinderbox (build/install/deinstall) but can't
test at run time -- there may be missed dependencies (though I hope it
shouldn't happen). Any feedback is appreciated.


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


Re: Maple 10

2007-05-24 Thread Colin Percival
Sandy Rutherford wrote:
 On Wed, 23 May 2007 you wrote:
   Wow, this is news to me.  Did the Maple 10 installer work, or did you
   have to use linux to install and then copy the installed files across?
 
 No problem with the installer.  It's java-based and I used the FreeBSD
 native version of jdk1.4.2.

Hmm.  Maybe it was 9.5 which I last tried -- I ran into problems with the
installer saying hey, you're running FreeBSD.  I have no idea what that
is, so I'm going to refuse to install.

I'll have to try this again some day and come bug you if I still can't get
it to work. :-)

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


Re: limited shell access

2007-05-24 Thread Tom Evans
On Fri, 2007-04-27 at 20:38 -0400, kalin mintchev wrote:
  hi all..
 
  is it possible to limit access for certain users only to a certain
  directory tree - other then his/her home directory?
 
 so...  can i do that or not?
 
 
 
  for example joe logs into his home directory where there is a symbolic
  link to some other directory on the system but he can not go up a level
  (to /home or / ) or anywhere else but home and the directory under the
  symlink...
 
  i looked at the ssh and sshd confs but apparently nothing there...  still
  looking...
 
  thanks
 

man 1 bash
/RESTRICTED SHELL/


signature.asc
Description: This is a digitally signed message part


Mounting external SCO disks and mount_smbfs

2007-05-24 Thread DSA - JCR
Hi all

I am trying to mount in my FreeBSD 6,2 box disk that are on a SCO System V
Openserver release 5

In SCO it says that the disks filsystem is HTFS.

If i try to mount from Fbsd says that there is not external program for
this filesystem.

What I try is to mount them in order to backup there files.

Can I do something to mount them UNIX-UNIX?

I have tried to mounting with mount_smbfs because the files are in a Samba
share, but when i use cp to backup files to my Fsbd box i get many page
errors and timeout. So i dont trust mount_smbfs too much.

A solution for this?

My actual solution is to Samba share the two box and use a MS Windows with
a program i did to do the copy, but i think UNIX will be faster, also will
be less network traffic.

Thanks in advance

Juan Coruña
Desarrollo de Software Atlantico



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


Re: portmanager -s deletes ports?

2007-05-24 Thread Pieter de Goeje
On Thursday 24 May 2007, Garrett Cooper wrote:
 Pieter de Goeje wrote:
  On Wednesday 23 May 2007, [EMAIL PROTECTED] wrote:
  On 23/05/07, Norberto Meijome [EMAIL PROTECTED] wrote:
  On Wed, 23 May 2007 03:15:05 +0100
 
  RW [EMAIL PROTECTED] wrote:
  pkg_version -vl will give you a list of out of date ports.
 
  Alternatively,
 
  portversion -v | grep \
 
  eg:
 
  [EMAIL PROTECTED] [Wed May 23 17:26:33 2007]
  /usr/home/betom
  $ portversion -v | grep \
  [Updating the portsdb format:bdb_btree in /var/tmp ... - 17232 port
  entries found
  .1000.2000.3000.4000.5000..
 ..
  .6000.7000.8000.9000.1.1100
 0..
  ...12000.13000.14000.15000.16000...
 ... ...17000.. . done] eclipse-3.2.1_1   needs updating
  (port has 3.2.1_3) en-openoffice.org-GB-2.2.0[held] needs updating
  (port has 2.2.0_1) gnomehier-2.2_1   needs updating (port
  has 2.2_2)
 
  % pkg_version -vL=
  (slow, but works for 7.x)
 
  I believe it is safe (for now) to symlink INDEX-6 as INDEX-7. This will
  allow pkg_version -I to be used on -CURRENT.
 
  or
  % pkg_version -vIL=
  (faster, assuming you have an up-to-date INDEX, 5.x or 6.x)
  if you don't use ports-mgmt/portupgrade
 
  - Pieter de Goeje

   This will may change in the future, so I don't suggest doing that.
   INDEX-7 is automatically downloaded when you get make fetchindex
 anyhow, so why do you want to symlink the two Indeces?
 -Garrett
So I can use portsnap (which installs/updates INDEX-6). 

- Pieter de Goeje




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


Re: raid or not raid

2007-05-24 Thread kalin mintchev

so nobody on this list knows anything about raid?
wrong list?

 hi all..

 i have a box in a remote hosting facility that claims that the machine has
 two discs raided in it but df and fstab show only one disc with a bunch of
 slices.
 under devices there is another name - ad6 - but it's not mounted anywhere.
 the one i see both in df and the fstab is ad4 with one big slice and
 different partitions

 they insist there are 2 raided discs in tha machine. the os is 5.4 and i
 think at that point the raid drivers were still considered 'experimental'.

 it makes sense to me that if i don't see a second drive in the fstab there
 isn;t any mounting which means that there is no raid going on...

 is there any other way i can make sure if raid is actually on?
 would there will be any logs somewhere?
 the machine has been up for about 2 years and the dmesg is long gone...

 thanks.


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



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


Re: raid or not raid

2007-05-24 Thread [EMAIL PROTECTED]

On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote:


so nobody on this list knows anything about raid?
wrong list?

 hi all..

 i have a box in a remote hosting facility that claims that the machine has
 two discs raided in it but df and fstab show only one disc with a bunch of
 slices.
 under devices there is another name - ad6 - but it's not mounted anywhere.
 the one i see both in df and the fstab is ad4 with one big slice and
 different partitions

 they insist there are 2 raided discs in tha machine. the os is 5.4 and i
 think at that point the raid drivers were still considered 'experimental'.

 it makes sense to me that if i don't see a second drive in the fstab there
 isn;t any mounting which means that there is no raid going on...

 is there any other way i can make sure if raid is actually on?
 would there will be any logs somewhere?
 the machine has been up for about 2 years and the dmesg is long gone...

 thanks.



Lots of people here know plenty about RAID,
but you don't provide very much information.

If dmesg itself returns none of the startup info,
you can look in /var/log/dmesg.[today|yesterday].

/usr/sbin/pciconf can tell you what controller(s)
may be attached.

A proper RAID will show up as a single device,
just like any hard drive (but different).

It does seem odd to me that a (supposed) RAID
would show up as /dev/ad4.

Possibilities:
Your RAID really is on /dev/ad4 and /dev/ad6 is
something unexplained.
Your RAID controller is unsupported in 5.x and
not Doing The Right Thing but somehow still (kind
of) working as a normal [S]ATA controller.
Your RAID controller is unsupported in 5.x and
your hosting company realised this and wired
the shebang up as a normal [S]ATA controller
because they couldn't get FreeBSD to install
otherwise.
There is a RAID controller and there are two disks
connected to it, but the controller was not set up
correctly.
There is a RAID controller and there are two disks
connected to some other controller which might lead
to some interesting phone calls.
Your remote hosting company put a RAID with two
disks in some random machine and someone else
is complaining on some other list about the inverse
of your problem.

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


Re: portmanager -s deletes ports?

2007-05-24 Thread Heinrich Rebehn

Norberto Meijome wrote:

On Wed, 23 May 2007 09:53:39 +0200
Heinrich Rebehn [EMAIL PROTECTED] wrote:

This is weird! A program that is supposed to show the *status* of 
installed ports should never arbitrarily *remove* ports. 


I agree that is not clear why it is removing ports without warning. 

I consider this 
a severe bug. Luckily, this was on a server system where X11 is not 
crucial. I really don't want to imagine the hassle i would have had if 
portmanager had removed exim or apache or samba or ...


I think the chances of that ever happening are pretty low - do you think any of
them would get removed from ports?  The fact that xorg-manpages was being
orphaned is clearly documented in kris@ entry in ports/UPDATING.

the solution is simple, dont use that tool , at least in the form you are using
it.



Program has a bug -- don't use it. Strange logic, but at least easier 
then filing a bug report ;-)


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


Server Move - Quotas

2007-05-24 Thread Grant Peel
Hi all,

I am about to migrate about 250 domains from 1 server to another.

The OLD server is running FreeBSD 4.7 and the new one is 6.2.

Every domain has a real UNIX user whos home is in the /home directory.

We are using user quotas to manage disk space.

Can I directly copy the user.quota file in the /home directory from the old 
server to the new one, or will I need to redo all the quotas manually?

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


Re: FreeBSD 6.2 on Dell PowerEdge SC440

2007-05-24 Thread Lars Kristiansen

Dominik Zalewski skrev:

Dear All,

I'm thinking of buying Dell PowerEdge SC440 for a small webserver. Anyone 
using this server with FreeBSD 6.2 -release ? Any issues? Some stuff fixed 
in -stable or just stick with -release?


6.2-release does not have a driver for the built-in network interface.
So you probarly want to order it with extra gigabit nic.
Worked for me.

Regards,
 Lars



Thank you in advance,

Dominik




___
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]


nvidia-driver segmentation fault

2007-05-24 Thread Ernest Sales
To celebrate te Xorg upgrade I got rid of all ports installed in my system,
then did a fresh install. No problems building; well, I installed first
gnome-lite expecting it would pull the complete xorg meta-port and finally
had to install this to get all the stuff, but suppose this is harmless.

Now, the sad history: I can run X apps with the nv driver, but the
nvidia-driver fails. Typescript [...comments...]:

[...using the nv driver...]

# X -config xorg.conf.new
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386
Current Operating System: FreeBSD asinusaureus 6.2-STABLE FreeBSD 6.2-STABLE
#0: Thu May 24 11:20:28 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386
Build Date: 21 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:56:19 2007
(++) Using config file: /root/xorg.conf.new
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
found)

[...works fine; same if I launch the desktop...]

[...now as configured with nvidia-xconfig...]

# X -config /etc/X11/xorg.conf
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386
Current Operating System: FreeBSD asinusaureus 6.2-STABLE FreeBSD 6.2-STABLE
#0: Thu May 24 11:20:28 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386
Build Date: 21 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:57:34 2007
(++) Using config file: /etc/X11/xorg.conf

[...shows the nvidia splash screen and then aborts...]

Fatal server error:
Caught signal 11.  Server aborting

Abort (core dumped)
# tail /var/log/messages
[...]
May 24 11:57:37 asinusaureus kernel: pid 1840 (Xorg), uid 0: exited on
signal 6 (core dumped)

No relevant info in xorg logs.

After much looking, I am still clueless. Any hint?


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


Re: Mounting external SCO disks and mount_smbfs

2007-05-24 Thread Christian Walther

On 24/05/07, DSA - JCR [EMAIL PROTECTED] wrote:

Hi all

I am trying to mount in my FreeBSD 6,2 box disk that are on a SCO System V
Openserver release 5

In SCO it says that the disks filsystem is HTFS.

If i try to mount from Fbsd says that there is not external program for
this filesystem.

What I try is to mount them in order to backup there files.

Can I do something to mount them UNIX-UNIX?

I have tried to mounting with mount_smbfs because the files are in a Samba
share, but when i use cp to backup files to my Fsbd box i get many page
errors and timeout. So i dont trust mount_smbfs too much.

A solution for this?



Yes, just use a backup client/system of your choice. Copying them to
windows is not the first choise, neither is mounting the disk on a
FreeBSD-Box. BTW: If you want to do something like this you should use
NFS.
I would recommend a backup method that is native to SCO. I never used
it so I don't know what is available, but there should be something
like dump. This will do a backup on the filesystem level and allows
incremental backups. There is at least a cpio available. So you create
some files containing your backups, and you can transfer them to a
remote machine...

Alternatively you could check wether there is a backup solution
available for SCO.

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


can't read raw CD device

2007-05-24 Thread Incoming Mail List

Hello,

I'm trying to understand why I cannot read my CD drive directly from a 
'c' program using the read(2) system call, or even using the dd(1)
command.  As you will see, I have both the acd0 and cd0 devices since
I have atapicam configured in the kernel.

I can mount cdrom media using mount() and access data via the cd9660
file system, so I know the drive and the media are not the problem.

#dd if=/dev/acd0 of=/dev/null count=20
dd: /dev/acd0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000163 secs (0 bytes/sec)

#dd if=/dev/cd0 of=/dev/null count=20
dd: /dev/cd0: Invalid argument
0+0 records in
0+0 records out
0 bytes transferred in 0.000179 secs (0 bytes/sec)

Thanks,
Jon

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


Re: raid or not raid

2007-05-24 Thread Jack Barnett

[EMAIL PROTECTED] wrote:

On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote:


so nobody on this list knows anything about raid?
wrong list?

 hi all..

 i have a box in a remote hosting facility that claims that the 
machine has
 two discs raided in it but df and fstab show only one disc with a 
bunch of

 slices.
 under devices there is another name - ad6 - but it's not mounted 
anywhere.

 the one i see both in df and the fstab is ad4 with one big slice and
 different partitions

 they insist there are 2 raided discs in tha machine. the os is 5.4 
and i
 think at that point the raid drivers were still considered 
'experimental'.


 it makes sense to me that if i don't see a second drive in the 
fstab there

 isn;t any mounting which means that there is no raid going on...

 is there any other way i can make sure if raid is actually on?
 would there will be any logs somewhere?
 the machine has been up for about 2 years and the dmesg is long 
gone...


 thanks.



Lots of people here know plenty about RAID,
but you don't provide very much information.

If dmesg itself returns none of the startup info,
you can look in /var/log/dmesg.[today|yesterday].

/usr/sbin/pciconf can tell you what controller(s)
may be attached.

A proper RAID will show up as a single device,
just like any hard drive (but different).

It does seem odd to me that a (supposed) RAID
would show up as /dev/ad4.

Possibilities:
Your RAID really is on /dev/ad4 and /dev/ad6 is
something unexplained.
Your RAID controller is unsupported in 5.x and
not Doing The Right Thing but somehow still (kind
of) working as a normal [S]ATA controller.
Your RAID controller is unsupported in 5.x and
your hosting company realised this and wired
the shebang up as a normal [S]ATA controller
because they couldn't get FreeBSD to install
otherwise.
There is a RAID controller and there are two disks
connected to it, but the controller was not set up
correctly.
There is a RAID controller and there are two disks
connected to some other controller which might lead
to some interesting phone calls.
Your remote hosting company put a RAID with two
disks in some random machine and someone else
is complaining on some other list about the inverse
of your problem.

Also what type of RAID?  If it's Hardware RAID _and_ it's using a 3ware 
card, you can install tw_cli from /usr/ports/sysutils.  It's a nice 
little utility and will show you the status of your units/ports/drives 
and how many drives you have on that controller.







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


Skype font

2007-05-24 Thread Erik Danielsson
Hi.

I installed skype (from ports) today, and everything is fine except for the 
small matter that no font is found, so all i can see is small black squares 
instead of letters.

I tried changing things with qtconfig (qt33), but that didn't help.

I'm running fbsd 6.2, xorg 7.2, skype 1.2

I must be missing something, but can't seem to find what it is.

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


Re: can't read raw CD device

2007-05-24 Thread Nikos Vassiliadis
On Thursday 24 May 2007 15:59, Incoming Mail List wrote:
 Hello,

 I'm trying to understand why I cannot read my CD drive directly from a
 'c' program using the read(2) system call, or even using the dd(1)
 command.  As you will see, I have both the acd0 and cd0 devices since
 I have atapicam configured in the kernel.

 I can mount cdrom media using mount() and access data via the cd9660
 file system, so I know the drive and the media are not the problem.

 #dd if=/dev/acd0 of=/dev/null count=20
 dd: /dev/acd0: Invalid argument
 0+0 records in
 0+0 records out
 0 bytes transferred in 0.000163 secs (0 bytes/sec)

 #dd if=/dev/cd0 of=/dev/null count=20
 dd: /dev/cd0: Invalid argument
 0+0 records in
 0+0 records out
 0 bytes transferred in 0.000179 secs (0 bytes/sec)

You have to define the sector size explicitly, otherwise
your read(2)s will fail. You can use a multiple of 2048.
dd uses by default a 512 byte length buffer.

root:0:~# dd if=/dev/acd0 bs=2048 count=10 of=/dev/null 
10+0 records in
10+0 records out
20480 bytes transferred in 4.110981 secs (4982 bytes/sec)

That's for the so-called data CDs, the block size you
have to use for audio CDs is 2352.

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


Re: raid or not raid

2007-05-24 Thread kalin mintchev
 
  i have a box in a remote hosting facility that claims that the machine
 has
  two discs raided in it but df and fstab show only one disc with a
 bunch of
  slices.
  under devices there is another name - ad6 - but it's not mounted
 anywhere.
  the one i see both in df and the fstab is ad4 with one big slice and
  different partitions
 
  they insist there are 2 raided discs in tha machine. the os is 5.4 and
 i
  think at that point the raid drivers were still considered
 'experimental'.
 
  it makes sense to me that if i don't see a second drive in the fstab
 there
  isn;t any mounting which means that there is no raid going on...
 
  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long
 gone...
 
  thanks.
 

 Lots of people here know plenty about RAID,
 but you don't provide very much information.

ok. fair enough...  thanks.

 If dmesg itself returns none of the startup info,
 you can look in /var/log/dmesg.[today|yesterday].

as i mentioned the machine has been up without reboot for almost 2 years...

 /usr/sbin/pciconf can tell you what controller(s)
 may be attached.

right, i forgot about pciconf...
i can see one SATA and one EIDE controllers. both ATA subclass. no RAID
controllers. nothing about RAID anywhere from pciconf

 A proper RAID will show up as a single device,
 just like any hard drive (but different).

what do you mean by 'but different'? the actual df output lists this:

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad4s1a290M 81M186M30%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad4s1d989M 50K910M 0%/tmp
/dev/ad4s1f 15G5.0G8.4G37%/usr
/dev/ad4s1e989M 33M877M 4%/var
/dev/ad4s1g126G 90G 25G78%/work

i read it as one disk - ad4 - with one big slice 1 and 5 partitions.
am i wrong? fstab shows same devices.

 It does seem odd to me that a (supposed) RAID
 would show up as /dev/ad4.

please elaborate. do you mean that the raided disks will have another
id/name rather than 'ad'?

 Possibilities:
 Your RAID really is on /dev/ad4 and /dev/ad6 is
 something unexplained.
 Your RAID controller is unsupported in 5.x and
 not Doing The Right Thing but somehow still (kind
 of) working as a normal [S]ATA controller.
 Your RAID controller is unsupported in 5.x and
 your hosting company realised this and wired
 the shebang up as a normal [S]ATA controller
 because they couldn't get FreeBSD to install
 otherwise.
 There is a RAID controller and there are two disks
 connected to it, but the controller was not set up
 correctly.
 There is a RAID controller and there are two disks
 connected to some other controller which might lead
 to some interesting phone calls.
 Your remote hosting company put a RAID with two
 disks in some random machine and someone else
 is complaining on some other list about the inverse
 of your problem.

ok. i guess i'd explore the 'interesting phone calls' one.
if it doesn;t walk like a duck and it doesn;t quack like a duck it must be
some other bird/thing...



 --
 --



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


Re: Skype font

2007-05-24 Thread Karol Kwiatkowski
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Erik Danielsson wrote:
 Hi.
 
 I installed skype (from ports) today, and everything is fine except for the 
 small matter that no font is found, so all i can see is small black squares 
 instead of letters.
 
 I tried changing things with qtconfig (qt33), but that didn't help.
 
 I'm running fbsd 6.2, xorg 7.2, skype 1.2
 
 I must be missing something, but can't seem to find what it is.

Hi Erik,

you'll need to update x11-fonts/linux-fontconfig port to most recent
version (2.2.3_7), it has had a bug in previous version.

HTH,

Karol

- --
Karol Kwiatkowski   karol.kwiat at gmail dot com
OpenPGP 0x06E09309
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGVZhaezeoPAwGIYsRCPrUAJ9DIUFYhHwNf00+Gg0sTptiPZHV6wCfR4IZ
He7mztDTg/Mosxx+OhstZVs=
=7nh5
-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: raid or not raid

2007-05-24 Thread kalin mintchev

 Also what type of RAID?  If it's Hardware RAID _and_ it's using a 3ware
 card,

doubt it. i don't see anything that ponts to that in the pciconf output..

 you can install tw_cli from /usr/ports/sysutils.  It's a nice
 little utility and will show you the status of your units/ports/drives
 and how many drives you have on that controller.









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


Re: freebsd network fax server?

2007-05-24 Thread Anish Mistry
On Thursday 24 May 2007, Dave wrote:
 Hello,
 I was wondering if FreeBSD could relay or act as a network fax
 server? I've got a FreeBSD box that has a fax modem attached to it,
 and another machine that's a print server. I was wondering if say
 from a windows box i could submit a document to be printed but the
 printserver sends it cross-network to the fax box, which sends it?
 Is this doable? Thanks.
I've got a setup using HylaFAX.  It's not exactly what you mention 
though.  What we have setup is that you can send and email to the fax 
box with a postscript attachment and the email will act as the fax 
coversheet and the attached document will the the rest of the fax.  
You can setup filters with HylaFAX to do things like PDF-PS 
conversion automatically.

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


pgpFEJoy1LsNX.pgp
Description: PGP signature


Re: Maple 10

2007-05-24 Thread Svein Halvor Halvorsen



On Thu, 24 May 2007, Colin Percival wrote:

Hmm.  Maybe it was 9.5 which I last tried -- I ran into problems with the
installer saying hey, you're running FreeBSD.  I have no idea what that
is, so I'm going to refuse to install.



When i fiddled with this some time back, I started /compat/linux/bin/bash 
and then run the installation as if I was doing it under Linux. No 
problems.



Best regards, 
Svein Halvor



PS: While I have the opportunity; thanks for your work on freebsd-update, 
portsnap, etc. I think I owe you a beer (or other drink of your choice) 
should we ever meet :-)

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


Re: Maple 10

2007-05-24 Thread Benjamin Lutz
On Thursday 24 May 2007 08:53, Sandy Rutherford wrote:
 Benjamin,

 On Wed, 23 May 2007 you wrote:
   On Wednesday 23 May 2007 15:41, Sandy Rutherford wrote:
   I have been trying to get Maple 10 working on FreeBSD 6.2.  With
   the patch to the kernel to add `linux_rt_sigpending', it works
   fine with the exception of the help command.  This gives me:
  
   Help error, during help initialization - No help database found
  
   The help database file are *.hdb files and they are in my
   installation.  I tried running ktrace to see where it is looking
   for these files, but can't see anything of use.  Has anybody else
   solved this problem?
  
   Are you using the most recent version of Maple 10? With the first
   version (10.0 or maybe even 10.1), help was broken with the Linux
   version.

 That would be the problem.  I have 10.0.  Thanks.

 Should I decide to update, has anyone had success with Maple 11?

No experience with Maple 11 (hell, up to now I didn't even know there 
was a Maple 11), but there is a patch for Maple 10 that'll fix the 
help.

Cheers
Benjamin


pgpzRPjMo8OqR.pgp
Description: PGP signature


Re: Extended partition

2007-05-24 Thread Lowell Gilbert
Mohsen Pahlevanzadeh [EMAIL PROTECTED] writes:

 Dear all,
 I have 1 freebsd partiotion  4 other partitions:
 1.Etended DOS (Primary)
 2.ext3 logical under 1
 3.ext3 logical under 1
 4.solaris swap (primary)
 When i mount ext3 partitions, i receive invalid argument
 mount_ext2fs -o ro /dev/ad0s6 /media/mymountpoint
 I have checked ad0s6 exist.
 Please help me.

Wouldn't that be more like ad0s6b?  [Not sure about the final
letter; it would depend on the layout.]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD t-shirt

2007-05-24 Thread Kávássy Dániel

Hi,

I know it's a bit off. I've seen FreeBSD t-shirts (probably drafts) with 
the new logo: http://logo-contest.freebsd.org/result/640-1.png


If there were any, I'd happily buy one.

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


xsane error during device i/o

2007-05-24 Thread Duane
Hi 

I just recently updated my freebsd box and now I am running into this problem.
I am using freebsd 6.1 and I did have my scanner working.

I ran into a few problems with update Xorg 7.2 and once I got that taken care 
of now I am getting this message from xsane?
Failed to open device genesys.libusb/dev/usb0/dev/ugen0
Error during device I/O

I am using a Canon CanoScan LiDe 60.

I have changed permissions on usb0 and ugen0 still get the same error.
I reinstalled xsane and the sane-backend nothing.
I have looked on the web for this problem still no luck.

Anyone have any ideas? I am out of them.

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


Re: Server Move - Quotas

2007-05-24 Thread Dan Nelson
In the last episode (May 24), Grant Peel said:
 I am about to migrate about 250 domains from 1 server to another.
 
 The OLD server is running FreeBSD 4.7 and the new one is 6.2.
 
 Every domain has a real UNIX user whos home is in the /home directory.
 
 We are using user quotas to manage disk space.
 
 Can I directly copy the user.quota file in the /home directory from
 the old server to the new one, or will I need to redo all the quotas
 manually?

If the uids are staying the same, you should be able to just copy the
files and run quotacheck to update the accounting info.

-- 
Dan Nelson
[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: Backup advice

2007-05-24 Thread Jason Lixfeld


On 24-May-07, at 3:43 AM, Doug Hardie wrote:

Rsync will leave you with a duplicate of the drive.  You could  
pretty much boot off it and run.  You would need to configure the  
drive and install a boot loader though.


The boot off and run is more in-line with what I want to do, so I  
will go the rsync route instead of the dump/restore route.


Thanks for your feedback, Doug.  It's been a great help.


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


Re: raid or not raid

2007-05-24 Thread Derek Ragona

At 05:30 AM 5/24/2007, kalin mintchev wrote:


so nobody on this list knows anything about raid?
wrong list?

 hi all..

 i have a box in a remote hosting facility that claims that the machine has
 two discs raided in it but df and fstab show only one disc with a bunch of
 slices.
 under devices there is another name - ad6 - but it's not mounted anywhere.
 the one i see both in df and the fstab is ad4 with one big slice and
 different partitions

 they insist there are 2 raided discs in tha machine. the os is 5.4 and i
 think at that point the raid drivers were still considered 'experimental'.

 it makes sense to me that if i don't see a second drive in the fstab there
 isn;t any mounting which means that there is no raid going on...

 is there any other way i can make sure if raid is actually on?
 would there will be any logs somewhere?
 the machine has been up for about 2 years and the dmesg is long gone...

 thanks.




It is likely a hardware raid setup in the hardware BEFORE FreeBSD was 
installed.  In this type of setup the RAID array just looks like a regular 
hard disk to the OS.


-Derek

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

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


Re: Net/Force Install

2007-05-24 Thread Jerry McAllister
On Wed, May 23, 2007 at 10:46:47AM -0400, magikman wrote:

 Hello,
 
  The co-host that i use to host my email, web and DNS doesn't offer 
 the option of using FreeBSD. This isn't really a problem per-se,  but i 
 would *really* rather use FreeBSD as it is what i am accustomed to and 
 most comfortable using.
 
 So, off to my question. They offer a rescuemode where i can boot into 
 and have full access to the disks. Do you think it would be possible to 
 maybe create an image of an existing BSD install with the same disk 
 makeup, etc. and dd it to the remote disk? Have any of you ever 
 attempted this before? The procedure that i was planning to use involved 
 using dd to pipe the image over a netcat connection.

It may be possible.
It depends a lot on what they actually are doing and what your host
is actually running on.   Is it a virtual machine?  If so, you might
have trouble using dd, but you might be able to do it another way.
How does their 'rescue mode' work?   Is it some BIOS thing or maybe
additional hardware or some Ghost-like or Acronis system.  It that
case, it might be difficult, but maybe.

Anyway, it might be do-able, but possibly more involved than just
doing a dd.   Anyway, dd is not the best way to move a complete 
disk image from one system to a dissimilar system.   If you can
get enough control over the disk, can you do an fdisk and bsdlabel
on it.  If so, then you can create partitions and make the disk
bootable if it is a real disk and maybe even if it is a virtual
disk.   Then newfs the partitions to create file systems on them and 
use dump/restore to move file systems' data in to place on the disk.

jerry

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


Re: nvidia-driver segmentation fault

2007-05-24 Thread Derek Ragona

At 07:26 AM 5/24/2007, Ernest Sales wrote:

To celebrate te Xorg upgrade I got rid of all ports installed in my system,
then did a fresh install. No problems building; well, I installed first
gnome-lite expecting it would pull the complete xorg meta-port and finally
had to install this to get all the stuff, but suppose this is harmless.

Now, the sad history: I can run X apps with the nv driver, but the
nvidia-driver fails. Typescript [...comments...]:

[...using the nv driver...]

# X -config xorg.conf.new
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386
Current Operating System: FreeBSD asinusaureus 6.2-STABLE FreeBSD 6.2-STABLE
#0: Thu May 24 11:20:28 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386
Build Date: 21 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:56:19 2007
(++) Using config file: /root/xorg.conf.new
(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
found)

[...works fine; same if I launch the desktop...]

[...now as configured with nvidia-xconfig...]

# X -config /etc/X11/xorg.conf
X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: FreeBSD 6.2-STABLE i386
Current Operating System: FreeBSD asinusaureus 6.2-STABLE FreeBSD 6.2-STABLE
#0: Thu May 24 11:20:28 CEST 2007
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386
Build Date: 21 May 2007
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:57:34 2007
(++) Using config file: /etc/X11/xorg.conf

[...shows the nvidia splash screen and then aborts...]

Fatal server error:
Caught signal 11.  Server aborting

Abort (core dumped)
# tail /var/log/messages
[...]
May 24 11:57:37 asinusaureus kernel: pid 1840 (Xorg), uid 0: exited on
signal 6 (core dumped)

No relevant info in xorg logs.

After much looking, I am still clueless. Any hint?


Make sure you are using the correct driver for your specific graphics 
chip.  Older chips need a legacy driver you have to install yourself.


There is information on the nvidia website.

-Derek

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

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


Re: raid or not raid

2007-05-24 Thread [EMAIL PROTECTED]

On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote:

 
  i have a box in a remote hosting facility that claims that the machine
 has
  two discs raided in it but df and fstab show only one disc with a
 bunch of
  slices.
  under devices there is another name - ad6 - but it's not mounted
 anywhere.
  the one i see both in df and the fstab is ad4 with one big slice and
  different partitions
 
  they insist there are 2 raided discs in tha machine. the os is 5.4 and
 i
  think at that point the raid drivers were still considered
 'experimental'.
 
  it makes sense to me that if i don't see a second drive in the fstab
 there
  isn;t any mounting which means that there is no raid going on...
 
  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long
 gone...
 
  thanks.
 

. . .

 A proper RAID will show up as a single device,
 just like any hard drive (but different).

what do you mean by 'but different'? the actual df output lists this:

# df -h
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad4s1a290M 81M186M30%/
devfs  1.0K1.0K  0B   100%/dev
/dev/ad4s1d989M 50K910M 0%/tmp
/dev/ad4s1f 15G5.0G8.4G37%/usr
/dev/ad4s1e989M 33M877M 4%/var
/dev/ad4s1g126G 90G 25G78%/work

i read it as one disk - ad4 - with one big slice 1 and 5 partitions.
am i wrong? fstab shows same devices.

 It does seem odd to me that a (supposed) RAID
 would show up as /dev/ad4.

please elaborate. do you mean that the raided disks will have another
id/name rather than 'ad'?


Not knowing what hardware you have, I would still hazard
that a RAID device will not show up as /dev/adN.
I would guess that the RAID controllers that use cam
might have their devices called by the /dev/daN convention,
but I don't know that.


ok. i guess i'd explore the 'interesting phone calls' one.
if it doesn;t walk like a duck and it doesn;t quack like a duck it must be
some other bird/thing...



I would agree with that.

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


Re: raid or not raid

2007-05-24 Thread [EMAIL PROTECTED]

On 24/05/07, Derek Ragona [EMAIL PROTECTED] wrote:

At 05:30 AM 5/24/2007, kalin mintchev wrote:

so nobody on this list knows anything about raid?
wrong list?

  hi all..
 
  i have a box in a remote hosting facility that claims that the machine has
  two discs raided in it but df and fstab show only one disc with a bunch of
  slices.
  under devices there is another name - ad6 - but it's not mounted anywhere.
  the one i see both in df and the fstab is ad4 with one big slice and
  different partitions
 
  they insist there are 2 raided discs in tha machine. the os is 5.4 and i
  think at that point the raid drivers were still considered 'experimental'.
 
  it makes sense to me that if i don't see a second drive in the fstab there
  isn;t any mounting which means that there is no raid going on...
 
  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long gone...
 
  thanks.
 
 

It is likely a hardware raid setup in the hardware BEFORE FreeBSD was
installed.  In this type of setup the RAID array just looks like a regular
hard disk to the OS.



Now I'm curious: are there RAID controllers that FreeBSD
just sees as a [S]ATA controller with a [S]ATA disk attached?


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


Re: raid or not raid

2007-05-24 Thread Roland Smith
On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote:
 
 so nobody on this list knows anything about raid?
 wrong list?
 
  hi all..
 
  i have a box in a remote hosting facility that claims that the machine has
  two discs raided in it but df and fstab show only one disc with a bunch of
  slices.
  under devices there is another name - ad6 - but it's not mounted anywhere.
  the one i see both in df and the fstab is ad4 with one big slice and
  different partitions

My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6
device nodes exist as well.

Do you have the ataraid device in the kernel?

  they insist there are 2 raided discs in tha machine. the os is 5.4 and i
  think at that point the raid drivers were still considered
  'experimental'.

Then ask them how it's done.

  it makes sense to me that if i don't see a second drive in the fstab there
  isn;t any mounting which means that there is no raid going on...

If you're seeing an ad device, it's not RAID-ed, AFAIK.

  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long gone...

It should be in /var/run/dmesg.boot.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpibRZkquGy6.pgp
Description: PGP signature


Re: Backup advice

2007-05-24 Thread Jerry McAllister
On Wed, May 23, 2007 at 07:27:05PM -0400, Jason Lixfeld wrote:

 So I feel a need to start backing up my servers.  To that end, I've  
 decided that it's easier for me to grab an external USB drive instead  
 of a tape.  It would seem dump/restore are the tools of choice.  My  
 backup strategy is pretty much I don't want to be screwed if my RAID  
 goes away.  That said I have a few questions along those lines:

A popular sentiment.

 - Most articles I've read suggest a full backup, followed by  
 incremental backups.  Is there any real reason to adopt that format  
 for a backup strategy like mine, or is it reasonable to just do a  
 dump 0 nightly?  I think the only reason to do just one full backup  
 per 'cycle' would be to preserve system resources, as I'm sure it's  
 fairly taxing on the system during dump 0 times.

Yes, dump/restore is generally the way to go, unless you have not
set up your partitions conveniently to separate what you want to dump
from what you do not want to dump.

The main reason to do a full dump followed by a series of incrementals
is to save resources.   This includes dump time as well as media to
receive the dump[s].   If you happen to be using tape for example, a
large full dump may take several tapes for each dump, but an incremental 
may then take only one for each.

There is one more thing to consider.   The way dump works is that it
starts by making a large list of all the stuff it will dump.  Then it
starts writing to media (tape, disk file, network, whatever).  On systems
where files change frequently, especially new ones being added and old
ones being deleted, it is quite possible, even probable that there will
be changes between the time the index list is made and when the dump
of a particular file/directory is written.   dump and restore handle
this with now problem and just a little warning message, but it makes
the backup a little less meaningful.   You will often see messages
from restore saying it is skipping a file it cannot find.  That is
because the file was deleted from disk after the list was made, but
before the data was written to media.   Files created after the list
was made will not be dumped until the next time dump is run.  Files
that are modified after the list was made will only be dumped if they
were also modified before the list was made.

That said, if the amount I am backing up takes less than about
an hour for a level 0 and I have room for it, I always do the full 
dump each time and ignore the incremental issue.In cases where
the full dump takes a long time, but there are typically not a lot of
changes on the system, I usually do a level 0, followed only by
a series of level 1 dumps until they tend to get large and then start
another level 0 dump.

 - Can dump incrementally update an existing dump, or is the idea that  
 a dump is a closed file and nothing except restore should ever touch it?

No, dump does not work that way.   It works on complete files.
It keeps a record of when the most recent dumps were done along with
the level of the dump that was done - in a file called /etc/dumpdates.   
Then, when it makes its list of files and directories to dump, it looks
at the date the file was changed.   If the change was more recent than
the next lower dump level than currently being done, it adds the file
to the list and dumps it to the incremental media.   Full dumps just
set the date of most recent dump to the epoch (1970) so any file
or directory changed since then is dumped.   Since that is the 
nominal beginning of time for UNIX of any time, all files will be
changed since then and thus be added to the list to be dumped.  

So, essentially, yes to the second part of the question.  A dump file
might as well be considered a closed file.  Incrementals are additional
closed files. 

 
 - How much does running a backup through gzip actually save?  Is  
 taxing the system to compress the dump and the extra time it takes  
 actually worth it, assuming I have enough space on my backup drive to  
 support a dump 0 or two?

As with other data, it depends on the data.   I never compress dumps.
Maybe I am a little supersticious, but I don't want any other
complication potentially in the way under the circumstance when I
find I need something from the dump.Also, you would have to
uncompress the dump before you could do an 'interactive' restore or
any other partial restore.

jerry

 
 - Other folks dumping to a hard drive at night?  Care to share any of  
 your experiences/rationale?
 
 Thanks in advance.
 ___
 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]


Out of memory during request

2007-05-24 Thread Janos Dohanics

I'm using imapsync to transfer maildirs to a new server. One of the
mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
imapsync quits with this message:

END
while processing LITERAL
Read: * 5330 FETCH (UID 5337 BODY[] )
12835 OK Fetch completed.

Out of memory during request for 80 bytes, total sbrk() is 536813568
bytes!

I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
with 1 GB RAM.

I'm wondering if I could adjust some resource settings to let the
imapsync job finish?

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


Re: Backup advice

2007-05-24 Thread Jerry McAllister
On Wed, May 23, 2007 at 10:03:40PM -0400, Jason Lixfeld wrote:

 
 On 23-May-07, at 9:23 PM, Doug Hardie wrote:
 
 The criteria for selecting a backup approach is not the backup  
 methodology but the restore methodology.
 
 Excellent point.
 
 Perhaps I'm asking the wrong question, so let me try it this way  
 instead:
 
 I'm looking for a backup solution that I can rely on in the event I  
 have a catastrophic server failure.  Ideally this backup would look  
 and act much like a clone of the production system.  In the worse  
 case, I'd re-format the server array and copy the clone back to the  
 server, setup the boot blocks, and that would be it.
 
 Ideally this clone should be verifiable, meaning I should be able to  
 verify it's integrity so that it's not going to let me down if I need  
 it.
 
 I'm thinking external USB hard drive of at least equal size to the  
 server array size as far as hardware goes, but I'm lost as far as  
 software goes.

Sounds like you are not quite as critical as the other post - somewhere
in between.   

If you want an immediately available clone, then the best thing is
to have an identical machine, preferably off-site and maintain it
as a clone, probably using rsync, although you can reasonably use
dump/restore for that too.  

If you need calls for just being back up in a reasonable length of time
then you might prefer dumping to some media and if the need comes to
restore, then you would have to recreate the disk structure - using
fdisk, bsdlabel and newfs from the fixit image on the install CD or
use sysinstall to run them for you.  (I suggest that any serious
System Manager become familiar with fdisk, bsdlabel and newfs, even
if you usually let sysinstall handle them for you)  Then you would
use restore to pull the dumps back in.

If your system is super critical as Doug Hardie posted about his,
then you may want to use some combination of rsync-ing to a close
and making dumps and consider storing some of these off-site.

jerry

 
 Any advice appreciated.
 ___
 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: raid or not raid

2007-05-24 Thread [EMAIL PROTECTED]

On 24/05/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote:



 please elaborate. do you mean that the raided disks will have another
 id/name rather than 'ad'?

Not knowing what hardware you have, I would still hazard
that a RAID device will not show up as /dev/adN.
I would guess that the RAID controllers that use cam
might have their devices called by the /dev/daN convention,
but I don't know that.


One of those days here, sorry.

The last RAID controller I used under FreeBSD
was a compaq 2i which showed up as /dev/ida0
and (IIRC) the RAID was /dev/idad0 (so idad0s1a,
idad0s1b, and so on).  The disks were all SCSI,
but since none of them were plugged into either
of the (more normal) SCSI controllers there were
no /dev/daN at all.

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


Re: raid or not raid

2007-05-24 Thread John Nielsen
On Thursday 24 May 2007 06:30:06 am kalin mintchev wrote:
 so nobody on this list knows anything about raid?
 wrong list?

  hi all..
 
  i have a box in a remote hosting facility that claims that the machine
  has two discs raided in it but df and fstab show only one disc with a
  bunch of slices.
  under devices there is another name - ad6 - but it's not mounted
  anywhere. the one i see both in df and the fstab is ad4 with one big
  slice and different partitions
 
  they insist there are 2 raided discs in tha machine. the os is 5.4 and i
  think at that point the raid drivers were still considered
  'experimental'.
 
  it makes sense to me that if i don't see a second drive in the fstab
  there isn;t any mounting which means that there is no raid going on...
 
  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long gone...

My guess would be that it's not actually doing RAID. Real hardware RAID 
controllers either require their own drivers (twe, for instance shows disks 
as twed0, etc) or present disks as SCSI devices (e.g. da0). ATA pseudo-raid 
hardware supported by FreeBSD's ata(4) driver shows both the raw disks (ad4, 
ad6, etc) AND an array device like ar0.

If RAID was set up in the BIOS then FreeBSD is probably ignoring it, perhaps 
because ata(4) doesn't grok the metadata format used by the RAID card.

If I were you I would aim to migrate to gmirror RSN.

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


Re: Out of memory during request

2007-05-24 Thread Bill Moran
In response to Janos Dohanics [EMAIL PROTECTED]:

 
 I'm using imapsync to transfer maildirs to a new server. One of the
 mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
 imapsync quits with this message:
 
 END
 while processing LITERAL
 Read: * 5330 FETCH (UID 5337 BODY[] )
 12835 OK Fetch completed.
 
 Out of memory during request for 80 bytes, total sbrk() is 536813568
 bytes!
 
 I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
 with 1 GB RAM.
 
 I'm wondering if I could adjust some resource settings to let the
 imapsync job finish?

Check the output from ulimit -a:
...
data seg size   (kbytes, -d) 524288
...

I'm pretty sure that limits the maximum amount of RAM a single process
can allocate, and it seems to match up with your error.  (That's the
default value)

ulimit -d 10 should fix it.

Odd program that allocates all that memory ...

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


Re: Backup advice

2007-05-24 Thread Jerry McAllister
On Thu, May 24, 2007 at 03:10:43AM -0400, Jason Lixfeld wrote:

 
 On 24-May-07, at 12:33 AM, Doug Hardie wrote:
 
 
 On May 23, 2007, at 19:03, Jason Lixfeld wrote:
 
 
 On 23-May-07, at 9:23 PM, Doug Hardie wrote:
 
 The criteria for selecting a backup approach is not the backup  
 methodology but the restore methodology.
 
 Excellent point.
 
 Perhaps I'm asking the wrong question, so let me try it this way  
 instead:
 
 software goes.
 
 What kind of data are you backing up?  If you are backing up the  
 system and your data then you have to be very careful about links.   
 Some backup solutions will copy the files as separate files.  When  
 you restore the link is gone.  An update to one of the linked files  
 will no longer be seen by the other names.  The OS uses a lot of  
 links.  If all you are backing up is data, its probably not an  
 issue.  

Yes, I neglected to mention the issue of veracity of the backups.
dump/restore is the only one that completely handles the hard links
the way you want.   It may also be the only one that handles ACLs
properly if you use those.   I haven't examined that issue.

 
 Dump seems to be the best at doing what I'm looking to do.  Better  
 than tar or rsync.  I think dd would beat out dump, but dd is far  
 less of a backup tool than dump is, so I think dump is still the  
 winner.  The caveat of a full dump taking the most time and resources  
 can be reasonably mitigated by doing a full dump every X intervals  
 and incremental in between.  It seems to be a fair compromise seeing  
 as how cheap hard drive space is these days.

Note that dd is not really a backup utility.  It is a data copy utility.
If you have a catastrophic failure on a disk and need to replace it,
there is every likelihood that the new drive will NOT be exactly 
like the old one.   Doing a disk build with fdisk, bsdlabel and newfs
and restoring from dumps would get you exactly what you want.  But,
using dd would not.  You would have an exact copy of the old boot
sectors, MBR, partition tables which would not be correct for the
new drive (although they might work, sort of).

 
 2 x system space would be enough for a full dump plus plenty of  
 increments, I'd say.  No?  Is there a rule of thumb?  3x?  4x?

Depends a lot on how much your data changes.   In your case, that
would include log files, since you intend to back up the whole 
system.Other than log files, the system itself will not change
a lot.   But, I have no idea of what your data does.   I would
feel comfortable with 2X for my sort of stuff and be able to
do a full, plus maybe half a dozen incrementals or so.  But even 4X
might not cover it for some volatile systems.

 As far as restoring goes, let's assume my machine blew up one full  
 backup and 15 increments ago and I want to restore the entire system  
 in it's entirety from my backup.  How is that done?  Point restore to  
 the last incremental and it figures it out for itself, or is it a  
 manual process where I have to figure out what backups consist of the  
 complete system?

No, you first restore the full dump and continue through the 
incrementals in order of increasing level.   If you made more
than one incremental at a specific level, then only restore from
the last one made.

 
 One backup disk is not all that great a safety approach.  You will  
 never know if that drive has failed till you try and use it.  Then  
 its too late.  Failures do not require that the drive hardware has  
 failed.  Any interruption in the copy can cause an issue that may  
 not be detected during the backup.  Sectors generally don't just go  
 bad sitting on the shelf, but it does happen.  That was a  
 significant problem with tapes.  Generally 25% of the tapes I used  
 to get back from off-site storage after a month were no longer  
 readable.
 
 There has to be some way for the OS to know if a drive is bad, or to  
 verify the state of the data that was just copied from one location  
 to another.  Is there no method of doing error correction?  My laptop  
 backup programs I've been using for years shows me information at the  
 end of the run:  Files copied, Speed, Time, Errors, etc.

The OS does see read/write errors on a disk and reports them.

dump will tell you if it thinks there was a media error, but
that doesn't tell you much - and probably doesn't really on
your laptop.  It is probably a false sense of security.

There used to be a verify option on dump, or maybe it was in some
other proprietary version of UNIX I worked on.   But it made dumps
take so long that we quickly gave up using it.   It required reading
back the media and comparing it to the original.   Then the verify
often failed because a file was changed or deleted between the
time it was written and the time it was verified.  So, the verify
was not useful.   
 
 If a UNIX backup process is as unreliable as you're making it out to  
 be, then I could buy 10 drives and still potentially have each one  
 

Re: Backup advice

2007-05-24 Thread Jerry McAllister
On Thu, May 24, 2007 at 03:20:28AM -0400, Jason Lixfeld wrote:

 
 On 24-May-07, at 3:16 AM, Olivier Nicole wrote:
 
 2 x system space would be enough for a full dump plus plenty of
 increments, I'd say.  No?  Is there a rule of thumb?  3x?  4x?
 
 That depends how much your file system change. If every ficle change
 befor the incremental run, dump 1 will be equal to dump 2, and 2x will
 be enough for just dump0 and dump 1.
 
 There is no rule.
 
 How would one go about gauging their system for the number of file  
 system changes to determine a suitable amount of backup space?

To some extent, you must know how you use the system.
After that, it is just a matter of experience with that system.
After you have done this dump cycle a few times you will begin
to see a pattern.

jerry
 
 Olivier
 
 ___
 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: Out of memory during request

2007-05-24 Thread Per olof Ljungmark

Janos Dohanics wrote:

I'm using imapsync to transfer maildirs to a new server. One of the
mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
imapsync quits with this message:

END
while processing LITERAL
Read: * 5330 FETCH (UID 5337 BODY[] )
12835 OK Fetch completed.

Out of memory during request for 80 bytes, total sbrk() is 536813568
bytes!

I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
with 1 GB RAM.

I'm wondering if I could adjust some resource settings to let the
imapsync job finish?


Search for my name and imapsync and you'll have the answer, had the same 
problem. You probably need to increase

kern.maxdsiz=

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


Re: Backup advice

2007-05-24 Thread Roland Smith
On Wed, May 23, 2007 at 07:27:05PM -0400, Jason Lixfeld wrote:
  So I feel a need to start backing up my servers.  To that end, I've decided 
  that it's easier for me to grab an external USB drive instead of a tape.  It 

Buy at least two, and keep one off-site.

  would seem dump/restore are the tools of choice.  My backup strategy is 
  pretty much I don't want to be screwed if my RAID goes away.  That said I 
  have a few questions along those lines:
 
  - Most articles I've read suggest a full backup, followed by incremental 
  backups.  Is there any real reason to adopt that format for a backup 
  strategy like mine, or is it reasonable to just do a dump 0 nightly?  I 
  think the only reason to do just one full backup per 'cycle' would be to 
  preserve system resources, as I'm sure it's fairly taxing on the system 
  during dump 0 times.

Depending on the size of your data, a level 0 dump could take a couple
of hours. Unless you have a terabyte raid array, in which case a single
USB disk probably won't cut it. :)

On the other hand, if your dataset changes rapidly you might not save
much with incremental dumps.

You can save time by setting the nodump flag on directories that contain
files that you don't really nead or can easily replace, such as
/usr/obj, /usr/ports/distfiles, /tmp et cetera.

  - Can dump incrementally update an existing dump, or is the idea that a dump 
  is a closed file and nothing except restore should ever touch it?

You cannot update a dump file, AFAIK.

  - How much does running a backup through gzip actually save?  Is taxing the 
  system to compress the dump and the extra time it takes actually worth it, 
  assuming I have enough space on my backup drive to support a dump 0 or two?

It depends. On a normal filesystem you save about 50% with gzip. But if you have
lots of (already compressed) audio and picture data there are almost no savings.
Compressing with gzip shouldn't tax the system too much, unless it's very
old. Using bzip2 usually isn't worth it. It takes much longer and maxes
out the CPU on my 2,4 GHz athlon64.

Do not forget the -L flag if you're dumping a live filesystem!

  - Other folks dumping to a hard drive at night?  Care to share any of your 
  experiences/rationale?

My desktop machine's file systems are backed up every week to a USB
drive, using gzipped dumps. Every month I start with a new level 0
dump. When I run out of space I delete the oldest set of dumps.

When I nuked my /usr parition by accident I was very happy to be able to
restore things with the tools in /rescue, without first having to
rebuild a lot of ports.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpOzVOMwrG8f.pgp
Description: PGP signature


Re: raid or not raid

2007-05-24 Thread Jerry McAllister
On Thu, May 24, 2007 at 06:07:58AM -0500, [EMAIL PROTECTED] wrote:

 On 24/05/07, kalin mintchev [EMAIL PROTECTED] wrote:
 
 so nobody on this list knows anything about raid?
 wrong list?
 
  hi all..
 
  i have a box in a remote hosting facility that claims that the machine 
 has
  two discs raided in it but df and fstab show only one disc with a bunch 
 of
  slices.
  under devices there is another name - ad6 - but it's not mounted 
 anywhere.
  the one i see both in df and the fstab is ad4 with one big slice and
  different partitions
 
  they insist there are 2 raided discs in tha machine. the os is 5.4 and i
  think at that point the raid drivers were still considered 
 'experimental'.
 
  it makes sense to me that if i don't see a second drive in the fstab 
 there
  isn;t any mounting which means that there is no raid going on...
 
  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long gone...
 
  thanks.
 
 
 Lots of people here know plenty about RAID,
 but you don't provide very much information.
 
 If dmesg itself returns none of the startup info,
 you can look in /var/log/dmesg.[today|yesterday].
 
 /usr/sbin/pciconf can tell you what controller(s)
 may be attached.
 
 A proper RAID will show up as a single device,
 just like any hard drive (but different).
 
 It does seem odd to me that a (supposed) RAID
 would show up as /dev/ad4.

A hardware raid will look like any other drive to the system.
If it is SATA raid, it should be adN
It is it SAS raid, it should be daN.

Some systems allow you to address the drives as either individual
drives or as the raid - maybe until you have configured it or
something.   Anyway, on a Dell 2950 I could see both designations
but figured out which was the raid and used it and all was fine.

jerry

 
 Possibilities:
 Your RAID really is on /dev/ad4 and /dev/ad6 is
 something unexplained.
 Your RAID controller is unsupported in 5.x and
 not Doing The Right Thing but somehow still (kind
 of) working as a normal [S]ATA controller.
 Your RAID controller is unsupported in 5.x and
 your hosting company realised this and wired
 the shebang up as a normal [S]ATA controller
 because they couldn't get FreeBSD to install
 otherwise.
 There is a RAID controller and there are two disks
 connected to it, but the controller was not set up
 correctly.
 There is a RAID controller and there are two disks
 connected to some other controller which might lead
 to some interesting phone calls.
 Your remote hosting company put a RAID with two
 disks in some random machine and someone else
 is complaining on some other list about the inverse
 of your problem.
 
 -- 
 --
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: freebsd-questions Digest, Vol 179, Issue 12

2007-05-24 Thread Ernest Sales
On Thu, 24 May 2007 10:10:57 -0500, Derek Ragona wrote:

 At 07:26 AM 5/24/2007, Ernest Sales wrote:
 To celebrate te Xorg upgrade I got rid of all ports
 installed in my system,
 then did a fresh install. No problems building; well, I
 installed first
 gnome-lite expecting it would pull the complete xorg
 meta-port and finally
 had to install this to get all the stuff, but suppose this
 is harmless.
 
 Now, the sad history: I can run X apps with the nv driver, but the
 nvidia-driver fails. Typescript [...comments...]:
 
 [...using the nv driver...]
 
 # X -config xorg.conf.new
 X Window System Version 7.2.0
 Release Date: 22 January 2007
 X Protocol Version 11, Revision 0, Release 7.2
 Build Operating System: FreeBSD 6.2-STABLE i386
 Current Operating System: FreeBSD asinusaureus 6.2-STABLE
 FreeBSD 6.2-STABLE
 #0: Thu May 24 11:20:28 CEST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386
 Build Date: 21 May 2007
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented,
 (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:56:19 2007
 (++) Using config file: /root/xorg.conf.new
 (EE) Failed to initialize GLX extension (Compatible NVIDIA X
 driver not
 found)
 
 [...works fine; same if I launch the desktop...]
 
 [...now as configured with nvidia-xconfig...]
 
 # X -config /etc/X11/xorg.conf
 X Window System Version 7.2.0
 Release Date: 22 January 2007
 X Protocol Version 11, Revision 0, Release 7.2
 Build Operating System: FreeBSD 6.2-STABLE i386
 Current Operating System: FreeBSD asinusaureus 6.2-STABLE
 FreeBSD 6.2-STABLE
 #0: Thu May 24 11:20:28 CEST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZORN i386
 Build Date: 21 May 2007
  Before reporting problems, check http://wiki.x.org
  to make sure that you have the latest version.
 Module Loader present
 Markers: (--) probed, (**) from config file, (==) default setting,
  (++) from command line, (!!) notice, (II) informational,
  (WW) warning, (EE) error, (NI) not implemented,
 (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Thu May 24 11:57:34 2007
 (++) Using config file: /etc/X11/xorg.conf
 
 [...shows the nvidia splash screen and then aborts...]
 
 Fatal server error:
 Caught signal 11.  Server aborting
 
 Abort (core dumped)
 # tail /var/log/messages
 [...]
 May 24 11:57:37 asinusaureus kernel: pid 1840 (Xorg), uid 0:
 exited on
 signal 6 (core dumped)
 
 No relevant info in xorg logs.
 
 After much looking, I am still clueless. Any hint?

 Make sure you are using the correct driver for your specific graphics
 chip.  Older chips need a legacy driver you have to install yourself.

From /var/log/dmesg.today:
[...]
nvidia0: Quadro FX Go700 mem 0xfc00-0xfcff,0xd000-0xdfff
irq 11 at device 0.0 on pci1
[...]

From NVIDIA-FreeBSD-x86-1.0-9746/doc/README
[...]
Appendix A. Supported NVIDIA Graphics Chips
[...]
Quadro FX Go700   0x031C
[...]

So I am afraid this is not the guilty.

Thanks anyway.

Ernest

 There is information on the nvidia website.

  -Derek



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


Re: Out of memory during request

2007-05-24 Thread Tom Marchand
I've experienced this same type of problem while using grep to search large 
binary files.

 -- Original message --
From: Bill Moran [EMAIL PROTECTED]
 In response to Janos Dohanics [EMAIL PROTECTED]:
 
  
  I'm using imapsync to transfer maildirs to a new server. One of the
  mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
  imapsync quits with this message:
  
  END
  while processing LITERAL
  Read: * 5330 FETCH (UID 5337 BODY[] )
  12835 OK Fetch completed.
  
  Out of memory during request for 80 bytes, total sbrk() is 536813568
  bytes!
  
  I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
  with 1 GB RAM.
  
  I'm wondering if I could adjust some resource settings to let the
  imapsync job finish?
 
 Check the output from ulimit -a:
 ...
 data seg size   (kbytes, -d) 524288
 ...
 
 I'm pretty sure that limits the maximum amount of RAM a single process
 can allocate, and it seems to match up with your error.  (That's the
 default value)
 
 ulimit -d 10 should fix it.
 
 Odd program that allocates all that memory ...
 
 -- 
 Bill Moran
 http://www.potentialtech.com
 ___
 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]


gvinum and RAID

2007-05-24 Thread tradigan
Is it possible to use gvinum to create a striped array that contains the
root partition?  I want to be able to combine all 4 of the hard disks into
one logical striped array and install the boot partition on it.  I have
found documentation on how to mirror the root drive, but none on using a
striped array for the root drive.

Is this possible?

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


laser printer - which one?

2007-05-24 Thread Gabor Kovesdan

Hello,

might be a bit off here, but I'm sure some of you have experiences with 
laser printers. I would like to buy a (relatively) cheap laser printer 
with the following requirements:


- quality (I mean here, that I want to use it for a long time, thus it 
should be of good quality and be robust)

- has such a toner, *that can be refilled cheaply*
- prints in good quality, speed and noise is not that important
- should work under FreeBSD / Linux, not just under Windows

As for the price, I'm thinking of 100 000 HUF (about 400 EUR) as *very* 
maximum. The price is important, but the first point is more important 
at all...I color laser printer would be cool if this amount of money is 
sufficient for this, but a BW one is ok, too.


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


Re: gvinum and RAID

2007-05-24 Thread John Nielsen
On Thursday 24 May 2007 12:43:36 pm [EMAIL PROTECTED] wrote:
 Is it possible to use gvinum to create a striped array that contains the
 root partition?  I want to be able to combine all 4 of the hard disks into
 one logical striped array and install the boot partition on it.  I have
 found documentation on how to mirror the root drive, but none on using a
 striped array for the root drive.

 Is this possible?

Not without hardware support, no.

I would create a small (1-2 GB) root partition one two or more of the drives 
and mirror it with gmirror (or not.. you must not care about fault tolerance 
if you're setting up a giant stripe). You could maybe use the same 1-2GB on 
the other drives for swap or tmp space (optionally mirrored as well). Then 
use the rest of the space on all the drives for your stripe array. I'd 
recommend gstripe over gvinum for ease-of-use, but it's up to you.

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


Re: gvinum and RAID

2007-05-24 Thread tradigan
Is it possible to use gmirror for a small partition on two disks and then
use gstripe on the remaining disk space of those drives to create a larger
stripe?

I didn't think that was possible.  I could be wrong however :).

If that will work, that would be my best option right there.

 On Thursday 24 May 2007 12:43:36 pm [EMAIL PROTECTED] wrote:
 Is it possible to use gvinum to create a striped array that contains the
 root partition?  I want to be able to combine all 4 of the hard disks
 into
 one logical striped array and install the boot partition on it.  I have
 found documentation on how to mirror the root drive, but none on using a
 striped array for the root drive.

 Is this possible?

 Not without hardware support, no.

 I would create a small (1-2 GB) root partition one two or more of the
 drives
 and mirror it with gmirror (or not.. you must not care about fault
 tolerance
 if you're setting up a giant stripe). You could maybe use the same 1-2GB
 on
 the other drives for swap or tmp space (optionally mirrored as well). Then
 use the rest of the space on all the drives for your stripe array. I'd
 recommend gstripe over gvinum for ease-of-use, but it's up to you.

 JN



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


Re: gvinum and RAID

2007-05-24 Thread John Nielsen
On Thursday 24 May 2007 02:08:41 pm [EMAIL PROTECTED] wrote:
  On Thursday 24 May 2007 12:43:36 pm [EMAIL PROTECTED] wrote:
  Is it possible to use gvinum to create a striped array that contains the
  root partition?  I want to be able to combine all 4 of the hard disks
  into
  one logical striped array and install the boot partition on it.  I have
  found documentation on how to mirror the root drive, but none on using a
  striped array for the root drive.
 
  Is this possible?
 
  Not without hardware support, no.
 
  I would create a small (1-2 GB) root partition one two or more of the
  drives
  and mirror it with gmirror (or not.. you must not care about fault
  tolerance
  if you're setting up a giant stripe). You could maybe use the same 1-2GB
  on
  the other drives for swap or tmp space (optionally mirrored as well).
  Then use the rest of the space on all the drives for your stripe array.
  I'd recommend gstripe over gvinum for ease-of-use, but it's up to you.
 
 Is it possible to use gmirror for a small partition on two disks and then
 use gstripe on the remaining disk space of those drives to create a larger
 stripe?

 I didn't think that was possible.  I could be wrong however :).

 If that will work, that would be my best option right there.

Yes, that's exactly what I'm recommending.

On each drive:
fdisk -BI
bsdlabel -wB
bsdlabel -e
  (set up partitions here, use a for root and d for stripe)
Then:
gmirror label somename firstdisks1a seconddisks1a ...
gstripe lable someothername firstdisks1d seconddisks1d ...

etc. There are obviously a few blanks in the above but the manpages for each 
command and online documentation will help you fill them in.

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


Re: laser printer - which one?

2007-05-24 Thread Rob

Gabor Kovesdan wrote:
laser printers. I would like to buy a (relatively) cheap laser printer 
with the following requirements:


I have an HP LaserJet 1200 at home that I've been *very* pleased with.  It is out 
of production, but used ones are inexpensive ( $100 USD) and the 1300 is 
nearly identical.  They're widely available on ebay.

It has a real CPU (ie, not windoze controlled) with 8MB memory, native 
postscript, PCL 5, and PCL 6 at 15 pages/min and a 1/2 ream paper tray.  Only possible 
drawback is it's USB.  New toner carts' are $50 - $70 and yield 4000 - 6500 pages for me.  
The wife  I have run over 30K pages through it in 4 years, no problems.

Beware of the newer HP personal sized lasers -- many are windoze only.

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


Re: raid or not raid

2007-05-24 Thread doug

On Thu, 24 May 2007, kalin mintchev wrote:




Also what type of RAID?  If it's Hardware RAID _and_ it's using a 3ware
card,


doubt it. i don't see anything that ponts to that in the pciconf output..


you can install tw_cli from /usr/ports/sysutils.  It's a nice
little utility and will show you the status of your units/ports/drives
and how many drives you have on that controller.



I have a similiar setup and some RAID controller will appear as ad4. I have 
RAID5 on a Dell PE2400. There is no doubt it's RAID since I put the disks in and 
formatted the array. So I am pretty sure :)


This is a fairly old machine and FreeBSD does not support the controller in that 
to do any kind of repairs/changes to the array must be done via the BIOS.


__
The dmesg:

atapci0: GENERIC ATA controller port 
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device

31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1: GENERIC ATA controller port 
0xbc60-0xbc6f,0xbc78-0xbc7b,0xbc80-0xbc87,0xbc90-0xbc93,0xbc

98-0xbc9f irq 20 at device 31.2 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
:
ad4: 76293MB WDC WD800JD-75MSA2/10.01E03 [155009/16/63] at ata2-master UDMA33
Mounting root from ufs:/dev/ad4s3a

___
df
Filesystem  1K-blocks UsedAvail Capacity  Mounted on
/dev/ad4s3a50763058900   40812013%/
devfs   110   100%/dev
/dev/ad4s3g  61419970 44879206 1162716879%/home
/dev/ad4s3e507630   70   466950 0%/tmp
/dev/ad4s3f   6090094  1807368  379552032%/usr
/dev/ad4s3d   3045006  1431302  137010451%/var

That said it works perfectly (if invisibly). I have had single disk failures 
over the years and happily raid'ed on until I could swap out the disk and 
rebuild the array. Unfortunately the only thing hot about the swap was my blood 
pressure.


So the answer is you can not tell that its not RAID. If you have a remote 
console and can see the BIOS messages on a reboot - that should clear it up


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


Re: laser printer - which one?

2007-05-24 Thread Roland Smith
On Thu, May 24, 2007 at 07:55:40PM +0200, Gabor Kovesdan wrote:
  Hello,
 
  might be a bit off here, but I'm sure some of you have experiences with 
  laser printers. I would like to buy a (relatively) cheap laser printer with 
  the following requirements:
 
  - quality (I mean here, that I want to use it for a long time, thus it 
  should be of good quality and be robust)

I've had good experiences with HP laserjets. 

  - has such a toner, *that can be refilled cheaply*
  - prints in good quality, speed and noise is not that important

Most laserprinters are 300 dpi these days. Good enough.

  - should work under FreeBSD / Linux, not just under Windows

Get a printer that understands postscript. That works everwhere.
 
  As for the price, I'm thinking of 100 000 HUF (about 400 EUR) as *very* 
  maximum. The price is important, but the first point is more important at 
  all...I color laser printer would be cool if this amount of money is 
  sufficient for this, but a BW one is ok, too.

You can get a _new_ Color LaserJet 2605 for around € 300. 

I've seen used LaserJet 6L (B/W) printers for as little €25.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpwW8lwAjtgY.pgp
Description: PGP signature


How does FreeBSD handle tcp checksum offloading

2007-05-24 Thread Andrew Falanga

Hi,

I'm curious as to how FreeBSD handles checksum offloading for TCP
packets.  Is this on by default?  It seems that it's only relevant for
specific drivers rather than something that's just assumed.  How can I
determine if this is supported for the hardware I'm running?  Is it
common for tcp checksum offloading to be in the fxp driver?  Can one
turn it off (though, it honestly sounds like no one would wish to do
so)?

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


Problem with geli after changing password

2007-05-24 Thread Erik Norgaard

Hi:

I changed the password for my encrypted disk partition with the command

# geli setkey /dev/ad0s2d

On boot I am requested to enter the password but it doesn't work. After 
failed attempts it falls back to single user mode. From there, I /CAN/ 
attach the partition and mount it.


What has gone wrong - or better, how do I correct this?

There is nothing in the password that seems to indicate that different 
keyboard layout when the password is initially requested, is the cause.


Thanks, Erik

--
Ph: +34.666334818  web: http://www.locolomo.org


smime.p7s
Description: S/MIME Cryptographic Signature


Re: How does FreeBSD handle tcp checksum offloading

2007-05-24 Thread Chuck Swiger

On May 24, 2007, at 12:10 PM, Andrew Falanga wrote:

I'm curious as to how FreeBSD handles checksum offloading for TCP
packets.  Is this on by default?


If a particular NIC supports checksum offloading, it is typically  
enabled by default.


It seems that it's only relevant for specific drivers rather than  
something that's just assumed.


That's correct.  Most of the gigabit NICs support it, but few of the  
older NICs do.


How can I determine if this is supported for the hardware I'm  
running?  Is it

common for tcp checksum offloading to be in the fxp driver?  Can one
turn it off (though, it honestly sounds like no one would wish to do
so)?


You can use ifconfig to see whether the RXCSUM  TXCSUM options are  
listed, and you can use ifconfig to enable or disable it:


 rxcsum, txcsum
 If the driver supports user-configurable checksum  
offloading,
 enable receive (or transmit) checksum offloading on the  
inter-
 face.  Some drivers may not be able to enable these  
flags inde-
 pendently of each other, so setting one may also set  
the other.
 The driver will offload as much checksum work as it can  
reliably
 support, the exact level of offloading varies between  
drivers.


 -rxcsum, -txcsum
 If the driver supports user-configurable checksum  
offloading,
 disable receive (or transmit) checksum offloading on  
the inter-
 face.  These settings may not always be independent of  
each

 other.

I don't believe that the fxp NICs support checksum offloading.

--
-Chuck

___
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 FreeBSD handle tcp checksum offloading

2007-05-24 Thread Erik Trulsson
On Thu, May 24, 2007 at 01:10:55PM -0600, Andrew Falanga wrote:
 Hi,
 
 I'm curious as to how FreeBSD handles checksum offloading for TCP
 packets.  Is this on by default?  It seems that it's only relevant for
 specific drivers rather than something that's just assumed.  How can I
 determine if this is supported for the hardware I'm running?  Is it
 common for tcp checksum offloading to be in the fxp driver?  Can one
 turn it off (though, it honestly sounds like no one would wish to do
 so)?

Checksum offloading is usually enabled by default for hardware that supports
it (assuming that the driver for that hardware also supports it of course.)

To see if a particular interface uses checksum offloading you can look at
the output of 'ifconfig -m'.
The options line in the output refers to those features that are enabled,
while the capabilities line refers to those features that are available.
(Checksum offloading for receive and transmit show up as RXCSUM and TXCSUM
respectively.)
Ifconfig can also be used to enable/disable the offloading - see the
ifconfig(8) manpage for details and syntax.

It can sometimes be desirable to turn of checksum offloading if one suspects
that the hardware has some bugs in it that can cause the checksum to be
wrong.  (For those cases were the hardware has known bugs in this area, the
driver normally disable checksum offloading by default.)


Most hardware supported by the fxp(4) driver do not have support for
checksum offloading, but some do.
(The fairly commonly used  82559 chip does not support checksum while the
less common 82550 chip does, for example.)





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


Re: nvidia-driver segmentation fault

2007-05-24 Thread Howard Goldstein

Ernest Sales wrote:

(EE) Failed to initialize GLX extension (Compatible NVIDIA X driver not
found)


Are you loading the glx module in xorg.conf?

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


difficulty using pkg_add on 6.0 system

2007-05-24 Thread Lewis Kapell

Greetings,

Sorry if this has been asked before, I did search the archives but 
couldn't find the information I need.


I have a 6.0 system that was installed with the minimum of optional 
packages.  I want to install cvsup so that I can update my ports tree. 
Trying to use pkg_add to install cvsup, I get the following message:


Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/wget.tbz: 
File unavailable


Looking at ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ I see that 
there is no longer a directory for 6.0-release.


What do I need to do to get an updated ports tree?  Should I set 
PACKAGESITE so that pkg_add can work?  And if so, what value should I 
give it?  Or do I need to go in another direction?


Thanks in advance.

--

Thank you,

Lewis Kapell
Computer Operations
Seton Home Study School
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: difficulty using pkg_add on 6.0 system

2007-05-24 Thread RW
On Thu, 24 May 2007 15:34:25 -0400
Lewis Kapell [EMAIL PROTECTED] wrote:

 Greetings,
 
 Sorry if this has been asked before, I did search the archives but 
 couldn't find the information I need.
 
 I have a 6.0 system that was installed with the minimum of optional 
 packages.  I want to install cvsup so that I can update my ports
 tree. Trying to use pkg_add to install cvsup, I get the following
 message: ...

Note that there is a utility called csup in the base system, which is a
drop-in replacement for the no-gui version of cvsup. It's a rewrite in
C to avoid cvsup's modula2 compiler dependency.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: laser printer - which one?

2007-05-24 Thread David Kelly
On Thu, May 24, 2007 at 07:55:40PM +0200, Gabor Kovesdan wrote:
 Hello,
 
 might be a bit off here, but I'm sure some of you have experiences with 
 laser printers. I would like to buy a (relatively) cheap laser printer 
 with the following requirements:
 
 - quality (I mean here, that I want to use it for a long time, thus it 
 should be of good quality and be robust)
 - has such a toner, *that can be refilled cheaply*
 - prints in good quality, speed and noise is not that important
 - should work under FreeBSD / Linux, not just under Windows

About 14 months ago and 10,000 pages I bought a Brother HL-5250DN at
Staples for $250. That seems to still be the going price. Have no
regrets. Prints both sides, ethernet and USB interfaces, rated 30 ppm
and prints faster than any printer we have at work. Postscript-3 clone
and PCL-6.

Works perfectly from MacOS and FreeBSD, altho I almost never use it from
FreeBSD and can't really say I've given it a FreeBSD workout.

As an early adopter it took a while for aftermarket refills to hit the
market but the rated 7,000 page refill is under $20. Only difference I
have noticed is the smell, and its only different, not better, not
worse.

Am a little concerned about the cost of replacing the drum, rated for
25,000 pages. Going rates for Bother toner + Brother drum is almost the
same as a new HL-5250DN printer. With any luck the resurfaced drum
companies will be ramped up by the time I need one.

No point in running an envelope thru this printer, it wrinkles.

Shortly after making my purchase some were running a special including
an optional paper tray which would hold a full ream. The special bundled
all that at the same $250 I paid. Have not seen that extra tray offered
since.

 As for the price, I'm thinking of 100 000 HUF (about 400 EUR) as
 *very* maximum. The price is important, but the first point is more
 important at all...I color laser printer would be cool if this amount
 of money is sufficient for this, but a BW one is ok, too.

If you are concerned about refill prices then I would expect color would
be out of the question as operating costs are higher even when printing
BW.

-- 
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.
___
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 FreeBSD handle tcp checksum offloading

2007-05-24 Thread Andrew Falanga

On 5/24/07, Erik Trulsson [EMAIL PROTECTED] wrote:


Checksum offloading is usually enabled by default for hardware that supports
it (assuming that the driver for that hardware also supports it of course.)

To see if a particular interface uses checksum offloading you can look at
the output of 'ifconfig -m'.
The options line in the output refers to those features that are enabled,
while the capabilities line refers to those features that are available.
(Checksum offloading for receive and transmit show up as RXCSUM and TXCSUM
respectively.)
Ifconfig can also be used to enable/disable the offloading - see the
ifconfig(8) manpage for details and syntax.

It can sometimes be desirable to turn of checksum offloading if one suspects
that the hardware has some bugs in it that can cause the checksum to be
wrong.  (For those cases were the hardware has known bugs in this area, the
driver normally disable checksum offloading by default.)


Most hardware supported by the fxp(4) driver do not have support for
checksum offloading, but some do.
(The fairly commonly used  82559 chip does not support checksum while the
less common 82550 chip does, for example.)





Thanks for the info.  This is cool.  My Intel NIC is the 82550.  That
explains a few things.  Thanks again for the info on how these are
used FreeBSD.

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


Re: difficulty using pkg_add on 6.0 system

2007-05-24 Thread Lewis Kapell
It (csup) is only included in the base system starting with 6.2.  It's 
not present on my system.


Thank you,

Lewis Kapell
Computer Operations
Seton Home Study School


RW wrote:



Note that there is a utility called csup in the base system, which is a
drop-in replacement for the no-gui version of cvsup. It's a rewrite in
C to avoid cvsup's modula2 compiler dependency.
___
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]


Firefox-2.0.0.3 will not compile/cannot add_pkg

2007-05-24 Thread lysergius2001

Can anyone help with this?

When I try to compile Firefox in FBSD 6.2 I get this...

checking for valid optimization flags... yes
checking for __cxa_demangle... yes
checking for gcc -pipe support... yes
checking whether compiler supports -Wno-long-long... yes
checking whether C compiler supports -fprofile-generate... yes
checking for correct temporary object destruction order... yes
checking for correct overload resolution with const and templates... no
checking for libIDL-2.0 = 0.8.0... yes
checking LIBIDL_CFLAGS...
-I/usr/local/include/libIDL-2.0-I/usr/local/include/glib-
2.0 -I/usr/local/lib/glib-2.0/include
checking LIBIDL_LIBS... -L/usr/local/lib   -lIDL-2 -lglib-2.0 -liconv
checking for glib-2.0 = 1.3.7... yes
checking GLIB_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-
2.0/include
checking GLIB_LIBS... -L/usr/local/lib   -lglib-2.0 -liconv
checking for cairo = 0.3.0... yes
checking CAIRO_CFLAGS... -I/usr/local/include/cairo
-I/usr/local/include/freetype2 -I/usr/local/include -I/usr/X11R6/include
checking CAIRO_LIBS... -L/usr/local/lib   -lcairo
configure: error: Could not compile basic X program.
===  Script configure failed unexpectedly.
Please run the gnomelogalyzer, available from
http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
[EMAIL PROTECTED], and attach (a)
/usr/ports/www/firefox/work/mozilla/config.log, (b) the output of the
failed
make command, and (c) the gnomelogalyzer output. Also, it might be a good
idea to provide an overview of all packages installed on your system (i.e.
an `ls /var/db/pkg`). Put your attachment up on any website, copy-and-paste
into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the
attachment.
Try to avoid sending any attachments to the mailing list ([EMAIL PROTECTED]
),
because attachments sent to FreeBSD mailing lists are usually discarded by
the mailing list software.
*** Error code 1

Stop in /usr/ports/www/firefox.
*** Error code 1

Similarly trying to pkg_add gives :

pkg_add: can't stat package file 'firefox-2.0.0.3'



--
Lysergius says, Stay light, but trust gravity
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Belkin omiview KVM

2007-05-24 Thread User Iam

Hi

I have a Belkin omniview  KVM

I lost my manual.

Can't find the manual on the website..

I know scroll_lockscrool_lock up/down  will move me around..
Google wasn't helping me Or I missed it somehow..

I need to change the legends on the channels..

TIA

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


web proxies that can restrict the web browsing time

2007-05-24 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
Hello BSD Gurus!
We are running freeBSD 6.2 I was wondering it it is possible to limit
the usage of time user spends web browsing on certain ips. Squid is
not an option (I checked on squid lists). Did anyone come across of
another web proxies that could help us?  We need some to limit the
browsing time to 1 hour a day. I googled and googled but everything
that I found wasn't not very helpful yet. Thank you in advance.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFGVfHA36NTVtUxDtQRAko9AJ98YMLJHy9X3NpOd725mfEz074SIwCfQd0s
RYv2dApEszLa2va3Iu1L7hg=
=krB5
-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: difficulty using pkg_add on 6.0 system

2007-05-24 Thread RW
On Thu, 24 May 2007 16:12:17 -0400
Lewis Kapell [EMAIL PROTECTED] wrote:

 It (csup) is only included in the base system starting with 6.2.
 It's not present on my system.


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


Re: laser printer - which one?

2007-05-24 Thread Peter Giessel
On Thursday, May 24, 2007, at 09:58AM, Gabor Kovesdan [EMAIL PROTECTED] 
wrote:
- quality (I mean here, that I want to use it for a long time, thus it 
should be of good quality and be robust)
- has such a toner, *that can be refilled cheaply*

I've found that the price per page doesn't vary that much between
printers.  Some, but not that much.  Its more a matter of how long
you can go between replacing the toner.

- prints in good quality, speed and noise is not that important
- should work under FreeBSD / Linux, not just under Windows

I've used by Xerox a lot under MacOSX, FreeBSD (using CUPS mostly)
and printed maybe 5 pages from Windows...  It definitely works
with FreeBSD.

As for the price, I'm thinking of 100 000 HUF (about 400 EUR) as *very* 
maximum. The price is important, but the first point is more important 
at all...I color laser printer would be cool if this amount of money is 
sufficient for this, but a BW one is ok, too.

I have a Phaser 6300.  Xerox includes the .PDD file to make CUPS
recognize all its features.  Its priced a bit high for your requirements
but a Phaser 6180 might be something you are interested in.
http://www.office.xerox.com/printers/color-printers/phaser-6180/enus.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


APCUPSD with Belkin Model F6C900-UNV UPS on FreeBSD 6.2?

2007-05-24 Thread L Goodwin
I'm still looking for the right UPS for a server
running FreeBSD 6.2. 

Staples has the Belkin Enterprise Series 900VA UPS
(model F6C900-UNV) on sale for $89.99.

Will apcupsd on FreeBSD 6.2 work with this unit???

FYI, I'm posting to freebsd-questions because I've had
zero replies to my posts about three different UPS
brands/models to the apcupsd-user mailing list.


   
Take
 the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Out of memory during request

2007-05-24 Thread Per olof Ljungmark

Janos Dohanics wrote:

I'm using imapsync to transfer maildirs to a new server. One of the
mailboxes is about 4.7 GB. While into the syncing to about 3 GB,
imapsync quits with this message:

END
while processing LITERAL
Read: * 5330 FETCH (UID 5337 BODY[] )
12835 OK Fetch completed.

Out of memory during request for 80 bytes, total sbrk() is 536813568
bytes!

I'm running imapsync on the target system, which is FreeBSD 6.2-STABLE
with 1 GB RAM.

I'm wondering if I could adjust some resource settings to let the
imapsync job finish?
To unsubscribe, send any mail to [EMAIL PROTECTED]


I forgot to say you probably need more RAM as well, at least I did. We 
are running a nightly imapsync run and the problem did not go away until 
we had 3GB.


Good luck,

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


Re: difficulty using pkg_add on 6.0 system

2007-05-24 Thread Kris Kennaway
On Thu, May 24, 2007 at 03:34:25PM -0400, Lewis Kapell wrote:
 Greetings,
 
 Sorry if this has been asked before, I did search the archives but 
 couldn't find the information I need.
 
 I have a 6.0 system that was installed with the minimum of optional 
 packages.  I want to install cvsup so that I can update my ports tree. 
 Trying to use pkg_add to install cvsup, I get the following message:
 
 Error: FTP Unable to get 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/wget.tbz:
  
 File unavailable
 
 Looking at ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ I see that 
 there is no longer a directory for 6.0-release.
 
 What do I need to do to get an updated ports tree?  Should I set 
 PACKAGESITE so that pkg_add can work?  And if so, what value should I 
 give it?  Or do I need to go in another direction?

Yes, you need to set PACKAGESITE.  Look for a mirror site that still
carries the old 6.0 packages (maybe ftp-archive).

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


2 GNOME questions... .

2007-05-24 Thread Gary Kline
If there is a gnome-questions list for FBSD, I'll redirect threr.
It's just that after years with CTMW (and a seriously great/fast
server), I'm switching to gnome or xfce.  One thing that I've
noticed with zsh  is that when I uparrow to add to or vi-edit a
command, under Gnome, the cursor is at the left-hand-side of the
cmd line.  So if I were to pipe the cmd thru more, for example,
I'v got to reach up, hit ESC and then arrow rightward until I
come to the end of the command.  Is there an easy fix for this?
Using CTWM the cursor is already on the RHS.

Second question: how can I make the digital time on the bar/panel
*larger*?  I'm not blind; just that the typefface is hard to read
until I get close to the tube.

ANybody??

tia,

gary





-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Belkin omiview KVM

2007-05-24 Thread Dan Nelson
In the last episode (May 24), User Iam said:
  Hi
 
  I have a Belkin omniview  KVM
 
  I lost my manual.
 
  Can't find the manual on the website..
 
  I know scroll_lockscrool_lock up/down  will move me around..
  Google wasn't helping me Or I missed it somehow..

I have one of those.  They're deadly in combination with Linux boxes,
which hang if a scroll-lock leaks through and the kernel needs to print
stuff to the console.  The whole system hangs, waiting for you to press
scroll-lock again. 

scroll-lockscroll-lockspace should bring up a menu where you can
edit stuff like the channel labels.

-- 
Dan Nelson
[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: laser printer - which one?

2007-05-24 Thread Warren Block

On Thu, 24 May 2007, Gabor Kovesdan wrote:

might be a bit off here, but I'm sure some of you have experiences with laser 
printers. I would like to buy a (relatively) cheap laser printer with the 
following requirements:


- quality (I mean here, that I want to use it for a long time, thus it should 
be of good quality and be robust)

- has such a toner, *that can be refilled cheaply*
- prints in good quality, speed and noise is not that important
- should work under FreeBSD / Linux, not just under Windows

As for the price, I'm thinking of 100 000 HUF (about 400 EUR) as *very* 
maximum. The price is important, but the first point is more important at 
all...I color laser printer would be cool if this amount of money is 
sufficient for this, but a BW one is ok, too.


My suggestion would be a used HP LaserJet 4050, preferably with a 
JetDirect network interface.  I've used them as network printers for 
FreeBSD with excellent results, they're built well and cheap to run. 
Have not tried toner refilling, though.


You could probably buy a color laser with mostly-empty starter toner 
at this price, but replacing supplies could cost as much or more than 
the printer.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: raid or not raid

2007-05-24 Thread kalin mintchev
 On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote:

 so nobody on this list knows anything about raid?
 wrong list?

  hi all..
 
  i have a box in a remote hosting facility that claims that the machine
 has
  two discs raided in it but df and fstab show only one disc with a
 bunch of
  slices.
  under devices there is another name - ad6 - but it's not mounted
 anywhere.
  the one i see both in df and the fstab is ad4 with one big slice and
  different partitions

 My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6
 device nodes exist as well.

 Do you have the ataraid device in the kernel?

yes. but isn;t that in by default in 5.4 GENERIC?!

  they insist there are 2 raided discs in tha machine. the os is 5.4 and
 i
  think at that point the raid drivers were still considered
  'experimental'.

 Then ask them how it's done.

  it makes sense to me that if i don't see a second drive in the fstab
 there
  isn;t any mounting which means that there is no raid going on...

 If you're seeing an ad device, it's not RAID-ed, AFAIK.

  is there any other way i can make sure if raid is actually on?
  would there will be any logs somewhere?
  the machine has been up for about 2 years and the dmesg is long
 gone...

 It should be in /var/run/dmesg.boot.

thanks. i guess that solves the ad6 mistery:

atapci0: Intel ICH5 UDMA100 controller port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
atapci1: Intel ICH5 SATA150 controller port
0xcc80-0xcc8f,0xcc98-0xcc9b,0xcca0-0xcca7,0xccb0-0xccb3,0xccb8-0xccbf irq
18 at device 31.2 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
.
ad4: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata2-master
SATA150
ad6: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata3-master
SATA150
Mounting root from ufs:/dev/ad4s1a

unless at device 31.2 on pci0 points to some RAID evidence - which i
think it's false - than i read this as the ad6 disk sits there unused.
am i right?!

according to pciconf the atapci0 and atapci1 are differnt conrollers -
EIDE and SATA so they can both be on pci0 as 31.1 and 31.2?! still no RAID
though...

thanks again...


 Roland
 --
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)



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


Re: raid or not raid

2007-05-24 Thread Jerry McAllister
On Thu, May 24, 2007 at 07:11:27PM -0400, kalin mintchev wrote:

  On Thu, May 24, 2007 at 06:30:06AM -0400, kalin mintchev wrote:
 
  so nobody on this list knows anything about raid?
  wrong list?
 
   hi all..
  
   i have a box in a remote hosting facility that claims that the machine
  has
   two discs raided in it but df and fstab show only one disc with a
  bunch of
   slices.
   under devices there is another name - ad6 - but it's not mounted
  anywhere.
   the one i see both in df and the fstab is ad4 with one big slice and
   different partitions
 
  My (VIA Tech V-RAID) raid disk shows up as ar0, although the ad4 and ad6
  device nodes exist as well.
 
  Do you have the ataraid device in the kernel?
 
 yes. but isn;t that in by default in 5.4 GENERIC?!
 
   they insist there are 2 raided discs in tha machine. the os is 5.4 and
  i
   think at that point the raid drivers were still considered
   'experimental'.
 
  Then ask them how it's done.
 
   it makes sense to me that if i don't see a second drive in the fstab
  there
   isn;t any mounting which means that there is no raid going on...
 
  If you're seeing an ad device, it's not RAID-ed, AFAIK.
 
   is there any other way i can make sure if raid is actually on?
   would there will be any logs somewhere?
   the machine has been up for about 2 years and the dmesg is long
  gone...
 
  It should be in /var/run/dmesg.boot.
 
 thanks. i guess that solves the ad6 mistery:
 
 atapci0: Intel ICH5 UDMA100 controller port
 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
 ata0: channel #0 on atapci0
 ata1: channel #1 on atapci0
 atapci1: Intel ICH5 SATA150 controller port
 0xcc80-0xcc8f,0xcc98-0xcc9b,0xcca0-0xcca7,0xccb0-0xccb3,0xccb8-0xccbf irq
 18 at device 31.2 on pci0
 ata2: channel #0 on atapci1
 ata3: channel #1 on atapci1
 .
 ad4: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata2-master
 SATA150
 ad6: 152587MB WDC WD1600JS-75MHB0/03.01C03 [310019/16/63] at ata3-master
 SATA150
 Mounting root from ufs:/dev/ad4s1a
 
 unless at device 31.2 on pci0 points to some RAID evidence - which i
 think it's false - than i read this as the ad6 disk sits there unused.
 am i right?!

That is what this looks like.   It looks like two 150 GB drives
being handled separately.   The raids I have handled have been SCSI
or SAS, but I presume would be handled the same except switching da to ad.
I have always had SCSI and so I have never had to muck with Master/Slave
but it looks like you have the disks plugged in to channels  0  1 of the
second controller.  That doesn't look like it is set up for raid.
Maybe something needs to be done in BIOS.

I remember, as mentioned before, on the most recent systems I did, that 
both the individual drives and the raid device showed up in the DMESG 
output and it took a while to even notice the small single line with the 
raid device mentioned amidst the mass amount of stuff on the individual 
drives - there were 6.  I almost missed it, but once I found it and used 
it, the system treated things just right.I don't know what would
have happened if I had tried to build a system on the individual drive 0
instead of the raid device, since, fortunately I found it and built
on the raid.


jerry

 
 according to pciconf the atapci0 and atapci1 are differnt conrollers -
 EIDE and SATA so they can both be on pci0 as 31.1 and 31.2?! still no RAID
 though...
 
 thanks again...
 
 
  Roland
  --
  R.F.Smith   http://www.xs4all.nl/~rsmith/
  [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
  pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
 
 
 
 ___
 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: 2 problems with shared libraries

2007-05-24 Thread Olivier Nicole
Hi Boris,

 However you may try to install the port I wrote:
 ftp://ftp.ipt.ru/pub/download/linux-qt3.tar.bz2
 
 # cp linux-qt3.tar.bz2 /usr/ports/x11-toolkits
 # cd /usr/ports/x11-toolkits
 # tar xyf linux-qt3.tar.bz2
 # cd linux-qt3
 # make install clean
 
 I've tested the port at tinderbox (build/install/deinstall) but can't
 test at run time -- there may be missed dependencies (though I hope it
 shouldn't happen). Any feedback is appreciated.

It looks like it is working: the software now is doing what it is
supposed to do! Means that the port of the library should be good.

Thanks a lot,

Olivier


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


Is PCI Express x16 compatible with x4?

2007-05-24 Thread Alexander Anderson
I'm thinking of buying a PCI-e x4 RAID controller and I'm wondering if my
motherboard with its PCI-e x16 slots would support it?

The controller card is HighPoint RocketRAID 2320:
http://www.highpoint-tech.com/USA/rr2320.htm

The motherboard is Intel D975XBX2:
http://www.intel.com/products/motherboard/d975xbx2/index.htm

Will these two get along with other?

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


Re: laser printer - which one?

2007-05-24 Thread David Kelly


On May 24, 2007, at 2:00 PM, Roland Smith wrote:


I've had good experiences with HP laserjets.


Me too. But in my opinion HP now makes Good LaserJets, and Cheap  
LaserJets. Take your pick, they don't make exceptional LaserJets and  
sell them cheap.


Have been very happy with performance and operating costs of HP  
4000's, 5000N, and 8100N. Couldn't find one used for what my Brother  
HL-5250DN cost new, so I bought the Brother. Only problem has been  
the HP's would print envelopes better than the Brother.


Have not been terribly happy with HP inkjets and my statement above  
is based on the apparent observation the HP inkjet crew has been  
designing lasers lately.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: raid or not raid

2007-05-24 Thread Norberto Meijome
On Thu, 24 May 2007 19:11:27 -0400 (EDT)
kalin mintchev [EMAIL PROTECTED] wrote:

 unless at device 31.2 on pci0 points to some RAID evidence - which i
 think it's false - than i read this as the ad6 disk sits there unused.
 am i right?!

FWIW, you can use gstat (as root) to see if a certain geom device (eg, any 
storage ) is being accessed, and its load.

it works at leat on 6.x - not sure about 5.x.



_
{Beto|Norberto|Numard} Meijome

It is a lesson which all history teaches wise men, to put trust in ideas, and 
not in circumstances.
   Emerson

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SMF - A loja Online dos Profissionais de Inform ática!

2007-05-24 Thread SMF-Newsletter
Se não visualizar correctamente este e-mail, consulte o endereço 
http://newsletter.smf.com.pt
 

 

  
 
 Mini HDD 2048MB USB 2,0 , leitura: 6,1mb/seg;escrita: 1,5mb/...
 
  
 16,95€
 


 

  
 
 NEXTBASE SDV185-SD 
 
  
 313,00€
 



 
 

  
 
 ViewSonic VX1945wm - TFT LCD 19 wide 
 
  
 302,70€
 


 

  
 
 Asus G2PC - 17' TFT WXGA+ - Intel Core 2 Duo T7200  
  
 1902,80€
 



 
 

   
 
 HP - Pavilion dv6389ea - Core2Duo T5600  
  
 1192,75€
 


 

   
 
 CREATIVE Creative - Zen Stone 
  
 39,00€ 


 
 

  
 
 HP -HP Officejet 4315 
  
 79,75€
 


 

  
 
 TOM TOM ONE IBÉRICO 
  
 263,75€
 



 
   
 
  

  Para mais informações contactar a equipa comercial SMF: 229 388 003 

  Esta informação tem como objectivo divulgar os produtos e eventos da SMF. Se 
não pretende continuar a receber este tipo de informação por e-mail, clique 
aqui.
Actualize os seus dados | Subscreva News | Remover Contacto 
  
Oferta limitada à existência de stock.
Salvaguardam-se erros de edição. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Extended partition

2007-05-24 Thread Ian Smith
On Wed, 23 May 2007 17:30:29 +0330 Mohsen Pahlevanzadeh [EMAIL PROTECTED] 
wrote:
  Dear all,
  I have 1 freebsd partiotion  4 other partitions:
  1.Etended DOS (Primary)
  2.ext3 logical under 1
  3.ext3 logical under 1
  4.solaris swap (primary)
  When i mount ext3 partitions, i receive invalid argument
  mount_ext2fs -o ro /dev/ad0s6 /media/mymountpoint
  I have checked ad0s6 exist.
  Please help me.

The first slice in your 'extended partition' should be ad0s5.

On top of your text description, please provide the output of:

# fdisk ad0

# ls /dev/ad0*

Cheers, Ian

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


make is failing on port install

2007-05-24 Thread FreeBSD-Utah
Hi,

Whenever I run make on one of our production systems I
get the following output:

/usr/ports/Mk/bsd.port.mk, line 2350: warning:
String comparison operator shou
ld be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2350: warning:
String comparison operator shou
ld be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2350: Malformed
conditional (((${OSVERSION} 
504105 || (${OSVERSION} = 60  ${OSVERSION} 
600103) || (${OSVERSION} =
70  ${OSVERSION}  700012))  ${PKGORIGIN} !=
ports-mgmt/pkg_install) |
| exists(${LOCALBASE}/sbin/pkg_info))
/usr/ports/Mk/bsd.port.mk, line 2351: warning:
String comparison operator shou
ld be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2351: warning:
String comparison operator shou
ld be either == or !=
/usr/ports/Mk/bsd.port.mk, line 2351: Malformed
conditional ((${OSVERSION}  5
04105 || (${OSVERSION} = 60  ${OSVERSION} 
600103) || (${OSVERSION} = 7
0  ${OSVERSION}  700012))  ${PKGORIGIN} !=
ports-mgmt/pkg_install)
/usr/ports/Mk/bsd.port.mk, line 2366: if-less else
/usr/ports/Mk/bsd.port.mk, line 2366: Need an
operator
/usr/ports/Mk/bsd.port.mk, line 2380: if-less endif
/usr/ports/Mk/bsd.port.mk, line 2380: Need an
operator
/usr/ports/Mk/bsd.port.mk, line 6046: if-less endif
/usr/ports/Mk/bsd.port.mk, line 6046: Need an
operator
make: fatal errors encountered -- cannot continue

uname -a shows:
FreeBSD cloudrunner.servbur.com 5.1-RELEASE-p11
FreeBSD 5.1-RELEASE-p11 #0: Thu
Dec 18 16:23:24 MST 2003
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/G
ENERIC  i386

Question: Is this fixable? Or is the installed version
no longer suported and we will need to upgrade it? I
did a cvsup just prior to getting this.

Thanks in advance!

M Goodell


   
Building
 a website is a piece of cake. Yahoo! Small Business gives you all the tools to 
get online.
http://smallbusiness.yahoo.com/webhosting 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: laser printer - which one?

2007-05-24 Thread Bill Campbell
On Thu, May 24, 2007, David Kelly wrote:

On May 24, 2007, at 2:00 PM, Roland Smith wrote:

I've had good experiences with HP laserjets.

Me too. But in my opinion HP now makes Good LaserJets, and Cheap  
LaserJets. Take your pick, they don't make exceptional LaserJets and  
sell them cheap.

I've been using an HP 4M+ with duplex since November 1995, and can't
complain.  Their quality may have slipped since then.

Have been very happy with performance and operating costs of HP  
4000's, 5000N, and 8100N. Couldn't find one used for what my Brother  
HL-5250DN cost new, so I bought the Brother. Only problem has been  
the HP's would print envelopes better than the Brother.

I haven't found any printer that really works well with envelopes (unless
you count some Pitney Bowes printers that are designed specifically for
printing high volumes of flyers, envelopes and brochures).

Have not been terribly happy with HP inkjets and my statement above  
is based on the apparent observation the HP inkjet crew has been  
designing lasers lately.

I have an HP Photosmart 7360 that I like, largely because I don't use it
very much, and it's designed so that it can through long periods of
inactivity without clogging the nozzles.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
URL: http://www.celestial.com/  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676

``I don't care how little your country is, you got a right to run it like
you want to.  When the big nations quit meddling, then the world will have
peace.''
Will Rogers
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


mpd4 cann't work after upgrade freebsd os

2007-05-24 Thread Pei Pjf
Dear list
 when I upgraded freebsd os from 5.1--5.5--6.0--6.2, all works
 fine but mpd can not work well.

mail# mpd4 -k
Multi-link PPP daemon for FreeBSD
process 4120 started, version 4.1 ([EMAIL PROTECTED] 00:52 25-May-2007)

CONSOLE: listening on 0.0.0.0 5005
[myisp] can't create socket node: No such file or directory
[myisp] using interface
[usr] can't open /dev/cuaa1: No such file or directory
[myisp] IFACE: Open event
[myisp] IFACE: Up event
[myisp] can't set bpf node program: Bad file descriptor
fatal error, exiting
[myisp] IPCP: Close event
[myisp] IFACE: Close event
[myisp] can't shutdown :: Bad file descriptor
[myisp] can't shutdown bypass.inet: Bad file descriptor
[myisp] can't shutdown bypass: Bad file descriptor
process 4120 terminated

mail# uname -a
FreeBSD mail.topcomtech.com.cn 6.2-RELEASE-p4 FreeBSD 6.2-RELEASE-p4 #1: Wed 
May  2
+23:01:31 CST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/MYKNL  i386

mail# kldstat
Id Refs AddressSize Name
 11 0xc040 3d7d60   kernel

Though I googled Internet, read mpd douments, I don't how to deal with this 
case.

Thanks in advance.

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


Re: 2 problems with shared libraries

2007-05-24 Thread Boris Samorodov
Hi Oliver,

On Fri, 25 May 2007 09:23:11 +0700 (ICT) Olivier Nicole wrote:

  However you may try to install the port I wrote:
  ftp://ftp.ipt.ru/pub/download/linux-qt3.tar.bz2
  
  # cp linux-qt3.tar.bz2 /usr/ports/x11-toolkits
  # cd /usr/ports/x11-toolkits
  # tar xyf linux-qt3.tar.bz2
  # cd linux-qt3
  # make install clean
  
  I've tested the port at tinderbox (build/install/deinstall) but can't
  test at run time -- there may be missed dependencies (though I hope it
  shouldn't happen). Any feedback is appreciated.

 It looks like it is working: the software now is doing what it is
 supposed to do! Means that the port of the library should be good.

Great, I'll commit the port when the ports tree is unfrozen.


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


Network storage

2007-05-24 Thread Zbigniew Szalbot
Hello,

What options do I have of using a network storage device such as Buffalo
TeraStation? I can access it from Windows via network share or via FTP
protocol. How can I access this device from FreeBSD? TeraStation is on the
same LAN as FBSD machine. I would like to use TeraStation for backup
purposes as the drives there can hold lots of data. I know I can use FTP
but then how would you go about backup? Do backups on the local FBSD drive
and then have some kind of script/software (what kind of?) to copy it via
FTP to TeraStation?

Many thanks in advance!

-- 
Zbigniew Szalbot

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


Re: Is PCI Express x16 compatible with x4?

2007-05-24 Thread Garrett Cooper

Alexander Anderson wrote:

I'm thinking of buying a PCI-e x4 RAID controller and I'm wondering if my
motherboard with its PCI-e x16 slots would support it?

The controller card is HighPoint RocketRAID 2320:
http://www.highpoint-tech.com/USA/rr2320.htm

The motherboard is Intel D975XBX2:
http://www.intel.com/products/motherboard/d975xbx2/index.htm

Will these two get along with other?

Thank you.


x4 and x16 should have different slot sizes, but if memory serves me 
correctly the x4 is modular and fits within the x16 slot.


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


Submitting a new port via send-pr seems broken...

2007-05-24 Thread Alan Garfield
Hey all,

When I try and submit a new port via send-pr I get this from my primary
mail server from the MX at freebsd.org.

---
May 25 14:35:28 thing1 postfix/smtp[65727]: 335055E10:
to=[EMAIL PROTECTED],
relay=mx1.freebsd.org[69.147.83.52]:25, delay=1.1,
delays=0.02/0/0.66/0.38, dsn=4.7.1, status=deferred (host
mx1.freebsd.org[69.147.83.52] said: 450 4.7.1
[EMAIL PROTECTED]: Recipient address rejected: Service
is unavailable (in reply to RCPT TO command))
---

Am I doing it right? Or is something broken?

Is [EMAIL PROTECTED] the correct address of a port
submission?

Thanks,
Alan.

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


amavisd-new spamcontroll problem

2007-05-24 Thread dhaneshk k

Hi Everybody

This is Dhanesh , by the way of finding a solution for spam controll I come 
across this  tutorial

Postfix and SpamAssassin
   URL : http://ezine.daemonnews.org/200309/postfix-spamassassin.html


I had a FreeBSD-6.0 box with postfix and mailman working fine .The problem 
is that my mailing list members including me getting lots of spams daily 
..so I  really   in trouble .
  From the tutorial I uderstood that  by installing   amavisd-new  will 
install spamassasin  too  ?

and razor also coming with this  .?

(I have installed clamav before  following this  tutorial through usr/ports 
in FreeBSD box) SO I thought this AntiVirus  clamav may be sufficent for 
using with amavisd-new


and  after this I followed  tutorial   postfix and spamassassin  step by 
step upto   section IV


Section IV - Notifications/DSN, BOUNCE/REJECT/DROP/PASS destiny, quarantine.
You may want to set these variables:

$notify_sender_templ
$notify_virus_sender_templ
$notify_virus_admin_templ
$notify_virus_recips_templ
$notify_spam_sender_templ
$notify_spam_admin_templ

What valuses to set for this variables ,there is no such variables in the 
amavisd.conf file so  I added this in the file and confused of giving what 
values to this variables ? so I commented these 6  variables and follwed the 
 tutorial  upto section V


read_hash(\%whitelist_sender, '/var/amavis/whitelist');
read_hash(\%blacklist_sender, '/var/amavis/blacklist');
read_hash(\%spam_lovers, '/var/amavis/spam_lovers');

these three lines I just added in amavisd.conf   ( I dont know whether to 
add any thing else more  so I added the following lines from  tutorial to 
the amvisd.conf file


map { $whitelist_sender{lc($_)}=1 } (qw(

freebsd-questions@freebsd.org
[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

));

and I went to section  VII

added these 2 line

$sa_local_tests_only = 0;
$sa_auto_whitelist = 1;


as before  clamav I installed through ports  so I commented all the  lines  
except   the ones related to clamav section.


then have done

# su - vscan
$ touch blacklist whitelist spam_lovers
$ mkdir tmp

but tmp dir is already here so its not needed to create it explicitly..

then followed spamassassin local.cf configuration  exactly  ..

But ther is no   .spamassassin  dir in /var/amavis   so  I created this 
.spamassassin dir here and then given the command below .


$ touch /var/amavis/.spamassassin/user_prefs


Then  razor and Bayesian learning configured ( but ther is an error in  
bayesian learning script  the user dir  is  /home/notspam  but not  
/home/nospam   ..  anyways I  given it correctly . )



then executed the command

/usr/local/sbin/amavisd debug

But the debug out put I dont know if it correct ya not  ?   so I am adding 
the debug output here

Please let me know all my configurations is  correct ya not  ?


and in /usr/ports/security/amavisd-new/work ther is no work directory and 
sample spam files , so let me give some sample spam codes  so I ca test it 
..



NB: can you send a sample copy of amavisd.conf , spamassassin local.cf , If 
my configuration is not looking proper one  in  you r view .


/usr/local/sbin/amavisd debug  o/p

don# /usr/local/sbin/amavisd debug
May 25 10:29:53 don.localdomain /usr/local/sbin/amavisd[1599]: starting.  
/usr/local/sbin/amavisd at don.localdomain amavisd-new-2.5.0 (20070423), 
Unicode aware
May 25 10:29:53 don.localdomain /usr/local/sbin/amavisd[1599]: user=, EUID: 
0 (0);  group=, EGID: 0 5 0 0 (0 5 0 0)
May 25 10:29:53 don.localdomain /usr/local/sbin/amavisd[1599]: Perl version  
 5.008008
May 25 10:29:54 don.localdomain /usr/local/sbin/amavisd[1599]: INFO: SA 
version: 3.1.8, 3.001008, no optional modules: 
Mail::SpamAssassin::SQLBasedAddrList DBD::mysql 
Mail::SpamAssassin::Plugin::DKIM Mail::SpamAssassin::Plugin::URIDetail 
IP::Country::Fast Mail::DKIM Mail::DKIM::Verifier Mail::SPF Mail::SPF::Mech 
Mail::SPF::Mech::A Mail::SPF::Mech::All Mail::SPF::Mech::Exists 
Mail::SPF::Mech::IP4 Mail::SPF::Mech::IP6 Mail::SPF::Mech::Include 
Mail::SPF::Mech::MX Mail::SPF::Mech::PTR Mail::SPF::Mod Mail::SPF::Mod::Exp 
Mail::SPF::Mod::Redirect Mail::SPF::SenderIPAddrMech Mail::SPF::v1::Record 
Mail::SPF::v2::Record Crypt::OpenSSL::RSA 
auto::Crypt::OpenSSL::RSA::new_public_key 
auto::Crypt::OpenSSL::RSA::new_key_from_parameters 
auto::Crypt::OpenSSL::RSA::get_key_parameters 
auto::Crypt::OpenSSL::RSA::import_random_seed Digest::SHA Error
May 25 10:29:54 don.localdomain /usr/local/sbin/amavisd[1599]: SpamControl: 
init_pre_chroot done
May 25 10:29:54 don.localdomain /usr/local/sbin/amavisd[1599]: Net::Server: 
2007/05/25-10:29:54 Amavis (type Net::Server::PreForkSimple) starting! 
pid(1599)
May 25 10:29:54 don.localdomain /usr/local/sbin/amavisd[1599]: Net::Server: 
Binding to UNIX socket file /var/amavis/amavisd.sock using SOCK_STREAM
May 25 10:29:54 don.localdomain /usr/local/sbin/amavisd[1599]: Net::Server: 
Binding to TCP port 10024 on host 127.0.0.1
May 25 10:29:54 

Re: Network storage

2007-05-24 Thread Jack Barnett

Zbigniew Szalbot wrote:

Hello,

What options do I have of using a network storage device such as Buffalo
TeraStation? I can access it from Windows via network share or via FTP
protocol. How can I access this device from FreeBSD? TeraStation is on the
same LAN as FBSD machine. I would like to use TeraStation for backup
purposes as the drives there can hold lots of data. I know I can use FTP
but then how would you go about backup? Do backups on the local FBSD drive
and then have some kind of script/software (what kind of?) to copy it via
FTP to TeraStation?

Many thanks in advance!

  



Hi.  Yes you can automate ftp transactions.
Here is one article: 
http://www.quepublishing.com/articles/printerfriendly.asp?p=170517rl=1
I only skimmed that article, but it looks good.  A google search is sure 
to turn up more.


I would suggestion against ftp if possible.  Scp (or sftp) is cp/ftp 
over a secure (SSH) connection which allows for encrypt of passwords 
and/or files.  This too can be automated - provided that your network 
storage device allows SSH connections.


Also - using smbmount or smbclient (part of the samba package/port); you 
can use these to access the Windows share on the network storage 
device.  If I remember correctly though, the Windows protocol doesn't 
encrypt the information, which is as bad as ftp - since the hackers can 
steal all your passwords, information and files!


-J


















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


  1   2   >