Re: define more partitions in freebsd

2013-06-03 Thread saeedeh motlagh
thanks Carl,

i tried your your manual step by steps on FreeBSD8.2 but error happened.
this is what i've done:
gpart create -s MBR ad3
ad3 created
gpart add -t freebsd ad3
ad3s1 added
gpart create -s BSD -n 20 ad3s1
gpart: geom 'ad3s1': File Exists

if i do not run the second command and run the third one, it says invalid
argument.

i don't know what should i do:( any comments or hints are really
appreciated.


On Sun, Jun 2, 2013 at 11:31 PM, Carl Johnson ca...@peak.org wrote:

 s m sam.gh1...@gmail.com writes:

  thanks guys,
 
  i understand another solution is GPT partitioning. but i prefer to have
  more partitions in traditional freebsd (with MBR table i think). using
 GPT
  is the last solution for me.
 
  i should create more than 8 partitions with gpart command (flag n which
  identifies entries) but i have errors when using it. is there any special
  option which should be included in kernel in order to use gpart with flag
  n? any one test it before?
 
  thanks in advance,

 I just tried it on a FreeBSD 8.3 system without any problems.  You will
 need to explain what kind of errors you had before anybody can help you.
 I used a zfs volume for testing as follows:

 gpart create -s MBR /dev/zvol/zpool/v/gtest
 gpart add -t freebsd /dev/zvol/zpool/v/gtest
 gpart create -s BSD -n 20 zvol/zpool/v/gtests1
 gpart add -t freebsd-ufs -s 1G zvol/zpool/v/gtests1
 gpart add -t freebsd-swap -s 2G zvol/zpool/v/gtests1
 # add several more freebsd-ufs
 # output from 'gpart show zvol/zpool/v/gtests1'
 =   0  41942943  zvol/zpool/v/gtests1  BSD  (20G)
  0   2097152 1  freebsd-ufs  (1.0G)
2097152   4194304 2  freebsd-swap  (2.0G)
6291456   2097152 4  freebsd-ufs  (1.0G)
8388608   2097152 5  freebsd-ufs  (1.0G)
   10485760   2097152 6  freebsd-ufs  (1.0G)
   12582912   2097152 7  freebsd-ufs  (1.0G)
   14680064   2097152 8  freebsd-ufs  (1.0G)
   16777216   2097152 9  freebsd-ufs  (1.0G)
   18874368   209715210  freebsd-ufs  (1.0G)
   20971520   209715211  freebsd-ufs  (1.0G)
   23068672   209715212  freebsd-ufs  (1.0G)
   25165824   209715213  freebsd-ufs  (1.0G)
   27262976   209715214  freebsd-ufs  (1.0G)
   29360128   209715215  freebsd-ufs  (1.0G)
   31457280   209715216  freebsd-ufs  (1.0G)
   33554432   209715217  freebsd-ufs  (1.0G)
   35651584   209715218  freebsd-ufs  (1.0G)
   37748736   209715219  freebsd-ufs  (1.0G)
   39845888   209705520  freebsd-ufs  (1G)
 # output from 'disklabel zvol/zpool/v/gtests1'
 # /dev/zvol/zpool/v/gtests1:
 20 partitions:
 #  size offsetfstype   [fsize bsize bps/cpg]
   a:2097152  04.2BSD0 0 0
   b:41943042097152  swap
   c:   41942943  0unused0 0 # raw part,
 don't edit
   d:209715262914564.2BSD0 0 0
   e:209715283886084.2BSD0 0 0
   f:2097152   104857604.2BSD0 0 0
   g:2097152   125829124.2BSD0 0 0
   h:2097152   146800644.2BSD0 0 0
   i:2097152   167772164.2BSD0 0 0
   j:2097152   188743684.2BSD0 0 0
   k:2097152   209715204.2BSD0 0 0
   l:2097152   230686724.2BSD0 0 0
   m:2097152   251658244.2BSD0 0 0
   n:2097152   272629764.2BSD0 0 0
   o:2097152   293601284.2BSD0 0 0
   p:2097152   314572804.2BSD0 0 0
   q:2097152   335544324.2BSD0 0 0
   r:2097152   356515844.2BSD0 0 0
   s:2097152   377487364.2BSD0 0 0
   t:2097055   398458884.2BSD0 0 0

 I also tried newfs on all the ufs partitions without problems.  I just
 tried this on a FreeBSD 8.2 system and it works there as well.

 --
 Carl Johnsonca...@peak.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




-- 
*Sa.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


change specified byte in a hex file

2013-06-03 Thread s m
hi folks,

i want to change a specified byte in a hex file. i want to edit my file and
change byte 0x28a content from 0x08 to 0x14.

i try to do it with hex-editor in windows but this file is too big and i
can't transfer it to the other system. i think it should be done by some
commands such as dd but i don't know how to use it.

please help me to edit my file.
thanks in advance,
SAM
___
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: change specified byte in a hex file

2013-06-03 Thread s m
thanks Ayan,

but isn't there any command in freebsd to do it for me??


On Mon, Jun 3, 2013 at 11:06 AM, Ayan George a...@ayan.net wrote:

 On 06/03/2013 02:28 AM, s m wrote:
  hi folks,
 
  i want to change a specified byte in a hex file. i want to edit my file
 and
  change byte 0x28a content from 0x08 to 0x14.
 
  i try to do it with hex-editor in windows but this file is too big and i
  can't transfer it to the other system. i think it should be done by some
  commands such as dd but i don't know how to use it.
 
  please help me to edit my file.
  thanks in advance,
  SAM
 

 Use a decent hex editor or write a small C program to edit the file.

 -ayan


___
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: change specified byte in a hex file

2013-06-03 Thread Matthias Apitz
El día Monday, June 03, 2013 a las 11:19:24AM +0430, s m escribió:

 thanks Ayan,
 
 but isn't there any command in freebsd to do it for me??

There is chexedit in the ports.

matthias
-- 
Sent from my FreeBSD netbook

Matthias Apitz   |  - No system with backdoors like Apple/Android
E-mail: g...@unixarea.de |  - Never being an iSlave
WWW: http://www.unixarea.de/ |  - No proprietary attachments, no HTML/RTF in 
E-mail
phone: +49-170-4527211   |  - Respect for open standards
___
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: change specified byte in a hex file

2013-06-03 Thread Arthur Chance

On 06/03/13 07:28, s m wrote:

i want to change a specified byte in a hex file. i want to edit my file and
change byte 0x28a content from 0x08 to 0x14.


Given your earlier posts about increasing the number of partitions from 
8 to 20 on a BSD labelled disk, this probably is not something you 
really want to do without further research to see if the label actually 
contains enough space for the metadata for 20 partitions. I believe it 
doesn't and you're liable to trash the file system on your 'a' partition 
if you just edit the byte. Alternatively newfs'ing your 'a' partition 
may destroy the metadata for partitions beyond 'h'. You really need to 
learn how to use gpart correctly, rather than randomly changing bytes on 
a disk.


However, there's nothing like burning your fingers playing with matches 
to teach you to respect fire, so ...



i try to do it with hex-editor in windows but this file is too big and i
can't transfer it to the other system. i think it should be done by some
commands such as dd but i don't know how to use it.


Of course it can be done by dd. Use man dd to find out how to use it, 
that's what the manual pages are for, and it's better to read for 
yourself than have someone give you an incantation you don't understand.


Hint: look at the bs= and seek= options.

Extra hint: *after* you've checked the potential problem I've mentioned 
in the first paragraph, you might also want to use man echo, man 
builtin, man sh and man csh to understand the differences between 
the various versions of echo you have available.


--
In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a
new race of servants. Called Uruk-Oh-Hai in the Black Speech, they
were cruel and delighted in torturing spelling and grammar.

_Lord of the Rings 2.0, the Web Edition_
___
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: Max top end computer for Freebsd to run on

2013-06-03 Thread Michael Powell
Al Plant wrote:

 James wrote:
 Several modest servers applied well will take you further than one big
 iron—and for less cost.
 
 James I agree. I have witnessed the benefit of what you say. Putting
 your faith in one big server can be a problem if the box fails,
 especially hardware failure.
 
 Keeping a spare server in a rack that can be switched in to service
 quickly can save you if one dies. Time (waiting for parts), most
 failures are hardware if your running FreeBSD. Even most Linux boxes.
 

There are 2 approaches, and applying both together is what I favor. Scale up 
(vertical) is a horsepower per box kind of thing. Scale out (horizontal) 
adds more of the same kind of box(es) in parallel. The resulting redundancy 
will keep you up and online.

Sizing matters somewhat. Having excess horsepower that sits unused is extra 
money spent on one box that could have been applied to scale out redundancy. 
If you can size one machine to match your current and projected workload, 
then if there are two, or more, of these and one fails the remaining can 
shoulder the load while you get the broken one back up.

Where the balance point is struck will depend on workload. Let's say 
(hypothetical) one box as a web/database server can handle 1,000 
connections/users per second within desired latency and response time. If a 
spike in demand suddenly comes that box will slow to a crawl (or even fall 
over) as it tries to keep up, as it is lacking the extra horsepower overhead 
that would otherwise be sitting idle if it did. Scaling out (horizontally) 
by adding more boxes will distribute this spike across multiple machines and 
remain within the desired processing response/latency time so together they 
can handle 2,000 when the need is present. Need another 1,000? Add another 
box, and so on.

So the trick is to understand your workload. Don't go overboard on just one  
huge high-power machine which sits mostly idle and takes you offline if it 
fails. Spend the money on more moderately sized boxen. Me, I like to have at 
least 3 of everything (if I can) such that they are sized so that 2 of them 
together can easily handle the desired load. The third one is for redundancy 
and the 'what-if' spike in demand.

Another advantage here is you can take one offline for updates, then put it 
back online and test it out for problems. If there is no problem then you 
can take one of the other two down and update it. This way you can do 
updates without your service being offline. But the trick is still to 
understand your specific workload first, then spread the money around 
accordingly.

-Mike


___
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: Max top end computer for Freebsd to run on

2013-06-03 Thread Vincent Hoffman
On 02/06/2013 21:34, Fbsd8 wrote:
 I'm a sub second speed freak. What is the max number of cpu's and
 memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and
 32gb of memory? I need a gaming server with some really big balls for
 hundreds of jails. Money is not a deciding factor here, horse power is.
 ___
 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
It'll certainly support it, the biggest server I FreeBSD on at the
moment is:

root@parisnfsen:~ # head -20 /var/run/dmesg.boot
Copyright (c) 1992-2013 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.1-STABLE #4 r249837: Wed Apr 24 13:37:24 CEST 2013
r...@parisnfsen.nottellingyou.net:/usr/obj/usr/src/sys/PARISNFSEN amd64
gcc version 4.2.1 20070831 patched [FreeBSD]
CPU: Intel(R) Xeon(R) CPU   E5620  @ 2.40GHz (2394.05-MHz
K8-class CPU)
  Origin = GenuineIntel  Id = 0x206c2  Family = 0x6  Model = 0x2c 
Stepping = 2
 
Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE
 
Features2=0x29ee3ffSSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AESNI
  AMD Features=0x2c100800SYSCALL,NX,Page1GB,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 34359738368 (32768 MB)
avail memory = 33090797568 (31557 MB)
Event timer LAPIC quality 600
ACPI APIC Table: DELL   PE_SC3  
FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads

as other people have said though, one big server is often not the best
answer, keep things like disk io and resiliency in mind.
This is a PowerEdge R410 seems to be pretty happy trundling along on
9-STABLE

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


kldload mrouting.ko

2013-06-03 Thread Fbsd8

kldload mrouting.ko command gives not found message.

How do I load mrouting beside compiling the kernel with option MROUTING 
in kernel source?

___
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: kldload mrouting.ko

2013-06-03 Thread Eduardo Morras
On Mon, 03 Jun 2013 08:41:40 -0400
Fbsd8 fb...@a1poweruser.com wrote:

 kldload mrouting.ko command gives not found message.
 
 How do I load mrouting beside compiling the kernel with option MROUTING 
 in kernel source?

There's no mrouting.ko. Perhaps you want ip_mroute.ko ?

#kldload ip_mroute.ko

---   ---
Eduardo Morras emorr...@yahoo.es
___
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


Disable build new pkg format in poudriere

2013-06-03 Thread C. L. Martinez
HI all,

 I need to build some packages without using new pkg format. I would
like to accomplish this using poudriere, but is this possible?? Or do
I need to use another package builder??

 I have tried to build rsync, but when I try to install, this error is returned:

tar: +CONTENTS: Not found in archive
tar: Error exit delayed from previous errors.
pkg_add: tar extract of
/poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz
failed!
pkg_add: unable to extract table of contents file from
'/poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz'
- not a package?

 In make config file:

WITH_PKGNG=no
WITHOUT_X11=yes

 Any idea??
___
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: VIMAGE

2013-06-03 Thread Pietro Paolini

On Jun 1, 2013, at 5:26 AM, Teske, Devin devin.te...@fisglobal.com wrote:

 
 On May 31, 2013, at 3:05 PM, Teske, Devin wrote:
 
 
 On May 31, 2013, at 1:48 AM, Pietro Paolini wrote:
 
 
 On May 30, 2013, at 6:25 PM, Teske, Devin devin.te...@fisglobal.com 
 wrote:
 
 
 On May 30, 2013, at 3:35 AM, Pietro Paolini wrote:
 
 Hello all,
 
 I am a new bye on the FreeBSD and I am looking at the VIMAGE features 
 experiencing some problems.
 I added the options :
 VIMAGE
 if_bridge
 
 and I removed
 STCP
 
 then I recompiled my kernel and install it.
 
 After that, following this tutorial 
 http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the 
 Exercise 2 which consist on 
 the following commands:
 
 vimage -c n1
 vimage -c n2
 ngctl mkpeer efface ether ether
 ngctl mkpeer efface ether ether
 
 Don't you just love autocorrect? (does the same thing to me… turns 
 eiface into efface)
 
 
 ngctl mkpeer em0: bridge lower link0
 
 Looks good.
 
 
 ngctl name em0:lower bridge0
 
 I usually do my connect before the name… but shouldn't matter. Should 
 work all the same.
 
 
 ngctl connect em0: bridge0: upper link1
 
 This looks wrong to me.
 
 I'd expect:
 
 ngctl connect em0: bridge0:lower upper link1
 
 
 
 Many thanks for the answer Devin,
 when I try to use that last command I receive:
 
 ngctl connect em0: bridge0:lower upper link1
 ngctl: send msg: Invalid argument
 
 What's wrong ?
 
 
 Let's start from scratch on a freshly booted box…
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l
 [sudo] Password:
 There are 4 total nodes:
  Name: em0 Type: ether   ID: 0002   Num hooks: 0
  Name: em1 Type: ether   ID: 0003   Num hooks: 0
  Name: ngctl1719   Type: socket  ID: 0004   Num hooks: 0
  Name: msk0Type: ether   ID: 0001   Num hooks: 0
 
 Ok… we have an ether type node for each of our physical adapters (these 
 are provided by ng_ether(4); you didn't have to do anything to get these 
 nodes).
 
 We also have a single socket type node. This is the ngctl connection to 
 the netgraph subsystem (you can learn more by reading ng_socket(4)).
 
 Here's the corresponding hardware behind em0, em1, and msk0:
 
 ===
 
 dte...@scu0a.jbsd.vicor.com ~ $ grep '\(em\|e1000phy\|mskc\?\)[[:digit:]]' 
 /var/run/dmesg.boot
 mskc0: Marvell Yukon 88E8050 Gigabit Ethernet port 0xdc00-0xdcff mem 
 0xfcffc000-0xfcff irq 16 at device 0.0 on pci5
 msk0: Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02 on mskc0
 msk0: Ethernet address: xx:xx:xx:xx:xx:xx
 miibus0: MII bus on msk0
 e1000phy0: Marvell 88E Gigabit PHY PHY 0 on miibus0
 e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
 mskc0: [ITHREAD]
 em0: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 port 0xec80-0xecbf 
 mem 0xfebe-0xfebf irq 16 at device 4.0 on pci7
 em0: [FILTER]
 em0: Ethernet address: xx:xx:xx:xx:xx:xx
 em1: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 port 0xec00-0xec3f 
 mem 0xfeba-0xfebb,0xfeb8-0xfeb9 irq 18 at device 6.0 on pci7
 em1: [FILTER]
 em1: Ethernet address: xx:xx:xx:xx:xx:xx
 em0: link state changed to UP
 
 ===
 
 Next, let's make a bridge (think of it as a big software switch that we're 
 going to hook a bunch of interfaces; created, physical, or otherwise).
 
 Since I'm doing this over an SSH connection (a mistake I made earlier 
 today), I'm not going to touch em0 (the adapter my SSH connection is using). 
 Creating the bridge on an actively configured PHY will knock it off the net. 
 This is not to say you can't have an active configuration on a bridged 
 interface… just that the creation of the bridge (something you should only 
 do once each time you boot) will disrupt an active connection.
 
 So…
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl mkpeer em1: bridge lower link0
 
 NOTE: No output == Success.
 
 ===
 
 Now let's look at our handiwork…
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1:lower
  Name: unnamed   Type: bridge  ID: 0007   Num hooks: 1
  Local hook  Peer name   Peer typePeer ID Peer hook  
  --  -   ---- -  
  link0   em1 ether0003lower  
 
 
 Ok, we see that the lower peer hook of the em1 ether-node goes off to 
 something named link0.
 
 To see where link0 is off-to… we need a full listing (back to ngctl ls -l).
 
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l
 There are 5 total nodes:
  Name: unnamed   Type: bridge  ID: 0007   Num hooks: 1
  Local hook  Peer name   Peer typePeer ID Peer hook  
  --  -   ---- -  
  link0   em1 ether0003lower  
  Name: em0 Type: ether   

Re: Disable build new pkg format in poudriere

2013-06-03 Thread Michael Powell
C. L. Martinez wrote:

 HI all,
 
  I need to build some packages without using new pkg format. I would
 like to accomplish this using poudriere, but is this possible?? Or do
 I need to use another package builder??
 
  I have tried to build rsync, but when I try to install, this error is
  returned:
 
 tar: +CONTENTS: Not found in archive
 tar: Error exit delayed from previous errors.
 pkg_add: tar extract of
 /poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz
 failed!
 pkg_add: unable to extract table of contents file from
 '/poudriere/data/packages/fbsd91_amd64_legacy-
default/All/rsync-3.0.9_3.txz'
 - not a package?
 
  In make config file:
 
 WITH_PKGNG=no
 WITHOUT_X11=yes

Try  WITHOUT_PKGNG=yes and see if it helps.

-Mike


___
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: Disable build new pkg format in poudriere

2013-06-03 Thread C. L. Martinez
On Mon, Jun 3, 2013 at 1:45 PM, Michael Powell nightre...@hotmail.com wrote:
 C. L. Martinez wrote:

 HI all,

  I need to build some packages without using new pkg format. I would
 like to accomplish this using poudriere, but is this possible?? Or do
 I need to use another package builder??

  I have tried to build rsync, but when I try to install, this error is
  returned:

 tar: +CONTENTS: Not found in archive
 tar: Error exit delayed from previous errors.
 pkg_add: tar extract of
 /poudriere/data/packages/fbsd91_amd64_legacy-default/All/rsync-3.0.9_3.txz
 failed!
 pkg_add: unable to extract table of contents file from
 '/poudriere/data/packages/fbsd91_amd64_legacy-
 default/All/rsync-3.0.9_3.txz'
 - not a package?

  In make config file:

 WITH_PKGNG=no
 WITHOUT_X11=yes

 Try  WITHOUT_PKGNG=yes and see if it helps.

 -Mike


Thanks Mike. I have removed WITH_PKGNG line and it works and I can
build and install packages... but when I execute pkg_version:

root@fbsdtst:~ # pkg_version -v
perl-5.14.2_3   ?   orphaned: lang/perl5.14
rsync-3.0.9_3   ?   orphaned: net/rsync
zfs-stats-1.2.2 ?   orphaned: sysutils/zfs-stats

Uhmm why these packages appears as oprhaned??
___
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: define more partitions in freebsd

2013-06-03 Thread Warren Block

On Mon, 3 Jun 2013, saeedeh motlagh wrote:


thanks Carl,

i tried your your manual step by steps on FreeBSD8.2 but error happened.
this is what i've done:
gpart create -s MBR ad3
ad3 created
gpart add -t freebsd ad3
ad3s1 added
gpart create -s BSD -n 20 ad3s1
gpart: geom 'ad3s1': File Exists

if i do not run the second command and run the third one, it says invalid
argument.

i don't know what should i do:( any comments or hints are really
appreciated.


[please stop top-posting, it makes replies more difficult]

The slice entry is still present on the disk, and must be removed and 
recreated:


  gpart delete -i1 ad3
  gpart add -t freebsd ad3

Again, GPT is a better solution unless you have a Thinkpad with a broken 
BIOS.

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

2013-06-03 Thread Teske, Devin

On Jun 3, 2013, at 6:33 AM, Pietro Paolini wrote:

 
 On Jun 1, 2013, at 5:26 AM, Teske, Devin devin.te...@fisglobal.com wrote:
 
 
 On May 31, 2013, at 3:05 PM, Teske, Devin wrote:
 
 
 On May 31, 2013, at 1:48 AM, Pietro Paolini wrote:
 
 
 On May 30, 2013, at 6:25 PM, Teske, Devin devin.te...@fisglobal.com 
 wrote:
 
 
 On May 30, 2013, at 3:35 AM, Pietro Paolini wrote:
 
 Hello all,
 
 I am a new bye on the FreeBSD and I am looking at the VIMAGE features 
 experiencing some problems.
 I added the options :
 VIMAGE
 if_bridge
 
 and I removed
 STCP
 
 then I recompiled my kernel and install it.
 
 After that, following this tutorial 
 https://urldefense.proofpoint.com/v1/url?u=http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdfk=%2FbkpAUdJWZuiTILCq%2FFnQg%3D%3D%0Ar=Mrjs6vR4%2Faj2Ns9%2FssHJjg%3D%3D%0Am=xe0XNgnKBiT9v8HzxwWwnNMOVN3YdEHmTsIZfFoQA9Y%3D%0As=b271820faf310ac274ded8c3135b4931f2a5278e78ec1a66ce6a5ab971ff64f5
  I tried the Exercise 2 which consist on 
 the following commands:
 
 vimage -c n1
 vimage -c n2
 ngctl mkpeer efface ether ether
 ngctl mkpeer efface ether ether
 
 Don't you just love autocorrect? (does the same thing to me… turns 
 eiface into efface)
 
 
 ngctl mkpeer em0: bridge lower link0
 
 Looks good.
 
 
 ngctl name em0:lower bridge0
 
 I usually do my connect before the name… but shouldn't matter. Should 
 work all the same.
 
 
 ngctl connect em0: bridge0: upper link1
 
 This looks wrong to me.
 
 I'd expect:
 
 ngctl connect em0: bridge0:lower upper link1
 
 
 
 Many thanks for the answer Devin,
 when I try to use that last command I receive:
 
 ngctl connect em0: bridge0:lower upper link1
 ngctl: send msg: Invalid argument
 
 What's wrong ?
 
 
 Let's start from scratch on a freshly booted box…
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l
 [sudo] Password:
 There are 4 total nodes:
 Name: em0 Type: ether   ID: 0002   Num hooks: 0
 Name: em1 Type: ether   ID: 0003   Num hooks: 0
 Name: ngctl1719   Type: socket  ID: 0004   Num hooks: 0
 Name: msk0Type: ether   ID: 0001   Num hooks: 0
 
 Ok… we have an ether type node for each of our physical adapters (these 
 are provided by ng_ether(4); you didn't have to do anything to get these 
 nodes).
 
 We also have a single socket type node. This is the ngctl connection to 
 the netgraph subsystem (you can learn more by reading ng_socket(4)).
 
 Here's the corresponding hardware behind em0, em1, and msk0:
 
 ===
 
 dte...@scu0a.jbsd.vicor.com ~ $ grep '\(em\|e1000phy\|mskc\?\)[[:digit:]]' 
 /var/run/dmesg.boot
 mskc0: Marvell Yukon 88E8050 Gigabit Ethernet port 0xdc00-0xdcff mem 
 0xfcffc000-0xfcff irq 16 at device 0.0 on pci5
 msk0: Marvell Technology Group Ltd. Yukon EC Id 0xb6 Rev 0x02 on mskc0
 msk0: Ethernet address: xx:xx:xx:xx:xx:xx
 miibus0: MII bus on msk0
 e1000phy0: Marvell 88E Gigabit PHY PHY 0 on miibus0
 e1000phy0:  none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 
 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto
 mskc0: [ITHREAD]
 em0: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 port 0xec80-0xecbf 
 mem 0xfebe-0xfebf irq 16 at device 4.0 on pci7
 em0: [FILTER]
 em0: Ethernet address: xx:xx:xx:xx:xx:xx
 em1: Intel(R) PRO/1000 Legacy Network Connection 1.0.3 port 0xec00-0xec3f 
 mem 0xfeba-0xfebb,0xfeb8-0xfeb9 irq 18 at device 6.0 on pci7
 em1: [FILTER]
 em1: Ethernet address: xx:xx:xx:xx:xx:xx
 em0: link state changed to UP
 
 ===
 
 Next, let's make a bridge (think of it as a big software switch that we're 
 going to hook a bunch of interfaces; created, physical, or otherwise).
 
 Since I'm doing this over an SSH connection (a mistake I made earlier 
 today), I'm not going to touch em0 (the adapter my SSH connection is 
 using). Creating the bridge on an actively configured PHY will knock it off 
 the net. This is not to say you can't have an active configuration on a 
 bridged interface… just that the creation of the bridge (something you 
 should only do once each time you boot) will disrupt an active connection.
 
 So…
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl mkpeer em1: bridge lower link0
 
 NOTE: No output == Success.
 
 ===
 
 Now let's look at our handiwork…
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl info em1:lower
 Name: unnamed   Type: bridge  ID: 0007   Num hooks: 1
 Local hook  Peer name   Peer typePeer ID Peer hook  
 --  -   ---- -  
 link0   em1 ether0003lower  
 
 
 Ok, we see that the lower peer hook of the em1 ether-node goes off to 
 something named link0.
 
 To see where link0 is off-to… we need a full listing (back to ngctl ls 
 -l).
 
 
 dte...@scu0a.jbsd.vicor.com ~ $ sudo ngctl ls -l
 There are 5 total nodes:
 Name: unnamed   Type: bridge  ID: 0007   Num hooks: 1
 

Stop SMTP attack with pam_abl

2013-06-03 Thread Andrea Venturoli

Hello.

I have different sendmail based servers deployed and all of them are, 
more or less frequently, subject to dictionary attacks.

So I looked for some solution to stop them and stumbled upon pam_abl.

However it does not seem to do its job; in the logs I have:
 pam_abl[2398]: /usr/local/etc/pam_abl.conf: 
host_db=/var/db/pam_abl/hosts.db

 pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_purge=4h
 pam_abl[2398]: /usr/local/etc/pam_abl.conf: host_rule=*:10/1h,30/1d
 pam_abl[2398]: PAM_RHOST is NULL
 pam_abl[2398]: In cleanup, err is 

That PAM_RHOST is NULL looks like the culprit to me...

I searched a lot for deeper documentation but came up empty.
Any hint?

 bye  Thanks
av.

P.S. I'm not sticking with pam_abl if a better solution exists...
___
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: Max top end computer for Freebsd to run on

2013-06-03 Thread Gezeala M . Bacuño II
On Mon, Jun 3, 2013 at 4:24 AM, Vincent Hoffman vi...@unsane.co.uk wrote:

 On 02/06/2013 21:34, Fbsd8 wrote:
  I'm a sub second speed freak. What is the max number of cpu's and
  memory size that Freebsd can handle? Can it handle 16 4ghz cpu's and
  32gb of memory? I need a gaming server with some really big balls for
  hundreds of jails. Money is not a deciding factor here, horse power is.
  ___
  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
 It'll certainly support it, the biggest server I FreeBSD on at the
 moment is:

 root@parisnfsen:~ # head -20 /var/run/dmesg.boot
 Copyright (c) 1992-2013 The FreeBSD Project.
 Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
 The Regents of the University of California. All rights reserved.
 FreeBSD is a registered trademark of The FreeBSD Foundation.
 FreeBSD 9.1-STABLE #4 r249837: Wed Apr 24 13:37:24 CEST 2013
 r...@parisnfsen.nottellingyou.net:/usr/obj/usr/src/sys/PARISNFSEN
 amd64
 gcc version 4.2.1 20070831 patched [FreeBSD]
 CPU: Intel(R) Xeon(R) CPU   E5620  @ 2.40GHz (2394.05-MHz
 K8-class CPU)
   Origin = GenuineIntel  Id = 0x206c2  Family = 0x6  Model = 0x2c
 Stepping = 2


 Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE


 Features2=0x29ee3ffSSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AESNI
   AMD Features=0x2c100800SYSCALL,NX,Page1GB,RDTSCP,LM
   AMD Features2=0x1LAHF
   TSC: P-state invariant, performance statistics
 real memory  = 34359738368 (32768 MB)
 avail memory = 33090797568 (31557 MB)
 Event timer LAPIC quality 600
 ACPI APIC Table: DELL   PE_SC3  
 FreeBSD/SMP: Multiprocessor System Detected: 16 CPUs
 FreeBSD/SMP: 2 package(s) x 4 core(s) x 2 SMT threads

 as other people have said though, one big server is often not the best
 answer, keep things like disk io and resiliency in mind.
 This is a PowerEdge R410 seems to be pretty happy trundling along on
 9-STABLE

 Vince


works fine with this:

Copyright (c) 1992-2011 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 9.0-RELEASE #3: Tue Dec 27 14:14:29 PST 2011

r...@build9x64.pcbsd.org:/usr/obj/builds/amd64/pcbsd-build90/fbsd-source/9.0/sys/GENERIC
amd64
CPU: Intel(R) Xeon(R) CPU E7- 8837  @ 2.67GHz (2666.81-MHz K8-class CPU)
  Origin = GenuineIntel  Id = 0x206f2  Family = 6  Model = 2f  Stepping =
2

Features=0xbfebfbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE

Features2=0x29ee3ffSSE3,PCLMULQDQ,DTES64,MON,DS_CPL,VMX,SMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,PCID,DCA,SSE4.1,SSE4.2,POPCNT,AESNI
  AMD Features=0x2c100800SYSCALL,NX,Page1GB,RDTSCP,LM
  AMD Features2=0x1LAHF
  TSC: P-state invariant, performance statistics
real memory  = 549755813888 (524288 MB)
avail memory = 532166148096 (507513 MB)
Event timer LAPIC quality 600
ACPI APIC Table: ALASKA A M I
FreeBSD/SMP: Multiprocessor System Detected: 64 CPUs
FreeBSD/SMP: 8 package(s) x 8 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  2
 cpu2 (AP): APIC ID:  4

 cpu63 (AP): APIC ID: 242
___
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: define more partitions in freebsd

2013-06-03 Thread Bernt Hansson

On 2013-06-01 08:40, s m wrote:

hello all

i want to install freebsd8.2 on my system. for some reasons, i need
partitions more than 6. my freebsd just allow me to define partitions
from a to h, not any more.

i checked FreeBSD handbook, but it doesn't say anything about defining
more partitions.

my question is: how can i define more partitions on my freebsd? (for
example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...).

any comments or hints are appreciated.
SAM


Put another disk in your machine.
___
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: Sound cards

2013-06-03 Thread Waitman Gobble
On Jun 2, 2013 3:57 PM, mike miskulin birdf...@yahoo.com wrote:

 Hi all - I may be building a system which does not have any onboard
 sounds thus need to find either a pci-e or usb solution which will work
 with FreeBSD.  I've combed newegg and have to say I never realized how
 crappy the sound cards have become - that used to be a big thing back in
 the day!

 Could any of you who have installed something of -recent- vintage
 which worked well post the make/model?  I just need something for basic
 audio, nothing superduper.

 TIA

 ___
 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

hi, i believe the market been more about mainstream-acceptable quality for
cheaper and cheaper the past few years. most people use on board sound.

not sure there will alot of new and exciting sound cards coming soon, its
kind of at the limit of pcm. it will be totally very cool when sound cards
do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think.

i use a creative x-fi card pci-e, the blue one that runs about 50 bucks...
on a FreeBSD system, it works pretty good with oss in base or you can try
v4.2 in ports.

asus xonar cards are excellent, they supposedly work in oss but i have not
tried my xonar on a FreeBSD machine yet.

if you run usb sound, i recommend getting an add-IN usb card, especially if
you want to do some 48k recording. add a couple devices to your usb bus and
you might notice some latency.

Hope that helps.

Waitman Gobble
San Jose California USA
___
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: Sound cards

2013-06-03 Thread Waitman Gobble
On Mon, Jun 3, 2013 at 1:13 PM, Waitman Gobble gobble...@gmail.com wrote:

 On Jun 2, 2013 3:57 PM, mike miskulin birdf...@yahoo.com wrote:

 Hi all - I may be building a system which does not have any onboard
 sounds thus need to find either a pci-e or usb solution which will work
 with FreeBSD.  I've combed newegg and have to say I never realized how
 crappy the sound cards have become - that used to be a big thing back in
 the day!

 Could any of you who have installed something of -recent- vintage
 which worked well post the make/model?  I just need something for basic
 audio, nothing superduper.

 TIA

 ___
 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

 hi, i believe the market been more about mainstream-acceptable quality for
 cheaper and cheaper the past few years. most people use on board sound.

 not sure there will alot of new and exciting sound cards coming soon, its
 kind of at the limit of pcm. it will be totally very cool when sound cards
 do dsd / 5.7 mhz / 1 bit sampling rates, but thats still a ways off i think.

 i use a creative x-fi card pci-e, the blue one that runs about 50 bucks...
 on a FreeBSD system, it works pretty good with oss in base or you can try
 v4.2 in ports.

 asus xonar cards are excellent, they supposedly work in oss but i have not
 tried my xonar on a FreeBSD machine yet.

 if you run usb sound, i recommend getting an add-IN usb card, especially if
 you want to do some 48k recording. add a couple devices to your usb bus and
 you might notice some latency.

 Hope that helps.

 Waitman Gobble
 San Jose California USA


Sorry, I was typing my email on my phone before. yikes, grammar!

Anyhow, this card works pretty good on my FreeBSD system:
http://www.newegg.com/Product/Product.aspx?Item=N82E16829102017

Note: if you want 'more' than 16bit stereo sound, ie multiple
'surround sound' channels, 32(24) bit, 96Khz recording - you have to
do a little code hacking. That card also has an ac3 decoder, so I
think you can dump ac3 data to it, but i haven't tried that yet. 'one
of these weekends' i'll get to it. :)


--
Waitman Gobble
San Jose California USA
510-830-7975
___
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: cannot ftp using proxy

2013-06-03 Thread Lawrence K. Chen, P.Eng.
Delving through the source code...it appears that it only uses the ftp_proxy 
when given an ftp url

something like:

 ftp ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT
Requesting ftp://ftp.freebsd.org/pub/FreeBSD/README.TXT
  (via www-proxy.ksu.edu:8080)
100% |***|  3795   26.38 KiB/s00:00 ETA
3795 bytes retrieved in 00:00 (26.36 KiB/s)

Only the fetch side uses proxy (triggered by there being a ':' in the argument.)

The interactive ftp side doesn't.


- Original Message -
 Hello!
 Still can't resolve problem with ftp utility.
 
 root@ona:/root # ftp ftp2.freebsd.org
 ftp: Can't connect to `128.205.32.24:21': Operation timed out
 ftp: Can't connect to `ftp2.freebsd.org:ftp'
 ftp
 
 socksta -4 tells me that it is not even trying to connect to proxy
 server, connecting directly instead:
 
 root@ona:/root # sockstat -4
 USER COMMANDPID   FD PROTO  LOCAL ADDRESS FOREIGN
 ADDRESS
 root ftp54160 3  tcp4   10.10.15.26:50457
 128.205.32.24:21
 
 
 root@ona:/root # uname -a
 FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon
 Apr 29 18:27:25 UTC 2013
 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC
  amd64
 
 
 root@ona:/root # env
 TERM=screen
 ftp_proxy=http://myproxy:8080
 http_proxy=http://myproxy:8080
 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
 SHELL=/bin/csh
 HOME=/root
 USER=root
 HOSTTYPE=FreeBSD
 VENDOR=amd
 OSTYPE=FreeBSD
 MACHTYPE=x86_64
 SHLVL=1
 PWD=/root
 LOGNAME=root
 GROUP=wheel
 HOST=ona
 EDITOR=vi
 PAGER=more
 BLOCKSIZE=K
 
 Tried to google with no luck - no solution works for me. By the way,
 fetch works as expected, I can fetch and install ports.
 I would appreciate any help and/or any hints!
 
 Best regards!
 VS.
 ___
 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
 

-- 
Who: Lawrence K. Chen, P.Eng. - W0LKC - Senior Unix Systems Administrator
For: Enterprise Server Technologies (EST) --  SafeZone Ally
Snail: Computing and Telecommunications Services (CTS)
Kansas State University, 109 East Stadium, Manhattan, KS 66506-3102
Phone: (785) 532-4916 - Fax: (785) 532-3515 - Email: lkc...@ksu.edu
Web: http://www-personal.ksu.edu/~lkchen - Where: 11 Hale Library
___
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: setup journaling for root partition

2013-06-03 Thread Adam Vande More
On Tue, May 21, 2013 at 9:46 AM, Michael Sierchio ku...@tenebras.com wrote:
 AFAIK Softupdates journaling still breaks snapshot functionality - which
 makes it unusable for me. I wouldn't assume that the O.P. doesn't want we
 he's asking for.

Fixed awhile ago unless there is new bug on that.  Haven't tried.

http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/161674


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

2013-06-03 Thread asrofibcllamongan

veronique%20MASSON734 http://gest.equitation.perso.neuf.fr/w/94Tom%20Thorold846 
Wed, 5 Jun 2013 6:22:37

___
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


System Calls that do DNS

2013-06-03 Thread Doug Hardie
I have an unusual situation.  A program is doing a DNS lookup and often the IP 
address has no reverse DNS entries.  As a result the program hangs for several 
timeouts.  The call is not being made directly in its code, but is occurring in 
a system call.  There are no specific calls to DNS, its something else doing 
it.  I have been trying to track down which system call is doing it, but 
without success so far.  I have tried syslog calls around each of the system 
calls I thought might be the culprit, but my guessing is not very good.  How 
can I identify the system call that is calling DNS?  If I can find it, I 
hopefully can find another way to do whatever it does that does not involve a 
reverse DNS lookup.


___
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


chromium freezes 8.3 system

2013-06-03 Thread david coder

chromium often freezes my 8.4-stable, necessitating a powercycle.  is this a
configuration issue?  here's what i get w/make showconfig:

=== The following configuration options are available for
chromium-27.0.1453.81:
  CLANG=on: Build Chromium with Clang instead of GCC 4.6+
  CODECS=on: Compile and enable patented codecs like H.264
  DEBUG=off: Install debug symbols
  GCONF=on: GConf configuration backend support
  PULSEAUDIO=off: PulseAudio sound server support

thx for any help you can give me.

david coder


___
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


chromium freezes system 8.3

2013-06-03 Thread david coder

chromium often freezes my 8.3 os, necessitating a powercycle.  is this a
configuration issue?  here's what i get w/make showconfig:

=== The following configuration options are available for
chromium-27.0.1453.81:
 CLANG=on: Build Chromium with Clang instead of GCC 4.6+
 CODECS=on: Compile and enable patented codecs like H.264
 DEBUG=off: Install debug symbols
 GCONF=on: GConf configuration backend support
 PULSEAUDIO=off: PulseAudio sound server support

thx for any help you can give me.

david coder

___
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: chromium freezes 8.3 system

2013-06-03 Thread david coder

correction:  subject line should have read 8.4-stable system.  here's the output
of uname -a:

FreeBSD anon 8.4-STABLE FreeBSD 8.4-STABLE #0: Mon Jun  3 03:15:35 UTC
2013 root@anon:/usr/obj/usr/src/sys/anon  i386

+++ david coder [03/06/13 23:29 -0400]:

chromium often freezes my 8.4-stable, necessitating a powercycle.  is this a
configuration issue?  here's what i get w/make showconfig:

=== The following configuration options are available for
chromium-27.0.1453.81:
  CLANG=on: Build Chromium with Clang instead of GCC 4.6+
  CODECS=on: Compile and enable patented codecs like H.264
  DEBUG=off: Install debug symbols
  GCONF=on: GConf configuration backend support
  PULSEAUDIO=off: PulseAudio sound server support

thx for any help you can give me.

david coder


___
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: System Calls that do DNS

2013-06-03 Thread staticsafe
On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote:
 I have an unusual situation.  A program is doing a DNS lookup and often the 
 IP address has no reverse DNS entries.  As a result the program hangs for 
 several timeouts.  The call is not being made directly in its code, but is 
 occurring in a system call.  There are no specific calls to DNS, its 
 something else doing it.  I have been trying to track down which system call 
 is doing it, but without success so far.  I have tried syslog calls around 
 each of the system calls I thought might be the culprit, but my guessing is 
 not very good.  How can I identify the system call that is calling DNS?  If I 
 can find it, I hopefully can find another way to do whatever it does that 
 does not involve a reverse DNS lookup.
 
 

Use truss:
http://www.freebsd.org/cgi/man.cgi?query=truss

The truss utility traces the system calls called by the specified
process or program.
-- 
staticsafe
O ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.
___
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 Calls that do DNS

2013-06-03 Thread Doug Hardie

On 3 June 2013, at 20:39, staticsafe m...@staticsafe.ca wrote:

 On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote:
 I have an unusual situation.  A program is doing a DNS lookup and often the 
 IP address has no reverse DNS entries.  As a result the program hangs for 
 several timeouts.  The call is not being made directly in its code, but is 
 occurring in a system call.  There are no specific calls to DNS, its 
 something else doing it.  I have been trying to track down which system call 
 is doing it, but without success so far.  I have tried syslog calls around 
 each of the system calls I thought might be the culprit, but my guessing is 
 not very good.  How can I identify the system call that is calling DNS?  If 
 I can find it, I hopefully can find another way to do whatever it does that 
 does not involve a reverse DNS lookup.
 
 
 
 Use truss:
 http://www.freebsd.org/cgi/man.cgi?query=truss
 
 The truss utility traces the system calls called by the specified
 process or program.
 -- 
 staticsafe
 O ascii ribbon campaign - stop html mail - www.asciiribbon.org
 Please don't top post - http://goo.gl/YrmAb
 Don't CC me! I'm subscribed to whatever list I just posted on.
 

Unfortunately truss does not show anything more than ktrace.  I know what is 
going out on the internet connection.  Its a plain old reverse DNS request.  
The question is what library module (probably not a system call now that I 
think about it) is making that request.  Interestingly enough, adding the IP 
address with a dummy name in /etc/hosts causes the reverse request to succeed 
and there are no time delays.  So whatever module it is, is not using bind.  
Bind doesn't check the hosts files as far as I can tell.
___
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