ntpq command output and unreachable state?

2009-12-19 Thread Omer Faruk Sen
Hi,

I am trying to understand output of ntpq -c peers (or ntpq -p). What I
am trying to understand that when a ntp server is announced as
unreachable. I have made a test. I setup a test ntp server with


/etc/ntp.conf
=
restrict default nomodify notrap noquery
restrict 127.0.0.1
server 0.pool.ntp.org
server clock.isc.org

and started ntpd daemon using

/usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f
/var/db/ntpd.drift -g -l /var/log/ntpd.log

and blocked all port 123 traffic that goes out from this ntp server at
my gateway (to simulate to lost connection on ntp servers at ntp.conf)
After 26 hours later my ntpd still thinks that it can reach to
clock.isc.org (as can be seen with * mark before clock.isc.org
below)

# ntpq -c peers
 remote   refid  st t when poll reach   delay   offset  jitter
==
+194.27.110.130  131.188.3.2202 u  27h 10240   67.816   13.282   0.000
*clock.isc.org   204.123.2.5  2 u  26h 10240  224.461  -15.208   0.000

But I am sure that it can't reach (I sniff my firewall so no traffic
comes from clock.isc.org). My question is how can I find out that my
ntp servers defined at ntp.conf are unreachable (I know that if ntp
server is unreachable than my local ntp server stops to answer for ntp
 requests)

Best Regards.
___
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


request

2009-12-19 Thread akbar moradi
hello
I live in iran and very intresting to download and use freebsd .I think it can 
provide me a good futeare of good os
but my internet speed is very low and i can not download it directly from your 
server.but if you send the free bsd iso file  to my email address i can 
download it from my email client .because my email is locate in local server 
and i can easily download from this email server.
tanks
___
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: RFC: Fam/Python based script for bruteforce blocking

2009-12-19 Thread Mel Flynn
On Thursday 17 December 2009 16:34:22 Brandon Low wrote:

 I'd love to hear other people's feedback on this approach of using FAM +
 auth.log to implement this and/or to hear of other superior approaches
 to achieving this result.

Well, my first problem with it is obviously that I now need python, where I 
don't want python. In fact, my firewalls/gateways only have /bin/sh and 
/bin/csh as scripting languages. It's one reason I switched from custom 
sysutils/grok rules to using security/sshguard - it got me rid of perl.
Secondly, you have matching rules coded in the script. If there would be one 
reason to prefer this script over sshguard, it would be that I can add attack 
patterns more easily, in config file with a syntax that's not too obscure.
Last but not least, you assume that once an IP is at fault, I want that IP 
blocked permanently. In practice you end up with an extremely large table that 
might eventually be too big for a default PF table and recurring scans from 
the same IP are not that common (you see the IP in a 12-24 hour window, then 
not again).

Hope this helps.
-- 
Mel
___
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: System crashes under heavy disk i/o

2009-12-19 Thread Mel Flynn
On Thursday 17 December 2009 12:57:30 Erik Norgaard wrote:
 Mel Flynn wrote:
  Turn down operating mode via atacontrol. If using dump(8) use the cache
  feature and/or do the backup from live disk, so no other services are
  running and disk isn't accessed other then by dump.
 
 Thanks, is there a way to set UDMA mode at boot?

Roll your own rc(8). I know not of a loader tunable or device.hints setting, 
but I'm happily corrected on that.
-- 
Mel
___
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 to make vimage jail permanent by configuring rc.conf?

2009-12-19 Thread Mel Flynn
On Friday 18 December 2009 13:40:47 Kouichiro Iwao wrote:

 I want to make it permanent. I want jails to start automatically when I
 rebooted the host environment. I add the following lines into rc.conf.
 
 jail_jail01_flags=-c vnet
 jail_jail01_rootdir=/usr/jail/jail01
 jail_jail01_hostname=jail01.example.jp
 jail_jail01_ip=192.168.100.101
 
 However, I failed /etc/rc.d/jail onestart jail01 to start up the jail.
 How to configure rc.conf in order to make vimage jail permanent?
 
 rc.d/jail only support traditional jails?

Please show the output, with rc_debug turned on in /etc/rc.conf.
-- 
Mel
___
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


ET.UTF-8.out: Inappropriate ioctl for device (buildworld RELENG8)

2009-12-19 Thread Jeronimo Calvo
Hi folks, Im getting the following error when building world for
RELENG_8 using GENERIC.
Any ideas on how to skip that?

=== share/mklocale (all)
mklocale -o UTF-8.out /usr/src/share/mklocale/UTF-8.src
mklocale -o am_ET.UTF-8.out /usr/src/share/mklocale/am_ET.UTF-8.src
am_ET.UTF-8.out: Inappropriate ioctl for device
*** Error code 1

-- 
() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions
___
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


Any chance ZFS becoming default?

2009-12-19 Thread Victor Lyapunov
Hi everybody,
Sorry for asking dumb questions, but is there any chance zfs becoming
default FS in FreeBSD? If so, how soon might this happen?

Cheers,
Victor.
___
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: Any chance ZFS becoming default?

2009-12-19 Thread Jerry
On Sat, 19 Dec 2009 20:42:27 +0600
Victor Lyapunov fullblastst...@gmail.com replied:

Hi everybody,
Sorry for asking dumb questions, but is there any chance zfs becoming
default FS in FreeBSD? If so, how soon might this happen?

It appears that everyone is not as enthusiastic about it.

http://www.neowin.net/news/main/09/10/24/zfs-filesystem-for-macosx-is-dead

-- 
Jerry
ges...@yahoo.com

|===
|===
|===
|===
|

What do you do when your real life exceeds your wildest fantasies?

You keep it to yourself.

Broadcast News

___
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


question about building a custom kernel

2009-12-19 Thread Jamie Griffin
Hi

I have been reading the handbook to learn about building a custom
kernel, but just wanted to ask something about gathering information
about my hardware before I give it a go. 

The handbook suggests the command:

# pciconf -lv 

...which I like because it provides a clear list of components I can find
out about before I try to build the new kernel.

On my system, this command does print out information for quite a few
components, I just wondered if this information is all I need to work
from or is it not an accurate or detailed enough representation of the
hardware I have in my computer. I'd really appreciate any advice on how
others go about this.  
 
Jamie


pgpvt6DNhLZtC.pgp
Description: PGP signature


Re: is this getting out?

2009-12-19 Thread Gary Kline

hello list,

it looks as tho my mail to this last from friday night did not
make it thru.  this is yet-another test.

here's hoping;

sorry fot top-posting, but i will be Surprised if this really
makes it

.



On Thu, Dec 17, 2009 at 03:52:20PM +0100, Polytropon wrote:
 Gary,
 
 seems that my MX has problems with thought.org, that's why
 I'm repeating my reply on the list, I hope you can receive
 it this way.
 
 The MX said:
 
   kl...@thought.org: Host or domain name not found.
   Name service error for
   name=ethic.thought.org type=A: Host not found
 
 Content was:
 
 On Sat, 12 Dec 2009 15:32:07 -0800, Gary Kline kl...@thought.org wrote:
  
  ariatotle is offline; i'm exclusively on my new server. 
  will somebody please do a digg thought.org and see if
  they see what i see?
 
 % dig thought.org
 
 ;  DiG 9.4.2-P1  thought.org
 ;; global options:  printcmd
 ;; Got answer:
 ;; -HEADER- opcode: QUERY, status: NOERROR, id: 50856
 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
 
 ;; QUESTION SECTION:
 ;thought.org.   IN  A
 
 ;; AUTHORITY SECTION:
 thought.org.9551IN  SOA aristotle.thought.org. 
 hostmaster.thought.org. 2008121902 10800 3600 604800 38400
 
 ;; Query time: 44 msec
 ;; SERVER: 192.168.100.1#53(192.168.100.1)
 ;; WHEN: Thu Dec 17 15:47:02 2009
 ;; MSG SIZE  rcvd: 86
 
 
 
 -- 
 Polytropon
 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 freebsd-questions-unsubscr...@freebsd.org

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org
The 7.79a release of Jottings: http://jottings.thought.org/index.php

___
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: ntpq command output and unreachable state?

2009-12-19 Thread Omer Faruk Sen
I have used ntpq -c associations to see if the server is reachable or
not. But even the peers are not reachable my ntpd answers to queries
for some time and after recovering connection (reachable state) my
ntpd doesn't answer to ntp clients even if ntpq -c peers states *
state. But after certain amount of time time can be synced with my
ntpd server. (this recovery process took more than 1 hour in my test
setup).



On Sat, Dec 19, 2009 at 2:10 PM, Omer Faruk Sen omerf...@gmail.com wrote:
 Hi,

 I am trying to understand output of ntpq -c peers (or ntpq -p). What I
 am trying to understand that when a ntp server is announced as
 unreachable. I have made a test. I setup a test ntp server with


 /etc/ntp.conf
 =
 restrict default nomodify notrap noquery
 restrict 127.0.0.1
 server 0.pool.ntp.org
 server clock.isc.org

 and started ntpd daemon using

 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid -f
 /var/db/ntpd.drift -g -l /var/log/ntpd.log

 and blocked all port 123 traffic that goes out from this ntp server at
 my gateway (to simulate to lost connection on ntp servers at ntp.conf)
 After 26 hours later my ntpd still thinks that it can reach to
 clock.isc.org (as can be seen with * mark before clock.isc.org
 below)

 # ntpq -c peers
     remote           refid      st t when poll reach   delay   offset  jitter
 ==
 +194.27.110.130  131.188.3.220    2 u  27h 1024    0   67.816   13.282   0.000
 *clock.isc.org   204.123.2.5      2 u  26h 1024    0  224.461  -15.208   0.000

 But I am sure that it can't reach (I sniff my firewall so no traffic
 comes from clock.isc.org). My question is how can I find out that my
 ntp servers defined at ntp.conf are unreachable (I know that if ntp
 server is unreachable than my local ntp server stops to answer for ntp
  requests)

 Best Regards.

___
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: ezjail bsd 8.0

2009-12-19 Thread Dominik Ernst
On Fri, 18 Dec 2009 12:44:51 -
Graeme Dargie a...@tangerine-army.co.uk wrote:

 I am trying to get ezjail running on bds 8.0 and I keep hitting the
 same wall
 
  
 
 FreeBSD amalthea.galaxy.lan.lcl 8.0-RELEASE FreeBSD 8.0-RELEASE #0:
 Sat Nov 21 15:02:08 UTC 2009 /usr/obj/usr/src/sys/GENERIC  amd64
 
  
 
 I have update /usr/src using csup 
 
  
 
 When I issue a ezjail-admin update -ip
 
  
 
 It runs for a while then dies with 
 
  
 
  Installing everything
 
 --
 
 cd /usr/src; make -f Makefile.inc1 install
 
 === share/info (install)
 
 install -o root -g wheel -m 444  dir-tmpl
 /usr/jails/fulljail/usr/share/info/dir
 
 install:No such file or directory
 
 *** Error code 1
 
  
 
 Stop in /usr/src/share/info.
 
 *** Error code 1
 
  
 
 Stop in /usr/src.
 
 *** Error code 1
 
  
 
 Stop in /usr/src.
 
 *** Error code 1
 
  
 
 Stop in /usr/src.
 
 *** Error code 1
 
  
 
  
 
 Now I suspect it is something stupid I have done or not done but I
 cant seem to see what it is.
 
  
 
 Regards
 
  
 
 Graeme
 
 ___
 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



Did you do 

make buildworld 

in /usr/src after csup?



___
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: question about building a custom kernel

2009-12-19 Thread Tim Judd
On 12/19/09, Jamie Griffin j...@koderize.com wrote:
 Hi

 I have been reading the handbook to learn about building a custom
 kernel, but just wanted to ask something about gathering information
 about my hardware before I give it a go.

 The handbook suggests the command:

 # pciconf -lv

 ...which I like because it provides a clear list of components I can find
 out about before I try to build the new kernel.

 On my system, this command does print out information for quite a few
 components, I just wondered if this information is all I need to work
 from or is it not an accurate or detailed enough representation of the
 hardware I have in my computer. I'd really appreciate any advice on how
 others go about this.

 Jamie


Jamie,

pciconf will list pci devices only (and their derivatives, like PCI-X
and PCI-e).  ISA devices (if any) are done differently, and also usb
devices (usbdevs).  Building a custom kernel most of the time involves
the following decisions:
  embedding a firewall, so you cannot disable a firewall by unloading a module.
  Extending options, filesystem quotas for example.  The modular
kernel can add devices by modules, but can't really add options.
  Embedded solutions, like a single-purpose unit that is an all-in-one
solution.  The soekris and PC Engines firewall products come to mind.

99% of my time, I leave GENERIC (makes updating it easier with
freebsd-update) alone and load the kernel modules I need.

the amount of ram used with a GENERIC kernel and a stripped kernel
to your hardware may save 2MB of disk, and 1MB of RAM.  Not very worth
it for the computers today where you have TB's of disk, and GB's of
ram.


Can I ask for more details from you why you're interested in building
a custom kernel?

--TJ
___
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: ET.UTF-8.out: Inappropriate ioctl for device (buildworld RELENG8)

2009-12-19 Thread Dimitry Andric
On 2009-12-19 15:42, Jeronimo Calvo wrote:
 Hi folks, Im getting the following error when building world for
 RELENG_8 using GENERIC.
 Any ideas on how to skip that?
 
 === share/mklocale (all)
 mklocale -o UTF-8.out /usr/src/share/mklocale/UTF-8.src
 mklocale -o am_ET.UTF-8.out /usr/src/share/mklocale/am_ET.UTF-8.src
 am_ET.UTF-8.out: Inappropriate ioctl for device
 *** Error code 1

This problem should only hit you if you have a mklocale binary from
after 8.0-BETA1, and before 8.0-BETA2.

See these threads from some time ago:

http://lists.freebsd.org/pipermail/freebsd-current/2009-July/thread.html#9871
http://lists.freebsd.org/pipermail/freebsd-current/2009-July/thread.html#9406

In short, rebuild mklocale before buildworld:

cd /usr/src/usr.bin/mklocale
make
make install clean
___
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: Any chance ZFS becoming default?

2009-12-19 Thread Ed Jobs
On Saturday 19 December 2009 16:42, Victor Lyapunov wrote:
 Hi everybody,
 Sorry for asking dumb questions, but is there any chance zfs becoming
 default FS in FreeBSD? If so, how soon might this happen?
 
 Cheers,
 Victor.

As seen in
http://wiki.freebsd.org/FreeBSD9

under Other Kernel:
ZFS as default

keep in mind the top note:
This is a rough list of ideas / goals / tasks to work on for FreeBSD 9.0 
release. Nothing here is guaranteed. Many of these items have been long-
term goals for many prior releases as well.

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


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


RE: Any chance ZFS becoming default?

2009-12-19 Thread peter harrison
-Original Message-
From: Victor Lyapunov fullblastst...@gmail.com
Sent: 19 December 2009 14:42
To: FreeBSD Mailing List freebsd-questions@freebsd.org
Subject: Any chance ZFS becoming default?

Hi everybody,
Sorry for asking dumb questions, but is there any chance zfs becoming
default FS in FreeBSD? If so, how soon might this happen?

Cheers,
Victor.
___
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


I hope not. I run FreeBSD on a netbook, an old laptop, and an old P3
server. ZFS would be a disaster for me.

Peter Harrison.
___
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: Any chance ZFS becoming default?

2009-12-19 Thread Reko Turja

under Other Kernel:
ZFS as default


So anyone running 32bit or under 2Gb of memory don't need to bother 
with FreeBSD anymore after 9.0 RELEASE? 


___
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: question about building a custom kernel

2009-12-19 Thread Jamie Griffin
On Sat, Dec 19, 2009 at 10:41:14AM -0700, Tim Judd wrote:
 
 Can I ask for more details from you why you're interested in building
 a custom kernel?
 
 --TJ

Thanks for the information Tim. I don't have a specific need to build a
custom kernel at the moment, I really just want to learn how to do it
properly. I'm in my first year at University and we're learning about UNIX
systems so i'm just experimenting really.  

Jamie


pgpGrdHjWpfTZ.pgp
Description: PGP signature


Re: question about building a custom kernel

2009-12-19 Thread Roland Smith
On Sat, Dec 19, 2009 at 04:13:09PM +, Jamie Griffin wrote:
 The handbook suggests the command:
 
 # pciconf -lv 
 
 On my system, this command does print out information for quite a few
 components, I just wondered if this information is all I need to work
 from or is it not an accurate or detailed enough representation of the
 hardware I have in my computer. I'd really appreciate any advice on how
 others go about this.  

It should provide most of the information that you need. But it shows only for
devices that are connected to the PCI bus! Devices connected to the USB bus
will not show up here (except from the USB controllers). 

If you look at the first line for every device, the one with the @ in it, you
can see if a driver has attached to that device in question. Devices whose
name start with 'none' followed by a number followed by @ do not have a driver
installed.

Another thing you should look for is which modules are loaded, use the command
'kldstat' for that.  

Also have a look at the output of the 'dmesg' command. That will show you
which devices are being detected and initialized. This will also show you what
kind of CPU you have.


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)


pgpH4xyDqnSZv.pgp
Description: PGP signature


Yahoo! moving to Linux???

2009-12-19 Thread Konrad Heuer


Sorry, maybe I missed something ..

When entering http://www.yahoo.de I find my request redirected to 
http://m.de.yahoo.com for some days now.


Netcraft says:

http://m.de.yahoo.com was running YTS on Linux  when last queried at 
19-Dec-2009 19:12:25 GMT - refresh now  Site Report


Hard to stand, I'd expect FreeBSD get replaced by Windows because of 
MS/Yahoo! agreement, but Linux??


Does anybody know about that?

Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de
___
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: Yahoo! moving to Linux???

2009-12-19 Thread Brian A. Seklecki (CFI NOC)

http://m.de.yahoo.com was running YTS on Linux when last queried at
19-Dec-2009 19:12:25 GMT - refresh now Site Report

Hard to stand, I'd expect FreeBSD get replaced by Windows because of
MS/Yahoo! agreement, but Linux??


Its possible the frontend loadbalancer/L4 switch is an A10 at Yahoo!, 
and the A10 signature should resemble embedded GNU/Linux.  Or does it go 
by server version string?


~BAS


___
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: Yahoo! moving to Linux???

2009-12-19 Thread Matthew Seaman

Konrad Heuer wrote:


Sorry, maybe I missed something ..

When entering http://www.yahoo.de I find my request redirected to 
http://m.de.yahoo.com for some days now.


Netcraft says:

http://m.de.yahoo.com was running YTS on Linux  when last queried at 
19-Dec-2009 19:12:25 GMT - refresh now  Site Report


Hard to stand, I'd expect FreeBSD get replaced by Windows because of 
MS/Yahoo! agreement, but Linux??


Does anybody know about that?



Although Yahoo has been, and still is, a big FreeBSD user, their business
has grown by absorbing many other web sites.  Those are hosted on all sorts of
different platforms.  I don't think you can really state that Yahoo is based
on operating system foo any more (for any foo) -- nor can you tell necessarily
from the OS of the web front-end what the back-end application servers are
running.

Whether Yahoo wants to spend a great deal of time and money homogenizing the 
OSes
their servers run on is an interesting question.  I doubt it somehow: the 
benefits
of simplified administration almost certainly don't outweigh the costs or 
justify
the risks of service disruption.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: question about building a custom kernel

2009-12-19 Thread ill...@gmail.com
2009/12/19 Jamie Griffin j...@koderize.com:
 Hi

 I have been reading the handbook to learn about building a custom
 kernel, but just wanted to ask something about gathering information
 about my hardware before I give it a go.

 The handbook suggests the command:

 # pciconf -lv

 ...which I like because it provides a clear list of components I can find
 out about before I try to build the new kernel.

 On my system, this command does print out information for quite a few
 components, I just wondered if this information is all I need to work
 from or is it not an accurate or detailed enough representation of the
 hardware I have in my computer. I'd really appreciate any advice on how
 others go about this.


A couple of words of caution, based on the number of mails
sent to this list complaining about things not working:

Always leave device scbus and device da in unless you're
dead certain you'll never use a usb drive ( you'll also have
to comment out device umass and maybe a couple of others
to make it compile) among other things.

device miibus should be left in too, again unless you really
know for certain you don't need it.

You may as well toss in device drm and the specific drm
driver for your graphics card while you're going to the trouble.

You aren't going to gain much in speed or size savings, so
do take care to understand what you hope to gain.  If you
wish to shorten kernel compile times and reduce the size of
/boot, have a look at the MODULES_OVERRIDE and
WITHOUT_MODULES variables in /etc/make.conf.  That
said, good luck, I haven't had any serious problems and I've
been using custom kernels since FreeBSD 4.1 or so.

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


open source program for showing six degrees

2009-12-19 Thread Noah

Hi list,

Ive seen a nice app that takes pictures and shows how people are
socially connected to one another and makes a Jpg.  So I am looking for
a similar app that takes this type of information and makes a GUI
clickable webpage.

Here is what i am looking to do.  I want to have icons/pictures for
companies then have icon/pictures for people.  Then by certain data we
can connect the companies and people together to create collage of lines
and pictures and stuff.  Perhaps if you click the people and or
companies you can send to a link that is a biography and/or company
profile.

Is there anything out there that somebody knows about that is already
coded and does a decent job?


Cheers,

Noah

___
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: Any chance ZFS becoming default?

2009-12-19 Thread Rolf Nielsen

Reko Turja wrote:

under Other Kernel:
ZFS as default


So anyone running 32bit or under 2Gb of memory don't need to bother with 
FreeBSD anymore after 9.0 RELEASE?


Since when does changing the default action imply making the previous 
default impossible or even difficult? And since when does adding an 
ability to a piece of software imply removing another? I can't find 
anything suggesting that support for UFS is to be removed by 9.0. 
Neither from the kernel or from sysinstall.

___
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 is too filesystem errors sensitive

2009-12-19 Thread Konrad Heuer


On Fri, 18 Dec 2009, ïÌÅÇ ðÅÔÒÁÞ£× wrote:


Konrad, Erik, thank you for the good advice. Several foreground fsck
in a row really helped.

Konrad, which hardware are you using with FreeBSD on heavily loaded
and i/o-bound systems?


One of these systems is a Dell PowerEdge 2650 with Qlogic ISP 2312 PCI 
FC-AL adapters and some SAN storage virtualization that hides the real 
RAID systems.


The other ones are Dell PowerEdge 2850 with Megaraid controllers and 
hardware based local RAID 5 on SAS drives.


Best regards

Konrad Heuer
GWDG, Am Fassberg, 37077 Goettingen, Germany, kheu...@gwdg.de___
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: Any chance ZFS becoming default?

2009-12-19 Thread Pieter de Goeje
On Saturday 19 December 2009 19:49:17 Reko Turja wrote:
  under Other Kernel:
  ZFS as default

 So anyone running 32bit or under 2Gb of memory don't need to bother
 with FreeBSD anymore after 9.0 RELEASE?

Don't spread FUD please. If you had read the WIKI you would know it talks 
about sysinstall support for ZFS, not about removing UFS.

- Pieter de Goeje

___
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: editing a binary file

2009-12-19 Thread Anton Shterenlikht
On Thu, Dec 17, 2009 at 06:38:04PM -0700, Warren Block wrote:
 On Fri, 18 Dec 2009, Anton Shterenlikht wrote:
 
  I'm creating binary files in fortran.
  Fortran adds 4 byte record delimiters at the beginning
  and the end of each record, which, in the case of a binary
  file, is just at the beginning and at the end of the file.
  I need to delete these record delimiters, because the
  software I use to visualise the binary files interprets
  them as data. But I don't know how. I've looked at
  hexdump and od, but those are only dumping (I think)
  file contents, and I cannot see how to edit a file with them.
 
 truncate -4 myfile should get rid of the last four bytes.  Maybe there's 
 a similar efficient way to truncate the start of a file.

thank you, that works fine:

 hexdump -C fort.10
  01 00 00 00 01 01 00 00  00   |.|
0009

 truncate -s -4 fort.10 

 hexdump -C fort.10
  01 00 00 00 01|.|
0005
 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: editing a binary file

2009-12-19 Thread Anton Shterenlikht
On Thu, Dec 17, 2009 at 08:45:02PM -0500, Greg Larkin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Warren Block wrote:
  On Fri, 18 Dec 2009, Anton Shterenlikht wrote:
  
  I'm creating binary files in fortran.
  Fortran adds 4 byte record delimiters at the beginning
  and the end of each record, which, in the case of a binary
  file, is just at the beginning and at the end of the file.
  I need to delete these record delimiters, because the
  software I use to visualise the binary files interprets
  them as data. But I don't know how. I've looked at
  hexdump and od, but those are only dumping (I think)
  file contents, and I cannot see how to edit a file with them.
  
  truncate -4 myfile should get rid of the last four bytes.  Maybe there's
  a similar efficient way to truncate the start of a file.
  
  -Warren Block * Rapid City, South Dakota USA
 
 This should do it:
 
 dd if=oldfile of=newfile bs=1 skip=4

yes, this is very useful:

 hexdump -C fort.10
  01 00 00 00 08 01 00 00  00   |.|
0009

 truncate -s -4 fort.10

 hexdump -C fort.10
  01 00 00 00 08|.|
0005

 dd if=fort.10 of=zzz bs=1 skip=4
1+0 records in
1+0 records out
1 bytes transferred in 0.94 secs (10645 bytes/sec)

 hexdump -C zzz
  08|.|
0001
 


many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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


[FR]Lien mort sur install-pre (floppies)

2009-12-19 Thread Pierre-Yves Le Borgne
Bonjour,
Sur http://www.freebsd.org/doc/fr/books/handbook/install-pre.html , un lien
indiqué (
ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.0-RELEASE/floppies/) est
mort.

Cordialement,
Pierre-Yves Le Borgne
___
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: editing a binary file

2009-12-19 Thread Anton Shterenlikht
On Fri, Dec 18, 2009 at 09:33:49AM -0700, Warren Block wrote:
 per...@pluto.rain.com wrote:
  Greg Larkin glar...@freebsd.org wrote:
   ...
truncate -4 myfile should get rid of the last four bytes.  Maybe
there's a similar efficient way to truncate the start of a file.
  
   This should do it:
  
   dd if=oldfile of=newfile bs=1 skip=4
  
  Or, perhaps marginally more efficient:
  
  dd if=oldfile of=newfile bs=4 skip=1
 
 It would be nice to avoid the file copy, but maybe there's no way to do 
 that.  The small buffer size for dd will probably make copies of 
 multi-gig files slow.  This might be faster:
 
 tail -c +5 myfile  outfile
 truncate -4 outfile

yes, quite. On 1.5GHz ia64, on 1GB binary file tail takes about 25 s,
but dd.. I killed after 25 min (!) and it had only done 1/3 of the file.

But even tail is too slow.

So I'll probably have to write a C I/O routine and avoid fortran I/O
alltogether, so I write straight away just my data.

many thanks
anton

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
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: Any chance ZFS becoming default?

2009-12-19 Thread Ed Jobs
On Saturday 19 December 2009 22:26, Pieter de Goeje wrote:
 Don't spread FUD please. If you had read the WIKI you would know it talks
 about sysinstall support for ZFS, not about removing UFS.

i'm sorry if my mail was misleading. we have no idea how it will be 
implemented. my guess is that both ufs and zfs would be available through 
sysinstall, but then again, unless we see the final implementation nothing is 
sure. 

On the original topic: zfs does not have the experimental tag since 8.0. it 
would not be normal to add sysinstall support (and even more setting as 
default) in a feature that was experimental. So of course it was pushed to 9

-- 
Real programmers don't document. If it was hard to write, it should be hard to 
understand.


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


Re: ntpq command output and unreachable state?

2009-12-19 Thread RW
On Sat, 19 Dec 2009 14:10:40 +0200
Omer Faruk Sen omerf...@gmail.com wrote:


 # ntpq -c peers
  remote   refid  st t when poll reach   delay
 offset  jitter
 ==
 +194.27.110.130  131.188.3.2202 u  27h 10240   67.816
 13.282   0.000 
*clock.isc.org204.123.2.5  2 u  26h 10240
 224.461  -15.208   0.000
 
 But I am sure that it can't reach (I sniff my firewall so no traffic
 comes from clock.isc.org). My question is how can I find out that my
 ntp servers defined at ntp.conf are unreachable 

reach is an octal bitmap of the last 10 connection attempts, and it's
showing 0 instead of 377
___
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: question about building a custom kernel

2009-12-19 Thread Bruce Cran
On Sat, 19 Dec 2009 14:46:27 -0500
ill...@gmail.com ill...@gmail.com wrote:

 You aren't going to gain much in speed or size savings, so
 do take care to understand what you hope to gain.  If you
 wish to shorten kernel compile times and reduce the size of
 /boot, have a look at the MODULES_OVERRIDE and
 WITHOUT_MODULES variables in /etc/make.conf.  That
 said, good luck, I haven't had any serious problems and I've
 been using custom kernels since FreeBSD 4.1 or so.
 

While I agree in principle that compiling a custom kernel isn't usually
worth it on modern machines, I recently gained a 65% disk space saving
over GENERIC by bulding a custom kernel. Granted that was achieved
because it's installed on a router with just 128MB RAM so I removed
things like wifi and usb support, opted for device mii and added the
PHY drivers I knew were used and added pf support, but it does show that
substantial savings are still possible.  Another reason for building a
custom kernel is to add functionality that isn't available through
modules, such as support for DTrace.

-- 
Bruce Cran
___
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


ld-elf related problems

2009-12-19 Thread Ghirai
Hi,

I'm running 8.0-RELEASE amd64, and various applications randomly
coredump and exit with signal 10; this has started apparently after
installing numpy from ports, which also pulled gcc44.
Right after that basically all apps i had running crashed, and they
wouldn't start.

The error was something about unrecognized symbols or
something in ld-elf-something. I can't be more specific, because after
a reboot, stuff worked again - mostly.

Now applications periodically coredump, but then start again.

Does anyone have any insights?
Thanks.
___
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: question about building a custom kernel

2009-12-19 Thread Robert Huff

ill...@gmail.com writes:

  You aren't going to gain much in speed or size savings, so
  do take care to understand what you hope to gain.

While I haven't done even an eyeball check recently, not too
long ago the size savings for an aggressively pruned kernel could be
quite noticable; there was also anecdotal support (waves hand)
forfaster performance.
Barring that?  Every part of the kernel is something that can
possbily go wrong, either by itself or by interacting with another
part; if it isn't there, it can't break.  Now the record on this
really pretty awesome ... on the other hand, I can't argue with the
person who doesn't want to roll those dice.
And compile times of current generation hardware are pretty
short.  On an AMD Phenom II x4 940 (3 ghz) it's 5 minutes, maybe
less.


Robert Huff

___
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 to enable network manager in KDE?

2009-12-19 Thread Yuri
How do I launch network manager that allows to visually manage WiFi and 
LAN connections?
I have FreeBSD on a laptop and I have to establish WiFi connections 
manually -- it's very inconvenient.


In Kubuntu this problem is solved and WiFi management is very easy. It's 
the same Looking for the same in FreeBSD.


Also how to make ifconfig display very long SSID strings?

Yuri
___
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 to enable network manager in KDE?

2009-12-19 Thread Glen Barber
On Sat, Dec 19, 2009 at 8:59 PM, Yuri y...@rawbw.com wrote:
 How do I launch network manager that allows to visually manage WiFi and LAN
 connections?
 I have FreeBSD on a laptop and I have to establish WiFi connections manually
 -- it's very inconvenient.

You can always edit wpa_supplicant.conf(5) - you don't need to use WPA/WPA2...


 In Kubuntu this problem is solved and WiFi management is very easy. It's the
 same Looking for the same in FreeBSD.


Have a look at ports/net-mgmt/wifimgr


-- 
Glen Barber
___
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: request

2009-12-19 Thread Marwan Sultan

Hello Akbar,

 

   Before submitting a question, make sure its a proper question!

   and before attempting to do something, read about it, check it out

   then decide if you want to do it or not.

 

   Did you read about FreeBSD and did you check the website www.FreeBSD.org or 
not?

   If you cannot download the OS ISO which is over 600MB and NO ONE will send 
you

   600MB thro Email, you should purchase the CD.

 

   Out of your question I think you will not make even a proper install to 
FreeBSD.

 

   Check out www.FreeBSD.org

   and check out

   www.pcbsd.org

 

   

   Marwan Sultan

   System Administrator

   
 
 Date: Mon, 14 Dec 2009 17:35:19 +0330
 From: akb.mor...@mail.sbu.ac.ir
 To: freebsd-questions@FreeBSD.org
 CC: 
 Subject: request
 
 hello
 I live in iran and very intresting to download and use freebsd .I think it 
 can provide me a good futeare of good os
 but my internet speed is very low and i can not download it directly from 
 your server.but if you send the free bsd iso file to my email address i can 
 download it from my email client .because my email is locate in local server 
 and i can easily download from this email server.
 tanks
 
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/___
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