Re: Netbooks & BSD

2010-10-19 Thread Uffe Jakobsen



On 20/10/10 04.29, Gary Kline wrote:



$150 is seriously in my price range [!]  But what about the
optical drive?  If I can buy one on sale and install FBSD from a
CD or DVD, do all optivcal drive fit all notebooks?


With a few things that I probably will buy.  An optical, a 16 or
32G SSD ...&c.)  So if there is a fire-sale at Costco or
<>  for an HP 9" or 10  Atom notebook, will I be able
to use another vendor's optical drive?


An optical drive will propably not fit in side a 9" or 10" notebook 
(netbook)...


If you are going for a netbook I'd go for an external USB optical drive 
- all netbooks that I've come across can boot from external usb medias.


Personally I prefer to install stable FreeBSD from USB memory stick. 
Since 8.0 FreeBSD has shipped a "memstick" disk image that nicely fits 
into a 1G USB memory stick.


See: 
http://ftp.freebsd.org/pub/FreeBSD/ISO-IMAGES-i386/8.1/FreeBSD-8.1-RELEASE-i386-memstick.img


/Uffe


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


rugy-pg and rubygem-pg in ports

2010-10-19 Thread Chad Perrin
Is there any particular reason there are two copies of the PostgreSQL
library for the Ruby programming language in FreeBSD ports?  Do the
ruby-pg and rubygem-pg ports differ in some meaningful way?  The
pkg-descr files for these ports do not give any really substantial clues
to what differences, if any, exist between these two ports aside from the
names.

-- 
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


pgp5ndp9cDtjv.pgp
Description: PGP signature


Re: Netbooks & BSD

2010-10-19 Thread Gary Kline
On Wed, Oct 20, 2010 at 07:26:01AM +0200, Matthias Apitz wrote:
> El día Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribió:
> 
> > PS:  I really _was_ current on hardware stuff.  Back in the VAX
> > 780 days :-) 
> 
> I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.
> 
>   matthias
> 
> -- 
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e  - w http://www.unixarea.de/


I taught myself C porting about a dozen utilities from V6 to V7
on the 11/70, summer of '79 :-)  That was soo, way cool.

gary


-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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"


struct fileops question

2010-10-19 Thread Fernando Apesteguía
Hi,

I'm trying to understand  some pieces of the FreeBSD kernel.
Having a look at struct fileops in file.h I was wondering why other file related
functions don't have an entry in the vector. I was thinking in mmap, fsync or
sendfile.

Can anyone tell me the reason?

Thanks in advance.
___
freebsd-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: Netbooks & BSD

2010-10-19 Thread Matthias Apitz
El día Tuesday, October 19, 2010 a las 07:29:46PM -0700, Gary Kline escribió:

>   PS:  I really _was_ current on hardware stuff.  Back in the VAX
>   780 days :-) 

I booted my first UNIX V7 tape on a PDP-11 around 1982, I think.

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: download cvsup?

2010-10-19 Thread Tim Dunphy
This is the current state of affairs:

[r...@lbsd2:/usr/home/bluethundr]#host bsd2
bsd2 has address 199.101.28.20
Host bsd2 not found: 3(NXDOMAIN)
[r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com
PING yahoo.com (69.147.125.65): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host



I made sure these services were commented out or set to no in
/etc/rc.conf and /etc/defaults/rc.conf and that they were not running

[r...@lbsd2:/usr/home/bluethundr]#ps auxwww | grep rpcbind
root1781  0.0  0.1  3492  1212   5  S+   12:12AM   0:00.00 grep rpcbind
[r...@lbsd2:/usr/home/bluethundr]#ps auxwww | grep nfs_server
root1783  0.0  0.1  3492  1216   5  S+   12:13AM   0:00.00
grep nfs_server
[r...@lbsd2:/usr/home/bluethundr]#ps auxwww | grep  nfs_client
root1785  0.0  0.1  3492  1216   5  S+   12:13AM   0:00.00
grep nfs_client
[r...@lbsd2:/usr/home/bluethundr]#



Once I was sure those services weren't running I tried these flavors
of /etc/fstab:

[r...@lbsd2:/usr/home/bluethundr]#cat /etc/resolv.conf
domain  summitnjhome.com
nameserver  192.168.1.44
nameserver  71.250.0.12
nameserver  4.2.2.2

With this here config I can resolve internally but not externally

[r...@lbsd2:/usr/home/bluethundr]#host bsd2
bsd2.summitnjhome.com has address 192.168.1.44
[r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com
ping: cannot resolve yahoo.com: Host name lookup failure
[r...@lbsd2:/usr/home/bluethundr]#

With this suggested config I actually get neither internal nor
external resolution!

[r...@lbsd2:/usr/home/bluethundr]#host bsd2
bsd2 has address 199.101.28.20
^^
Not any ip that's on MY network! ;)

Host bsd2 not found: 3(NXDOMAIN)
[r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com
PING yahoo.com (72.30.2.43): 56 data bytes
ping: sendto: No route to host
ping: sendto: No route to host

And if I'm not resolving externally I really wonder how I get THAT IP

[r...@virtcent05:~]#whois 199.101.28.20
[Querying whois.arin.net]
[whois.arin.net]
#
# Query terms are ambiguous.  The query is assumed to be:
# "n 199.101.28.20"
#
# Use "?" to get help.
#

#
# The following results may also be obtained via:
# 
http://whois.arin.net/rest/nets;q=199.101.28.20?showDetails=true&showARIN=false
#

NetRange:   199.101.28.0 - 199.101.31.255
CIDR:   199.101.28.0/22
OriginAS:
NetName:SKYE-1
NetHandle:  NET-199-101-28-0-1
Parent: NET-199-0-0-0-0
NetType:Direct Assignment
NameServer: AUTH1.SKYEBYNOMINUM.COM
NameServer: AUTH2.SKYEBYNOMINUM.COM
RegDate:2009-03-20
Updated:2009-03-20
Ref:http://whois.arin.net/rest/net/NET-199-101-28-0-1

OrgName:SKYE
OrgId:  NOMIN-4
Address:2000 Seaport Blvd.
Address:Suite 400
City:   Redwood City
StateProv:  CA
PostalCode: 94063
Country:US
RegDate:2009-03-11
Updated:2009-03-11
Ref:http://whois.arin.net/rest/org/NOMIN-4


Weird man...

Back to this config:

[r...@lbsd2:/usr/home/bluethundr]#cat /etc/resolv.conf
domain summitnjhome.com
nameserver 192.168.1.44
nameserver 71.250.0.12
nameserver 4.2.2.2

It's back to the same old routine of resolving internally but not externally!

[r...@lbsd2:/usr/home/bluethundr]#host bsd2
bsd2.summitnjhome.com has address 192.168.1.44
[r...@lbsd2:/usr/home/bluethundr]#ping yahoo.com
ping: cannot resolve yahoo.com: Host name lookup failure
[r...@lbsd2:/usr/home/bluethundr]#nslookup sum1.summitnjhome.com
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


My gateway is a FiOS router at 192.168.1.1 I have a semi-fancy netgear
switch that provides wired connectivity to my farm of 6 machines.

1) FreeBSD (God machine) that is SSH gateway, DNS/BIND server,
OpenLDAP server, Apache22 server and MySQL 5.1 server.
2) Centos 1 machine - host xen instances that are stored on a san
3) Centos 2 machine - hosts the rest of the xen instances all of which
are stored in the same NFS nas mount (/mnt/store/xen).
4) FreeNAS 1
5) FreeNAS 2
6) Client machine (non server)

The BSD really kinda runs the show I use that as the base from which
to operate. But now it's hobbled with only semi-functioning DNS!


Thanks for your help!!!
On Tue, Oct 19, 2010 at 1:00 AM, Michael Powell  wrote:
> Tim Dunphy wrote:
>
>> Thanks guys! But to give more background the host in question IS
>> networking, at this point  I can ssh into and out of it.. I just can't
>> resolve externally.
>>
>> [r...@lbsd2:/usr/ports]#ifconfig
>> bge0: flags=8843 metric 0 mtu 1500
>> options=9b
>> ether 00:14:22:38:9e:eb
>> inet6 fe80::214:22ff:fe38:9eeb%bge0 prefixlen 64 scopeid 0x1
>> inet 192.168.1.44 netmask 0xff00 broadcast 192.168.1.255
>> media: Ethernet autoselect (1000baseT )
>> status: active
> ^
>
> OK - I see it is truly up.
>
>> plip0: flags=8810 me

Re: Netbooks & BSD

2010-10-19 Thread bdsfbsd
On Tue, 19 Oct 2010 22:50:05 -0400, Mike Jeays   
wrote:



On October 19, 2010 10:29:46 pm Gary Kline wrote:


$150 is seriously in my price range [!]  But what about the
optical drive?  If I can buy one on sale and install FBSD from a
CD or DVD, do all optivcal drive fit all notebooks?

(( I remember seeing ads on amazon.com saying that "people who
purchased this notebook have also bought:)

With a few things that I probably will buy.  An optical, a 16 or
32G SSD ... &c.)  So if there is a fire-sale at Costco or
<> for an HP 9" or 10  Atom notebook, will I be able
to use another vendor's optical drive?

gary

PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-)

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


I would expect a USB optical drive to work. I plugged an old DVD drive  
into
one of those boxes that hold an IDE hard disk and plug into a USB port,  
and it
worked fine on my (Linux) ASUS EeePC 1000. It looked pretty amateurish,  
but it

did work.



BTW, if you're thinking of getting the optical drive just for the install,  
it isn't necessary. Memstick install is really the way to go with these  
devices:

http://www.freebsd.org/doc/handbook/install-pre.html#INSTALL-BOOT-MEDIA

To be honest, though, getting FreeBSD running properly on one of these is  
really more of a hobbyist project at the moment, and requires some  
research, time, and experimentation. Yes, I have mine mostly running like  
I want, but I'd be a bit pressed to describe in detail all the steps I  
took, but it was more than a few, and my requirements were minimal. I  
could not give a solid reason for using FreeBSD on my netbook other than I  
felt like it, and because all things being equal I prefer *BSD. Maybe with  
lots of community participation enough documentation could be generated to  
make it more straightforward, but that is not the current state of affairs.


Brian


___
freebsd-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: Netbooks & BSD

2010-10-19 Thread Mike Jeays
On October 19, 2010 10:29:46 pm Gary Kline wrote:
> On Tue, Oct 19, 2010 at 02:53:30PM -0600, Warren Block wrote:
> > On Tue, 19 Oct 2010, Matthias Apitz wrote:
> > >El d?a Sunday, October 17, 2010 a las 12:17:16PM -0600, Warren Block 
escribi?:
> > >>On Sun, 17 Oct 2010, Matthias Apitz wrote:
> > >>>Any alternative netbooks outside Asus which run FreeBSD?
> > >>
> > >>Of course.  The Acer Aspire models vary, but the D250 is nice.
> > >
> > >Just to make sure: you mean the "Acer Aspire One D250" netbook? But this
> > >seems to have a SATA hard disk, or are there models out with SSD?
> > 
> > Mine has a SATA drive, but there shouldn't be any reason it couldn't
> > use a SATA SSD in that form factor.  I should add that just over the
> > last couple of days, my D250 has started to panic at random times.
> > That's new, and I don't know what's causing it.  Given that it was a
> > scrap machine I repaired, it may be hardware failure.
> > 
> > >In any case, it sells for around 300 euro (around USD 380) and seems to
> > >be an alternative as getting my Eee PC 900 repaired for the same price
> > 
> > Now that the netbook craze is over, there are quite a few
> > lightly-used ones for sale, often around $150 here.  Look around
> > before buying new. Relatively older models like the D250 may be
> > better for FreeBSD, because they have Intel video that works with
> > the accelerated xorg driver.
> 
>   $150 is seriously in my price range [!]  But what about the
>   optical drive?  If I can buy one on sale and install FBSD from a
>   CD or DVD, do all optivcal drive fit all notebooks?
> 
>   (( I remember seeing ads on amazon.com saying that "people who
>   purchased this notebook have also bought:)
> 
>   With a few things that I probably will buy.  An optical, a 16 or
>   32G SSD ... &c.)  So if there is a fire-sale at Costco or
>   <> for an HP 9" or 10  Atom notebook, will I be able
>   to use another vendor's optical drive?
> 
>   gary
> 
>   PS:  I really _was_ current on hardware stuff.  Back in the VAX
>   780 days :-)
> 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscr...@freebsd.org"

I would expect a USB optical drive to work. I plugged an old DVD drive into 
one of those boxes that hold an IDE hard disk and plug into a USB port, and it 
worked fine on my (Linux) ASUS EeePC 1000. It looked pretty amateurish, but it 
did work.

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


Re: need help with php.

2010-10-19 Thread Alejandro Imass
On Mon, Oct 18, 2010 at 11:31 PM, Gary Kline  wrote:
>
> Ok, I've done everything I can think of and still my php5 fails.
> Several pages use a php counter [[that I wrote years ago.  That is
> the main thing that is busted.  Anybody up to helping me with this
> one?
>

Did you happen to upgrade to 5.3? It breaks a lot of code that used to
run finr in 5.2. If you did upgrade, try downgrading to 5.2, it will
we a pain though, use portmaster if possible IMO.

Alejandro Imass

> gary
>
>
>
> --
>  Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
>    The 7.90a release of Jottings: http://jottings.thought.org/index.php
>                           http://journey.thought.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: Netbooks & BSD

2010-10-19 Thread Gary Kline
On Tue, Oct 19, 2010 at 02:53:30PM -0600, Warren Block wrote:
> On Tue, 19 Oct 2010, Matthias Apitz wrote:
> 
> >El d?a Sunday, October 17, 2010 a las 12:17:16PM -0600, Warren Block 
> >escribi?:
> >
> >>On Sun, 17 Oct 2010, Matthias Apitz wrote:
> >>
> >>>Any alternative netbooks outside Asus which run FreeBSD?
> >>
> >>Of course.  The Acer Aspire models vary, but the D250 is nice.
> >
> >Just to make sure: you mean the "Acer Aspire One D250" netbook? But this
> >seems to have a SATA hard disk, or are there models out with SSD?
> 
> Mine has a SATA drive, but there shouldn't be any reason it couldn't
> use a SATA SSD in that form factor.  I should add that just over the
> last couple of days, my D250 has started to panic at random times.
> That's new, and I don't know what's causing it.  Given that it was a
> scrap machine I repaired, it may be hardware failure.
> 
> >In any case, it sells for around 300 euro (around USD 380) and seems to
> >be an alternative as getting my Eee PC 900 repaired for the same price
> 
> Now that the netbook craze is over, there are quite a few
> lightly-used ones for sale, often around $150 here.  Look around
> before buying new. Relatively older models like the D250 may be
> better for FreeBSD, because they have Intel video that works with
> the accelerated xorg driver.


$150 is seriously in my price range [!]  But what about the
optical drive?  If I can buy one on sale and install FBSD from a
CD or DVD, do all optivcal drive fit all notebooks?

(( I remember seeing ads on amazon.com saying that "people who
purchased this notebook have also bought:)

With a few things that I probably will buy.  An optical, a 16 or
32G SSD ... &c.)  So if there is a fire-sale at Costco or 
<> for an HP 9" or 10  Atom notebook, will I be able
to use another vendor's optical drive?

gary

PS:  I really _was_ current on hardware stuff.  Back in the VAX
780 days :-) 

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

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
The 7.90a release of Jottings: http://jottings.thought.org/index.php
   http://journey.thought.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: filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread Karl Vogel
>> On Tue, 19 Oct 2010 15:08:45 +0200, 
>> Matthias Apitz  said:

M> Before I programm it in C (or whatever), is there any normal shell tool
M> to filter a (large) binary file and change any occurance of 0x150a to
M> 0x15 (i.e. delete \n but only if it follows a char 0x15)?

   This seems to work, depending on your definition of normal:

   me% od -c blah
   000 025 025   H   e   l   l   o 025  \n   w   o   r   l   d   .  \n
   020

   me% perl -0pe 's/\025\n/\025/g;' < blah | od -c
   000 025 025   H   e   l   l   o 025   w   o   r   l   d   .  \n
   017

   The "-0" says read null-terminated lines, so if your binary file is big
   enough and has few enough nulls, you could chew up a diaper-load of memory.

-- 
Karl Vogel  I don't speak for the USAF or my company

A raccoon tangled with a 23,000 volt line today.  The results blacked
out 1400 homes and, of course, one raccoon.   --Steel City News
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: PHP version dependency problems, was need help with php.

2010-10-19 Thread John Levine
>   compiled correctly.  Then, still nothing.  Typing "php" at a
>   root prompt outputs these warnings.  What's strange is that I
>   _thought_ I had mysql set up correctly.  

PHP has a bunch of version dependencies on other ports that the guy
who maintains the PHP port refuses to fix or even to document.  I sent
in two fixes for a pcre dependency, one of which was a one-line change
to the makefile to use the bundled pcre, the other of which was a
different one-line change to note the version depenency on the
separate pcre port.  He rejected them both, insisting that everyone
always keeps all their ports current.  That's absurd, but there's not
much to be done.

The failures were odd PHP bugs in packages like mediawiki that used
to work just fine.

So if you've built PHP on a system that's not freshly installed, I'd
suggest one of these to bring all the ports on which it depends up to
date.

# portupgrade -R php\*
# portmaster php\*

R's,
John
___
freebsd-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: Netbooks & BSD

2010-10-19 Thread herbert langhans
The cheapo way, if you get a model without a harddisk, is a compact flash
card with an adapter for a few bucks. I currently have this combination
in my Thinkpad (although its an ata to CF-adapter). Works great,
lightweight, shockproof and reads really fast from the 'harddisk'.
Downside is the slower writing - but enough RAM makes sure it doesnt
swap to the CF-Card. Eight Gigabyte is enough for me, most data are on
the server anyway.

Highly recommendable..
Cheers
herb langhans

On Tue, Oct 19, 2010 at 02:53:30PM -0600, Warren Block wrote:
> On Tue, 19 Oct 2010, Matthias Apitz wrote:
> 
> >El d?a Sunday, October 17, 2010 a las 12:17:16PM -0600, Warren Block 
> >escribi?:
> >
> >>On Sun, 17 Oct 2010, Matthias Apitz wrote:
> >>
> >>>Any alternative netbooks outside Asus which run FreeBSD?
> >>
> >>Of course.  The Acer Aspire models vary, but the D250 is nice.
> >
> >Just to make sure: you mean the "Acer Aspire One D250" netbook? But this
> >seems to have a SATA hard disk, or are there models out with SSD?
> 
> Mine has a SATA drive, but there shouldn't be any reason it couldn't
> use a SATA SSD in that form factor.  I should add that just over the
> last couple of days, my D250 has started to panic at random times.
> That's new, and I don't know what's causing it.  Given that it was a
> scrap machine I repaired, it may be hardware failure.
> 
> >In any case, it sells for around 300 euro (around USD 380) and seems to
> >be an alternative as getting my Eee PC 900 repaired for the same price
> 
> Now that the netbook craze is over, there are quite a few
> lightly-used ones for sale, often around $150 here.  Look around
> before buying new. Relatively older models like the D250 may be
> better for FreeBSD, because they have Intel video that works with
> the accelerated xorg driver.
> ___
> freebsd-mob...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
> To unsubscribe, send any mail to "freebsd-mobile-unsubscr...@freebsd.org"

-- 
sprachtraining langhans
herbert langhans, warschau
herbert.raimundgmx.net
http://www.langhans.com.pl
+0048 603 341 441

| jabber:herbs
| icq:414500866
| yahoo_im:herbert.raimund
___
freebsd-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: Netbooks & BSD

2010-10-19 Thread Warren Block

On Tue, 19 Oct 2010, Matthias Apitz wrote:


El d?a Sunday, October 17, 2010 a las 12:17:16PM -0600, Warren Block escribi?:


On Sun, 17 Oct 2010, Matthias Apitz wrote:


Any alternative netbooks outside Asus which run FreeBSD?


Of course.  The Acer Aspire models vary, but the D250 is nice.


Just to make sure: you mean the "Acer Aspire One D250" netbook? But this
seems to have a SATA hard disk, or are there models out with SSD?


Mine has a SATA drive, but there shouldn't be any reason it couldn't use 
a SATA SSD in that form factor.  I should add that just over the last 
couple of days, my D250 has started to panic at random times.  That's 
new, and I don't know what's causing it.  Given that it was a scrap 
machine I repaired, it may be hardware failure.



In any case, it sells for around 300 euro (around USD 380) and seems to
be an alternative as getting my Eee PC 900 repaired for the same price


Now that the netbook craze is over, there are quite a few lightly-used 
ones for sale, often around $150 here.  Look around before buying new. 
Relatively older models like the D250 may be better for FreeBSD, because 
they have Intel video that works with the accelerated xorg driver.

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


3 different ral(4) pcmcia card (same chip) give the same error]

2010-10-19 Thread Anton Shterenlikht
I coundn't get any answer from current@, so I post here.

Anybody using ral(4) wireless devices successfully?

many thanks
anton


- Forwarded message from Anton Shterenlikht  -

On amd64 r213648 I've 3 different ral(4) cards, all giving

ral0: could not read from BBP
ral0: timeout waiting for BBP

According to ral(4) man page, all 3 cards should work.

The full details are below.

Please advise

many thanks
anton


##
Sitecom WL-112
MAC: 00:0C:F6:0F:EF:D5
SN: WL11244809326
#

r...@pci0:3:0:0:class=0x028000 card=0x9070182d chip=0x02011814 rev=0x01
hdr=0x00
vendor = 'Ralink Technology, Corp.'
device = 'Ralink Chipset 802.11b/g WLAN Card ( RT2560F)'
class  = network

ral0:  mem 0xb7fb4000-0xb7fb5fff irq 20 at device 0.0
on cardbus0
ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522

ral0: flags=8802 metric 0 mtu 2290
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
wlan0: flags=8802 metric 0 mtu 1500
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1
bintval 0

ral0: could not read from BBP
ral0: timeout waiting for BBP

##
MSI Micro-Star International
CB54G2, 802.11 b/g compliant
MAC: 00:11:09:E7:0A:F9
SN: MS-6835B0501095335
#

r...@pci0:3:0:0:class=0x028000 card=0x68351462 chip=0x02011814 rev=0x01
hdr=0x00
vendor = 'Ralink Technology, Corp.'
device = 'Ralink Chipset 802.11b/g WLAN Card ( RT2560F)'
class  = network

ral0:  mem 0xb7fb4000-0xb7fb5fff irq 20 at device 0.0
on cardbus0
ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522

ral0: flags=8802 metric 0 mtu 2290
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
wlan0: flags=8802 metric 0 mtu 1500
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1
bintval 0

ral0: could not read from BBP
ral0: timeout waiting for BBP

##
ASUS
CB54G2, 802.11 b/g compliant
MAC: 00:11:09:E7:0A:F9
SN: MS-6835B0501095335
#

r...@pci0:3:0:0:class=0x028000 card=0x107f1043 chip=0x02011814 rev=0x01
hdr=0x00
vendor = 'Ralink Technology, Corp.'
device = 'Ralink Chipset 802.11b/g WLAN Card ( RT2560F)'
class  = network

ral0:  mem 0xb7fb4000-0xb7fb5fff irq 20 at device 0.0
on cardbus0
ral0: MAC/BBP RT2560 (rev 0x00), RF RT2522

ral0: flags=8802 metric 0 mtu 2290
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
wlan0: flags=8802 metric 0 mtu 1500
ether 00:00:00:00:00:00
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 1 (2412 MHz 11b)
country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 1
bintval 0

ral0: could not read from BBP
ral0: timeout waiting for BBP

- End forwarded message -

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-curr...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

- End forwarded message -

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 331 5944
Fax: +44 (0)117 929 4423
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Downgrade from 8.1 to 8.0 possible ?

2010-10-19 Thread Michael Powell
Leon Meßner wrote:

> Hi,
> 
> because of the broken heimdal (gssapi) in 8.1-RELEASE i'm thinking of
> going back to 8.0-p2 because i suppose the patch mentioned in
> kern/147454 works there (opposed to 8.1). Can i just csup
> RELENG_8_0_0_RELEASE and make a new world/kernel plus eventually
> freebsd-update to -p2 then ?
> 

If you are going to csup and do the make buildworld dance just use the 
security branch tag: RELENG_8_0 and it will be -p2 directly.

-Mike



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


Re: Downgrading php5

2010-10-19 Thread Odhiambo Washington
On Tue, Oct 19, 2010 at 10:02 PM, Maciej Milewski  wrote:

>  On Tuesday 19 October 2010 19:56:16, Odhiambo Washington wrote:
>
> > Is there a way to downgrade from php-5.3.3 to 5.2.14 or any 5.2.x on
>
> > FreeBSD 8.1?
>
> lang/php52 and lang/php52-extensions is in the tree. Have you tried that?
>

:-) I need something to "open my eyes";-)



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
freebsd-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: Downgrading php5

2010-10-19 Thread Maciej Milewski
On Tuesday 19 October 2010 19:56:16, Odhiambo Washington wrote:
> Is there a way to downgrade from php-5.3.3 to 5.2.14 or any 5.2.x on
> FreeBSD 8.1?
lang/php52 and lang/php52-extensions is in the tree. Have you tried that?
-- 
Maciej
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Downgrading php5

2010-10-19 Thread Odhiambo Washington
Is there a way to downgrade from php-5.3.3 to 5.2.14 or any 5.2.x on FreeBSD
8.1?


-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Damn!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


VirtualNetwork.com domain for sale

2010-10-19 Thread Mark Smith
Hello,
Came across your site for these keywords and thought the domain name might be 
of interest, it allows you to rank much more quickly in the search engines. As 
I'm sure you know the keywords are typed in according to Google keywords 
roughly 50 - 100,000 times and a month and the domain could be used to capture 
that traffic.
If it is of interest please let me know so we can discuss further, hope to hear 
from you.
Thanks,
Mark Smith
Defuse Marketing / NameConnect.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: potential df issues in 8-stable

2010-10-19 Thread Chip Camden
Quoth krad on Tuesday, 19 October 2010:
> On 19 October 2010 11:55, krad  wrote:
> 
> >
> >
> > On 19 October 2010 11:49, Alexander Best  wrote:
> >
> >> On Tue Oct 19 10, krad wrote:
> >> > On 19 October 2010 10:10, krad  wrote:
> >> >
> >> > >
> >> > >
> >> > > On 19 October 2010 10:00, krad  wrote:
> >> > >
> >> > >> Just updated my system last night to 8-stable. Now im seeing a minor
> >> issue
> >> > >> with df in that it doesnt output anything. I'm a pure zfs based
> >> system.
> >> > >>
> >> > >> # df -h
> >> > >> #
> >> > >>
> >> > >> # zfs list | grep system
> >> > >> system 106G  37.2G23K  /system
> >> > >> system/be 31.6G  37.2G31K  /system/be
> >> > >> system/be/root201004052.52G  37.2G  1.70G  legacy
> >> > >> system/be/root201004273.32G  37.2G  1.71G  legacy
> >> > >> system/be/root201005032.42G  37.2G  1.72G  legacy
> >> > >> system/be/root201005162.55G  37.2G  1.72G  legacy
> >> > >> system/be/root201006252.70G  37.2G  1.86G  legacy
> >> > >> system/be/root201007202.71G  37.2G  1.72G  legacy
> >> > >> system/be/root201007262.53G  37.2G  1.72G
> >> > >> /system/be/root20100726
> >> > >> system/be/root201008252.57G  37.2G  1.73G  legacy
> >> > >> system/be/root201009142.57G  37.2G  1.73G  legacy
> >> > >> system/be/root201009212.56G  37.2G  1.73G  legacy
> >> > >> system/be/root201010022.57G  37.2G  1.73G  legacy
> >> > >> system/be/root201010192.57G  37.2G  1.73G  legacy
> >> > >> system/clang  1.25G  37.2G  1.25G
> >>  /system/clang
> >> > >> system/home   58.9G  37.2G  58.9G  /home
> >> > >> system/scripts 489K  37.2G78K
> >> > >> /usr/local/scripts
> >> > >> system/squid   542M  1.47G   542M
> >> > >> /usr/local/squid/
> >> > >> system/test 19K  37.2G19K  legacy
> >> > >> system/test2 1G  38.2G   472K  -
> >> > >> system/tmp  38K  4.00G38K  /tmp
> >> > >> system/usr-local  4.99G  37.2G  1.81G  /usr/local
> >> > >> system/usr-obj2.89G  37.2G  2.69G  /usr/obj
> >> > >> system/usr-ports  1.92G  37.2G   878M  /usr/ports
> >> > >> system/usr-ports/distfiles1.06G  37.2G  1.06G
> >> > >> /usr/ports/distfiles
> >> > >> system/usr-src 631M  37.2G   310M  /usr/src
> >> > >> system/var1.80G  37.2G   875M  /var
> >> > >> system/var/log 922M  37.2G   582M  /var/log
> >> > >> system/var/mysql  50.7M  37.2G  50.7M
> >>  /var/db/mysql
> >> > >>
> >> > >>
> >> > >> UFS is ok though
> >> > >>
> >> > >>
> >> > >> # zfs create -V 1G system/test2
> >> > >> # newfs /dev/zvol/system/test2
> >> > >> /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
> >> > >> fragment size 2048
> >> > >> using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
> >> > >> super-block backups (for fsck -b #) at:
> >> > >>  160, 376416, 752672, 1128928, 1505184, 1881440
> >> > >> # mount /dev/zvol/system/test2 /mnt/
> >> > >> # df -h
> >> > >> FilesystemSizeUsed   Avail Capacity  Mounted on
> >> > >> /dev/zvol/system/test2989M4.0K910M 0%/mnt
> >> > >>
> >> > >>
> >> > >> it looks like df is finding the zfs file systems
> >> > >>
> >> > >> truss df
> >> > >> >8
> >> > >>
> >> > >> system   37G 23K 37G 0%
> >> > >> /system
> >> > >> write(1,"system  "...,79) = 79 (0x4f)
> >> > >> system/be37G 31K 37G 0%
> >> > >> /system/be
> >> > >> write(1,"system/be   "...,82) = 82 (0x52)
> >> > >> system/be/root20100726   39G1.7G 37G 4%
> >> > >> /system/be/root20100726
> >> > >> write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
> >> > >> system/clang 38G1.2G 37G 3%
> >> > >> /system/clang
> >> > >> write(1,"system/clang"...,85) = 85 (0x55)
> >> > >> system/tmp  4.0G 38K4.0G 0%
> >> > >> /tmp
> >> > >> write(1,"system/tmp  "...,76) = 76 (0x4c)
> >> > >> system/usr-local 39G1.8G 37G 5%
> >> > >> /usr/local
> >> > >> write(1,"system/usr-local"...,82) = 82 (0x52)
> >> > >> system/scripts   37G 78K 37G 0%
> >> > >> /usr/local/scripts
> >> > >>
> >> > >> >8
> >> > >>
> >> > >> anyone else having these issues?
> >> > >>
> >> > >> FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19
> 

Re: How is CPU usage calculated?

2010-10-19 Thread Martin Turgeon

 Le 2010-10-18 16:35, Adam Vande More a écrit :

On Mon, Oct 18, 2010 at 3:06 PM, Martin Turgeon
wrote:


I just reread it and it isn't clearer what is using the CPU so much. Can
you please give me a little more explanation?


A line in top(1) like:

CPU:  0.0% user,  0.0% nice,  0.4% system,  0.4% interrupt, 99.3% idle

does not describe how much CPU is being used, but rather a "percentage of
time spent in each of the processor states".  It's saying of the CPU cycles
that are being used, this is what it breaks down as.  Since MySQL is a
userland application, you'd expect the value of user to be quite high if
that was only thing running on your system and it was under high load.

You can infer how much CPU is being used from the line, but there are better
and more accurate methods generally of getting that information especially
with SMP systems.

Thank you for the explanation. Would you be kind enough to point me to a 
method so I can know for sure that it's MySQL that is taking that much CPU ?

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


Downgrade from 8.1 to 8.0 possible ?

2010-10-19 Thread Leon Meßner
Hi,

because of the broken heimdal (gssapi) in 8.1-RELEASE i'm thinking of
going back to 8.0-p2 because i suppose the patch mentioned in
kern/147454 works there (opposed to 8.1). Can i just csup
RELENG_8_0_0_RELEASE and make a new world/kernel plus eventually
freebsd-update to -p2 then ?

TIA,
Leon
___
freebsd-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: filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread andrew clarke
On Tue 2010-10-19 15:08:45 UTC+0200, Matthias Apitz (g...@unixarea.de) wrote:

> Before I programm it in C (or whatever), is there any normal shell tool
> to filter a (large) binary file and change any occurance of 0x150a to
> 0x15 (i.e. delete \n but only if it follows a char 0x15)?

I'd be personally more comfortable doing it in C or Python but I think
you can do this with tr -s.

Note: 0x15 == 25 octal; 0x0a == 12 octal.  I don't recall if it's
possible to use hex values in csh arguments - if so, what is the
syntax?

0:28 ozzmo...@blizzard [~/tmp]printf 'Hello\25\12world.\12' > blah

0:28 ozzmo...@blizzard [~/tmp]hd blah
  48 65 6c 6c 6f 15 0a 77  6f 72 6c 64 2e 0a|Hello..world..|
000e

0:28 ozzmo...@blizzard [~/tmp]tr -s '\25\12' '\25' < blah | hd
  48 65 6c 6c 6f 15 77 6f  72 6c 64 2e 15   |Hello.world..|
000d

Regards
Andrew
___
freebsd-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: filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread Jerry McAllister
On Tue, Oct 19, 2010 at 03:08:45PM +0200, Matthias Apitz wrote:

> 
> Hello,
> 
> Before I programm it in C (or whatever), is there any normal shell tool
> to filter a (large) binary file and change any occurance of 0x150a to
> 0x15 (i.e. delete \n but only if it follows a char 0x15)?

Can you manage it with tr(1)  ?

jerry


> 
> Thanks
> 
>   matthias
> -- 
> Matthias Apitz
> t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
> e  - w http://www.unixarea.de/
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-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: filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread Matthias Apitz
El día Wednesday, October 20, 2010 a las 12:36:44AM +1100, andrew clarke 
escribió:

> I'd be personally more comfortable doing it in C or Python but I think
> you can do this with tr -s.

me too;

> 
> Note: 0x15 == 25 octal; 0x0a == 12 octal.  I don't recall if it's
> possible to use hex values in csh arguments - if so, what is the
> syntax?
> 
> 0:28 ozzmo...@blizzard [~/tmp]printf 'Hello\25\12world.\12' > blah
> 
> 0:28 ozzmo...@blizzard [~/tmp]hd blah
>   48 65 6c 6c 6f 15 0a 77  6f 72 6c 64 2e 0a|Hello..world..|
> 000e
> 
> 0:28 ozzmo...@blizzard [~/tmp]tr -s '\25\12' '\25' < blah | hd
>   48 65 6c 6c 6f 15 77 6f  72 6c 64 2e 15   |Hello.world..|
> 000d

I saw this, but this has the side affect to reduce any occourance of a
duouble 0x1515 to 0x15:

g...@current:~> printf '\25\25Hello\25\12world.\12' > blah
g...@current:~> hd blah
  15 15 48 65 6c 6c 6f 15  0a 77 6f 72 6c 64 2e 0a |..Hello..world..|
0010
g...@current:~> tr -s '\25\12' '\25' < blah | hd
  15 48 65 6c 6c 6f 15 77  6f 72 6c 64 2e 15 |.Hello.world..|

Thanks anyway

matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread Matthias Apitz
El día Tuesday, October 19, 2010 a las 09:24:34AM -0400, Jerry McAllister 
escribió:

> On Tue, Oct 19, 2010 at 03:08:45PM +0200, Matthias Apitz wrote:
> 
> > 
> > Hello,
> > 
> > Before I programm it in C (or whatever), is there any normal shell tool
> > to filter a (large) binary file and change any occurance of 0x150a to
> > 0x15 (i.e. delete \n but only if it follows a char 0x15)?
> 
> Can you manage it with tr(1)  ?

Not as I read its man page; maybe you could give a concrete example?
Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


filter a binary file and reduce 0x150a to 0x15

2010-10-19 Thread Matthias Apitz

Hello,

Before I programm it in C (or whatever), is there any normal shell tool
to filter a (large) binary file and change any occurance of 0x150a to
0x15 (i.e. delete \n but only if it follows a char 0x15)?

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: help

2010-10-19 Thread bdsfbsd

On Tue, 19 Oct 2010 07:08:29 -0400, Boris Samorodov  wrote:


yanxinyou  writes:


how i install the firefox flash plugins


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

PS. You definitely should get acquainted with the FreeBSD Handbook.


Perhaps these are helpful? Just guessing from the name..
http://www.freebsd.org/doc/zh_CN.GB2312/books/handbook/desktop-browsers.html
http://www.freebsd.org/doc/zh_CN.GB2312/books/handbook/

http://www.freebsd.org/zh_CN/docs.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: potential df issues in 8-stable

2010-10-19 Thread krad
On 19 October 2010 11:55, krad  wrote:

>
>
> On 19 October 2010 11:49, Alexander Best  wrote:
>
>> On Tue Oct 19 10, krad wrote:
>> > On 19 October 2010 10:10, krad  wrote:
>> >
>> > >
>> > >
>> > > On 19 October 2010 10:00, krad  wrote:
>> > >
>> > >> Just updated my system last night to 8-stable. Now im seeing a minor
>> issue
>> > >> with df in that it doesnt output anything. I'm a pure zfs based
>> system.
>> > >>
>> > >> # df -h
>> > >> #
>> > >>
>> > >> # zfs list | grep system
>> > >> system 106G  37.2G23K  /system
>> > >> system/be 31.6G  37.2G31K  /system/be
>> > >> system/be/root201004052.52G  37.2G  1.70G  legacy
>> > >> system/be/root201004273.32G  37.2G  1.71G  legacy
>> > >> system/be/root201005032.42G  37.2G  1.72G  legacy
>> > >> system/be/root201005162.55G  37.2G  1.72G  legacy
>> > >> system/be/root201006252.70G  37.2G  1.86G  legacy
>> > >> system/be/root201007202.71G  37.2G  1.72G  legacy
>> > >> system/be/root201007262.53G  37.2G  1.72G
>> > >> /system/be/root20100726
>> > >> system/be/root201008252.57G  37.2G  1.73G  legacy
>> > >> system/be/root201009142.57G  37.2G  1.73G  legacy
>> > >> system/be/root201009212.56G  37.2G  1.73G  legacy
>> > >> system/be/root201010022.57G  37.2G  1.73G  legacy
>> > >> system/be/root201010192.57G  37.2G  1.73G  legacy
>> > >> system/clang  1.25G  37.2G  1.25G
>>  /system/clang
>> > >> system/home   58.9G  37.2G  58.9G  /home
>> > >> system/scripts 489K  37.2G78K
>> > >> /usr/local/scripts
>> > >> system/squid   542M  1.47G   542M
>> > >> /usr/local/squid/
>> > >> system/test 19K  37.2G19K  legacy
>> > >> system/test2 1G  38.2G   472K  -
>> > >> system/tmp  38K  4.00G38K  /tmp
>> > >> system/usr-local  4.99G  37.2G  1.81G  /usr/local
>> > >> system/usr-obj2.89G  37.2G  2.69G  /usr/obj
>> > >> system/usr-ports  1.92G  37.2G   878M  /usr/ports
>> > >> system/usr-ports/distfiles1.06G  37.2G  1.06G
>> > >> /usr/ports/distfiles
>> > >> system/usr-src 631M  37.2G   310M  /usr/src
>> > >> system/var1.80G  37.2G   875M  /var
>> > >> system/var/log 922M  37.2G   582M  /var/log
>> > >> system/var/mysql  50.7M  37.2G  50.7M
>>  /var/db/mysql
>> > >>
>> > >>
>> > >> UFS is ok though
>> > >>
>> > >>
>> > >> # zfs create -V 1G system/test2
>> > >> # newfs /dev/zvol/system/test2
>> > >> /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
>> > >> fragment size 2048
>> > >> using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
>> > >> super-block backups (for fsck -b #) at:
>> > >>  160, 376416, 752672, 1128928, 1505184, 1881440
>> > >> # mount /dev/zvol/system/test2 /mnt/
>> > >> # df -h
>> > >> FilesystemSizeUsed   Avail Capacity  Mounted on
>> > >> /dev/zvol/system/test2989M4.0K910M 0%/mnt
>> > >>
>> > >>
>> > >> it looks like df is finding the zfs file systems
>> > >>
>> > >> truss df
>> > >> >8
>> > >>
>> > >> system   37G 23K 37G 0%
>> > >> /system
>> > >> write(1,"system  "...,79) = 79 (0x4f)
>> > >> system/be37G 31K 37G 0%
>> > >> /system/be
>> > >> write(1,"system/be   "...,82) = 82 (0x52)
>> > >> system/be/root20100726   39G1.7G 37G 4%
>> > >> /system/be/root20100726
>> > >> write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
>> > >> system/clang 38G1.2G 37G 3%
>> > >> /system/clang
>> > >> write(1,"system/clang"...,85) = 85 (0x55)
>> > >> system/tmp  4.0G 38K4.0G 0%
>> > >> /tmp
>> > >> write(1,"system/tmp  "...,76) = 76 (0x4c)
>> > >> system/usr-local 39G1.8G 37G 5%
>> > >> /usr/local
>> > >> write(1,"system/usr-local"...,82) = 82 (0x52)
>> > >> system/scripts   37G 78K 37G 0%
>> > >> /usr/local/scripts
>> > >>
>> > >> >8
>> > >>
>> > >> anyone else having these issues?
>> > >>
>> > >> FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19
>> 04:47:55
>> > >> BST 2010 r...@carrera:/usr/obj/usr/src/sys/me  amd64
>> > >> # ls -l /bin/sh
>> > >> -r-xr-xr-x  1 root  wheel  132832 Oct 19 09:19 /bin/sh
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > >>
>> > > hmm
>> > >
>> > > # df -t zfs
>> > 

Re: help

2010-10-19 Thread Boris Samorodov
yanxinyou  writes:

> how i install the firefox flash plugins 

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/desktop-browsers.html

PS. You definitely should get acquainted with the FreeBSD Handbook.
-- 
WBR, bsam
___
freebsd-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: potential df issues in 8-stable

2010-10-19 Thread krad
On 19 October 2010 11:49, Alexander Best  wrote:

> On Tue Oct 19 10, krad wrote:
> > On 19 October 2010 10:10, krad  wrote:
> >
> > >
> > >
> > > On 19 October 2010 10:00, krad  wrote:
> > >
> > >> Just updated my system last night to 8-stable. Now im seeing a minor
> issue
> > >> with df in that it doesnt output anything. I'm a pure zfs based
> system.
> > >>
> > >> # df -h
> > >> #
> > >>
> > >> # zfs list | grep system
> > >> system 106G  37.2G23K  /system
> > >> system/be 31.6G  37.2G31K  /system/be
> > >> system/be/root201004052.52G  37.2G  1.70G  legacy
> > >> system/be/root201004273.32G  37.2G  1.71G  legacy
> > >> system/be/root201005032.42G  37.2G  1.72G  legacy
> > >> system/be/root201005162.55G  37.2G  1.72G  legacy
> > >> system/be/root201006252.70G  37.2G  1.86G  legacy
> > >> system/be/root201007202.71G  37.2G  1.72G  legacy
> > >> system/be/root201007262.53G  37.2G  1.72G
> > >> /system/be/root20100726
> > >> system/be/root201008252.57G  37.2G  1.73G  legacy
> > >> system/be/root201009142.57G  37.2G  1.73G  legacy
> > >> system/be/root201009212.56G  37.2G  1.73G  legacy
> > >> system/be/root201010022.57G  37.2G  1.73G  legacy
> > >> system/be/root201010192.57G  37.2G  1.73G  legacy
> > >> system/clang  1.25G  37.2G  1.25G
>  /system/clang
> > >> system/home   58.9G  37.2G  58.9G  /home
> > >> system/scripts 489K  37.2G78K
> > >> /usr/local/scripts
> > >> system/squid   542M  1.47G   542M
> > >> /usr/local/squid/
> > >> system/test 19K  37.2G19K  legacy
> > >> system/test2 1G  38.2G   472K  -
> > >> system/tmp  38K  4.00G38K  /tmp
> > >> system/usr-local  4.99G  37.2G  1.81G  /usr/local
> > >> system/usr-obj2.89G  37.2G  2.69G  /usr/obj
> > >> system/usr-ports  1.92G  37.2G   878M  /usr/ports
> > >> system/usr-ports/distfiles1.06G  37.2G  1.06G
> > >> /usr/ports/distfiles
> > >> system/usr-src 631M  37.2G   310M  /usr/src
> > >> system/var1.80G  37.2G   875M  /var
> > >> system/var/log 922M  37.2G   582M  /var/log
> > >> system/var/mysql  50.7M  37.2G  50.7M
>  /var/db/mysql
> > >>
> > >>
> > >> UFS is ok though
> > >>
> > >>
> > >> # zfs create -V 1G system/test2
> > >> # newfs /dev/zvol/system/test2
> > >> /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
> > >> fragment size 2048
> > >> using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
> > >> super-block backups (for fsck -b #) at:
> > >>  160, 376416, 752672, 1128928, 1505184, 1881440
> > >> # mount /dev/zvol/system/test2 /mnt/
> > >> # df -h
> > >> FilesystemSizeUsed   Avail Capacity  Mounted on
> > >> /dev/zvol/system/test2989M4.0K910M 0%/mnt
> > >>
> > >>
> > >> it looks like df is finding the zfs file systems
> > >>
> > >> truss df
> > >> >8
> > >>
> > >> system   37G 23K 37G 0%
> > >> /system
> > >> write(1,"system  "...,79) = 79 (0x4f)
> > >> system/be37G 31K 37G 0%
> > >> /system/be
> > >> write(1,"system/be   "...,82) = 82 (0x52)
> > >> system/be/root20100726   39G1.7G 37G 4%
> > >> /system/be/root20100726
> > >> write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
> > >> system/clang 38G1.2G 37G 3%
> > >> /system/clang
> > >> write(1,"system/clang"...,85) = 85 (0x55)
> > >> system/tmp  4.0G 38K4.0G 0%
> > >> /tmp
> > >> write(1,"system/tmp  "...,76) = 76 (0x4c)
> > >> system/usr-local 39G1.8G 37G 5%
> > >> /usr/local
> > >> write(1,"system/usr-local"...,82) = 82 (0x52)
> > >> system/scripts   37G 78K 37G 0%
> > >> /usr/local/scripts
> > >>
> > >> >8
> > >>
> > >> anyone else having these issues?
> > >>
> > >> FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19
> 04:47:55
> > >> BST 2010 r...@carrera:/usr/obj/usr/src/sys/me  amd64
> > >> # ls -l /bin/sh
> > >> -r-xr-xr-x  1 root  wheel  132832 Oct 19 09:19 /bin/sh
> > >>
> > >>
> > >>
> > >>
> > >>
> > >>
> > > hmm
> > >
> > > # df -t zfs
> > > df: only one -t option may be specified
> > > # df -t ufs
> > > df: only one -t option may be specified
> > > # df -t devfs
> > > df: only one -t option may be

Re: potential df issues in 8-stable

2010-10-19 Thread Alexander Best
On Tue Oct 19 10, krad wrote:
> On 19 October 2010 10:10, krad  wrote:
> 
> >
> >
> > On 19 October 2010 10:00, krad  wrote:
> >
> >> Just updated my system last night to 8-stable. Now im seeing a minor issue
> >> with df in that it doesnt output anything. I'm a pure zfs based system.
> >>
> >> # df -h
> >> #
> >>
> >> # zfs list | grep system
> >> system 106G  37.2G23K  /system
> >> system/be 31.6G  37.2G31K  /system/be
> >> system/be/root201004052.52G  37.2G  1.70G  legacy
> >> system/be/root201004273.32G  37.2G  1.71G  legacy
> >> system/be/root201005032.42G  37.2G  1.72G  legacy
> >> system/be/root201005162.55G  37.2G  1.72G  legacy
> >> system/be/root201006252.70G  37.2G  1.86G  legacy
> >> system/be/root201007202.71G  37.2G  1.72G  legacy
> >> system/be/root201007262.53G  37.2G  1.72G
> >> /system/be/root20100726
> >> system/be/root201008252.57G  37.2G  1.73G  legacy
> >> system/be/root201009142.57G  37.2G  1.73G  legacy
> >> system/be/root201009212.56G  37.2G  1.73G  legacy
> >> system/be/root201010022.57G  37.2G  1.73G  legacy
> >> system/be/root201010192.57G  37.2G  1.73G  legacy
> >> system/clang  1.25G  37.2G  1.25G  /system/clang
> >> system/home   58.9G  37.2G  58.9G  /home
> >> system/scripts 489K  37.2G78K
> >> /usr/local/scripts
> >> system/squid   542M  1.47G   542M
> >> /usr/local/squid/
> >> system/test 19K  37.2G19K  legacy
> >> system/test2 1G  38.2G   472K  -
> >> system/tmp  38K  4.00G38K  /tmp
> >> system/usr-local  4.99G  37.2G  1.81G  /usr/local
> >> system/usr-obj2.89G  37.2G  2.69G  /usr/obj
> >> system/usr-ports  1.92G  37.2G   878M  /usr/ports
> >> system/usr-ports/distfiles1.06G  37.2G  1.06G
> >> /usr/ports/distfiles
> >> system/usr-src 631M  37.2G   310M  /usr/src
> >> system/var1.80G  37.2G   875M  /var
> >> system/var/log 922M  37.2G   582M  /var/log
> >> system/var/mysql  50.7M  37.2G  50.7M  /var/db/mysql
> >>
> >>
> >> UFS is ok though
> >>
> >>
> >> # zfs create -V 1G system/test2
> >> # newfs /dev/zvol/system/test2
> >> /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
> >> fragment size 2048
> >> using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
> >> super-block backups (for fsck -b #) at:
> >>  160, 376416, 752672, 1128928, 1505184, 1881440
> >> # mount /dev/zvol/system/test2 /mnt/
> >> # df -h
> >> FilesystemSizeUsed   Avail Capacity  Mounted on
> >> /dev/zvol/system/test2989M4.0K910M 0%/mnt
> >>
> >>
> >> it looks like df is finding the zfs file systems
> >>
> >> truss df
> >> >8
> >>
> >> system   37G 23K 37G 0%
> >> /system
> >> write(1,"system  "...,79) = 79 (0x4f)
> >> system/be37G 31K 37G 0%
> >> /system/be
> >> write(1,"system/be   "...,82) = 82 (0x52)
> >> system/be/root20100726   39G1.7G 37G 4%
> >> /system/be/root20100726
> >> write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
> >> system/clang 38G1.2G 37G 3%
> >> /system/clang
> >> write(1,"system/clang"...,85) = 85 (0x55)
> >> system/tmp  4.0G 38K4.0G 0%
> >> /tmp
> >> write(1,"system/tmp  "...,76) = 76 (0x4c)
> >> system/usr-local 39G1.8G 37G 5%
> >> /usr/local
> >> write(1,"system/usr-local"...,82) = 82 (0x52)
> >> system/scripts   37G 78K 37G 0%
> >> /usr/local/scripts
> >>
> >> >8
> >>
> >> anyone else having these issues?
> >>
> >> FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19 04:47:55
> >> BST 2010 r...@carrera:/usr/obj/usr/src/sys/me  amd64
> >> # ls -l /bin/sh
> >> -r-xr-xr-x  1 root  wheel  132832 Oct 19 09:19 /bin/sh
> >>
> >>
> >>
> >>
> >>
> >>
> > hmm
> >
> > # df -t zfs
> > df: only one -t option may be specified
> > # df -t ufs
> > df: only one -t option may be specified
> > # df -t devfs
> > df: only one -t option may be specified
> >
> >
> >
> >
> >
> >
> >
> 
> ok i have rebuilt df from src and it seems to works now. so i guess its
> something screwing up on the overnight build. This is a little odd though as
> I do a clean as part of the process. Maybe I should explictitly nuke the obj
> tress
> 

Re: WiFi HotSpot

2010-10-19 Thread Beat Siegenthaler
 On 19.10.10 03:03, Adam Vande More wrote:
> I would recommend staying away from m0n0wall.  It's poorly supported now,
> and buggy.  Example:
> http://forum.m0n0.ch/index.php?PHPSESSID=1t2d5fp3t82ghgc7a7crmd0653&topic=2025.15
>
I see no evidence of "buggy" there. And are you really in the position
to judge about "poor support" in a OSS project ;-)
> it blocks NAT packets with both Keep-State and OOW set and it's not a lot of
> fun to track down.
>
Agree.
But there are other questions: Is telnet the state of art for this
environment? Maybe a encryption Layer would make some points obsolete?
> pfSense or rolling your own may be a better option.
>
Using both m0n0 and pfSense: Both have their flaws.
And yes, if pfSense supports IPv6, i will drop my m0n0's

Beat
___
freebsd-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: potential df issues in 8-stable

2010-10-19 Thread krad
On 19 October 2010 10:10, krad  wrote:

>
>
> On 19 October 2010 10:00, krad  wrote:
>
>> Just updated my system last night to 8-stable. Now im seeing a minor issue
>> with df in that it doesnt output anything. I'm a pure zfs based system.
>>
>> # df -h
>> #
>>
>> # zfs list | grep system
>> system 106G  37.2G23K  /system
>> system/be 31.6G  37.2G31K  /system/be
>> system/be/root201004052.52G  37.2G  1.70G  legacy
>> system/be/root201004273.32G  37.2G  1.71G  legacy
>> system/be/root201005032.42G  37.2G  1.72G  legacy
>> system/be/root201005162.55G  37.2G  1.72G  legacy
>> system/be/root201006252.70G  37.2G  1.86G  legacy
>> system/be/root201007202.71G  37.2G  1.72G  legacy
>> system/be/root201007262.53G  37.2G  1.72G
>> /system/be/root20100726
>> system/be/root201008252.57G  37.2G  1.73G  legacy
>> system/be/root201009142.57G  37.2G  1.73G  legacy
>> system/be/root201009212.56G  37.2G  1.73G  legacy
>> system/be/root201010022.57G  37.2G  1.73G  legacy
>> system/be/root201010192.57G  37.2G  1.73G  legacy
>> system/clang  1.25G  37.2G  1.25G  /system/clang
>> system/home   58.9G  37.2G  58.9G  /home
>> system/scripts 489K  37.2G78K
>> /usr/local/scripts
>> system/squid   542M  1.47G   542M
>> /usr/local/squid/
>> system/test 19K  37.2G19K  legacy
>> system/test2 1G  38.2G   472K  -
>> system/tmp  38K  4.00G38K  /tmp
>> system/usr-local  4.99G  37.2G  1.81G  /usr/local
>> system/usr-obj2.89G  37.2G  2.69G  /usr/obj
>> system/usr-ports  1.92G  37.2G   878M  /usr/ports
>> system/usr-ports/distfiles1.06G  37.2G  1.06G
>> /usr/ports/distfiles
>> system/usr-src 631M  37.2G   310M  /usr/src
>> system/var1.80G  37.2G   875M  /var
>> system/var/log 922M  37.2G   582M  /var/log
>> system/var/mysql  50.7M  37.2G  50.7M  /var/db/mysql
>>
>>
>> UFS is ok though
>>
>>
>> # zfs create -V 1G system/test2
>> # newfs /dev/zvol/system/test2
>> /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
>> fragment size 2048
>> using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
>> super-block backups (for fsck -b #) at:
>>  160, 376416, 752672, 1128928, 1505184, 1881440
>> # mount /dev/zvol/system/test2 /mnt/
>> # df -h
>> FilesystemSizeUsed   Avail Capacity  Mounted on
>> /dev/zvol/system/test2989M4.0K910M 0%/mnt
>>
>>
>> it looks like df is finding the zfs file systems
>>
>> truss df
>> >8
>>
>> system   37G 23K 37G 0%
>> /system
>> write(1,"system  "...,79) = 79 (0x4f)
>> system/be37G 31K 37G 0%
>> /system/be
>> write(1,"system/be   "...,82) = 82 (0x52)
>> system/be/root20100726   39G1.7G 37G 4%
>> /system/be/root20100726
>> write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
>> system/clang 38G1.2G 37G 3%
>> /system/clang
>> write(1,"system/clang"...,85) = 85 (0x55)
>> system/tmp  4.0G 38K4.0G 0%
>> /tmp
>> write(1,"system/tmp  "...,76) = 76 (0x4c)
>> system/usr-local 39G1.8G 37G 5%
>> /usr/local
>> write(1,"system/usr-local"...,82) = 82 (0x52)
>> system/scripts   37G 78K 37G 0%
>> /usr/local/scripts
>>
>> >8
>>
>> anyone else having these issues?
>>
>> FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19 04:47:55
>> BST 2010 r...@carrera:/usr/obj/usr/src/sys/me  amd64
>> # ls -l /bin/sh
>> -r-xr-xr-x  1 root  wheel  132832 Oct 19 09:19 /bin/sh
>>
>>
>>
>>
>>
>>
> hmm
>
> # df -t zfs
> df: only one -t option may be specified
> # df -t ufs
> df: only one -t option may be specified
> # df -t devfs
> df: only one -t option may be specified
>
>
>
>
>
>
>

ok i have rebuilt df from src and it seems to works now. so i guess its
something screwing up on the overnight build. This is a little odd though as
I do a clean as part of the process. Maybe I should explictitly nuke the obj
tress


cat /usr/local/scripts/update_world
#!/usr/local/bin/bash

export
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/krad/bin

d=`date '+%Y%m%d'`

touch /usr/src/start
figlet Starting nightly buildworld
cd /usr/src && make clean && make update && 

Re: potential df issues in 8-stable

2010-10-19 Thread krad
On 19 October 2010 10:00, krad  wrote:

> Just updated my system last night to 8-stable. Now im seeing a minor issue
> with df in that it doesnt output anything. I'm a pure zfs based system.
>
> # df -h
> #
>
> # zfs list | grep system
> system 106G  37.2G23K  /system
> system/be 31.6G  37.2G31K  /system/be
> system/be/root201004052.52G  37.2G  1.70G  legacy
> system/be/root201004273.32G  37.2G  1.71G  legacy
> system/be/root201005032.42G  37.2G  1.72G  legacy
> system/be/root201005162.55G  37.2G  1.72G  legacy
> system/be/root201006252.70G  37.2G  1.86G  legacy
> system/be/root201007202.71G  37.2G  1.72G  legacy
> system/be/root201007262.53G  37.2G  1.72G
> /system/be/root20100726
> system/be/root201008252.57G  37.2G  1.73G  legacy
> system/be/root201009142.57G  37.2G  1.73G  legacy
> system/be/root201009212.56G  37.2G  1.73G  legacy
> system/be/root201010022.57G  37.2G  1.73G  legacy
> system/be/root201010192.57G  37.2G  1.73G  legacy
> system/clang  1.25G  37.2G  1.25G  /system/clang
> system/home   58.9G  37.2G  58.9G  /home
> system/scripts 489K  37.2G78K
> /usr/local/scripts
> system/squid   542M  1.47G   542M
> /usr/local/squid/
> system/test 19K  37.2G19K  legacy
> system/test2 1G  38.2G   472K  -
> system/tmp  38K  4.00G38K  /tmp
> system/usr-local  4.99G  37.2G  1.81G  /usr/local
> system/usr-obj2.89G  37.2G  2.69G  /usr/obj
> system/usr-ports  1.92G  37.2G   878M  /usr/ports
> system/usr-ports/distfiles1.06G  37.2G  1.06G
> /usr/ports/distfiles
> system/usr-src 631M  37.2G   310M  /usr/src
> system/var1.80G  37.2G   875M  /var
> system/var/log 922M  37.2G   582M  /var/log
> system/var/mysql  50.7M  37.2G  50.7M  /var/db/mysql
>
>
> UFS is ok though
>
>
> # zfs create -V 1G system/test2
> # newfs /dev/zvol/system/test2
> /dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
> fragment size 2048
> using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
> super-block backups (for fsck -b #) at:
>  160, 376416, 752672, 1128928, 1505184, 1881440
> # mount /dev/zvol/system/test2 /mnt/
> # df -h
> FilesystemSizeUsed   Avail Capacity  Mounted on
> /dev/zvol/system/test2989M4.0K910M 0%/mnt
>
>
> it looks like df is finding the zfs file systems
>
> truss df
> >8
>
> system   37G 23K 37G 0%
> /system
> write(1,"system  "...,79) = 79 (0x4f)
> system/be37G 31K 37G 0%
> /system/be
> write(1,"system/be   "...,82) = 82 (0x52)
> system/be/root20100726   39G1.7G 37G 4%
> /system/be/root20100726
> write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
> system/clang 38G1.2G 37G 3%
> /system/clang
> write(1,"system/clang"...,85) = 85 (0x55)
> system/tmp  4.0G 38K4.0G 0%/tmp
> write(1,"system/tmp  "...,76) = 76 (0x4c)
> system/usr-local 39G1.8G 37G 5%
> /usr/local
> write(1,"system/usr-local"...,82) = 82 (0x52)
> system/scripts   37G 78K 37G 0%
> /usr/local/scripts
>
> >8
>
> anyone else having these issues?
>
> FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19 04:47:55 BST
> 2010 r...@carrera:/usr/obj/usr/src/sys/me  amd64
> # ls -l /bin/sh
> -r-xr-xr-x  1 root  wheel  132832 Oct 19 09:19 /bin/sh
>
>
>
>
>
>
hmm

# df -t zfs
df: only one -t option may be specified
# df -t ufs
df: only one -t option may be specified
# df -t devfs
df: only one -t option may be specified
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


potential df issues in 8-stable

2010-10-19 Thread krad
Just updated my system last night to 8-stable. Now im seeing a minor issue
with df in that it doesnt output anything. I'm a pure zfs based system.

# df -h
#

# zfs list | grep system
system 106G  37.2G23K  /system
system/be 31.6G  37.2G31K  /system/be
system/be/root201004052.52G  37.2G  1.70G  legacy
system/be/root201004273.32G  37.2G  1.71G  legacy
system/be/root201005032.42G  37.2G  1.72G  legacy
system/be/root201005162.55G  37.2G  1.72G  legacy
system/be/root201006252.70G  37.2G  1.86G  legacy
system/be/root201007202.71G  37.2G  1.72G  legacy
system/be/root201007262.53G  37.2G  1.72G
/system/be/root20100726
system/be/root201008252.57G  37.2G  1.73G  legacy
system/be/root201009142.57G  37.2G  1.73G  legacy
system/be/root201009212.56G  37.2G  1.73G  legacy
system/be/root201010022.57G  37.2G  1.73G  legacy
system/be/root201010192.57G  37.2G  1.73G  legacy
system/clang  1.25G  37.2G  1.25G  /system/clang
system/home   58.9G  37.2G  58.9G  /home
system/scripts 489K  37.2G78K
/usr/local/scripts
system/squid   542M  1.47G   542M  /usr/local/squid/
system/test 19K  37.2G19K  legacy
system/test2 1G  38.2G   472K  -
system/tmp  38K  4.00G38K  /tmp
system/usr-local  4.99G  37.2G  1.81G  /usr/local
system/usr-obj2.89G  37.2G  2.69G  /usr/obj
system/usr-ports  1.92G  37.2G   878M  /usr/ports
system/usr-ports/distfiles1.06G  37.2G  1.06G
/usr/ports/distfiles
system/usr-src 631M  37.2G   310M  /usr/src
system/var1.80G  37.2G   875M  /var
system/var/log 922M  37.2G   582M  /var/log
system/var/mysql  50.7M  37.2G  50.7M  /var/db/mysql


UFS is ok though


# zfs create -V 1G system/test2
# newfs /dev/zvol/system/test2
/dev/zvol/system/test2: 1024.0MB (2097152 sectors) block size 16384,
fragment size 2048
using 6 cylinder groups of 183.72MB, 11758 blks, 23552 inodes.
super-block backups (for fsck -b #) at:
 160, 376416, 752672, 1128928, 1505184, 1881440
# mount /dev/zvol/system/test2 /mnt/
# df -h
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/zvol/system/test2989M4.0K910M 0%/mnt


it looks like df is finding the zfs file systems

truss df
>8

system   37G 23K 37G 0%
/system
write(1,"system  "...,79) = 79 (0x4f)
system/be37G 31K 37G 0%
/system/be
write(1,"system/be   "...,82) = 82 (0x52)
system/be/root20100726   39G1.7G 37G 4%
/system/be/root20100726
write(1,"system/be/root20100726  "...,95) = 95 (0x5f)
system/clang 38G1.2G 37G 3%
/system/clang
write(1,"system/clang"...,85) = 85 (0x55)
system/tmp  4.0G 38K4.0G 0%/tmp
write(1,"system/tmp  "...,76) = 76 (0x4c)
system/usr-local 39G1.8G 37G 5%
/usr/local
write(1,"system/usr-local"...,82) = 82 (0x52)
system/scripts   37G 78K 37G 0%
/usr/local/scripts

>8

anyone else having these issues?

FreeBSD carrera 8.1-STABLE FreeBSD 8.1-STABLE #326: Tue Oct 19 04:47:55 BST
2010 r...@carrera:/usr/obj/usr/src/sys/me  amd64
# ls -l /bin/sh
-r-xr-xr-x  1 root  wheel  132832 Oct 19 09:19 /bin/sh
___
freebsd-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: need help with php.

2010-10-19 Thread Lars Eighner

On Mon, 18 Oct 2010, Gary Kline wrote:


r...@ethic:/usr/local/www/apache22/data# php
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'session' already loaded in Unknown on line 0

Does this mean anything obvious to you?  I have my mysql notes
on two other computers and will dig into the matter in the
morning.  IIRC, the mysql stuff shouldn't have any effect on a
counter.


It means a module is listed twice in extensions.ini (usually in
/usr/local/etc/ )  Make the message go away by removing redundant entries
manually or with sort -u.  This warning should be harmless in execution and
usually is only a bother when running command-line one-liners.

Unfortunately, many of the php module ports add themselves to
extensions.ini without checking whether they are already there.  After a few
upgrades you may have many entries for some modules.

Whatever is really wrong with your php, this isn't it.  As I said, harmless,
and generally not noticed except at the command line.


--
Lars Eighner
http://www.larseighner.com/index.html
8800 N IH35 APT 1191 AUSTIN TX 78753-5266

___
freebsd-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: Netbooks & BSD

2010-10-19 Thread Matthias Apitz
El día Sunday, October 17, 2010 a las 12:17:16PM -0600, Warren Block escribió:

> On Sun, 17 Oct 2010, Matthias Apitz wrote:
> 
> > Any alternative netbooks outside Asus which run FreeBSD?
> 
> Of course.  The Acer Aspire models vary, but the D250 is nice.

Just to make sure: you mean the "Acer Aspire One D250" netbook? But this
seems to have a SATA hard disk, or are there models out with SSD?

In any case, it sells for around 300 euro (around USD 380) and seems to
be an alternative as getting my Eee PC 900 repaired for the same price
:-)

Thanks

matthias
-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e  - w http://www.unixarea.de/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"