Problem with freebsd-update on 7.3-RELEASE

2011-01-26 Thread Konstantin Vasilyev
Hi all!

I have installed
%uname -a
FreeBSD ota2.cellnetrix.com 7.3-RELEASE-p4 FreeBSD 7.3-RELEASE-p4 #3:
Tue Jan 25 19:19:34 MSK 2011
kvasi...@ota2.cellnetrix.com:/usr/obj/usr/src/sys/GENERIC  i386

I have
@daily  freebsd-update cron
in root's crontab.

Why does freebsd-update mail me the following?

> Looking up update.FreeBSD.org mirrors... 4 mirrors found.
> Fetching metadata signature for 7.3-RELEASE from update4.FreeBSD.org... done.
> Fetching metadata index... done.
> Inspecting system... done.
> Preparing to download files... done.
> 
> The following files are affected by updates, but no changes have
> been downloaded because the files have been modified locally:
> /var/db/mergemaster.mtree
> 
> The following files will be updated as part of updating to 7.3-RELEASE-p4:
> /boot/kernel/kernel
> /boot/kernel/kernel.symbols
> /boot/kernel/nfsclient.ko
> /boot/kernel/nfsclient.ko.symbols
> /usr/lib/libbz2.a
> /usr/lib/libbz2_p.a
> /usr/lib/libopie.a
> /usr/lib/libopie_p.a
> /usr/lib/libssl.a
> /usr/lib/libssl_p.a
> /usr/lib/libstand.a
> /usr/share/man/man2/mount.2.gz
> /usr/share/man/man2/nmount.2.gz
> /usr/share/man/man2/unmount.2.gz
> /usr/src/contrib/opie/libopie/readrec.c
> /usr/src/lib/libc/sys/mount.2
> /usr/src/sys/conf/newvers.sh
> /usr/src/sys/kern/uipc_mbuf.c
> /usr/src/sys/nfsclient/nfs_vfsops.c

Who can give me ideas what's happening?

--
With best regards,
Konstantin Vasilyev

___
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: Streams fail, more/less.

2011-01-26 Thread Gary Kline
On Wed, Jan 26, 2011 at 09:00:49PM +, Paul Macdonald wrote:
> On 25/01/2011 23:54, Gary Kline wrote:
> >The _last_ thing that I need to resolve--or at least to understand, is why
> >streams suddenly stopped working about two weeks ago.  With all the other
> >hassles, I didn't want to check and see if streams worked here on my server
> >--they don't.  The streams stall after a few seconds or a few minutes on my
> >Ubuntu desktop.  The youtube streams always worked before.  No more.
> >
> >Meanwhile I have no trouble downloading source or packages at 110 to 170kpbs 
> >.
> >  But the streams fail: both audio and video.  I have zero idea even where to
> >  begin looking to fix this problem.
> >
> >  Anybody know?
> >
> >  thanks in advance,
> >
> >  gary
> >
> >
> >  PS: some audio will streams at very slow rate ... but usually stops after a
> >  few minutes.
> >
> >
> 
> this is probably just an insufficient bandwidth problem,  check the
> bitrate of the streams you are listening, try lower bitrate ones (
> 64kbps or even 32kbps) to verify that there's no other problem.
> 
> Check your residential dsl package speed ( i use www.speedtest.net
> but there might be a better one near you, google dsl speed test).
> Test it against a local POP that you think hosts streams, ie
> soemwhere where there's lot of data centers.
> 
> You will get different download speeds from different services
> online depending on how they and you are connected, but in general,
> 170Kbps isn't very fast, especially as a lot of streaming stattions
> will be 128 or poss even 192Kbps.
> 
>  Paul.
> -


Well, according to the results from speedtest.net, I have a 
download rate of 1.31Mb/s, an uplad rate of 0.70Mb.s, and 
ping at 61ms from nearby renton.  

Seems plenty fast.  What's wrong with my streaming?

(I did get some warning that my new Ubuntu 10.10 needs flash,
but I can't figure that out.  ---BEsides, I primarily care about
audio streams which shouldn't relay on anything flash.)

So:: still a question.

gary


> 
> Paul Macdonald
> IFDNRG Ltd
> Web and video hosting
> -
> t: 0131 5548070
> m: 07534206249
> e: p...@ifdnrg.com
> w: http://www.ifdnrg.com
> -
> IFDNRG
> 40 Maritime Street
> Edinburgh
> EH6 6SA
> -
> 
> ___
> 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
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.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: Any package for surveys?

2011-01-26 Thread elbbit
On 25/01/11 10:11, Daniel Andersson wrote:
> Is there a package for doing surveys? Preferably a web solution.
> 
> Any suggestions?

Sorry for coming late to the thread with this one.

I held off writing back because I have just launched a new website at:
http://www.tibble.net/

Wait!  Don't go!  This isn't spam!   Please!  Just listen!

For anyone who is half in the know about the goings on in the world, and
are aware of Project Venus or the Zeitgeist Movement, you will
understand that there is a growing concern over many global issues:
- over-population of the planet
- resources might run out (as a result of too many people)
- money is a form of slavery
- the choices available to us are set by corporations/governments, not
by us the people
... the list goes on.

I'm not here to preach one form of belief system or another.  I do not
enter into argument with those who want to push their beliefs.  You may
believe in God.  I may not.  Whatever.  What I want to know is... what
does EVERYONE think about stuff?  I mean, why are no global surveys
being cast.

Up steps me.  My name is Simon Tibble, and I am here to take your vote
please.  Come join me at my site and give your view about all and every,
and learn more about what other people think.  The sooner the global
consensus is reached... the better our world will become.

Yes, I really do believe I can change the world.  Are you with me?  Or
do you want to ridicule me?

Go to my site.  Go now.  Give up a little bit of your very precious time
- and I thank all in advance who help contribute - because I need you -
we need each other - to develop as a whole we need to think as a whole.

I post here first rather than elsewhere because I believe computer
experts like ourselves are at the forefront of development.  Through the
application of science comes wisdom, understanding and knowledge.

For those who have a head for big words, you may want to read more about
the idea at:
http://www.tibble.net/idea.txt

There is one more thing you should know about the site.  Once you decide
your vote, it does not end there.  You can change your mind at any time
on any matter, and any one can make a new vote.  So, you see, the
organic flow of energy in nature can relate to information... because as
more people come online at Tibble.net and register their vote, the more
we gain an understanding of how everyone is feeling.  We learn what we
want as a whole and we will obviously adapt according to our majority
thought.

Accept that this moment is inevitable.  Some call this the technological
singularity, others call it the awakening.  Whatever you call it, you
are either part of planet earth or you are not, and if you know what is
right, you will realise this is bigger than Facebook or Google will ever be.

Please forward this message to everyone, even if you know full well they
probably won't read or understand it.  This message must travel the
matrix in order to flourish.

Simon Tibble
si...@tibble.net

-- 

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


Issue upgrading to 7.4, looking for guidance

2011-01-26 Thread Keith Seyffarth

I recently was having problems with Firefox crashing, which appear to be
related to a requirement for semaphore support for Firefox after the
upgrade to the new version of GTK.

Anyway, this left me with a 7.4 kernel and a 7.2 world. Which I
understand is supposed to work.


However, this broke CUPS for printing, and I need to be able to print to
pdf. This error is generated if I try to build cups, or when cups tries
to load on startup:
/libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR


>From looking around on-line, it looks like somewhere between 7.2 and 7.4
there was an incompatibility that causes this error in a number of places
(printing, samba, etc.)


So, it looks like I need to upgrade the rest of the way. But I can't get
the upgrade to work. I thought this was where to start:

# freebsd-update -r 7.4-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update2.FreeBSD.org... failed.
Fetching public key from update3.FreeBSD.org... failed.
No mirrors remaining, giving up.

So I ran uname -a to find that this is 7.4-PRERELEASE

FreeBSD janet.weif.net 7.4-PRERELEASE FreeBSD 7.4-PRERELEASE #0: Thu Jan
20 19:39:15 MST 2011 w...@janet.weif.net:/usr/obj/usr/src/sys/JANET
i386


so I tried this:

# freebsd-update -r 7.4-PRERELEASE upgrade
freebsd-update: Cannot upgrade from 7.4-PRERELEASE to itself


so, um, what do I need to do to address this error:
/libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR


Keith S.
___
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: Streams fail, more/less.

2011-01-26 Thread Gary Kline
On Wed, Jan 26, 2011 at 09:00:49PM +, Paul Macdonald wrote:
> On 25/01/2011 23:54, Gary Kline wrote:
> >The _last_ thing that I need to resolve--or at least to understand, is why
> >streams suddenly stopped working about two weeks ago.  With all the other
> >hassles, I didn't want to check and see if streams worked here on my server
> >--they don't.  The streams stall after a few seconds or a few minutes on my
> >Ubuntu desktop.  The youtube streams always worked before.  No more.
> >
> >Meanwhile I have no trouble downloading source or packages at 110 to 170kpbs 
> >.
> >  But the streams fail: both audio and video.  I have zero idea even where to
> >  begin looking to fix this problem.
> >
> >  Anybody know?
> >
> >  thanks in advance,
> >
> >  gary
> >
> >
> >  PS: some audio will streams at very slow rate ... but usually stops after a
> >  few minutes.
> >
> >
> 
> this is probably just an insufficient bandwidth problem,  check the
> bitrate of the streams you are listening, try lower bitrate ones (
> 64kbps or even 32kbps) to verify that there's no other problem.
> 
> Check your residential dsl package speed ( i use www.speedtest.net
> but there might be a better one near you, google dsl speed test).
> Test it against a local POP that you think hosts streams, ie
> soemwhere where there's lot of data centers.
> 
> You will get different download speeds from different services
> online depending on how they and you are connected, but in general,
> 170Kbps isn't very fast, especially as a lot of streaming stattions
> will be 128 or poss even 192Kbps.
> 


I'll check for my mean d/load speed; according to the telco, 
I've got 1meg down and 864k up.  

I was watching a youtube stream that went beautifully and quit
after 10 minutes.  Prior to when things broke, I was able to
stream NOVA and lots more video non-stop; and of course no
problem with the slower audio.  (*sigh*)

thanks much.

gary

PS:  I'm seriously/SERIOUSLT thinking of giving up the ghost
after ten years and letting Real system admins host my domain.
I don't know where to start '


>  Paul.
> -
> 
> Paul Macdonald
> IFDNRG Ltd
> Web and video hosting
> -
> t: 0131 5548070
> m: 07534206249
> e: p...@ifdnrg.com
> w: http://www.ifdnrg.com
> -
> IFDNRG
> 40 Maritime Street
> Edinburgh
> EH6 6SA
> -
> 

-- 
 Gary Kline  kl...@thought.org  http://www.thought.org  Public Service Unix
   Journey Toward the Dawn, E-Book: http://www.thought.org
  The 7.97a release of Jottings: http://jottings.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"


Very Important Note on HP LaserJet P1102 on FreeBSD

2011-01-26 Thread Bahman Kahinpour
Hi dear FreeBSD people,
After spending a lot of time on making my HP LaserJet P1102 work on
FreeBSD, I found out what the problem is!!! Please tell this to
anybody who has problems with HP P1102 on FreeBSD!
The problem with this HP model is that it has a fake CD-ROM which
contains the Windows drivers. The USB must actually be switched from
the CD-ROM mode to the Printer mode in order to work. Otherwise, the
printer will not work whatever you do. /dev/ulpt0 will not show up
either.
---> The workaround is this: You must (unfortunately) connect the
printer to a Windows system and run SIUtility.exe or SIUtility64.exe
from the UTIL folder in the Driver CD-ROM (physical CD-ROM that comes
with the printer not the fake one) and completely disable this "HP
Smart Install" feature. After disabling this feature, everything will
be fine on FreeBSD and life will be more beautiful.
* Please pass this info on blogs, wikis, ... . I do not want other
FreeBSD fans suffer this pain.
Good luck
___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Matthew Seaman
On 26/01/2011 21:57, O. Hartmann wrote:
> My thinking was simple, I thought since the two physical 1TB disks build
> one joint pool of 2TB overall capacity, I could simply 'mirror' this
> pool to another disk of the same capacity.
> Is there a way to 'send' via ZFS the data of the pool to the backup
> disk, like a snapshot from one pool to another one?

Yes.  Predictably enough the command is 'zfs send ...' -- with a
counterpart 'zfs receive ...' See zfs(1) for details.  You have to send
a snapshot, or the delta between a previous snapshot and a more recent
one.  However, it's not to difficult to turn that into effectively
sending the state of a live filesystem so long as there aren't too many
changes going on.

Cheers,

Matthew

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



signature.asc
Description: OpenPGP digital signature


Re: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Dan Nelson
In the last episode (Jan 26), Christer Solskogen said:
> On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson  wrote:
> > ZFS lets you add and detach mirrors on the fly, since you're not
> > changing the capacity of the pool itself.   Sure, you're going to lose
> > the contents of the large 2TB drive, but that's sort of assumed.   You
> > can't convert 4TB of non-mirrored disks into 2TB of mirrored disks
> > without losing 2TB of space.  Just make sure you have less than 2TB
> > total used data on all volumes, and copy the data off the 2TB filessytem
> > onto the striped 1+1TB one before repartitioning and adding the mirrors.
> >
> >  zpool attach [-f] pool device new_device
> 
> The problem is that you cant attach a drive to a vdev that consists of two
> striped disks.

We may have to defer back to Oliver to see exactly how his disks are set up
("zpool status pool1" and "pool2" would be nice), but if he did two "zpool
add" commands, he has two independant vdevs in one zpool, and he can mirror
each of them with a "zpool attach" command.  ZFS doesn't have a "stripe"
vdev type.

-- 
Dan Nelson
dnel...@allantgroup.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: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread O. Hartmann

On 01/26/11 21:47, Christer Solskogen wrote:

On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson  wrote:


ZFS lets you add and detach mirrors on the fly, since you're not changing
the capacity of the pool itself.  Sure, you're going to lose the contents of
the large 2TB drive, but that's sort of assumed.  You can't convert 4TB of
non-mirrored disks into 2TB of mirrored disks without losing 2TB of space.
Just make sure you have less than 2TB total used data on all volumes, and
copy the data off the 2TB filessytem onto the striped 1+1TB one before
repartitioning and adding the mirrors.

  zpool attach [-f] pool device new_device



The problem is that you cant attach a drive to a vdev that consists of
two striped disks.


All right, I see there is no way without any kind of trade-off.

My thinking was simple, I thought since the two physical 1TB disks build 
one joint pool of 2TB overall capacity, I could simply 'mirror' this 
pool to another disk of the same capacity.
Is there a way to 'send' via ZFS the data of the pool to the backup 
disk, like a snapshot from one pool to another one?


Oliver
___
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: Streams fail, more/less.

2011-01-26 Thread Paul Macdonald

On 25/01/2011 23:54, Gary Kline wrote:

The _last_ thing that I need to resolve--or at least to understand, is why
streams suddenly stopped working about two weeks ago.  With all the other
hassles, I didn't want to check and see if streams worked here on my server
--they don't.  The streams stall after a few seconds or a few minutes on my
Ubuntu desktop.  The youtube streams always worked before.  No more.

Meanwhile I have no trouble downloading source or packages at 110 to 170kpbs .
  But the streams fail: both audio and video.  I have zero idea even where to
  begin looking to fix this problem.

  Anybody know?

  thanks in advance,

  gary


  PS: some audio will streams at very slow rate ... but usually stops after a
  few minutes.




this is probably just an insufficient bandwidth problem,  check the 
bitrate of the streams you are listening, try lower bitrate ones ( 
64kbps or even 32kbps) to verify that there's no other problem.


Check your residential dsl package speed ( i use www.speedtest.net but 
there might be a better one near you, google dsl speed test).  Test it 
against a local POP that you think hosts streams, ie soemwhere where 
there's lot of data centers.


You will get different download speeds from different services online 
depending on how they and you are connected, but in general, 170Kbps 
isn't very fast, especially as a lot of streaming stattions will be 128 
or poss even 192Kbps.


 Paul.
-

Paul Macdonald
IFDNRG Ltd
Web and video hosting
-
t: 0131 5548070
m: 07534206249
e: p...@ifdnrg.com
w: http://www.ifdnrg.com
-
IFDNRG
40 Maritime Street
Edinburgh
EH6 6SA
-

___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 9:42 PM, Dan Nelson  wrote:

> ZFS lets you add and detach mirrors on the fly, since you're not changing
> the capacity of the pool itself.  Sure, you're going to lose the contents of
> the large 2TB drive, but that's sort of assumed.  You can't convert 4TB of
> non-mirrored disks into 2TB of mirrored disks without losing 2TB of space.
> Just make sure you have less than 2TB total used data on all volumes, and
> copy the data off the 2TB filessytem onto the striped 1+1TB one before
> repartitioning and adding the mirrors.
>
>  zpool attach [-f] pool device new_device
>

The problem is that you cant attach a drive to a vdev that consists of
two striped disks.

-- 
chs,
___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Dan Nelson
In the last episode (Jan 26), Christer Solskogen said:
> On Wed, Jan 26, 2011 at 8:58 PM, Dan Nelson  wrote:
> > In the last episode (Jan 26), Christer Solskogen said:
> >> On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann wrote:
> >> > My question is: is it possible to migrate the two-disk pool without
> >> > data loss into a mirrored pool by adding the one 2TB-disk?
> >>
> >> No, you cant create a two-way mirror of three disks with ZFS. The only
> >> way of doing what you want by creating a gmirror (or by hardware raid)
> >> of the two 1TB disks.
> >
> > You can, if you partition the 2tb disk into two smaller volumes, each
> > the same size as one of the 1tb disks, then add one of those as a mirror
> > of each original disk.   You'll end up with two mirrored vdevs in the
> > pool.  Performance probably won't be as good as a real mirror, though,
> > since zfs doesn't know that two of its physical disks share a spindle.
> 
> Rememer that he also asked to do this without data loss. As far as I know
> you cant remove devices from a vdev.  If he is willing to accept data loss
> there are a lots of ways of doing it.

ZFS lets you add and detach mirrors on the fly, since you're not changing
the capacity of the pool itself.  Sure, you're going to lose the contents of
the large 2TB drive, but that's sort of assumed.  You can't convert 4TB of
non-mirrored disks into 2TB of mirrored disks without losing 2TB of space. 
Just make sure you have less than 2TB total used data on all volumes, and
copy the data off the 2TB filessytem onto the striped 1+1TB one before
repartitioning and adding the mirrors.

  zpool attach [-f] pool device new_device

Attaches  new_device  to  an  existing  zpool  device.   The  existing
device  cannot  be  part  of a raidz configuration. If _device_ is not
currently part of a  mirrored  configuration,  _device_  automatically
transforms  into  a  two-way  mirror  of _device_ and _new_device_. If
_device_ is part of a two-way mirror, attaching _new_device_ creates a
three-way  mirror,  and  so on. In either case, _new_device_ begins to
resilver immediately.

(Do not confuse with zpool add, which adds a whole new vdev to the pool. 
vdevs cannot be removed once added)

-- 
Dan Nelson
dnel...@allantgroup.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: FreeBSD 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 8:58 PM, Dan Nelson  wrote:
> In the last episode (Jan 26), Christer Solskogen said:
>> On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann wrote:
>> > My question is: is it possible to migrate the two-disk pool without data
>> > loss into a mirrored pool by adding the one 2TB-disk?
>>
>> No, you cant create a two-way mirror of three disks with ZFS. The only way
>> of doing what you want by creating a gmirror (or by hardware raid) of the
>> two 1TB disks.
>
> You can, if you partition the 2tb disk into two smaller volumes, each the
> same size as one of the 1tb disks, then add one of those as a mirror of each
> original disk.  You'll end up with two mirrored vdevs in the pool.
> Performance probably won't be as good as a real mirror, though, since zfs
> doesn't know that two of its physical disks share a spindle.
>

Rememer that he also asked to do this without data loss. As far as I
know you cant remove devices from a vdev. If he is willing to accept
data loss there are a lots of ways of doing it.

-- 
chs,
___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Dan Nelson
In the last episode (Jan 26), Christer Solskogen said:
> On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann wrote:
> > My question is: is it possible to migrate the two-disk pool without data
> > loss into a mirrored pool by adding the one 2TB-disk?
> 
> No, you cant create a two-way mirror of three disks with ZFS. The only way
> of doing what you want by creating a gmirror (or by hardware raid) of the
> two 1TB disks.

You can, if you partition the 2tb disk into two smaller volumes, each the
same size as one of the 1tb disks, then add one of those as a mirror of each
original disk.  You'll end up with two mirrored vdevs in the pool. 
Performance probably won't be as good as a real mirror, though, since zfs
doesn't know that two of its physical disks share a spindle.

Original:

pool1
  da0
  da1

New:

pool1
  mirror
da0
da2p1
  mirror
da1
da2p2

-- 
Dan Nelson
dnel...@allantgroup.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: HPLIP 3.10.9 problems on FreeBSD 8.1

2011-01-26 Thread Adam Vande More
On Wed, Jan 26, 2011 at 11:41 AM, Rolf Nielsen  wrote:

> I am trying to make my HP LaserJet P1102 work on FreeBSD 8.1 and
>> towards that goal I installed HPLIP 3.10.9 from the Ports Collection.
>> But there are two problems:
>> 1.First, when I try to run HPLIP in the GUI (GNOME), it closes once
>> it's opened. It remains open for less than a second.
>> 2.Second, it does not recognize my printer. When I use the
>> command-line tools it just simply does not recognize my printer. This
>> is while the printer is recognized on the USB bus, I confirm it by
>> using "usbconfig".
>>
>
It seems to me hplip is in a lot of ways just an extension of CUPS.  I've
had mixed luck with hplip although not with your specific issue.  I would
try to run the hplip utility you're using from the command line to see where
it is failing but you should be able to administer most functions from the
cups web interface.  I had one printer that was said to be supported which I
spend approximately 6 months on and off trying to get to work and never
did(the printer did work on a Mac, just not FreeBSD).  After replacing it
with a different model, it worked immediately and very smoothly.  I have
hplip installed at other locations and it works well.


> If not, try one of them.

Hm. I just checked the output of my usbconfig, and it also shows no ulpt,
> though I do have it. And I also checked the GENERIC config file, and it does
> include ulpt, at least for 8.2-PRERELEASE amd64. So, you may actually have
> it. But that's still the first thing I'd look for if I were you.



Easy way to check if module is in kernel is "kldstat -v"

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


ulpt0 Not Recognized! (HP LaserJet P1102)

2011-01-26 Thread Bahman Kahinpour
Hello,

Your guide was very advantageous (thanks a lot) and also I downloaded
some of your other guides. So far I understood that the data port for
a USB printer becomes /dev/ulpt0 instead of /dev/lpt0 which is for a
PARALLEL printer. But, when I turn on my HP printer there is no
/dev/ulpt0 while the printer is recognized on the USB bus (checked
with usbconfig).

Then, the problem is: What should I do so that lpt0 appears in /dev or
a HP printer. (I don't really like fancy features of CUPS and HPLIP) I
simply need printing!

Thanks for help

On 1/26/11, Warren Block  wrote:
> On Wed, 26 Jan 2011, Bahman Kahinpour wrote:
>
>> How can I print to a HP printer without installing HPLIP? I know the
>> exact filter needed to print to the printer (foo2zjs according to
>> OpenPrinting.org) If it were PARALLEL or SERIAL I could use the
>> handbook but handbook doesn't have any info. about printing to a USB
>> printer.
>
> The only difference is the device, using /dev/ulpt0 or /dev/unlpt0.  My
> "lpd Printing With FreeBSD" demonstrates:
> http://www.wonkity.com/~wblock/docs/html/lpdprinting.html
>
> But a foo2zjs printer may require a firmware download before it is even
> detected as a printer, and then foo2zjs probably requires CUPS.  There
> are some threads on forums.freebsd.org that may help.
>
___
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"


Problem building GIMP 2.6.11 on 8.2-PRERELEASE

2011-01-26 Thread William Bulley
Everything up to this point builds okay.  Then this happens:

Making all in common
gmake[3]: Entering directory 
`/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins/common'
cc -DHAVE_CONFIG_H -I. -I../.. -I../.. -D_THREAD_SAFE -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2   
-I/usr/local/include  -I/usr/local/include -DGIMP_DISABLE_DEPRECATED 
-DGDK_MULTIHEAD_SAFE -DGTK_MULTIHEAD_SAFE  -O2 -fno-strict-aliasing -pipe -Wall 
-Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations 
-Winit-self -Wpointer-arith -Wold-style-definition -MT file_pdf-file-pdf.o -MD 
-MP -MF .deps/file_pdf-file-pdf.Tpo -c -o file_pdf-file-pdf.o `test -f 
'file-pdf.c' || echo './'`file-pdf.c
file-pdf.c:30:21: error: poppler.h: No such file or directory
file-pdf.c:70: error: expected ')' before '*' token
file-pdf.c:77: error: expected ')' before '*' token
file-pdf.c:80: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'*' token
file-pdf.c:83: error: expected ')' before '*' token
file-pdf.c: In function 'run':
file-pdf.c:330: error: 'PopplerDocument' undeclared (first use in this function)
file-pdf.c:330: error: (Each undeclared identifier is reported only once
file-pdf.c:330: error: for each function it appears in.)
file-pdf.c:330: error: 'doc' undeclared (first use in this function)
file-pdf.c:331: warning: ISO C90 forbids mixed declarations and code
file-pdf.c:356: warning: implicit declaration of function 'open_document'
file-pdf.c:364: warning: implicit declaration of function 'load_dialog'
file-pdf.c:380: error: 'PopplerPage' undeclared (first use in this function)
file-pdf.c:380: error: 'test_page' undeclared (first use in this function)
file-pdf.c:380: warning: implicit declaration of function 
'poppler_document_get_page'
file-pdf.c:405: warning: implicit declaration of function 'load_image'
file-pdf.c:449: error: 'page' undeclared (first use in this function)
file-pdf.c:453: warning: implicit declaration of function 
'poppler_page_get_size'
file-pdf.c:458: warning: implicit declaration of function 'get_thumbnail'
file-pdf.c:458: warning: assignment makes pointer from integer without a cast
file-pdf.c: At top level:
file-pdf.c:515: error: expected '=', ',', ';', 'asm' or '__attribute__' before 
'*' token
file-pdf.c:570: error: expected ')' before '*' token
file-pdf.c:680: error: expected ')' before '*' token
file-pdf.c:729: error: expected specifier-qualifier-list before 
'PopplerDocument'
file-pdf.c: In function 'thumbnail_thread':
file-pdf.c:762: warning: implicit declaration of function 
'poppler_document_get_n_pages'
file-pdf.c:762: error: 'ThreadData' has no member named 'document'
file-pdf.c:768: error: 'ThreadData' has no member named 'selector'
file-pdf.c:772: error: 'ThreadData' has no member named 'document'
file-pdf.c:773: warning: assignment makes pointer from integer without a cast
file-pdf.c:777: error: 'ThreadData' has no member named 'stop_thumbnailing'
file-pdf.c: At top level:
file-pdf.c:785: error: expected ')' before '*' token
gmake[3]: *** [file_pdf-file-pdf.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins/common'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory 
`/usr/ports/graphics/gimp-app/work/gimp-2.6.11/plug-ins'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/graphics/gimp-app/work/gimp-2.6.11'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/graphics/gimp-app.
*** Error code 1

Stop in /usr/ports/graphics/gimp-app.
*** Error code 1

Stop in /usr/ports/graphics/gimp.
*** Error code 1

Stop in /usr/ports/graphics/gimp.


And poppler.h exists here:

   /usr/local/include/poppler/glib/poppler.h

and here:

   /usr/ports/graphics/poppler/work/poppler-0.14.5/glib/poppler.h

and here:

   /usr/ports/graphics/poppler-gtk/work/poppler-0.14.5/glib/poppler.h

and they are all identical.


Regards,

web...

--
William Bulley Email: w...@umich.edu

72 characters width template ->|
___
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: more CPU being used than I have (?)

2011-01-26 Thread Chad Perrin
On Wed, Jan 26, 2011 at 02:32:32PM +, Craig Butler wrote:
> 
> ASK GOOGLE !!!

I DID !!!

I must have used a less effective search string than you.

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


pgpdNhUwIyzx4.pgp
Description: PGP signature


Re: Simplest way to print to a HP USB Printer without HPLIP

2011-01-26 Thread Warren Block

On Wed, 26 Jan 2011, Bahman Kahinpour wrote:


How can I print to a HP printer without installing HPLIP? I know the
exact filter needed to print to the printer (foo2zjs according to
OpenPrinting.org) If it were PARALLEL or SERIAL I could use the
handbook but handbook doesn't have any info. about printing to a USB
printer.


The only difference is the device, using /dev/ulpt0 or /dev/unlpt0.  My 
"lpd Printing With FreeBSD" demonstrates:

http://www.wonkity.com/~wblock/docs/html/lpdprinting.html

But a foo2zjs printer may require a firmware download before it is even 
detected as a printer, and then foo2zjs probably requires CUPS.  There 
are some threads on forums.freebsd.org that may help.

___
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: dhcpd does not log

2011-01-26 Thread Toomas Aas

Hello, Robert!


I don't think syslog understands '.*' for priority.


Actually, according to syslog.conf(5) it should:

---
  An asterisk (``*'') can be used to specify all facilities, all levels, or
 all programs.
---



Try using 'local4.debug' -- that will log anything at 'debug' *OR*HIGHER*.


I tried that, but it didn't help. Actually, I have several other  
daemons logging to various localX facilities and they do work with '*'  
level in syslog.conf


Thanks for taking the time to respond.

--
Toomas Aas

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


Simplest way to print to a HP USB Printer without HPLIP

2011-01-26 Thread Bahman Kahinpour
Hello,
How can I print to a HP printer without installing HPLIP? I know the
exact filter needed to print to the printer (foo2zjs according to
OpenPrinting.org) If it were PARALLEL or SERIAL I could use the
handbook but handbook doesn't have any info. about printing to a USB
printer.
Thanks for help
___
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: include file not found

2011-01-26 Thread Da Rock

On 01/27/11 00:21, b. f. wrote:

Da Rock wrote:
   

gcc -Wall -Wformat-security -Wno-format-zero-length  -g -O3 -I.
-I/usr/include -I/usr/local/include  -DLIBDIR='"/lib/l2tpns"'
-DETCDIR='"/etc/l2tpns"' -DSTATISTICS -DSTAT_CALLS -DRINGBUFFER
-DHAVE_EPOLL -DBGP -c -o arp.o arp.c
In file included from arp.c:8:
/usr/include/net/if_arp.h:88: error: field 'arp_pa' has incomplete type
/usr/include/net/if_arp.h:89: error: field 'arp_ha' has incomplete type
 

You seem to be missing definitions of struct sockaddr, so probably
sys/socket.h is needed.
   

Got that one.
   

In file included from arp.c:9:
/usr/include/netinet/if_ether.h:96: error: field 'sin_addr' has
incomplete type
/usr/include/netinet/if_ether.h:97: error: field 'sin_srcaddr' has
incomplete type
 

Here it looks like you're missing struct in_addr, which is in
sys/netinet/in.h (and also arpa/inet.h).
   

And that one- missed arpa/inet.h though :)
   

arp.c:20: error: 'ETH_ALEN' undeclared here (not in a function)
arp.c: In function 'sendarp':
arp.c:29: error: storage size of 'sll' isn't known
arp.c:54: error: 'PF_PACKET' undeclared (first use in this function)
arp.c:54: error: (Each undeclared identifier is reported only once
arp.c:54: error: for each function it appears in.)
arp.c:54: error: 'ETH_P_RARP' undeclared (first use in this function)
arp.c:57: error: 'AF_PACKET' undeclared (first use in this function)
 

Some of these missing parameters are Linux-specific.

   

arp.c:29: warning: unused variable 'sll'
gmake: *** [arp.o] Error 1
 

As you can see, porting requires some care.  It's not only a matter of
including different headers; there are some other differences that may
require patches, and we won't be able to go through this step-by-step
on the list.  You can see what FreeBSD headers a similar FreeBSD
application needs by looking at src/usr.sbin/arp, and you can get some
help with the Linux->FreeBSD part by looking at /sys/compat/linux,
   
Yes, I was thinking of asking that question. linux/packet.h system, is 
there a compatible bsd version to this (even deprecated?)? Mind you, 
from what I've read it could even be deprecated itself :) It was 
released in 2002 after all. According to some references, you're 
supposed to be using kernel/if_ether.h. The code I'm building doesn't 
appear to have changed much in nearly a year, so I don't know.

http://svn.freebsd.org/viewvc/base/projects/ofed/head/sys/ofed/include/

and

http://fxr.watson.org/

; and you might be able to cheat a bit by using a compatibility layer
like devel/gnulib, but you're going to have to go through this
carefully on your own.
   
I'm hoping to win this one myself; I've been trying to get a better 
handle on the internals of FreeBSD so I can do more patching when things 
go wrong and be able to submit those instead of complaining its just 
'broke'. This just might help me 'cut my teeth'. I might ask just a few 
dumb questions along the way though :)


One thing I don't understand, though, apparently this code just builds 
on FreeBSD according to the site I'm following (7.2). I'm going to have 
a closer look at that and see whats up...

___
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: ndis-based network driver fails to load at boot (8.2-PRERELEASE)

2011-01-26 Thread Paul B Mahol
On Tue, Jan 25, 2011 at 7:28 PM, Yuri  wrote:
>
>> Does reverting:
>>
>> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/if_ndis/if_ndis_usb.c.diff?r1=1.19.2.3;r2=1.19.2.4;f=h
>>
>> fixed problem?
>>
>
> Hi Paul,
>
> So did the find that this particular checkin caused the problem led to some
> resolution? Is it fixed now in 8.X or 9.X?

Should be fixed in 9.0 aka CURRENT and I hope in 8.2 (PRE)RELEASE.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: HPLIP 3.10.9 problems on FreeBSD 8.1

2011-01-26 Thread Rolf Nielsen

2011-01-26 18:04, Bahman Kahinpour skrev:

Hi FreeBSD people,
I am trying to make my HP LaserJet P1102 work on FreeBSD 8.1 and
towards that goal I installed HPLIP 3.10.9 from the Ports Collection.
But there are two problems:
1.First, when I try to run HPLIP in the GUI (GNOME), it closes once
it's opened. It remains open for less than a second.
2.Second, it does not recognize my printer. When I use the
command-line tools it just simply does not recognize my printer. This
is while the printer is recognized on the USB bus, I confirm it by
using "usbconfig".

mail# uname -a
FreeBSD mail.freebsdsystem.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon
Jan 24 23:09:14 IRST 2011
r...@mail.freebsdsystem.net:/usr/obj/usr/src/sys/GENERIC  i386
mail# usbconfig
ugen0.1:  at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen1.1:  at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen0.2:  at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE
ugen1.2:  at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE
ugen1.3:  at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON
ugen1.4:  at usbus1, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON
ugen1.5:  at usbus1,
cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
mail#

Can you give me a little help? Has anyone ever managed to get this
printer (HP P1102) working on FreeBSD?

Good Luck
___
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've never used that specific printer, but the first thing that comes to 
mind is the lack of ulpt entries. Do you have


device  ulpt

in your kernel config file, or

ulpt_load="YES"

in your /boot/loader.conf ?

If not, try one of them.


Hm. I just checked the output of my usbconfig, and it also shows no 
ulpt, though I do have it. And I also checked the GENERIC config file, 
and it does include ulpt, at least for 8.2-PRERELEASE amd64. So, you may 
actually have it. But that's still the first thing I'd look for if I 
were you.


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


HPLIP 3.10.9 problems on FreeBSD 8.1

2011-01-26 Thread Bahman Kahinpour
Hi FreeBSD people,
I am trying to make my HP LaserJet P1102 work on FreeBSD 8.1 and
towards that goal I installed HPLIP 3.10.9 from the Ports Collection.
But there are two problems:
1.First, when I try to run HPLIP in the GUI (GNOME), it closes once
it's opened. It remains open for less than a second.
2.Second, it does not recognize my printer. When I use the
command-line tools it just simply does not recognize my printer. This
is while the printer is recognized on the USB bus, I confirm it by
using "usbconfig".

mail# uname -a
FreeBSD mail.freebsdsystem.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon
Jan 24 23:09:14 IRST 2011
r...@mail.freebsdsystem.net:/usr/obj/usr/src/sys/GENERIC  i386
mail# usbconfig
ugen0.1:  at usbus0, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen1.1:  at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen0.2:  at usbus0, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE
ugen1.2:  at usbus1, cfg=0 md=HOST
spd=HIGH (480Mbps) pwr=SAVE
ugen1.3:  at usbus1, cfg=0 md=HOST spd=LOW
(1.5Mbps) pwr=ON
ugen1.4:  at usbus1, cfg=0 md=HOST
spd=LOW (1.5Mbps) pwr=ON
ugen1.5:  at usbus1,
cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
mail#

Can you give me a little help? Has anyone ever managed to get this
printer (HP P1102) working on FreeBSD?

Good Luck
___
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: Date of a FreeBSD installation

2011-01-26 Thread David Demelier

On 14/01/2011 19:46, Carl Johnson wrote:

Chip Camden  writes:


Quoth Carl Chave on Friday, 14 January 2011:

I'd suggest looking at the Btimes of top level directories

stat -f "%SB %N" /*


Or how about just / as this ~15 minutes earlier than most of the
remaining top level directories


sodserve# stat -f "%SB %N" /*
Jan  9 04:54:21 2011 /COPYRIGHT
Jan  9 04:54:21 2011 /bin
Jan  9 04:54:21 2011 /boot
Dec 31 18:59:59 1969 /dev
Jan  9 04:54:21 2011 /etc
Jan  9 04:54:21 2011 /lib
Jan  9 04:54:21 2011 /libexec
Jan  9 04:54:21 2011 /media
Jan  9 04:54:21 2011 /mnt
Jan  9 04:54:21 2011 /proc
Jan  9 04:54:21 2011 /rescue
Jan  9 04:54:21 2011 /root
Jan  9 04:54:21 2011 /sbin
Jan  9 04:54:21 2011 /sys
Jan  9 04:48:39 2011 /tmp
Jan  9 04:48:45 2011 /usr
Jan  9 04:49:39 2011 /var

sodserve# stat -f "%SB %N" /
Jan  9 04:39:59 2011 /


For me, that gets the Nov 21 2009 date, which is earlier than my
install date.

So far, /etc/hostid and the /home symlink seem to be the winners.


On my system /etc/hostid is several days later than my actual install
date, so that isn't always reliable.  You might want to create a file
with the timestamp you want.  The most likely time appears to me to be
the 'Created' time in /etc/rc.conf, as someone suggested earlier.  The
following code will extract that and create a file with that timestamp.
I have checked it on my system, but use at your own risk.

file=/etc/install_date
date=$(grep '^# Created: ' /etc/rc.conf | cut -c 12-80)
tdate=$(date -j -f "%a %b %d %H:%M:%S %Y" "$date" "+%Y%m%d%H%M.%S")
echo $date>  $file
touch -t $tdate $file
chmod -w $file
chflags schange $file



I finally agreed for /home symlink. I've made a mistake. To be sure the 
link and not the directory /usr/home is touched the best to do is :


# chflags -h uchg /home

-h means "not following links"

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


interrupt storm detected

2011-01-26 Thread FRLinux
Hello All,

I have a server running FreeBSD 8.2-RC1 with a 3ware 9650 24ports
controller. Every now and then I am seeing the interrupt storm
message. I have increased the following according to the list:
hw.intr_storm_threshold=4000 but it still happens. Any advice?


interrupt storm detected on "irq16:"; throttling interrupt source
interrupt storm detected on "irq16:"; throttling interrupt source
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 1133 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 12087
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 1386 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 13771
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 1578 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 20487
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 571 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 20407
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
interrupt storm detected on "irq16:"; throttling interrupt source
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 2331 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 27599
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 2681 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 20055
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
fsync: giving up on dirty
0xff0007c7e000: tag devfs, type VCHR
usecount 1, writecount 0, refcount 2690 mountedhere 0xff00079f9000
flags ()
v_object 0xff0007be40d8 ref 0 pages 19631
lock type devfs: EXCL by thread 0xff0007504000 (pid 7)
dev da0.journal
GEOM_JOURNAL: Cannot suspend file system /mnt/backups (error=35).
interrupt storm detected on "irq16:"; throttling interrupt source


Thanks!
Steph
___
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: Monting nfs at boot

2011-01-26 Thread Warren Block

On Wed, 26 Jan 2011, Polytropon wrote:


On Wed, 26 Jan 2011 10:31:10 +0100, Sven-Åke Svensson  wrote:

When booting amd64 it looks like it try to mount the nfs directories
before the network is up. On the screen I can see that it try to mount
and then there is a line telling that the network interface is up. There
it locks up for some minutes before it continue and mounting.
[...]
Maybe there are some easy configuration fix, but I can't find it.


Check out the -l option of mount, and the corresponding
keyword "late" in /etc/fstab. See "man mount" for details.
Also see /etc/rc.d/mountlate to learn how it works (and
if it fits your requirements).


Using SYNCDHCP instead of just DHCP in /etc/rc.conf ifconfig lines may 
also help.___
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: Best RAID setup

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 1:56 AM, Don O'Neil  wrote:

>
> I'm just looking for the most stable, and production ready RAID that can
> handle at least 1 TB disks and create volumes in the 3-4 TB range. Any
> thoughts, feedback, caveats, etc. are welcomed.
>

ZFS. You want it.

-- 
chs,
___
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: Best RAID setup

2011-01-26 Thread Subhro Kar

On 26-Jan-2011, at 6:26 AM, Don O'Neil wrote:

> I'm getting ready to setup a new FreeBSD 8.1 64 bit server and wanted to
> know everyone's thoughts on which way to go. software RAID 5 (or 10) or
> hardware RAID 5 (or 10).

If you need to select between software and hardware RAID, then by all means go 
for hardware RAID. RAID 10 is always faster than RAID5 and the difference 
really stands out when writing data.

> I currently have a 3Ware card in one of my servers
> and it works great, but I haven't really been keeping up on what the latest
> RAID support is.


All RAID cards (that I have come across) support both RAID 10 and RAID5. So 
there is a fair chance that your card will not disappoint you.
> How is the ZFS support these days? Is it production ready?

ZFS is fine. I use it on my prod boxes and so far there have been no issues.

> What about hardware RAID, is there a compatibility list somewhere with what
> hardware (or pseudo hardware) RAID controllers are supported? 

Didn't get this question though.

> 
> 
> 
> I'm just looking for the most stable, and production ready RAID that can
> handle at least 1 TB disks and create volumes in the 3-4 TB range. Any
> thoughts, feedback, caveats, etc. are welcomed.

You need to RTFM.

Thanks
--
Subhro Kar
Visit my Blog: http://blog.80386.org

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


Re: Installing gnome2 problems...

2011-01-26 Thread Chris Brennan
On Wed, Jan 26, 2011 at 8:15 AM, Modulok  wrote:

> List,
>
> I tried to install gnome2 today, but failed. I first tried using
> pkg_add, but ran into a conflict where 'tdb-1.2.0 conflicts with
> samba3.0.37_1,1'.


Samba's backend changed, you'll need to make sure that all of Samba3's deps
are installed/upgraded correctly.



> I *need* samba3 as I use it for other network
> services. So, I tried to build gnome2 from ports after disabling MAPI.
> It *almost* worked, but the build still failed. I ran
> gnomelogalyzer.sh as instructed, but it said the cause was unknown.
>
>
Where did it fail, what was the error? Can you post the relevant part of the
failure to the list?


> Before I built anything, I updated my ports tree via 'portsnap fetch
> && portsnap update'. I'm on FreeBSD 8.1 RELEASE on amd64.
>
>
'portsnap fetch extract' or 'portsnap fetch update' ... saves yourself some
keystrokes. I tend to alias these to 'pfe' and pfu', saves even more
keystrokes.
___
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: more CPU being used than I have (?)

2011-01-26 Thread Craig Butler

> > > 
> > > %cpu  The CPU utilization of the process; this is a decaying average
> > >  over up to a minute of previous (real) time. Since the time
> > > base over which this is computed varies (since processes may be
> > > very young) it is possible for the sum of all %cpu fields to
> > > exceed 100%.
> > 
> > Unfortunately, that doesn't explain why.
> > 
> 
> Chad,
> 
> ASK GOOGLE !!!
> 
> a quick google search gave me -
> 
> http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1296052256266+28353475&threadId=57634
> 
> happy reading..
> 
> Regards
> 
> Craig B
> 
> ___
> 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"

copied from above link --

In summary:

The %WCPU is just a 'forecast' value for the process. It really has no
real world value. It's value is totally controlled by the scheduler.

The man page for top(1) indicates that %CPU is the "Raw CPU percentage.
This field is used to sort the top processes".

Well, the %CPU is the total percentage without the 'forecast' factor
built-in, such as a 'raw value.'

Regards

Craig B


___
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: more CPU being used than I have (?)

2011-01-26 Thread Craig Butler
On Tue, 2011-01-25 at 11:36 -0700, Chad Perrin wrote:
> On Tue, Jan 25, 2011 at 06:20:02AM -0700, Dmitri Brengauz wrote:
> > On Mon, Jan 24, 2011 at 8:07 PM, Chad Perrin  wrote:
> > >
> > > Do you have a reference to a relatively simple explanation of how that
> > > weighting works (and why)?
> > 
> > man 1 ps:
> > 
> > %cpu  The CPU utilization of the process; this is a decaying average
> >  over up to a minute of previous (real) time. Since the time
> > base over which this is computed varies (since processes may be
> > very young) it is possible for the sum of all %cpu fields to
> > exceed 100%.
> 
> Unfortunately, that doesn't explain why.
> 

Chad,

ASK GOOGLE !!!

a quick google search gave me -

http://forums13.itrc.hp.com/service/forums/questionanswer.do?admit=109447627+1296052256266+28353475&threadId=57634

happy reading..

Regards

Craig B

___
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: include file not found

2011-01-26 Thread b. f.
Da Rock wrote:
> gcc -Wall -Wformat-security -Wno-format-zero-length  -g -O3 -I.
> -I/usr/include -I/usr/local/include  -DLIBDIR='"/lib/l2tpns"'
> -DETCDIR='"/etc/l2tpns"' -DSTATISTICS -DSTAT_CALLS -DRINGBUFFER
> -DHAVE_EPOLL -DBGP -c -o arp.o arp.c
> In file included from arp.c:8:
> /usr/include/net/if_arp.h:88: error: field 'arp_pa' has incomplete type
> /usr/include/net/if_arp.h:89: error: field 'arp_ha' has incomplete type

You seem to be missing definitions of struct sockaddr, so probably
sys/socket.h is needed.

> In file included from arp.c:9:
> /usr/include/netinet/if_ether.h:96: error: field 'sin_addr' has
> incomplete type
> /usr/include/netinet/if_ether.h:97: error: field 'sin_srcaddr' has
> incomplete type

Here it looks like you're missing struct in_addr, which is in
sys/netinet/in.h (and also arpa/inet.h).

> arp.c:20: error: 'ETH_ALEN' undeclared here (not in a function)
> arp.c: In function 'sendarp':
> arp.c:29: error: storage size of 'sll' isn't known
> arp.c:54: error: 'PF_PACKET' undeclared (first use in this function)
> arp.c:54: error: (Each undeclared identifier is reported only once
> arp.c:54: error: for each function it appears in.)
> arp.c:54: error: 'ETH_P_RARP' undeclared (first use in this function)
> arp.c:57: error: 'AF_PACKET' undeclared (first use in this function)

Some of these missing parameters are Linux-specific.

> arp.c:29: warning: unused variable 'sll'
> gmake: *** [arp.o] Error 1

As you can see, porting requires some care.  It's not only a matter of
including different headers; there are some other differences that may
require patches, and we won't be able to go through this step-by-step
on the list.  You can see what FreeBSD headers a similar FreeBSD
application needs by looking at src/usr.sbin/arp, and you can get some
help with the Linux->FreeBSD part by looking at /sys/compat/linux,

http://svn.freebsd.org/viewvc/base/projects/ofed/head/sys/ofed/include/

and

http://fxr.watson.org/

; and you might be able to cheat a bit by using a compatibility layer
like devel/gnulib, but you're going to have to go through this
carefully on your own.

b.
___
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: snd_es137x && no recording from headset micro

2011-01-26 Thread Matthias Apitz
El día Tuesday, January 25, 2011 a las 02:27:58PM +0100, Matthias Apitz 
escribió:

> 
> Hello,
> 
> I run FreeBSD 8.x in a VMWare hosted on Win7. The VM presents the Intel
> HDA sound card of the laptop as AudioPCI ES1371-A and I have to use the driver
> snd_es137x(4) which works fine with only the problem that I can not
> manage to record from the headset micro.
> 
> The headset micro works fine in Win7 and it switches between the laptop
> build-in micro and the headset micro on plug-in; as well while running
> FreeBSD before as host system on this laptop I could record from both micro 
> (using the
> snd_hda(4) driver.
> 
> The output of /dev/sndstat is:
> 
> $ cat /dev/sndstat
> FreeBSD Audio Driver (newpcm: 32bit 2007061600/i386)
> Installed devices:
> pcm0:  at io 0x2040 irq 16 kld snd_es137x [MPSAFE] 
> (2p:4v/1r:4v channels duplex default)
> 
> i.e. there is only pcm0 and no pcm1 (should it?)

I did some more tests and have now a clear picture:

1)
in Win7 you can control (System-control-->Sound-->Input) the input
devices (build-in micro ./. headset micro), you can test them there and
you can define which one is the default; if you set 'headset micro' as
default and pull it out, the default switches to build-in micro and back
again if you plug it in again;

2)
if you start the VM while a) headset micro is pluged-in and b) set as
default, the recording in Skype works from headset micro; YES, it works!

3)
if you pull out the headset micro, the recording (also in the VM with
Skype) falls back to build-in micro; but you can't switch back by
pluging it in again, is stays with build-in micro; even a FreeBSD guest
system reboot does not change it back; only a restart of VMWare bring
the headset micro again as default;

It looks like a bug in VMWare or Win7, I think, and nothing we could
address here in FreeBSD world, or?

Just for the record, se also http://communities.vmware.com/thread/300335

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"


Installing gnome2 problems...

2011-01-26 Thread Modulok
List,

I tried to install gnome2 today, but failed. I first tried using
pkg_add, but ran into a conflict where 'tdb-1.2.0 conflicts with
samba3.0.37_1,1'. I *need* samba3 as I use it for other network
services. So, I tried to build gnome2 from ports after disabling MAPI.
It *almost* worked, but the build still failed. I ran
gnomelogalyzer.sh as instructed, but it said the cause was unknown.

Before I built anything, I updated my ports tree via 'portsnap fetch
&& portsnap update'. I'm on FreeBSD 8.1 RELEASE on amd64.

Any suggestions? Thanks!
-Modulok-
___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread krad
On 26 January 2011 09:21, Christer Solskogen
 wrote:
> On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann
>  wrote:
>
>> My question is: is it possible to migrate the two-disk pool without data
>> loss into a mirrored pool by adding the one 2TB-disk?
>>
>
> No, you cant create a two-way mirror of three disks with ZFS. The only
> way of doing what you want by creating a gmirror (or by hardware raid)
> of the two 1TB disks.
>
> --
> chs,
> ___
> 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"
>


ive not tried it but wouldn't you want to gstripe the two disks
together and then add the geom device to the pool? It sounds a bit
horrible to me and with the price of 2TB disks being ~ £65-70 here in
the uk I wouldn't bother. Remember you will get a speed boost for
reads on a mirror.

WIth regards to the backup, the most efficient way would probably to
use zfs send and receive between the pools
___
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: Monting nfs at boot

2011-01-26 Thread Polytropon
On Wed, 26 Jan 2011 10:31:10 +0100, Sven-Åke Svensson  wrote:
> When booting amd64 it looks like it try to mount the nfs directories 
> before the network is up. On the screen I can see that it try to mount 
> and then there is a line telling that the network interface is up. There 
> it locks up for some minutes before it continue and mounting.
> [...]
> Maybe there are some easy configuration fix, but I can't find it.

Check out the -l option of mount, and the corresponding
keyword "late" in /etc/fstab. See "man mount" for details.
Also see /etc/rc.d/mountlate to learn how it works (and
if it fits your requirements).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: gmake format

2011-01-26 Thread Giorgos Keramidas
On Wed, 26 Jan 2011 11:37:58 +1000, Da Rock 
 wrote:
> You'll have to excuse my ignorance (and my curious mind...), but I
> can't seem to find a straight answer to this. I know linux uses gmake,
> and gmake is installed via ports on FreeBSD, but does that mean gmake
> will only create linux binaries using the abi compatibility?

gmake itself does not produce anything in the form of binary files.  It
merely 'drives' other tools to create them.  So if a makefile calls
'gcc' to compile something and there is a native 'gcc' version in your
local system, a properly written makefile should still work.

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


Monting nfs at boot

2011-01-26 Thread Sven-Åke Svensson

Hi


I have some workstations where I mount working directories at boot. The 
directories that should be mounting are in /etc/fstab. All workstations 
are FreeBSD 8.1 and there are both i386 and amd64. On the i386 machines 
it works very well. But on the amd64 something happends.


When booting amd64 it looks like it try to mount the nfs directories 
before the network is up. On the screen I can see that it try to mount 
and then there is a line telling that the network interface is up. There 
it locks up for some minutes before it continue and mounting.
When the system is up it all works well but it's annoying to wait nearly 
five minutes for an workstation to came up.
These amd64 machines are from different vendors and have different 
network devices.


Maybe there are some easy configuration fix, but I can't find it.


Best regards

Sven

___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread Christer Solskogen
On Wed, Jan 26, 2011 at 9:42 AM, O. Hartmann
 wrote:

> My question is: is it possible to migrate the two-disk pool without data
> loss into a mirrored pool by adding the one 2TB-disk?
>

No, you cant create a two-way mirror of three disks with ZFS. The only
way of doing what you want by creating a gmirror (or by hardware raid)
of the two 1TB disks.

-- 
chs,
___
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 9/ZFS: Striped Pool (2 disks) migrating to mirror (onto additional disk)

2011-01-26 Thread O. Hartmann
I've got a problem. For performance reasons I use two 1TB harddrives as 
a single pool, and as far as I know, ZFS on recent FreeBSD 9/amd64 
treats suchs pools 'striped'. Well, I can measure a performance gain in 
writing and reading. Well, for backup, I use an additional 2TB disk, 
ZFS, compressed, the backup is done manually via rsync (i'm looking for 
more suitable simple backup solutions).
My question is: is it possible to migrate the two-disk pool without data 
loss into a mirrored pool by adding the one 2TB-disk?


Comments appreciated,
thanks in advance,

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