Re: searching for a good IDE

2011-03-28 Thread Fernando Apesteguía
On Mon, Mar 28, 2011 at 1:38 AM, Ilya Kazakevich
 wrote:
> If you use VI, be sure to install http://insenvim.sourceforge.net/ :)))
> Intellisense is the difference between IDE and text editor

Isn't that the same than Omni Completion[1] already present in Vim >= 7?

[1] http://vim.wikia.com/wiki/Omni_completion

>
> On Sun, Mar 27, 2011 at 10:57 PM, Chris Brennan wrote:
>
>> On Sun, Mar 27, 2011 at 2:07 PM, Chip Camden
>>  wrote:
>>
>> Quoth Charlie Kester on Sunday, 27 March 2011:
>> > >
>> > > Personally, I prefer vim.  ;)
>> > >
>> >
>> > +1
>> >
>> > Someone will object that the OP asked for an IDE.  IMO, vim Integrates
>> > quite well with the shell, make, etc.
>> >
>> >
>> vim is all one needs ... once I sat down and learned the basics of vim/vi I
>> stopped installing nano, I feel much more comfortable in vim now then any
>> other editor, even notepad. gvim on my *one* windows machine and vim
>> everywhere else makes me very happy.
>>
>> --
>> Did you know...
>> If you play a Windows 2000 CD backwards, you hear satanic messages,
>>
>> but what's worse is when you play it forward
>>                                      ...it installs Windows 2000
>>
>> -- Alfred Perlstein on chat at 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"
>>
> ___
> 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: why vim ports have personal KNOBS for options

2011-03-28 Thread David Demelier

On 27/03/2011 21:40, Subbsd wrote:

On Sun, Mar 27, 2011 at 10:48 PM, Erik Trulsson  wrote:

On Sun, Mar 27, 2011 at 10:19:44PM +0400, Subbsd wrote:

Ive wanted to ask why the option of vim port has not yet been handed
via dialog by default. Personally, to make them work, we must define
WITH_OPTIONS=yes in make.conf (or WITH_VIM_OPTIONS=yes). Life without
it is so difficult ;)


Because the maintainer of the vim port has a dislike for the OPTIONS
framework.




I expected to hear that just so happened historically. Тext question I
ask only to satisfy my interest. What OPTIONS framework basically can
someone not like it?
Цhat are the disadvantages compared to " grep define
/usr/ports///Makefile "? Maybe the other of
thousand maintainrs something not know about it?
___
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"


bapt@ made a proposal to improve the OPTION framework and it will be 
reviewed by portmgr@ soon.


This will include a improvment that obrien@ disliked much : when you 
have WITHOUT_NLS=true in your /etc/make.conf any port that use OPTIONS 
framework will not honour this knob and this is obviously painful.


The bapt@ patch correct this, so the the new OPTION framework will read 
these KNOBS (but of course there is more coming)


Cheers,

--
David Demelier
___
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"


Can't rebuild kernel with ZFS v15

2011-03-28 Thread Andre Goree

Hello,

Ever since I upgraded to 8.2 a few weeks ago, I can't seem to rebuild my  
kernel without it being built with ZFS v14 rather than v15.  This is a  
problem because I'm using root on ZFS and my box won't boot after the  
kernel rebuild and reboot.


At first I thought it was because I rebuilt the kernel without rebuilding  
world, however the same thing happens even after getting up-to-date  
sources and rebuilding world.  Anyone else having this problem?


Thanks in advance.

Andre Goree
an...@drenet.info
___
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: reverse dns in bind9

2011-03-28 Thread Tim Dunphy
Hello,

 Thanks for your reply!

  I took your advice and removed that line from resolv.conf and added
it into /etc/named/named.conf

  Now it looks like this

  // RFC 1912
zone "localhost"{ type master; file "master/localhost-forward.db"; };
zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db"; };
zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
zone "192.in-addr.arpa" { type master; file "master/summitjnhome-reverse.db"; };

 And I did a restart of both network and named but the issue remains:


LBSD2# host 192.168.1.44
Host 44.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)


On Mon, Mar 28, 2011 at 1:06 AM, Robert Bonomi  wrote:
>
>> Date: Mon, 28 Mar 2011 00:19:26 -0400
>> From: Tim Dunphy 
>> Subject: reverse dns in bind9
>>
>> Hello,
>>
>>  I am attempting to setup reverse dns in bind 9 under freebsd... this is
>>  in an attempt to allow mysql to work a little easier with DNS
>>  resolution.
>>
>>  In my /etc/named/named.conf file I have the following:
>>
>> // RFC 1912
>> zone "localhost"  { type master; file "master/localhost-forward.db"; };
>> zone "127.in-addr.arpa" { type master; ile "master/localhost-reverse.db"; };
>> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
>> zone "192.in-addr.arpa" { type master; file 
>> "master/summitjnhome-reverse.db"; };
>> zone "summitnjhome.com" { type master; file "master/summitnjhome.db"; };
>>
>>
>> My master/summitnjhome.com looks like the following:
>
> For starters, this should be in "master/summitnjhome-reerse.db"
>>
>> $TTL 3D
>> @       IN      SOA     ns1.summitnjhome.com. bluethundr.gmail.com. (
>>                         201103271 ; Serial, todays date + todays serial
>>                         8H      ; Refresh
>>                         2H      ; Retry
>>                         4W      ; Expire
>>                         1D)     ; Minimum TTL
>>                         NS      ns1.summitnjhome.com.
>>
>> summitnjhome.com.
>> 42               PTR     LCENT01.summitnjhome.com.
>> 43               PTR     LCENT02.summitnjhome.com.
>> 44               PTR     LBSD2.summitnjhome.com.
>> 45               PTR     LCENT02.summitnjhome.com.
>> 46               PTR     LCENT03.summitnjhome.com.
>> 47               PTR     LCENT04.summitnjhome.com.
>> 23               PTR     virtcent01.summitnjhome.com.
>> 24               PTR     virtcent02.summitnjhome.com.
>> 21               PTR     virtcent03.summitnjhome.com.
>> 26               PTR     virtcent04.summitnjhome.com.
>> 27               PTR     virtcent05.summitnjhome.com.
>> 28               PTR     virtcent06.summitnjhome.com.
>> 29               PTR     virtcent07.summitnjhome.com.
>> 30               PTR     virtcent08.summitnjhome.com.
>> 31               PTR     virtcent09.summitnjhome.com.
>> 32               PTR     virtcent10.summitnjhome.com.
>> 33               PTR     virtcent11.summitnjhome.com.
>> 34               PTR     virtcent12.summitnjhome.com.
>> 35               PTR     virtcent13.summitnjhome.com.
>> 36               PTR     virtcent14.summitnjhome.com.
>> 37               PTR     virtcent15.summitnjhome.com.
>> 38               PTR     virtcent16.summitnjhome.com.
>> 39               PTR     virtcent17.summitnjhome.com.
>> 40               PTR     virtcent18.summitnjhome.com.
>> 41               PTR     virtcent19.summitnjhome.com.
>>
>>
>> and my /etc/resolv.conf looks like this:
>>
>> domain  summitnjhome.com
>> nameserver     192.168.1.44
>> nameserver     4.2.2.2
>>
>> zone "1.168.192.in-addr.arpa" { type master; file
>> "/etc/named/master/summitnjhome-reverse.db"
>> };
>
> the 'zone' line  you show should *NOT* be in resolv.conf at all.
> this line should be in the  named.conf file *instead* of the one for
> the '192.in-addr.arpa' zone.
>
>> then I restart both named and the network service
>>
>> and yet if I were to try forward resolution:
>>
>> LBSD2# host sum1
>> sum1.summitnjhome.com is an alias for LCENT01.summitnjhome.com.
>> LCENT01.summitnjhome.com has address 192.168.1.42
>>
>>
>> and then reverse resolution:
>>
>> LBSD2# host 192.168.1.42
>> Host 42.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
>>
>> I have no luck. Any thoughts on this?
>
> see above.
>
>
>
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
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: ipmi is broken? (ppc0: cannot reserve I/O port range)

2011-03-28 Thread timp
May be you haven`t IPMI device on your motherboard.
Which MB model do you use?

--
View this message in context: 
http://freebsd.1045724.n5.nabble.com/ipmi-is-broken-ppc0-cannot-reserve-I-O-port-range-tp4266087p4267472.html
Sent from the freebsd-questions mailing list archive at Nabble.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: reverse dns in bind9

2011-03-28 Thread Jon Radel

On 3/28/11 7:21 AM, Tim Dunphy wrote:


Hello,

  Thanks for your reply!

   I took your advice and removed that line from resolv.conf and added
it into /etc/named/named.conf

   Now it looks like this

   // RFC 1912
zone "localhost"{ type master; file "master/localhost-forward.db"; };
zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db"; };
zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
zone "192.in-addr.arpa" { type master; file "master/summitjnhome-reverse.db"; };

  And I did a restart of both network and named but the issue remains:


LBSD2# host 192.168.1.44
Host 44.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)




Nowhere do you mention that you moved all the PTR records into the 
192.in-addr.arpa zone where they belong, as noted by Robert Bonomi.  And 
why did you change


> zone "1.168.192.in-addr.arpa" { type master; file
> >> "/etc/named/master/summitnjhome-reverse.db"
> >> };
>

to

zone "192.in-addr.arpa" { type master; file 
"master/summitjnhome-reverse.db"; };


when your PTR lines only give the last octet?  Where do you expect the 
"168.1" to come from?


--Jon Radel
j...@radel.com




Re: reverse dns in bind9

2011-03-28 Thread Peter Andreev
2011/3/28 Tim Dunphy 

> Hello,
>
>  Thanks for your reply!
>
>  I took your advice and removed that line from resolv.conf and added
> it into /etc/named/named.conf
>
>  Now it looks like this
>
>  // RFC 1912
> zone "localhost"{ type master; file "master/localhost-forward.db";
> };
> zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db";
> };
> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
> zone "192.in-addr.arpa" { type master; file
> "master/summitjnhome-reverse.db"; };
>

Robert said that you should replace 192.in-addr.arpa with
1.168.192.in-addr.arpa in your named.conf.

Your named.conf should be look like the following:

zone "localhost"{ type master; file "master/localhost-forward.db";
};
zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db";
};
zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
zone "1.168.192.in-addr.arpa" { type master; file
"master/summitjnhome-reverse.db"; };



>  And I did a restart of both network and named but the issue remains:
>
>
> LBSD2# host 192.168.1.44
> Host 44.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
>
>
> On Mon, Mar 28, 2011 at 1:06 AM, Robert Bonomi 
> wrote:
> >
> >> Date: Mon, 28 Mar 2011 00:19:26 -0400
> >> From: Tim Dunphy 
> >> Subject: reverse dns in bind9
> >>
> >> Hello,
> >>
> >>  I am attempting to setup reverse dns in bind 9 under freebsd... this is
> >>  in an attempt to allow mysql to work a little easier with DNS
> >>  resolution.
> >>
> >>  In my /etc/named/named.conf file I have the following:
> >>
> >> // RFC 1912
> >> zone "localhost"  { type master; file "master/localhost-forward.db"; };
> >> zone "127.in-addr.arpa" { type master; ile
> "master/localhost-reverse.db"; };
> >> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
> >> zone "192.in-addr.arpa" { type master; file
> "master/summitjnhome-reverse.db"; };
> >> zone "summitnjhome.com" { type master; file "master/summitnjhome.db";
> };
> >>
> >>
> >> My master/summitnjhome.com looks like the following:
> >
> > For starters, this should be in "master/summitnjhome-reerse.db"
> >>
> >> $TTL 3D
> >> @   IN  SOA ns1.summitnjhome.com. bluethundr.gmail.com. (
> >> 201103271 ; Serial, todays date + todays serial
> >> 8H  ; Refresh
> >> 2H  ; Retry
> >> 4W  ; Expire
> >> 1D) ; Minimum TTL
> >> NS  ns1.summitnjhome.com.
> >>
> >> summitnjhome.com.
> >> 42   PTR LCENT01.summitnjhome.com.
> >> 43   PTR LCENT02.summitnjhome.com.
> >> 44   PTR LBSD2.summitnjhome.com.
> >> 45   PTR LCENT02.summitnjhome.com.
> >> 46   PTR LCENT03.summitnjhome.com.
> >> 47   PTR LCENT04.summitnjhome.com.
> >> 23   PTR virtcent01.summitnjhome.com.
> >> 24   PTR virtcent02.summitnjhome.com.
> >> 21   PTR virtcent03.summitnjhome.com.
> >> 26   PTR virtcent04.summitnjhome.com.
> >> 27   PTR virtcent05.summitnjhome.com.
> >> 28   PTR virtcent06.summitnjhome.com.
> >> 29   PTR virtcent07.summitnjhome.com.
> >> 30   PTR virtcent08.summitnjhome.com.
> >> 31   PTR virtcent09.summitnjhome.com.
> >> 32   PTR virtcent10.summitnjhome.com.
> >> 33   PTR virtcent11.summitnjhome.com.
> >> 34   PTR virtcent12.summitnjhome.com.
> >> 35   PTR virtcent13.summitnjhome.com.
> >> 36   PTR virtcent14.summitnjhome.com.
> >> 37   PTR virtcent15.summitnjhome.com.
> >> 38   PTR virtcent16.summitnjhome.com.
> >> 39   PTR virtcent17.summitnjhome.com.
> >> 40   PTR virtcent18.summitnjhome.com.
> >> 41   PTR virtcent19.summitnjhome.com.
> >>
> >>
> >> and my /etc/resolv.conf looks like this:
> >>
> >> domain  summitnjhome.com
> >> nameserver 192.168.1.44
> >> nameserver 4.2.2.2
> >>
> >> zone "1.168.192.in-addr.arpa" { type master; file
> >> "/etc/named/master/summitnjhome-reverse.db"
> >> };
> >
> > the 'zone' line  you show should *NOT* be in resolv.conf at all.
> > this line should be in the  named.conf file *instead* of the one for
> > the '192.in-addr.arpa' zone.
> >
> >> then I restart both named and the network service
> >>
> >> and yet if I were to try forward resolution:
> >>
> >> LBSD2# host sum1
> >> sum1.summitnjhome.com is an alias for LCENT01.summitnjhome.com.
> >> LCENT01.summitnjhome.com has address 192.168.1.42
> >>
> >>
> >> and then reverse resolution:
> >>
> >> LBSD2# host 192.168.1.42
> >> Host 42.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
> >>
> >> I have no luck. Any thoughts on this?
> >
> > see above.
> >
> >
> >
> >
>
>
>
> --
> GPG me!!
>
>

Subscriber, Loyalty Discount from Printer Cartridges Please

2011-03-28 Thread Printer Cartridges Please

Dear Subscriber,
As a thank you for your continued business, we would like to offer you another 
loyalty discount.
Just use the coupon code: THANKS at www.printercartridgesplease.co.uk ( 
http://www.printercartridgesplease.co.uk/ ) before midnight on Thursday 31st 
March to receive 20% off all remanufactured or compatible cartridges and 10% 
off all original equipment manufacturers [OEM] cartridges.
*Please note that we cannot honour any other discounts used in conjunction with 
this code and this discount cannot be applied to previous orders.
Thanks again for your business. We consistently strive to improve our quality 
of service and to make things easier for you. If you would like to give us a 
list of your current printers wed be delighted to supply you with a 
personalised quotation for the cartridges we can offer. Alternatively, please 
dont hesitate to pick up the phone . Were busting to help!
Best Regards
The Printer Cartridges Please Team
sa...@printercartridgesplease.co.uk
This message was sent to the following e-mail address: questi...@freebsd.org. If you would prefer not to receive any further e-mails from us, please just click here ( http://www.printercartridgesplease.co.uk/unsubscribe/questi...@freebsd.org ). Our email marketing policy can be read here ( http://www.printercartridgesplease.co.uk/acatalog/printer-cartridges-please-email-marketing-policy.html ).

3WM Ltd T/A Printer Cartridges Please
Hollis Road, Grantham, Lincolnshire, NG31 7QH
Tel: 0845 072 7227 -or- 01476 515 937
Fax: 0845 071 0759___
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: reverse dns in bind9

2011-03-28 Thread Tim Dunphy
Ok guys.. I totally get it now and sorry for the misunderstanding. I'm
really looking forward to getting this working but might not get a
chance to try this again until this evening. time. where does it go?
don't know but I certainly appreciate yourst!

On Mon, Mar 28, 2011 at 8:01 AM, Peter Andreev  wrote:
> 2011/3/28 Tim Dunphy 
>
>> Hello,
>>
>>  Thanks for your reply!
>>
>>  I took your advice and removed that line from resolv.conf and added
>> it into /etc/named/named.conf
>>
>>  Now it looks like this
>>
>>  // RFC 1912
>> zone "localhost"        { type master; file "master/localhost-forward.db";
>> };
>> zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db";
>> };
>> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
>> zone "192.in-addr.arpa" { type master; file
>> "master/summitjnhome-reverse.db"; };
>>
>
> Robert said that you should replace 192.in-addr.arpa with
> 1.168.192.in-addr.arpa in your named.conf.
>
> Your named.conf should be look like the following:
>
> zone "localhost"        { type master; file "master/localhost-forward.db";
> };
> zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db";
> };
> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
> zone "1.168.192.in-addr.arpa" { type master; file
> "master/summitjnhome-reverse.db"; };
>
>
>
>>  And I did a restart of both network and named but the issue remains:
>>
>>
>> LBSD2# host 192.168.1.44
>> Host 44.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
>>
>>
>> On Mon, Mar 28, 2011 at 1:06 AM, Robert Bonomi 
>> wrote:
>> >
>> >> Date: Mon, 28 Mar 2011 00:19:26 -0400
>> >> From: Tim Dunphy 
>> >> Subject: reverse dns in bind9
>> >>
>> >> Hello,
>> >>
>> >>  I am attempting to setup reverse dns in bind 9 under freebsd... this is
>> >>  in an attempt to allow mysql to work a little easier with DNS
>> >>  resolution.
>> >>
>> >>  In my /etc/named/named.conf file I have the following:
>> >>
>> >> // RFC 1912
>> >> zone "localhost"  { type master; file "master/localhost-forward.db"; };
>> >> zone "127.in-addr.arpa" { type master; ile
>> "master/localhost-reverse.db"; };
>> >> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
>> >> zone "192.in-addr.arpa" { type master; file
>> "master/summitjnhome-reverse.db"; };
>> >> zone "summitnjhome.com" { type master; file "master/summitnjhome.db";
>> };
>> >>
>> >>
>> >> My master/summitnjhome.com looks like the following:
>> >
>> > For starters, this should be in "master/summitnjhome-reerse.db"
>> >>
>> >> $TTL 3D
>> >> @       IN      SOA     ns1.summitnjhome.com. bluethundr.gmail.com. (
>> >>                         201103271 ; Serial, todays date + todays serial
>> >>                         8H      ; Refresh
>> >>                         2H      ; Retry
>> >>                         4W      ; Expire
>> >>                         1D)     ; Minimum TTL
>> >>                         NS      ns1.summitnjhome.com.
>> >>
>> >> summitnjhome.com.
>> >> 42               PTR     LCENT01.summitnjhome.com.
>> >> 43               PTR     LCENT02.summitnjhome.com.
>> >> 44               PTR     LBSD2.summitnjhome.com.
>> >> 45               PTR     LCENT02.summitnjhome.com.
>> >> 46               PTR     LCENT03.summitnjhome.com.
>> >> 47               PTR     LCENT04.summitnjhome.com.
>> >> 23               PTR     virtcent01.summitnjhome.com.
>> >> 24               PTR     virtcent02.summitnjhome.com.
>> >> 21               PTR     virtcent03.summitnjhome.com.
>> >> 26               PTR     virtcent04.summitnjhome.com.
>> >> 27               PTR     virtcent05.summitnjhome.com.
>> >> 28               PTR     virtcent06.summitnjhome.com.
>> >> 29               PTR     virtcent07.summitnjhome.com.
>> >> 30               PTR     virtcent08.summitnjhome.com.
>> >> 31               PTR     virtcent09.summitnjhome.com.
>> >> 32               PTR     virtcent10.summitnjhome.com.
>> >> 33               PTR     virtcent11.summitnjhome.com.
>> >> 34               PTR     virtcent12.summitnjhome.com.
>> >> 35               PTR     virtcent13.summitnjhome.com.
>> >> 36               PTR     virtcent14.summitnjhome.com.
>> >> 37               PTR     virtcent15.summitnjhome.com.
>> >> 38               PTR     virtcent16.summitnjhome.com.
>> >> 39               PTR     virtcent17.summitnjhome.com.
>> >> 40               PTR     virtcent18.summitnjhome.com.
>> >> 41               PTR     virtcent19.summitnjhome.com.
>> >>
>> >>
>> >> and my /etc/resolv.conf looks like this:
>> >>
>> >> domain  summitnjhome.com
>> >> nameserver     192.168.1.44
>> >> nameserver     4.2.2.2
>> >>
>> >> zone "1.168.192.in-addr.arpa" { type master; file
>> >> "/etc/named/master/summitnjhome-reverse.db"
>> >> };
>> >
>> > the 'zone' line  you show should *NOT* be in resolv.conf at all.
>> > this line should be in the  named.conf file *instead* of the one for
>> > the '192.in-addr.arpa' zone.
>> >
>> >> then I restart both named and the network service
>> >>
>>

Re: FreeBSD mirror server on a Debian operating system?

2011-03-28 Thread Csanyi Pal
Gökşin Akdeniz  writes:

>> So my question is: can I have a mirror of a FreeBSD server on my public
>> server that run already a Debian operating system?

> Instead of working with packages, I suggest working with ports. As you
> have already installed a base system, you can install anything with ports.

OK, I tried with 'portsnap fetch' command as root too, but it stall too:
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Mon Mar 28 02:04:59 CEST 2011:
'here is a long word of letters and numbers' 18% of 64 MB 341 kBps
02m38s

Here (or at 67%, or at.. but never reach 100%) stall the download. :(
What can I do to solve this problem?

-- 
Regards, Paul



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


Hierachical jails devfs and rc.conf

2011-03-28 Thread Holger Freyther
Hi all,

in FreeBSD 8.2-RELEASE it does not seem to be possible to pass children.max=X 
to a jail via rc.conf. What would be the best way of doing this? The next issue
is what kind of security review/testing is needed to declare nullfs jailsafe but
for now I can still bind my paths.

My biggest problem right now is the devfs. Is it possible to have /dev
statically populated and have it work inside a jail? E.g. an attempt to create
/dev/null and have it available to the jail is failing, I was cheating and
binding (via nullfs) a /dev from another jail and it started but I am having
difficulties when building things from the ports tree and it seems to be /dev
related.

So really quick question. Is there a way to statically populate the dev tree
with the minimum of needed descriptors? A first try with mknod /jail/dev/null
c 0... did not seem to work.

regards
  holger

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


Slow filesystem sync after upgrading from 8.0 to 8.2?

2011-03-28 Thread Thomas Johnson
Since upgrading one of our servers to FreeBSD 8.2 (from 8.0p2), we have
noticed that one of our shell scripts has begun failing. This particular
script is run by cron every morning and backs up the configuration files of
our routers. The script calls an expect script that connects to the routers
and has them push their config to the server using tftp. The script then
does some housekeeping on the resulting file. Since upgrading to 8.2, the
problem we see is that the file resulting from the tftp operation does not
seem to have any contents for ~ 5 seconds after the copy.

The script is pasted below. Trouble starts around line 31, when the script
greps to see that the hostname of the router exists in the tftp'd file (as a
basic verification of the copy). Grep reports back that no match is found.
I've found that by inserting a 'sleep 5' instruction before line 31, the
grep command works, and the script completes successfully. I have also
verified that the tftp transfer is completing before the script continues on
to the grep check.

For the sake of completeness, I have also included the lines I've added to
the script to make it behave, the syslog output showing that the tftp
transfer completes when expected, and [relevant] trace output of the script
before and after adding the sleep statement.

Does anyone have any idea what may have changed between 8.0 and 8.2 to cause
this behavior? Nothing directly related to this script changed, aside from
the OS upgrade. I'm not too proud to admit that this script isn't the
greatest and could be improved; but I would like to know why a script that
worked fine before, now fails. Also, if there is something that needs to be
tweaked in 8.2, I want to make sure I'm not just fixing a symptom.

#
# Script
#

 1#!/bin/sh
 2
 3
 4# Program Header
 5echo "NETwork-INFrastructure backup script."
 6echo
 7echo "Started: `date`."
 8echo "Executed from: `hostname`"
 9echo
10
11
12
13### Define static variables here
14
15expect=/usr/local/bin/expect
16working_dir=/d/net-infrastructure
17script_dir=$working_dir/scripts
18starttime=`date '+%s'`
19backup_error=0
20too_old=90
21curr_ts=`date '+%Y%m%d.%H%M%S'`
22log_file="$working_dir"/`date '+%A'`.log
23
24
25# Define functions here.
26
27
28run_backup () {
29printf "%-38s" "Backing up $1"
30expect "$script_dir"/"$1".exp >> $log_file
31grep -qi $1 $working_dir/$1.test
32if [ $? = 0 ]; then
33echo "COMPLETE"
34printf "%-38s" "> Rotating $1"
35mv -f "$working_dir"/$1.test
"$working_dir"/$1/"$curr_ts".$1.bak >> $log_file
36if [ $? = 0 ]; then
37echo "COMPLETE"
38else
39echo "...ERROR"
40backup_error=1
41fi
42
43else
44echo "   ERROR"
45backup_error=1
46fi
47}
48
49
50 Program Execution HERE #
51
52# Overwrite existing log file.
53echo `date` > $log_file
54
55# If expect doesn't exist on this system, exit
56
57if [ ! -e "/usr/local/bin/expect" ]; then
58echo "EXPECT doesn't exist on this system.  Please install and
try again." > /dev/stderr
59exit 1
60fi
61
62# Call the function run_backup for each host in our system.
63echo "=="
64run_backup "router1"
65run_backup "router2"
66echo
67echo "=="
68
69# Check to see if there were any errors during the execution of
our script.
70# If there are, send message to /dev/stderr and to syslog in
/var/log/messages.
71
72if [ $backup_error = 0 ]; then
73echo "  Cicso Backups complete."
74else
75echo " Cisco Backups completed with errors."
76echo "Cisco backups have failed.  Please see log file on
`hostname`: $log_file" > /dev/stderr
77logger "### Cisco Errors ###"
78logger "Cisco backups have failed.  Please see log file
$log_file."
79logger "### Cisco Errors ###"
80fi
81echo "=="
82echo "Removing stale files older than $too_old days."
83find $working_dir -type f -maxdepth 2 -mtime +${too_old}d -name
"*.bak" -print0 | xargs -0 rm -f
84run_time=$(( `date '+%s'` - "$starttime" ))
85echo "Run Time: $run_time seconds."

#
# Code inserted between lines 30 & 31
#


Re: Hierachical jails devfs and rc.conf

2011-03-28 Thread Adam Vande More
On Mon, Mar 28, 2011 at 10:14 AM, Holger Freyther wrote:

> So really quick question. Is there a way to statically populate the dev
> tree
> with the minimum of needed descriptors? A first try with mknod
> /jail/dev/null
> c 0... did not seem to work.
>

http://www.freebsd.org/doc/handbook/jails-build.html

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


Re: Hierachical jails devfs and rc.conf

2011-03-28 Thread Holger Hans Peter Freyther
On 03/28/2011 07:06 PM, Adam Vande More wrote:
> On Mon, Mar 28, 2011 at 10:14 AM, Holger Freyther  > wrote:
> 
> So really quick question. Is there a way to statically populate the dev 
> tree
> with the minimum of needed descriptors? A first try with mknod 
> /jail/dev/null
> c 0... did not seem to work.
> 
> 
> http://www.freebsd.org/doc/handbook/jails-build.html

The question is about hierarchical jails. Having jail_NAME_devfs_enable="YES"
inside a jail is not working as devfs is not a jail friendly fs. So I mount
devfs as part of the /etc/fstab.MYJAIL on 'root' but then by default the whole
devfs will be visible to child jails.

So my two questions are really:
- In rc.conf is there a variable I can use to pass children.max=N to
  one of the jails?
- Is there a way to have a 'default' devfs rule for certain
  mountpoints? E.g. can a rule be applied at mount time?

___
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 mirror server on a Debian operating system?

2011-03-28 Thread Gökşin Akdeniz
> Fetching snapshot generated at Mon Mar 28 02:04:59 CEST 2011:
> 'here is a long word of letters and numbers' 18% of 64 MB 341 kBps
> 02m38s
> 
> Here (or at 67%, or at.. but never reach 100%) stall the download. :(
> What can I do to solve this problem?
> 
It looks like a network trouble. If portsnap fails to fetch, stop and
kill portsnap process then rerun it. when portsnap fetches all portstree
snapshot, run portsnap extract. It will update the ports tree.

Another way of getting an upto date ports tree is cvsup. consult the man
page of csup(1) -csup is cvsup- and sample configuration files are in
/usr/share/example/cvsup directory.


I hope that helps.
-- 
Gökşin Akdeniz (Gökşin Akdeniz) 
Anahtar parmakizi = FE10 8C14 A144 4FDE BE18  D5E3 E758 F49A 8A5D F8AE
[Son kullanma tarihi: 2011-06-08]



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD mirror server on a Debian operating system?

2011-03-28 Thread David Brodbeck
On Sun, Mar 27, 2011 at 3:46 PM,   wrote:
> Chris Brennan  wrote:
>
>> ... the list does not 'mail-back' your e-mail ...
>> i.e. you do not see your own post until someone replies to it.
>
> ... unless you go to the subscription page and select the option
> to be sent your own posts :)

...which likely still won't work on Gmail, because it filters
mail-backs by default...
___
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 mirror server on a Debian operating system?

2011-03-28 Thread Paul Chany

2011-03-28 20:21 keltezéssel, Gökşin Akdeniz írta:

Fetching snapshot generated at Mon Mar 28 02:04:59 CEST 2011:
'here is a long word of letters and numbers' 18% of 64 MB 341 kBps
02m38s

Here (or at 67%, or at.. but never reach 100%) stall the download. :(
What can I do to solve this problem?

 

It looks like a network trouble. If portsnap fails to fetch, stop and
kill portsnap process then rerun it. when portsnap fetches all portstree
snapshot, run portsnap extract. It will update the ports tree.
   

Finally I have success running 'portsnap fetch' command! :)
I must rerun it once or twice after I kill it with Control-C.

I'm reading now 'man ports' and
http://www.freebsd.org/doc/handbook/ports-using.html

Thanks for your help! :)

--
Regards,
Paul Csanyi

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


Unable to update "dirmngr"

2011-03-28 Thread Jerry
FreeBSD-8.2

Several attempts to update the "dirmngr" port have failed.

The build log:

Script started on Mon Mar 28 14:35:46 2011
make
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Found saved configuration for dirmngr-1.1.0_7
===>  Extracting for dirmngr-1.1.0_7
=> SHA256 Checksum OK for dirmngr-1.1.0.tar.bz2.
=> SHA256 Checksum OK for dirmngr-1.1.0.tar.bz2.sig.
===>  Patching for dirmngr-1.1.0_7
===>   dirmngr-1.1.0_7 depends on executable: gmake - found
===>   dirmngr-1.1.0_7 depends on shared library: assuan.0 - found
===>   dirmngr-1.1.0_7 depends on shared library: gcrypt.17 - found
===>   dirmngr-1.1.0_7 depends on shared library: gpg-error.0 - found
===>   dirmngr-1.1.0_7 depends on shared library: ksba.19 - found
===>   dirmngr-1.1.0_7 depends on shared library: pth - found
===>   dirmngr-1.1.0_7 depends on shared library: ldap-2.4.8 - found
===>   dirmngr-1.1.0_7 depends on shared library: iconv.3 - found
===>  Configuring for dirmngr-1.1.0_7
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking build system type... amd64-portbld-freebsd8.2
checking host system type... amd64-portbld-freebsd8.2
configure: autobuild project... dirmngr
configure: autobuild revision... 1.1.0
configure: autobuild hostname... scorpio.seibercom.net
configure: autobuild timestamp... 20110328-143548
checking for style of include used by gmake... GNU
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gawk... (cached) gawk
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cpp
checking whether cc understands -c and -o together... yes
checking whether ln -s works... yes
checking whether gmake sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking if gcc supports -Wno-pointer-sign... yes
checking for cc for build... cc
checking whether NLS is requested... no
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking whether to use NLS... no
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so
-Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration... install-shextern size_t iconv
(iconv_t cd, const char * *inbuf, size_t *inbytesleft, char * *outbuf,
size_t *outbytesleft);
checking for vasprintf... yes
checking for pth-config... /usr/local/bin/pth-config
checking for PTH - version >= 1.3.7... yes
checking whether PTH installation is sane... yes
checking for gpg-error-config... /usr/local/bin/gpg-error-config
checking for GPG Error - version >= 1.4... yes
checking for libgcrypt-config... /usr/local/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.4.0... yes
checking LIBGCRYPT API version... okay
checking for libassuan-config... /usr/local/bin/libassuan-config
checking for LIBASSUAN - version >= 2.0.0... yes
checking LIBASSUAN API version... okay
checking for libassuan-con

use CD burner on thinkpad x300

2011-03-28 Thread Alokat

Hi,

how can I use the CD burner on my Thinkpad x300?
If I start Brasero I just get "Please replace the disc with a supported 
CD or DVD".


I have added atapicam_load="YES" to /boot/loader.conf but it doesn't 
work 


Regards,
alokat
___
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: Unable to update "dirmngr"

2011-03-28 Thread Jens Jahnke
Hi,

On Mon, 28 Mar 2011 14:41:26 -0400
Jerry  wrote:

J> checking for canonicalize_file_name... no
J> configure:
J> ***
J> *** You need a LDAP library to build this program.
J> *** Check out
J> ***http://www.openldap.org
J> *** for a suitable implementation.
J> ***
J> configure: error:
J> ***
J> *** Required libraries not found. Please consult the above messages
J> *** and install them before running configure again.
J> ***
J> ===>  Script "configure" failed unexpectedly.
J> Please report the problem to u...@ueo.co.jp [maintainer] and attach
J> the "/usr/ports/security/dirmngr/work/dirmngr-1.1.0/config.log"
J> including the output of the failure of your make command. Also, it
J> might be a good idea to provide an overview of all packages
J> installed on your system (e.g. an `ls /var/db/pkg`).
J> *** Error code 1
J> 
J> Stop in /usr/ports/security/dirmngr.
J> 
J> Script done on Mon Mar 28 14:35:53 2011
J> 
J> I have deinstalled and reinstalled LDAP, both server and client and
J> they are working.

I can confirm this. I have the problem on 3 freebsd boxes all running
8.2.

Regards,

Jens

-- 
28. Lenzing 2011, 22:24
Homepage : http://www.jan0sch.de

It may be bad manners to talk with your mouth full, but it isn't too
good either if you speak when your head is empty.
___
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: msk0 interface stops working when downloading

2011-03-28 Thread Andrew Moran

To close the loop on this, I upgraded the latest freebsd current (8.2) and it 
now seems to work with the integrated chip.Huzzah.

--Andy


On Dec 2, 2010, at 10:10 PM, Andrew Moran wrote:

> Good to know about the GB switch vs 100MB switch. 
> 
> But rather than downgrade my switch, I went ahead and bought a NIC and 
> installed it and will just ignore the onboard Marvel one until it someday 
> works :) 
> 
> --Andy
> 
> On Nov 29, 2010, at 11:03 AM, Gary Gatten wrote:
> 
>> 
>> 
>> -Original Message-
>> From: owner-freebsd-questi...@freebsd.org 
>> [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of John Baldwin
>> Sent: Monday, November 29, 2010 8:54 AM
>> To: freebsd-curr...@freebsd.org
>> Cc: Andrew Moran; freebsd-questions@freebsd.org
>> Subject: Re: msk0 interface stops working when downloading
>> 
>> On Tuesday, November 23, 2010 6:25:06 pm Andrew Moran wrote:
>>> 
>>> Hey guys,
>>> 
>>> After banging my head against this for a few hours, I've decided to ask for 
>> help.  I installed FreeBSD 8.1 amd64 on a Shuttle J1 4100 system (tech 
>> specs here http://us.shuttle.com/J1_4100.aspx).   I installed from DVD and 
>> the 
>> install went fine.
>>> 
>>> I notice when I pkg_add -r anything,  the network stops responding. 
>>> 
>>> Some details:
>>> 
>>> 1) I can reproduce it 100% by downloading a large file. low traffic 
>>> like 
>> the SSH connection does not trigger it.   I think it's being triggered by 
>> traffic above a certain rate. 
>>> 2) I can recover by restarting the network interfaces (/etc/rc.d/netif 
>>> stop;  
>> /etc/rc.d/netif start)
>>> 3) I see no errors in dmesg or /var/log/messages.  Nothing at all.
>>> 4) I've tried the following in /etc/sysctl.conf:
>>> net.inet.tcp.tso=0
>>> net.inet.tcp.inflight.enable=0
>>> 
>>> and in /boot/loader.conf:
>>> hw.pci.enable_msix="0"
>>> hw.pci.enable_msi="0"
>>> hw.bce.tso_enable="0"
>>> 
>>> But the problem persists.
>>> 
>>> The interface is identified as:
>>> 
>>> mskc0:  port 0xe800-0xe8ff mem 
>> 0xfebfc000-0xfebf irq 17 at device 0.0 on pci2
>>> msk0:  on 
>> mskc0
>>> msk0: Ethernet address: 80:ee:73:01:60:7d
>>> miibus0:  on msk0
>>> e1000phy0:  PHY 0 on miibus0
>>> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
>> 1000baseT-FDX, auto
>>> mskc0: [ITHREAD]
>> 
>> When I've seen this on my netbook I did a tcpdump on another machien on the 
>> same hub and found that my msk0 device was spewing an endless stream of 
>> pause 
>> frames.  I've only had this problem with a gigE switch, it works fine for me 
>> on a 10/100 switch.
>> 
>> -- 
>> John Baldwin
>> ___
>> 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"
>> 
>> 
>> " When I've seen this on my netbook I did a tcpdump on another machien on 
>> the same hub and found that my msk0 device was spewing an endless stream of 
>> pause frames. "
>> 
>> If there's an option to disable Ethernet flow control, (commonly used on Gig 
>> stuff) perhaps disabling it will prevent the unwanted "spewing".  Unwaanted 
>> spewing is always bad.
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> "This email is intended to be reviewed by only the intended recipient
>> and may contain information that is privileged and/or confidential.
>> If you are not the intended recipient, you are hereby notified that
>> any review, use, dissemination, disclosure or copying of this email
>> and its attachments, if any, is strictly prohibited.  If you have
>> received this email in error, please immediately notify the sender by
>> return email and delete this email from your system."
>> 
>> 
> 
> ___
> freebsd-curr...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-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: Unable to update "dirmngr"

2011-03-28 Thread Jerry
On Mon, 28 Mar 2011 22:25:52 +0200
Jens Jahnke  articulated:

> I can confirm this. I have the problem on 3 freebsd boxes all running
> 8.2.

I don't know if anyone has filed a PR against this or not. If it is not
fixed by tomorrow and no one else files one, I will.

-- 
Jerry ✌
freebsd.u...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__
___
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: use CD burner on thinkpad x300

2011-03-28 Thread Polytropon
On Mon, 28 Mar 2011 21:48:37 +0200, Alokat  wrote:
> Hi,
> 
> how can I use the CD burner on my Thinkpad x300?
> If I start Brasero I just get "Please replace the disc with a supported 
> CD or DVD".
> 
> I have added atapicam_load="YES" to /boot/loader.conf but it doesn't 
> work 

Did you already try "low level" diagnostics, i. e. checking
the output of "camcontrol devlist" and try to burn a CD or
DVD using growisofs / cdrecord / cdrdao? This should tell
you if you're fighting a nonfunctioning CD burner or just
a lazy application. :-)


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


Cannot boot from ZFS (GPT) after 8.1 to 8.2 upgrade

2011-03-28 Thread Pratyush Dayal
I had used this   guide to 
setup FreeBSD 8.1 in a ZFS mirrored configuration using GPT. I have the 
following setup:

% gpart show
=>63  1250263665  ad4  MBR  (596G)
  63  12502636651  freebsd  [active]  (596G)

=> 0  1250263665  ad4s1  BSD  (596G)
   0 2097152  1  freebsd-ufs  (1.0G)
 2097152 8388608  2  freebsd-swap  (4.0G)
1048576010377216  4  freebsd-ufs  (4.9G)
20862976 1048576  5  freebsd-ufs  (512M)
21911552  1228352113  6  freebsd-ufs  (586G)

=>34  1953525101  ad5  GPT  (932G)
  34 1281  freebsd-boot  (64K)
 162 41943042  freebsd-swap  (2.0G)
 4194466  19493306693  freebsd-zfs  (930G)

=>34  1953525101  ad6  GPT  (932G)
  34 1281  freebsd-boot  (64K)
 162 41943042  freebsd-swap  (2.0G)
 4194466  19493306693  freebsd-zfs  (930G)

After the release of FreeBSD-8.2, I upgraded the system using the procedure 
described in the handbook (with some changed options for ZFS). Here are the 
steps that I used:

# cd /usr/src
# make buildworld
# make buildkernel
# make installkernel
# shutdown -r now

Then booted the system in single-user mode and did the following:

# adjkerntz -i
# zfs mount -a <-(Changed from: mount -a -t ufs)
# mergemaster -p
# cd /usr/src
# make installworld
# mergemaster

However, 'mergemaster' (after installworld) complained that it cannot install 
the files as the file system is read-only. Therefore, I did the following:

# zfs set readonly=off zroot

The 'mergemaster' finished successfully after this and all the required files 
were installed. Now, when I reboot the system, it cannot load the kernel. I get 
the following messages and subsequently loader prompt.

'definitions not found'
'forth not found'
'can't load kernel'

My /boot/loader.conf has following lines pertaining to zfs:

zfs_load="YES"
vfs.root.mountfrom="zfs:zroot"

I managed to import the ZFS pool by booting through MBR disk with UFS partition 
(ad4...see above) which also has FreeBSD 8.2.

# zpool import -f -R /altroot zroot
# mkdir /mnt/zroot
# mount -t zfs zroot /mnt/zroot
# zfs list

NAMEUSED  AVAIL  REFER  MOUNTPOINT
zroot  16.1G   897G   819M  legacy
zroot/tmp  9.03M   897G  9.03M  /altroot/tmp
zroot/usr  15.1G   897G  8.63G  /altroot/usr
zroot/usr/home  432M   897G   432M  /altroot/usr/home
zroot/usr/ports5.76G   897G  73.1M  /altroot/usr/ports
zroot/usr/ports/distfiles  5.69G   897G  5.69G  /altroot/usr/ports/distfiles
zroot/usr/ports/packages 20K   897G20K  /altroot/usr/ports/packages
zroot/usr/src   309M   897G   309M  /altroot/usr/src
zroot/var   208M   897G   588K  /altroot/var
zroot/var/crash21.5K   897G  21.5K  /altroot/var/crash
zroot/var/db202M   897G   161M  /altroot/var/db
zroot/var/db/pkg   41.7M   897G  41.7M  /altroot/var/db/pkg
zroot/var/empty  20K   897G20K  /altroot/var/empty
zroot/var/log   842K   897G   842K  /altroot/var/log
zroot/var/mail 70.5K   897G  70.5K  /altroot/var/mail
zroot/var/run97K   897G97K  /altroot/var/run
zroot/var/tmp  4.11M   897G  4.11M  /altroot/var/tmp

Please help me troubleshooting the problem. I have posted this problem on 
FreeBSD forums...please see this thread 
...where it has been 
suggested that the required bits of /boot/loader or /boot/zfsloader are 
missing. I do not know how to proceed further!


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


webcamd vs rc.conf

2011-03-28 Thread Steven Friedrich
I have enable_webcamd="YES" in rc.conf

If I comment it out, it complains, and in, it complains.

None of these are going into any log file.  They do not get reported by a 
subsequent invocation of dmesg.
___
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"


PyWiFi plasmoid v 1.0

2011-03-28 Thread Steven Friedrich
I can't get this to work.  Anybdy get it to work?

I figured out the dataengine part.  But this thing doesn't have any 
configuration/settings.  How will it know to look for wlan0?
___
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: webcamd vs rc.conf

2011-03-28 Thread Ryan Coleman
I think you're backwards.

I think it should be:
webcamd_enable="YES"

What happens when you use that?

--
Ryan
On Mar 28, 2011, at 6:18 PM, Steven Friedrich wrote:

> I have enable_webcamd="YES" in rc.conf
> 
> If I comment it out, it complains, and in, it complains.
> 
> None of these are going into any log file.  They do not get reported by a 
> subsequent invocation of dmesg.
> ___
> 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"


dragon player video not displayed in window.

2011-03-28 Thread Steven Friedrich
It used to display in the window and I could switch back and forth from Full 
screen mode to window.

-- 
System Name: doris.StevenFriedrich.org
Window Manager(s):   kde4-4.6.1 
X Window System: xorg-7.5.1X.Org X Server 1.7.7
OS version:  FreeBSD 8.2-RELEASE i386 (5.9 MB kernel)
Platform:HP pavilion zd8000 (zd8215us)
CPU: 2.40GHz Intel Pentium 4 with 511 MB memory

FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
Installed devices:
pcm0:  (play/rec) default
___
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: webcamd vs rc.conf

2011-03-28 Thread Steven Friedrich
It was just a typo.  I had been using this for awhile, and recent changes made 
it act weird.  It didn't act weird under 8.1.

___
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: reverse dns in bind9

2011-03-28 Thread Tim Dunphy
hello list,

 I was able to make that correction:

zone "1.168.192.in-addr.arpa" { type master; file "master/summitnjhome-reverse.d
b"; };
zone "summitnjhome.com" { type master; file "master/summitnjhome.db"; };


is now in named.conf. otherwise named.conf is identical to the way it
is higher up in the thread, and summitnjhome-reverse.db is untouched.

But as of now, forward lookups work, but reverse time out:

LBSD2# host sum1
sum1.summitnjhome.com is an alias for LCENT01.summitnjhome.com.
LCENT01.summitnjhome.com has address 192.168.1.42

LBSD2# nslookup sum1
Server: 192.168.1.44
Address:192.168.1.44#53
sum1.summitnjhome.com   canonical name = LCENT01.summitnjhome.com.
Name:   LCENT01.summitnjhome.com
Address: 192.168.1.42

LBSD2# host 192.168.1.42
;; connection timed out; no servers could be reached

LBSD2# nslookup 192.168.1.42
;; Got SERVFAIL reply from 192.168.1.44, trying next server
;; connection timed out; no servers could be reached


Now I could probably understand it FAILING due to perhaps a type-o in
the config. But I am genuinely curious as to how forward lookups will
work and reverse lookups time out.

regards
tim

On Mon, Mar 28, 2011 at 9:36 AM, Tim Dunphy  wrote:
> Ok guys.. I totally get it now and sorry for the misunderstanding. I'm
> really looking forward to getting this working but might not get a
> chance to try this again until this evening. time. where does it go?
> don't know but I certainly appreciate yourst!
>
> On Mon, Mar 28, 2011 at 8:01 AM, Peter Andreev  
> wrote:
>> 2011/3/28 Tim Dunphy 
>>
>>> Hello,
>>>
>>>  Thanks for your reply!
>>>
>>>  I took your advice and removed that line from resolv.conf and added
>>> it into /etc/named/named.conf
>>>
>>>  Now it looks like this
>>>
>>>  // RFC 1912
>>> zone "localhost"        { type master; file "master/localhost-forward.db";
>>> };
>>> zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db";
>>> };
>>> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
>>> zone "192.in-addr.arpa" { type master; file
>>> "master/summitjnhome-reverse.db"; };
>>>
>>
>> Robert said that you should replace 192.in-addr.arpa with
>> 1.168.192.in-addr.arpa in your named.conf.
>>
>> Your named.conf should be look like the following:
>>
>> zone "localhost"        { type master; file "master/localhost-forward.db";
>> };
>> zone "127.in-addr.arpa" { type master; file "master/localhost-reverse.db";
>> };
>> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
>> zone "1.168.192.in-addr.arpa" { type master; file
>> "master/summitjnhome-reverse.db"; };
>>
>>
>>
>>>  And I did a restart of both network and named but the issue remains:
>>>
>>>
>>> LBSD2# host 192.168.1.44
>>> Host 44.1.168.192.in-addr.arpa. not found: 3(NXDOMAIN)
>>>
>>>
>>> On Mon, Mar 28, 2011 at 1:06 AM, Robert Bonomi 
>>> wrote:
>>> >
>>> >> Date: Mon, 28 Mar 2011 00:19:26 -0400
>>> >> From: Tim Dunphy 
>>> >> Subject: reverse dns in bind9
>>> >>
>>> >> Hello,
>>> >>
>>> >>  I am attempting to setup reverse dns in bind 9 under freebsd... this is
>>> >>  in an attempt to allow mysql to work a little easier with DNS
>>> >>  resolution.
>>> >>
>>> >>  In my /etc/named/named.conf file I have the following:
>>> >>
>>> >> // RFC 1912
>>> >> zone "localhost"  { type master; file "master/localhost-forward.db"; };
>>> >> zone "127.in-addr.arpa" { type master; ile
>>> "master/localhost-reverse.db"; };
>>> >> zone "255.in-addr.arpa" { type master; file "master/empty.db"; };
>>> >> zone "192.in-addr.arpa" { type master; file
>>> "master/summitjnhome-reverse.db"; };
>>> >> zone "summitnjhome.com" { type master; file "master/summitnjhome.db";
>>> };
>>> >>
>>> >>
>>> >> My master/summitnjhome.com looks like the following:
>>> >
>>> > For starters, this should be in "master/summitnjhome-reerse.db"
>>> >>
>>> >> $TTL 3D
>>> >> @       IN      SOA     ns1.summitnjhome.com. bluethundr.gmail.com. (
>>> >>                         201103271 ; Serial, todays date + todays serial
>>> >>                         8H      ; Refresh
>>> >>                         2H      ; Retry
>>> >>                         4W      ; Expire
>>> >>                         1D)     ; Minimum TTL
>>> >>                         NS      ns1.summitnjhome.com.
>>> >>
>>> >> summitnjhome.com.
>>> >> 42               PTR     LCENT01.summitnjhome.com.
>>> >> 43               PTR     LCENT02.summitnjhome.com.
>>> >> 44               PTR     LBSD2.summitnjhome.com.
>>> >> 45               PTR     LCENT02.summitnjhome.com.
>>> >> 46               PTR     LCENT03.summitnjhome.com.
>>> >> 47               PTR     LCENT04.summitnjhome.com.
>>> >> 23               PTR     virtcent01.summitnjhome.com.
>>> >> 24               PTR     virtcent02.summitnjhome.com.
>>> >> 21               PTR     virtcent03.summitnjhome.com.
>>> >> 26               PTR     virtcent04.summitnjhome.com.
>>> >> 27               PTR     virtcent05.summitnjhome.com.
>>> >> 28               PTR     virtcent06.summi

Re: reverse dns in bind9

2011-03-28 Thread Jon Radel

On 3/28/11 11:36 PM, Tim Dunphy wrote:


Now I could probably understand it FAILING due to perhaps a type-o in
the config. But I am genuinely curious as to how forward lookups will
work and reverse lookups time out.


I would expect them to time out if your dns server knows nothing about 
the reverse zone; give or take how you connect to the rest of the DNS. 
What messages about zones loading did you get when you restarted bind? 
Where there any crabby comments in the log file about not loading 
master/summitnjhome-reverse.db due to error(s)?  Was that file mentioned 
at all?


--Jon Radel
j...@radel.com





Re: reverse dns in bind9

2011-03-28 Thread Tim Dunphy
hello

 no crabby comments on restart at all!

LBSD2# /etc/rc.d/named restart
Stopping named.
Waiting for PIDS: 4970.
Starting named.

Ah but yes some complaints from the logs

Mar 29 04:59:47 LBSD2 named[5469]: master/summitnjhome-reverse.db:10:
ignoring out-of-zone data (summitnjhome.com)
Mar 29 04:59:47 LBSD2 named[5469]: dns_master_load:
master/summitnjhome-reverse.db:11: unexpected end of line
Mar 29 04:59:47 LBSD2 named[5469]: dns_master_load:
master/summitnjhome-reverse.db:10: unexpected end of input
Mar 29 04:59:47 LBSD2 named[5469]: zone 1.168.192.in-addr.arpa/IN:
loading from master file master/summitnjhome-reverse.db failed:
unexpected end of input
Mar 29 04:59:47 LBSD2 named[5469]: zone 1.168.192.in-addr.arpa/IN: not
loaded due to errors.
Mar 29 04:59:47 LBSD2 named[5469]: running



Tho I am not sure why it's complaining about unexpected end of input

this is the whole file

201103271 ; Serial, todays date + todays serial
8H  ; Refresh
2H  ; Retry
4W  ; Expire
1D) ; Minimum TTL
NS  ns1.summitnjhome.com.
summitnjhome.com.
42   PTR LCENT01.summitnjhome.com.
43   PTR LCENT02.summitnjhome.com.
44   PTR LBSD2.summitnjhome.com.
45   PTR LCENT02.summitnjhome.com.
46   PTR LCENT03.summitnjhome.com.
47   PTR LCENT04.summitnjhome.com.
23   PTR virtcent01.summitnjhome.com.
24   PTR virtcent02.summitnjhome.com.
21   PTR virtcent03.summitnjhome.com.
26   PTR virtcent04.summitnjhome.com.
27   PTR virtcent05.summitnjhome.com.
28   PTR virtcent06.summitnjhome.com.
29   PTR virtcent07.summitnjhome.com.
30   PTR virtcent08.summitnjhome.com.
31   PTR virtcent09.summitnjhome.com.
32   PTR virtcent10.summitnjhome.com.
33   PTR virtcent11.summitnjhome.com.
34   PTR virtcent12.summitnjhome.com.
35   PTR virtcent13.summitnjhome.com.
36   PTR virtcent14.summitnjhome.com.
37   PTR virtcent15.summitnjhome.com.
38   PTR virtcent16.summitnjhome.com.
39   PTR virtcent17.summitnjhome.com.
40   PTR virtcent18.summitnjhome.com.
41   PTR virtcent19.summitnjhome.com.



tim

On Mon, Mar 28, 2011 at 11:54 PM, Jon Radel  wrote:
> On 3/28/11 11:36 PM, Tim Dunphy wrote:
>
>> Now I could probably understand it FAILING due to perhaps a type-o in
>> the config. But I am genuinely curious as to how forward lookups will
>> work and reverse lookups time out.
>
> I would expect them to time out if your dns server knows nothing about the
> reverse zone; give or take how you connect to the rest of the DNS. What
> messages about zones loading did you get when you restarted bind? Where
> there any crabby comments in the log file about not loading
> master/summitnjhome-reverse.db due to error(s)?  Was that file mentioned at
> all?
>
> --Jon Radel
> j...@radel.com
>
>
>
>



-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
___
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: reverse dns in bind9

2011-03-28 Thread Jon Radel

On 3/29/11 12:05 AM, Tim Dunphy wrote:


hello

  no crabby comments on restart at all!

LBSD2# /etc/rc.d/named restart
Stopping named.
Waiting for PIDS: 4970.
Starting named.

Ah but yes some complaints from the logs

Mar 29 04:59:47 LBSD2 named[5469]: master/summitnjhome-reverse.db:10:
ignoring out-of-zone data (summitnjhome.com)
Mar 29 04:59:47 LBSD2 named[5469]: dns_master_load:
master/summitnjhome-reverse.db:11: unexpected end of line
Mar 29 04:59:47 LBSD2 named[5469]: dns_master_load:
master/summitnjhome-reverse.db:10: unexpected end of input
Mar 29 04:59:47 LBSD2 named[5469]: zone 1.168.192.in-addr.arpa/IN:
loading from master file master/summitnjhome-reverse.db failed:
unexpected end of input
Mar 29 04:59:47 LBSD2 named[5469]: zone 1.168.192.in-addr.arpa/IN: not
loaded due to errors.
Mar 29 04:59:47 LBSD2 named[5469]: running



Tho I am not sure why it's complaining about unexpected end of input

this is the whole file


Really?  Judging from the line numbers in the log messages, you're 
missing about 3 lines that, I would hope, include something like


IN SOA ns1.summitnjhome.com bluethunder.gmail.com (


 201103271 ; Serial, todays date + todays serial
 8H  ; Refresh
 2H  ; Retry
 4W  ; Expire
 1D) ; Minimum TTL
 NS  ns1.summitnjhome.com.
summitnjhome.com.

   doesn't make much sense as data in this zone, error message 1
^ Whoa, Nelly, where's the rest of this line? 
error message 2


Oh, never mind, I'm so out of here.ignore all that stuff below, 
messages 3 and 4



42   PTR LCENT01.summitnjhome.com.
43   PTR LCENT02.summitnjhome.com.
44   PTR LBSD2.summitnjhome.com.
45   PTR LCENT02.summitnjhome.com.
46   PTR LCENT03.summitnjhome.com.
47   PTR LCENT04.summitnjhome.com.
23   PTR virtcent01.summitnjhome.com.
24   PTR virtcent02.summitnjhome.com.
21   PTR virtcent03.summitnjhome.com.
26   PTR virtcent04.summitnjhome.com.
27   PTR virtcent05.summitnjhome.com.
28   PTR virtcent06.summitnjhome.com.
29   PTR virtcent07.summitnjhome.com.
30   PTR virtcent08.summitnjhome.com.
31   PTR virtcent09.summitnjhome.com.
32   PTR virtcent10.summitnjhome.com.
33   PTR virtcent11.summitnjhome.com.
34   PTR virtcent12.summitnjhome.com.
35   PTR virtcent13.summitnjhome.com.
36   PTR virtcent14.summitnjhome.com.
37   PTR virtcent15.summitnjhome.com.
38   PTR virtcent16.summitnjhome.com.
39   PTR virtcent17.summitnjhome.com.
40   PTR virtcent18.summitnjhome.com.
41   PTR virtcent19.summitnjhome.com.




--

--Jon Radel
j...@radel.com



ruby cpu 100% hang during pkgdb -F

2011-03-28 Thread Roland van Laar

Hello,

I updated FreeBSD 8.0 to 8.2 with freebsd-update.
Everything went fine till I got to the ports:
I used the commands:

# portupgrade -f ruby
# rm /var/db/pkg/pkgdb.db
# portupgrade -f ruby18-bdb

portupgrade -f ruby gave problems because of a security issue.
So I updated the ports with portsnap extract and update.
I upgraded ruby removed pkgdb.db
Here is where things went wrong.
portupgrade hangs while ruby eats 100% cpu.

# pkgdb -F

gives me this:

--->  Checking the package registry database
[Rebuilding the pkgdb  in /var/db/pkg ... - 185 
packages found (-0 +185) 
100. 
done]

Stale origin: 'devel/automake19': perhaps moved or obsoleted.
-> The port 'devel/automake19' was removed on 2010-10-07 because:
"No longer required by any port"
-> Hint: automake-1.9.6_3 is not required by any other package
-> Hint: checking for overwritten files...
 -> No files installed by automake-1.9.6_3 have been overwritten by 
other packages.

Deinstall automake-1.9.6_3 ? [no] yes

And it hangs at 100% cpu.

What do I need to do to update my ports?

tldr: updated ports, rm /var/db/pkg/pkgdb.db and pkgdf -F hangs at 100% cpu.

Roland van Laar



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


Tape drive for backup soloution

2011-03-28 Thread William Brown
Hi

I need to implement a tape drive backup solution at my place of work. I was 
wondering what is a good tape drive to get for this task, that works on freebsd 
with something like amanda. Its for a small business, and storing about 4TB 
max, and hopefully with some room spare for differential backups over time. 

My server on hand has sata and IDE available. 

Are there any recommendations that you can make about compatible solutions. My 
knowledge in this area is limited. 

Sincerely,

William Brown

Research & Teaching, Technology Services
The University of Adelaide, AUSTRALIA 5005

CRICOS Provider Number 00123M
-
IMPORTANT: This message may contain confidential or legally privileged
information. If you think it was sent to you by mistake, please delete all
copies and advise the sender. For the purposes of the SPAM Act 2003, this
email is authorised by The University of Adelaide.

pgp.mit.edu





PGP.sig
Description: This is a digitally signed message part