Re: carp interface and running manual scripts

2008-08-08 Thread Christopher Cowart
Omer Faruk SEN wrote:
 Is it possible to run a script after carp interface becomes MASTER? Ie
 external script that runs the required services..

You should look at the ucarp implementation provided in ports
(net/ucarp). I believe it does its magic in userland and supports the
execution of arbitrary scripts.

-- 
Chris Cowart
Network Technical Lead
Network  Infrastructure Services, RSSP-IT
UC Berkeley


pgp5Z7EgST3cI.pgp
Description: PGP signature


Re: [OT] Re: apple mac laptop.

2008-08-08 Thread Gary Kline
On Thu, Aug 07, 2008 at 04:15:30PM -0700, Chuck Swiger wrote:
 On Aug 7, 2008, at 3:42 PM, Gary Kline wrote:
 My daughter wants a laptop; the only brand [ AFAIC ] is Apple.
 amazon.com seems to have a fair price.  Her school requires Word, for
 some reason.  {maybe because we're in X-Bill country:}
 
 Anyway, if anybody onlist knows of a better place to buy an online Mac
 laptop, please drop a line.
 
 Well, students, teachers, and so forth can get about a 10% discount  
 via the Apple Education stores:
 
   http://store.apple.com/us/browse/home/education_routing/
 
 (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is  
 right that the question is off-topic for these lists.  :-)


Well, considering that they asked us (and NetBSD) for clues when
they were porting OSX, it didn't seem like my post was *that*
far Off! maybe a tiny bit.  

Anyway, thanks to everybody who replied onlist and off.  

gary


 
 Regards,
 -- 
 -Chuck
 
 PS: #include std/disclaimer.h
 

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: A few questions from a current linux user

2008-08-08 Thread Giorgos Keramidas
On Fri, 8 Aug 2008 07:01:14 +0200, Polytropon [EMAIL PROTECTED] wrote:
 On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] 
 wrote:
 5) Does FreeBSD have support for PCMCIA-USB cards?

 Don't know.

Yes.

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


Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-08 Thread Matthias Kellermann

Polytropon wrote:

As it has been mentioned before, /etc/make.conf is read
first with your +=, setting CONFIGURE_ARGS to only this
one value. Then, Makefile of the port is read, and it
has a = in it, not a +=, so CONFIGURE_ARGS is overwritten
and your setting is gone.

Hint:

Maybe the Makefile.local mechanism of the ports is still
available. Then, you would add your += directive in a file
called Makefile.local in the port's directory. As far is I
know, Makefile.local is read after Makefile, so you can
profit from settings done in the first mentioned place.

Thanks for your hint. This worked fine.

Nevertheless it would be a good thing to keep this kind of port
modifications in a central place.

Regards,
Matthias

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


Re: problems with a C script, exiting with signal 10

2008-08-08 Thread Jordi Moles Blanco

Hi,

thanks for the reply, i will have a close look at what you suggested. 
The thing is that, yes, i work with arrays, pointers, mallocs and so on. 
I'll try to make sure everything is initiliazed properly before being used.


Thanks for the advice.




En/na Patrick Mahan ha escrit:



Jordi Moles Blanco presented these words - circa 8/7/08 3:13 AM-

Hi,

I've got this home-made script, written in C, on a  Freebsd 7.0 
server with different versions of postfix: 2.3,2,4 and 2.5


The problem is that, while most of the time it works like a charm, 
sometimes it crashes and bounces the message. It's not really a big 
deal, cause the sender gets notified that their mail wasn't delivered 
and hopefully, they will resend it. However, the problem is that I've 
tried to debug my script but found nothing wrong at all, cause it 
only fails from time to time, let's say... once for each 2000 
messages that postfix receives, and it appears to do so in a random way.


As i said... postfix can fail to deliver a message to one particular 
mailbox, but if then you resend the very same message to the very 
same mailbox, it will be delivered.


The error is reported in both maillog and messages, like this:


**/var/log/maillog
Aug  7 01:55:19 mail01 postfix/pipe[27534]: 3E1A0143709: 
to=EMAIL_ACCOUNT, relay=quota_postfix, delay=0.23, 
delays=0.11/0/0/0.11, dsn=5.3.0, status=bounced (Command died with 
signal 10: /usr/local/etc/postfix/quota_postfix)



*/var/log/messages***
Aug  7 01:55:19 mail01 kernel: pid 29535 (quota_postfix), uid 125: 
exited on signal 10




Well signal 10 is SIGBUS which is indicative of (generally) a bad 
address,

non-aligned memory address (on platforms it matters) or a hardware error.
I would look for places you are dereferencing a pointer without perhaps
first validating it.

Given that it rarely occurs, I might suspect that you are allocating some
memory, but failing to completely initialize (malloc() doesn't zero out
memory) it or assuming it is already initialize.

Good luck,

Patrick


Here you have some extra information about the script itself and the 
master.cf



*/usr/local/etc/postfix/quota_postfix***

# ls -la /usr/local/etc/postfix/quota_postfix
-rwsr-xr-x  1 postfix  postfix  20048 Aug  4 10:18 
/usr/local/etc/postfix/quota_postfix


It's got de suid flag cause it performs a du command and other file 
operations which need permissions, although i've tried with other 
groups of permissions and it eventually crashes anyway with signal 10


**master.cf*

.

# spamfilter
spamfilter  unix-   n   n   -   20  pipe
flags=R user=filter argv=/home/antispam.pl localhost:10027 
antispam ${sender} ${recipient} /usr/local/bin/spamc


# from spamfilter to smtpd:10026
localhost:10027 inetn   -   n   -   100   
smtpd -o content_filter=quota_postfix



# quota_postfix
quota_postfix  unix-   n   n   -   20  pipe
flags=R user=filter argv=/usr/local/etc/postfix/quota_postfix 
localhost 10028 ${sender} ${recipient} ${domain}


# from quota_postfix to smtpd:10028
localhost:10028 inetn   -   n   -   100   
smtpd -o content_filter=




So far, any program which crashed would leave a .core file in 
/usr/crash, but this one is not doing the same, so... i can't 
actually debug from the core file either.
Sysctl in my FreeBSD server is ok, but i guess that postfix, somehow 
is preventing this filter from generating a core file. Is that 
possible? Or am i completely wrong?


How could I, at least, generate the .core file?

Thanks.


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





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


Re: Disk errors on installing FreeBSD 7.0

2008-08-08 Thread Julien Cigar
Same problems for me with atapi CD/DVD drives (READ_BIG timeouts,
etc) .. it works a bit better when dma is turned off, but then
performances are very poor.

On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote:
 N.J. Thomas wrote:
  * Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]:
  When I boot up with the installation DVD these error messages appear
  on the screen.
 
  ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED 
  LBA=0055347
  ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED 
  LBA=0
  etc
  
  I got the same exact errors trying to install 7.0-RELEASE on two
  different Dell boxes. One was 4 years old, the other was brand new (3
  months ago).
  
  Never was able to fix the problem. For the older one, I plugged in an
  external DVD drive and installed via that. For the other one, I
  installed via a mini-install disk, and then did a minimal network
  install.
  
  For the record, they both had SATA drives and the disks worked (and
  still work) fine after the OS was installed. It was just copying the
  base system off the CD that was causing errors.
  
  Thomas
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 888
   Aloha,
 
 I am getting the same errors as you guys with an intermittient BIG_read 
 one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release.
 
 This is on a no name box with a bio board and 1100 cpu. I've had this on 
 other boxes too and load IDE drives on a box that works with them and 
 then put them in the box with errors and they work just fine.
 
 Every thing gets recognized normally at  install time, but the size of 
 the IDE drive a Fujutsu 20 gig. shows twice what it should be every time.
 
 Dont know if this has anything to do with it, except if you change the 
 size in installer it wont load anything.
 
 Maybe one of the top level gurus on the list can help.
 
 
 
-- 
Julien Cigar
Belgian Biodiversity Platform
http://www.biodiversity.be
Université Libre de Bruxelles (ULB)
Campus de la Plaine CP 257
Bâtiment NO, Bureau 4 N4 115C (Niveau 4)
Boulevard du Triomphe, entrée ULB 2
B-1050 Bruxelles
Mail: [EMAIL PROTECTED]
@biobel: http://biobel.biodiversity.be/person/show/471
Tel : 02 650 57 52

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


Re: Mixing 64 and 32-bit code

2008-08-08 Thread Andrea Venturoli

Chuck Swiger ha scritto:

The simplest answer is that it won't work-- the syscall interface and 
function argument/return-value sizes are going to be different between 
32-bit and 64-bit code.


I was quite sure of this :-(




[1]: You can look up how thunking between Win16 and Win32 code worked here:

  http://en.wikipedia.org/wiki/Thunk#Thunk_as_compatibility_mapping


 ...but the same idea could be applied to generic 32-bit  64-bit ELF 
code.


This is just what I was wondering about, whether it extisted or not.





(It's really an evil thing to try to do, however.)


Yes, I know.
In my case, unfortunately, all I have is a 32-bit object, as closed 
source as it could be and I don't think we have any hope in getting the 
vendor to provide a 64-bit version (although they do for Linux).




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


Re: joining 2 files together ?

2008-08-08 Thread Denny White
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Quoted from beni on Thu, Aug 07, 2008 at 03:34:28PM +,:
 Hi,
 
 I am trying to find the equivalent for the old dos copy file1+file2 command
 (copy myfile1.txt+myfile2.txt copies the contents in myfile2.txt and 
 combines it with the contents in myfile1.txt).
 But the standard freebsd cp doesn't seem to want the + between the two 
 files :
 
 bsdaddict# cp file1.avi+file2.avi
 usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file target_file
cp [-R [-H | -L | -P]] [-f | -i | -n] [-alpv] source_file ... 
 target_directory
 bsdaddict#
 
 So how to I append file2 at the end of file1 to get only one file ? To be 
 more 
 specific : I would like to merge 2 avi files into one. How do I get 
 file1.avi+file2.avi into file3.avi ?
 Thanks.
 -- 
 Beni.

After joining avi files with cat, use mencoder to rebuild the index:

mencoder -forceidx -oac copy -ovc copy infile.avi -o outfile.avi 


Denny White

- -- 

Do the hard jobs first. The easy jobs will take care of themselves.

===
GnuPG key  : 0x1644E79A  |  http://wwwkeys.nl.pgp.net
Fingerprint: D0A9 AD44 1F10 E09E 0E67  EC25 CB44 F2E5 1644 E79A
===

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.8 (OpenBSD)

iEYEARECAAYFAkicBToACgkQy0Ty5RZE55rG4QCeJy+VfVN3SeUSWfd5Ff12+Za1
Su8AoLw1ype3wQvtYyv2qWm4Yum6eWPV
=zm7+
-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: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman

Warren Liddell wrote:

On Thursday 07 August 2008 23:18:34 Marc Coyles wrote:
  

If i have read the man pages correct the command im using being ...

# freebsd-update upgrade -r 7.0-CURRENT
  

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade

followed eventually by...

# sh freebsd-update.sh -f freebsd-update.conf install

I have just upgraded a 6.2 box to 7.0 Release following the instructions
at
http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade
.html to the letter without issue (other than bind needing to be
reinstalled from ports afterwards)

L8rs!
Marci




# freebsd-update -r 7.0-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
freebsd-update.sh: Can't open freebsd-update.sh: No such file or directory

I then did a search for the sh file 

# sh freebsd-update.sh -f freebsd-update.conf -r 7.0-RELEASE upgrade
File does not exist or is not readable: freebsd-update.conf

freebsd-update is part of base system so there was no need to install it via 
the port etc .. or is there ?


  
no for versions of FreeBSD beyond 6.3 its in base and you dont need to 
install it seperately to upgrade between versions.

freebsd-update -r 7.1-RELEASE upgrade
seems to have an effect where 7.0-RELEASE no longer does. I have CCed 
freebsd-stable@ on this to see if anyone knows if this is intended or a 
mistake.



Vince


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


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


Re: High Availability FreeBSD www cluster

2008-08-08 Thread Sergej Kandyla

Michael Christie wrote:

Hi all ,

I want to cluster some freeBSD servers,
web links any thing to help me get started would be good. No I do not 
want to change over to linux.



also some interesting link

http://phaq.phunsites.net/2006/08/11/realtime-file-system-replication-on-freebsd/


--
Best Wishes,
PAIX-UANIC | SK3929-RIPE

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


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
 no for versions of FreeBSD beyond 6.3 its in base and you dont need to
 install it seperately to upgrade between versions.
 freebsd-update -r 7.1-RELEASE upgrade
 seems to have an effect where 7.0-RELEASE no longer does. I have CCed
 freebsd-stable@ on this to see if anyone knows if this is intended or a
 mistake.


 Vince

# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

The getting of the public key seems to be the issue no matter how i go about 
trying to upgrade .. so my question now is, why is this and are there other 
mirror sites that can be used ?

Below is my Uname -a output if it has any relevance..

FreeBSD  6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Aug  7 17:32:22 EST 2008 
shinjii@:/usr/obj/usr/src/sys/GENERIC  amd64
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman

Warren Liddell wrote:

no for versions of FreeBSD beyond 6.3 its in base and you dont need to
install it seperately to upgrade between versions.
freebsd-update -r 7.1-RELEASE upgrade
seems to have an effect where 7.0-RELEASE no longer does. I have CCed
freebsd-stable@ on this to see if anyone knows if this is intended or a
mistake.


Vince



# freebsd-update -r 7.1-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching public key from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.

The getting of the public key seems to be the issue no matter how i go about 
trying to upgrade .. so my question now is, why is this and are there other 
mirror sites that can be used ?


Below is my Uname -a output if it has any relevance..

FreeBSD  6.3-STABLE FreeBSD 6.3-STABLE #11: Thu Aug  7 17:32:22 EST 2008 
shinjii@:/usr/obj/usr/src/sys/GENERIC  amd64
  
No idea if the fact you are on a -STABLE branch will matter (it could 
well, the box I tried to use the 7.0-RELEASE tag on was a -STABLE box 
too,) but  my test seems to get different results to yours.
Possibly an issue with the freebsd-update servers/mirrors? more likely 
that it doesnt support upgrading from an arbitrary point in the -STABLE 
tree.


10:05:58 /usr/src/sys/i386/compile/LOBSTER) 0 # freebsd-update -r 
7.1-RELEASE upgrade

Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... 
done.

Fetching metadata index... done.
Inspecting system... done.

The following components of FreeBSD seem to be installed:
kernel/generic src/base src/bin src/contrib src/crypto src/etc src/games
src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue
src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin
world/base world/catpages world/dict world/games world/info
world/manpages world/proflibs

The following components of FreeBSD do not seem to be installed:
src/cddl src/compat world/doc

Does this look reasonable (y/n)? n
(10:06:53 /usr/src/sys/i386/compile/LOBSTER) 0 # uname -a
FreeBSD lobster.unsane.co.uk 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: 
Wed Jun 18 07:33:20 UTC 2008 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386



I would upgrade to a -RELEASE branch from source then try again.

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


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
 I would upgrade to a -RELEASE branch from source then try again.

 Vince


change my releng to 7 in the supfile and do a csup then do world  kernel and 
go from there ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: High Availability FreeBSD www cluster

2008-08-08 Thread Philippe Laquet

CARP does the job perfectly!

Is you have to LB/RP from a front end (the SPOF?) you can also take a
quick look on LighttpD with the Proxy module (very simple  efficient)

In a heavier (but also quite simple) environment :

* Two (or more) LB/RP on the front with lighttpdproxy - HA with CARP
* Two (or more) Load Balanced Web Back End servers

;)




On jeu, 2008-08-07 at 16:44 +1000, Michael Christie wrote:
 Thank you all for your input. Carp looks like it needs some investigation
 
 Thanks
 
 Michael
 
 Peter Ross wrote:
  Hi,
 
  Michael Christie wrote:
 

  I want to cluster some freeBSD servers, The purpose of this is to learn.
  I would like to  run some basic services like www and mail on a test
  network. I would like to set up the servers so if one server falls over
  the other will take over the services automatically, load balanceing would
  be good as well. I have googled, I could be looking in the wrong place ,
  there seems not to be much in regard to seting up freebsd in a cluster,
  lots on linux. I have looked at the High Availability Linux project , I
  see on the front page that it will run on freebsd.
 
  So I am a bit lost and i am wanting to learn how to cluster freebsd web
  and mail servers, I have looked at  Beowulf clusters, which seem to give
  computers more grunt, Can some on on the list please advise me on what
  clustering softwhere i need to get started and if the High Availability
  Linux project softwhere will do the job.
  
 
  pound (/usr/ports/www/pound) can be used on HTTP(S) level.
 
  From pkg-descr:
 
  The Pound program is a reverse proxy, load balancer and HTTPS front-end 
  for Web server(s). Pound was developed to enable distributing load among 
  several Web-servers, and to allow for a convenient SSL wrapper for those 
  Web servers that do not offer it natively. Pound is distributed under the 
  GPL - no warranty, it's free to use, copy and give away.
 
  WWW: http://www.apsis.ch/pound/
 
  - Anders Nordby [EMAIL PROTECTED]
 
  Regards
  Peter
  ___
  [EMAIL PROTECTED] mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
  To unsubscribe, send any mail to [EMAIL PROTECTED]
 
 

 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-cluster
 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]


Inconsistent behavior. PHP5 FreeBSD server Vs PHP5 Windows Server.

2008-08-08 Thread merv

Hi,

I have a strange problem with PHP5 on FreeBSD.

When run on a FreeBSD server the decrypt function of a xTea encryption 
library does not work correctly. While the same PHP code runs without 
problem on a Windows Server. Has anybody experienced similar problems? I 
am at a dead end any help would be much appreciated.


Windows output:
xTea

A secret message. Meet at 21:00 by the old bridge to talk about the new plan.

hK/xEOKqgx+Tfb7tCndxFH/3HTck+cy3+y1uMa/DUWNgg7I91/QeG2BceCmtaDYmFjPRAczqCHCc
LHMWiGE0ZQV+QC+f3xcJWvtGxLIdDHY=

A secret message. Meet at 21:00 by the old bridge to talk about the new plan.


FreeBSD output:
xTea

A secret message. Meet at 21:00 by the old bridge to talk about the new plan.

hK/xEOKqgx+Tfb7tCndxFH/3HTck+cy3+y1uMa/DUWNgg7I91/QeG2BceCmtaDYmFjPRAczqCHCc
LHMWiGE0ZQV+QC+f3xcJWvtGxLIdDHY=

’³ûøfsƒ‰cfˆ®[Ë[…*x¶ØÚ5L´¥$¨lÔî�ÊB%Tª”ô�Ö�GµXõqÕ-åÉH(€¯;H8¯€àØÃ


Note encryption works fine it is possible to encrypt the message on 
FreeBSD and decrypt the message on Windows. The message also decrypts 
correctly using a Javascript implementation of xTea. The only part that 
fails is decrypt under FreeBSD. Is this expected and common?


PHP source:

?php
require('xTEA.php');

$key = 'Password';
$input = A secret message. Meet at 21:00 by the old bridge to talk 
about the new plan.;


//Encrypt
$ct_data = base64_encode(cryptN($input, $key, TRUE, 32));
//Decrypt
$pt_data = cryptN(base64_decode($ct_data), $key, FALSE, 32);

?
html
body
h3xTea/h3
pre?=$input?/pre
pre?=chunk_split($ct_data);?/pre
pre?=$pt_data?/pre
/body
/html

xTEA.php:

?php
/*\
Based on TEA (2nd variant),http://www.simonshepherd.supanet.com/tea.htm

crypt en- and decrypts a string (1st arg) using a key (2nd arg) of
length 16 with 16 iterations (a 4th argument may be given to use
another number of iterations (8 is superficial, 16 is often adequate,
32 is hard)). Arg 3 is true for encryption, false for decryption. Key
is taken to contain byte characters (0x01-0xFF); subject sstring may
contain wider characters but only each lower byte is used.

\*/

function cryptN($str,$key,$encrypt,$itr)
{
$res=;

while (strlen($str)8)
{
// $res .= crypt8(substr($str,0,8),$key,$encrypt,$itr);
$res .= JScrypt8(substr($str,0,8),$key,$encrypt,$itr);
$str = substr($str,8);
}

if (strlen($str)0)
{
while (strlen($str)8)
{
$str .= ' ';
}
// $res .= crypt8($str,$key,$encrypt,$itr);
$res .= JScrypt8($str,$key,$encrypt,$itr);
}

return rtrim($res,' ');
}

//Four-byte truncate
function fbt($x)
{
$x = $x0x0;
return $x0?0x01+$x:$x;
}

function JScrypt8($oct,$key,$encrypt,$itr)
{
$y=0;
$z=0;
$k=array(); $k[0]=$k[1]=$k[2]=$k[3]=0;
$d=0x9E3779B9;
$sum=$encrypt?0:($d*$itr);
$res=;

for ($i=0; $i8; )
{
$y=fbt(($y8)+(ord($oct{$i})0xFF));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i}));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i+8}));
$i++;
$z=fbt(($z8)+(ord($oct{$i})0xFF));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i}));
$k[$i3]=fbt(($k[$i3]8)+ord($key{$i+8}));
$i++;
}
if ($encrypt)
{
while ($itr--0)
{
$y = fbt(($y+fbt(($z*16)^floor($z/32))+fbt($z^$sum)+$k[$sum3]));
$sum=$sum+$d;
$z = fbt(($z+fbt(($y*16)^floor($y/32))+fbt($y^$sum)+$k[($sum11)3]));
}
}
else
{
while ($itr--0)
{
$z = fbt($z-fbt(fbt(($y*16)^floor($y/32))+fbt($y^$sum)+$k[($sum11)3]));
$sum=$sum-$d;
$y = fbt($y-fbt(fbt(($z*16)^floor($z/32))+fbt($z^$sum)+$k[$sum3]));
}
}
for ($i=4; $i--0; )
{
$res .= chr(fbt(($y0xFF00)24));
$y = $y8;
$res .= chr(fbt(($z0xFF00)24));
$z=$z8;
}
return $res;
}

function crypt8($oct,$key,$encrypt,$itr)
{
$y=0;
$z=0;
$k=array(); $k[0]=$k[1]=$k[2]=$k[3]=0;
$d=0x9E3779B9;
$sum=$encrypt?0:($d*$itr)0x0;
$res=;

for ($i=0; $i8; )
{
$y=($y8)+(ord($oct{$i})0xFF);
$k[$i3]=($k[$i3]8)+ord($key{$i});
$k[$i3]=($k[$i3]8)+ord($key{$i+8});
$i++;
$z=($z8)+(ord($oct{$i})0xFF);
$k[$i3]=($k[$i3]8)+ord($key{$i});
$k[$i3]=($k[$i3]8)+ord($key{$i+8});
$i++;
}
if ($encrypt)
{
while ($itr--0)
{
$y = ($y+(($z4)^($z5))+($z^$sum)+$k[$sum3])0x0;
$sum=$sum+$d;
$z = ($z+(($y4)^($y5))+($y^$sum)+$k[($sum11)3])0x0;
}
}
else
{
while ($itr--0)
{
$z = 
($z+0x01-$y4)^($y5))+($y^$sum)+$k[($sum11)3])0x0))0x0;

$sum=($sum+0x01-$d)0x0;
$y = 
($y+0x01-$z4)^($z5))+($z^$sum)+$k[$sum3])0x0))0x0;

}
}
for ($i=4; $i--0; )
{
$res .= chr(($y0xFF00)24);
$y = $y8;
$res .= chr(($z0xFF00)24);
$z=$z8;
}
return $res;
}

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


Re: Upgrading from 6.x to 7.x

2008-08-08 Thread Vincent Hoffman

Warren Liddell wrote:

I would upgrade to a -RELEASE branch from source then try again.

Vince




change my releng to 7 in the supfile and do a csup then do world  kernel and 
go from there ?
  

RELENG_7_0  for the -RELEASE
7 is -STABLE

Vince

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
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: Upgrading from 6.x to 7.x

2008-08-08 Thread Warren Liddell
On Friday 08 August 2008 20:09:03 Vincent Hoffman wrote:
 Warren Liddell wrote:
  I would upgrade to a -RELEASE branch from source then try again.
 
  Vince
 
  change my releng to 7 in the supfile and do a csup then do world  kernel
  and go from there ?

 RELENG_7_0  for the -RELEASE
 7 is -STABLE

 Vince

csup running on 7_0 system all ready backed up so lets see how well this all 
goes.

Much tnxs to all who have supplied info on this, greatly appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


dump locks again

2008-08-08 Thread Andrea Venturoli

Hello.
I googled around for this but found only very old threads (from 2005 or so).

I'm taking dumps of a new box I build, which runs 7.0/amd64 on 8 cores 
with harware RAID-5 (ciss driver).


This is an example of the command I issue:

dump -0 -a -f usr.dump -L -h 0 -u /usr

Almost always, the dump process will work up to Pass IV (regular files), 
but then stuck there.


# ps ax|grep dump
11400  p1  I+ 0:00.97 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)
11405  p1  I+ 0:00.18 dump: /dev/da0s1e: pass 4: 4.28% done, 
finished in 0:03 at Fri Aug  8 10:35:34 2008 (dump)
11406  p1  I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)
11407  p1  I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)
11408  p1  I+ 0:00.23 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)


top shows 11400 in wait state, 11406-11408 in pause state and 11405 in 
sbwait state.


Any hint is appreciated.



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


F7: base system reinstall, no (open)ssh anymore...

2008-08-08 Thread Rob
Hello,
I have upgraded from FreeBSD 6.3 to 7.0.
When I recompiled the base system, there are no ssh related files anymore
in the base system (no ssh, sshd and /etc/rc.d/sshd for example).
Am I missing some essential settings in /etc/make.conf?
What is needed there in order to get (Open)SSH from the base system?
Thanks!
Rob.



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


Re: The Design and Implementation of the FreeBSD Operating System

2008-08-08 Thread mcassar

 A few years later about 6 months after the book went out of print
 I actually bought a box of 20 of the books for something like a dollar
 a book, from a remainder dealer, just to have a future cache of them
 that I could give away.

 Kind of funny to think about that being almost a decade ago...

do you still have one of those around by any chance? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0

2008-08-08 Thread David Gurvich
I'm not sure of your settings, but increasing tx power is only good for
transmitting and will increase noise, hurting reception.  Your S:N
numbers look quite poor, I rarely get any handshake when signal is that
bad. I'm surprised you managed to get a dhcp offer.

Have you tried this computer in the same location as the windows
machines?  How far from the router are you compared to those?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [OT] Re: apple mac laptop.

2008-08-08 Thread John Almberg

(And yes, while one can run FreeBSD just fine on a Macbook, Sahil is
right that the question is off-topic for these lists.  :-)



Well, considering that they asked us (and NetBSD) for clues when
they were porting OSX, it didn't seem like my post was *that*
far Off! maybe a tiny bit.

Anyway, thanks to everybody who replied onlist and off.

gary



I don't think it's far OT, either, since IMHO, Mac desktops and  
FreeBSD servers are the perfect, practical combination for many  
organizations, including my own.


-- John

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


usb-serial device

2008-08-08 Thread Michael Lednev

Hello.

I've obtained USB thermometer and want to make it usable with FreeBSD. 
It identifies itself as:

kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2

Under Windows it looks like standard COM-port. When I try to use some 
existing drivers like ucycom or uplcom it gives no effect. How can this 
device be used under FreeBSD?

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


Re: usb-serial device

2008-08-08 Thread Warren Block

On Fri, 8 Aug 2008, Michael Lednev wrote:

I've obtained USB thermometer and want to make it usable with FreeBSD. It 
identifies itself as:

kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2

Under Windows it looks like standard COM-port. When I try to use some 
existing drivers like ucycom or uplcom it gives no effect. How can this 
device be used under FreeBSD?


It appears to need the uchcom driver, which is in CURRENT but not yet in 
6 or 7.  See this thread:


http://lists.freebsd.org/pipermail/freebsd-stable/2008-February/040872.html

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


Re: F7: base system reinstall, no (open)ssh anymore...

2008-08-08 Thread Josh Carroll
 Am I missing some essential settings in /etc/make.conf?
 What is needed there in order to get (Open)SSH from the base system?
 Thanks!
 Rob.

It should be there by default. Check that /etc/make.conf (or
/etc/src.conf) does not set/define:

WITHOUT_OPENSSH

There are other knobs that implicitly set this as well, so check for these, too:

WITHOUT_CRYPT
WITHOUT_OPENSSL

If any of those are set, it will not build the ssh components.

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


Re: dump locks again

2008-08-08 Thread Kris Kennaway

Andrea Venturoli wrote:

Hello.
I googled around for this but found only very old threads (from 2005 or 
so).


I'm taking dumps of a new box I build, which runs 7.0/amd64 on 8 cores 
with harware RAID-5 (ciss driver).


This is an example of the command I issue:

dump -0 -a -f usr.dump -L -h 0 -u /usr

Almost always, the dump process will work up to Pass IV (regular files), 
but then stuck there.


# ps ax|grep dump
11400  p1  I+ 0:00.97 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)
11405  p1  I+ 0:00.18 dump: /dev/da0s1e: pass 4: 4.28% done, 
finished in 0:03 at Fri Aug  8 10:35:34 2008 (dump)
11406  p1  I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)
11407  p1  I+ 0:00.24 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)
11408  p1  I+ 0:00.23 /sbin/dump -0 -a -f usr.dump -L -h 0 -u /usr 
(dump)


top shows 11400 in wait state, 11406-11408 in pause state and 11405 in 
sbwait state.


Any hint is appreciated.


This was fixed in 7.0-STABLE.

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


Re: usb-serial device

2008-08-08 Thread Michael Lednev

Warren Block ?:

On Fri, 8 Aug 2008, Michael Lednev wrote:

I've obtained USB thermometer and want to make it usable with 
FreeBSD. It identifies itself as:

kernel: ugen0: vendor 0x4348 USB-SER!, rev 1.10/2.50, addr 2

Under Windows it looks like standard COM-port. When I try to use some 
existing drivers like ucycom or uplcom it gives no effect. How can 
this device be used under FreeBSD?


It appears to need the uchcom driver, which is in CURRENT but not yet 
in 6 or 7. See this thread:


http://lists.freebsd.org/pipermail/freebsd-stable/2008-February/040872.html 



Thanks! I'll try to examine it at the weekend.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


x11/kde4 tries to install kde3?

2008-08-08 Thread Kirk Strauser
When attempting to install KDE4, I get:

$ cd /usr/ports/x11/kde4
$ sudo make install
===  Installing for kde-3.5.8_2
[...]
===  Checking if x11/kde4 already installed
===   kde-3.5.8_2 is already installed
[...]
Stop in /usr/ports/x11/kde4.

I installed on this hardware about two weeks ago, so it should be fairly 
clean of any weird legacy settings.  Has anyone else successfully installed 
KDE4 on FreeBSD 7?
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: dump locks again

2008-08-08 Thread Andrea Venturoli

Kris Kennaway ha scritto:

This was fixed in 7.0-STABLE.

Kris


Thanks Kris.
Since this is a critical production box, I'm a bit scared to track Stable.
Do you know when this will be merged into a release (7.1 I suppose)?
Would it be safer to just get this single patch (if possible at all)?

I've also been advised (off list), to switch from the default 4BSD 
scheduler to ULE. What are the implications of this?

Would it solve this specific problem or would I still need to patch/upgrade?

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


Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE

2008-08-08 Thread Edwin L. Culp

Alexander Sack [EMAIL PROTECTED] escribió:





Edwin L. Culp wrote:


Alexander Sack [EMAIL PROTECTED] escribió:


Final update, I got everything working!  I came home and connected by
new notebook using the latest PCIe Atheros chipset to a WPA2 network
using wpa_supplicant!  Yippie!

Hope this thread helps someone else,

-aps

On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack [EMAIL PROTECTED]
wrote:

On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack [EMAIL PROTECTED]
wrote:

On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp
[EMAIL PROTECTED] wrote:

Manolis Kiagias [EMAIL PROTECTED] escribió:


Edwin L. Culp wrote:


Alexander Sack [EMAIL PROTECTED] escribió:


On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias
[EMAIL PROTECTED] wrote:


Alexander Sack wrote:


Hello:

I have installed FreeBSD-7.0-amd64 stable on my new AMD X2
Turon based
notebook, a MSI-1710A (GX710Ax) which has a generic embedded
controller.  During boot up I notice that ATH complains with:

ath_rate: version 1.2 SampleRate bit-rate selection algorithm
ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112,
RF2413,
RF5413)
ath0: Atheros 5424/2424 mem 0xfd7f-0xfd7f irq 16 at
device
0.0
on pci2
ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xfd7f
ath0: [MPSAFE]
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 13
device_attach: ath0 attach returned 6

HAL status 13 from the header file seems to indicate that the
7.0-STABLE driver doesn't support my hardware revision.  Here is
my
pciconf -l output:



Maybe you could try compiling a kernel with a newer hal. This is
the
kind of
hack we use on the eeepc. Have a look at this:

http://nighthack.org/wiki/EeeBSD


Thank you SO much for this link.  That's EXACTLY what I want to do
because I realize that this is a HAL problem.  I've been searching
like MAD where I could get an updated binary HAL for this chipset
(PCIe based).


That makes two of us ;)

My dmesg is very, very similar to yours and hoped that this would
work.

ath0: Atheros 5424/2424 mem 0xf220-0xf220 irq 19 at device
0.0
on pci5
ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xf220
ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64
ath0: [MPSAFE]
ath0: [ITHREAD]
ath0: unable to attach hardware; HAL status 13
device_attach: ath0 attach returned 6

I followed the instructions from the web page, recompiled and it
made no
difference which really worries me that I must have done
something wrong.

cd madwifi-ng-r2756+ar5007/hal
cp -R * /usr/src/sys/contrib/dev/ath/

I did not erase it previously but  am going to try that.  I made no
kern
configuration changes to find that the hal is from contrib.  Is
there
nothing else I should do?

Thanks,



Well, I have only tested this on the eeepc and can confirm it works.
Maybe different atheros chipset have other problems not directly
related
to the hal version.
You do not need to do anything more that what is shown in the
page: untar,
replace the existing files, recompile / install kernel, reboot.
If you got
no errors during the kernel compilation phase, you can safely
assume you did
everything correctly, and the problem lies elsewhere.


At least there was a ray of hope for the time it took to compile
the kernel.


Ed:

I took recompiled and got the same issue.  If I use the LATEST mad
distro I get some compile bugs (ath_desc_status was moved into
ath_desc structure in ah_desc.h) which I can't completely work around
(apparently the API into the HAL has changed as well).  What I'm
trying to do is look at the Linux driver and understand the newer API
in order to get past this compile issue and see if this works.
Otherwise I believe we are SOL.

Does anyone know if the CURRENT contains an updated ath HAL AND driver
for support of newer PCIe based chipsets?

If I get it to work I will let you know...



Ok the trick is not to get it from the madfi project.  Get it from the
author directly!

If you grab:

http://people.freebsd.org/~sam/ath_hal-20080528.tgz

Copy the contents into the src/sys/contrib/dev/ath/* and recompile,
you should now see ath attach properly to the your NIC card.  Thanks
go to my friend jkim for pointing this out since he has a similar
notebook/chipset and runs CURRENT successfully.  I tried using CURRENT
ath but there is to much vap support in it and it turned out the
7.0-RELEASE driver works.

Now ath attaches properly and I'm going to test it out!  (this is at
least much further than a bad attach status code from the HAL).

Let me know how it goes,


Going  G R E A T  for the first time I see:

ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112,
RF2413, RF5413, RF2133, RF2425, RF2417)

ath0: Atheros 5424/2424 mem 0xf220-0xf220 irq 19 at device
0.0 on pci5
ath0: [ITHREAD]
ath0: WARNING: using obsoleted if_watchdog interface
ath0: mac 14.2 phy 7.0 radio 10.2

and an ifconfig ath0 shows:

ath0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 2290
ether 00:1d:d9:27:5c:e5
media: IEEE 

Re: x11/kde4 tries to install kde3?

2008-08-08 Thread Josh Carroll
On Fri, Aug 8, 2008 at 10:14 AM, Kirk Strauser [EMAIL PROTECTED] wrote:
 When attempting to install KDE4, I get:

 $ cd /usr/ports/x11/kde4
 $ sudo make install
 ===  Installing for kde-3.5.8_2
 [...]
 ===  Checking if x11/kde4 already installed
 ===   kde-3.5.8_2 is already installed
 [...]
 Stop in /usr/ports/x11/kde4.

 I installed on this hardware about two weeks ago, so it should be fairly
 clean of any weird legacy settings.  Has anyone else successfully installed
 KDE4 on FreeBSD 7?

KDE4 is not yet available. The x11/kde4 and x11/kde4base port
skeletons were created, but as far as I know, kde 4 isn't quite ready.

If you look at x11/kdebase4, you'll see that it still references KDE 3.5.8:

# cat /usr/ports/x11/kdebase4/distinfo
MD5 (KDE/kdebase-3.5.8.tar.bz2) = 9990c669229d8fca4c5e354441fd
SHA256 (KDE/kdebase-3.5.8.tar.bz2) =
0f1876d1c68f01ed8fee346c1bae4f53dd2c1dc56db94e309b3d1adfc6138493
SIZE (KDE/kdebase-3.5.8.tar.bz2) = 24200172

# grep '^PORTVERSION' /usr/ports/x11/kdebase4/Makefile
PORTVERSION=${KDE_VERSION}

# grep KDE_VERSION /usr/ports/Mk/*
/usr/ports/Mk/bsd.kde.mk:KDE_VERSION=   3.5.8
/usr/ports/Mk/bsd.kde.mk:KDE_ORIGVER=   ${KDE_VERSION}
/usr/ports/Mk/bsd.kde4.mk:KDE_VERSION=  3.5.8
/usr/ports/Mk/bsd.kde4.mk:KDE_ORIGVER=  ${KDE_VERSION}

Soon now, I think. But it's not quite ready.

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


Re: dump locks again

2008-08-08 Thread Kris Kennaway

Andrea Venturoli wrote:

Kris Kennaway ha scritto:

This was fixed in 7.0-STABLE.

Kris


Thanks Kris.
Since this is a critical production box, I'm a bit scared to track Stable.
Do you know when this will be merged into a release (7.1 I suppose)?


I don't know if it is planned to merge the fix as a 7.0 erratum.  You 
could ask re@ about their plans if you like.



Would it be safer to just get this single patch (if possible at all)?


Perhaps but I don't have a patch handy.

I've also been advised (off list), to switch from the default 4BSD 
scheduler to ULE. What are the implications of this?


Better performance, most likely.

Would it solve this specific problem or would I still need to 
patch/upgrade?


No, it won't solve it.

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


ACLs, permission mask and chmod g=

2008-08-08 Thread Svein Halvor Halvorsen
If I have acls enabled on a file, running chmod g=rw on that file,
will not change its group permissions, but the acl mask.

That is, running the following command:
$ chmod g=rw foo

... is equivalent with
$ setfacl -m m::rw-

... and not, as I would suspect:
$ setfacl -m g::rw-

In other words, foo will not be read/writable by its default group
after the command have been run (unless it was already).

I find this behaviour to be very confusing. It might be the correct
bahaviour, but if so maybe the chmod(1) manpage, and possibly
chmod(2), should be updated to document this?


Svein Halvor



signature.asc
Description: OpenPGP digital signature


Re: Atheros (ath) MSI wireless embedded chipset fails to attach on 7.0-STABLE

2008-08-08 Thread Alexander Sack



Edwin L. Culp wrote:
 
 Alexander Sack [EMAIL PROTECTED] escribió:
 



 Edwin L. Culp wrote:

 Alexander Sack [EMAIL PROTECTED] escribió:

 Final update, I got everything working!  I came home and connected by
 new notebook using the latest PCIe Atheros chipset to a WPA2 network
 using wpa_supplicant!  Yippie!

 Hope this thread helps someone else,

 -aps

 On Tue, Jun 17, 2008 at 5:17 PM, Alexander Sack [EMAIL PROTECTED]
 wrote:
 On Tue, Jun 17, 2008 at 3:44 PM, Alexander Sack [EMAIL PROTECTED]
 wrote:
 On Tue, Jun 17, 2008 at 3:35 PM, Edwin L. Culp
 [EMAIL PROTECTED] wrote:
 Manolis Kiagias [EMAIL PROTECTED] escribió:

 Edwin L. Culp wrote:

 Alexander Sack [EMAIL PROTECTED] escribió:

 On Tue, Jun 17, 2008 at 11:31 AM, Manolis Kiagias
 [EMAIL PROTECTED] wrote:

 Alexander Sack wrote:

 Hello:

 I have installed FreeBSD-7.0-amd64 stable on my new AMD X2
 Turon based
 notebook, a MSI-1710A (GX710Ax) which has a generic embedded
 controller.  During boot up I notice that ATH complains with:

 ath_rate: version 1.2 SampleRate bit-rate selection algorithm
 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112,
 RF2413,
 RF5413)
 ath0: Atheros 5424/2424 mem 0xfd7f-0xfd7f irq 16 at
 device
 0.0
 on pci2
 ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xfd7f
 ath0: [MPSAFE]
 ath0: [ITHREAD]
 ath0: unable to attach hardware; HAL status 13
 device_attach: ath0 attach returned 6

 HAL status 13 from the header file seems to indicate that the
 7.0-STABLE driver doesn't support my hardware revision.  Here
 is
 my
 pciconf -l output:


 Maybe you could try compiling a kernel with a newer hal. This is
 the
 kind of
 hack we use on the eeepc. Have a look at this:

 http://nighthack.org/wiki/EeeBSD

 Thank you SO much for this link.  That's EXACTLY what I want to
 do
 because I realize that this is a HAL problem.  I've been
 searching
 like MAD where I could get an updated binary HAL for this chipset
 (PCIe based).

 That makes two of us ;)

 My dmesg is very, very similar to yours and hoped that this would
 work.

 ath0: Atheros 5424/2424 mem 0xf220-0xf220 irq 19 at
 device
 0.0
 on pci5
 ath0: Reserved 0x1 bytes for rid 0x10 type 3 at 0xf220
 ioapic0: routing intpin 19 (PCI IRQ 19) to vector 64
 ath0: [MPSAFE]
 ath0: [ITHREAD]
 ath0: unable to attach hardware; HAL status 13
 device_attach: ath0 attach returned 6

 I followed the instructions from the web page, recompiled and it
 made no
 difference which really worries me that I must have done
 something wrong.

 cd madwifi-ng-r2756+ar5007/hal
 cp -R * /usr/src/sys/contrib/dev/ath/

 I did not erase it previously but  am going to try that.  I made
 no
 kern
 configuration changes to find that the hal is from contrib.  Is
 there
 nothing else I should do?

 Thanks,


 Well, I have only tested this on the eeepc and can confirm it
 works.
 Maybe different atheros chipset have other problems not directly
 related
 to the hal version.
 You do not need to do anything more that what is shown in the
 page: untar,
 replace the existing files, recompile / install kernel, reboot.
 If you got
 no errors during the kernel compilation phase, you can safely
 assume you did
 everything correctly, and the problem lies elsewhere.

 At least there was a ray of hope for the time it took to compile
 the kernel.

 Ed:

 I took recompiled and got the same issue.  If I use the LATEST mad
 distro I get some compile bugs (ath_desc_status was moved into
 ath_desc structure in ah_desc.h) which I can't completely work around
 (apparently the API into the HAL has changed as well).  What I'm
 trying to do is look at the Linux driver and understand the newer API
 in order to get past this compile issue and see if this works.
 Otherwise I believe we are SOL.

 Does anyone know if the CURRENT contains an updated ath HAL AND
 driver
 for support of newer PCIe based chipsets?

 If I get it to work I will let you know...


 Ok the trick is not to get it from the madfi project.  Get it from the
 author directly!

 If you grab:

 http://people.freebsd.org/~sam/ath_hal-20080528.tgz

 Copy the contents into the src/sys/contrib/dev/ath/* and recompile,
 you should now see ath attach properly to the your NIC card.  Thanks
 go to my friend jkim for pointing this out since he has a similar
 notebook/chipset and runs CURRENT successfully.  I tried using CURRENT
 ath but there is to much vap support in it and it turned out the
 7.0-RELEASE driver works.

 Now ath attaches properly and I'm going to test it out!  (this is at
 least much further than a bad attach status code from the HAL).

 Let me know how it goes,

 Going  G R E A T  for the first time I see:

 ath_hal: 0.10.5.6 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112,
 RF2413, RF5413, RF2133, RF2425, RF2417)

 ath0: Atheros 5424/2424 mem 0xf220-0xf220 irq 19 at device
 0.0 on pci5
 ath0: [ITHREAD]
 ath0: WARNING: using obsoleted if_watchdog interface
 ath0: mac 14.2 phy 7.0 radio 10.2

 and an ifconfig ath0 

[dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Andrew Falanga
Hi,

If I had hair I'd be pulling it out now.  I cannot find adequate help
anywhere as yet for this issue.  I've installed the ISC dhcpd program
from ports and am struggling to get it setup properly.  As I mentioned
in my other e-mail, I cannot share the contents of my configuration
file.  I'm sorry, I really wished I could.  What I have is this
(censored for host names and IP addresses):

not authoritative;
ddns-update-style none;
deny unknown-clients;
allow bootp;
use-host-decl-names on;


subnet 192.168.24.0 netmask 255.255.248.0 {
# this server will only host bootp, thus the range is left out
#leases
default-lease-time 6000;
max-lease-time 6000;
option subnet-mask 255.255.248.0;
option broadcast-address 192.168..31.255;
option routers 192.168.24.1;
option domain-name-servers 192.168.0.51;
option domain-name internal.domain;
}

host host1 {
option host-name host1;
hardware ethernet 00:01:a2:4a:cc:af;
fixed-address 192.168.27.0;
}


That's all of the globals in use by this server and a single host
entry (there are 44 hosts using the range 192.168.27.0-192.168.27.43).
 I do not know what is causing my problem.  The dhcpd server starts so
I know there are no syntactic problems with my configuration file, but
it's not answering requests for IP addresses.  When I start the
server, dhcpd -d, I get many lines with the test, BOOTP from dynamic
client and no dynamic leases.  Also, because of how things are
configured for the subnet I'm on, I cannot allow this server to
respond to other DHCP requests.  It can only service the small range
of 44 that I've been allocated.

The clients use bootp for this and although they are not booting
anything from this server, or any other, bootp is used.  Whether or
not this is a good, or proper use, of bootp I know not.  I didn't set
it up, but it is what I have to use.  Can anyone here offer me any
ideas about what the problem might be?

From looking through the dhcpd.conf file I've found a configuration
option for pool clauses that's something like this:

lease limit N;

but I don't think this is what I'm looking for.  First off, it seems
to only apply to pools and I'm not using any pools.  Secondly, it
would only help if the assumption is correct that without this
statement the server defaults to a lease limit of 0.  This, I don't
believe, is the case from what I've read in this man page.

Any help is greatly appreciated thanks,
Andy

-- 
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: FreeBSD 7.0 on Xen

2008-08-08 Thread Elwell, Richard

Sorry about the premature sending.  Here is the complete question:

 Greetings,
 
 I am attempting to follow the directions located at
 http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html
 and load a FreeBSD Xen DomU instance.  The document says:
 
Download the FreeBSD domU kernel for Xen 3.0 and disk image from
http://www.fsmware.com/

*   kernel-current
http://www.fsmware.com/xenofreebsd/7.0/download/kernel-current 

*   mdroot-7.0.bz2
http://www.fsmware.com/xenofreebsd/7.0/download/mdroot-7.0.bz2 

*   xmexample1.bsd
http://www.fsmware.com/xenofreebsd/7.0/download/config/xmexample1.bsd 

The link for kernel-current does not work.  Do you know where I can find
the kernel?  I tried to compile a kernel with PAE support, modify it
using the objcopy instructions given in the handbook, and use it, but I
get the error xc-dom-compat-check: guest type xen-3.0-x86_32 not
supported by xen kernel.

It looks like I need a guest type xen-3.0-x86_32p.  I thought compiling
a kernel with PAE enabled would give me that, but I get the same error.

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


FreeBSD 7.0 on Xen

2008-08-08 Thread Elwell, Richard
Greetings,

I am attempting to follow the directions located at
http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html
and load a FreeBSD Xen DomU instance.  The document says:

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


Re: FreeBSD 7.0 on Xen

2008-08-08 Thread OutBackDingo
I have a working config for non-HVM systems, its stable enough to play with but 
not for production, if you have however a HVM machine, FreeBSD runs great 
under linux KVM

On Friday 08 August 2008 22:46:11 Elwell, Richard wrote:
 Sorry about the premature sending.  Here is the complete question:
  Greetings,
 
  I am attempting to follow the directions located at
  http://www.freebsd.org/doc/en/books/handbook/virtualization-guest.html
  and load a FreeBSD Xen DomU instance.  The document says:

 Download the FreeBSD domU kernel for Xen 3.0 and disk image from
 http://www.fsmware.com/

 * kernel-current
 http://www.fsmware.com/xenofreebsd/7.0/download/kernel-current

 * mdroot-7.0.bz2
 http://www.fsmware.com/xenofreebsd/7.0/download/mdroot-7.0.bz2

 * xmexample1.bsd
 http://www.fsmware.com/xenofreebsd/7.0/download/config/xmexample1.bsd

 The link for kernel-current does not work.  Do you know where I can find
 the kernel?  I tried to compile a kernel with PAE support, modify it
 using the objcopy instructions given in the handbook, and use it, but I
 get the error xc-dom-compat-check: guest type xen-3.0-x86_32 not
 supported by xen kernel.

 It looks like I need a guest type xen-3.0-x86_32p.  I thought compiling
 a kernel with PAE enabled would give me that, but I get the same error.

 Any ideas?
 ___
 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: [dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Chuck Swiger

Hi--

On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote:

Hi,

If I had hair I'd be pulling it out now.  I cannot find adequate help
anywhere as yet for this issue.  I've installed the ISC dhcpd program
from ports and am struggling to get it setup properly.  As I mentioned
in my other e-mail, I cannot share the contents of my configuration
file.  I'm sorry, I really wished I could.  What I have is this
(censored for host names and IP addresses):

not authoritative;


If you are in charge of the subnet range that you are using, then you  
should be setting yours to authoritative.  If there is already a DHCP  
server running as authoritative for the local subnet, you should  
configure your static IPs on it, rather than trying to set up a second  
one.  You could probably gain more information by running:


  tcpdump -s 0 -vv port bootps

...and look at whether the MAC addrs match what you think they should  
be in the request, and whether your server or another is replying with  
DHCPNAK.  There is fine documentation and even a mailing list for the  
ISC DHCPD available here and at [EMAIL PROTECTED]:


  http://www.isc.org/index.pl?/sw/dhcp/authoritative.php
  http://www.isc.org/sw/dhcp/dhcpv3-README.php#support

Regards,
--
-Chuck

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


Re: Weird Processes on my server from user....

2008-08-08 Thread Dan Nelson
In the last episode (Aug 07), Agus said:
 Hi guys,
 
 Checking my server i found this processessThe user doesnt appear
 doing w..so its like if he was doing an scp or something like
 that...though in this case its sftp... But i read the man and doesnt
 have much information..so i dont understand what is going in the
 background with this proccesess or how can i check it...
 
 the user is deamon and is a registered user...
 here is the pstree output:
 
  | |-+= 74888 root sshd: deamon [priv] (sshd)
  | | \-+- 74891 deamon sshd: [EMAIL PROTECTED] (sshd)
  | |   \-+= 74892 deamon csh -c /usr/libexec/sftp-server
  | | \--- 74893 deamon /usr/libexec/sftp-server

I think you'll see this if the user is sftp'ing over SSHv1; the
sftp-server component has to be launched via a shell login because
SSHv1 doesn't have subsystems.

-- 
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: The Design and Implementation of the FreeBSD Operating System

2008-08-08 Thread Bob Hall
 A few years later about 6 months after the book went out of print
 I actually bought a box of 20 of the books for something like a dollar
 a book, from a remainder dealer, just to have a future cache of them
 that I could give away.

I probably wouldn't be using FBSD now if it wasn't for your book and
Greg Lehey's book back then. I still have both on the shelf. Greg's book
is version 3 and your book has an unopened FBSD 4.2 CD package. :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Wireless (Edimax EW-7128g / ral) to work on FreeBSD 7.0

2008-08-08 Thread RODNEY ROGER
On Fri, Aug 8, 2008 at 7:46 AM, David Gurvich [EMAIL PROTECTED] wrote:
 I'm not sure of your settings, but increasing tx power is only good for
 transmitting and will increase noise, hurting reception.  Your S:N
 numbers look quite poor, I rarely get any handshake when signal is that
 bad. I'm surprised you managed to get a dhcp offer.

 Have you tried this computer in the same location as the windows
 machines?  How far from the router are you compared to those?

The machines are right near each other. I've even tried swapping the
antennas only to find the same result. I tried decreasing txpower to
32, 36, 40 which did not seem to help.

My laptop is even farther away (about 50 feet) from the router than my
freebsd machine and has a much better signal.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [dhcpd] BOOTP from dynamic client and no dynamic leases

2008-08-08 Thread Andrew Falanga
On Fri, Aug 8, 2008 at 10:54 AM, Chuck Swiger [EMAIL PROTECTED] wrote:
 Hi--

 On Aug 8, 2008, at 8:02 AM, Andrew Falanga wrote:


 not authoritative;

 If you are in charge of the subnet range that you are using, then you should
 be setting yours to authoritative.  If there is already a DHCP server
 running as authoritative for the local subnet, you should configure your
 static IPs on it, rather than trying to set up a second one.  You could
 probably gain more information by running:


I just read through my original post for this message here and should
have made it more clear that this list wasn't among the inadequate
helps I was referencing.  I cannot tell you the number of Google
searches I've done in looking for this.

I am not authoritative on this subnet.  Originally, I had the
statement as authoritative but thought this might be my problem
(unfortunately it wasn't).  The organization I work for is
sufficiently large enough that getting requests handled for the
authoritative serves nearly takes an act of Congress.  When our team
ramps up, we change out hardware quite frequently and this (asking for
changes made to the authoritative servers) isn't feasible for us to
meet demand.  So, this solution was put in place.  Our old bootp
server worked just fine, but is now having problems (it runs for about
a day and then crashes).

  tcpdump -s 0 -vv port bootps

 ...and look at whether the MAC addrs match what you think they should be in
 the request, and whether your server or another is replying with DHCPNAK.
  There is fine documentation and even a mailing list for the ISC DHCPD
 available here and at [EMAIL PROTECTED]:

  http://www.isc.org/index.pl?/sw/dhcp/authoritative.php
  http://www.isc.org/sw/dhcp/dhcpv3-README.php#support


thank you for these two links.  I hadn't yet found them from all the
searches I'd done thus far.  Also, though I should have thought of it
myself, thanks for the pointer on using tcpdump.  I'll give that a
try.

Andy


-- 
 A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 7.0 on Xen

2008-08-08 Thread Josh Carroll
On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo [EMAIL PROTECTED] wrote:
 I have a working config for non-HVM systems, its stable enough to play with 
 but
 not for production, if you have however a HVM machine, FreeBSD runs great
 under linux KVM

What host OS are you using for dom0? I'm considering setting this up
on my second box, so I can run 7.0-STABLE and 8.0-CURRENT
simultaneously (and use the full capabilities/speed of the processor),
but I've heard of limited success, depending on the host/dom0 OS.

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


How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Yavuz Maslak
On freebsd7, How to set quota for a directory?
For instance I want to set 100Mbyte quota for a directory. How can  I do
that ?



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


Re: FreeBSD 7.0 on Xen

2008-08-08 Thread Elwell, Richard
CentOS 5.2


On Fri, Aug 8, 2008 at 12:04 PM, OutBackDingo [EMAIL PROTECTED]
http://www.nabble.com/user/SendEmail.jtp?type=postpost=18896047i=0 
wrote: 
 I have a working config for non-HVM systems, its stable enough to play
with but 
 not for production, if you have however a HVM machine, FreeBSD runs
great 
 under linux KVM 

What host OS are you using for dom0? I'm considering setting this up 
on my second box, so I can run 7.0-STABLE and 8.0-CURRENT 
simultaneously (and use the full capabilities/speed of the processor), 
but I've heard of limited success, depending on the host/dom0 OS. 

Thanks, 
Josh 

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


Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread Chuck Swiger

On Aug 8, 2008, at 11:49 AM, Yavuz Maslak wrote:

On freebsd7, How to set quota for a directory?
For instance I want to set 100Mbyte quota for a directory. How can   
I do

that ?


Quotas are handled per filesystem, not per directory.
See man quotaon  man quotacheck, or the FreeBSD Handbook.

Regards,
--
-Chuck

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


Re: [OT] Re: apple mac laptop.

2008-08-08 Thread Gary Kline
On Fri, Aug 08, 2008 at 08:47:50AM -0400, John Almberg wrote:
 (And yes, while one can run FreeBSD just fine on a Macbook, Sahil is
 right that the question is off-topic for these lists.  :-)
 
 
  Well, considering that they asked us (and NetBSD) for clues when
  they were porting OSX, it didn't seem like my post was *that*
  far Off! maybe a tiny bit.
 
  Anyway, thanks to everybody who replied onlist and off.
 
  gary
 
 
 I don't think it's far OT, either, since IMHO, Mac desktops and  
 FreeBSD servers are the perfect, practical combination for many  
 organizations, including my own.


This might better be asked offlist, but there may be others like
me who are clueless, and since you are familiar, I'll ask you.
How interact-able are FBSD and (say) MacBook?  E.g., is there a 
BSD-way of my creating an account of the Apple and using is?
It's got @G of RAM, and a 160G drive [!].  Apple says in plain
text that is is UNIX.  (or maybe Berkeley Unix).  

So besides the mac firewall [whatever], the laptop will be
behind my pfSense box.  So... --and to be completely honest, the
main reason for this  $1000 laptop is *security*.  When she was
younger I wasn't that concerned is some kiddie cracker learned
that her favorite pet was a kitty.  Different now.

Another question: can I install X11 without it bothering whatever
kind of mac front-end windowing comes with?  Be great if I could
admin this BSD-based computer from my office.

thankee much!

gary


 
 -- John
 

-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


changing architecture from i386 to amd64

2008-08-08 Thread Ivo Karabojkov

Hi!

I have machine working with i386 version of FreeBSD 7.0 Release (after 
several source updates from 6.0 during the years). Is it possible to 
re-build kernel and world with another architecture, in my case AMD64? 
I've tried to build kernel in /sys/amd64/conf, but on make depend 
everything fails. I see it includes paths with .../I386/.. even link 
machine in compile directory points to .../I386.


I hope to be able to switch my architecture without re-installing 
FreeBSD with AMD64.


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


Re: changing architecture from i386 to amd64

2008-08-08 Thread Roland Smith
On Fri, Aug 08, 2008 at 10:55:30PM +0300, Ivo Karabojkov wrote:
 Hi!
 
 I have machine working with i386 version of FreeBSD 7.0 Release (after 
 several source updates from 6.0 during the years). Is it possible to 
 re-build kernel and world with another architecture, in my case
 AMD64? 

Yes, but you'll need to have a seperate partition to install them to.
Don't do this if you don't know what you're doing.

 I hope to be able to switch my architecture without re-installing 
 FreeBSD with AMD64.

You do realize that you have to recompile/reinstall your ports/packages
to take advantage of the amd64 features? That is a _lot_ more work than
reinstalling the base system! So reinstalling the base system should not
worry you. 

Before you switch you should check that all ports that you need are
available on amd64. If you look into the port makefile and see
ONLY_FOR_ARCHS=i386, it won't work on amd64! Examples are the flash
plugin for firefox and the binary nVidia driver for Xorg.

The best advice I can give you is:
- make backups of all your data (especially configuration files)
- delete all ports
- reinstall amd64
- rebuild the ports that you need.

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)


pgpjYvCUWQXL5.pgp
Description: PGP signature


Re: changing architecture from i386 to amd64

2008-08-08 Thread Kirk Strauser
On Friday 08 August 2008, Ivo Karabojkov wrote:

 I hope to be able to switch my architecture without re-installing
 FreeBSD with AMD64.

I went through this last week.  I use the 7.0 install disk to do an 
*upgrade* installation over the old one, booted into the new amd64 system, 
and upgraded kernel and world.

Next, I manually reinstalled databases/db47, lang/ruby18, 
databases/ruby-bdb, and ports-mgmt/portupgrade.  When that was done, I 
ran portupgrade -fa to recompile all the ports on my system.

The only gotchas I had were that Berkeley databases aren't portable from 
32-bit to 64-bit systems, and I used quite a few.  A word to the wise: dump 
PostgreSQL to a text file before the upgrade.
-- 
Kirk Strauser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


changing architecture from i386 to amd64

2008-08-08 Thread Iv. Karabojkov

Hi!

I have machine working with i386 version of FreeBSD 7.0 Release (after
several source updates from 6.0 during the years). Is it possible to
re-build kernel and world with another architecture, in my case AMD64?
I've tried to build kernel in /sys/amd64/conf, but on make depend
everything fails. I see it includes paths with .../I386/.. even link
machine in compile directory points to .../I386.

I hope to be able to switch my architecture without re-installing
FreeBSD with AMD64.


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


no boot/loader

2008-08-08 Thread acmeinc

No /boot/loader
no /boot/kernel/kernel

I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one
hard drive in which I followed with the ASQ (auto, tag for boot, quit)
command. I choose the standard boot loader option. I installed through the
master freebsd site via ethernet. Upon the congratulation screen is asks for
a reboot, and to remove the boot disk, I resart to the error message above.
I believe it is because a boot loader is not installed, however, it should
be. Is it not in the set up, it is one of the first steps.

Following the errors I am in put into a boot prompt:

boot:

Are there any commands I can run from this prompt to manually boot? How can
I make the boot work? Will I need to install my own boot loader? How can I
install a manul boot loader? How can I check if the boot loader is
installed, but just not loading properly?
-- 
View this message in context: 
http://www.nabble.com/no-boot-loader-tp18899421p18899421.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: FreePbx

2008-08-08 Thread José Manuel Echenique H.
Hi,

Review other option:


http://asterisk.s242.xrea.com/asterisk-gui-a0.html

AsteriskNOW.


On 8/3/08, orv [EMAIL PROTECTED] wrote:

 Hi,
 Does anyone have  a recipe for installing freepbx on FreeBSD 6-3 stable.
 There does not seem to be a port for it and googling does not reveal
 anything helpfull so far.

 I found the following which mentions a port however the port is no longer
 around. http://aussievoip.com/wiki/index.php?page=freePBX-FreeBSD.

 Thanks

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

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


Re: How to set quota ( as Mbyte ) for a directory?

2008-08-08 Thread acmeinc

You may actually use the edquota -u command to set a quota a specific user. 
I think this is about as specific as you can get.  edquota -g is for groups
and edquota -f is for a filesystem.  
-- 
View this message in context: 
http://www.nabble.com/How-to-set-quota-%28-as-Mbyte-%29--for-a-directory--tp18897426p18899490.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: ACLs, permission mask and chmod g=

2008-08-08 Thread acmeinc

You may consider trying chmod 660 filename.

660 - UGW, user group world.  For each read, write, and execute is
given a number, 4,2,1 repectively.  So, 660 would result in rw-rw,  a
popluar format is 755, rwxr-xr-x.  You would simply replace add the numbers
together for each division and place them after chmod and before the file to
give the permissions you would like.

Svein Halvor Halvorsen-4 wrote:
 
 If I have acls enabled on a file, running chmod g=rw on that file,
 will not change its group permissions, but the acl mask.
 
 That is, running the following command:
   $ chmod g=rw foo
 
 ... is equivalent with
   $ setfacl -m m::rw-
 
 ... and not, as I would suspect:
   $ setfacl -m g::rw-
 
 In other words, foo will not be read/writable by its default group
 after the command have been run (unless it was already).
 
 I find this behaviour to be very confusing. It might be the correct
 bahaviour, but if so maybe the chmod(1) manpage, and possibly
 chmod(2), should be updated to document this?
 
 
   Svein Halvor
 
 
  
 

-- 
View this message in context: 
http://www.nabble.com/ACLs%2C-permission-mask-and-chmod-g%3D-tp18893185p18899706.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: ACLs, permission mask and chmod g=

2008-08-08 Thread Svein Halvor Halvorsen
acmeinc wrote:
 You may consider trying chmod 660 filename.

It gives the same result. When changing group permission (either
way) on a file with acls, you're effectively changing the acl mask
instead. Also, if I change acl mask with setfacl, then ls -l will
list the permission mask in the group columns in the output.

If this is by design, then it isn't documented in chmod(1) (or
anywhere else that I can see).

It kinda makes sense this way, though. If you chmod the group
permission, you change all groups' permissions. But I'd like to see
it documented, as it caused me some confusion, and I still think
that this isn't obvious.


 Svein Halvor Halvorsen-4 wrote:
 If I have acls enabled on a file, running chmod g=rw on that file,
 will not change its group permissions, but the acl mask.

 That is, running the following command:
  $ chmod g=rw foo

 ... is equivalent with
  $ setfacl -m m::rw-

 ... and not, as I would suspect:
  $ setfacl -m g::rw-

 In other words, foo will not be read/writable by its default group
 after the command have been run (unless it was already).

 I find this behaviour to be very confusing. It might be the correct
 bahaviour, but if so maybe the chmod(1) manpage, and possibly
 chmod(2), should be updated to document this?


  Svein Halvor


  

 




signature.asc
Description: OpenPGP digital signature


Re: ACLs, permission mask and chmod g=

2008-08-08 Thread acmeinc

One last thing

have you tried;

setfacl -s

i notice you have -m in your original post.

Other than this, I won't have any other insight.


Svein Halvor Halvorsen-4 wrote:
 
 acmeinc wrote:
 You may consider trying chmod 660 filename.
 
 It gives the same result. When changing group permission (either
 way) on a file with acls, you're effectively changing the acl mask
 instead. Also, if I change acl mask with setfacl, then ls -l will
 list the permission mask in the group columns in the output.
 
 If this is by design, then it isn't documented in chmod(1) (or
 anywhere else that I can see).
 
 It kinda makes sense this way, though. If you chmod the group
 permission, you change all groups' permissions. But I'd like to see
 it documented, as it caused me some confusion, and I still think
 that this isn't obvious.
 
 
 Svein Halvor Halvorsen-4 wrote:
 If I have acls enabled on a file, running chmod g=rw on that file,
 will not change its group permissions, but the acl mask.

 That is, running the following command:
 $ chmod g=rw foo

 ... is equivalent with
 $ setfacl -m m::rw-

 ... and not, as I would suspect:
 $ setfacl -m g::rw-

 In other words, foo will not be read/writable by its default group
 after the command have been run (unless it was already).

 I find this behaviour to be very confusing. It might be the correct
 bahaviour, but if so maybe the chmod(1) manpage, and possibly
 chmod(2), should be updated to document this?


 Svein Halvor


  

 
 
 
 
  
 

-- 
View this message in context: 
http://www.nabble.com/ACLs%2C-permission-mask-and-chmod-g%3D-tp18893185p18900042.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


Re: ACLs, permission mask and chmod g=

2008-08-08 Thread Svein Halvor Halvorsen
acmeinc wrote:
 One last thing
 
 have you tried;
 
 setfacl -s

setfacl -s is not documented, and also gives illegal option -- s



signature.asc
Description: OpenPGP digital signature


Re: no boot/loader

2008-08-08 Thread Derek Ragona

At 04:42 PM 8/8/2008, acmeinc wrote:


No /boot/loader
no /boot/kernel/kernel

I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one
hard drive in which I followed with the ASQ (auto, tag for boot, quit)
command. I choose the standard boot loader option. I installed through the
master freebsd site via ethernet. Upon the congratulation screen is asks for
a reboot, and to remove the boot disk, I resart to the error message above.
I believe it is because a boot loader is not installed, however, it should
be. Is it not in the set up, it is one of the first steps.

Following the errors I am in put into a boot prompt:

boot:

Are there any commands I can run from this prompt to manually boot? How can
I make the boot work? Will I need to install my own boot loader? How can I
install a manul boot loader? How can I check if the boot loader is
installed, but just not loading properly?


You would do well do try the install again, but check things BEFORE you 
allow sysinstall to exit and reboot.  Also check that your BIOS has any 
anti-virus settings not allowing the boot area of the hard disk to be 
written, turned off.


-Derek

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

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


Re: no boot/loader

2008-08-08 Thread Derek Ragona

At 07:00 PM 8/8/2008, acmeinc wrote:


Check things?  Which things should I be checking for?   And where should I be
checking them, to be more specific, which optoin should I choose within
sysinstall to check the things?

I am reading on another forum the installation is incorrect and to try
again, however I have tried many times.  Do you think the minimun install is
not enough to allow for bootup?


Before you exit sysinstall, go to the emergency shell I believe alt+F4 will 
get you there.  Then do:

mount

The output from mount will show where the new filesystems are mounted.  You 
can check that /boot is populated and that you have a kernel in 
/boot/kernel/kernel.  To check those you'd type:


ls -al [fill in the root mount point]/boot

and

ls -al [fill in the root mount point]/boot/kernel/kernel

Check your BIOS settings.  It is likely you have a setting in the BIOS 
preventing the boot area being written.


-Derek





Derek Ragona wrote:

 At 04:42 PM 8/8/2008, acmeinc wrote:

No /boot/loader
no /boot/kernel/kernel

I isntalled FreeBSD 7.0 with the defaults for partiioning. I am using one
hard drive in which I followed with the ASQ (auto, tag for boot, quit)
command. I choose the standard boot loader option. I installed through the
master freebsd site via ethernet. Upon the congratulation screen is asks
for
a reboot, and to remove the boot disk, I resart to the error message
above.
I believe it is because a boot loader is not installed, however, it should
be. Is it not in the set up, it is one of the first steps.

Following the errors I am in put into a boot prompt:

boot:

Are there any commands I can run from this prompt to manually boot? How
can
I make the boot work? Will I need to install my own boot loader? How can I
install a manul boot loader? How can I check if the boot loader is
installed, but just not loading properly?

 You would do well do try the install again, but check things BEFORE you
 allow sysinstall to exit and reboot.  Also check that your BIOS has any
 anti-virus settings not allowing the boot area of the hard disk to be
 written, turned off.

  -Derek

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

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



--
View this message in context: 
http://www.nabble.com/no-boot-loader-tp18899421p18900779.html

Sent from the freebsd-questions mailing list archive at Nabble.com.

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

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


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

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


Re: no boot/loader

2008-08-08 Thread Polytropon
On Fri, 8 Aug 2008 17:00:54 -0700 (PDT), acmeinc [EMAIL PROTECTED] wrote:
 Check things?  Which things should I be checking for?   And where should I be
 checking them, to be more specific, which optoin should I choose within
 sysinstall to check the things?  

Be sure to write your settings. In the partition editor, make
sure your desired FreeBSD slice is marked active and ensure
you have selected to install the standard MBR loader. (If you
want to be able to boot into more than one OS, you need to
install the boot manager.) Afterwards, when creating the
partitions within the slice, I assume you've done everything
correctly, else no installation success would be able to
happen.



 I am reading on another forum the installation is incorrect and to try
 again, however I have tried many times.

There seems to be something you've missed, but at this point,
I can't guess what it could be.



 Do you think the minimun install is
 not enough to allow for bootup?

It is, if done correctly.

To boot, a correct modification of the boot record is essential.
As it has been mentioned, there are some BIOS variants that
prohibit any modification of these hard disk areas. But that
does not seem to be the problem. The message you gave seems to
indicat that something is already in the boot area, but the
loader itself cannot be run. The loader is placed into your
FreeBSD slice (partition), it resides in /boot; if started,
the loader invokes the kernel from /boot/kernel, but that's
to be happing after you could solve the problem in question.

This is what yould happen, summarized:

1. BIOS runs loader found in MBR (standard loader)
2. Standard loader runs /boot/loader
3. /boot/loader runs /boot/kernel/kernel (GENERIC)
4. Kernel initializes system, runs rc script
5. rc script controls system startup
6. System is up and running

While number 1 is connected to the hard disk infront of any
partitions, numbers 2 and 3 depend on the FreeBSD's slice and
its partitions (usually /dev/ad0s1a). If the required content
of this partition is not present, the error you mentioned is
completely understandable.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: A few questions from a current linux user

2008-08-08 Thread Giorgos Keramidas
On Thu, 7 Aug 2008 23:20:08 -0400, Krishna Mohan Gundu [EMAIL PROTECTED] 
wrote:
 Hi,
 I am currently using Fedora Core 4 linux distribution for my everyday
 needs like programming, checking emails etc on my two year old HP
 laptop. I feel that time has come for me to move away from Fedora. I
 wasted a lot of time compiling libraries and their dependencies. I
 could benefit from better packaging systems that come with systems
 like FreeBSD.

Hi Krishna,

I've been meaning to respond to this post for a couple of days, but it
took me a little longer than I originally hoped...

This may be totally unrelated to the real question, but doesn't Fedora
use pre-compiled packages by default?  I thought that was pretty much
the One True Way(TM) of updating Fedora systems.

 I tried to gather as much information as I could from the
 documentation available on freebsd.org, but the following questions
 remain unanswered. I would be glad if you can take time to educate me

 1) Is a feature similar to magic SysRq in linux necessary for FreeBSD?
 (As I understand there is no such feature in FreeBSD)

Not really.  SysRq has a few nice characteristics, i.e. it can unmount
local filesystems gracefully to avoid `fsck' runs during the next boot.
It's a nice, handy tool in some cases.  But it also comes at a cost: it
modifies the in-memory state of the running kernel.

FreeBSD has a kernel debugger that can be enabled, called DDB.  When the
kernel locks up or panics because something bogus happened, the DDB can
dump the state of the kernel into a preconfigured swap area, and the
startup scripts of the next boot will pick up the kernel coredump from
swap, save it in `/var/crash', and let you run post-mortem analysis on
the kernel core dump.

If this is combined with something like SysRq, and there's really a bug
in the parts of the kernel that SysRq has to use to perform its final
steps, you lose.  You may be modifying the parts of the kernel memory
that actually exhibit the bug, and make the kernel dump unusable.

 2) Is it possible to compile multiple versions of gcc? If so what is
 the best way to do it?

Yes, of course.

The base system of FreeBSD includes _one_ version of gcc, installed as
`/usr/bin/gcc', but this does not mean that you are limited to *that*
version only.  You can use the Ports tree to install one or more
versions.  The snapshot of Ports I have on the laptop I am using to type
this includes 12 different gcc ports (and that does not include the
Fortran, Objective C, or Java backends GCC supports):

  # pwd
  /usr/ports/lang
  # ls -ld gcc* | nl
   1  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc-ooo
   2  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc28
   3  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc295
   4  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc32
   5  drwxr-xr-x  3 root  wheel  - 512 Jul 22 05:03 gcc33
   6  drwxr-xr-x  3 root  wheel  - 512 Jul 29 04:46 gcc34
   7  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc41
   8  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc41-withgcjawt
   9  drwxr-xr-x  3 root  wheel  - 512 Jul 22 05:03 gcc42
  10  drwxr-xr-x  3 root  wheel  - 512 Jul 17 03:01 gcc42-withgcjawt
  11  drwxr-xr-x  3 root  wheel  - 512 Jul 29 04:46 gcc43
  12  drwxr-xr-x  3 root  wheel  - 512 Aug  7 02:25 gcc44
  #

So yes, you can install several different versions of GCC at the same
time.

 3) Is it possible to perform a binary update from one release to
 another? If so can you please point me to the documentation? How are
 config files updated in this case? (Could not locate documentation on
 binup)

Yes.  In recent FreeBSD releases, the base system of FreeBSD includes
freebsd-update.  This is a utility authored by Colin Percival, who is
currently the Security Officer of FreeBSD, and a very smart fellow :)

What freebsd-update does is described in its manpage

http://www.freebsd.org/cgi/man.cgi?query=freebsd-updateformat=ascii

but the basic idea is that is can do one of the following things:

* Download binary update packs in `/var/db/freebsd-update'.  These
  are not installed immediatelly, so you can periodically pull the
  binary update files and install them later, when you have the time
  for an upgrade.

  The default `fetch' mode of `freebsd-update' downloads binary
  updates for the release  branch of FreeBSD that you have
  installed on the local system.  Staying on the same branch has
  various advantages that are nicely described in the online article
  about `

* Download binary update packs for _upgrading_ to a new release.
  This is slightly different from an update that sticks to a single
  FreeBSD release-branch, and there are official release notes about
  the changes of every major release.  They are published online at

  http://www.FreeBSD.org/releases/

  Downloading the binary packs for new release still does *not*
  install 

Re: Disk errors on installing FreeBSD 8.0 (solved)

2008-08-08 Thread Al Plant

Julien Cigar wrote:

Same problems for me with atapi CD/DVD drives (READ_BIG timeouts,
etc) .. it works a bit better when dma is turned off, but then
performances are very poor.

On Thu, 2008-08-07 at 14:17 -1000, Al Plant wrote:

N.J. Thomas wrote:

* Snorre D. ?verb? [EMAIL PROTECTED] [2008-08-07 15:29:11+]:

When I boot up with the installation DVD these error messages appear
on the screen.

ad1: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED 
LBA=0055347
ad0: FAILURE - READ_DMA status=51READY,DSC,ERROR error=84ICRC,ABORTED LBA=0
etc

I got the same exact errors trying to install 7.0-RELEASE on two
different Dell boxes. One was 4 years old, the other was brand new (3
months ago).

Never was able to fix the problem. For the older one, I plugged in an
external DVD drive and installed via that. For the other one, I
installed via a mini-install disk, and then did a minimal network
install.

For the record, they both had SATA drives and the disks worked (and
still work) fine after the OS was installed. It was just copying the
base system off the CD that was causing errors.

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

888
  Aloha,

I am getting the same errors as you guys with an intermittient BIG_read 
one occasionally. I've tried to install FreeeBSD CURRENT 8 and 7 release.


This is on a no name box with a bio board and 1100 cpu. I've had this on 
other boxes too and load IDE drives on a box that works with them and 
then put them in the box with errors and they work just fine.


Every thing gets recognized normally at  install time, but the size of 
the IDE drive a Fujutsu 20 gig. shows twice what it should be every time.


Dont know if this has anything to do with it, except if you change the 
size in installer it wont load anything.


Maybe one of the top level gurus on the list can help.




Aloha,

The suggestion to put the folloeing worked to clear my DMA error.

In: /boot/loader
Put: hw.ata.ata_dma=0 #disable IDE DMA

This allowed an uninterrupted boot.

Thanks for the suggestion.

~Al Plant - Honolulu, Hawaii -  Phone:  808-284-2740
  + http://hawaiidakine.com + http://freebsdinfo.org +
  + http://aloha50.net   - Supporting - FreeBSD 6.* - 7.* - 8.* +
   email: [EMAIL PROTECTED] 
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]


Re: [OT] Re: apple mac laptop.

2008-08-08 Thread David Kelly


On Aug 8, 2008, at 2:44 PM, Gary Kline wrote:


So besides the mac firewall [whatever], the laptop will be
behind my pfSense box.  So... --and to be completely honest, the
main reason for this  $1000 laptop is *security*.  When she was
younger I wasn't that concerned is some kiddie cracker learned
that her favorite pet was a kitty.  Different now.


MacOS X comes with good old ipfw. Apple has added a 2nd firewall on  
top of that for 10.5, but apparently not pf.



Another question: can I install X11 without it bothering whatever
kind of mac front-end windowing comes with?  Be great if I could
admin this BSD-based computer from my office.



Yes, Apple provides X11 as an optional install on the included system  
DVD, but not preloaded from the factory.


While you are loading X11 I suggest you also install Xcode. Then again  
I think Xcode was pre-installed on my Mac Pro. Xcode is Apple's  
software development environment.


--
David Kelly N4HHE, [EMAIL PROTECTED]

Whom computers would destroy, they must first drive mad.

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


Re: Questions about coretemp

2008-08-08 Thread Norberto Meijome
On Thu, 7 Aug 2008 16:50:55 -0700 (PDT)
[EMAIL PROTECTED] wrote:

 that is, exept for when i added coretemp_load=YES to loader.conf (as 
 per the coretemp manpage) and then i got this in dmesg:
 
module_register: module cpu/coretemp already exists!
Module cpu/coretemp failed to register: 17

this means that the code in the module  is already loaded , or it is part of 
the kernel itself.

B

_
{Beto|Norberto|Numard} Meijome

Software QA is like cleaning my cat's litter box: Sift out the big chunks. Stir 
in the rest. Hope it doesn't stink.

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]