Re: Question RE: Linux Mode

2010-06-29 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/06/2010 04:34:10, Richards, Toby wrote:
 So as far as I can tell, turning Linux Mode on exposes another threat
 vector. Can I turn on Linux Mode ONLY for a single binary (the Flash
 plugin)?

Unfortunately no.  Enabling the linuxulator loads a kernel module which
provides a linux compatible syscall interface and a linux-like /proc
filesystem: given that and the availability of suitable Linux shlibs,
then potentially any Linux application can be run.

On the other hand, given Apple's trenchant opposition to Flash on the
iPad and iPhone, you could just grit your teeth for a year or so, by
which time most sites should be providing a flash-free alternative.

The FlashBlock and NoScript add-on modules for firefox work pretty well
to smooth over the rough edges caused by lack of Flash support.

Cheers,

Matthew


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

iEYEARECAAYFAkwpi/wACgkQ8Mjk52CukIyf5wCeOgnl0G5s2aQFmiGK6wVUhsHh
xncAn1EXXpTjo3H8enchoenO1wI8iVMR
=DIY2
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


BIND Refusing to Resolve for External Hosts

2010-06-29 Thread Chris Maness
My named server used to resolve for external hosts.  Recently I have
noticed that it no longer resolves names for resolvers not on the
local host.  It works just fine for dig on the dns server itself.  It
also works for domains that it has authority over.  I also have it set
up to be a caching server on my network.  Has the spec for the config
file changed or something?

Here is the beginning of the the config file:

cat named.conf
// $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.2.1 2008/11/25
02:59:29 kensmith Exp $
//
// Refer to the named.conf(5) and named(8) man pages, and the documentation
// in /usr/share/doc/bind9 for more details.
//
// If you are going to set up an authoritative server, make sure you
// understand the hairy details of how DNS works.  Even with
// simple mistakes, you can break connectivity for affected parties,
// or cause huge amounts of useless Internet traffic.

options {
// Relative to the chroot directory, if any
directory   /etc/namedb;
pid-file/var/run/named/pid;
dump-file   /var/dump/named_dump.db;
statistics-file /var/stats/named.stats;
allow-transfer {
76.238.148.146;
};

// If named is being used only as a local resolver, this is a safe default.
// For named to be accessible to the network, comment this option, specify
// the proper IP address, or delete this option.
//  listen-on   { 127.0.0.1; };

// If you have IPv6 enabled on this system, uncomment this option for
// use as a local resolver.  To give access to the network, specify
// an IPv6 address, or the keyword any.
//  listen-on-v6{ ::1; };

// These zones are already covered by the empty zones listed below.
// If you remove the related empty zones below, comment these lines out.
disable-empty-zone 255.255.255.255.IN-ADDR.ARPA;
disable-empty-zone
0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA;
disable-empty-zone
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA;

// In addition to the forwarders clause, you can force your name
// server to never initiate queries of its own, but always ask its
// forwarders only, by enabling the following line:
//
//  forward only;

// If you've got a DNS server around at your upstream provider, enter
// its IP address here, and enable the line below.  This will make you
// benefit from its cache, thus reduce overall DNS traffic in the Internet.
/*
forwarders {
127.0.0.1;
};
*/
/*
   Modern versions of BIND use a random UDP port for each outgoing
   query by default in order to dramatically reduce the possibility
   of cache poisoning.  All users are strongly encouraged to utilize
   this feature, and to configure their firewalls to accommodate it.

   AS A LAST RESORT in order to get around a restrictive firewall
   policy you can try enabling the option below.  Use of this option
   will significantly reduce your ability to withstand cache poisoning
   attacks, and should be avoided if at all possible.

   Replace N in the example with a number between 49160 and 65530.
*/
// query-source address * port N;
};

// If you enable a local name server, don't forget to enter 127.0.0.1
// first in your /etc/resolv.conf so this server will be queried.
// Also, make sure to enable it in /etc/rc.conf.

// The traditional root hints mechanism. Use this, OR the slave zones below.
zone . { type hint; file named.root; };

/*  Slaving the following zones from the root name servers has some
significant advantages:
1. Faster local resolution for your users
2. No spurious traffic will be sent from your network to the roots
3. Greater resilience to any potential root server failure/DDoS

On the other hand, this method requires more monitoring than the
hints file to be sure that an unexpected failure mode has not
incapacitated your server.  Name servers that are serving a lot
of clients will benefit more from this approach than individual
hosts.  Use with caution.

To use this mechanism, uncomment the entries below, and comment
the hint zone above.
*/
/*
zone . {
type slave;
file slave/root.slave;
masters {
192.5.5.241;// F.ROOT-SERVERS.NET.
};
notify no;
};

zone 0.0.127.IN-ADDR.ARPA {
type master;
file master/localhost.rev;
};
zone in-addr.arpa {
type slave;
file slave/in-addr.arpa.slave;
masters {
192.5.5.241;// F.ROOT-SERVERS.NET.
};
notify no;
};
*/

/*  Serving the following zones locally will prevent any queries
for these zones leaving your network and going to the root
name servers.  This has two significant advantages:
 

Re: BIND Refusing to Resolve for External Hosts

2010-06-29 Thread Bogdan Webb
uhm here's my named.conf (it's a bit lightwight) but it works...

// $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.4.1 2009/04/15 03:14:26
 kensmith Exp $
 options {
 directory/etc/namedb/namedwritable; //made dir writable to bind
 user
 pid-file/var/run/named/pid;
 dump-file/var/dump/named_dump.db;
 statistics-file/var/stats/named.stats;
 //listen-on{ 127.0.0.1; };
 disable-empty-zone 255.255.255.255.IN-ADDR.ARPA;
 disable-empty-zone
 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA;
 disable-empty-zone
 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.IP6.ARPA;
 forwarders {8.8.8.8; 8.8.4.4; 62.231.76.49; 81.18.85.7; 4.2.2.4;
 208.67.222.222; 208.67.220.220; 213.154.124.1; 193.231.252.1; 4.2.2.1;
 4.2.2.2; 4.2.2.3; 4.2.2.5; 4.2.2.6; 151.197.0.38; 151.197.0.39;
 151.202.0.84; 151.202.0.85; 151.202.0.85; 151.203.0.84; 151.203.0.85;
 199.45.32.37; 199.45.32.38; 199.45.32.40; 199.45.32.43; 192.76.85.133;
 206.124.64.1; 67.138.54.100; 220.233.167.31; 199.166.31.3; 66.93.87.2;
 216.231.41.2; 216.254.95.2; 64.81.45.2; 64.81.111.2; 64.81.127.2;
 64.81.79.2; 64.81.159.2; 66.92.64.2; 66.92.224.2; 66.92.159.2; 64.81.79.2;
 64.81.159.2; 64.81.127.2; 64.81.45.2; 216.27.175.2; 66.92.159.2; 66.93.87.2;
 199.2.252.10; 204.97.212.10; 204.117.214.10; 64.102.255.44; 128.107.241.185;
 156.154.70.1; 156.154.71.1;};
 };

 zone . { type hint; file ../named.root; };

 zone pgn.ro {
 type master;
 file ../master/pgn.ro.zone; //master dir writable to bind user
 allow-transfer { localhost; };
 allow-update { key rndc-key; };
 };

 zone pvp.ro {
 type master;
 file ../master/pvp.ro.zone;
 allow-transfer { localhost; };
 allow-update { key rndc-key; };

 };

 zone pnl-mioveni.ro {
 type master;
 file ../master/pnl-mioveni.ro.zone;
 allow-transfer { localhost; };
 allow-update { key rndc-key; };
 };

 zone chiritamarian.ro {
 type master;
 file ../master/chiritamarian.ro.zone;
 allow-transfer { localhost; };
 allow-update { key rndc-key; };
 };

 key rndc-key {
 algorithm hmac-md5;
 secret XX;
 };


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


Re: sendmail: My unqualified host name

2010-06-29 Thread Michael

On 28/06/2010 23:21, Polytropon wrote:

On Mon, 28 Jun 2010 23:12:38 +0100, Michaelmlmichae...@gmail.com  wrote:

Yes but I don't quite understand why. It's my laptop system and I don't
really need or want sendmail there.


You may want to reconsider this statement. :-)



I did just that :) So far I thought sendmail is a big hairy thing that 
is completely useless on desktop systems. Now I learned that it is kind 
of crucial to proper system workings so in fact I do need it. Plus 
messages that it tried to deliver are important so I definitely do want it.





It was all fine and quiet for months and started just recently.


So THAT is really strange.



So mystery is now solved since I got sendmail working locally. It turned 
out that ports update went wrong and messed up one program. That program 
was being run every minute via root's crontab...


Thank you so much.

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


Re: slapd crash the HP proliant DL360 at 8.0

2010-06-29 Thread Frank Bonnet


Hello Peter


Thanks for your help unfortunately it does not solve my problem
the  symbol undefined symbol message is still there ...

/libexec/ld-elf.so.1: /usr/local/libexec/slapd: Undefined symbol 
ldap_pvt_csnstr


I'm stucked ...


On 06/28/2010 06:01 PM, Peter Boosten wrote:


On 28 jun 2010, at 17:46, Frank Bonnet wrote:




On 06/28/2010 05:40 PM, Peter Boosten wrote:


On 28 jun 2010, at 11:56, Frank Bonnetf.bon...@esiee.fr  wrote:


Argh !!!

I upgraded slapd to 2.4.22 and it does not start anymore !!!

some symbol cannot be found anymore

I had to revert to 2.3.4x to have a working slapd !!!

What's wrong with 2.4.22 folks ?




Just checked: I'm running 2.4.22 on 8.0, no problems so far.

Peter


Hello

could you tell which options you checked  ?


I'm actually running openldap-sasl-server-2.4.22, from

Origin:
net/openldap24-server

ra% cd /var/db/ports/openldap24
ra% less options
# This file is auto-generated by 'make config'.
# No user-servicable parts inside!
# Options for openldap-sasl-server-2.4.15
_OPTIONS_READ=openldap-sasl-server-2.4.15
WITH_SASL=true
WITHOUT_DYNACL=true
WITHOUT_ACI=true
WITHOUT_DNSSRV=true
WITHOUT_PASSWD=true
WITHOUT_PERL=true
WITHOUT_RELAY=true
WITHOUT_SHELL=true
WITHOUT_SOCK=true
WITHOUT_ODBC=true
WITHOUT_RLOOKUPS=true
WITHOUT_SLP=true
WITHOUT_SLAPI=true
WITH_TCP_WRAPPERS=true
WITH_BDB=true
WITHOUT_ACCESSLOG=true
WITHOUT_AUDITLOG=true
WITHOUT_COLLECT=true
WITHOUT_CONSTRAINT=true
WITHOUT_DDS=true
WITHOUT_DEREF=true
WITHOUT_DYNGROUP=true
WITHOUT_DYNLIST=true
WITHOUT_LASTMOD=true
WITHOUT_MEMBEROF=true
WITHOUT_PPOLICY=true
WITHOUT_PROXYCACHE=true
WITHOUT_REFINT=true
WITHOUT_RETCODE=true
WITHOUT_RWM=true
WITH_SEQMOD=true
WITH_SYNCPROV=true
WITHOUT_TRANSLUCENT=true
WITHOUT_UNIQUE=true
WITHOUT_VALSORT=true
WITHOUT_SMBPWD=true
WITH_DYNAMIC_BACKENDS=true

Hope this helps.

Peter



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


How are USB drivers assigned?

2010-06-29 Thread Gary Dunn
Is there a file that associates drivers with USB device information?
More specifically, how does a USB mouse get assigned to the ums driver?
This is for FreeBSD 8.0, if it matters.
-- 
Gary Dunn, Honolulu
o...@aloha.com
http://openslate.net/
http://e9erust.blogspot.com/
Sent from Slate001

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


move back to preceding ports ?

2010-06-29 Thread Frank Bonnet

Hello

Due to my unsolved problem with openldap24-server 2.4.22 port
I would like to know of ot is possible to move backward the ports tree
in order to reuse the 2.4.21 version.

The machine is dedicated to LDAP service so it won't hurt
anything else :-)

Thanks

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


Re: move back to preceding ports ?

2010-06-29 Thread Daniel Bye
On Tue, Jun 29, 2010 at 11:49:38AM +0200, Frank Bonnet wrote:
 Hello
 
 Due to my unsolved problem with openldap24-server 2.4.22 port
 I would like to know of ot is possible to move backward the ports tree
 in order to reuse the 2.4.21 version.

ports-mgmt/portdowngrade is likely what you are looking for. 

 
 The machine is dedicated to LDAP service so it won't hurt
 anything else :-)
 
 Thanks
 
 F
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

-- 
Daniel Bye
 _
  ASCII ribbon campaign ( )
 - against HTML, vCards and  X
- proprietary attachments in e-mail / \


pgpdZ8SPtyPRX.pgp
Description: PGP signature


Just want to ask

2010-06-29 Thread esra perangin angin
Hello FreeBSD, i'm new comer to FreeBSD, 
Is FreeBSD Completely Free for USE?
Thanks 
 


Esra Peranginangin  CCNA
www.rsamedan.org
Cell Phone : +62 812 6384 6907
 
 
 
 
 
 
 Chief Accountant
Medan Adventist Hospital
Jl. Gatot Subroto Km 4.5 Medan - Indonesia
20118



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


Re: move back to preceding ports ?

2010-06-29 Thread Frank Bonnet

ok thanks a lot


On 06/29/2010 12:14 PM, Daniel Bye wrote:

On Tue, Jun 29, 2010 at 11:49:38AM +0200, Frank Bonnet wrote:

Hello

Due to my unsolved problem with openldap24-server 2.4.22 port
I would like to know of ot is possible to move backward the ports tree
in order to reuse the 2.4.21 version.


ports-mgmt/portdowngrade is likely what you are looking for.



The machine is dedicated to LDAP service so it won't hurt
anything else :-)

Thanks

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




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


Re: move back to preceding ports ?

2010-06-29 Thread Peter Boosten
On 29-6-2010 13:19, Frank Bonnet wrote:
 ok thanks a lot

I noticed in an earlier post that you manually upgrade openldap.
How do you maintain other ports, like dependencies?

Peter

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


Re: Just want to ask

2010-06-29 Thread Chris Rees
On 29 June 2010 07:36, esra perangin angin esra_peranginan...@yahoo.com wrote:
 Hello FreeBSD, i'm new comer to FreeBSD,
 Is FreeBSD Completely Free for USE?
 Thanks


Free for use, free for distribution, free for editing and changing.

Read http://www.freebsd.org/copyright/freebsd-license.html

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


Re: move back to preceding ports ?

2010-06-29 Thread Frank Bonnet

I've always used cvsup to maintain the ports tree up to date

cvsup -g -L 2 ports-supfile ( with all options )


On 06/29/2010 01:27 PM, Peter Boosten wrote:

On 29-6-2010 13:19, Frank Bonnet wrote:

ok thanks a lot


I noticed in an earlier post that you manually upgrade openldap.
How do you maintain other ports, like dependencies?

Peter


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


Re: move back to preceding ports ?

2010-06-29 Thread Peter Boosten

On 29 jun 2010, at 13:56, Frank Bonnet wrote:

 I've always used cvsup to maintain the ports tree up to date

 cvsup -g -L 2 ports-supfile ( with all options )


Yeah, that takes care of the ports... but do you recompile dependancies
as well?

For instance:

ra% pkg_info -r openldap-sasl-server-2.4.22
Information for openldap-sasl-server-2.4.22:

Depends on:
Dependency: cyrus-sasl-2.1.23
Dependency: openldap-sasl-client-2.4.22
Dependency: libltdl-2.2.6b
Dependency: db46-4.6.21.4

Peter

-- 
Peter Boosten
http://www.boosten.org



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


Re: move back to preceding ports ?

2010-06-29 Thread Frank Bonnet


BTW the anoncvs.freebsd.org server seems unreachable
from here ( france ) ...




On 06/29/2010 01:27 PM, Peter Boosten wrote:

On 29-6-2010 13:19, Frank Bonnet wrote:

ok thanks a lot


I noticed in an earlier post that you manually upgrade openldap.
How do you maintain other ports, like dependencies?

Peter


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


Re: move back to preceding ports ?

2010-06-29 Thread Frank Bonnet

BINGO !!! this works well !!!

Great ! But it does not explain why 2.4.22 has this problem ...


On 06/29/2010 02:16 PM, James Bailie wrote:

That's the problem with portdowngrade:  it's almost impossible to find an actual anoncvs 
server, instead of c(v)sup. If the port has not changed substantially, editing 
PORTVERSION in the Makefile might work.  You will need to do make makesum deinstall 
install clean afterward.
--Original Message--
From: Frank Bonnet
Sender: owner-freebsd-questi...@freebsd.org
To: freebsd-questions@freebsd.org
Subject: Re: move back to preceding ports ?
Sent: Jun 29, 2010 8:02 AM


BTW the anoncvs.freebsd.org server seems unreachable
from here ( france ) ...




On 06/29/2010 01:27 PM, Peter Boosten wrote:

On 29-6-2010 13:19, Frank Bonnet wrote:

ok thanks a lot


I noticed in an earlier post that you manually upgrade openldap.
How do you maintain other ports, like dependencies?

Peter


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


--
James Bailie
http://www.mammothcheese.ca

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


Re: Just want to ask

2010-06-29 Thread Alejandro Imass
On Tue, Jun 29, 2010 at 2:36 AM, esra perangin angin
esra_peranginan...@yahoo.com wrote:
 Hello FreeBSD, i'm new comer to FreeBSD,
 Is FreeBSD Completely Free for USE?

Is actually even _free-er_ than any GNU-based system

 Thanks

 

 Esra Peranginangin  CCNA
 www.rsamedan.org
 Cell Phone : +62 812 6384 6907






  Chief Accountant
 Medan Adventist Hospital
 Jl. Gatot Subroto Km 4.5 Medan - Indonesia
 20118



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

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


Re: Just want to ask

2010-06-29 Thread Chris Rees
Absolutely, copyleft is copyright by another name!

Chris



Sorry for top-posting, Android won't let me quote. There's a bug report on
it!

On 29 Jun 2010 15:51, Alejandro Imass a...@p2ee.org wrote:

On Tue, Jun 29, 2010 at 2:36 AM, esra perangin angin

esra_peranginan...@yahoo.com wrote:

 Hello FreeBSD, i'm new comer to FreeBSD,
 Is FreeBSD Completely Free for USE?
Is actually even _free-er_ than any GNU-based system


 Thanks

 

 Esra Peranginangin  CCNA
 www.rsamedan.org
 Cel...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How are USB drivers assigned?

2010-06-29 Thread Roland Smith
On Mon, Jun 28, 2010 at 11:03:38PM -1000, Gary Dunn wrote:
 Is there a file that associates drivers with USB device information?
 More specifically, how does a USB mouse get assigned to the ums driver?
 This is for FreeBSD 8.0, if it matters.

When queried on connection the mouse identifies itself by sending a descriptor
as a Human Interface Device class peripheral, and specifically a mouse. The
USB driver then knows to attach the ums device driver.

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)


pgp0kW4oz5q0S.pgp
Description: PGP signature


Re: How to get the SPD infomation in freebsd ?

2010-06-29 Thread C. P. Ghost
On Tue, Jun 29, 2010 at 7:51 AM, Matthew Seaman
m.sea...@infracaninophile.co.uk wrote:
 On 29/06/2010 03:29:04, zaxis wrote:

 In windows, the `CPU-Z` utility can be used to get the SPD(Serial Presence
 Detect) information. How about freebsd ? I want to get those information
 especially frequency to add more memory. And i donot want to touch the
 hardware.

 Try dmidecode(8) -- it's in ports.  This will tell you quite a bit of
 information about what type of RAM you have installed, but it may be
 more productive to look up the Motherboard model numbers it returns, and
 find compatible RAM that way.

dmidecode(8) is better than nothing, but it doesn't return SPD data for me:

Handle 0x002B, DMI type 17, 27 bytes
Memory Device
Array Handle: 0x0029
Error Information Handle: Not Provided
Total Width: 64 bits
Data Width: 72 bits
Size: 2048 MB
Form Factor: DIMM
Set: None
Locator: DIMM0
Bank Locator: BANK0
Type: DDR2
Type Detail: Synchronous
Speed: 400 MHz
Manufacturer: Manufacturer0
Serial Number: SerNum0
Asset Tag: AssetTagNum0
Part Number: PartNum0

(Maybe those DIMMS aren't SPD capable? I don't know).

According to
  http://en.wikipedia.org/wiki/Serial_presence_detect
dmidecode(8) reads only BIOS data, but not the eeprom from
the DRAM modules themselves. The same page also points
to spdmem(4).

OpenBSD's spdmem(4) driver could be interesting to port to FreeBSD:
  http://www.openbsd.org/cgi-bin/man.cgi?query=spdmemsektion=4
as it allegedly reads the eeprom data directly off the DIMM modules.

 Even so, for best results it helps if you install a uniform set of RAM
 modules, and I don't think there's any option other than popping the
 case and pulling a RAM stick for a visual inspection if you want a 100%
 certain match.

I've already seen mislabled DIMMS in the past, and usually, the
information stored in SPD was more reliable than the one on the
stickers (but not always).

        Cheers,

        Matthew

-cpghost.

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


Re: Booting multiple choice, and pause to read bootup info

2010-06-29 Thread J. Porter Clark
On Tue, Jun 29, 2010 at 04:00:21AM -0500, Robert Bonomi wrote:
 
  1. I'd like to be able to expand the list of choices in the
  boot menu (the menu with single user mode, safe mode, etc.) to
  include booting in any of several different environments, e.g.,
  home wired, home wireless, work wired, work wireless.  Hacking
  the FORTH code isn't entirely out of the question, but before
  I even try it, I need to know how I could tell the system to
  switch among different rc.conf files (if that's even possible)
  from the loader.  Offhand, I don't see a mechanism for doing so.
  Cleverer ideas welcome.
 
 There's no 'built in' mechanism.
 
 There's no easy way.
 
 Closest thing -to- an 'easy way' is to set an environment variable
 _very_early_ in the boot process, and then use it to 'conditionalize'
 (how -that- for an ugly word? :) the setting of various stuff in rc.conf
 e.g.:
 case $USER_ENV in
   home) USE_LDAP=no
 ;;
   work) USE_LDAP=yes
 ;;
   esac

I wasn't aware that setting an environment variable inside the
loader would propagate into the rc.conf environment.  Is this
so?

  2. Usually, when the system boots, there are several lines
  showing the kernel and various modules loading, possibly with
  diagnostics.  Is there a way to pause after that stage, so that
  those lines can be read?  Or is there any way to retrieve them
  after the system has booted?
 
 I havven't tried it on FBSD, in a long time, but most PC BSDs will pause 
 the boot screen if you hit [CTL-S], or the PAUSE key.
 
 Alternatively, does dmesg(8), used 'reasonably soon' after booting,  give
 you what you want?
 
 Note: a typical installation will have syslogd putting _most_ of those 
 messsages in the system log file, too.

Y'all are way off base here: it's not the lines from the kernel
itself booting, it's the lines *before* that, where the loader
is loading the kernel and various modules.  Occasionally, I
see error messages here, but they vanish pretty quickly on my
machines, too fast to be caught reliably with CTL-S, SCROLL
LOCK, etc.  I could set up a serial console, but it seems like a
lot of work just to see these messages.

-- 
J. Porter Clark  j...@porterclark.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Just want to ask

2010-06-29 Thread Robert Bonomi
 From owner-freebsd-questi...@freebsd.org  Tue Jun 29 06:13:19 2010
 Date: Mon, 28 Jun 2010 23:36:09 -0700 (PDT)
 From: esra perangin angin esra_peranginan...@yahoo.com
 To: questi...@freebsd.org
 Cc: 
 Subject: Just want to ask

 Hello FreeBSD, i'm new comer=A0to FreeBSD, =0AIs=A0FreeBSD Completely Free =
 for USE?

NO.

You have to read, *understand*, and agree to the license terms.


 =0AThanks =0A=A0=0A=0A=0AEsra Peran=
 ginangin=A0 CCNA=0Awww.rsamedan.org=0ACell Phone : +62 812 6384 6907=0A=A0=
 =0A=A0=0A=A0=0A=A0=0A=A0=0A=A0=0A=A0Chief Accountant=0AMedan Adventist Hosp=
 ital=0AJl. Gatot Subroto Km 4.5 Medan - Indonesia=0A20118=0A=0A=0A  

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


Re: Booting multiple choice, and pause to read bootup info

2010-06-29 Thread J. Porter Clark
On Tue, Jun 29, 2010 at 12:09:20PM -0500, Robert Bonomi wrote:
 
 _NOT_ directly.  But, you can use the loader(8) directive 'init_script' to
 specify a script that runs 'before anything else'.  Either have your menu
 item execute that word, to set an 'environment' specified by the file, or
 have a separate menu run _from_ that script.
 
 The idea is 'find a hook', then do whatever it takes to use the hook you 
 found. :)

Indeed!  Seems I had missed the init_script feature; that looks
like the easiest solution.  Thanks!

-- 
J. Porter Clark  j...@porterclark.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


freebsd cross build

2010-06-29 Thread Ashwin karanth

hello..
 i have slackware installed on my system, and i have freebsd 8 
source code downloaded from subversion. i want to port freebsd to the 
s3c2410, so please help me the steps which should i follow, i am totally 
newbie to the freebsd...

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


Re: Just want to ask

2010-06-29 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 29/06/2010 17:38:46, Robert Bonomi wrote:
 From owner-freebsd-questi...@freebsd.org  Tue Jun 29 06:13:19 2010
 Date: Mon, 28 Jun 2010 23:36:09 -0700 (PDT)
 From: esra perangin angin esra_peranginan...@yahoo.com
 To: questi...@freebsd.org
 Cc: 
 Subject: Just want to ask

 Hello FreeBSD, i'm new comer=A0to FreeBSD, =0AIs=A0FreeBSD Completely Free =
 for USE?
 
 NO.
 
 You have to read, *understand*, and agree to the license terms.

There is no such stipulation.  He only has to abide by the copyright
terms -- which is obviously a lot easier to do if he can read and
understand them, but not too hard even if he can't.

Whether or not he agrees with them is a matter of philosophical interest
only, so long as he keeps to the terms.  Not that the FreeBSD license
has anything in it that would be thought objectionable by any reasonable
person.  Basically it boils down to: do what you want with this, so long
as you keep the license text with any derived works and so long as you
credit the original authors with creating it; Oh, and don't try to sue
FreeBSD if it all goes horribly wrong.

Practically speaking the answer to the OP's original question is Yes.
You can use this freely.

Cheers,

Matthew

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

iEYEARECAAYFAkwqN9YACgkQ8Mjk52CukIzhmgCfTZ6MjhrquoUZQPeMDTmHDKY6
XjkAn2Y6h8rDGD7J5A1nahDH4Z65inwe
=jQLg
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: freebsd cross build

2010-06-29 Thread Roland Smith
On Tue, Jun 29, 2010 at 12:31:42PM -0400, Ashwin karanth wrote:
 hello..
   i have slackware installed on my system, and i have freebsd 8 
 source code downloaded from subversion. i want to port freebsd to the 
 s3c2410, so please help me the steps which should i follow, i am totally 
 newbie to the freebsd...

Check out http://www.freebsd.org/platforms/arm.html

You'll find more information about FreeBSD on arm there. I'm not sure if it is
possible to build FreeBSD on another OS. Why not install FreeBSD on a virtual
machine and then do a cross-build, which does work, AFAIK. See e.g. 
http://people.freebsd.org/~cognet/arm.html

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)


pgpqDlMhNJ2mh.pgp
Description: PGP signature


ZFS snapshot question - can I separate out some area later?

2010-06-29 Thread Martin Cracauer
I created a raidz ZFS that is mounted on /mnt/backup

It has subdirectories (not ZFS filesystems or volumes) like:
/mnt/backup/wavehh
/mnt/backup/joker
[etc]

I started taking snapshots long ago, and the snapshots are of
backup@date, that means top level.
NAME  USED  AVAIL  REFER  MOUNTPOINT
bac...@firstwithunk  6.85G  -   455G  -
bac...@20090922  3.75G  -   452G  -
bac...@20091022   999M  -   480G  -
bac...@200910223 2.63G  -   482G  -
bac...@20100209  9.10G  -   522G  -
bac...@20100210  2.86G  -   543G  -
bac...@20100603  26.6K  -   513G  -

Now, I want to store data there that is *not* part of future snapshots
taken in that set.  Instead the new directory should have it's own set
of snapshots, at different times.

Is that something I can still do? Given that I currently snapshotted
at top level?

If I just `zfs create`d
  /mnt/backup/recordings
and start storing data there, will that be outside the other areas's
snapshots? I tried doing this but I can't snapshot in there:
~(wings)10# zfs snapshot backup/recordi...@test1
cannot create snapshot 'backup/recordi...@test1': dataset is busy

%%

To clarify more, the structure now looks like this
1) /mnt/backup/wavehh   # just subdir
2) /mnt/backup/joker# just subdir
3) /mnt/backup/newstuff # `zfs create`d filesystem or volume

So I want 1 and 2 in the future snapshots of backup, and newstuff
should have it's own set of snapshots.

Am I out of luck after having started to snapshot at top level?

Martin
-- 
%%%
Martin Cracauer craca...@cons.org   http://www.cons.org/cracauer/
FreeBSD - where you want to go, today.  http://www.freebsd.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Just want to ask

2010-06-29 Thread Roger B.A. Klorese
On Jun 29, 2010, at 11:13 AM, Matthew Seaman m.sea...@infracaninophile.co.uk 
wrote:
 
 Whether or not he agrees with them is a matter of philosophical interest
 only, so long as he keeps to the terms.  

Agree TO them, not agree WITH them. 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Boot to ZFS on FreeBSD 7.3

2010-06-29 Thread Dan D Niles
On Mon, 2010-06-28 at 19:27 -0400, Glen Barber wrote:
  Any suggestions for getting FreeBSD 7.3 to boot to ZFS?
 
 
 Can you try the following at the loader prompt, where you see the 
 FreeBSD boot options?
 
 load zfs
 load opensolaris # should not be necessary, but just to be safe
 boot

FreeBSD/i386 ZFS enabled bootstrap loader, Revision 1.1
(r...@driscoll.cse.buffalo.edu, Sun Mar 21 04:11:17 UTC 2010)
\
can't load 'kernel'

Type '?' for a list of commands, 'help' for more detailed help.
OK load zfs
can't find 'zfs'
OK load opensolaris
can't find 'opensolaris'
OK _

I says that it is a ZFS enabled bootstrap loader, but it does not appear
that the root filesystem is loaded.




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


Re: Problem using Portmaster to upgrade installed ports via packages only

2010-06-29 Thread Alexandre L.
I have done tests last days, and now I can set PACKAGESITE correctly in user's 
.cshrc (I have unset the parameter in root's .cshrc).
Else, I have set /usr/local/etc/portmaster.rc, as described in the portmaster's 
manpage.

Here my /usr/local/etc/portmaster.rc

PM_SU_VERBOSE=
PM_SU_CMD=/usr/local/bin/sudo

I don't know (or understand) if I have to set a value to PM_SU_VERBOSE
I have tried to set PM_SU_VERBOSE=/usr/local/bin/sudo without success
If you can help me here, I have read the manpage hundred times, but haven't 
found where I am wrong. 

Then I have tried without the line PM_SU_VERBOSE, just with 
PM_SU_CMD=/usr/local/bin/sudo
I can install without problem packages with 
$ portmaster -P -a -x openoffice

But if there is no package available for the port, I got the message (it is an 
example) : 

= libpng-1.4.3.tar.xz doesn't seem to exist in /usr/ports/distfiles//.
= /usr/ports/distfiles/ is not writable by you; cannot fetch.
*** Error code 1

Stop in /usr/ports/graphics/png.
*** Error code 1

Stop in /usr/ports/graphics/png.

=== make failed for graphics/png
=== Aborting update

=== Update for png-1.4.1_1 failed
=== Aborting update

=== There are messages from installed ports to display,
   but first take a moment to review the error messages
   above.  Then press Enter when ready to proceed. 

In the 2 cases, my user's password has been asked, and I have typed it.

My portmaster version is 2.32.

I haven't got problem if I do 
$ sudo portmaster -P -a -x openoffice

I think my problem come from the parameter for sudo in portmaster.rc but I 
don't know how to set it. I have really read the manpage a lot.

Thanks for your help.




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


Re: How are USB drivers assigned?

2010-06-29 Thread osp
On Tue, 29 Jun 2010 17:56:39 +0200 Roland Smith rsm...@xs4all.nl wrote:
 On Mon, Jun 28, 2010 at 11:03:38PM -1000, Gary Dunn wrote:
  Is there a file that associates drivers with USB device information?
  More specifically, how does a USB mouse get assigned to the ums driver?
  This is for FreeBSD 8.0, if it matters.
 
 When queried on connection the mouse identifies itself by sending a
descrip tor
 as a Human Interface Device class peripheral, and specifically a mouse. The
 USB driver then knows to attach the ums device driver.

Thanks for the reply Roland. 

What I am looking for is 

 The USB driver then knows to attach the ums device driver.

how it knows.

Gary Dunn
Open Slate Project


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


Recommended supported SATA Cards?

2010-06-29 Thread Rob
I've been trying to find a PCI-e SATA II (300MB/s) controller card for a 
FreeBSD 8.0 system, but am having problems determining if FreeBSD 8.0 
will support them.  Ideally I'd like to find one that is not a HW Raid 
controller, as I don't need that functionality since I place to use ZFS 
and the HW Raid on the card just gets in the way.  I know that a 
HighPoint RocketRAID 23x0 (2310, 2320) will work with the htprr driver, 
but those are HW RAID cards.


I've found 'Adaptec 2241000-R 1430SA' and 'Rosewill RC-218' cards, and 
those are the ones I'm having a hard time telling if FreeBSD supports. 
Searching of the e-mail archives has given me mixed results and nothing 
definitive to say that they work.


I'm not sure what chipset the Adaptec 2241000-R 1430SA uses, but the 
Rosewill uses the Marvell 88SX7042 chipset.  I'd prefer to use Adaptec 
if possible as in the past they produced good SCSI boards and used to be 
well supported (in Linux anyway), but I'll use the Rosewill if it's well 
supported in FreeBSD.  It's also possible Adaptec has taken a hit in 
support/quality since I last used one of their boards. :)


Does anyone know if the above boards are supported in FreeBSD?  Anyone 
have any recommendations for PCI-e 4x SATA controllers with a minimum of 
4 internal connectors?


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


bsdstats problem?

2010-06-29 Thread Chris Whitehouse

Anyone else having problems with bsdstats?

muji2# /usr/local/etc/rc.d/bsdstats.sh start
Starting bsdstats.
fetch: http://rpt.bsdstats.org/scripts/enable_token.php?key=...
No address record
fetch: http://rpt.bsdstats.org/scripts/report_system.php?token...
No address record
Posting monthly OS statistics to rpt.bsdstats.org
fetch: http://rpt.bsdstats.org/scripts/disable_token.php?key=...
No address record
muji2# nslookup
 bsdstats.org
Server: 192.168.1.254
Address:192.168.1.254#53

Non-authoritative answer:
Name:   bsdstats.org
Address: 200.46.204.227
 rpt.bsdstats.org
Server: 192.168.1.254
Address:192.168.1.254#53

** server can't find rpt.bsdstats.org: NXDOMAIN
 www.freebsd.org
Server: 192.168.1.254
Address:192.168.1.254#53

Non-authoritative answer:
Name:   www.freebsd.org
Address: 69.147.83.33
 exit

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


Re: bsdstats problem?

2010-06-29 Thread RW
On Tue, 29 Jun 2010 23:28:52 +0100
Chris Whitehouse cwhi...@onetel.com wrote:

 Anyone else having problems with bsdstats?

I seem to getting quite a lot of errors going back to the last
reinstall.

(I think the System disabled messages are probably a side effect of
running periodic monthly from anacron)



[Sat Dec  5 19:39:42 UTC 2009] Error with fetch to server
[Sat Dec  5 19:39:43 UTC 2009] System report failed, exiting
[Sat Dec  5 19:39:44 UTC 2009] Error with fetch to server
[Sat Dec  5 19:39:44 UTC 2009] System CPU report failed, exiting
[Sat Dec  5 19:39:44 UTC 2009] Error with fetch to server
[Sat Jan  2 19:44:44 UTC 2010] Error with fetch to server
[Sat Jan  2 19:44:47 UTC 2010] System Devices reported
[Sat Jan  2 19:44:49 UTC 2010] Error with fetch to server
[Sat Jan  2 19:44:50 UTC 2010] System disabled
[Sat Jan 30 19:34:30 UTC 2010] System enabled
[Sat Jan 30 19:34:30 UTC 2010] Error with fetch to server
[Sat Jan 30 19:34:31 UTC 2010] System Devices reported
[Sat Jan 30 19:34:32 UTC 2010] Error with fetch to server
[Sat Jan 30 19:34:32 UTC 2010] System disabled
[Sat Feb 27 19:27:06 UTC 2010] Error with fetch to server
[Sat Feb 27 19:27:08 UTC 2010] System report failed, exiting
[Sat Feb 27 19:27:11 UTC 2010] Error with fetch to server
[Sat Feb 27 19:27:13 UTC 2010] Error with fetch to server
[Sat Feb 27 19:27:15 UTC 2010] System disabled
[Sat Mar 27 19:35:18 UTC 2010] Error with fetch to server
[Sat Mar 27 19:35:18 UTC 2010] System report failed, exiting
[Sat Mar 27 19:35:19 UTC 2010] Error with fetch to server
[Sat Mar 27 19:35:20 UTC 2010] System CPU report failed, exiting
[Sat Mar 27 19:35:20 UTC 2010] Error with fetch to server
[Sat Apr 24 19:39:14 BST 2010] Error with fetch to server
[Sat Apr 24 19:39:17 BST 2010] System Devices reported
[Sat Apr 24 19:39:17 BST 2010] Error with fetch to server
[Sat Apr 24 19:39:18 BST 2010] System disabled
[Sat May 22 19:34:30 BST 2010] System enabled
[Sat May 22 19:34:31 BST 2010] System reported
[Sat May 22 19:34:34 BST 2010] Error with fetch to server
[Sat May 22 19:34:36 BST 2010] System CPU reported
[Sat May 22 19:34:37 BST 2010] System disabled
[Sat Jun 19 19:33:35 BST 2010] System report failed, exiting
[Sat Jun 19 19:33:36 BST 2010] System Devices not reported, exiting
[Sat Jun 19 19:33:38 BST 2010] System CPU report failed, exiting
[Sat Jun 19 19:33:39 BST 2010] System disabled





 muji2# /usr/local/etc/rc.d/bsdstats.sh start
 Starting bsdstats.
 fetch: http://rpt.bsdstats.org/scripts/enable_token.php?key=...
 No address record
 fetch: http://rpt.bsdstats.org/scripts/report_system.php?token...
 No address record
 Posting monthly OS statistics to rpt.bsdstats.org
 fetch: http://rpt.bsdstats.org/scripts/disable_token.php?key=...
 No address record
 muji2# nslookup
   bsdstats.org
 Server: 192.168.1.254
 Address:192.168.1.254#53
 
 Non-authoritative answer:
 Name:   bsdstats.org
 Address: 200.46.204.227
   rpt.bsdstats.org
 Server: 192.168.1.254
 Address:192.168.1.254#53
 
 ** server can't find rpt.bsdstats.org: NXDOMAIN
   www.freebsd.org
 Server: 192.168.1.254
 Address:192.168.1.254#53
 
 Non-authoritative answer:
 Name:   www.freebsd.org
 Address: 69.147.83.33
   exit
 
 Chris
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bsdstats problem?

2010-06-29 Thread Anh Ky Huynh
On Tue, 29 Jun 2010 23:28:52 +0100
Chris Whitehouse cwhi...@onetel.com wrote:

 Anyone else having problems with bsdstats?

I have the same problems here.

 muji2# /usr/local/etc/rc.d/bsdstats.sh start
 Starting bsdstats.
 fetch: http://rpt.bsdstats.org/scripts/enable_token.php?key=...
 No address record
 fetch: http://rpt.bsdstats.org/scripts/report_system.php?token...
 No address record
 Posting monthly OS statistics to rpt.bsdstats.org
 fetch: http://rpt.bsdstats.org/scripts/disable_token.php?key=...
 No address record
 ...

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


64 Bit OS

2010-06-29 Thread Gary Aslanyan
Hello,

 

We want to install a 64 Bit FreeBSD version 6.4 on a Dell Power Edge 1950
with two dual core Xeon 5110 processors and 16GB RAM.

Which version are we supposed to download? Is it the AMD64 that works with
Xeon processors?

Please assist us.

 

Thank You,

Gary Aslanyan
Homepage Universe, Inc.
 mailto:g...@homepageuniverse.com g...@homepageuniverse.com
 http://www.homepageuniverse.com www.homepageuniverse.com
(888)977-6638 x300
(818)502-9666 x300

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


Re: 64 Bit OS

2010-06-29 Thread Olivier Nicole
 Is it the AMD64 that works with Xeon processors?

Yes.

For historical reason, because amd was the first on the market to
produce 64 bit CPU, it is called amd64.

If you plan to go for FreeBSD 7, you may have to

1) upgrade the firmware of your 1950
2) customize the kernel and remove what is useless

some drivers in the GENERIC kernel hang at boot with FreeBSD 7.

Bests,

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


Re: 64 Bit OS

2010-06-29 Thread Adam Vande More

 Yes.

 For historical reason, because amd was the first on the market to
 produce 64 bit CPU, it is called amd64.


It went by x86-64 while in development which is why some Linux distro's use
that term.  Sometimes you'll get a question like Why don't you use the
x86_64 naming convention like the rest of Linux?.  (There is more than one
thing wrong with that question)  AMD64 is what x86-64 officially became.
Intel doesn't technically use AMD64, but instead uses a compatible 64 bit
instruction set.

As far was what the OP should use, depends on the CPU.  Not all Xeon's
support AMD64 but any recent ones should.  I'm not all up on my Dell models,
but I think the 1950 shouldn't have any troubles with AMD64.  However at the
end of the day your choices are AMD64 or i386 as ia64 is for itanium's.  The
Itanium instruction set is completely different than AMD64 and no amount of
coaxing will make it work.



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


Re: 64 Bit OS

2010-06-29 Thread Olivier Nicole
Hi,

 I'm not all up on my Dell models, but I think the 1950 shouldn't
 have any troubles with AMD64.

If we go into the details, each model of PowerEdge supports several
different CPU :)  So the OP would have to go to the details of his 1950
to know whether amd64 is supported.

Best regards,

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


Re: sparse image

2010-06-29 Thread Aiza

Vincent Hoffman wrote:

On 23/06/2010 11:26, Aiza wrote:

Is there an equivalent of the MAC sparseimage on FreeBSD?

If you mean you would like to make a sparse file and attach it using
mdconfg then
dd if=/dev/zero of=/path/to/outfile bs=1M seek=1024 count=0
This will give you a sparse file that reports a gig in size, but only
uses whats actually in use.
you can then use mdconfig(8) to allow this to be partitioned formatted
and mounted.
Example below. see also
http://www.freebsd.org/doc/en/books/handbook/disks-virtual.html although
that example doesnt use a spare file.

[r...@ostracod /scratch/media]# dd if=/dev/zero of=foo.img bs=1M
seek=1024 count=0
0+0 records in
0+0 records out
0 bytes transferred in 0.66 secs (0 bytes/sec)
[r...@ostracod /scratch/media]# ls -lh foo.img
-rw-r--r--  1 root  wheel   1.0G Jun 23 11:45 foo.img
[r...@ostracod /scratch/media]# du -h foo.img
 48Kfoo.img
[r...@ostracod /scratch/media]# mdconfig -a -t vnode -f foo.img
md0
[r...@ostracod /scratch/media]# gpart create -s gpt md0
md0 created
[r...@ostracod /scratch/media]# gpart add -t freebsd-ufs md0
md0p1 added
[r...@ostracod /scratch/media]# newfs /dev/md0p1
/dev/md0p1: 1024.0MB (2097084 sectors) block size 16384, fragment size 2048
using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376416, 752672, 1128928, 1505184, 1881440
[r...@ostracod /scratch/media]# !ls
ls -lh foo.img
-rw-r--r--  1 root  wheel   1.0G Jun 23 11:46 foo.img
[r...@ostracod /scratch/media]# !du
du -h foo.img
736Kfoo.img
[r...@ostracod /scratch/media]# mount /dev/md0p1 /mnt/foo/
[r...@ostracod /scratch/media]# df -h | grep foo
/dev/md0p1  989M4.0K910M 0%/mnt/foo
[r...@ostracod /scratch/media]#

Hope this is helpful.
Vince
 


Thanks Vince this was very helpful.
I was able to create a sparse image jail, but when I used cpio to 
duplicate the sparse file to other jails I lost the sparseness of the 
file. Is there a way to copy a sparse file and keep it intact?


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


Re: bsdstats problem?

2010-06-29 Thread Fbsd8

Anh Ky Huynh wrote:

On Tue, 29 Jun 2010 23:28:52 +0100
Chris Whitehouse cwhi...@onetel.com wrote:


Anyone else having problems with bsdstats?


I have the same problems here.


muji2# /usr/local/etc/rc.d/bsdstats.sh start
Starting bsdstats.
fetch: http://rpt.bsdstats.org/scripts/enable_token.php?key=...
No address record
fetch: http://rpt.bsdstats.org/scripts/report_system.php?token...
No address record
Posting monthly OS statistics to rpt.bsdstats.org
fetch: http://rpt.bsdstats.org/scripts/disable_token.php?key=...
No address record
...



The bsdstats server is off line. Maybe it's nolonger supported.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org