Difficulties partitioning disk FreeBSD 9.0

2012-01-16 Thread Bernard Higonnet
I am trying to install 9.0 on a small notebook on which I have 
previously successfully installed 8.2.


I don't get very far. When defining partitions I have opted for Guided 
and chosen a drive with enough space (3.5GB), Entire disk. I am then 
asked if I'm sure I want to proceed, to which I answer yes. I am then 
shown the results and invited to Finish. I'm then warned I will lose 
all my data. I commit and get


Bootcode Error Device not configured
followed by
Error  Error installing partcode on partition ada0p1

at which point installation ends.


I have searched for these messages with no success...

TIA
Bernard Higonnet
___
freebsd-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: Difficulties partitioning disk FreeBSD 9.0

2012-01-16 Thread Matthias Apitz
El día Monday, January 16, 2012 a las 09:45:23AM +0100, Bernard Higonnet 
escribió:

 I am trying to install 9.0 on a small notebook on which I have 
 previously successfully installed 8.2.
 
 I don't get very far. When defining partitions I have opted for Guided 
 and chosen a drive with enough space (3.5GB), Entire disk. I am then 
 asked if I'm sure I want to proceed, to which I answer yes. I am then 
 shown the results and invited to Finish. I'm then warned I will lose 
 all my data. I commit and get
 ...

Maybe you could make use of this to install FreeBSD into the entire disk
of a small netbook:

http://www.unixarea.de/installEeePC.txt

(it describes 10-CURRENT, but could easy adapted for any other release)

HIH

matthias

-- 
Matthias Apitz
e g...@unixarea.de - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5
___
freebsd-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: disk problem(s)

2012-01-16 Thread Bernt Hansson



2012-01-14 10:34, Polytropon skrev:

On Sat, 14 Jan 2012 10:12:48 +0100, Bernt Hansson wrote:

2012-01-14 09:22, Polytropon skrev:

How many subdirectories are there?


ls | wc -l
 32765


Seems that you have reached LINK_MAX of 32767
(according to /usr/src/sys/sys/syslimits.h).
The difference of 2, I assume, is one for .
and one for .. hidden entries.




Could you, for example, try removing one and then
creating a new one (assumption: success), followed
by another try to create one (assumption: fail)?



That is a nono

I'll have to pop in another disk.


As the voice from the GPS navigation system tends
to say: You have reached your destination. :-)


This time it didn't say that, it said

You have reached your target destination of 32767.



Re-arranging the content of the disk could be an
option,


It's not an option, the database will get confused and not be able to 
retrive the articles.



but if you're using that disk as some kind
of WORM medium (e. g. backup disk), I understand
the nono.


It's not a backupdisk. And it seems like all the articles is gone now.
Oh well some other storage strategy is needed
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: dot snap folder

2012-01-16 Thread ajtiM
On Sunday 15 January 2012 23:54:52 Chip Camden wrote:
 Quoth Polytropon on Monday, 16 January 2012:
  On Sun, 15 Jan 2012 15:40:20 -0800, Jim Pazarena wrote:
   Is it permissible to delete the dot snap folder which is created
   in a filesystem?
  
  First of all, it's called a directory, not a folder. :-)
 
 After all, it doesn't fold (for that you need a little Haskell or OCaml).

...and the answer if is it permissible to delete .snap directory is?? Thank 
you. There is also .config directory which is made by QT or something of KDE 4 
which is possible to delete but it is recreated each time after kde 4 started.

Mitja

http://jpgmag.com/people/lumiwa
___
freebsd-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: dot snap folder

2012-01-16 Thread Polytropon
On Mon, 16 Jan 2012 05:32:11 -0600, ajtiM wrote:
 On Sunday 15 January 2012 23:54:52 Chip Camden wrote:
  Quoth Polytropon on Monday, 16 January 2012:
   On Sun, 15 Jan 2012 15:40:20 -0800, Jim Pazarena wrote:
Is it permissible to delete the dot snap folder which is created
in a filesystem?
   
   First of all, it's called a directory, not a folder. :-)
  
  After all, it doesn't fold (for that you need a little Haskell or OCaml).
 
 ...and the answer if is it permissible to delete .snap directory is?? Thank 
 you.

The answer has been provided two times, none of them is
quoted above or below. :-)

I may repeat: It is permissible _unless_ you are running
the dump program on a live partition using the -L option.

As the question has been answered, it's fully valid to
suggest the use of the proper timmy, erm terminology,
with colon-minus-close-paren appended. :-)



 There is also .config directory which is made by QT or something of KDE 4 
 which is possible to delete but it is recreated each time after kde 4 started.

It seems to be permissible, as its absence doesn't seem
to have any significant effect. As it has been explained
in the quote from man dump regarding the -L option
(again, not quoted here), in case .snap/ is required,
it will be created.


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


apache

2012-01-16 Thread Daniel Lewis
Hey I install apache on free bsd 8.2 but accidentially didnt include
the perl threads. Now when I try to re-install it says perl file
required for apache..How do i fix this problem?



Thanks,
Daniel Lewis
561-676-1073
___
freebsd-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: dot snap folder

2012-01-16 Thread RW
On Mon, 16 Jan 2012 12:59:59 +0100
Polytropon wrote:

 On Mon, 16 Jan 2012 05:32:11 -0600, ajtiM wrote:
  On Sunday 15 January 2012 23:54:52 Chip Camden wrote:
   Quoth Polytropon on Monday, 16 January 2012:
On Sun, 15 Jan 2012 15:40:20 -0800, Jim Pazarena wrote:
 Is it permissible to delete the dot snap folder which is
 created in a filesystem?

First of all, it's called a directory, not a folder. :-)
   
   After all, it doesn't fold (for that you need a little Haskell or
   OCaml).
  
  ...and the answer if is it permissible to delete .snap directory
  is?? Thank you.
 
 The answer has been provided two times, none of them is
 quoted above or below. :-)
 
 I may repeat: It is permissible _unless_ you are running
 the dump program on a live partition using the -L option.
 
 As the question has been answered, 

I'm not sure it has. AFAIK it's also used by background fsck.
___
freebsd-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: update from 8.2 ZFS on root to 9.0

2012-01-16 Thread Magnus Strahlert
On 15 January 2012 14:23, Dick Hoogendijk d...@nagual.nl wrote:
 Does anybody already did a *binary* update (w/ freebsd-update) from a zfs on
 root freebsd-8.2-RELEASE to a new freebsd-9.0-RELEASE zfs on root system?
 Did all went well? I know the procedure (freebsd-update, recompile all
 ports, finish freebsd-update). Succes stories please.. ;-)

Did just that with no kinks at all. It's a zfsroot system with
gptzfsloader. Had to upgrade the gpt bootcode as instructed when
upgrading the zpool for the system to boot. Installing misc/compat8x
made the ports upgrade a lot smoother.

Also had to manually fetch source.txz and extract into /usr/src/sys in
order for certain ports to build correctly such as x11/nvidia-driver,
as that was not done by freebsd-update
___
freebsd-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: dot snap folder

2012-01-16 Thread Polytropon
On Mon, 16 Jan 2012 12:21:27 +, RW wrote:
 On Mon, 16 Jan 2012 12:59:59 +0100
 Polytropon wrote:
 
  On Mon, 16 Jan 2012 05:32:11 -0600, ajtiM wrote:
   On Sunday 15 January 2012 23:54:52 Chip Camden wrote:
Quoth Polytropon on Monday, 16 January 2012:
 On Sun, 15 Jan 2012 15:40:20 -0800, Jim Pazarena wrote:
  Is it permissible to delete the dot snap folder which is
  created in a filesystem?
 
 First of all, it's called a directory, not a folder. :-)

After all, it doesn't fold (for that you need a little Haskell or
OCaml).
   
   ...and the answer if is it permissible to delete .snap directory
   is?? Thank you.
  
  The answer has been provided two times, none of them is
  quoted above or below. :-)
  
  I may repeat: It is permissible _unless_ you are running
  the dump program on a live partition using the -L option.
  
  As the question has been answered, 
 
 I'm not sure it has. AFAIK it's also used by background fsck.

That information could be obtained by conclusion and
by experience. I had the experience that it might
interfere with a regular fsck (not the background one)
if present. Only at a background run you'd have the
opportunity to remove .snap, whereas during a normal
fsck run (typically at startup) you cannot do this
(without interrupting fsck).

Anyway, you're right: fsck_ffs's source code mentiones
the .snap directory. It's line 320 and later. The comment
at line 283 suggests that fsck will _create_ that
directory if required, just like dump -L would do.
Line numbers for /usr/src/sbin/fsck_ffs/main.c OS
version 8.2-STABLE here, may differ for others.

So there may be an extension of my summary:

It is permissible _unless_ you are running the dump
program on a live partition using the -L option -or-
you are currently running (background) fsck.


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

2012-01-16 Thread Damien Fleuriot


On 1/16/12 1:03 PM, Daniel Lewis wrote:
 Hey I install apache on free bsd 8.2 but accidentially didnt include
 the perl threads. Now when I try to re-install it says perl file
 required for apache..How do i fix this problem?
 
 
 
 Thanks,
 Daniel Lewis
 561-676-1073

Hi,


Sadly, perl file required for apache totally doesn't ring a bell here.

Mayhaps you could be a bit more accurate and copy/paste the error you're
getting ?

Also, if you could tell at what point you're getting the error, that
could be handy.
___
freebsd-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: update from 8.2 ZFS on root to 9.0

2012-01-16 Thread Dick Hoogendijk

Op 16-1-2012 13:17, Magnus Strahlert schreef:

On 15 January 2012 14:23, Dick Hoogendijkd...@nagual.nl  wrote:

Does anybody already did a *binary* update (w/ freebsd-update) from a zfs on
root freebsd-8.2-RELEASE to a new freebsd-9.0-RELEASE zfs on root system?
Did all went well? I know the procedure (freebsd-update, recompile all
ports, finish freebsd-update). Succes stories please.. ;-)

Did just that with no kinks at all. It's a zfsroot system with
gptzfsloader. Had to upgrade the gpt bootcode as instructed when
upgrading the zpool for the system to boot. Installing misc/compat8x
made the ports upgrade a lot smoother.

Also had to manually fetch source.txz and extract into /usr/src/sys in
order for certain ports to build correctly such as x11/nvidia-driver,
as that was not done by freebsd-update
Sounds good. Where are these instructions for upgrading the gpt 
bootcode? And do you if it's normal that the souce code is nog updated 
by freebsd-update?

___
freebsd-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: apache

2012-01-16 Thread Alejandro Imass
On Mon, Jan 16, 2012 at 7:03 AM, Daniel Lewis
innervisionnetw...@gmail.com wrote:
 Hey I install apache on free bsd 8.2 but accidentially didnt include
 the perl threads. Now when I try to re-install it says perl file
 required for apache..How do i fix this problem?


I am assuming you want to run mod_perl on mod_worker so here are my 0.02:

To answer your question you must build, and/or re-build Perl first and
then Apache and then mod_perl in that order. You can do this as many
times as you like because I've done it personally _many_ times. You
must of course make desinstall before you can make install again.

I've used mod_worker/mod_perl and it's probably _awesome_ for _some_
situations but it's not as straight forward as you may think, and it's
not worth the hassle unless you really, really need it to take
advantage of idle CPU with the same amount of RAM. You can
definitively increase your Apache processes by ten fold _easily_ (and
perhaps a lot more) using marginally more RAM, but you must have the
CPU power to back it up or you will choke real quickly. You must have
very clear, your average response per request to be able to project
the actual concurrency, and you must leave _at least_ 1-2GB of RAM
free for the OS and calculate at least 20% free time for CPUs.

For one, not all Perl code is thread-safe and you must really
understand how mod_perl shares the non-mutable segments and all that.
This doesn't necessarily mean you can't use _all_ non thread-safe
code, but you have to know which parts are fragile, and exactly how
fragile they are. Remember mod_perl already loads your PMs globally so
you are already saving a lot of memory there (not like mod_php which
is basically a fancy SSI-type lang). The only reason to use
mult-threaded LWP is to spawn many more Apache threads with mod_worker
assuming that your RAM is actually big enough and you a lot of idling
CPU power you want to take advantage of. The growth of the memory
usage will becoem a trial and error thing and you must reset your main
processes with maxrequestsperchild directive once in a while because
most thread implementations including FBSD's will leak over time.

Anyway, it's MHO but if you really don't understand exactly why and
how you're going to use mod_worker/mod_perl just stick to mod_prefork
and you'll still get *a very decent* performance and use of your HW.
When I started using mod_perl/mod_worker it was quite experimental but
if you sit down and do your homework it will really work wonders to
squeeze the last drop on your HW. Also, be grateful you're using FBSD
for such things, 'cause it can take the beating. This is one area
where FBSD leaves Linux in the dust ;-)

Cheers,

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


How to destroy a zombie zpool

2012-01-16 Thread Daniel Staal


I've got a weird problem...  I was working on installing 9.0 w/zfs on my 
laptop, messed up, rebooted, *formatted the drives* and restarted.  Got 
much further the next time, however...


There is a zombie copy of the old zpool sitting around interfering with 
things.  'zpool import' lists it, but it can't import it because the disks 
don't actually exist.  'zpool destroy' can't delete it, because it's not 
imported.  ('No such pool')  Any ideas on how to get rid of it?


Daniel T. Staal

---
This email copyright the author.  Unless otherwise noted, you
are expressly allowed to retransmit, quote, or otherwise use
the contents for non-commercial purposes.  This copyright will
expire 5 years after the author's death, or in 30 years,
whichever is longer, unless such a period is in excess of
local copyright law.
---
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to destroy a zombie zpool

2012-01-16 Thread Robert Boyer
most likely a ifs label on the disk from before that you need to get rid of 
before doing the install.

RB

On Jan 16, 2012, at 11:37 AM, Daniel Staal wrote:

 
 I've got a weird problem...  I was working on installing 9.0 w/zfs on my 
 laptop, messed up, rebooted, *formatted the drives* and restarted.  Got much 
 further the next time, however...
 
 There is a zombie copy of the old zpool sitting around interfering with 
 things.  'zpool import' lists it, but it can't import it because the disks 
 don't actually exist.  'zpool destroy' can't delete it, because it's not 
 imported.  ('No such pool')  Any ideas on how to get rid of it?
 
 Daniel T. Staal
 
 ---
 This email copyright the author.  Unless otherwise noted, you
 are expressly allowed to retransmit, quote, or otherwise use
 the contents for non-commercial purposes.  This copyright will
 expire 5 years after the author's death, or in 30 years,
 whichever is longer, unless such a period is in excess of
 local copyright law.
 ---
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Re: How to destroy a zombie zpool

2012-01-16 Thread Matt Mullins
On Mon, Jan 16, 2012 at 8:37 AM, Daniel Staal dst...@usa.net wrote:
 There is a zombie copy of the old zpool sitting around interfering with
 things.  'zpool import' lists it, but it can't import it because the disks
 don't actually exist.  'zpool destroy' can't delete it, because it's not
 imported.  ('No such pool')  Any ideas on how to get rid of it?

It sounds like your /boot/zfs/zpool.cache file still has the pool
listed.  I can't find definitive documentation to this end, but I
think zpool export pool name might remove the entry from the zpool
cache.

If that still doesn't work (and you haven't yet put another filesystem
on those disks), you might get buy with using dd to wipe the first and
last several MB of the disk/partitions that had been in the pool.  Of
course, if the disks have already been re-used or removed, then zfs
shouldn't be finding them when it scans the device nodes.

Hope this helps,
Matt Mullins
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disable auto_linklocal

2012-01-16 Thread Matt Mullins
On Sun, Jan 15, 2012 at 7:27 AM, Freek Dijkstra pub...@macfreek.nl wrote:
 The link-local addresses don't really harm, but I found them confusing,
 as the host is running as a router, and rtadv announces the link-local
 address by default.

IPv6-standards-wise, this is the correct thing to do.  Router
advertisements should contain link-local source addresses and
advertise the link-local address as the router; the globally-routable
prefix that is being advertised is a completely different field in
those messages.  I'm not too sure of the reasons behind this, other
than eliminating some need for carp(4): you can have multiple routers
on a subnet and if one goes down, clients will just pick up the
other's router advertisements.

It's atypical that one would want to disable link-local addressing,
since it's one of the core differences from IPv4 that adds some
benefit and flexibility.

References:
http://tools.ietf.org/html/rfc4861#section-4.2
  Source Address
 MUST be the link-local address assigned to the
 interface from which this message is sent.
--
Matt Mullins
___
freebsd-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: Difficulties partitioning disk FreeBSD 9.0

2012-01-16 Thread Bernard Higonnet

On 16/01/2012 09:55, Matthias Apitz wrote:

El día Monday, January 16, 2012 a las 09:45:23AM +0100, Bernard Higonnet 
escribió:


I am trying to install 9.0 on a small notebook on which I have
previously successfully installed 8.2.

I don't get very far. When defining partitions I have opted for Guided
and chosen a drive with enough space (3.5GB), Entire disk. I am then
asked if I'm sure I want to proceed, to which I answer yes. I am then
shown the results and invited to Finish. I'm then warned I will lose
all my data. I commit and get
...


Maybe you could make use of this to install FreeBSD into the entire disk
of a small netbook:

http://www.unixarea.de/installEeePC.txt

(it describes 10-CURRENT, but could easy adapted for any other release)


¡Muchissimas grácias!

I didn't really follow all of the steps, it looks as if the first two fd 
commands did it.


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


zpool device name/label changed after export/import of pool.

2012-01-16 Thread Peter

Approximate 'zpool status' on 8.2:

NAME  STATE READ WRITE CKSUM
data.zfs  DEGRADED 0 0 0
  mirror-0DEGRADED 0 0 0
gpt/mid.zfs.sg1tb ONLINE   0 0 0
gpt/sam1tbONLINE   0 0 0



Did 'zpool export' - unplugged zpool disks, and loaded a clean install of
9.0-RELEASE.

Plugged in the bottom disk 'gpt/sam1tb', did 'zpool import', after a quick
confirm that everything still appeared to be there, I plugged in
'/gpt/mid.zfs.sg1tb' and did an online on that using gpt labels.

Now I have this:


NAME  STATE READ WRITE CKSUM
data.zfs  DEGRADED 0 0 0
  mirror-0DEGRADED 0 0 0
gpt/mid.zfs.sg1tb ONLINE   0 0 0
ada1p1ONLINE   0 0 0

How do I change 'ada1p1' to read the gpt label? I've tried to offline it,
then online it via gpt label, that didn't work:

:#/sbin/zpool online data.zfs gpt/sam1tb
cannot online gpt/sam1tb: no such device in pool

yes, sam1tb is the gpt label for ada1p1.

zpool replace 'ada1p1' with gpt label?


]Peter[

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


help accessing mdbtools man pages in /usr/local/share/man

2012-01-16 Thread Dale Scott
I installed mdbtools from source on github and it put its man pages in 
/usr/local/share/man/man1, where the default man command doesn't find them 
(although man -M /usr/local/share/man mdb-export works).

From man hier, it looks like the man pages should have been put into 
/usr/local/man. Is that correct? Also, the pages aren't in gz format (just 
mdb-export.1). Is there a typical workaround? (I expect this is not uncommon 
for an app coming from the Linux world?).

Thanks in advance,
Dale

P.S. mdbtools works well for accessing data in a MS Jet/Access MDB file. 
There's an old version in the ports tree, but no maintainer (perhaps one day I 
may have learned enough to update the port myself, but alas not yet).

-
Transparency with Trust
http://www.dalescott.net



___
freebsd-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 accessing mdbtools man pages in /usr/local/share/man

2012-01-16 Thread Yuri Pankov
On Mon, Jan 16, 2012 at 01:27:31PM -0700, Dale Scott wrote:
 I installed mdbtools from source on github and it put its man pages in
 /usr/local/share/man/man1, where the default man command doesn't find
 them (although man -M /usr/local/share/man mdb-export works).

Just use `man /full/path/to/the/manpage`. Also check man(1) and
man.conf(5) on how to specify additional MANPATHs.
 
 From man hier, it looks like the man pages should have been put into
 /usr/local/man. Is that correct? Also, the pages aren't in gz format
 (just mdb-export.1). Is there a typical workaround? (I expect this is
 not uncommon for an app coming from the Linux world?).

It's not uncommon, but such stuff should be fixed when porting something
from Linux world and manpages should go to /usr/local/man, as hier(7)
tells.


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


Shared object libxcb-aux.so.0 not found, required by libxfsm-4.6.so.0 FreeBSD

2012-01-16 Thread Antonio Olivares
Dear folks,

I had a FreeBSD 9.0 BETA 2 Machine I was happily running since the
release and only updated ports via portmaster -a, and now since Fedora
9 has officially been released, I ran make buildworld, make
buildkernel, make installkernel and mergemaster -i, and make
installworld and now X does not work, I get error in subject

Shared object libxcb-aux.so.0 not found, required by
libxfsm-4.6.so.0  FreeBSD

any ideas/suggestions for a fix?

Thanks in advance,

Antonio
___
freebsd-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 accessing mdbtools man pages in /usr/local/share/man - SOLVED

2012-01-16 Thread Dale Scott
- Original Message -
From: Yuri Pankov yuri.pan...@gmail.com
Date: Monday, January 16, 2012 13:49

 Just use `man /full/path/to/the/manpage`. Also check man(1) and
 man.conf(5) on how to specify additional MANPATHs.

Thanks Yuri! As per man.conf(5), I created /usr/local/etc/rc.d/mdbtools.conf to 
add /usr/local/share/man to the manpath (perhaps it could be named more 
correctly linux.conf, but for now the only manpages there are from mdbtools).

___
freebsd-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 accessing mdbtools man pages in /usr/local/share/man - SOLVED

2012-01-16 Thread Yuri Pankov
On Mon, Jan 16, 2012 at 03:30:29PM -0700, Dale Scott wrote:
 - Original Message -
 From: Yuri Pankov yuri.pan...@gmail.com
 Date: Monday, January 16, 2012 13:49
 
  Just use `man /full/path/to/the/manpage`. Also check man(1) and
  man.conf(5) on how to specify additional MANPATHs.
 
 Thanks Yuri! As per man.conf(5), I created /usr/local/etc/rc.d/mdbtools.conf
 to add /usr/local/share/man to the manpath (perhaps it could be named more
 correctly linux.conf, but for now the only manpages there are from 
 mdbtools).

I hope rc.d was a typo? :-) If not, you want /usr/local/etc/man.d/*.conf.


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


Which Common Lisp port for FreeBSD/sparc64?

2012-01-16 Thread C. P. Ghost
Hi,

is anyone running a Common Lisp port on FreeBSD/sparc64?
I'm asking because none of our Common Lisp ports lang/clisp,
lang/ccl, lang/cmucl, lang/sbcl compile on sparc64.

On Debian Linux 6.0.1a for SPARC, at least sbcl is available.
Maybe clisp as well, IIRC.

Any suggestions for running Common Lisp on FreeBSD/sparc64?
Oh, I need that because of math/maxima and math/open-axiom.

Thanks,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Disable auto_linklocal

2012-01-16 Thread Freek Dijkstra
Matt Mullins wrote:

 The link-local addresses don't really harm, but I found them confusing,
 as the host is running as a router, and rtadv announces the link-local
 address by default.
 
 IPv6-standards-wise, this is the correct thing to do.  Router
 advertisements should contain link-local source addresses and
 advertise the link-local address as the router; the globally-routable
 prefix that is being advertised is a completely different field in
 those messages.

Hi Matt,

Thanks for the info. I figured out as much. It is not possible to turn
of link-local addresses in FreeBSD 9. Neither
  sysctl net.inet6.ip6.auto_linklocal=0
nor
  ifconfig em0 inet6 -auto_linklocal
has any effect.

The man page for ifconfig explicitly states that removing the link-local
IPv6 address may result in unexpected behaviour


The good news is that it *is* possible to use the global scope IPv6
address in router advertisements. RFC 4861, as you mentioned, defines a
prefix. However, RFC 6275 alters the property of that field if a new
flag, the router address flag, is set. In that case, the prefix field
can contain the actual IPv6 address of the router. Apparently, this is
needed for mobile IP.

Unfortunately rtadvd (the default BSD router advertisement daemon) does
not support this R-flag. The radvd daemon (available in a port) does
support this bit by setting:
  AdvRouterAddr on

Wireshark show that indeed this works. Unfortunately, most of my clients
on the network still don't understand this bit, so it seems that after
all I just have to remember the link-local IP addresses next to the
global scope IP addresses for my network. Oh well, they say it's good to
train one's memory :)

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


Cannot update xfwm4-wm, compiling error on 3 machines two 8.2 and one 9.0

2012-01-16 Thread Antonio Olivares
Dear folks,

I am trying to update all ports and have encountered xfce4-wm failing
to compile.  I used
# portmaster -a -x xfce4-wm
to bypass the failure.

=== Launching child to install x11-wm/xfce4-wm

=== Port directory: /usr/ports/x11-wm/xfce4-wm

=== Starting check for build dependencies
=== Gathering dependency list for x11-wm/xfce4-wm from ports
=== Dependency check complete for x11-wm/xfce4-wm
===  Cleaning for xfce4-wm-4.8.3

===  License check disabled, port has not defined LICENSE
===  Found saved configuration for xfce4-wm-4.8.2
===  Extracting for xfce4-wm-4.8.3
= SHA256 Checksum OK for xfce4/xfwm4-4.8.3.tar.bz2.
===  Patching for xfce4-wm-4.8.3
===  Applying FreeBSD patches for xfce4-wm-4.8.3
===   xfce4-wm-4.8.3 depends on executable: gmake - found
===   xfce4-wm-4.8.3 depends on file:
/usr/local/libdata/pkgconfig/x11.pc - found
===   xfce4-wm-4.8.3 depends on file:
/usr/local/libdata/pkgconfig/sm.pc - found
===   xfce4-wm-4.8.3 depends on file:
/usr/local/libdata/pkgconfig/xext.pc - found
===   xfce4-wm-4.8.3 depends on file:
/usr/local/libdata/pkgconfig/xrandr.pc - found
===   xfce4-wm-4.8.3 depends on file:
/usr/local/libdata/pkgconfig/xrender.pc - found
===   xfce4-wm-4.8.3 depends on file: /usr/local/bin/intltool-extract - found
===   xfce4-wm-4.8.3 depends on executable: pkg-config - found
===   xfce4-wm-4.8.3 depends on executable: update-desktop-database - found
===   xfce4-wm-4.8.3 depends on executable: gtk-update-icon-cache - found
===   xfce4-wm-4.8.3 depends on package: libxfce4menu=4.8.0 - found
===   xfce4-wm-4.8.3 depends on package: libxfce4util=4.8.2 - found
===   xfce4-wm-4.8.3 depends on package: xfce4-conf=4.8.0 - found
===   xfce4-wm-4.8.3 depends on shared library: dbus-glib-1.2 - found
===   xfce4-wm-4.8.3 depends on shared library: wnck-1.22 - found
===   xfce4-wm-4.8.3 depends on shared library:
startup-notification-1.0 - found
===   xfce4-wm-4.8.3 depends on shared library: intl - found
===   xfce4-wm-4.8.3 depends on shared library: atk-1.0.0 - found
===   xfce4-wm-4.8.3 depends on shared library: gdk_pixbuf-2.0.0 - found
===   xfce4-wm-4.8.3 depends on shared library: glib-2.0.0 - found
===   xfce4-wm-4.8.3 depends on shared library: gtk-x11-2.0.0 - found
===   xfce4-wm-4.8.3 depends on shared library: pango-1.0.0 - found
===  Configuring for xfce4-wm-4.8.3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... no
checking for style of include used by gmake... GNU
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... gcc3
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking for gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking dependency style of cc... (cached) gcc3
checking dependency style of cc... (cached) gcc3
checking whether cc understands -c and -o together... yes
checking whether NLS is requested... yes
checking for intltool = 0.31... 0.41.1 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl = 5.8.1... 5.12.4
checking build system type... amd64-portbld-freebsd8.2
checking host system type... amd64-portbld-freebsd8.2
checking how to print 

poppler-glib-0.18.0 to poppler-gtk? Keeps reappearing after every portmaster -a

2012-01-16 Thread Antonio Olivares
Dear folks,

Running FreeBSD-8.2 amd64 on three machines, on all three the poppler
message appears everytime I issue
# portmaster -a
command to update ports.  Message says

=== The following actions were performed:
Re-installation of poppler-glib-0.18.0

It has done this for quite a while.  I am wondering, if I should just
remove the package and switch to the new directory and reinstall from
there.  This message keeps popping up and does not go away for good.
Any suggestions/advice/comments?

Regards,

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


Re: Cannot update xfwm4-wm, compiling error on 3 machines two 8.2 and one 9.0

2012-01-16 Thread ill...@gmail.com
On 16 January 2012 22:59, Antonio Olivares olivares14...@gmail.com wrote:
 Dear folks,

 I am trying to update all ports and have encountered xfce4-wm failing
 to compile.  I used
 # portmaster -a -x xfce4-wm
 to bypass the failure.
. . .
  CCLD   xfwm4-workspace-settings
 libtool: link: cannot find the library `/usr/local/lib/libxcb-aux.la'
 or unhandled argument `/usr/local/lib/libxcb-aux.la'
 gmake[3]: *** [xfwm4-workspace-settings] Error 1
 gmake[3]: Leaving directory
 `/usr/ports/x11-wm/xfce4-wm/work/xfwm4-4.8.3/settings-dialogs'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory
 `/usr/ports/x11-wm/xfce4-wm/work/xfwm4-4.8.3/settings-dialogs'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/x11-wm/xfce4-wm/work/xfwm4-4.8.3'
 gmake: *** [all] Error 2
 *** Error code 1

 Stop in /usr/ports/x11-wm/xfce4-wm.
 *** Error code 1

 Stop in /usr/ports/x11-wm/xfce4-wm.

 === make failed for x11-wm/xfce4-wm
 === Aborting update

 === Update for x11-wm/xfce4-wm failed
 === Aborting update

 Terminated
 === The following actions were performed:
        Re-installation of poppler-glib-0.18.0


 === You can restart from the point of failure with this command line:
       portmaster flags x11-wm/xfce4-wm


 Any ideas, pointers/advice/suggestions?


See /usr/ports/UPDATING: 20120116

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


Re: How to destroy a zombie zpool

2012-01-16 Thread Fritz Wuehler
 I've got a weird problem...  I was working on installing 9.0 w/zfs on my 
 laptop, messed up, rebooted, *formatted the drives* and restarted.  Got 
 much further the next time, however...
 
 There is a zombie copy of the old zpool sitting around interfering with 
 things.  'zpool import' lists it, but it can't import it because the disks 
 don't actually exist.  'zpool destroy' can't delete it, because it's not 
 imported.  ('No such pool')  Any ideas on how to get rid of it?

zfs is famous for fucking itself like this. the only totally safe way is to
dd the drive since nailing the label doesn't clear out stuff at the far end
of the filesystem that can really ruin your day. don't ask me how i know..

it will take a few hours dd'ing from /dev/zero to your devices but it is
well worth it when you do any major surgery on drives that had zfs at one
point and you want to use them over again with zfs

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


Re: How to destroy a zombie zpool

2012-01-16 Thread Robert Boyer
I agree if you move drives and a particular zfs has not seen them before - and 
there is a zfs label at the end things can go pear shaped - however…

if you blast just the end of the drive it should be fine.


RB

Ps. Maybe I;ll title a book fun with zfs and glabel or cheap thrills with zfs, 
glabel and gpt uuid's - how to screw up MacOS/Darwin the easy way…




On Jan 16, 2012, at 11:19 PM, Fritz Wuehler wrote:

 I've got a weird problem...  I was working on installing 9.0 w/zfs on my 
 laptop, messed up, rebooted, *formatted the drives* and restarted.  Got 
 much further the next time, however...
 
 There is a zombie copy of the old zpool sitting around interfering with 
 things.  'zpool import' lists it, but it can't import it because the disks 
 don't actually exist.  'zpool destroy' can't delete it, because it's not 
 imported.  ('No such pool')  Any ideas on how to get rid of it?
 
 zfs is famous for fucking itself like this. the only totally safe way is to
 dd the drive since nailing the label doesn't clear out stuff at the far end
 of the filesystem that can really ruin your day. don't ask me how i know..
 
 it will take a few hours dd'ing from /dev/zero to your devices but it is
 well worth it when you do any major surgery on drives that had zfs at one
 point and you want to use them over again with zfs
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



Regarding CVS eclipse configuration

2012-01-16 Thread gupta nallajalla
*Hi,

I want to configure CVS in eclipse so can you please help me in this
configuration?
*

-- 

Thanks  Regards,**

*N V R Gupta Nallajalla

**P **Please do not print this e-mail unless you really need to. This will
preserve trees on our planet.*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org