ports on FreeBSD 4

2007-05-16 Thread Brian Behlendorf


I realize the ports on RELENG_4 have been EOL'd, but I'm stuck on 4 for 
one system due to instability currently with the RELENG_6 box that will 
take its place.  I'd like to be able to get a ports tree that represents 
the state of things just before support for 4.x was dropped. I thought I 
read that the tag for that was RELENG_4_EOL.  I tried using that by going 
into /etc/make.conf and changing


PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile

to

PORTSSUPFILE=   /usr/local/etc/ports-supfile

and in /usr/local/etc/ports-supfile, a copy of 
/usr/share/examples/cvsup/ports-supfile, I changed


*default release=cvs tag=.

to

*default release=cvs tag=RELENG_4_EOL

I did a make update in /usr/ports and it started to remove every file 
under /usr/ports.  Yech.  I had to go back to using 
/usr/share/examples/cvsup/ports-supfile and do a make update from 
/usr/src to get a /usr/ports tree back, though now of course that 
/usr/ports tree doesn't work for 4.x (it expects the new rc.subr stuff 
for example).


I realize I'm treading on retired ground here... but any ideas?

Brian


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


SMP issues with i386/6.2 RELEASE and Compaq DL360 g1

2007-05-16 Thread James Price
Has anyone else seen issues while trying to boot an SMP kernel on a  
Compaq DL360 G1 with the latest P21 bios (11/2002).


I can't seem to get it to recognize both processors...

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


Re: Newbie Question: Mail from from cron jobs...

2007-05-16 Thread Oliver Peter
On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote:
 On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote:
 
  On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
...
   
   Where can I change the address [EMAIL PROTECTED] to
   [EMAIL PROTECTED] ?
 
 Look in the file /etc/mail/aliases
 
 You can alias root to go to your favorite address.
 Don't forget to run   newaliases(1)   after editing the file.
 
 Of course, doing this will mean that all mail to root will
 go to you.   

Hhm. I thought the problem was that you would like to change the From:
of those e-mails not the To: ?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpTl4XpfObMZ.pgp
Description: PGP signature


Re: .login_conf ignored [solved]

2007-05-16 Thread Christopher Illies
On Tue, May 15, 2007 at 06:39:05PM +0200, Ernest Sales wrote:
 On Tue, 15 May 2007 09:14:42 +0200, Christopher Illies wrote:

  The locale settings in my .login_conf are ignored:

[...]

   Try compiling just your ~/login_conf, make sure a
   ~/login_conf.db file appears.
  
   Ernest
 
  Thanks, that has worked!
 
  Before I always used cap_mkdb /etc/login.conf plus all the user's
  $HOME/.login_conf, but just using it on my ~/.login_conf did the
  trick. A ~/.login_conf.db file has appeared.
 
  I feel a bit silly for not having come up with it myself. I guess what
  confused me was that on another user's account the cap_mkdb compiling
  wasn't neccessary, but I don't need to understand that now that it
  works for me.
 
  Thanks again.
 
  Christopher
 
 But you are still curious, aren't you?

Yes

 AFAIK, there are two possible
 explanations:
 
 1) There _is_ a .login_conf.db file in the other user's homedir.

No

 
 2) The other account pertains to a different login class than yours,
 which already sets the desired locale and so masquerades the user's
 settings being ignored. Dunno if a user can see his own login class. If
 you have permissions, can use vipw to find out (if unfamiliar, take a
 look to vipw(8) and passwd(5) manpages, notice the 'class' field).
 
 Ernest
 
Not that I can see. I 'chris' is my login, and 'bill' in another
account that does not have this problem:

; sudo  cat /etc/master.passwd | egrep 'chris|bill' | awk  -F: '{ print $1,:, 
$5,:}'
chris :  :
bill :  :
; whoami
chris
; ls /home/bill/.login*
/home/bill/.login   /home/bill/.login_conf
; cat /home/bill/.login_conf
# $FreeBSD: src/share/skel/dot.login_conf,v 1.3 2001/06/10 17:08:53
# ache Exp $
#
# see login.conf(5)
#
me:\
:charset=iso-8859-1:\
:lang=se_SE.ISO8859-1:
; sudo sed -i.bak -e 's/se_SE/de_DE/' /home/bill/.login_conf
; su -l bill
Password:
$ whoami
bill
$ env | egrep -i 'lang|charset'
MM_CHARSET=iso-8859-1
LANG=de_DE.ISO8859-1

But to change settings on the 'chris' account I have to use cap_mkdb
/home/chris/.login_conf. Strange...

Christopher

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


RE: Newbie Question: Mail from from cron jobs...

2007-05-16 Thread Ian Lord


-Original Message-
From: Oliver Peter [mailto:[EMAIL PROTECTED] 
Sent: 16 mai 2007 03:18
To: Jerry McAllister
Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org
Subject: Re: Newbie Question: Mail from from cron jobs...

On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote:
 On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote:
 
  On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
...
   
   Where can I change the address [EMAIL PROTECTED] to
   [EMAIL PROTECTED] ?
 
 Look in the file /etc/mail/aliases
 
 You can alias root to go to your favorite address.
 Don't forget to run   newaliases(1)   after editing the file.
 
 Of course, doing this will mean that all mail to root will
 go to you.   

Hhm. I thought the problem was that you would like to change the From:
of those e-mails not the To: ?

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.

~~~
Exactly... I receive the emails since I correctly configured my aliases to
redirect all mails externally...

The problem I have is with the from...

Someone told me to change the hostname in rc.conf, that won't work since I
have 4 machines:

Machine1.mydomain.com
Machine2.mydomain.com
Machine3.mydomain.com
Machine4.mydomain.com

I want the mail from to be 
[EMAIL PROTECTED] not [EMAIL PROTECTED]
...

Not too sure where to look into to fix this

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


RE: SMP issues with i386/6.2 RELEASE and Compaq DL360 g1

2007-05-16 Thread Ian Lord

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of James Price
Sent: 16 mai 2007 02:51
To: freebsd-questions@freebsd.org
Subject: SMP issues with i386/6.2 RELEASE and Compaq DL360 g1

Has anyone else seen issues while trying to boot an SMP kernel on a  
Compaq DL360 G1 with the latest P21 bios (11/2002).

I can't seem to get it to recognize both processors...

Thanks,
James


~~~
I installed a 6.2 release (default install)

On two dl360 G1 Today without any problem... Both processors were detected
fine.

I have a dual P3 550 and a dual P3 866

It went fine without any tweaking or special kernel config

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


Re: ports on FreeBSD 4

2007-05-16 Thread Erik Trulsson
On Wed, May 16, 2007 at 12:06:24AM -0700, Brian Behlendorf wrote:
 
 I realize the ports on RELENG_4 have been EOL'd, but I'm stuck on 4 for 
 one system due to instability currently with the RELENG_6 box that will 
 take its place.  I'd like to be able to get a ports tree that represents 
 the state of things just before support for 4.x was dropped. I thought I 
 read that the tag for that was RELENG_4_EOL.  I tried using that by going 
 into /etc/make.conf and changing
 
 PORTSSUPFILE=   /usr/share/examples/cvsup/ports-supfile
 
 to
 
 PORTSSUPFILE=   /usr/local/etc/ports-supfile
 
 and in /usr/local/etc/ports-supfile, a copy of 
 /usr/share/examples/cvsup/ports-supfile, I changed
 
 *default release=cvs tag=.
 
 to
 
 *default release=cvs tag=RELENG_4_EOL
 
 I did a make update in /usr/ports and it started to remove every file 
 under /usr/ports.  Yech.  I had to go back to using 
 /usr/share/examples/cvsup/ports-supfile and do a make update from 
 /usr/src to get a /usr/ports tree back, though now of course that 
 /usr/ports tree doesn't work for 4.x (it expects the new rc.subr stuff 
 for example).
 
 I realize I'm treading on retired ground here... but any ideas?


Yes, the tag you want to use is RELEASE_4_EOL, not RELENG_4_EOL.




-- 
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: ports on FreeBSD 4

2007-05-16 Thread Björn König
Brian Behlendorf schrieb:

 *default release=cvs tag=RELENG_4_EOL


Use RELEASE_4_EOL.

Regards
Björn


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


RE: Upper limit on mount points?

2007-05-16 Thread Daniel Eriksson
Bill Moran wrote:

 We have some systems with a lot of jails.  We're using ezjail, which
results
 in a lot of nullfs mounts.  In combination with some other nullfs
tricks I'm
 using on this system, I'm a bit concerned that we're going to hit some
sort
 of limit on the number of mountpoint.

 Google hasn't been much help, and I thought I'd ask here before I dug
in to
 the sourcecode.  I'm wondering if there's an upper limit (either hard
or
 practical) on the number of mountpoints on a system?

I have a box running 6-STABLE that has 700+ nullfs mounts, and it runs
just fine.

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


ports updates

2007-05-16 Thread Paul V. Belyakov
Why ports updates recently occur so seldom? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports updates

2007-05-16 Thread Fabian Keil
Paul V. Belyakov [EMAIL PROTECTED] wrote:

 Why ports updates recently occur so seldom? 

Because of the ongoing tests for the xorg 7.2 integration.

For details see:
http://wiki.freebsd.org/ModularXorg
or the ports@ archive.

Fabian


signature.asc
Description: PGP signature


Re: ports updates

2007-05-16 Thread Paul Fraser

On 5/16/07, Paul V. Belyakov [EMAIL PROTECTED] wrote:


Why ports updates recently occur so seldom?



The ports tree is currently frozen for the merge of a new Xorg release.
Things should return to normal shortly.

--
Regards,

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


Re: gnome-libtool issue [SEC=UNCLASSIFIED]

2007-05-16 Thread Sam Lawrance


On 16/05/2007, at 9:31 AM, Daniel Pottumati wrote:



No, I wish I could upgrade.

But for compatibility reasons with one piece of software here at  
work, I have to run 4.8...


Any other sugestions???


Perhaps if you explained the compatibility issues, we can help you  
work around those.


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


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-16 Thread Oliver Peter
On Tue, May 15, 2007 at 07:24:27PM -0300, Agus wrote:
 ...
 Here is part of the boot..
 Updating motd
 Starting mysql.
 su: /bin/csh: Permission denied
 Configuring syscons: keymap blanktime.
 Starting sshd.
 can not chdir(/var/spool/clientmqueue/): Permission denied
 Program mode requires special privileges...
 Starting cron.
 Local package initializations...
 Starting inetd.

Interesting. 
Do you see the same when you start/stop it manually?

  # /usr/local/etc/rc.d/mysql-server restart

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpvxFJ06btaQ.pgp
Description: PGP signature


Re: Newbie Question: Mail from from cron jobs...

2007-05-16 Thread Schiz0

On 5/16/07, Ian Lord [EMAIL PROTECTED] wrote:



-Original Message-
From: Oliver Peter [mailto:[EMAIL PROTECTED]
Sent: 16 mai 2007 03:18
To: Jerry McAllister
Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org
Subject: Re: Newbie Question: Mail from from cron jobs...

On Tue, May 15, 2007 at 05:38:15PM -0400, Jerry McAllister wrote:
 On Tue, May 15, 2007 at 11:26:03PM +0200, Oliver Peter wrote:

  On Tue, May 15, 2007 at 12:26:36PM -0400, Ian Lord wrote:
...
  
   Where can I change the address [EMAIL PROTECTED] to
   [EMAIL PROTECTED] ?

 Look in the file /etc/mail/aliases

 You can alias root to go to your favorite address.
 Don't forget to run   newaliases(1)   after editing the file.

 Of course, doing this will mean that all mail to root will
 go to you.

Hhm. I thought the problem was that you would like to change the From:
of those e-mails not the To: ?

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.

~~~
Exactly... I receive the emails since I correctly configured my aliases to
redirect all mails externally...

The problem I have is with the from...

Someone told me to change the hostname in rc.conf, that won't work since I
have 4 machines:

Machine1.mydomain.com
Machine2.mydomain.com
Machine3.mydomain.com
Machine4.mydomain.com

I want the mail from to be
[EMAIL PROTECTED] not [EMAIL PROTECTED]
...

Not too sure where to look into to fix this

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



Try checking /etc/rc.conf for your hostname var. Also, /etc/hosts
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: about Geforce Go 7700

2007-05-16 Thread fbsd

Federico Lorenzi wrote:

On 5/15/07, Roland Smith [EMAIL PROTECTED] wrote:

On Tue, May 15, 2007 at 08:47:25AM +0200, Runner on the Road wrote:
  Hi

  i  have an asus a8js with a 7700 Go gefroce in it

  i ve tryed seveal times to confi my xorg.conf but still not working

Try the nv(4) driver in your device section:

Section Device
Identifier  Card0
Driver  nv
EndSection

Having experience with Nvidia graphics cards in laptops (I have a
7600GT go) The normal nv driver DOES NOT seem to work with them, try
install the binary driver from ports, and give that a shot, it works
great for me at native res!

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



I also have Asus A8JS. I can confirm that the nv driver does not work 
with the Nvidia 7700. You need to use the vesa driver to get a display 
and then install the nvidia driver from ports (or if you use PC-BSD, a 
PBI). It works well.

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


Re: Mail Sending delay to HOTMAIL and Yahoo on FreeBSD 6.2

2007-05-16 Thread cpghost
On Sat, May 12, 2007 at 01:12:18PM -0700, L33T Networks wrote:
 On 5/12/07 12:43 PM, DeadMan Xia  [EMAIL PROTECTED] wrote:
 
  Hi everybody 
  
  well i have installed FreeBSD 6.2 on my Dell Power Edge 2850. I have
  installed QMAIL as mailing agent with POP3 and IMAP.
  
  now when i send email to hotmail or yahoo, the mail delivered with big delay
  time. Howevr when i send it to gmail or any other domain its works quickly.
  
  i am in big trouble. i also contact yahoo and hotmail support but in vain.
  This issue was solved with some extent changing of permission of triggers
  file in /var/qmail/queue/lock. now everything is going fyne but email to
  yahoo and hotmail delivers with too much delay .
  
  Can anybody help me out.
  
  Regards,
 
 DeadMan:
 
 This is an issue with Yahoo and Hotmail, on how they process e-mails coming
 into their system. I too, am running a FreeBSD 6.2 machine, running QMAIL as
 my MTA - the same issue exists.
 
 You may need to ensure that you have the proper SPF records for your
 domains, as they have started checking SPF.
 
 ~C

Please don't top post.

No problems/delays here with Postfix and correct SPF records.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-16 Thread Agus

2007/5/16, Oliver Peter [EMAIL PROTECTED]:


On Tue, May 15, 2007 at 07:24:27PM -0300, Agus wrote:
 ...
 Here is part of the boot..
 Updating motd
 Starting mysql.
 su: /bin/csh: Permission denied
 Configuring syscons: keymap blanktime.
 Starting sshd.
 can not chdir(/var/spool/clientmqueue/): Permission denied
 Program mode requires special privileges...
 Starting cron.
 Local package initializations...
 Starting inetd.

Interesting.
Do you see the same when you start/stop it manually?

  # /usr/local/etc/rc.d/mysql-server restart

--
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their
slave.

yesthats how i realized that the problem was with mysqlfirst i

checked netstat and didnt see the port so i started up manually and get that
error

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


Re: Find out startup programs execution order..

2007-05-16 Thread Agus

2007/5/16, Jack Barnett [EMAIL PROTECTED]:


Look before and after the error messages
What other messages you see?  That'll give you a general idea on where
it's at in the startup process when you get that error.

On 5/15/07, Agus [EMAIL PROTECTED] wrote:
 Hi...
 i am trying to solve a problem with an error message during startup..
 su: /bin/csh : Permission Denied

 so i am trying to find the way the programs start during boot

 thats it

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




Yes..thats the way i found that the error was from mysql-server...
but i thought that there might be a way to see the order programs boot...and
maybe change it...

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


Re: ports updates

2007-05-16 Thread Robert Huff
Paul Fraser writes:

   Why ports updates recently occur so seldom?
  
  The ports tree is currently frozen for the merge of a new Xorg
  release.  Things should return to normal shortly.

Probably not, in the statistical sense.   :-)
Not only will there be the X upgrade, for all that affects, but
the backlog of other ports comparable to a major version change,



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


Re: edit files in single-user-mode, the output is all messed up

2007-05-16 Thread Gabriel Rossetti
Christian Walther wrote:
 On 11/05/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:
 Hello,

 I have never been able to figure out how to do this, and I usually end
 up copying the file to be edited to a floppy  et be able to edit it from
 another machine, but there has to ba a way to do it! Everytime I go into
 single-user-mode and I have to edit a file, the output to stdout is
 messed up (looks like there are no \n). I tried several editors (vi, ee,
 edit (ee I think),  and I get the same thing, useless to say that it's
 impossible to edit the files. The only editor that works, is vim, but
 it's not always installed. Does anyone know why this happens? And does
 anyone know how to fix it?

 You could try to set a decent TERM-variable, such as

 TERM=vt100
 export TERM

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

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


Re: Upper limit on mount points?

2007-05-16 Thread Bill Moran
In response to Daniel Eriksson [EMAIL PROTECTED]:

 Bill Moran wrote:
 
  We have some systems with a lot of jails.  We're using ezjail, which
 results
  in a lot of nullfs mounts.  In combination with some other nullfs
 tricks I'm
  using on this system, I'm a bit concerned that we're going to hit some
 sort
  of limit on the number of mountpoint.
 
  Google hasn't been much help, and I thought I'd ask here before I dug
 in to
  the sourcecode.  I'm wondering if there's an upper limit (either hard
 or
  practical) on the number of mountpoints on a system?
 
 I have a box running 6-STABLE that has 700+ nullfs mounts, and it runs
 just fine.

Thanks, Daniel.  We've only got ~60, so I guess I've got a ways before I
need to worry.

-- 
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: edit files in single-user-mode, the output is all messed up

2007-05-16 Thread Gabriel Rossetti
Jerry McAllister wrote:
 On Fri, May 11, 2007 at 04:51:48PM +0200, Christian Walther wrote:

   
 On 11/05/07, Gabriel Rossetti [EMAIL PROTECTED] wrote:
 
 Hello,

 I have never been able to figure out how to do this, and I usually end
 up copying the file to be edited to a floppy  et be able to edit it from
 another machine, but there has to ba a way to do it! Everytime I go into
 single-user-mode and I have to edit a file, the output to stdout is
 messed up (looks like there are no \n). I tried several editors (vi, ee,
 edit (ee I think),  and I get the same thing, useless to say that it's
 impossible to edit the files. The only editor that works, is vim, but
 it's not always installed. Does anyone know why this happens? And does
 anyone know how to fix it?
   

 The two main problems are making sure the editors are available
 and making sure you have a terminal type that will work.

 Do the following:
   fsck -p
   mount -u /
   mount -a
   swapon -a

 To make sure files are available.

 Then, for termtype, if you are using tcsh which is most common on FreeBSD do
   set term=vt100

 or if in sh do as Christian Walther indicated

 jerry


   
Ok, thanks Jerry!
 You could try to set a decent TERM-variable, such as

 TERM=vt100
 export TERM

 HTH
 Christian
 ___
 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: Disk going bad?

2007-05-16 Thread Tom Judge

Jack Barnett wrote:

I think I have a disk going bad.  Is there any tools for freebsd
that'll check the disk and let me know if there is a hardware problem
or not?

(I'm getting ECC errors from my controller and trying to firgure out
if it's a bad controller or a bad drive [already checked the cables
and all that, so just have it down to these 2 peices of hardawre])

k, thanks!



You might want to have a look at smartmon-tools its in ports.  It may be 
able to do what you want.


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


Re: 3D acceleration within non-root account

2007-05-16 Thread Tijl Coosemans
On Tuesday 15 May 2007 09:51:11 Ladislav Jozsa wrote:
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 13, (OK)
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 13, (OK)
 drmOpenByBusid: Searching for BusID pci::01:00.0
 drmOpenDevice: node name is /dev/dri/card0
 drmOpenDevice: open result is 13, (OK)
 drmOpenByBusid: drmOpenMinor returns 13
 drmOpenByBusid: drmGetBusid reports pci::01:00.0
 (II) RADEON(0): [drm] DRM interface version 1.2
 (II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
 (II) RADEON(0): [drm] added 8192 byte SAREA at 0xc50e4000
 (II) RADEON(0): [drm] mapped SAREA 0xc50e4000 to 0x2877d000
 (II) RADEON(0): [drm] framebuffer handle = 0xe000
 (II) RADEON(0): [drm] added 1 reserved context for kernel
 (II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x/0x; Card 0x1002/0x4c57]
 (II) RADEON(0): [agp] 8192 kB allocated with handle 0xc578a7c0
 (II) RADEON(0): [agp] ring handle = 0xd000
 (II) RADEON(0): [agp] Ring mapped at 0x2a86d000
 (II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
 (II) RADEON(0): [agp] Ring read ptr mapped at 0x2877f000
 (II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
 (II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x2a96e000
 (II) RADEON(0): [agp] GART texture map handle = 0xd0302000
 (II) RADEON(0): [agp] GART Texture map mapped at 0x2ab6e000
 (II) RADEON(0): [drm] register handle = 0xc010
 (II) RADEON(0): [dri] Visual configs initialized
 (**) RADEON(0): Enabling depth moves
 (II) RADEON(0): CP in BM mode
 (II) RADEON(0): Using 8 MB GART aperture
 (II) RADEON(0): Using 1 MB for the ring buffer
 (II) RADEON(0): Using 2 MB for vertex/indirect buffers
 (II) RADEON(0): Using 5 MB for GART textures
 (II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
 (II) RADEON(0): Reserved area from (0,768) to (1024,770)
 (II) RADEON(0): Largest offscreen area available: 1024 x 7421
 (II) RADEON(0): Will use back buffer at offset 0x90
 (II) RADEON(0): Will use depth buffer at offset 0xc0
 (II) RADEON(0): Will use 17408 kb for textures at offset 0xf0
 (II) RADEON(0): Render acceleration enabled
 (II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
 Screen to screen bit blits
 Solid filled rectangles
 8x8 mono pattern filled rectangles
 Indirect CPU to Screen color expansion
 Solid Lines
 Scanline Image Writes
 Offscreen Pixmaps
 Setting up tile and stipple cache:
 32 128x128 slots
 32 256x256 slots
 16 512x512 slots
 (II) RADEON(0): Acceleration enabled
 (**) RADEON(0): Option BackingStore true
 (**) RADEON(0): Backing store enabled
 (==) RADEON(0): Silken mouse enabled
 (II) RADEON(0): Using hardware cursor (scanline 770)
 (II) RADEON(0): Largest offscreen area available: 1024 x 7417
 (**) Option dpms true
 (**) RADEON(0): DPMS enabled
 (II) RADEON(0): Detected Radeon Mobility M7, disabling multimedia i2c
 (II) Loading sub module theatre_detect
 (II) LoadModule: theatre_detect
 (II) Loading /usr/X11R6/lib/modules/multimedia/theatre_detect_drv.so
 (II) Module theatre_detect: vendor=X.Org Foundation
 compiled for 4.3.99.902, module version = 1.0.0
 ABI class: X.Org Video Driver, version 0.8
 (II) RADEON(0): no multimedia table present, disabling Rage Theatre.
 (WW) RADEON(0): Option DRI is not used
 (WW) RADEON(0): Option AllowGLXWithComposite is not used
 (WW) RADEON(0): Option UseUnternalAGPGART is not used
 (II) RADEON(0): X context handle = 0x1
 (II) RADEON(0): [drm] installed DRM signal handler
 (II) RADEON(0): [DRI] installation complete
 (II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
 (II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
 (II) RADEON(0): [drm] dma control initialized, using IRQ 11
 (II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
 (II) RADEON(0): Direct rendering enabled

This last line says direct rendering is enable so I assume this is when
you run as root? What does the non-root log say?

Also, how are you starting X, with startx? If so, is /usr/X11R6/Xorg
setuid root?

Do you load the radeon.ko and drm.ko kernel modules from
/boot/loader.conf?

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


Re: 3D acceleration within non-root account

2007-05-16 Thread Tijl Coosemans
On Wednesday 16 May 2007 14:40:43 Tijl Coosemans wrote:
 Also, how are you starting X, with startx? If so, is /usr/X11R6/Xorg
 setuid root?

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


Re: ports updates

2007-05-16 Thread Albert Shih
 Le 16/05/2007 à 18:45:21+1000, Paul Fraser a écrit
 On 5/16/07, Paul V. Belyakov [EMAIL PROTECTED] wrote:
 
 Why ports updates recently occur so seldom?
 
 
 The ports tree is currently frozen for the merge of a new Xorg release.
 Things should return to normal shortly.

Don't known if this switch is with many pain or not but lots of thanks for
those guys to do this big work.

Regards.


--
Albert SHIH
Observatoire de Paris Meudon
SIO batiment 15
Heure local/Local time:
Mer 16 mai 2007 15:45:50 CEST
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Find out startup programs execution order..

2007-05-16 Thread Oliver Peter
On Tue, May 15, 2007 at 11:34:15PM -0300, Agus wrote:
 Hi...
 i am trying to solve a problem with an error message during startup..
 su: /bin/csh : Permission Denied
 
 so i am trying to find the way the programs start during boot
 
 thats it
 
 Thanxsss

AFAIK:
Programs under /etc/rc.d/ and /usr/local/etc/rc.d/ start in
alphanumerical order. So you can rename those startup shell scripts
according to your needs.

-- 
Oliver PETER, email: [EMAIL PROTECTED], ICQ# 113969174
Worker bees can leave. Even drones can fly away. The Queen is their slave.


pgpKRYNhHIrwq.pgp
Description: PGP signature


Re: NIC of DELL PowerEdge Blade 1955 Server is not detected by FreeBSD 6.2

2007-05-16 Thread Sachin Sharma

Hi,

Can't go for Current. Is this possible into FreeBSD  6.2 Production 
Release ?








Tom Judge wrote:


Sachin Sharma wrote:


Hi All,

NIC (Network Card) of PowerEdge Blade 1955 Server is not detected by 
FreeBSD 6.2. I need FreeBSD in these server . Please help me.


Thanks





I think this may be supported in CURRENT but im not sure,  you might 
want to ask in [EMAIL PROTECTED]


Tom


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


Re: Find out startup programs execution order..

2007-05-16 Thread James Seward

On 5/16/07, Agus [EMAIL PROTECTED] wrote:

Yes..thats the way i found that the error was from mysql-server...
but i thought that there might be a way to see the order programs boot...and
maybe change it...


man 8 rcorder

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


Re: Auto shutdown/restart software for FreeBSD?

2007-05-16 Thread Aftab Jahan Subedar

Ok great I will try that too.

On 5/15/07, NetOpsCenter [EMAIL PROTECTED] wrote:


Aftab Jahan Subedar wrote:

 Would it recharge the battery fully after discharge? I dont think so.
 So you got to  recharge the external battery EXTERNALLY after power
 failure.

Aloha  Aftab,

This was the first thing I tested. I unplugged the unit and let it run
on battery all day while I was in town.  Then I plugged in the UPS  and
its internal charger did its thing until  the next day and  I tested the
current with a big amp meter I got from an auto sourse store and it was
fully charged in less than  24 hrs.

It was not fully discharged by the way even when the battery ran the 2
servers for the 9 hours.

Al

 Hey welcome to visit Dhaka.

 Regards-

 Aftab Jahan Subedar
 CEO/Software Engineer
 Subedar Technologies Ltd
 Soubedar Baag Bibir Bagicha #1
 North Jatra Bari
 Dhaka 1204
 Bangladesh
 +880152635208
 -http://www.DhakaStockExchangeGame.com
 Spyware detector -http://www.google.com/search?q=kayoty


 On 5/13/07, NetOpsCenter [EMAIL PROTECTED] wrote:


 jekillen wrote:

  Hello again;
  Is there software for ups auto shutdown and restart for use with a
ups
  system that has the capacity; I.E. a serial connection and references
  in the manual to software (for Windows mostly) download? Currently
  I have a Vesta Pro 600 unit. I had one made by Minuteman that crapped
  out on me last night. It had been doing ok and was a replacement
 for one
  made by Tripp Lite, which also failed permanently. I am running one
 desk
  top FreeBSD system, headless but with high speed SCSI drives in
 addition
  to the boot drive. I am away during the week for at least 8 - 9 hours
  during
  the week and cant be there if the power goes down to shut the system
  down before the ups exhausts its battery.
  Thanks in advance for any suggestions.
  Jeff K.
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  [EMAIL PROTECTED]
 
 Aloha Jekillen,


 I had a similar problem here in  Hawaii with our 2  noc servers.  I
 replaced the small UPS battery with a 100 amp stationery battery out
 side the box. It now will run for about 10 hours if we have a power
 outage for that long.



 ~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
   + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
   + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
 All that's really worth doing is what we do for others.- Lewis Carrol


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






--

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org + [EMAIL PROTECTED] +
  + http://internetohana.org   - Supporting - FreeBSD 6.* - 7.* +
All that's really worth doing is what we do for others.- Lewis Carrol






--
Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies Ltd
Soubedar Baag Bibir Bagicha #1
North Jatra Bari
Dhaka 1204
Bangladesh

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


Re: Find out startup programs execution order..

2007-05-16 Thread Lowell Gilbert
Agus [EMAIL PROTECTED] writes:

 2007/5/16, Jack Barnett [EMAIL PROTECTED]:

 Look before and after the error messages
 What other messages you see?  That'll give you a general idea on where
 it's at in the startup process when you get that error.

 On 5/15/07, Agus [EMAIL PROTECTED] wrote:
  Hi...
  i am trying to solve a problem with an error message during startup..
  su: /bin/csh : Permission Denied
 
  so i am trying to find the way the programs start during boot
 
  thats it
 
  Thanxsss
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 


 Yes..thats the way i found that the error was from mysql-server...
 but i thought that there might be a way to see the order programs boot...and
 maybe change it...

Sure.

The documentation for this is under man rc.d.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Auto shutdown/restart software for FreeBSD?

2007-05-16 Thread Aftab Jahan Subedar

Thats all comes down to switching IC with bigger AMPERE or darlington
circuit.
Anyway I dunno any circuit publicly available to make one UPS using
microcontroller.
If u anyone has one, kindly post it here.

We definitely do not want to get ripped off by the UPS makers!!!

On 5/15/07, WizLayer [EMAIL PROTECTED] wrote:


On Monday 14 May 2007 08:27:48 pm you wrote:
 On May 13, 2007, at 7:13 PM, WizLayer wrote:
  On Sunday 13 May 2007 07:17:14 pm Aftab Jahan Subedar wrote:
  Would it recharge the battery fully after discharge? I dont think so.
  So you got to  recharge the external battery EXTERNALLY after power
  failure.
 
  What's wrong with that?  Trickle-charge the battery and ride the
  computers
  from the battery at the same time...  That's an uninterrupted power
  supply.
  A voltage regulator, converter, and a few filters will give you a
  clean,
  constant supply.  It will last longer, and it's a lot cheaper in
  comparison.
 
  Actually, this is a project of mine that's been on the back burner for
  years
  now.  I'd like to add a network interface for remote controls, some
  health
  checking, and test modes, but would have to incorporate an embedded
  processor
  (serial port and/or USB interfaces are just as possible).
 
  Being that I've never messed with such, any suggestions as far as a
  good
  processor to start with?  It doesn't necessarily have to be a
  processor that
  will do the whole kit-n-kaboodle.  Right now, I'm just looking for
  something
  I can learn the basics with.
 
  I know it's not a BSD-related question, but I figured I'd ask anyway.
 
  Thanks
 
  WizLayer

 This is another approach that seems like it would be practical:
 Use deep cycle car batteries, trickle charge with solar panels.
 If a desktop computer can run on square wave generated by
 dc/ac converter, use that as a power backup system, It would
 have to have some kind of switching system to detect main
 power drop and switch to the backup system.
 Perhaps someone would be willing to, with engineering expertise
 put together servers that would work on laptop batteries, like a
 laptop. I do have one machine that has Yellow Dog linux (Mac
 Powerbook 3400c) that runs 24/7 as my backup DNS server.
 JK

Why settle for a square wave?  It's not hard to clean that up, and
besides...
Wouldn't that bring mayhem and havoc on a scanner (ie, I'm pretty sure
that
you your screen would do very unhappy things)?  LCD screen? don't
know.  (or
a system's power supply over long term?  hmmm)

As far as the type of batteries, deep cycle marine batteries,
whatever.  It
doesn't really matter except to say that some types can be fully
discharged
and some would be ruined on a full discharge.  The health and monitoring
portion of the UPS would have to be designed with those limits in mind
(and,
hey...  That could be part of the embedded mprocessors job, too...  more
options).

Switching power from one source to another is something that I've not had
a
lot of  luck with, esp with sensitive stuff like a computer's power supply
(touchy).  On the other hand clean, dc power in a parallel circuit is as
simple as it gets.  Edison had a good idea after all.

Look at the battery as your constant source, and work away from
that.  Your
secondary source merely compliments the battery.  So long as you use
regulators for your other sources, it will stay Clean by default.  :)

As far as switching power sources from regular charger to something like
solar
panels, same concept...  Don't switch from-to anything.  Keep it
constantly
hooked up in parallel with the battery.

Some simple logics could perform circuits acts for the solar panels (if
sun
is good and elec_co's bad , then close...  however you want to hack it.)
Same for dis/associating the charger.

I just need someone to point me in the right direction as far as embedded
mprocessors.  I've googled it, and found a few hobby kits, but I'd rather
hear it from someone who deals with stuff like this and can suggest a
start
here.  I hate jumping into something only to have to unlearn in order to
learn it right.

WizLayer


PS  When I finally get this finished, I'm going to find some way of
modifying
the BSD license to apply it and release the whole thing to the
public.  One
would only have to buy the parts, program, and assemble the thing...  Why?
Because UPS prices are a rip-off and some jerk told me I couldn't.  :)

--


Life is better with a BSD.
For more info, www.bsd.org.






--
Aftab Jahan Subedar
CEO/Software Engineer
Subedar Technologies Ltd
Soubedar Baag Bibir Bagicha #1
North Jatra Bari
Dhaka 1204
Bangladesh

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


kernel_map

2007-05-16 Thread Василий Петров
Is any way to find out how much kernel virtual address space is used and how 
much is free?
I'm getting troubles overflowing this so I want to know how much of KVA space 
is free on box.
As I understood, complete data on KVA space usage kept in kernel_map object. 
As it resides in KVA space itself I can access it with kvm_read. But I have 
no idea of how to determine its address in KVA space. Is any way to do that 
from userland program?
Generally, maybe there is other way to get KVA space usage info?

PS: I mean exactly preallocated for buffers KVA space, not memory allocated 
for buffers. As I see this is different things, as system reserves space in 
KVA space for maximal size of kernel buffers. And system will crash on boot 
if buffers limit is too high, and not upon allocating that much space. So I 
want to know info about that reservation to know how much can I grow buffer 
limits (especially kern.nbuf).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: kernel_map

2007-05-16 Thread Dag-Erling Smørgrav
Василий Петров [EMAIL PROTECTED] writes:
 Is any way to find out how much kernel virtual address space is used
 and how much is free?  I'm getting troubles overflowing this so I want
 to know how much of KVA space is free on box.

Don't 'vmstat -m' and 'vmstat -z' tell you pretty much everything you
need to know?

DES
-- 
Dag-Erling Smørgrav - [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: ports on FreeBSD 4

2007-05-16 Thread Brian Behlendorf

On Wed, 16 May 2007, Björn König wrote:

Brian Behlendorf schrieb:


*default release=cvs tag=RELENG_4_EOL


Use RELEASE_4_EOL.


Thanks!  (to Erik Trulsson too).  That worked.  It was mistakenly given as 
RELENG_4_EOL in the quarterly status report:


http://lists.freebsd.org/pipermail/freebsd-announce/2007-April/001124.html

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

Re: Anyone could make Epson Stylus cx4700 work?

2007-05-16 Thread Roland Smith
On Tue, May 15, 2007 at 07:53:39PM -0300, Anton Galitch wrote:
  Yes, because escputil belongs to the 'usb' group. It should belong to the
  same group as /dev/ulpt0, which should be 'cups'.
 
  A 'chown :cups escputil' should fix that.
 
  Thanks a lot it worked.
 
  to check the ink level requires using a raw device so the -r option must be
  there. I tried to do it without -u but it still saying Cannot open
  /dev/ulpt0 read/write: Device busy

Isn't there a FAQ for CUPS, or a mailing list? Maybe you should look
there. When I had an epson inkjet printer I don't recall having that
problem, but it's been a while.

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)


pgpNWP4QFXrw9.pgp
Description: PGP signature


Piping across machines? - a suggestion

2007-05-16 Thread Nino Ivanov
Dear Sir or Madam,

I am still a newbie in some respects, so maybe this idea is a moot point
or done already, but in case it is not, I'd like to suggest it:

One nice thing about unix is this piping, like programX | programY |
programZ...

Well, I just thought: Wouldn't it be interesting if this were possible -
in the same simplicity - over several machines as well? Like, something
similar to: machine1:programX | machine2:programY | machine3:programZ...
Machines could be identified by a name or an IP-Address.

Just a thought...

Kind regards,

Nino Ivanov

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


Re: Piping across machines? - a suggestion

2007-05-16 Thread Matthias Apitz
El día Wednesday, May 16, 2007 a las 04:40:24PM +0200, Nino Ivanov escribió:

 Dear Sir or Madam,
 
 I am still a newbie in some respects, so maybe this idea is a moot point
 or done already, but in case it is not, I'd like to suggest it:
 
 One nice thing about unix is this piping, like programX | programY |
 programZ...
 
 Well, I just thought: Wouldn't it be interesting if this were possible -
 in the same simplicity - over several machines as well? Like, something
 similar to: machine1:programX | machine2:programY | machine3:programZ...
 Machines could be identified by a name or an IP-Address.
 
 Just a thought...

$ programX | ssh machine2 programY

$ programX | ssh machine2 programY | ssh machine3 programZ

(if you have proper RSA keys and so on)

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]


Re: Piping across machines? - a suggestion

2007-05-16 Thread Roland Smith
On Wed, May 16, 2007 at 04:40:24PM +0200, Nino Ivanov wrote:
 I am still a newbie in some respects, so maybe this idea is a moot point
 or done already, but in case it is not, I'd like to suggest it:
 
 One nice thing about unix is this piping, like programX | programY |
 programZ...
 
 Well, I just thought: Wouldn't it be interesting if this were possible -
 in the same simplicity - over several machines as well? Like, something
 similar to: machine1:programX | machine2:programY | machine3:programZ...
 Machines could be identified by a name or an IP-Address.

That is what nc(1) is for, more or less. :-)

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)


pgpdvCZAFCjy9.pgp
Description: PGP signature


Re: Piping across machines? - a suggestion

2007-05-16 Thread Dan Nelson
In the last episode (May 16), Nino Ivanov said:
 I am still a newbie in some respects, so maybe this idea is a moot
 point or done already, but in case it is not, I'd like to suggest it:
 
 One nice thing about unix is this piping, like programX | programY |
 programZ...
 
 Well, I just thought: Wouldn't it be interesting if this were
 possible - in the same simplicity - over several machines as well?
 Like, something similar to: machine1:programX | machine2:programY |
 machine3:programZ... Machines could be identified by a name or an
 IP-Address.

If you have ssh configured to allow passwordless logins (either via
.shosts or key-based authentication), this works as you would expect:

  ssh machine1 programX | ssh machine2 programY | ssh machine3 programZ

Just remember to quote any file redirection or wildcard characters that
you want the remote systems to process.

-- 
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: Piping across machines? - a suggestion

2007-05-16 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: RIPEMD160

Nino Ivanov wrote:

 One nice thing about unix is this piping, like programX | programY |
 programZ...
 
 Well, I just thought: Wouldn't it be interesting if this were possible -
 in the same simplicity - over several machines as well? Like, something
 similar to: machine1:programX | machine2:programY | machine3:programZ...
 Machines could be identified by a name or an IP-Address.

man nc

Does exactly what you suggest, and it's in the base system.

Cheers,

Matthew


- --
Dr Matthew J Seaman MA, D.Phil.   Flat 3
  7 Priory Courtyard
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW, UK
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGSyTL3jDkPpsZ+VYRA5lNAJ4kzHkAvhS3yLZYzryF0HJEF3ZDuACgohDU
dWnMfKV8dGiRWg4UmVr/hFk=
=QkFA
-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: Piping across machines? - a suggestion

2007-05-16 Thread Alex Zbyslaw

Nino Ivanov wrote:


Dear Sir or Madam,

I am still a newbie in some respects, so maybe this idea is a moot point
or done already, but in case it is not, I'd like to suggest it:

One nice thing about unix is this piping, like programX | programY |
programZ...

Well, I just thought: Wouldn't it be interesting if this were possible -
in the same simplicity - over several machines as well? Like, something
similar to: machine1:programX | machine2:programY | machine3:programZ...
Machines could be identified by a name or an IP-Address.
 


programX | ssh machine2 programY | ssh machine3 programZ

works for pretty much any reasonable(*) choice of programY or programZ

--Alex

(*) terminal-based programs like less won't always work.


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


Setting locale information

2007-05-16 Thread Charlie Farinella
I need to set locale values to en_US.UTF-8 system wide.  
Is /etc/login.conf the right place to do that?

thanks,

--charlie

-- 

Charles Farinella 
Appropriate Solutions, Inc. (www.AppropriateSolutions.com)
[EMAIL PROTECTED]
voice: 603.924.6079   fax: 603.924.8668

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


Re: Newbie Question: Mail from from cron jobs...

2007-05-16 Thread Giorgos Keramidas
On 2007-05-16 03:21, Ian Lord [EMAIL PROTECTED] wrote:
 -Original Message-
 From: Oliver Peter [mailto:[EMAIL PROTECTED] 
 Sent: 16 mai 2007 03:18
 To: Jerry McAllister
 Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org
 Subject: Re: Newbie Question: Mail from from cron jobs...
 
  Look in the file /etc/mail/aliases
   
   You can alias root to go to your favorite address.
   Don't forget to run   newaliases(1)   after editing the file.
   
   Of course, doing this will mean that all mail to root will
   go to you.   
  
  Hhm. I thought the problem was that you would like to change the From:
  of those e-mails not the To: ?
 
 Exactly... I receive the emails since I correctly configured my aliases to
 redirect all mails externally...
 
 The problem I have is with the from...
 
 Someone told me to change the hostname in rc.conf, that won't work since I
 have 4 machines:
 
   Machine1.mydomain.com
   Machine2.mydomain.com
   Machine3.mydomain.com
   Machine4.mydomain.com
 
 I want the mail from to be 
 [EMAIL PROTECTED] not [EMAIL PROTECTED]

You have to enable 'masquerading' and (optionally) `genericstable' for
this sort of email address rewriting to work.

Here's a commented/example sendmail.mc snippet for that:

dnl Address masquerading.
dnl
dnl Making sure that all email that passes through my desktop's
dnl Sendmail installation is masqueraded as coming from
dnl `kobe.laptop', even if its original address is something
dnl slightly different (i.e. `ftp.laptop' or `mail.laptop'), is ok
dnl here.  It ensures that address rewriting and translation through
dnl `genericstable' will also work for all `*.laptop' host names.
dnl
dnl To make sure that remote hosts don't get a MAIL FROM address
dnl from a hostname that doesn't resolve, envelope addresses are
dnl masqueraded here too, and then get rewritten by `genericstable'
dnl to real-world addresses.
dnl
MASQUERADE_AS(`kobe.laptop')
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')

dnl Rewriting the envelope-from address of all outgoing messages
dnl through a `genericstable' lookup ensures that envelope-from
dnl addresses seen by relay hosts are real, i.e. have an address
dnl of [EMAIL PROTECTED]' instead of the default
dnl envelope-from of [EMAIL PROTECTED]' that Sendmail would use.
dnl
dnl This is required some times, to avoid getting bounces for
dnl messages from ISP mail relays that are misconfigured or are too
dnl strict about what can appear in a MAIL FROM command.
dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN(`kobe.laptop')
FEATURE(`generics_entire_domain')

Here `kobe.laptop' is my laptop's hostname, and I have enabled address
rewriting for some local email addresses by:

% cat /etc/mail/genericstable
#
# Address rewriting of outgoing email messages.
#

[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
%

You will have to use a similar setup to change the envelope-from and
header-from address of the outgoing messages your mail server sends.

- Giorgos

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


RE: Newbie Question: Mail from from cron jobs...

2007-05-16 Thread Ian Lord
Thanks a lot, it works perfectly.

I'm starting to think it was not that much of a newbie question since you
are the first one to give a working answer :)

Thanks again

-Original Message-
From: Giorgos Keramidas [mailto:[EMAIL PROTECTED] 
Sent: 16 mai 2007 12:22
To: Ian Lord
Cc: 'Oliver Peter'; 'Jerry McAllister'; freebsd-questions@freebsd.org
Subject: Re: Newbie Question: Mail from from cron jobs...

On 2007-05-16 03:21, Ian Lord [EMAIL PROTECTED] wrote:
 -Original Message-
 From: Oliver Peter [mailto:[EMAIL PROTECTED] 
 Sent: 16 mai 2007 03:18
 To: Jerry McAllister
 Cc: Oliver Peter; Ian Lord; freebsd-questions@freebsd.org
 Subject: Re: Newbie Question: Mail from from cron jobs...
 
  Look in the file /etc/mail/aliases
   
   You can alias root to go to your favorite address.
   Don't forget to run   newaliases(1)   after editing the file.
   
   Of course, doing this will mean that all mail to root will
   go to you.   
  
  Hhm. I thought the problem was that you would like to change the From:
  of those e-mails not the To: ?
 
 Exactly... I receive the emails since I correctly configured my aliases to
 redirect all mails externally...
 
 The problem I have is with the from...
 
 Someone told me to change the hostname in rc.conf, that won't work since I
 have 4 machines:
 
   Machine1.mydomain.com
   Machine2.mydomain.com
   Machine3.mydomain.com
   Machine4.mydomain.com
 
 I want the mail from to be 
 [EMAIL PROTECTED] not [EMAIL PROTECTED]

You have to enable 'masquerading' and (optionally) `genericstable' for
this sort of email address rewriting to work.

Here's a commented/example sendmail.mc snippet for that:

dnl Address masquerading.
dnl
dnl Making sure that all email that passes through my desktop's
dnl Sendmail installation is masqueraded as coming from
dnl `kobe.laptop', even if its original address is something
dnl slightly different (i.e. `ftp.laptop' or `mail.laptop'), is ok
dnl here.  It ensures that address rewriting and translation through
dnl `genericstable' will also work for all `*.laptop' host names.
dnl
dnl To make sure that remote hosts don't get a MAIL FROM address
dnl from a hostname that doesn't resolve, envelope addresses are
dnl masqueraded here too, and then get rewritten by `genericstable'
dnl to real-world addresses.
dnl
MASQUERADE_AS(`kobe.laptop')
FEATURE(`masquerade_entire_domain')
FEATURE(`masquerade_envelope')

dnl Rewriting the envelope-from address of all outgoing messages
dnl through a `genericstable' lookup ensures that envelope-from
dnl addresses seen by relay hosts are real, i.e. have an address
dnl of [EMAIL PROTECTED]' instead of the default
dnl envelope-from of [EMAIL PROTECTED]' that Sendmail would use.
dnl
dnl This is required some times, to avoid getting bounces for
dnl messages from ISP mail relays that are misconfigured or are too
dnl strict about what can appear in a MAIL FROM command.
dnl
FEATURE(`genericstable', `hash -o /etc/mail/genericstable')
GENERICS_DOMAIN(`kobe.laptop')
FEATURE(`generics_entire_domain')

Here `kobe.laptop' is my laptop's hostname, and I have enabled address
rewriting for some local email addresses by:

% cat /etc/mail/genericstable
#
# Address rewriting of outgoing email messages.
#

[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]

[EMAIL PROTECTED] [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]  [EMAIL PROTECTED]
[EMAIL PROTECTED]   [EMAIL PROTECTED]
%

You will have to use a similar setup to change the envelope-from and
header-from address of the outgoing messages your mail server sends.

- Giorgos

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


Re: File System errors

2007-05-16 Thread Gary Kline
On Wed, May 16, 2007 at 06:34:42AM +0100, Matthew Seaman wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 Gary Kline wrote:
 
  I booted into single-user (press 4) and got rid of tons of junk
  left in /var/tmp.  Then I did a mount -a and and fsck -y.
 
 But not in that order.  fsck -y *first*, then mount -a, then start
 removing files from /var/tmp.
 

Well, my DNS server ran out of space and when I was able to 
bring it back up, only / was mounted.  I was able to rm things
from /var and /tmp to give me some assurance of a regular boot.
Yes, before I did my first set of file unlinks I did fsck -y /;
it was the only thing mounted.  

I'm usually pretty disciplined about / having enough space.  Not
this time... .

gary


   Matthew
 
 - -- 
 Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
   Flat 3
 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
   Kent, CT11 9PW
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.3 (FreeBSD)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iD8DBQFGSpfy8Mjk52CukIwRCPsuAJsFQwT+G5APT3a4XccFcmODfYXMlQCfYCQR
 BI5cpzCkfYKOkFfSCGo9HvQ=
 =VlWP
 -END PGP SIGNATURE-

-- 
  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: Find out startup programs execution order..

2007-05-16 Thread Agus

2007/5/16, Lowell Gilbert [EMAIL PROTECTED]:


Agus [EMAIL PROTECTED] writes:

 2007/5/16, Jack Barnett [EMAIL PROTECTED]:

 Look before and after the error messages
 What other messages you see?  That'll give you a general idea on where
 it's at in the startup process when you get that error.

 On 5/15/07, Agus [EMAIL PROTECTED] wrote:
  Hi...
  i am trying to solve a problem with an error message during startup..
  su: /bin/csh : Permission Denied
 
  so i am trying to find the way the programs start during boot
 
  thats it
 
  Thanxsss
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 


 Yes..thats the way i found that the error was from mysql-server...
 but i thought that there might be a way to see the order programs
boot...and
 maybe change it...

Sure.

The documentation for this is under man rc.d.



Great...thanks for everyonei will begin reading.

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


module compile error

2007-05-16 Thread Luigi Iannone

Hi all,


I'm trying to implement a freebsd module, but I'm blocked on the  
following error:


When I try to compile my module, which has the following event handler


static int
module_event(module_t mod, int type, void *data)
{
  int err = 0;
  int s;

  switch (type) {
  case MOD_LOAD:


	s =   socket(AF_INET, SOCK_DGRAM, 0);   /* THIS IS THE  
ERROR...*/


#ifdef LISP_DEBUG
log(LOG_DEBUG,  Module loaded );
#endif /* LISP_DEBUG */

break;

  case MOD_UNLOAD:


#ifdef LISP_DEBUG
log(LOG_DEBUG,  Module unloaded);
#endif /* LISP_DEBUG */

break;

  default:
err = EINVAL;
break;
  }
  return err;
}


The compiler blocks with the error warning: implicit declaration of  
function 'socket' . warning: nested extern declaration of  
'socket'.


Any hint on what I do wrong?

If this is not the correct mailinglist  I apologies, just let me know  
where to send my question.


Thanks





[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: DNS Cache - Bind

2007-05-16 Thread Mikhail Goriachev
Jack Barnett wrote:
 I'm running Bind 9.3.4 on FreeBSD 6.2 for my local network.
 
 It doesn't have any zones, it's just a local DNS that has a bunch of 
 forwarders.
 
 The first request is slow (between 150 and 300 ms) - but after that
 (the next query on same domain) is fast (less then 10 ms usually).
 This is nice and working the way I like it. :)
 
 What I'm wondering though is:
 
 a) How do I flush the cache if I need to (ie. need to get a new update
 from the forwards) - just restart named?


# man rndc

# rndc flush


 b) Are there any settings I can tweak that determine how long the
 cache is kept?  (ie. Say I want to keep all queries for 7 days before
 they are queried from the upstream DNS servers).  [This will probably
 screw up dynamic DNS sites, but want to see what settings are
 available]


# man named.conf

But this is what you're after:

max-cache-ttl integer;


www.isc.org has a lot more (detailed) info.


 c) Is there a easy way to 'blacklist' sites?  Say I want
 'SpammerNetwork.com' to resolve to 127.0.0.1.


This is a great start:

http://www.cymru.com/Documents/secure-bind-template.html


 Basically I want to take this host file:
 http://www.mvps.org/winhelp2002/hosts.htm
 and then pump it into my DNS server, that way all the LAN clients are
 protected from these sites.
 Is there a way to do that?


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Disk going bad?

2007-05-16 Thread Mikhail Goriachev
Jack Barnett wrote:
 I think I have a disk going bad.  Is there any tools for freebsd
 that'll check the disk and let me know if there is a hardware problem
 or not?
 
 (I'm getting ECC errors from my controller and trying to firgure out
 if it's a bad controller or a bad drive [already checked the cables
 and all that, so just have it down to these 2 peices of hardawre])


I'd suggest downloading your disc manufacturer's diagnostic tools. Those
are your better chances to spot faulty drives.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Backing up large partitions

2007-05-16 Thread scuba
Hi,

On Tue, 15 May 2007, Phusion wrote:

|I need some advice on how to backup a UNIX server. The server has
|multiple large partitions ranging from 200 to 400 GB. Also, the server
|doesn't have a tape drive. We recently got a large NAS device that has
|2 TB of storage space. The UNIX server has Samba installed and can be
|setup to mount a Windows network share. I would like the ability to
|run full and incremental backups as well as restores. Let me know what
|you think.

Take a look at rsnapshot (it's in ports), it uses rsync with 
hardlinks to decrease the size of incremental backups.


- Marcelo

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


Re: File System errors

2007-05-16 Thread Mikhail Goriachev
Ross Penner wrote:
 On 5/15/07, Roland Smith [EMAIL PROTECTED] wrote:
 On Tue, May 15, 2007 at 12:15:06PM -0600, Ross Penner wrote:
  I recently had my system freeze so I had to manually restart it. I was
  worried that there would be some problems with the filesystem so I
  looked into the matter and discovered the utility fsck. I ran this as
  root and I got the following:
 You normally don't have to do this manually. If a filesystem isn't
 cleanly unmounted, it is automatically checked (in the background if
 possible, so it might take a while) on the next boot.

 And in that case fsck won't bother you unless it runs into problems it
 can't solve.

 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)

 
 Thanks for everybodies help. I restarted in single user mode which
 allowed me to do the check manually. I'll probably just let the
 background check go if it happens again.


By default, the background checking doesn't do much. In my experience,
every time one of the machines goes down, I have to schedule a manual
fsck (fsck -fy) in single user mode.

Another option, probably, is this:

fsck_y_enable=YES

It sounds scary though.


Regards,
Mikhail.

-- 
Mikhail Goriachev
Webanoide

Telephone: +61 (0)3 62252501
Mobile Phone: +61 (0)4 38255158
E-Mail: [EMAIL PROTECTED]
Web: www.webanoide.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Best remote backup method?

2007-05-16 Thread Paul Schmehl
I'm presently backing up two servers in a remote location to a usb drive 
located elsewhere by using rsync over ssh (all three are FreeBSD boxes.) 
After the recent discussion about dump, I'm wondering if I would gain 
anything by using dump rather than rsync.  Has anyone used both?  Any 
thoughts as to which is better and why?


The rsync command I use is:
rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}

--
Paul Schmehl ([EMAIL PROTECTED])
Senior Information Security Analyst
The University of Texas at Dallas
http://www.utdallas.edu/ir/security/


amd64 FreeBSD Release 5.5 - 6.2

2007-05-16 Thread Duane Hill


I have a server that, at first, required 5.5 because of the MTA that was 
running on the server. It no longer is running that particular MTA 
anymore. I need to upgrade the server to release 6.2.


Is it just a matter of changing the release tag within the cvsup file from 
RELENG_5_5 to RELENG_6_2, removing the contents of /usr/src/*, removing 
the contents of /usr/obj/*, and doing a clean cvsup?


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


Lexmark E120 (with CUPS or apsfilter)

2007-05-16 Thread scuba

Hi All,

Has Anyone successfully installed this printer on a FBSD machine?

	I tried it using CUPS, it works but some times it sends some 
garbage to printer (basically when printing from a Windows machine).
	Using apsfilter, no driver seems to work. When printing, even from 
FBSD host machine, the printer does not pull the paper.



I'm looking for some successful story.

- Marcelo

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


Re: Best remote backup method?

2007-05-16 Thread Jerry McAllister
On Wed, May 16, 2007 at 01:38:13PM -0500, Paul Schmehl wrote:

 I'm presently backing up two servers in a remote location to a usb drive 
 located elsewhere by using rsync over ssh (all three are FreeBSD boxes.) 
 After the recent discussion about dump, I'm wondering if I would gain 
 anything by using dump rather than rsync.  Has anyone used both?  Any 
 thoughts as to which is better and why?
 
 The rsync command I use is:
 rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}

Well, I suppose you could dump to a file and then rsync it to the
other machine...

Basically, I think dump would give you a file over there that
is in dump format and rsync would give you something that 
essentially duplicates the file system you are backing up rather
than creating a dump file.

A dump file would be easier to pull back and restore if you had a 
major/catastrophic loss of disk and had to replace the disk (or undo 
an inappropriate rm -rf *).

Either would be about the same effort restoring a single or handful
of files from backup.

jerry


 
 -- 
 Paul Schmehl ([EMAIL PROTECTED])
 Senior Information Security Analyst
 The University of Texas at Dallas
 http://www.utdallas.edu/ir/security/

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


Re: 3D acceleration within non-root account

2007-05-16 Thread Ladislav Jozsa

Thank you for your answer.

Tijl Coosemans wrote:

This last line says direct rendering is enable so I assume this is when
you run as root? What does the non-root log say?
  
The answer for the first question is yes. The Xorg server is started 
under root account via statement gdm_enable=YESin /etc/rc.conf. When I 
disable it and try to run Xorg via startx under non-root account the log 
output is:


(==) RADEON(0): Write-combining range (0xc010,0x8) was already clear
(==) RADEON(0): Write-combining range (0xe000,0x200)
(==) RADEON(0): Write-combining range (0xa,0x1) was already clear
(II) RADEON(0): Dynamic Clock Scaling Disabled
(II) RADEON(0): BIOS HotKeys Disabled
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: Searching for BusID pci::01:00.0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenByBusid: drmOpenMinor returns 6
drmOpenByBusid: drmGetBusid reports pci::01:00.0
(II) RADEON(0): [drm] DRM interface version 1.2
(II) RADEON(0): [drm] created radeon driver at busid pci::01:00.0
(II) RADEON(0): [drm] added 8192 byte SAREA at 0xc4c5a000
(II) RADEON(0): [drm] mapped SAREA 0xc4c5a000 to 0x28786000
(II) RADEON(0): [drm] framebuffer handle = 0xe000
(II) RADEON(0): [drm] added 1 reserved context for kernel
(II) RADEON(0): [agp] Mode 0x1f000217 [AGP 0x/0x; Card 
0x1002/0x4c57]

(II) RADEON(0): [agp] 8192 kB allocated with handle 0xc49f57c0
(II) RADEON(0): [agp] ring handle = 0xd000
(II) RADEON(0): [agp] Ring mapped at 0x2a876000
(II) RADEON(0): [agp] ring read ptr handle = 0xd0101000
(II) RADEON(0): [agp] Ring read ptr mapped at 0x28788000
(II) RADEON(0): [agp] vertex/indirect buffers handle = 0xd0102000
(II) RADEON(0): [agp] Vertex/indirect buffers mapped at 0x2a977000
(II) RADEON(0): [agp] GART texture map handle = 0xd0302000
(II) RADEON(0): [agp] GART Texture map mapped at 0x2ab77000
(II) RADEON(0): [drm] register handle = 0xc010
(II) RADEON(0): [dri] Visual configs initialized
(**) RADEON(0): Enabling depth moves
(II) RADEON(0): CP in BM mode
(II) RADEON(0): Using 8 MB GART aperture
(II) RADEON(0): Using 1 MB for the ring buffer
(II) RADEON(0): Using 2 MB for vertex/indirect buffers
(II) RADEON(0): Using 5 MB for GART textures
(II) RADEON(0): Memory manager initialized to (0,0) (1024,8191)
(II) RADEON(0): Reserved area from (0,768) to (1024,770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7421
(II) RADEON(0): Will use back buffer at offset 0x90
(II) RADEON(0): Will use depth buffer at offset 0xc0
(II) RADEON(0): Will use 17408 kb for textures at offset 0xf0
(II) RADEON(0): Render acceleration enabled
(II) RADEON(0): Using XFree86 Acceleration Architecture (XAA)
   Screen to screen bit blits
   Solid filled rectangles
   8x8 mono pattern filled rectangles
   Indirect CPU to Screen color expansion
   Solid Lines
   Scanline Image Writes
   Offscreen Pixmaps
   Setting up tile and stipple cache:
   32 128x128 slots
   32 256x256 slots
   16 512x512 slots
(II) RADEON(0): Acceleration enabled
(**) RADEON(0): Option BackingStore true
(**) RADEON(0): Backing store enabled
(==) RADEON(0): Silken mouse enabled
(II) RADEON(0): Using hardware cursor (scanline 770)
(II) RADEON(0): Largest offscreen area available: 1024 x 7417
(**) Option dpms true
(**) RADEON(0): DPMS enabled
(II) RADEON(0): Detected Radeon Mobility M7, disabling multimedia i2c
(II) Loading sub module theatre_detect
(II) LoadModule: theatre_detect
(II) Loading /usr/X11R6/lib/modules/multimedia/theatre_detect_drv.so
(II) Module theatre_detect: vendor=X.Org Foundation
   compiled for 4.3.99.902, module version = 1.0.0
   ABI class: X.Org Video Driver, version 0.8
(II) RADEON(0): no multimedia table present, disabling Rage Theatre.
(WW) RADEON(0): Option DRI is not used
(WW) RADEON(0): Option AllowGLXWithComposite is not used
(WW) RADEON(0): Option UseUnternalAGPGART is not used
(II) RADEON(0): X context handle = 0x1
(II) RADEON(0): [drm] installed DRM signal handler
(II) RADEON(0): [DRI] installation complete
(II) RADEON(0): [drm] Added 32 65536 byte vertex/indirect buffers
(II) RADEON(0): [drm] Mapped 32 vertex/indirect buffers
(II) RADEON(0): [drm] dma control initialized, using IRQ 11
(II) RADEON(0): [drm] Initialized kernel GART heap manager, 5111808
(II) RADEON(0): Direct rendering enabled


Also, how are you starting X, with startx? If so, is /usr/X11R6/Xorg
setuid root?
  

/usr/X11R6/bin/Xorg is setuid root.


Do you load the radeon.ko and drm.ko kernel modules from
/boot/loader.conf?

Originally no. I have added it there, but there is no change in behaviour.

Any other ideas?

Many thanks,
Ladislav

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

RE: Piping across machines? - a suggestion

2007-05-16 Thread Nino Ivanov
Thank you all for the tips with ssh  nc!

I simply wondered whether some old 486-machines might be put to some
cluster use... This obviously answers it! :)

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


Re: Best remote backup method?

2007-05-16 Thread Peter Schuller
 I'm presently backing up two servers in a remote location to a usb drive
 located elsewhere by using rsync over ssh (all three are FreeBSD boxes.)
 After the recent discussion about dump, I'm wondering if I would gain
 anything by using dump rather than rsync.  Has anyone used both?  Any
 thoughts as to which is better and why?
 
 The rsync command I use is:
 rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}

Personally I never find dump/restore practical since I seldom want to
backup entire filesystems for performance/diskspace reasons.

I have not found any truly perfect solution; what I am using most often
is rdiff-backup which combines the properties of incremental backups and
rsync. It keeps an up-to-date mirror along with reverse diffs.

The good parts are that:

* It works without hassle right off the bat over ssh. No fuss.

* It is able to backup ownership information without running as root,
because meta-data is stored separately from the files (but at the same
time the up-to-date mirror is a plain tree on disk so you do not
actually have to use rdiff-backup for restores unless you care about
ownership and such).

* Other than using the rsync algorithm for transfers, the actual reverse
diffs are also expressed at a more granular level than entire files. End
result is that a daily backup of that 5 gig log file will not consume 5
gigs of storage per day (but will be very slow to backup).

The main downsides are IMO:

* It's fairly slow. I don't generally see it saturating neither disk nor
networking. Sometimes it's CPU bound, but oftentimes it's just slow
without an obvious bottleneck (probably architectural in the protocol).

* It has some reliability issues. A common problem is that certain
meta-dat is kept in gzip files, and in certain cases of rdiff-backup
being interrupted these files will get corrupted and rdiff-backup will
refuse to function due to the gzip library throwing an exception.

* While it basically works like rsync with history and is thus very
simple to get started with, it does just that. If you want things like
automatic rotation schemes with hourly/daily/etc you have to script that
on top.


-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org




signature.asc
Description: OpenPGP digital signature


Re: Stable many-port SATA controller recommendations

2007-05-16 Thread Peter Schuller
 I'm definitely interested in hearing your results.

Still looking encouraging with 7 drives plugged in. I have had a couple
of issues that may or may not have anything to do with the controller
support. I will send an update in a few days or so when I know more.

 Also, what is the
 model of the drives you're using with this card?

6 Seagate ST3320620AS (320 GB, SATA I) drives and one Maxtor 7V250F0
(250 GB, SATA II).

Note that it is a PCI-X card. It works fine in the plain PCI slot on
this motherboard, and the place I bought it from said they had tested it
in at least one PCI motherboard.

By your name you may be in Sweden; so FYI I purchased these cards from
Mullet (www.mullet.se). They're the only supplier I have found that
carries this locally. It's a shame really since it's such a good card
given the price.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org




signature.asc
Description: OpenPGP digital signature


Re: Best remote backup method?

2007-05-16 Thread Roland Smith
On Wed, May 16, 2007 at 01:38:13PM -0500, Paul Schmehl wrote:
  I'm presently backing up two servers in a remote location to a usb drive 
  located elsewhere by using rsync over ssh (all three are FreeBSD boxes.) 
  After the recent discussion about dump, I'm wondering if I would gain 
  anything by using dump rather than rsync.  Has anyone used both?  Any 
  thoughts as to which is better and why?
 
  The rsync command I use is:
  rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}

With dumps it is easier to keep different ones around. If you rsync a
directory, all previous changes are lost. If you rsync to a different
directory every time to keep different versions, you might as well use
tar, because rsync won't save a lot of space/time in that case. And dump
will backup all ufs2 features such as flags and acls. I'm not sure if
rsync can manage that. It's also easy to compress dumps, which can save
a lot of space.

But if you need to lift a single file from a backup, it might be easier
with rsync, although dump has an interactive mode to select stuff to
restore as well.

A compelling reason to use rsync would be if the file system that is to
be backed up is so large that more than one backup won't fit on your
backup disk anyway. In that case rsync can save you a lot of time.

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)


pgpziGdV2pUCD.pgp
Description: PGP signature


FlashPlugin for Mozilla FireFox

2007-05-16 Thread Vladimir Strezhnev


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


Re: Lexmark E120 (with CUPS or apsfilter)

2007-05-16 Thread Roland Smith
On Wed, May 16, 2007 at 03:40:04PM -0300, [EMAIL PROTECTED] wrote:
  Hi All,
 
   Has Anyone successfully installed this printer on a FBSD machine?
 
   I tried it using CUPS, it works but some times it sends some garbage to 
  printer (basically when printing from a Windows machine).
   Using apsfilter, no driver seems to work. When printing, even from FBSD 
  host machine, the printer does not pull the paper.

According to the openprinting database it should work perfectly;
http://openprinting.org/show_printer.cgi?recnum=Lexmark-E120

One of the things that CUPS can do is transform different kinds of of
files to something that the printer can digest.

What I think you should do is create a raw printer that doesn't use
any of those filters. Print to that printer from your windows box.

Or you could use a generic postscript printer driver on your windows
box, and CUPS will convert it to the correct format.

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)


pgpduwR2JN1S7.pgp
Description: PGP signature


Re: Best remote backup method?

2007-05-16 Thread youshi10

On Wed, 16 May 2007, Roland Smith wrote:


On Wed, May 16, 2007 at 01:38:13PM -0500, Paul Schmehl wrote:

 I'm presently backing up two servers in a remote location to a usb drive
 located elsewhere by using rsync over ssh (all three are FreeBSD boxes.)
 After the recent discussion about dump, I'm wondering if I would gain
 anything by using dump rather than rsync.  Has anyone used both?  Any
 thoughts as to which is better and why?

 The rsync command I use is:
 rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}


With dumps it is easier to keep different ones around. If you rsync a
directory, all previous changes are lost. If you rsync to a different
directory every time to keep different versions, you might as well use
tar, because rsync won't save a lot of space/time in that case. And dump
will backup all ufs2 features such as flags and acls. I'm not sure if
rsync can manage that. It's also easy to compress dumps, which can save
a lot of space.


Tar is expensive time-wise anyhow after a while if you use compression.

Also, rsync does diffs on files, which can become expensive in terms of time.

-Garrett

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


Dell Inspiron 1501 Express PCI slot

2007-05-16 Thread Old Ranger

Greetings to all,
Fed Ex delivered a Wistron Neweb CM9 Mini-PCI wireless nic to me today, 
with Atheros chipset.

Made me very happy indeed!

U, now I find that it won't fit in the PCI slot in my Dell Inspiron 
1501 because Dell no longer uses standard sized PCI slots.

They call them Express PCI slots.

My question is this:  Does anyone know of an adapter that will mate the 
one to the other?

-OR-
Am I SOL?

Sincerely,
Z. Wade Hampton
Brigham City, UT

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


Re: Best remote backup method?

2007-05-16 Thread Jeff Mohler

Is there a free NDMP tool for Freebsd?

On 5/16/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


On Wed, 16 May 2007, Roland Smith wrote:

 On Wed, May 16, 2007 at 01:38:13PM -0500, Paul Schmehl wrote:
  I'm presently backing up two servers in a remote location to a usb
drive
  located elsewhere by using rsync over ssh (all three are FreeBSD
boxes.)
  After the recent discussion about dump, I'm wondering if I would gain
  anything by using dump rather than rsync.  Has anyone used both?  Any
  thoughts as to which is better and why?

  The rsync command I use is:
  rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}

 With dumps it is easier to keep different ones around. If you rsync a
 directory, all previous changes are lost. If you rsync to a different
 directory every time to keep different versions, you might as well use
 tar, because rsync won't save a lot of space/time in that case. And dump
 will backup all ufs2 features such as flags and acls. I'm not sure if
 rsync can manage that. It's also easy to compress dumps, which can save
 a lot of space.

Tar is expensive time-wise anyhow after a while if you use compression.

Also, rsync does diffs on files, which can become expensive in terms of
time.

-Garrett

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


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


Re: Best remote backup method?

2007-05-16 Thread Roland Smith
On Wed, May 16, 2007 at 10:27:35PM +0200, Roland Smith wrote:
 On Wed, May 16, 2007 at 01:38:13PM -0500, Paul Schmehl wrote:
   I'm presently backing up two servers in a remote location to a usb drive 
   located elsewhere by using rsync over ssh (all three are FreeBSD boxes.) 
   After the recent discussion about dump, I'm wondering if I would gain 
   anything by using dump rather than rsync.  Has anyone used both?  Any 
   thoughts as to which is better and why?
  
   The rsync command I use is:
   rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}
 
 With dumps it is easier to keep different ones around. If you rsync a
 directory, all previous changes are lost. If you rsync to a different
 directory every time to keep different versions, you might as well use
 tar, because rsync won't save a lot of space/time in that case. And dump
 will backup all ufs2 features such as flags and acls. I'm not sure if
 rsync can manage that. It's also easy to compress dumps, which can save
 a lot of space.
 
 But if you need to lift a single file from a backup, it might be easier
 with rsync, although dump has an interactive mode to select stuff to
 restore as well.
 
 A compelling reason to use rsync would be if the file system that is to
 be backed up is so large that more than one backup won't fit on your
 backup disk anyway. In that case rsync can save you a lot of time.

And, if you _really_ screw things up, like 'rm -rf foo *'
instead of 'rm -rf foo*' from /usr/bin, bunzip2 and restore are right there
in /rescue, while rsync isn't. And getting rsync to work when /usr/bin is
hosed is quite a lot of work (no compiler etc).

And yes, these things happen (speaking from personal experience). :-(

So making backups with something that is available in /rescue or on the
boot CD is definitely a huge plus. Because if you need those backups,
chances are you need them badly.

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)


pgpiwml5xnL8X.pgp
Description: PGP signature


Re: Best remote backup method?

2007-05-16 Thread Jerry McAllister
On Wed, May 16, 2007 at 10:15:05PM +0200, Peter Schuller wrote:

  I'm presently backing up two servers in a remote location to a usb drive
  located elsewhere by using rsync over ssh (all three are FreeBSD boxes.)
  After the recent discussion about dump, I'm wondering if I would gain
  anything by using dump rather than rsync.  Has anyone used both?  Any
  thoughts as to which is better and why?
  
  The rsync command I use is:
  rsync -avz ${LOCALDIR} -e ssh -i ${KEY} ${REMOTEHOST}:${REMOTEDIR}
 
 Personally I never find dump/restore practical since I seldom want to
 backup entire filesystems for performance/diskspace reasons.

That is one reason I divide things up in to more partitions
and thus more specific filesystems.   I can isolate the things I
want to back up regularly from those that do not need it.

jerry

 .

 automatic rotation schemes with hourly/daily/etc you have to script that
 on top.
 
 
 -- 
 / Peter Schuller
 
 PGP userID: 0xE9758B7D or 'Peter Schuller [EMAIL PROTECTED]'
 Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
 E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org
 
 


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


Re: Best remote backup method?

2007-05-16 Thread Norberto Meijome
On Wed, 16 May 2007 22:55:04 +0200
Roland Smith [EMAIL PROTECTED] wrote:

 And, if you _really_ screw things up, like 'rm -rf foo *'
 instead of 'rm -rf foo*' from /usr/bin, bunzip2 and restore are right there
 in /rescue, while rsync isn't. And getting rsync to work when /usr/bin is
 hosed is quite a lot of work (no compiler etc).
 
 And yes, these things happen (speaking from personal experience). :-(
 
 So making backups with something that is available in /rescue or on the
 boot CD is definitely a huge plus. Because if you need those backups,
 chances are you need them badly.

Very true.
Also, dump/restore allows you to use snapshots on a live filesystem (I would
test it properly on a large FS with heavy activity). 

Now, if you are worried about backing up the whole filesystem...well, just
tell dump not to dump it :)

man chflags (in particular, the nodump flag)
man dump (in particular, -h )

having said that, each tool has its advantages i use rdiff-backup for my
laptop, but dump/restore on servers .

_
{Beto|Norberto|Numard} Meijome

If you were supposed to understand it, we wouldn't call it 'code'.

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]


From Michael Sinensky of Proof Pourhouse

2007-05-16 Thread [EMAIL PROTECTED]
Subject:  From Michael Sinensky of Proof Pourhouse- the importance of
this charity: MaroonEffect.org

My sincere apologies for interrupting you during your busy day. I
co-organizedMaroonEffect.org with the Manhattan Hokies (the official NYC
Alumni Chapter of Virginia Tech), and the David Wright Foundation. The
charity is producing a fundraiser this Friday, May 18th at Webster Hall
to raise funds mainly for scholarships in the names of the students
who were lost on April 16th.

Please take a moment to read an email from a parent of one of the
victims to understand why we are doing this. People ask, Why donate to
this cause?  The reason is, we want these young people to be remembered.
We would like to create a legacy in the names of these victims whose lives
were unjustly taken away.

Our goal- to raise $250,000 which will allow us to setup scholarships, for
decades to come, in the names of the students and faculty who lost their
lives.  This legacy we hope will honor these innocent victims and their
families, as shown in the email below.

Please buy your tickets for our MaroonEffect.org event now or donate if
you cannot attend. If you cannot do either, we understand and thank you
for taking the time to read about our charity. Please forward this to
your friends , family and business associates to spread the word of
MaroonEffect. I look forward to seeing you at the tribute event Friday.

Thank you and best regards,

Michael A. Sinensky

www.youtube.com/profile?user=VTMaroonEffect

Email from VT Student's Mother:

From: Marian Hammaren
Sent: Friday, May 11, 2007 10:47 PM
To: alumnivt
Subject: Re: VT Manhattan Hokies Chapter Event

Thank you so much for doing this! As New Yorker's and as the parent's
of Caitlin Hammaren, we, at times, feel isolated since we are not
fromthe Virginia region and are unable to participate in the
services/memorials that have taken place there. The loss of our
beautiful daughter and only child remains incomprehensible. We love
Virginia Tech as Caitlin did and through your efforts we see the very
sense of community that we experienced down at Tech these past two
years.Thank you again and God bless you. So That I May Serve
Marian Hammaren and Caitlin's Family


_
Change address / Leave mailing list: http://yourmailinglistprovider.net/[EMAIL 
PROTECTED]
Hosting by  YourMailingListProvider
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Startup errors....su:/bin/csh Perm denied..

2007-05-16 Thread Agus

2007/5/16, Agus [EMAIL PROTECTED]:


2007/5/16, Oliver Peter [EMAIL PROTECTED]:

 On Tue, May 15, 2007 at 07:24:27PM -0300, Agus wrote:
  ...
  Here is part of the boot..
  Updating motd
  Starting mysql.
  su: /bin/csh: Permission denied
  Configuring syscons: keymap blanktime.
  Starting sshd.
  can not chdir(/var/spool/clientmqueue/): Permission denied
  Program mode requires special privileges...
  Starting cron.
  Local package initializations...
  Starting inetd.

 Interesting.
 Do you see the same when you start/stop it manually?

   # /usr/local/etc/rc.d/mysql-server restart

 --
 Oliver PETER, email: [EMAIL PROTECTED] , ICQ# 113969174
 Worker bees can leave. Even drones can fly away. The Queen is their
 slave.

 yesthats how i realized that the problem was with mysqlfirst i
checked netstat and didnt see the port so i started up manually and get that
error

Thanks..



Still the same error.any hint where to look??

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


Problems installing freeBSD 6.2 on older computer

2007-05-16 Thread Eric Mesa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Just acquired an old computer from someone and want to put freeBSD on
it.

It's a dual processor P2 200 Mhz with 128 MB ram.  It has a DVD-ROM
and a floppy drive.  I was told by the former owner, who built it,
that the computer would not install the latest types of Linux installs
that required booting from CD.  He also told me that the BIOS cannot
be updated.  He's pretty knowledgeable about computers so I believe him.

Here's the procedure I've been following which has been failing for
two days now.

1.  Use the boot floppy to boot from A: then floppies kern1-kern3
2.  After kern3 reinster boot then after hitting enter I get some
text, including
zf_read:  fill error

3.  It continues to the BSD Menu - I've tried nearly every option here
from Default to ACPI to safe mode to logging mode.
4.  it does the device probe - when it gets to the DVD-ROM, it prints out:
acd0:  FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
5.  Then it gives me:

Manual root filesystem specification

mountroot


I am stuck here no matter what I try.  This is driving me nuts!  If
anyone can help me with this I'd be eternally grateful.  Everything I
found on google either referenced burning a CD or disabling the Zip drive.

Oh, I know these CDs are good media because I've used them to install
freeBSD 3 times already.  Also, I have a commercial BSD CD from 4.5
and one from 5.0pre and neither of them work.

Thanks,

- --
Eric Mesa
[EMAIL PROTECTED]
http://www.ericsbinaryworld.com
Note:  All emails from this address should have a GPG signature.  If
you have the proper setup you can use this to confirm my identity and
that the email was not changed in transit.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGS5aVPvU+8ApmWXIRAvuRAJ9tFF7awUMHf9u3mnV0dF53JfGLcACg0a5R
cF05pKUnEacQ9aajd4k7EtQ=
=GIzQ
-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: Problems installing freeBSD 6.2 on older computer

2007-05-16 Thread Eric Mesa
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jack Barnett wrote:
 Do you have another CD Drive you could use, just to get it
 installed?

 Another thing you could try is an FTP install.. I do that all the
 time and works good if you have faster internet connection.

 -J



I'm not 100% sure, but I don't think it's the CD drive - I think it's
related to the bios.  Also, I can't get to the FTP part.  It never
even gets that far.
- --
Eric Mesa
[EMAIL PROTECTED]
http://www.ericsbinaryworld.com
Note:  All emails from this address should have a GPG signature.  If
you have the proper setup you can use this to confirm my identity and
that the email was not changed in transit.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFGS57yPvU+8ApmWXIRAu05AJ9/gZq/8/Fa6BMuWbcUg9Svfwe9NwCeOIfn
Ojaj9Y9fysSdzn4Jc3XfLOg=
=JoAl
-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]


In regard to SATA controllers.

2007-05-16 Thread John Wilson


Hello, folks.

I am currently running 6.2-stable on an Intel D965OT mainboard.  I've 4 
320gb drives, the first being the boot and system drive, the other 3 are 
running in a raid 3 setup via geom_raid3.  All is running well enough.


However, I would like to expand my capacity, but this will then saturate 
the available SATA ports on the mainboard, which means I now have to look 
for a new controller.


On the high end of things (at least for me and my intended application), 
I've been looking at the HighPoint 2320 PCI Express card.  True hardware 
RAID and native support via. the rr232x driver seems like a nice match. 
However, in the event of a controller failure, I'm pretty much screwed 
unless I have a spare controller on hand.  Not to mention that if this 
controller is not made any longer at the time of failure, well, I don't 
really know what my options would be at that point.  Perhaps this is the 
bane of RAID controllers in general.  Then again, my experience level in 
this sort of application is about nil.


On the flip side, since I've had good luck using the geom architecture for 
RAID 3, my other option would be a regular controller and keeping with the 
software RAID setup.  At least in this instance, if the controller goes 
south, I can just swap it out with another, and continue on without much 
hassle.  However, in this instance, I would need a few suggestions as to 
which controller would be best.


I've been looking at a few of the lower end HighPoint software RAID 
controllers as well, such as the HighPoint 2310.  I'm uncertain if there 
is native support for this controller.  I do understand that HighPoint 
does indeed have drivers available for FreeBSD, but if they are binary 
modules, I'd almost want to stay away from it.  I'd much prefer either 
native drivers or manufacturer drivers in source form.  However, failing 
the above cases, would it be possible to just run this card as a simple 
SATA controller and continue using geom_raid3?  This particular card uses 
a Marvell controller, so I would guess that it would be detected by 
FreeBSD without issue.  If someone could confirm this, it would be much 
appreciated.


The function of the machine is simple.  It's a home NAS for 3 other 
machines, but also does other light duties as well, so ultimate 
performance isn't really that much of an issue.  As things are now, 
utilizing geom_raid3, the performance is rather good.


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


Re: Problems installing freeBSD 6.2 on older computer

2007-05-16 Thread Chris Slothouber
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2007-05-16 19:41, Eric Mesa wrote:
 Just acquired an old computer from someone and want to put freeBSD on
 it.
 (snip)
 acd0:  FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
 5.  Then it gives me:


Hi Eric,

Have you tried disconnecting the CD drive and doing an FTP install?

- - Chris

- --
Chris Slothouber ([EMAIL PROTECTED]) -=- Mercenary Sysadmin
BIZ: http://www.hier7.com -=- building.better.ideas
PGP: 7A83 F021 5AC3 4BD7 6738 21D8 B348 0B16 79C0 C27F
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGS67ds0gLFnnAwn8RAjd4AKCGKjhHk/upEP56f6JtR3Cc29m/bgCZAcVy
3AD1xFo8ettq3EvYLLFXUQ4=
=7KGL
-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]


mysql start error...

2007-05-16 Thread Agus

Hi,
I am getting an error while trying to run mysql-server...
Wired thing is that it was running ok for a month.suddenly i got this
error..

su: /bin/csh: Permission denied


thanks for any hints you could give

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


Re: Dell Inspiron 1501 Express PCI slot

2007-05-16 Thread perryh
 Fed Ex delivered a Wistron Neweb CM9 Mini-PCI wireless nic to me
 ...
 U, now I find that it won't fit in the PCI slot in my Dell
 Inspiron 1501 because Dell no longer uses standard sized PCI slots.
 They call them Express PCI slots.

 Does anyone know of an adapter that will mate the one to the other?

In principle, it should be possible to build a PCI-Express
card containing a PCI-Express to PCI bridge chip and one or
more PCI slots.  I have no idea whether such a device is
commercially available.

In practice, the combination might not fit in the box, and/or
the BIOS might not be set up to enumerate a PCI bus downstream
of the PCI-Express bus.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: amd64 FreeBSD Release 5.5 - 6.2

2007-05-16 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Duane Hill wrote:
 
 I have a server that, at first, required 5.5 because of the MTA that was
 running on the server. It no longer is running that particular MTA
 anymore. I need to upgrade the server to release 6.2.
 
 Is it just a matter of changing the release tag within the cvsup file
 from RELENG_5_5 to RELENG_6_2, removing the contents of /usr/src/*,
 removing the contents of /usr/obj/*, and doing a clean cvsup?

Pretty much.  You don't actually need to delete /usr/src/*, and not
doing so will save you some bandwidth.

You should be able to upgrade the system by a routine buildworld,
buildkernel ... type operation, but beware that you will need to
recompile all of your ports because of potential shlib version 
clashes.  Ports from 5.5 will still work on 6.2, but later trying to
update them piecemeal can lead to misery.

Cheers,

Matthew

- -- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
  Kent, CT11 9PW
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGS84Z8Mjk52CukIwRCAXiAKCNzKK5NoHsCKwUBpwb2exXBxALOwCcCPFJ
8c6FJamMM6+TAM5d9itSPz0=
=THxJ
-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]


milter-greylist error

2007-05-16 Thread doug
My question is how to restart the milter after an error. I am running FreeBSD 
5.5 with milter-greylist and sendmail. I made a change with a syntax error and 
got:


  May 16 20:53:13 newharbor milter-greylist: config error at line 89: syntax 
error
  May 16 20:53:13 newharbor milter-greylist: Final database dump
  May 16 20:53:13 newharbor milter-greylist: Exiting
  May 16 20:53:14 newharbor sm-mta[19137]: l4H0rCWO019137: Milter (greylist):
   write(D) returned -1, expected 59: Broken pipe
  May 16 20:53:14 newharbor sm-mta[19137]: l4H0rCWO019137: Milter (greylist): to
   error state

so I backed up to the previous conf file and got an unending series of:

  May 16 20:53:28 newharbor sm-mta[19142]: l4H0rSwG019142: Milter: 
initialization
   failed, temp failing commands
  May 16 20:53:31 newharbor sm-mta[19139]: l4H0rVxw019139: Milter (greylist):
   error connecting to filter: Connection refused by
   /var/milter-greylist/milter-greylist.sock
  May 16 20:53:31 newharbor sm-mta[19139]: l4H0rVxw019139: Milter (greylist): to
   error state

after trying to restart the milter via /usr/local/etc/rc.d, I eventually gave up 
and rebooted. That yielded:


  May 16 21:31:59 newharbor sm-mta[21640]: l4H1VxmM021640: Milter (greylist):
   local socket name /var/milter-greylist/milter-greylist.sock unsafe
  May 16 21:31:59 newharbor sm-mta[21640]: l4H1VxmM021640: Milter (greylist): to
   error state
  May 16 21:31:59 newharbor sm-mta[21640]: l4H1VxmM021640: Milter: 
initialization
   failed, temp failing commands

After trying ../rc.d filter again, I just typed in the appropriate command.

My main question is how should the rc.d script be run? I did a cd 
/usr/local/etc/rc.d and


  ./milter-greylist.sh start

I am clueless as to why the reboot did not work. The command that did work:

  /usr/local/libexec/milter-greylist -P /var/run/milter-greylist.pid  \
 -f /usr/local/etc/mail/greylist.conf  \
 -p /var/milter-greylist/milter-greylist.sock -u mailnull

Thanks for any thoughts



_
Douglas Denault
http://www.safeport.com
[EMAIL PROTECTED]
Voice: 301-469-8766
  Fax: 301-469-0601
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


32bit apps on FreeBSD-6.1-R amd64

2007-05-16 Thread luizbcampos

  Hi, everybody


  I own a Canon iP1600 printer and its driver was made for linux i386.
What should I do in order to run this driver on FreeBSD-6.1-R amd64? I've
heard of upgrading to 6.2 in order to retrieve linux_base-fc4. Just this?
Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]