WIDE-DHCP

2013-08-13 Thread s m
hello guys,


does any body use WIDE-DHCP? i installed it on my freebsd 8.2 but don't
know how to configure it. i searched a lot but can not find any useful
documentation.

please let me know if some body configure it or have some application about.
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: WIDE-DHCP

2013-08-13 Thread s m
yes, unfortunately it's not well enough for me:((


On Tue, Aug 13, 2013 at 1:32 PM, sth...@nethelp.no wrote:

  It seems that the distribution includes a directory called db_sample
  with some tutorials/examples.
 
  But it also seems that the last release of wide-dhcp is 16 years old...

 And I also strongly doubt that he's going to have any better luck
 with his /8 net.

 Steinar Haug, Nethelp consulting, sth...@nethelp.no

___
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: dhcp server returns core dump when i define network with mask 8

2013-07-23 Thread s m
thanks Frank,

192 is just a sample. if i want to define 125.0.0.0 netmask 255.0.0.0, dhcp
server core dump either. you're right, it is better to use just some
limited addresses to avoid possible troubles. but i want to run my dhcp
server for all possible networks.
now my question is: if i define a network with mask 8, the rang should be
like: 126.0.0.0  126.254.255.255?

and thank you jb but if i define my network like below,  server runs
correctly:
log-facility local7;
subnet 192.168.0.0 netmask 255.255.0.0 {
range 192.168.0.1 192.168.255.255;
}

i think 192.168.255.55 is reserved for broadcast too. is it not true? if
yes, why dhcp server works correctly?
please help me to clear my mind.
regards,
SAM


On Tue, Jul 23, 2013 at 12:56 PM, Frank Leonhardt fra...@fjl.co.uk wrote:

 On 23/07/2013 09:03, jb wrote:

 s m sam.gh1986 at gmail.com writes:

  ...
 subnet 192.0.0.0 netmask 255.0.0.0 {
  range 192.0.0.1 192.255.255.255;

 The 'range' denotes IP addresses that can be allocated to clients.
 The IP 192.255.255.255 is a reserved broadcast address for the network.
 jb



 It's definitely bad idea to try to use it, but it doesn't explain the
 core dump.

 Also, using DHCP to dish out addresses that don't belong to you AND aren't
 on a private network (as defined by IANA) will probably lead to trouble.
 Valid private address ranges are:

 10.0.0.0 - 10.255.255.255 (private class A)
 172.16.0.0 - 172.31.255.255 (private class B x 16)
 192.168.0.0 - 192.168.255.255 (private class C x 256)

 Which block you use is really a matter of taste - classes haven't been
 used in routing for quite a while so you can consider them all as straight
 blocks but I (for one) still treat them as classed just to help me
 visualise what's what. For example, I'll use one class C per site to
 prevent conflicts over VPN.

 192.0.0.0/24 addresses are allocated to real hosts on the wider internet,
 although IIRC some of the lower ones are reserved for use in documentation
 (like example.com) - is that where the idea came from?!? :-)

 Regards, Frank.


 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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


dhcp server returns core dump when i define network with mask 8

2013-07-23 Thread s m
hello all,
i have a question about dhcpd in freebsd8.2 . when i define my network like
below in dhcpd.conf file, server doesn't run correctly and return core
dump
this is my dhcpd.conf file:

ddns-update-style none;
log-facility local7;
subnet 192.0.0.0 netmask 255.0.0.0 {
range 192.0.0.1 192.255.255.255;
}

 i want to define a network with mask 8. is this config wrong? if yes, how
should i define it?

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


does journaling cause DMA-WRITE failure?

2013-07-18 Thread s m
hello all,

i have freebsd8.2 on my system with journaled gpt partitions. occasionally,
i see the below errors in startup and system doesn't boot correctly. if i
restart system, it boot normally and every thing is ok.
these errors are:
ad3: WARNING - WRITE_DMA requeued  due to channel reset LBA=635411
ad3: WARNING - READ_DMA requeued  due to channel reset LBA=635411
ata1: FAILURE - already active DMA on this device
ata1: setting up DMA failed
ad3: WARNING - WRITE_DMA requeued  due to channel reset LBA=635411
ata1: FAILURE - already active DMA on this device

and these errors are shown repeatedly.

i have two question: does journaling cause to happen these errors? and if i
set hw.ata.ata_dma to 0, is it resolve the problem? if yes, has it any side
effect or not?

any comments or hints are really appreciated.
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


find netmask for offered lease in dhclient code

2013-07-15 Thread s m
hello all,
i want to change dhclient code and customize it. in order to do that, i
need to know the netmask for offered ip. i see code and found that struct
client_lease  *offered_leases, keeps information about offered lease such
as ip address but this structure hasn't any field about netmask. i don't
know how i can find the netmak for this offered ip address.

any one has traced dhclient code before? how can i see the netmask for
offered ip?

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: find netmask for offered lease in dhclient code

2013-07-15 Thread s m
thank you so much. it is a hint for me to search more in code. i hope to
find something.


On Mon, Jul 15, 2013 at 2:04 PM, Olivier Nicole olivier2...@gmail.comwrote:

  thanks Olivier, but may i ask you to explain it more? i have seen that
  there is a struct option_data in offered_lease in code but when these
  options set, how can i see the netmask value? where is it kept?

 Well, I am afraid I have no more explanation, I just did a dhcp renew
 while running wireshark and check the contents of the dialog. I could
 see that in the DHCP offer, there is an option field with holds the
 netmask. I did not dig any further.

 Olivier

 
 
  On Mon, Jul 15, 2013 at 1:43 PM, Olivier Nicole 
 olivier.nic...@cs.ait.ac.th
  wrote:
 
  Hi,
 
   i want to change dhclient code and customize it. in order to do that,
 i
   need to know the netmask for offered ip. i see code and found that
 struct
   client_lease  *offered_leases, keeps information about offered lease
 such
   as ip address but this structure hasn't any field about netmask. i
 don't
   know how i can find the netmak for this offered ip address.
 
  According to wireshark, it's in option t=1, l=4
 
  Olivier
 
   any one has traced dhclient code before? how can i see the netmask for
   offered ip?
  
   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
  ___
  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

___
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


prevent ip conflict in dhcp client

2013-07-11 Thread s m
hello all

i have a question about dhcp client. i want to know if there is any way to
understand the ip address which is offered by server before it assigned to
the interface.
i have a freebsd system which one of its interfaces should get ip address
from dhcp server whereas other interfaces have ip addresses and their ip
address change many times. so i want to prevent ip conflict.  is there any
way to prevent ip conflict in this situation?
i think the best way is to know the ip address which is offered by dhcp
server before assigning it to interface  and check if it has conflict with
others or not. is it possible? if yes, how i can do this?

any comments or hints are appreciated.
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: prevent ip conflict in dhcp client

2013-07-11 Thread s m
thanks Eugene,
you're right but i forgot to say that my client acts like a router. i mean
none of interfaces should have ip address in same range (this is conflict
for me). i can manage each interface to get ip address from DHCP or
manually. so one interface may get ip address from dhcp server whereas all
others have ip addresses which are set manually.
for this situation, do you have any ideas to avoid ip conflict?
thanks again for your attention
SAM


On Thu, Jul 11, 2013 at 3:06 PM, Eugene ge...@geniechka.ru wrote:

 Hi Sam,

 Actually I think this is wrong approach. Correctly configured networks
 should be consistent and should not need such 'fixes'. Also you should
 observe the IP provided by upstream DHCP server otherwise it is an
 invitation for trouble (both technical and possibly legal).
 Are the 'other' interfaces in your internal networks? Then you should
 change them to use different address block from that used in your
 provider's network (there are many address blocks for private networks).
 And/or you should talk to your admin and discuss the address policy, maybe
 they can give you a fixed address.

 Best wishes
 Eugene


 -Original Message- From: s m
 Sent: Thursday, July 11, 2013 2:19 PM
 To: freebsd-questions
 Subject: prevent ip conflict in dhcp client


 hello all

 i have a question about dhcp client. i want to know if there is any way to
 understand the ip address which is offered by server before it assigned to
 the interface.
 i have a freebsd system which one of its interfaces should get ip address
 from dhcp server whereas other interfaces have ip addresses and their ip
 address change many times. so i want to prevent ip conflict.  is there any
 way to prevent ip conflict in this situation?
 i think the best way is to know the ip address which is offered by dhcp
 server before assigning it to interface  and check if it has conflict with
 others or not. is it possible? if yes, how i can do this?

 any comments or hints are appreciated.
 thanks in advance
 SAM
 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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


already active DMA on this device FAILURE at startup

2013-06-29 Thread s m
hello all,

i have FreeBSD8.2 on my system. occasionally,  i see some strange errors in
startup and freebsd can not boot correctly. when i reset my system
everything is ok and freebsd boot successfully. these are errors which
appear in statrtup:

ata1: setting up DMA failed
ad3: WARNING - READ_DMA requeued due to channel reset LBA=25167888
ata1: FAILURE - already active DMA on this device

these errors repeat more and more.

i don't know what's wrong in my freebsd. i have used freebsd for several
years and have not seen these errors before.
last few days ago, i set a separate partition for etc. can separate etc
partition cause this problem? how can i solve it to never see these errors
again? (i need a separate partition for etc)

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


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: 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-02 Thread s m
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,
SAM


On Sat, Jun 1, 2013 at 8:23 PM, Carl Johnson ca...@peak.org wrote:

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

  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

 Others have already commented that GPT labels are better, but I think
 that you can have more than 8 partitions.  I remember a posting a while
 back that the maximum had been increased.  You will have to experiment
 if you want to do this, but gpart shows an example that uses 20
 partitions:  '/sbin/gpart create -s BSD -n 20 ada0s1'.  I also don't
 know that bsdlabel will handle these, so you definitely should
 experiment first.
 --
 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

___
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


define more partitions in freebsd

2013-06-01 Thread s m
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
___
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-01 Thread s m
thanks for your reply,

it is a good news if i can define more partitions with gpart. names
are not so important for me. if i can define more partitions with
gpart, are these partitions work correctly? you know i wan to define a
journal partition for each partition on my freebsd. so if i use these
extra partition as journal provider, do they work correctly?

and another question, how can i define more partitions with gpart? i
searched and some people say to use gpart -n 20. do you mean to use
this command too?

and my last question, some people say to change byte 0x28a of the disk
from 0x08 to 0x14 (which 14 is the number of partitions). do you think
it's a good idea and applicable solution?

thanks for your attention

On 6/1/13, Polytropon free...@edvax.de wrote:
 On Sat, 1 Jun 2013 11:10:32 +0430, 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.

 That's correct and expected for the MBR partitioning approach
 (which is considered mostly outdated today).



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

 Because you _cannot_ define more partitions than up to 'h'.
 This is a hard-defined limit of MBR-style partitions (as
 they are initialized with bsdlabel).



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

 You cannot. You need to use the GPT partitioning approach
 and repartition your disk. With gpart, you can create more
 than 'h' partitions, but the partitions will have different
 names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ...
 and so on.




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


Re: define more partitions in freebsd

2013-06-01 Thread s m
thanks Robert,

so i just have one choice: gpart. do you know how to use it? i define
ad3 and ad3s1; after that i run this command: gpart create -s mbr -n
20 ad3s1. but this error happens: GEOM: file exists.
after that i do it again in different way: i create ad3 and after that
run the above command but it says: invalid argument ad3s1. i think
because there is no ad3s1!!!

now how can i use -n flag to set entries number for my partitioning???

you know it is so important for me :(( any comments or hints are
really appreciated.
SAM

On 6/1/13, Robert Huff roberth...@rcn.com wrote:

 s m writes:


  and my last question, some people say to change byte 0x28a of the
  disk from 0x08 to 0x14 (which 14 is the number of partitions). do
  you think it's a good idea and applicable solution?

   Short answer: if you have to ask - no, it isn't.
   :-)
   Respectfully,


   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

___
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


freebsd8.2 with /etc mount point can't run correctly

2013-05-28 Thread s m
hello all,

i want to install freebsd8.2 with different partitions. i want to have
a separated partition for /etc. therefore this is my partitions: / ,
/var, /etc. /tmp, /usr, swap.

but after installing, freebsd can not run correctly and have problem
with fstab. i checked my fstab file (fstab file in /etc partition) and
every thing is ok. i think i should do something in order to use fstab
file in different mount point. is it true? what should i do to have a
freebsd with a separate /etc mount point?

any comments are appreciated.
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: swap partition leads to instability?

2013-05-27 Thread M. V.
jb jb.1234abcd at gmail.com writes:

 M. V. bored_to_death85 at yahoo.com writes:

 recently I heard from a FreeBSD expert that I shouldn't have
 swap partition for my server, and having swap partition could
 make my server unstable. 

 I think your FB expert was up to something. I bet he spoke out
 of experience.
 
 Swapping by itself can decrease system reliability due to possible
 data corruption on swap disk or during two-way transfers, with 

 subsequent incorrect RAM and machine crash.

 But, swapping is also a symptom, not a problem.
 It is never a good idea to let it get to that point.
...

 http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/


Very interesting point.
- do you think this could hurt my server's stability too? (most of its work is 
a noticeable amount of packet-forwarding, and other network services, like 
firewall, dhcp server, ntp server, etc)
- if so, in what conditions? can I do something to prevent this? or should I 
just get rid of the swap partition?

- does swap partition do any good for me at all? I mean if we even suppose 
nothing bad happens because of it, is it worth risking to keep it? 


thank you.
___
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


swap partition leads to instability?

2013-05-26 Thread M. V.
hi everyone,

I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. it's 
partitioned as normal (/ , /tmp, /var , /usr and swap) for a long time now. But 
recently I heard from a FreeBSD expert that I shouldn't have swap partition for 
my server, and having swap partition could make my server unstable. this was so 
strange for me, and I searched a lot but couldn't find a reason for this claim.


so my question is simple:
- could having a swap partition, be a bad thing for my FreeBSD server? and if 
so, why and in what conditions?


Cheers!
___
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-05-24 Thread s m
thanks Warren, you're right but i want to set journaling in fixit
mode in fixit mode none of my partitions are mounted (mount
command show no partition) but geom returns error yet.

is there any way to tell geom that my partitions are unmounted?

On 5/23/13, Warren Block wbl...@wonkity.com wrote:
 On Thu, 23 May 2013, Torsten Hantzsche wrote:

 On Thu, 23 May 2013, s m wrote:


 thanks,

 i do as you said, but after loading gjournal, dd says operation not
 permitted.
 gjournal clear says operation not permitted too and therefore
 gjournal
 label is not done and say previous error (gjournal cannot clear
 metadata
 on ad3s1a: operation not permitted). and -v return no extra log.

 i don't know why i can not do any thing in fixit mode:(

 is this a true procedure? i mean maybe i should do any thing else
 because
 freebsd handbook set journaling for user partition in single user mode
 not
 in fixit mode. i test it and it works well, but for root partition i can
 not do the same because root partition can not be unmount in single user
 mode.

 any hints or comments are really appreciated.
 thanks in advance


 Hi,

 i remember having similar error messages with glabel some years ago.
 The solution was found in man 4 geom in section DIAGNOSTICS:

 I had to set kern.geom.debugflags=0x10 to enable the foot shooting
 mode.

 Maybe this could help you too?

 For certain values of help. :)

 If geom won't let you write to part of a disk, it's because it thinks
 that part of the disk is already in use, usually by a mounted
 filesystem.  Overwriting part of a filesystem is not guaranteed to lose
 data.  But why take the chance?

 Better to boot from mfsBSD (http://mfsbsd.vx.sk/).  Possibly better yet
 to use SUJ, which can be enabled with tunefs with the root partition
 mounted read-only in single user mode.  SUJ has its own problems,
 though.
 ___
 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: setup journaling for root partition

2013-05-23 Thread s m
thanks,

i do as you said, but after loading gjournal, dd says operation not
permitted.
gjournal clear says operation not permitted too and therefore gjournal
label is not done and say previous error (gjournal cannot clear metadata
on ad3s1a: operation not permitted). and -v return no extra log.

i don't know why i can not do any thing in fixit mode:(

is this a true procedure? i mean maybe i should do any thing else  because
freebsd handbook set journaling for user partition in single user mode not
in fixit mode. i test it and it works well, but for root partition i can
not do the same because root partition can not be unmount in single user
mode.

any hints or comments are really appreciated.
thanks in advance



On Thu, May 23, 2013 at 10:41 AM, Michael Sierchio ku...@tenebras.comwrote:


 On Wed, May 22, 2013 at 10:53 PM, s m sam.gh1...@gmail.com wrote:

 thanks Michael for your quick reply:)
 yes, i can boot from usb freebsd flash and use fixit mode.
 i have root, var, tmp, usr and swap on my system. i create an extra swap
 partition to use it as journal provider for root partition.

 in fixit mode, first i run two below command in order to abel load
 gjournal:

 ln -s /dist/lib /lib
 ls -s /dist/boot/kernel /boot/modules

 then
 gjournal load

 and after that: gjournal label -f ad3s1a ad3s1g (ad3s1a is root
 partition and ad3s1g is swap partition for journal provider)

 but this error is shown:
 gjournal cannot clear metadata on ad3s1a: operation not permitted
 what is wrong here??? i really don't know how to fix it:


 Try using -v to get more verbose output.  I am at a loss here, too.
  Perhaps you can try

 gjournal load
 dd if=/dev/zero of=/dev/ad3s1g bs=1m
 gjournal clear -v ad3s1a
 gjournal label -vf ad3s1a ad3s1g

 and see what it says, if anything.


___
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-05-23 Thread s m
thanks Torsten but it can't help me:((

and RW, yes i can boot to single user mode, but i can't do anything
there!!! i mean when i run command gjournal label -f ad3s1a ad3s1g some
errors returned and all my partition disappear!!

what do you do if you want to set a journal partition for your root
partition? can you tell me step by step to compare it with my steps?

i really don't know how to set a journal partition for my root:(( i think
it is so simple but it make me busy more than a week:(


On Thu, May 23, 2013 at 3:34 PM, RW rwmailli...@googlemail.com wrote:

 On Thu, 23 May 2013 09:57:50 +0430
 s m wrote:


  my problem is, i can not run gjournal command for root partition in
  fixit mode nor single user mode.

 Just to check, you did boot into single user mode rather than shut-down
 into single user mode?
 ___
 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: setup journaling for root partition

2013-05-22 Thread s m
thanks Michael, but in all documentation about journaling, tunefs is used
as below: tunefs -J enable ad3s1X.journal. ad3s1X.journal is created by
gjournal command: gjournal label ad3s1a ad3s1g that assign ad3s1g as
journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a
as data provider and ad3s1g as journal provider.

my problem is, i can not run gjournal command for root partition in fixit
mode nor single user mode. you mean, i should just use tunefs command on
ad3s1X (root partition)? if yes, then where journal provider for root
partition is located? in root partition?


On Wed, May 22, 2013 at 10:23 AM, Michael Sierchio ku...@tenebras.comwrote:



 On Tue, May 21, 2013 at 10:14 PM, s m sam.gh1...@gmail.com wrote:

 thanks guys for your attentions.

 i want to setup journaling in FreeBSD 8.2. i compare soft-update and
 journaling and choose journaling (it is more suitable for my goals).

 i want to enable journaling for all my partitions. i can do it for all
 partitions except root in single user mode. i can not do it for root
 because i can not unmount root in single user mode.


 No, but you don't need to.  In single user mode, root is mounted
 read-only.  You can run tunefs on the root fs device.

 - 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: setup journaling for root partition

2013-05-22 Thread s m
thanks Michael for your quick reply:)
yes, i can boot from usb freebsd flash and use fixit mode.
i have root, var, tmp, usr and swap on my system. i create an extra swap
partition to use it as journal provider for root partition.

in fixit mode, first i run two below command in order to abel load gjournal:

ln -s /dist/lib /lib
ls -s /dist/boot/kernel /boot/modules

then
gjournal load

and after that: gjournal label -f ad3s1a ad3s1g (ad3s1a is root partition
and ad3s1g is swap partition for journal provider)

but this error is shown:
gjournal cannot clear metadata on ad3s1a: operation not permitted
what is wrong here??? i really don't know how to fix it:



On Thu, May 23, 2013 at 10:12 AM, Michael Sierchio ku...@tenebras.comwrote:


 On Wed, May 22, 2013 at 10:27 PM, s m sam.gh1...@gmail.com wrote:

 thanks Michael, but in all documentation about journaling, tunefs is used
 as below: tunefs -J enable ad3s1X.journal. ad3s1X.journal is created by
 gjournal command: gjournal label ad3s1a ad3s1g that assign ad3s1g as
 journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a
 as data provider and ad3s1g as journal provider.

 my problem is, i can not run gjournal command for root partition in fixit
 mode nor single user mode. you mean, i should just use tunefs command on
 ad3s1X (root partition)? if yes, then where journal provider for root
 partition is located? in root partition?


 Ah, sorry -  lack of careful reading on my part.  Can you boot from
 installation media and use the fixit mode?  This still won't work if the
 last sector of the partition is in use by the filesystem  You'll need a
 spare partition of some size to be the journal provider, as in the example.

 The very best approach is to create a gjournal and then newfs.  How is
 your disk organized?  One big root partition with everything on it?

 - 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


setup journaling for root partition

2013-05-21 Thread s m
hello everybody

i want to setup a journal partition for my root partition. but i do not
know how to do that. in FreeBSD handbook, it is done in single user mode,
unmount the desired partition and assign the journal partition to it. i
test this procedure and it is done for /usr partition but for root
partition, it can not be unmount in single user mode.

i try to do it in fixiit mode, but i can not load gjournal.

do i use gpart to partitioning my system and enable journaling for root
partition? isn't there any way to setup journaling for my existing root
partition? which command should be used (or is better to used) to enable
journaling? tunefs, gjournal or newfs?

please help me to setup a journal partition for my root.
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: setup journaling for root partition

2013-05-21 Thread s m
thanks Michael

this is what i've done (based on the FreeBSD handbook): creating a
partition for journal, go to single user mode, unmount desired partition
(for example /usr), load gjournal, add journal partition to /usr partition.
this procedure works well for user and other partitions except root because
i can not unmount it.

should i set up journaling in fixit mode with gpart? how? i try different
ways but none of them work for me:((



On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio ku...@tenebras.comwrote:


 On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com wrote:

 hello everybody

 i want to setup a journal partition for my root partition. but i do not
 know how to do that. in FreeBSD handbook, it is done in single user mode,
 unmount the desired partition and assign the journal partition to it. i
 test this procedure and it is done for /usr partition but for root
 partition, it can not be unmount in single user mode.


 See the man page on gjournal

  To configure journaling on the UFS file system using gjournal, one
 should
  first create a gjournal provider using the gjournal utility, then run
  newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to
 coop-
  erate with the gjournal provider below.



___
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-05-21 Thread s m
you mean that journaling is enabled by default i don't think so. i
think i misunderstanding. may i ask you to explain it more clear?


On Tue, May 21, 2013 at 2:09 PM, Julien Cigar jci...@ulb.ac.be wrote:

 gjournal should not be used anymore as it has been implemented in the file
 system code ...


 On 05/21/2013 11:24, s m wrote:

 thanks Michael

 this is what i've done (based on the FreeBSD handbook): creating a
 partition for journal, go to single user mode, unmount desired partition
 (for example /usr), load gjournal, add journal partition to /usr
 partition.
 this procedure works well for user and other partitions except root
 because
 i can not unmount it.

 should i set up journaling in fixit mode with gpart? how? i try different
 ways but none of them work for me:((



 On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio ku...@tenebras.com
 wrote:

  On Mon, May 20, 2013 at 10:59 PM, s m sam.gh1...@gmail.com wrote:

  hello everybody

 i want to setup a journal partition for my root partition. but i do not
 know how to do that. in FreeBSD handbook, it is done in single user
 mode,
 unmount the desired partition and assign the journal partition to it. i
 test this procedure and it is done for /usr partition but for root
 partition, it can not be unmount in single user mode.


  See the man page on gjournal

   To configure journaling on the UFS file system using gjournal, one
 should
   first create a gjournal provider using the gjournal utility, then
 run
   newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to
 coop-
   erate with the gjournal provider below.



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



 --
 No trees were killed in the creation of this message.
 However, many electrons were terribly inconvenienced.

 __**_
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/**mailman/listinfo/freebsd-**questionshttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-**
 unsubscr...@freebsd.org 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: setup journaling for root partition

2013-05-21 Thread s m
thanks guys for your attentions.

i want to setup journaling in FreeBSD 8.2. i compare soft-update and
journaling and choose journaling (it is more suitable for my goals).

i want to enable journaling for all my partitions. i can do it for all
partitions except root in single user mode. i can not do it for root
because i can not unmount root in single user mode.
please let me know how set a journal provider for my root partition in
FreeBSD 8.2.
thank you so much


On Tue, May 21, 2013 at 9:38 PM, Michael Sierchio ku...@tenebras.comwrote:

 On Tue, May 21, 2013 at 8:20 AM, Warren Block wbl...@wonkity.com wrote:

 On Tue, 21 May 2013, Arthur Chance wrote:
 
   On 05/21/13 15:46, Michael Sierchio 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.
 
 
  Good point, I'd forgotten that problem as I don't use UFS snapshots. I
  can imagine it would be a killer for some people.
 
 
  It is, especially if you use dump/restore.
 

 Or tarsnap (which is what we use for backups here), or... there are many
 use cases for snapshots.

 - 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

___
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: restore /usr dump on two hard disk parallel y

2013-04-30 Thread s m
thanks Lowell for your reply,

i want to restore my /usr dump on both of my disks (each one has /usr
partition separately).

i try to use TMPDIR in order to prevent this conflict, but restore does not
identify it and use my /tmp dir yet. this is what i do:
first, i create a tmp1 directory in /tmp directory and set its permission
to 777
second, i mount tmp1 into my hard disk number 1

i do these two steps for my hard disk number 2 (create tmp2 in tmp and
mount it to hard disk number 2)

moreover, this is my restore command:

TMPDIR=/tmp/tmp2
restore rf /mnt/dumps/zrdump_usr.dump  TMPDIR

man page for restore command said: if you use -r option, it uses tmp files
with unique name in /tmp directory. as you see, i am using -r in my restore
command but conflict happens yet.
please let me know how to use TMPDIR or any other solution to avoid
conflict in /tmp directory.
thanks in advance
sam



On Wed, Apr 24, 2013 at 4:46 PM, Lowell Gilbert 
freebsd-questions-lo...@be-well.ilk.org wrote:

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

  i'm trying to restore DUMP file for partition /usr on tow hard disk
  parallel y. these two hard are connected to my system (i have
 freebsd8.2).
  i use  restore command and it uses /tmp directory to restore dump. in
  restoring dump process, two hard disks try to use /tmp directory of my
  system. therefore conflict happened and restore command return error.
  i try to use TMPDIR and define another tmp directory for one of my hard
  disk but it does not identify it and use my system tmp directory yet.
  please let me know if using TMPDIR is a good idea and how i can use it.
 if
  not, how i can restore /usr dump file on two hard disk parallel y?

 What do you want to do exactly?

 Do you want both disks together to be your new /usr/partition? In that
 case, you want to set up some kind of RAID system with the two
 disks. Start with the GEOM section in the handbook.

 Do you want to end up with two partitions, each holding part of what the
 /usr backup contains?  If that's what you're after, then the best
 approach is probably to pick one subdirectory of /usr (/usr/local would
 be an obvious choice) and restore everything *but* that to one of your
 disks, then mount the other disk on the subdirectory and restore the
 rest onto there.

 If your problem is just that the two restore operations are stepping on
 each other's temporary files, then TMPDIR *should* take care of
 that. You could show us more detail of how you run the restore
 operations, or just run them one at a time instead of in parallel.

 I hope that helps.

___
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


restore /usr dump on two hard disk parallel y

2013-04-24 Thread s m
hello guys
i'm trying to restore DUMP file for partition /usr on tow hard disk
parallel y. these two hard are connected to my system (i have freebsd8.2).
i use  restore command and it uses /tmp directory to restore dump. in
restoring dump process, two hard disks try to use /tmp directory of my
system. therefore conflict happened and restore command return error.
i try to use TMPDIR and define another tmp directory for one of my hard
disk but it does not identify it and use my system tmp directory yet.
please let me know if using TMPDIR is a good idea and how i can use it. if
not, how i can restore /usr dump file on two hard disk parallel y?
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: Fwd: how access inside from outside when nat is done from inside to outside

2013-04-16 Thread s m
thanks Danny, but i'm using pf to define rules and pfctl to apply them.

first of all it is so important for me to understand what should
exactly happen and what is the correct behavior in freebsd. i mean
when i define nat from inside to outside, should outside system can
access inside systems or not? (for example ping them).
i am so confused what is the correct manner. any hints or comments
that help to clear it for me, is really appreciated.
SAM

On 4/4/13, Daniel O'Callaghan da...@clari.net.au wrote:
 On 4/04/2013 6:41 PM, s m wrote:
 request packets:   src:192.168.2.1 dst: 192.168.1.1
 reply packets:   src: 192.168.2.50 dst:192.168.2.1
 This sort of thing tends to happen when the the packets are not being
 sent via divert socket properly.
 Look carefully, step by step, at your ipfw rules which send packets to
 natd.
 Also, run natd -v in a separate window instead of running it as a
 daemon, and it will show you the packets which go through natd, and what
 is done with them.

 regards,

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


Fwd: how access inside from outside when nat is done from inside to outside

2013-04-04 Thread s m
hello guys

i am newbie in nat and have some problem with it.

  i want to nat inside traffic to outside and when i ping outside from
inside, every thing is ok and nat is done perfectly. but when i ping inside
from outside, request packets are sent without any nat translation while
reply packets are nated and therefore outside system can not recognize
reply packets and do not accept them. this is example of packets which are
received in a outside system when pings an inside system.

request packets:   src:192.168.2.1 dst: 192.168.1.1
reply packets:   src: 192.168.2.50 dst:192.168.2.1

is it a correct behavior or not? and if it is correct, it means that when i
configure to nat traffic from inside to outside, i can not access from
outside to inside systems? (in cisco router packets are exactly as mention
above, but outside system identifies reply packets and therefore accepts
them).

please let me know if i am misunderstanding.
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: how run snort in quiet and deamon mode

2013-03-18 Thread s m
great!! snort -q  runs snort in daemon and silent mode as i expected:)

thank you so much

On 3/17/13, Polytropon free...@edvax.de wrote:
 On Sun, 17 Mar 2013 12:15:53 +0330, s m wrote:
 hello guys

 i have a freebsd8.2 and wanna run snort on it. my snort version is
 2.9.3.1. i want to run snort in deamon mode and quietly. man page says
 that D flag is for running snort in deamon mode and q flag is to
 run it quietly(do not show startup message). my problem is, these two
 flag can not work together. when i run snort -q -D or snort -D -q,
 snort run in deamon mode but some startup messages are shown. when i
 run snort -q no message is shown.

 i know it is so simple issue but i do not know how to do that. any
 hints or comments are appreciated.

 Maybe you can start the program as a (quite) background process?

   snort -q 

 If you encounter issues related to controlling terminal disconnect,
 you can use the system's daemon command to basically do what -D
 would do, or use the port detach.

   daemon snort -q

 See man daemon for options you might need to add.



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


how run snort in quiet and deamon mode

2013-03-17 Thread s m
hello guys

i have a freebsd8.2 and wanna run snort on it. my snort version is
2.9.3.1. i want to run snort in deamon mode and quietly. man page says
that D flag is for running snort in deamon mode and q flag is to
run it quietly(do not show startup message). my problem is, these two
flag can not work together. when i run snort -q -D or snort -D -q,
snort run in deamon mode but some startup messages are shown. when i
run snort -q no message is shown.

i know it is so simple issue but i do not know how to do that. any
hints or comments are appreciated.
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: Tuning ZFS ARC for 512GB Memory

2013-03-05 Thread Gezeala M . Bacuño II
Try to read through the email thread I have started and specifically posts
(replies) by alc:

http://lists.freebsd.org/pipermail/freebsd-performance/2012-August/thread.html#4640

I have followed his suggestions, and with the arc_max setting I used we
still have on average free RAM ~137GB.

HTH.




On Tue, Mar 5, 2013 at 6:36 PM, Reed A. Cartwright cartwri...@asu.eduwrote:

 I have a 512GB memory system that has a 480GB (or so) L2ARC, and a
 raidz2 storage pool.  No dedup or compression is enabled.  Although, I
 will enable compression in the future.

 By default vfs.zfs.arc_max is about 300GB and the L2ARC is hardly touched.

 I've seen a couple hints recently on the mailing lists that having too
 big of an ARC can be a performance hit because it takes a long time to
 inspect it when something needs to integrate over the entries.

 I've also had issues with running 9.1 on this machine due to zfs
 deadlocks or stalls and am currently stuck using 9.0 with no issue.

 So, I was wondering if shrinking the ARC would potentially help and
 what should I shrink it to?

 I am thinking about setting vfs.zfs.arc_max to 64GB.

 Does anyone have an opinion?


 --
 Reed A. Cartwright, PhD
 Assistant Professor of Genomics, Evolution, and Bioinformatics
 School of Life Sciences
 Center for Evolutionary Medicine and Informatics
 The Biodesign Institute
 Arizona State University
 ___
 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


hast, zfs, unable to flush disk cache

2013-03-01 Thread Chad M Stewart

I've setup a 2 node cluster using HAST.  I'd previously had this running 9.0 
and then rebuilt the nodes using 9.1.  Under 9.0 I used 
vfs.zfs.vdev.bio_flush_disable=1 but that setting does not appear to work in 
9.1.  The other difference, previous build had root disk on UFS, while this 
build has only ZFS based file systems.


FreeBSD node1.san 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243826: Tue Dec  4 
06:55:39 UTC 2012 r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  
i386


Mar  1 17:07:25 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache 
on activemap update: Operation not supported by device.
Mar  1 17:07:28 node1 hastd[1440]: [disk3] (primary) Unable to flush disk cache 
on activemap update: Operation not supported by device.
Mar  1 17:07:28 node1 hastd[1437]: [disk2] (primary) Unable to flush disk cache 
on activemap update: Operation not supported by device.
Mar  1 17:07:28 node1 hastd[1434]: [disk1] (primary) Unable to flush disk cache 
on activemap update: Operation not supported by device.
Mar  1 17:07:28 node1 hastd[1446]: [disk5] (primary) Unable to flush disk cache 
on activemap update: Operation not supported by device.
Mar  1 17:07:28 node1 hastd[1443]: [disk4] (primary) Unable to flush disk cache 
on activemap update: Operation not supported by device.


I tried setting zfs set zfs:zfs_nocacheflush=1 pool but that diddn't appear 
to work either.  I get a lot of lines in my log file because of this.  I have 
also tried  zfs set sync=disabled pool but HAST still outputs those lines in 
the log file.

Any suggestions?


Thank you,
Chad

___
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: hast, zfs, unable to flush disk cache

2013-03-01 Thread Chad M Stewart

On Mar 1, 2013, at 2:25 PM, Mikolaj Golub wrote:

 What device do you have?

Its an older HP GL380 server, I think.   dmesg below, if you need output from 
something else I'm willing to provide.

Copyright (c) 1992-2012 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-RELEASE #0 r243826: Tue Dec  4 06:55:39 UTC 2012
r...@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2784.59-MHz 686-class CPU)
  Origin = GenuineIntel  Id = 0xf27  Family = f  Model = 2  Stepping = 7
  
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=0x4400CNXT-ID,xTPR
real memory  = 3221225472 (3072 MB)
avail memory = 3136851968 (2991 MB)
Event timer LAPIC quality 400
ACPI APIC Table: COMPAQ 0083
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP/HT): APIC ID:  7
ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16 
(20110527/tbfadt-638)
ACPI Warning: Invalid length for Pm1bControlBlock: 32, using default 16 
(20110527/tbfadt-638)
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 Version 1.1 irqs 0-15 on motherboard
ioapic1 Version 1.1 irqs 16-31 on motherboard
ioapic2 Version 1.1 irqs 32-47 on motherboard
ioapic3 Version 1.1 irqs 48-63 on motherboard
kbd1 at kbdmux0
acpi0: COMPAQ P29 on motherboard
acpi0: Power Button (fixed)
cpu0: ACPI CPU on acpi0
cpu1: ACPI CPU on acpi0
cpu2: ACPI CPU on acpi0
cpu3: ACPI CPU on acpi0
attimer0: AT timer port 0x40-0x43 irq 0 on acpi0
Timecounter i8254 frequency 1193182 Hz quality 0
Event timer i8254 frequency 1193182 Hz quality 100
Timecounter ACPI-fast frequency 3579545 Hz quality 900
acpi_timer0: 32-bit timer at 3.579545MHz port 0x920-0x923 on acpi0
pcib0: ACPI Host-PCI bridge on acpi0
pcib0: Length mismatch for 4 range: 2900 vs 28ff
pci0: ACPI PCI bus on pcib0
vgapci0: VGA-compatible display port 0x2400-0x24ff mem 
0xf100-0xf1ff,0xf0ff-0xf0ff0fff at device 3.0 on pci0
pci0: base peripheral at device 4.0 (no driver attached)
pci0: base peripheral at device 4.2 (no driver attached)
isab0: PCI-ISA bridge at device 15.0 on pci0
isa0: ISA bus on isab0
atapci0: ServerWorks CSB5 UDMA100 controller port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0
ata0: ATA channel at channel 0 on atapci0
ata1: ATA channel at channel 1 on atapci0
ohci0: OHCI (generic) USB controller mem 0xf0ef-0xf0ef0fff irq 7 at 
device 15.2 on pci0
usbus0 on ohci0
pcib1: ACPI Host-PCI bridge on acpi0
pcib1: Length mismatch for 4 range: 100 vs ff
pci1: ACPI PCI bus on pcib1
ciss0: Compaq Smart Array 5i port 0x3000-0x30ff mem 
0xf2cc-0xf2cf,0xf2bf-0xf2bf3fff irq 30 at device 3.0 on pci1
ciss0: PERFORMANT Transport
pcib2: ACPI Host-PCI bridge on acpi0
pci2: ACPI PCI bus on pcib2
bge0: Compaq NC7781 Gigabit Server Adapter, ASIC rev. 0x001002 mem 
0xf2df-0xf2df irq 29 at device 1.0 on pci2
bge0: CHIP ID 0x1002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz
miibus0: MII bus on bge0
brgphy0: BCM5703 1000BASE-T media interface PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge0: Ethernet address: 00:0b:cd:3c:fe:7f
bge1: Compaq NC7781 Gigabit Server Adapter, ASIC rev. 0x001002 mem 
0xf2de-0xf2de irq 31 at device 2.0 on pci2
bge1: CHIP ID 0x1002; ASIC REV 0x01; CHIP REV 0x10; PCI-X 100 MHz
miibus1: MII bus on bge1
brgphy1: BCM5703 1000BASE-T media interface PHY 1 on miibus1
brgphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge1: Ethernet address: 00:0b:cd:3c:fe:7e
pcib3: ACPI Host-PCI bridge on acpi0
pci3: ACPI PCI bus on pcib3
pcib4: ACPI Host-PCI bridge on acpi0
pcib4: Length mismatch for 4 range: 2000 vs 1fff
pci6: ACPI PCI bus on pcib4
bge2: Compaq NC7770 Gigabit Server Adapter, ASIC rev. 0x000105 mem 
0xf7ff-0xf7ff irq 26 at device 2.0 on pci6
bge2: CHIP ID 0x0105; ASIC REV 0x00; CHIP REV 0x01; PCI-X 33 MHz
miibus2: MII bus on bge2
brgphy2: BCM5701 1000BASE-T media interface PHY 1 on miibus2
brgphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow
bge2: Ethernet address: 00:0b:cd:52:66:f1
pci6: base peripheral, PCI hot-plug controller at device 30.0 (no driver 
attached)
acpi_tz0: Thermal Zone on acpi0
atkbdc0: Keyboard controller (i8042) port 0x60,0x64 irq 1 on acpi0
atkbd0: AT Keyboard irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
uart0: 16550 or 

Re: SPAM: Re: ZFS root, error 2 when mounting root

2013-02-26 Thread Chad M Stewart

I've been down this road recently with 9.1-release.  I ended up adding these 
lines to end of my script


## The next two are hacks in my book, without the last line, on reboot
## it gets stuck trying to find zfs:zroot/ROOT, but somehow the -f or reboot 
fixes
# this quirk
zpool export zroot
zpool import -f zroot
reboot

Without the altroot it replaces the live CD mounts, and basically renders the 
system pointless, except that it works on reboot.  :)   I tried all sorts of 
other ways to make it work, mounting zroot and specifying a cache file, then cp 
the file over, etc., nothing I did worked except the above.  There is probably 
a cleaner/better way but I was not able to find it.


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


backspace shows ^? in serial communication

2013-02-26 Thread s m
hello all,

i have problem with backspace in freebsd 8.2. when i run a serial program to 
communicate via a serial port to the other system, backspace shows ^? in opened 
terminal. 
i use termios and fcntl to open, read, write and close serial port. i set erase 
and erase2 for ttyu2(my serial port) but backspace shows ^? yet.

any body knows what i'm doing wrong? just erase and erase2 should be set to 
backspace works correctly or any other options should be set?

any hints or comments are really appreciated.
nada
___
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


HAST - detect failure and restore avoiding an outage?

2013-02-20 Thread Chad M Stewart

I built a 2 node cluster for testing HAST out.  Each node is an older HP server 
with 6 scsi disks.  Each disk is configured as RAID 0 in the raid controller, I 
wanted a JBOD to be presented to FreeBSD 9.1 x86.  I allocated a single disk 
for the OS, and the other 5 disks for HAST.

node2# zpool status
  pool: scsi-san
 state: ONLINE
  scan: scrub repaired 0 in 0h27m with 0 errors on Tue Feb 19 17:38:55 2013
config:

NAMESTATE READ WRITE CKSUM
scsi-sanONLINE   0 0 0
  raidz1-0  ONLINE   0 0 0
hast/disk1  ONLINE   0 0 0
hast/disk2  ONLINE   0 0 0
hast/disk3  ONLINE   0 0 0
hast/disk4  ONLINE   0 0 0
hast/disk5  ONLINE   0 0 0


  pool: zroot
 state: ONLINE
  scan: none requested
config:

NAME STATE READ WRITE CKSUM
zrootONLINE   0 0 0
  gpt/disk0  ONLINE   0 0 0



Yesterday I physically pulled disk2 (from node1) out to simulate a failure.  
ZFS didn't see anything wrong, expected.  hastd did see the problem, expected.  
'hastctl status' didn't show me anything unusual or indicate any problem that I 
could see on either node.  I saw hastd reporting problems in the logs, 
otherwise everything looked fine.  Is there a way to detect a failed disk from 
hastd besides the log?  camcontrol showed the disk had failed and obviously 
I'll be monitoring using it as well.


For recovery I installed a new disk in the same slot.  To protect the data 
reliability the safest way I can think of to recover is to do the following:

1 - node1 - stop the apps
2 - node1 - export pool
3 - node1 - hastctl create disk2
4 - node1 - for D in 1 2 3 4 5; do hastctl role secondary;done
5 - node2 - for D in 1 2 3 4 5; do hastctl role primary;done
6 - node2 - import pool
7 - node2 - start the apps

At step 5 the hastd will start to resynchronize node2:disk2 - node1:disk2.  
I've been trying to think of a way to re-establish the mirror without having to 
restart/move the pool _and_ not pose additional risk of data loss.

To avoid an application outage I suppose the following would work:

1 - insert new disk in node1
2 - hastctl role init disk2
3 - hastctl create disk2
4 - hastctl role primary disk2

At that point ZFS would have seen a disk failure and then started resilvering 
the pool. No application outage, but now only 4 disks contain the data 
(assuming changing bits on the pool, not static content).  Using the previous 
steps application outage, but a healthy pool is maintained always.

Is there another scenario I'm thinking of where both data health and no 
application outage could be achieved?


Regards,
Chad

___
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: backspace shows ^? in serial communications

2013-02-11 Thread s m
thanks Robert,
i try it before but nothing happened.
do you know how i can set erase and erase2 for stty via termios structure?
and what should be their value to backspace correct well?

On Wed, Feb 6, 2013 at 3:13 PM, Robert Bonomi bon...@mail.r-bonomi.comwrote:

  From owner-freebsd-questi...@freebsd.org  Wed Feb  6 00:19:04 2013
  Date: Wed, 6 Feb 2013 09:44:37 +0330
  Subject: backspace shows ^? in serial communications
  From: s m sam.gh1...@gmail.com
  To: freebsd-questions freebsd-questions@freebsd.org
 
  hi all
 
  i have a problem with backspace in serial communications. i have a
  freebsd8.2 box with a serial card on it. when i connect to other freebsd
  box via serial port backspace does not act as i expected. backspace shows
  ^? on screen. i searched alot and find out that stty has two parameters
  -erase and erase2- to identify erase characters in terminal and they
 should
  be set correctly. i set erase and erase2 to ^? by stty erase \^? and
  stty erase2 \^? commands but nothing happened.
  please let me know how i can fix it. i know it is simple issue but i
 really
  do not know how to do that.

   stty erase {press the backspace key}

 Then hit the enter/return key

___
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: backspace shows ^? in serial communications

2013-02-06 Thread s m
thanks for your answer.
you know, i have a freebsd box (something like router) which i connect to
it by putty or other terminal programs (cu,...). this router has a serial
card and i have a c program to open and manage serial ports. now when i run
this c program and connect to the third freebsd box, backspace shows ^?.
now i don't know where is problem and for which system terminal settings
should be checked.
from you explanation i think that i should check serial settings in c
program in the router box. am i right?
please let me know what should i do to this program (c program in router
box) show backspace correctly when i connect by different serial programs
to router box and run it.

thanks

On Wed, Feb 6, 2013 at 10:20 AM, Polytropon free...@edvax.de wrote:

 On Wed, 6 Feb 2013 09:44:37 +0330, s m wrote:
  hi all
 
  i have a problem with backspace in serial communications. i have a
  freebsd8.2 box with a serial card on it. when i connect to other freebsd
  box via serial port backspace does not act as i expected. backspace shows
  ^? on screen. i searched alot and find out that stty has two parameters
  -erase and erase2- to identify erase characters in terminal and they
 should
  be set correctly. i set erase and erase2 to ^? by stty erase \^? and
  stty erase2 \^? commands but nothing happened.
  please let me know how i can fix it. i know it is simple issue but i
 really
  do not know how to do that.

 If I remember correctly, ^? is delete, ^H is backspace. You
 should check your terminal emulator if it outputs ^? instead
 of ^H when you press the backspace key.

 FreeBSD's default configuration handles keys correctly (if
 you have the proper terminal emulation set, e. g. vt100 or
 vt220 for your serial line), so there's probably something
 wrong with the settings of the terminal program you're using.

 For comparison:

 % echo $TERM
 xterm
 % stty -a
 speed 9600 baud; 24 rows; 80 columns;
 lflags: icanon isig iexten echo echoe echok echoke -echonl echoctl
 -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
 -extproc
 iflags: -istrip icrnl -inlcr -igncr ixon -ixoff -ixany -imaxbel -ignbrk
 -brkint -inpck -ignpar -parmrk
 oflags: opost onlcr -ocrnl tab3 -onocr -onlret
 cflags: cread cs8 parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
 -dtrflow -mdmbuf
 cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
 eol2 = undef; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
 lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
 status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

 And:

 % echo $TERM
 cons25l1
 % stty -a
 speed 9600 baud; 25 rows; 80 columns;
 lflags: icanon isig iexten echo echoe -echok echoke -echonl echoctl
 -echoprt -altwerase -noflsh -tostop -flusho -pendin -nokerninfo
 -extproc
 iflags: -istrip icrnl -inlcr -igncr ixon -ixoff ixany imaxbel -ignbrk
 brkint -inpck -ignpar -parmrk
 oflags: opost onlcr -ocrnl tab0 -onocr -onlret
 cflags: cread cs8 -parenb -parodd hupcl -clocal -cstopb -crtscts -dsrflow
 -dtrflow -mdmbuf
 cchars: discard = ^O; dsusp = ^Y; eof = ^D; eol = undef;
 eol2 = undef; erase = ^H; erase2 = ^H; intr = ^C; kill = ^U;
 lnext = ^V; min = 1; quit = ^\; reprint = ^R; start = ^Q;
 status = ^T; stop = ^S; susp = ^Z; time = 0; werase = ^W;

 If you want the system's C shell to treat ^? (delete) as
 it should be treated (perform delete instead of backspace
 or nothing), add those to your .cshrc:

 bindkey ^? delete-char  # for console
 bindkey ^[[3~ delete-char   # for xterm

 Note that this only affects the C shell.



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


backspace shows ^? in serial communications

2013-02-05 Thread s m
hi all

i have a problem with backspace in serial communications. i have a
freebsd8.2 box with a serial card on it. when i connect to other freebsd
box via serial port backspace does not act as i expected. backspace shows
^? on screen. i searched alot and find out that stty has two parameters
-erase and erase2- to identify erase characters in terminal and they should
be set correctly. i set erase and erase2 to ^? by stty erase \^? and
stty erase2 \^? commands but nothing happened.
please let me know how i can fix it. i know it is simple issue but i really
do not know how to do that.

regards
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: Viewing processes hierarchically

2013-01-29 Thread Gezeala M . Bacuño II
On Tue, Jan 29, 2013 at 2:31 PM, dte...@freebsd.org wrote:

 pstree? (in sysutils from ports)
 --
 Devin

  -Original Message-
  From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
  questi...@freebsd.org] On Behalf Of Patrick
  Sent: Tuesday, January 29, 2013 1:53 PM
  To: FreeBSD Questions Mailing List
  Subject: Viewing processes hierarchically
 
  Is there any way in FreeBSD to view all running processes hierarchically,
  like Activity Monitor in Mac OS X can do?
 
  e.g.
 
 http://f.cl.ly/items/37310J17273X3F1E1l0G/Image%202013.01.29%2013:50:36%20
 .
  png
 
  I believe I have a masked process spawned from an Apache process, but I'm
  having a hard time tracking it down.
 
  Thanks,
 
  Patrick
  ___
  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

 _
 The information contained in this message is proprietary and/or
 confidential. If you are not the intended recipient, please: (i) delete the
 message and all copies; (ii) do not disclose, distribute or use the message
 in any manner; and (iii) notify the sender immediately. In addition, please
 be aware that any message addressed to our domain is subject to archiving
 and review by persons other than the intended recipient. Thank you.
 ___
 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



ps auxwwd

man ps:

 -d  Arrange processes into descendancy order and prefix each
 command
  with indentation text showing sibling and parent/child
 relation‐
  ships.  If either of the -m and -r options are also used, they
  control how sibling processes are sorted relative to each
 other.
  Note that this option has no effect if the “command” column is
  not the last column displayed.


___
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

/usr/bin/ld: cannot find -liconv

2013-01-27 Thread Leonardo M . Ramé
Hi, I'm trying to compile FreePascal from sources, but it keeps complaining 
about cannot find -liconv:

When I do gmake all on fpc src directory, I get this:

Output of ldconfig -r|grep iconv:

19:-lkiconv.4 = /lib/libkiconv.so.4
112:-liconv.3 = /usr/local/lib/libiconv.so.3
433:-lbiconv.2 = /usr/local/lib/libbiconv.so.2
434:-lticonv.6 = /usr/local/lib/libticonv.so.6


Output of gmake all:

...
/usr/bin/ld: cannot find -liconv
fpdoc.pp(404,1) Error: Error while linking
fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted
gmake[3]: *** [fpdoc] Error 1
gmake[3]: Leaving directory `/usr/home/martin/fpc/utils/fpdoc'
gmake[2]: *** [fpdoc_all] Error 2
gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'
gmake[1]: *** [utils_all] Error 2
gmake[1]: Leaving directory `/usr/home/martin/fpc'
gmake: *** [build-stamp.x86_64-freebsd] Error 2


This is a FreeBsd 9.1 RELEASE x86-64 machine.

What I'm doing wrong?.
 
Leonardo M. Ramé
http://leonardorame.blogspot.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: /usr/bin/ld: cannot find -liconv

2013-01-27 Thread Leonardo M . Ramé
- Original Message -

 From: Leonardo M. Ramé martinr...@yahoo.com
 To: freebsd-questions@freebsd.org freebsd-questions@freebsd.org
 Cc: 
 Sent: Sunday, January 27, 2013 12:28 PM
 Subject: /usr/bin/ld: cannot find -liconv
 
 Hi, I'm trying to compile FreePascal from sources, but it keeps complaining 
 about cannot find -liconv:
 
 When I do gmake all on fpc src directory, I get this:
 
 Output of ldconfig -r|grep iconv:
 
 19:-lkiconv.4 = /lib/libkiconv.so.4
 112:-liconv.3 = /usr/local/lib/libiconv.so.3
 433:-lbiconv.2 = /usr/local/lib/libbiconv.so.2
 434:-lticonv.6 = /usr/local/lib/libticonv.so.6
 
 
 Output of gmake all:
 
 ...
 /usr/bin/ld: cannot find -liconv
 fpdoc.pp(404,1) Error: Error while linking
 fpdoc.pp(404,1) Fatal: There were 1 errors compiling module, stopping
 Fatal: Compilation aborted
 gmake[3]: *** [fpdoc] Error 1
 gmake[3]: Leaving directory `/usr/home/martin/fpc/utils/fpdoc'
 gmake[2]: *** [fpdoc_all] Error 2
 gmake[2]: Leaving directory `/usr/home/martin/fpc/utils'
 gmake[1]: *** [utils_all] Error 2
 gmake[1]: Leaving directory `/usr/home/martin/fpc'
 gmake: *** [build-stamp.x86_64-freebsd] Error 2
 
 
 This is a FreeBsd 9.1 RELEASE x86-64 machine.
 
 What I'm doing wrong?.
  


The solution was doing:

gmake all OPT=-Fl/usr/local/lib


 
Leonardo M. Ramé
http://leonardorame.blogspot.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: Jails

2013-01-15 Thread Leonardo M . Ramé
- Original Message -

 From: Zyumbilev, Peter pe...@aboutsupport.com
 To: freebsd-questions@FreeBSD.org freebsd-questions@FreeBSD.org
 Cc: 
 Sent: Tuesday, January 15, 2013 3:12 AM
 Subject: Re: Jails
 
 On 15/01/2013 02:10, Leonardo M. Ramé wrote:
 
 
  Yes, and also defined /etc/resolv.conf. Any hint?
 
 
  Leonardo M. Ramé
  http://leonardorame.blogspot.com
 
 
 This is my jail conf.
 
 jail_debian_rootdir=/jail/debian
 jail_debian_hostname=debian.bivol.net
 jail_debian_ip=192.168.30.12
 jail_debian_interface=bge0
 jail_debian_devfs_enable=YES
 jail_debian_devfs_ruleset=devfsrules_jail
 jail_debian_flags=-n debian
 #jail_debian_mount_enable=YES           # mount YES|NO
 jail_debian_fstab=/jail/conf/fstab.debian
 
 
 you have ip  interface settings correct ? Mine card is bge0, but your
 one might be different.
 
 Peter


Peter, last night I 
finally used apt-get to install g++, so, it's working!. The only thing 
that doesn't work is ping, but I won't care about it.

 
Leonardo M. Ramé
http://leonardorame.blogspot.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: Jails

2013-01-14 Thread Leonardo M . Ramé



 From: Zyumbilev, Peter pe...@aboutsupport.com
To: freebsd-questions@FreeBSD.org freebsd-questions@FreeBSD.org 
Sent: Monday, January 14, 2013 3:53 AM
Subject: Re: Jails
 


On 13/01/2013 23:58, Leonardo M. Ramé wrote:
 
 

 root@debian:/# ping www.google.com
 WARNING: setsockopt(ICMP_FILTER): Protocol not available
 WARNING: your kernel is veeery old. No problems.
 PING www.google.com (173.194.42.16) 56(84) bytes of data.
 ping: recvmsg: Invalid argument
 ping: recvmsg: Invalid argument
 ping: recvmsg: Invalid argument
 ping: recvmsg: Invalid argument
 
 --- www.google.com ping statistics ---
 4 packets transmitted, 0 received, 100% packet loss, time 3078ms
 
 root@debian:/#


Hvae you run in FreeBSD:

sysctl compat.linux.osrelease=2.6.32

?


Yes, and also defined /etc/resolv.conf. Any hint?


Leonardo M. Ramé
http://leonardorame.blogspot.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: Jails

2013-01-13 Thread Leonardo M . Ramé


 From: Zyumbilev, Peter pe...@aboutsupport.com
To: freebsd-questions@FreeBSD.org 
Cc: Mark Felder f...@feld.me; Devin Teske dte...@freebsd.org; Devin Teske 
devin.te...@fisglobal.com 
Sent: Sunday, January 13, 2013 7:09 AM
Subject: Re: Jails
 

On 12/01/2013 18:41, Devin Teske wrote:
 
 On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:
 
 Hi,

 I have not tested it, but so far things do not look promising...

 I cannot even run netstat -nvatp properly, however sopcast seemed to
 run, but have not tested it, for plex - have not tried yet.

 
 netstat isn't allowed in traditional jails (but is allowed in vimage jails 
 which have their own network stack).
 
 If you're able/willing to compile a new kernel to enable the VIMAGE 
 feature, then this can be improved so that you can indeed use netstat within 
 the jail.
 
 NOTE: netstat is not allowed within traditional (non-VIMAGE) jails due to 
 security restrictions.
 

My  host os is Nas4Free and is stripped version of freebsd - e.g I
cannot even compile ports - that is why I use jails - so no new kernel
for me there :)

So far I am quite happy with it  - I use it mainly as DLNA
server(Serviio), ZFS,UPS support  Transmission made it quite good
platform - would take plenty of time to get all this in plain FreeBSD
install.

The only thing that I might be missing is Plex, but due to lack browser
per folder feature, I will stick to open standard - DLNA.

Peter


Hi, I've installed debian 6 in a jail, from FreeBsd 9.1 x86-64 by following the 
instructions from this thread. However, I also updated my /etc/resolv.conf 
inside the jail, but I get this error when I do ping:


server# /etc/rc.d/jail start debian
Configuring jails:.
Starting jails: debian.


server# jls
   JID  IP Address  Hostname  Path
    13  192.168.0.250   debian    /usr/home/jails/debian


server# jexec 13 bash
root@debian:/# uname -a
Linux debian 2.6.32 FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4 09:23:10 UTC 
2012 i686 GNU/Linux


root@debian:/# ping www.google.com
WARNING: 
WARNING: your kernel is veeery old. No problems.
PING www.google.com (173.194.42.17) 56(84) bytes of data.
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument

Apart from getting those ping errors, I cannot apt-get update:

root@debian:/# apt-get update
Get:1 http://security.debian.org squeeze/updates Release.gpg [836 B]
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en
Get:2 http://ftp.debian.org squeeze Release.gpg [1672 B]
Ign http://ftp.debian.org/debian/ squeeze/contrib Translation-en
99% [Working]FATAL - Could not set non-blocking flag Bad file descriptor
E: Method http has died unexpectedly!
E: Sub-process http returned an error code (100)

I need apt-get to install g++, to be able to compile a linux c++ app from 
FreeBsd.

-- 
Leonardo M. Ramé
http://leonardorame.blogspot.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: Jails

2013-01-13 Thread Leonardo M . Ramé


- Original Message -

 From: Devin Teske devin.te...@fisglobal.com
 To: Leonardo M. Ramé martinr...@yahoo.com
 Cc: freebsd-questions@FreeBSD.org freebsd-questions@FreeBSD.org
 Sent: Sunday, January 13, 2013 2:23 PM
 Subject: Re: Jails
 
 
 On Jan 13, 2013, at 7:45 AM, Leonardo M. Ramé wrote:
 
  
 
  From: Zyumbilev, Peter pe...@aboutsupport.com
  To: freebsd-questions@FreeBSD.org 
  Cc: Mark Felder f...@feld.me; Devin Teske 
 dte...@freebsd.org; Devin Teske devin.te...@fisglobal.com 
  Sent: Sunday, January 13, 2013 7:09 AM
  Subject: Re: Jails
 
 
  On 12/01/2013 18:41, Devin Teske wrote:
 
  On Jan 11, 2013, at 11:31 PM, Zyumbilev, Peter wrote:
 
  Hi,
 
  I have not tested it, but so far things do not look 
 promising...
 
  I cannot even run netstat -nvatp properly, however 
 sopcast seemed to
  run, but have not tested it, for plex - have not tried yet.
 
 
  netstat isn't allowed in traditional jails (but is allowed in 
 vimage jails which have their own network stack).
 
  If you're able/willing to compile a new kernel to enable the 
 VIMAGE feature, then this can be improved so that you can indeed use 
 netstat within the jail.
 
  NOTE: netstat is not allowed within traditional (non-VIMAGE) jails 
 due to security restrictions.
 
 
  My  host os is Nas4Free and is stripped version of freebsd - e.g I
  cannot even compile ports - that is why I use jails - so no new kernel
  for me there :)
 
  So far I am quite happy with it  - I use it mainly as DLNA
  server(Serviio), ZFS,UPS support  Transmission made it quite good
  platform - would take plenty of time to get all this in plain FreeBSD
  install.
 
  The only thing that I might be missing is Plex, but due to lack 
 browser
  per folder feature, I will stick to open standard - DLNA.
 
  Peter
 
 
  Hi, I've installed debian 6 in a jail, from FreeBsd 9.1 x86-64 by 
 following the instructions from this thread. However, I also updated my 
 /etc/resolv.conf inside the jail, but I get this error when I do ping:
 
 ping is usually denied from within a jail (for security purposes).
 
 Add the following to /etc/rc.conf:
 
 jail_sysvipc_allow=YES
 
 And then reboot.

I've tried that, but I got the same results:

root@debian:/# ping www.google.com
WARNING: setsockopt(ICMP_FILTER): Protocol not available
WARNING: your kernel is veeery old. No problems.
PING www.google.com (173.194.42.16) 56(84) bytes of data.
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument
ping: recvmsg: Invalid argument

--- www.google.com ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3078ms

root@debian:/#



 
Leonardo M. Ramé
http://leonardorame.blogspot.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


expect doesn't work correctly with cu

2012-12-29 Thread s m
hello every body

i want to run cu via expect shell script. when i run my script, cu is
running and enter its cli. but when i enter a command (like ~s to set
variable) manually , this command doesn't execute and cu cli is closed and
bash return an error that this command is not valid.
this is my shell script:
#!/usr/local/bin/expect
set timeout 20
spawn cu -l /dev/ttyu0 -s 115200 -e
expect Connected
send ~s
expect ~[]
send hardwareflow\n
expect eof

and this is the output:

[root@zharf ~]# /usr/SAM/shell-scripts/runcu.sh
spawn cu -l /dev/ttyu0 -s 115200 -e
Connected
~[set] *all /  *i enter this command manually
[root@zharf ~]# all
bash: all: command not found
[root@zharf ~]#


i don't know what happened when i run cu via expect that doesn't  work
correctly. please let me know if you have any ideas.

yours,
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


modem communication

2012-12-15 Thread s m
hello guys,

please forgive me if my question is not related to this list but i don't
know where i should ask about it.

i have a freebsd8.2 and wanna talk my modem by com port. when i connect my
modem to com port, everything is ok.

for some reasons, i have to communicate with modem, run a command, close
the connection, connect again, run another command, close connection,... .
in the other words, in each communication i have to run just one ati
command and close connection.

my question is: are there any ati commands in modems that should be run
continuously (in the same communication)?  i mean running one command,
close connection, open it again and run another command would make any
wrong?

my program should work with all modems not a specific one.

any hints or comments are really appreciated.
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


set connection to a modem

2012-11-28 Thread s m
hello guys,

i want to connect my freebsd system to modem and configure it via my
freebsd. i thought that i should change /etc/ttys file to set speed and
other configuration. in order to check if i am right or not, i comment ttyu
line in ttys file and expect the modem got disconnected but the modem still
works and can access to it.

i googled and found that there are three files in /etc that we can edit
them to configure our devices: /etc/ttys, /etc/gettytab and
/etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev
to set default speed and other configuration by stty command.

now i am confused and don't know which file i should edit to set speed and
flow control and other setting to have a connection to my modem. i mean
from which file i can configure my connection? i know it's too easy but
please clear it for me.

yours,
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: set connection to a modem

2012-11-28 Thread s m
thanks guys for your replies,

now i understand two types of connections are available by modem, dial-in
and dial-out.
honestly, i should do it for my boss and don't know what he should want
exactly to do but i am sure that he has an external serial modem and wants
to config it by AT commands via a freebsd system; therefore i think our
connection is dial-out.

now which files i should edit? just ppp.conf? and because our modem
supports specific speed and flow control, is it necessary to set these
parameters in my freebsd? and if yes, how i can do that?  please help me to
do that

thanks

On Wed, Nov 28, 2012 at 7:35 PM, Polytropon free...@edvax.de wrote:

 On Wed, 28 Nov 2012 13:44:18 +0330, s m wrote:
  hello guys,
 
  i want to connect my freebsd system to modem and configure it via my
  freebsd.

 For doing _what_ exactly? I ask because depending on your
 goal there might be different approaches neccessary:

 a) dial out to connect to the Internet
 b) dial out to dial in to something else (e. g. shell access)
 c) dial out to send a fax
 d) dial out to make annoying phone calls :-)
 e) dial in so people can dial your system and log in
 f) dial in so people can send you fax
 g) dial in so you can control something using DTMF
 ...

 There are many possibilities, each requiring a different
 thing to do on FreeBSD (because they are obviously different(.

 And of course: Are you talking about a real modem (external
 serial modem), some modem card (often dysfunctional WinModem),
 or a USB modem? Brand and model?



  i thought that i should change /etc/ttys file to set speed and
  other configuration.

 Wouldn't you better do this with ppp.conf? Just assuming you
 want to dial _out_.



  in order to check if i am right or not, i comment ttyu
  line in ttys file and expect the modem got disconnected but the modem
 still
  works and can access to it.

 The /etc/ttys file doesn't restrict you in controlling the
 modem from your host system.



  i googled and found that there are three files in /etc that we can edit
  them to configure our devices: /etc/ttys, /etc/gettytab and
  /etc/rc.d/serial.sh. moreover we can edit init file for each device in
 /dev
  to set default speed and other configuration by stty command.

 Also depends on _what_ you are going to do.



  now i am confused and don't know which file i should edit to set speed
 and
  flow control and other setting to have a connection to my modem. i mean
  from which file i can configure my connection? i know it's too easy but
  please clear it for me.

 Really, I assume you're talking about dialing out with a serial
 modem in order to connect to the Internet (or some other system),
 and then be networked with it.

 In that case you would add an entry to /etc/ppp/ppp.conf. Allow
 me to provide an example that I've been using on FreeBSD 4 and 5:

 # PPP Configuration File
 # See /usr/share/examples/ppp/ for some examples
 # $FreeBSD: src/etc/ppp/ppp.conf,v 1.8 2001/06/21 15:42:26 brian Exp $

 default:
 set log Phase Chat LCP IPCP CCP tun command
 ident user-ppp VERSION (built COMPILATIONDATE)
 set device /dev/cuaa0
 set speed 115200
 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \\ AT OK-AT-OK
 ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT
 set ifaddr 10.0.0.1/0 10.0.0.2/0
 set timeout 180
 enable dns

 papchap:
  # edit the next three lines and replace the items in caps with
  # the values which have been assigned by your ISP.
 set phone PHONE_NUM
 set authname USERNAME
 set authkey PASSWORD
 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
 add default HISADDR

 mymodem:
 set phone 01234567890
 set authname myname
 set authkey mypass
 add default HISADDR

 The example name I've chosen here is mymodem. Change it
 to something meaningful. :-)

 The essential authorisation data here is the phone number
 of 01234567890, the username 'myname' and the password 'mypass'

 Note that today it may be required to change the device name!
 I haven't tried to do anything with a modem on current FreeBSD,
 so I can't be more specific, sorry.

 The device name /dev/cuaa0 will probably need a change. And
 then set speed 115200 sets the speed you need.

 If you've done everything properly, you would do something like

 # ppp mymodem
 ppp dial

 Then the modem should dial. With close you close the connection.
 There are options for /etc/rc.conf (the ppp_* variables) that
 allow you to automate things, like dial on demand.





 In contradiction, in /etc/ttys something like

 ttyd0   /usr/libexec/getty std.9600 dialup   on  secure

 would enable you a serial console access (e. g. to connect a
 serial terminal to) at a speed of 9k6 (e. g. a DEC vt100). When
 connected via serial cable, you would receive a login prompt.

 Again, note that ttyd0 might not be valid here.





 --
 Polytropon
 Magdeburg

getting packets on a specific port by pf

2012-11-08 Thread s m
 hello guys

i have a problem with getting packets which are diverted to a specific port
by PF. i mean i diverted my packets to a specific port by IPFW and want to
get these packets by PF to change them.
i used ipfw add 1000 divert 8000 all form any to any command to divert my
packets. how can i get these packets by pf on port number 8000?

pf has divert-reply option. should i use it to get packets? how? any
comments or hints are really appreciated.

thanks,
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


Installing fusefs-ntfs and nvidia-drivers fails

2012-11-08 Thread Neil M. Stewart

Hi All,

I am new to FreeBSD, and I am having an issue installing fusefs-ntfs and 
nvidia-driver.  The error messages are shown below. Any idea what's 
going on here? Thanks in advance.



===  Installing for fusefs-ntfs-2012.1.15
===   fusefs-ntfs-2012.1.15 depends on file: /usr/local/modules/fuse.ko 
- not found
===Verifying install for /usr/local/modules/fuse.ko in 
/usr/ports/sysutils/fusefs-kmod

===  Building for fusefs-kmod-0.3.9.p1.20080208_11
=== fuse_module (all)
/usr/src/sys/conf/kmod.mk, line 76: Could not find bsd.compiler.mk
/usr/src/sys/conf/kmod.mk, line 112: Malformed conditional 
(${COMPILER_TYPE} != clang)

/usr/src/sys/conf/kmod.mk, line 116: if-less endif
/usr/src/sys/conf/kern.mk, line 18: Malformed conditional 
(${COMPILER_TYPE} == clang)

/usr/src/sys/conf/kern.mk, line 33: if-less endif
/usr/src/sys/conf/kern.mk, line 103: Malformed conditional 
(${COMPILER_TYPE} == clang)

/usr/src/sys/conf/kern.mk, line 109: if-less endif
make: fatal errors encountered -- cannot continue


==  Building for nvidia-driver-304.60
=== src (all)
/sys/conf/kmod.mk, line 76: Could not find bsd.compiler.mk
/sys/conf/kmod.mk, line 112: Malformed conditional (${COMPILER_TYPE} 
!= clang)

/sys/conf/kmod.mk, line 116: if-less endif
/sys/conf/kern.mk, line 18: Malformed conditional (${COMPILER_TYPE} == 
clang)

/sys/conf/kern.mk, line 33: if-less endif
/sys/conf/kern.mk, line 103: Malformed conditional (${COMPILER_TYPE} 
== clang)

/sys/conf/kern.mk, line 109: if-less endif
make: fatal errors encountered -- cannot continue

-Neil Stewart
___
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: getting packets on a specific port by pf

2012-11-08 Thread s m
dear takcoder

maybe you are right but now it is not important for me. i want to get
packets by pf in order to set packet's TOS bit (packets which comes from
IPFW).

have you any suggestion?

thanks for your attention
sam


On Thu, Nov 8, 2012 at 4:11 PM, takCoder tak.offic...@gmail.com wrote:

 hey sam,

 i don't know the exact answer for your question.. but a question occurred
 in my mind..
 what's your final purpose of doing so? what do you exactly mean by the
 phrase to change them??

 and don't you think that this sequence of firewalls has a deep effect on
 your system performance? in my idea this seems just like a throughput
 bottleneck.. isn't it so? or it's not important here?

 any how.. if you tell us more details about what you're looking for, may
 be it become more clear for guys such as me! ;)

 yours,
 takcoder


 On Thu, Nov 8, 2012 at 3:53 PM, s m sam.gh1...@gmail.com wrote:

  hello guys

 i have a problem with getting packets which are diverted to a specific
 port
 by PF. i mean i diverted my packets to a specific port by IPFW and want to
 get these packets by PF to change them.
 i used ipfw add 1000 divert 8000 all form any to any command to divert
 my
 packets. how can i get these packets by pf on port number 8000?

 pf has divert-reply option. should i use it to get packets? how? any
 comments or hints are really appreciated.

 thanks,
 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



___
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: Installing fusefs-ntfs and nvidia-drivers fails

2012-11-08 Thread Neil M. Stewart

Hi Arthur,

Thanks for your response. The installation works now. It turns out that 
I was working with the wrong version of the source tree.


Regards,
Neil Stewart

On 11/8/12 11:33 AM, Arthur Chance wrote:

On 11/08/12 13:30, Neil M. Stewart wrote:

Hi All,

I am new to FreeBSD, and I am having an issue installing fusefs-ntfs and
nvidia-driver.  The error messages are shown below. Any idea what's
going on here? Thanks in advance.


===  Installing for fusefs-ntfs-2012.1.15
===   fusefs-ntfs-2012.1.15 depends on file: /usr/local/modules/fuse.ko
- not found
===Verifying install for /usr/local/modules/fuse.ko in
/usr/ports/sysutils/fusefs-kmod
===  Building for fusefs-kmod-0.3.9.p1.20080208_11
=== fuse_module (all)
/usr/src/sys/conf/kmod.mk, line 76: Could not find bsd.compiler.mk
/usr/src/sys/conf/kmod.mk, line 112: Malformed conditional
(${COMPILER_TYPE} != clang)
/usr/src/sys/conf/kmod.mk, line 116: if-less endif
/usr/src/sys/conf/kern.mk, line 18: Malformed conditional
(${COMPILER_TYPE} == clang)
/usr/src/sys/conf/kern.mk, line 33: if-less endif
/usr/src/sys/conf/kern.mk, line 103: Malformed conditional
(${COMPILER_TYPE} == clang)
/usr/src/sys/conf/kern.mk, line 109: if-less endif
make: fatal errors encountered -- cannot continue


==  Building for nvidia-driver-304.60
=== src (all)
/sys/conf/kmod.mk, line 76: Could not find bsd.compiler.mk
/sys/conf/kmod.mk, line 112: Malformed conditional (${COMPILER_TYPE}
!= clang)
/sys/conf/kmod.mk, line 116: if-less endif
/sys/conf/kern.mk, line 18: Malformed conditional (${COMPILER_TYPE} ==
clang)
/sys/conf/kern.mk, line 33: if-less endif
/sys/conf/kern.mk, line 103: Malformed conditional (${COMPILER_TYPE}
== clang)
/sys/conf/kern.mk, line 109: if-less endif
make: fatal errors encountered -- cannot continue


In both cases you've got the message

 /usr/src/sys/conf/kmod.mk, line 76: Could not find bsd.compiler.mk

(or equivalent as /sys - usr/src)

I've looked at my version of the file (under REL-9.0) and there's no 
mention of bsd.compiler.mk (or ${COMPILER_TYPE}). Please show us what 
you get if you type uname -a so we know what you've installed.







___
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


marking packets in IPFW and recognize them in PF

2012-11-06 Thread s m
hello every body

i want to mark some of my  packets (by tag, mark, divert or anything else)
in IPFW and recognize these packets in PF in the same system.
please let me know if  it is possible and how i can do that.
i have freebsd 8.2. if it is impossible in freebsd 8.2, what about freebsd
9? can we do it in freebsd 9?

thanks
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


config multiport serial card

2012-11-04 Thread s m
hello everybody

i have a moxa 4-port serial card and installed it on freebsd8.2
successfully. i have ttyu2-5 in /dev that are moxa ports.

my question is how i can use these ports? i add the following lines to ttys
file:
ttyu2 /usr/libexec/getty std.9600 vt100 on secure
ttyu3 /usr/libexec/getty std.9600 vt100 on secure
ttyu4 /usr/libexec/getty std.9600 dialup on secure
ttyu5 /usr/libexec/getty std.9600 dialup on secure

and restart my system. i connect another system to one of my moxa port by a
null modem cable and run putty in both side but i can't see any thing in
putty screens and leds on moxa card doesn't turn on.

please let me know if i should do some configuration else in order to my
ports work correctly. should i use another application instead of putty to
work with these ttyus?

thanks
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: way way off topic

2012-10-23 Thread Gezeala M . Bacuño II
% change = ( (present - past) / past ) * 100


On Tue, Oct 23, 2012 at 5:07 PM, Gary Kline kl...@thought.org wrote:
 On Tue, Oct 23, 2012 at 08:52:49AM +0200, Polytropon wrote:
 On Tue, 23 Oct 2012 11:31:18 +0700, Olivier Nicole wrote:
  Gary,
 
  On Tue, Oct 23, 2012 at 11:20 AM, Gary Kline kl...@thought.org wrote:
  
   apologies up front for this math type quandary. I had it in a std C 
   program,
   but 3+ hours of grepping havent found it.  I would have bet my last cent 
   that I
   had a summary Somewhere, but cant find that either.
  
   here is the problem as best I can remember it.
  
  
   let's say that john is 8 and his older friend, jim, is 22.
   how much older is exact percentage terms is jim?
 
  That should be 22/8=2.75
  Jim is 275% older than John

 Jim is 175% _older_. Why? Because 100% older means 16 years,
 as 100% refers to 8 years (8+8=16, 200% older is 8+8+8=24).
 Percentage is always a reference to something else, in this
 question, Jim's age in relation to John's. The word older
 means adding percentage, refering to the base value of 8,
 divided in 100 parts (floating point considerations aside),
 to finally reach the value 22.

 If the question would be different, say, What's the percentage
 of John's age regarding Jim's age? In that case, it would be
 8/22=0.3636 being 36%. Obvious: John's age is approximately
 1/3 of Jim's age.

 The easiest way for creating the proper calculation is to refer
 to the equation

  percentage * 100
   percentage value = 
base value

 and resolve it to whatever is required.

 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...


 yo; I THInk this is it. around line 4542 in my ~/.HowTo file::



 %%% find percent inc/dec [increase/decrease] between two numbers.

 Always figure the percentage of change relative to the original value!
 For instance: * Suppose a certain item used to sell for seventy-five
 cents a pound, you see that it's been marked up to eighty-one cents a
 pound. What is the percent increase?

 First, I have to find the absolute
 increase:
 Reserved 81 - 75 = 6

 The price has gone up six cents. Now I can find the
 percentage increase over the original price.

 This percentage increase is the relative change: 6/75 = 0.08
 ...or an 8% increase in price per pound.



 So I was wrong about ages or speed; it's the % betwen two ints;
 here, the inc/dec [or change] between 75 cents as compared to
 an inflated increase of 81 cents.

 1.  find abs increase:  81-75 = 6;
 2   find the % increase over the *original* value. 6.0/75.0
 3.  percent increase using doubles is 0.08;  so a markup of six
 cents is an 8% rate.


 so: going back to the ages example with john bein 8, jim, 22.
 22-8 is 14.
 14.0/8.0 = 1.75

 175%.  jim is 175% times older than john.  which is what you found,
 polyt.  {I'll have to re-read your logic now that im awake..}

 Or, how much more, in % is 16t than 15, it is 1.0/15.0 which is 6%.
 etc,  etc.

 Hm.  that's 0 for gary, 729 for polytrop!!

 Ah, life:: accept no substitutes.




 --
  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Twenty-six years of service to the Unix community.

 ___
 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: find slot number and number of ports for each card

2012-10-01 Thread s m
thanks every body for your answers. now i know my path.

thanks again

On Mon, Oct 1, 2012 at 3:18 PM, Jamie Paul Griffin ja...@kode5.net wrote:

 [ Devin Teske wrote on Sat 29.Sep'12 at 12:32:04 -0700 ]

 
  On Sep 29, 2012, at 7:37 AM, saeedeh motlagh wrote:
 
   hello all
  
   i want to have statistics about my hardware specially the type of card
   that are installed on my system,
 
  Card characteristics are provided by pciconf -l.
  (pciconf -lv for verbose listing).
 
  Two important notes about pciconf -l…
 
  1. It lists more than just cards
  2. The type can't always be determined by FreeBSD
 
  When looking at the output of pciconf -l, each line represents a
  component (this can be an integrated component on the mother-
  board, such as USB port, not necessarily a PCI add-in card).
 
  If the line begins with none@ then a driver has not attached to
  this device (and FreeBSD therefore doesn't know what type it is).
  In this case, you'll want to look at the chip= portion of the line.
  The chip= portion of the line gives you two very important pieces
  of information when it comes to identifying your hardware:
 
  a. The 4-digit hexadecimal identifier for the Model of the device
  b. The 4-digit hexadecimal identifier for the Vendor of the device
 
  (in that order from left-to-right)
 
  Let's look at a sample line:
 
  vgapci0@pci0:2:9:0:   class=0x03 card=0x00081002 chip=0x47521002
 rev=0x27 hdr=0x00
 
  NOTE: That's my graphics card on an ASUSTek P4B533 motherboard
 
  In the above line, see chip=0x47521002.
  In this case, 4752 is the Model identifier
  and 1002 is the Vendor identifier.
 
  If you're a human and you want to know what these numbers are,
  you hop on over to pcidatabase.com and punch in the numbers to
  find out that this is a [particularly ancient] ATI Rage XL graphics card.
 
  If you're not a human (i.e., a script), you'll instead reference a local
  copy of the pci.ids (/usr/local/share/pciids/pci.ids for example):
 
  $ grep '1002 4752' /usr/local/share/pciids/pci.ids
1002 4752  Proliant Rage XL
 
 
 
   the number of ports that each card has
 
  That one is near impossible.
 
  Since every add-in card is going function differently, you really need
  a device-specific enumeration method to (for example) count things
  like PHYs provided by a single NIC.
 
  Imagine if you will, the case of the card for which there is no driver
  loaded in the kernel (where pciconf -l shows a none@ prefix).
  There really is no way to enumerate the number of ports a card
  offers in that circumstance.
 
  However!
 
  You can build logic into your code (if you are scripting something)
  that takes the description from the pci.ids file (or just the raw hex
 IDs)
  and extrapolates based on prior-knowledge how many ports a
  particular device has.
 
 
 
   and the slot number which cards are installed.
 
  That's provided by pciconf.
 
  Also, it's worth mentioning the excellent dmidecode tool from the
  ports tree. This too can enumerate the slots themselves (and tell you
  whether they are PCI, PCI-X, PCIe, etc. including voltage. Search
  for System Slot Information in the dmidecode output for this info.
  --
  Devin

 This is interesting. I'm glad this question was raised, because i've
 noticed i've got two none@ lines listed when using pciconf -lv. I've
 been trying to figure out what these are over the last week but to no
 avail. They must be there for some purpose and I wondered if i'm missing
 some important driver because of this.
 ___
 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: how restore an unencrypted dump on an encrypted file system?

2012-09-30 Thread s m
thanks saeedeh

OK i try to explain what i have done more in detail.

i want to restore unencrypted dump files on an encrypted file system.
in order to do that, i encrypted my file system by geli command and
sure that is done correctly because when i install base and kernel on
it, freebsd start up successfully.

problem is here: when i restore my dump files and restart my freebsd,
boot PXE menu is shown and i select my freebsd but after that, the
error message invalid format occurs and i see this message:
  FreeBSD/i386 BOOT
 Default: 0:ad(0,a)/boot/loader
 boot:

it selects the default kernel correctly and after some seconds an
error message is shown which consists of some hardware addresses.

i don't know how to fix it.
any hints that might fix my problem are appreciated.


On 9/30/12, saeedeh motlagh saeedeh.motl...@gmail.com wrote:
 hi

 i have a similar problem too.  can you explain in detail what you have
 done step by step? i wanna know if my problem is exactly what you
 have.

 thanks

 On 9/29/12, s m sam.gh1...@gmail.com wrote:
 thanks Fabian for your answer. i don't know what exactly information
 is needed but i tell what i did up to now.

 i have two partition, one is encrypted and the other one is not. the
 unencrypted partition has boot folder. when i copy FreeBSD base system
 files, FreeBSD start up correctly but when i restore dump files,
 FreeBSD doesn't start up correctly.

 i hope this information help to understand what is wrong.
 thanks

 On 9/29/12, Fabian Keil freebsd-lis...@fabiankeil.de wrote:
 s m sam.gh1...@gmail.com wrote:

 I backed up my freeBSD 8.2 box by dump command and now want to restore
 this dump file on an encrypted file system (i used geli to encrypt my
 file system) but do not know how to do that.

 is there any way or command to restore an unencrypted dump on an
 encrypted file system? i tried to restore my dump file as when file
 system is unencrypted.

 Can you read the files after attaching the provider manually?

 this is what i've doe: I decrypted my encrypted file system by geli
 attach command, then mount it and restore dumps. but when i restart
 my system, FreeBSD doesn't start up correctly (PXE boot menu is shown
 and when i select freeBSD, boot.config runs but nothing happend).

 You do not provide enough information to give a meaningful answer.

 One possible mistake would be putting the kernel itself on
 the encrypted file system, but the list of things one can
 do wrong is pretty long.

 Fabian

 ___
 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


how restore an unencrypted dump on an encrypted file system?

2012-09-29 Thread s m
hello guys,

I backed up my freeBSD 8.2 box by dump command and now want to restore
this dump file on an encrypted file system (i used geli to encrypt my
file system) but do not know how to do that.

is there any way or command to restore an unencrypted dump on an
encrypted file system? i tried to restore my dump file as when file
system is unencrypted.

this is what i've doe: I decrypted my encrypted file system by geli
attach command, then mount it and restore dumps. but when i restart
my system, FreeBSD doesn't start up correctly (PXE boot menu is shown
and when i select freeBSD, boot.config runs but nothing happend).


please let me know how i can fix it or if i do something wrong.
yours,
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: how restore an unencrypted dump on an encrypted file system?

2012-09-29 Thread s m
thanks Fabian for your answer. i don't know what exactly information
is needed but i tell what i did up to now.

i have two partition, one is encrypted and the other one is not. the
unencrypted partition has boot folder. when i copy FreeBSD base system
files, FreeBSD start up correctly but when i restore dump files,
FreeBSD doesn't start up correctly.

i hope this information help to understand what is wrong.
thanks

On 9/29/12, Fabian Keil freebsd-lis...@fabiankeil.de wrote:
 s m sam.gh1...@gmail.com wrote:

 I backed up my freeBSD 8.2 box by dump command and now want to restore
 this dump file on an encrypted file system (i used geli to encrypt my
 file system) but do not know how to do that.

 is there any way or command to restore an unencrypted dump on an
 encrypted file system? i tried to restore my dump file as when file
 system is unencrypted.

 Can you read the files after attaching the provider manually?

 this is what i've doe: I decrypted my encrypted file system by geli
 attach command, then mount it and restore dumps. but when i restart
 my system, FreeBSD doesn't start up correctly (PXE boot menu is shown
 and when i select freeBSD, boot.config runs but nothing happend).

 You do not provide enough information to give a meaningful answer.

 One possible mistake would be putting the kernel itself on
 the encrypted file system, but the list of things one can
 do wrong is pretty long.

 Fabian

___
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 on IBM Power 560

2012-09-27 Thread Leonardo M . Ramé
Hi, does anyone knows if FreeBSD can be installed on this machine:

http://www-03.ibm.com/systems/power/hardware/560/

It's
 an PPC (Power6) based machine. Currently it uses OpenSuse 10, but as it
 is a discontinued version, I would like to know if I can replace it 
with a newer version of FreeBSD.
 
Leonardo M. Ramé
http://leonardorame.blogspot.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 on IBM Power 560

2012-09-27 Thread Leonardo M . Ramé
Hi, does anyone knows if FreeBSD can be installed on this machine:

http://www-03.ibm.com/systems/power/hardware/560/

It's an PPC (Power6) based machine. Currently it uses OpenSuse 10, but as it is 
a discontinued version, I would like to know if I can replace it with a newer 
version of FreeBSD.
 
Leonardo M. Ramé
http://leonardorame.blogspot.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: praudit after work leaves /dev/auditpipeX files.

2012-09-24 Thread Robert N. M. Watson

On 24 Sep 2012, at 09:36, Ivan Klymenko wrote:

 I run command praudit /dev/auditpipe and watch its output to the
 console, and i stop the praudit, but /dev/auditpipeX files remain.
 
 I have not found a way how to remove the files /dev/auditpipeX - only
 to rebooted.

Hi Ivan:

Cloning device nodes will garbage collect as a result of pressure from other 
device nodes being created, or possibly if system memory gets low. At some 
point we may transition to using a single device nodes with per-session state, 
supported as of FreeBSD 8.x if I recall, and patches have been circulated -- 
however, it should make no practical difference from a user perspective. So, in 
conclusion, no, not a bug, just a feature that might be surprising.

Robert___
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: TRENDnet, which?

2012-08-14 Thread Edward M
Gary Kline wrote:
 Well, it pays to check prices!  the Avocent brand of KVM
   are an arm and *three* legs.  I have abs no use for anything
   fancy.  just want something to get me to boot status on
   different boxes...  a number of you suggested a kvm switch
   with the brand trendnet.  

   anybody know which model?

  Well i'm using Tk-801r model. have not had any problems in the couple
of years
  i've owned it.  it can be rack monted if needed.


http://trendnet.com/products/proddetail.asp?status=viewprod=165_TK-801Rcat=110

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

2012-08-10 Thread Hamed M

 
Can I run PS3 games on the system 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: Architectural CAD software

2012-07-26 Thread Leonardo M . Ramé

 From: leeoliveshackelf...@surewest.net leeoliveshackelf...@surewest.net
To: freebsd-questions@freebsd.org 
Sent: Thursday, July 26, 2012 7:53 PM
Subject: Architectural CAD software
 
Good afternoon, FreeBSD enthusiasts.  I did not receive a response to the 
following message, so I would like to rephrase the question.  Does anyone use 
an architectural CAD application with FreeBSD?  If so, would you be willing to 
share any comments, opinions, or advice with me concerning your experience 
with this software?  Many thanks in advance.  Yours truly, Lee Shackelford


Hi Lee, you could ask this same question on a Linux (or better, Ubuntu) 
forum/mailing list, surely you'll receive more answers, then you can see if the 
CAD apps used by them will run on FreeBSD (I'm quite sure them will work).

Why I say a Linux forum is better for this? because I don't know any 
non-computer-geek who uses FreeBSD, but there are a lot of Architects/Graphic 
Artists using Linux, and specially Ubuntu right now. 


Leonardo M. Ramé
http://leonardorame.blogspot.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: Is ZFS production ready?

2012-06-25 Thread Edward M

On 06/25/2012 08:00 AM, per...@pluto.rain.com wrote:

Edward M eam1edw...@gmail.com wrote:


  That reply was not meant for you, so why do you care?

If it wasn't meant for everyone on the list,
why was it sent to the list?


by  accident. still learning how to use email client:-[ . once i
noticed my email was also  to this list. i was hoping subscribers 
would notice

it was  by mistake.

___
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: Is ZFS production ready?

2012-06-24 Thread Edward M

On 06/23/2012 10:38 PM, Wojciech Puchar wrote:
   last binary  production ready, used version 14; i  also found it 
to be stable
  Any opensource zfs pool verisons beyound that, i am not really sure 
about their stablity compared

 to UFS rock solid filesystem.


No ZFS pool version can be as trusty as UFS because of ZFS on disk 
structure that is plain dangerous.


ZFS use tree-like structure for everything. If upper part of tree is 
corrupted, everything below disappears and cannot be found.


Having 2,3 or even 100 copies of metadata doesn't help if you would 
have (maybe transient) hardware problem and bad metadata would be 
writen 2,3 or even 100 times. with proper checksum of course.


UFS uses flat structure - inodes in known places. superblocks are used 
to find info about placement, and there are many copies of which only 
first is updated under normal operation.


In really unlikely case of all superblocks corrupted just use newfs on 
virtual device (may be md) of same size, with same block and fragment 
size, and byte per inode, and copy superblock from here.


   Dont email me privately. I like ZFS design however i was only 
questioning v28 stability for production

   compared to a mature production tested UFS.

___
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: Is ZFS production ready?

2012-06-24 Thread Edward M

On 06/24/2012 04:23 PM, Adam Vande More wrote:
On Sun, Jun 24, 2012 at 5:43 PM, Edward M eam1edw...@gmail.com 
mailto:eam1edw...@gmail.com wrote:


  Dont email me privately.


Don't be an ass.  Standard list conventions allows for private email. 
 If this is simply an individual case of not liking the person who 
emailed you, then it is your ethical responsibility to ask for privacy 
in privacy.  **Even in the case of sender being a pompous ass.  If it 
is your overall wish to not be emailed privately by members of this 
list, then you should set that option on your list membership page 
instead of attempting to force your responsibility onto others.


--
Adam Vande More


That reply was not meant for you, so why do you care?
get lost.

___
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: Is ZFS production ready?

2012-06-23 Thread Edward M

On 06/21/2012 12:33 AM, Hooman Fazaeli wrote:

Now, I want to the same thing on 8.3 and wanted to know
your opinion on ZFS stability. Is there any success story using
ZFS in 24x7, large volume, heavy duty servers? Is there any
other option other than ZFS to build larger than 2TB file systems?



   I like the ZFS theroy, However I would have to question  ZFS Pool 
Version Number 28 stability,
   that is what freebsd 9.0 comes with. because it was never really 
used/marked as production ready by sun/oracle.
   in my opionion version 28 is consider as a development version. 
solaris 11 uses version 33 so that is consider
   as production ready but it is closed source. i think the last open 
zfs version pool marked as production ready,was pool

   version 14 and 15
   zfs sounds great however i would actally trust more UFS2 for 24x7 
servers.


  agian this is my opinion, could be wrong:-)


___
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: Is ZFS production ready?

2012-06-23 Thread Edward M

On 06/23/2012 04:19 PM, Edward M wrote:

On 06/21/2012 12:33 AM, Hooman Fazaeli wrote:

Now, I want to the same thing on 8.3 and wanted to know
your opinion on ZFS stability. Is there any success story using
ZFS in 24x7, large volume, heavy duty servers? Is there any
other option other than ZFS to build larger than 2TB file systems?



   I like the ZFS theroy, However I would have to question  ZFS Pool 
Version Number 28 stability,
   that is what freebsd 9.0 comes with. because it was never really 
used/marked as production ready by sun/oracle.
   in my opionion version 28 is consider as a development version. 
solaris 11 uses version 33 so that is consider
   as production ready but it is closed source. i think the last open 
zfs version pool marked as production ready,was pool

   version 14 and 15
   zfs sounds great however i would actally trust more UFS2 for 24x7 
servers.


  agian this is my opinion, could be wrong:-)



snafu on my part freebsd 8.3 also uses zfs pool version 28:-)
so my opinion would also be the same.
___
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: Is ZFS production ready?

2012-06-23 Thread Edward M

On 06/23/2012 05:16 PM, John Levine wrote:

Sorry, I misread my notes, 8.2 uses v 15, 8.3 uses v 28.

R's,
John


 yeah, I remember version 15 was really stable. Opensolaris 2009.06
last binary  production ready, used version 14; i  also found it to 
be stable
   Any opensource zfs pool verisons beyound that, i am not really sure 
about their stablity compared

  to UFS rock solid filesystem.



___
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


fsck_ufs running too often

2012-06-22 Thread Leonardo M . Ramé
Hi, since a few of days ago, I noticed my home server turns very slow more than 
once a day, so every time I run top to see what's processes are running, I 
can see fsck_ufs at the very top, and the hard drive working like mad.

I've checked my crontab and there's nothing related to fsck_ufs, where can I 
start searching for the cause of the problem?, I thought this process should 
run only at boot or shutdown, but this time it is running -apparently- without 
a cause.

uname -a:
FreeBSD server.my.local 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 
UTC 2012     r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

Regards,
Leonardo M. Ramé
http://leonardorame.blogspot.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: OT: Robotics or embedded or hardware programming... what is this called?

2012-06-20 Thread Edward M

On 06/20/2012 06:54 PM, Modulok wrote:

Even general pointers to books/websites would be great. Once I know what it's
called I can google much more effectively


Mars rover is robotic/embedded.
I am using this site myself.

 http://www.societyofrobots.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: No surround sound with Creative SB Live! card

2012-06-15 Thread Edward M

On 06/15/2012 01:06 AM, David Demelier wrote:

That's what mplayer says:

== 


Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000-576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
== 


AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)

What do you mean by a decoder is needed? 


A decorder is either a special plugin/codex that gets  installed 
into the OS ( codex called a52dec)  and decoding happens internally.
or a  hardware device like a stereo receiver that is able to 
understand  Dolby Digital signals from the DVD through S/PDIF connector 
from  the sound card to decorder.
however, it only appears you are only missing a52dec?  Have you 
installed a52dec from ports/audio/gstreamer-plugins-a52dec/ ?


___
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: No surround sound with Creative SB Live! card

2012-06-14 Thread Edward M

On 06/14/2012 09:03 AM, David Demelier wrote:
I have an old SB Live! card with a 5.1 speaker set, but i can't get 
sound from center and rear speakers with mplayer.


I'm using the snd_emu10kx driver and when I try to play a DVD I get 
sound only through the front speakers (and LFE) like a 2.1


Adding -channels 6 to the mplayer args does not help.

Cheers, 


  Sounds like the DVD  surround audio is  encoded in AC-3 Dolby Digital 
or DTS. So a decorder is needed.


___
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: text format

2012-06-12 Thread Edward M

On 06/12/2012 01:40 PM, pwnedomina wrote:
to format an ascii text to be identical to that one, centered and 
aligned.. 



  would not that require the use of HTML?

___
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: text format

2012-06-12 Thread Edward M

On 06/12/2012 02:01 PM, Edward M wrote:

On 06/12/2012 01:40 PM, pwnedomina wrote:
to format an ascii text to be identical to that one, centered and 
aligned.. 



  would not that require the use of HTML?

   Oops... just dawn on me you may be trying to print an ascii file and 
may not be trying to ceate a website to look like that. so disregard

  HTML part. if that is the case:-[

___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-10 Thread Edward M

On 06/10/2012 08:09 AM, Nomen Nescio wrote:

This is really missing the point. The issue is not open source
vs. proprietary although many people seem to try to steer everything into
that meaningless conflict.

The point is the WinTel Mafia's many years of collusion and screwing over
the customer. Try to buy a commodity PC in any major store and it will come
with Windows, and you have to pay for it. Now the WinTel Mafia got many
companies onboard with their system to lock you out from the box you just
bought. Bad enough it comes with Windows and you had to pay for it, and you
don't even get an install disk. But the WinTel Mafia adds insult to injury
and stops you from installing whatever software you want on it.

What does this have to do with OSS v. proprietary source? Nothing!

It is just about the WinTel Mafia's illegal, abuse trade practices.
___
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



Need to have that congitiive distortion ckecked out
because it makes it difficult to bring a logical conclusion, and 
creates an ill perspective
on reality and keeps the person with a child like mentality; which 
makes the person to excerise

worlds like wintel mafia,etc.
___
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: Is this something we (as consumers of FreeBSD) need to be aware of?

2012-06-07 Thread Edward M

On 06/06/2012 01:35 PM, Alejandro Imass wrote:

But this is more to do with the BIOS than with Intel as such. Wasn't
there a FreeBIOS, later LinuxBIOS, now coreboot I believe..?
So replacing the BIOS entirely wouldn't suffice to override all this nonsense?
___
anybody will be free  to disable secure boot in x86 systems and run 
any OS, so this is not really a big deal.


___
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: buildworld problem

2012-05-19 Thread Edward M

On 05/18/2012 09:17 PM, Andriy Babiy wrote:

FreeBSD myhost 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Fri Mar 23 20:00:59
PDT 2012 root@myhost:/usr/obj/usr/src/sys/GENERIC  amd64

root#cd /usr/obj
root#chflags -R noschg *
root#rm -rf *
root#make buildworld
...
cd /usr/src; MACHINE=i386 MACHINE_ARCH=i386  MACHINE_CPU=i686 mmx sse
sse2  LD=ld -m elf_i386_fbsd -Y P,/usr/obj/usr/src/lib32/usr/lib32
AS=as --32 MAKEOBJDIRPREFIX=/usr/obj/lib32


I may be going over my head on this one:-)
However to my understanding it seems,  it is trying to build 32 bit 
on a amd 64bit install?




___
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: buildworld problem

2012-05-19 Thread Edward M

On 05/18/2012 09:17 PM, Andriy Babiy wrote:

Makefile.inc1, line 160: CPUTYPE global should be set with ?=


I think the problem is  the wrong  cpu type define. . I took a 
glance  at the code in the makefile.inc1 to see what would set that 
error off and i found this in the makefile.inc1

if cpu type does not equal target_cputype then throw that error.

  .if ${_CPUTYPE} != ${_TARGET_CPUTYPE}
  .error CPUTYPE global should be set with ?=.
___
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: buildworld problem

2012-05-19 Thread Edward M

On 05/19/2012 09:18 AM, CyberLeo Kitsana wrote:

As it says, you need CPUTYPE?=nocona instead of CPUTYPE=nocona in
/etc/make.conf or /etc/src.conf; otherwise the build process chokes
while building the 32-bit compatibility stuff, since it cannot override
your 64-bit CPU selection with a 32-bit one.



Just learned something new:-)

had a look in share/examples/etc/make.conf  file and i noticed this

# (?= allows to buildworld for a different CPUTYPE.)
___
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: Wine for Diablo 3 on FreeBSD 9.0R amd64

2012-05-19 Thread Edward M

On 05/19/2012 02:28 PM, lokada...@gmx.de wrote:

On 05/17/12 07:54, Любомир Григоров wrote:

We have to wait, unfortunately. I am using a Linux partition with Wine
meanwhile. As long as it's not mainstream, it will be hard to do. Not to
mention port is at 1.4.

FreeBSD have 2 wine- ports. :)
http://www.freebsd.org/cgi/ports.cgi?query=wine-1stype=allsektion=all
wine for 1.4 and wine-devel for 1.5

But i can't help with Diablo 3.
___
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




a user is trying  but  at the moment  is plague with wine errors.

   http://forum.winehq.org/viewtopic.php?t=15659
___
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 X?

2012-05-17 Thread Edward M

On 05/17/2012 05:36 PM, Vance Siemens wrote:

http://www.trollaxor.com/2012/05/freebsd-x-berkeley-unix-apple-quality.html
___
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
.


Screw this, I'm going over to Ubuntu.
___
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: UFS Crash and directories now missing

2012-05-11 Thread Edward M

On 05/11/2012 10:47 AM, Chad Perrin wrote:

Is there something else I should try to find in the index or table of
contents that would be in the third edition but not the fourth?  Can you
give me some examples of the sorts of things you'd expect to find in the
table of contents that is lacking in the fourth edition but present in
the third?

Hi,:-)


   So far I think I found a few that may make a difference.   According 
to  the table of contents in the 4th edition in the  chapter called 
Booting and shuting down it
   only shows entries for: red hat, HP-UX, AIX, SUSE,Ubuntu. However in 
the third edition, show entries for FreeBSD's Booting and shuting down 
process.
   And another  example is in the 4th edition the chapter called 
Adding new users, only mentions how to add users for:
SUSE, Redhat Solaris HP-UX and AIX. However in the 3rd edition, 
explains how to add users on  FreeBSD  and
how FreeBSD's master.passwd file, login.conf. work,etc  The third 
edition's chapter called
Drivers and the kernel shows how to build a freebsd kernel, 
create a BSD config file, tuning the freebsd kernel, add freebsd device  
drivers,etc.
I  was not able  to  find those entries in the the 4th editions 
Drivers and the kernel. chapter.the 3rd editions  TCP/IP chapter 
shows network config for freebsd.
   However in the table of contents of the 4th edition does not.  I'm 
searching for a website that contains  the 3rd edition table of contents 
so one can compare between

the  two editions for better judgement.
 unfortunate,  those were a few examples i have time to point out. 
I think may make a great difference.











___
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: UFS Crash and directories now missing

2012-05-11 Thread Edward M

On 05/11/2012 12:11 PM, Edward M wrote:
So far I think I found a few that may make a difference.   According 
to  the table of contents in the 4th edition in the  chapter called 
Booting and shuting down it
   only shows entries for: red hat, HP-UX, AIX, SUSE,Ubuntu. However 
in the third edition, show entries for FreeBSD's Booting and shuting 
down process.
   And another  example is in the 4th edition the chapter called 
Adding new users, only mentions how to add users for:
SUSE, Redhat Solaris HP-UX and AIX. However in the 3rd edition, 
explains how to add users on  FreeBSD  and
how FreeBSD's master.passwd file, login.conf. work,etc  The third 
edition's chapter called
Drivers and the kernel shows how to build a freebsd kernel, 
create a BSD config file, tuning the freebsd kernel, add freebsd 
device  drivers,etc.
I  was not able  to  find those entries in the the 4th editions 
Drivers and the kernel. chapter.the 3rd editions  TCP/IP chapter 
shows network config for freebsd.
   However in the table of contents of the 4th edition does not.  I'm 
searching for a website that contains  the 3rd edition table of 
contents so one can compare between

the  two editions for better judgement.
 unfortunate,  those were a few examples i have time to point out. 
I think may make a great difference. 



   I apologized,  if my email came out looking strange with chopped up/ 
uneven sentences,etc.   I have to check into that:-(

___
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: UFS Crash and directories now missing

2012-05-11 Thread Edward M

On 05/11/2012 05:18 PM, Chad Perrin wrote:

I appreciate the time you put into this.

   It was no problem at all:-)
   had fun comparing.
Now that I'm free and have more time I went over the 3rd edition 
table of contents and found a few instances
that mentions FreeBSD. In chapter Adding a Disk  describes the 
FFS, shows a freebsd fstab example file and
teaches how to add a disk in FreeBSD,etc. I  Continued  glancing  
at the contents and it appears the rest of the book is pretty much

on subjects that apply to all UNIX OS.

the fourth edition text has for some reason
basically traded FreeBSD for AIX -- which makes little sense to me.


   I found a site that it kinda shows that this is was happened, AIX 
replaced FreeBSD:-(
   mid way  through the site shows the 4th edition only focuses on  
redhat, opensuse, rhel, solaris, HPUX and IBM AIX.


http://www.admin.com/




  I

___
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: UFS Crash and directories now missing

2012-05-10 Thread Edward M

On 05/10/2012 03:45 PM, Alejandro Imass wrote:

Regarding Nemeth's I am undecided between the 4th (Unix  Linux) or
the 3rd. Please advise.


i purchased the third edition because I took a look  in the 4th the 
table of contents
 and it appears  anything   FreeBSD related   was remove and it 
only focuses on: Solaris

Linux( red hat ubuntu) and AIX. However third edition mentions BSDs


table of contents of 4th edition.

http://www.amazon.com/Linux-System-Administration-Handbook-Edition/dp/0131480057/ref=sr_1_1?s=booksie=UTF8qid=1336698969; 
sr=1-1#reader_0131480057

___
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: UFS Crash and directories now missing

2012-05-01 Thread Edward M

On 04/30/2012 10:58 PM, Robert Bonomi wrote:

Reading_both_  of McKusick's  Design of .. books, and the 'Unix System
Admininstration Handbook', by Nemeth, et al.  is a good_start_.

Having a bunch of the books from O'Reilley  Assoc. (http://www.ora.com),
especially for 'standard' tools that you need to get the most out of, is
also highly recommended.
  


   After realising  I lack ton of  knowledge, especially how the 
internals work. I'm using this advice:-) .

___
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: which filesytems zfs needs to function

2012-05-01 Thread Edward M

On 04/30/2012 05:52 PM, Adam Vande More wrote:
The filesystems are mostly arbitrary.  You really only need the rootfs 
with appropriate directories underneath.  The list provided is simply 
a concise idealized layout.



Thanks!. I will try creating different filesytems to further my 
learning of zfs. :-)

___
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: UFS Crash and directories now missing

2012-05-01 Thread Edward M

On 05/01/2012 06:43 AM, Polytropon wrote:

Except buying (good) books, you can also search for
articles on the web. For example, A Fast File System
for UNIX by M. K. McKusick is very interesting (at
least it was for me when I lost all my important data).

Some fs-related articles here:
http://www.mckusick.com/articles.html

They help you to understand how things work or what
maybe makes them stop working.:-)

Also the documentation of tools like TSK (ports/sleuthkit),
ex TCT, is very helpful in understanding all the low-level
details that_really_  matter when you_need_  to get your
hands dirty in order to perform a forensic analysis or to
recover important data. Sadly, that documentation has moved
from local storage in/usr/local/share/doc/sleuthkit/  (where
I've seen it the last time) to some on-line place or Wiki,
something_I_  consider a bad idea especially in worst case
considerations (i. e. no internet connection); the only
content in README.txt,

The docs that used to live in this directory now exist on the wiki:
http://wiki.sleuthkit.org/

doesn't make it any better, sorry.

   Thanks for the help...I will definitely check McKusick site and the docs
   I'm self learning UNIX/programming. so I need all the info and help 
I can get.:-)


___
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: UFS Crash and directories now missing

2012-04-30 Thread Edward M

On 04/30/2012 08:38 AM, Alejandro Imass wrote:

  just not very helpful or fun. This attitude will get


He is helping,you need to  learn how UFS, jails, nullfs, 
journaling, disk I/O  and other stuff work.
I have been following this thread and i must admit I also need to 
learn more on those subjects.:-)


___
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: UFS Crash and directories now missing

2012-04-30 Thread Edward M

On 04/30/2012 10:22 AM, Alejandro Imass wrote:

Oh, please! He's not helping anyone. He's just being an obnoxious
prick that thinks that by pointing out a lot of technical blabber and
some cheap philosophical posé


   I guess i was going according to the fact that i have followed his 
suggestions
   on a problem i was having and i was able to find the cause and 
solved the problem. :-)


___
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


  1   2   3   4   5   6   7   8   9   10   >