Re: tangoGPS FreeBSD 7.0

2008-11-05 Thread Matthias Apitz
El día Tuesday, November 04, 2008 a las 05:35:59PM +0100, Fabian Keil escribió:

  tangoGPS compiled and works just fine in FreeBSD, just the usual way:
  
  ./configure
  make
  make install
 
 Good to know. Are you already working on a port?

I could and will do that by the end of the year in my free days around
the change of the year;

  it needs a gps daemon which is in the ports, and you need some GPS
  device RS232 or USB based and the web pages of gpsd have a long list
  of compatibel devices, for sure not all tested with FreeBSD; will see if
  I could check some out in the near future;
 
 I was thinking about running tangoGPS on FreeBSD and
 connecting it to the gpsd already running on the Freerunner.

Yes, this works very nice; but for folks without a FR there should be
choices as well, i.e. a small list of GPS gadgets which work with
FreeBSD USB drivers;

Concerning gpsd running on the FR, I encounter that tangoGPS tries to connect
to 127.0.0.1 and not to the configured host 192.168.0.202; you have to
press the GPSD button in tangoGPS config page to make it connect to the
remote host; will check the sources for this bug/feature...

matthias
-- 
Matthias Apitz
Manager Technical Support - OCLC GmbH
Gruenwalder Weg 28g - 82041 Oberhaching - Germany
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e [EMAIL PROTECTED] - w http://www.oclc.org/ http://www.UnixArea.de/
b http://gurucubano.blogspot.com/
A computer is like an air conditioner, it stops working when you open Windows
Una computadora es como aire acondicionado, deja de funcionar si abres Windows
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


cvsup: local

2008-11-05 Thread fire jotawski
hi sirs,

i have my small box, 10.3.1.25 ip,  that cvsup-ed files from repository into
it.  it use cvs-supfile in /usr/share/examples/cvsup/ to collect files.
now that i want my other machine to cvsup 6.2-release source files from the
one mentioned above.

my  trial was

cvsupd -b /var/db -c sup

for box, 10.3.1.25 ip,  and for other machine

cvsup -g -L 2 -h 10.3.1.25 sup-file

what i got was  'Server message: Unknown collection src-all ' message.
and later on

Running
Skipping collection src-all/cvs
Skipping collection doc-all/cvs
Shutting down connection to server
Finished successfully

very strange indeed.

any helps and hints in setting cvsup server would highly be appreciated.

with best regards,
psr
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache environment variables - logical AND

2008-11-05 Thread Ian Smith
On Tue, 4 Nov 2008, Jeremy Chadwick wrote:
  On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
   I know this isn't FreeBSD specific - but I am, so crave your indulgence.
   
   Running Apache 1.3.27, using a fairly extensive access.conf to beat off 
   the most rapacious robots and such, using mostly BrowserMatch[NoCase] 
   and SetEnvIf to moderate access to several virtual hosts.  No problem.
   
   OR conditions are of course straighforward:
   
 SetEnvIf condition1 somevar
 SetEnvIf condition2 somevar
 SetEnvIf exception1 !somevar
   
   What I can't figure out is how to set a variable3 if and only if both 
   variable1 AND variable2 are set.  Eg:
   
 SetEnvIf Referer ^$ no_referer
 SetEnvIf User-Agent ^$ no_browser
   
   I want the equivalent for this (invalid and totally fanciful) match: 
   
 SetEnvIf (no_browser AND no_referer) go_away
  
  Sounds like a job for mod_rewrite.  The SetEnvIf stuff is such a hack.

It may be a hack, but I've found it an extremely useful one so far.

  This is what we use on our production servers (snipped to keep it
  short):
  
  RewriteEngine on
  RewriteCond %{HTTP_REFERER} ^:  [OR]
  RewriteCond %{HTTP_REFERER} ^http://forums.somethingawful.com/  [OR]
  RewriteCond %{HTTP_REFERER} ^http://forums.fark.com/[OR]
  RewriteCond %{HTTP_USER_AGENT} ^Alexibot[OR]
  RewriteCond %{HTTP_USER_AGENT} ^asterias[OR]
  RewriteCond %{HTTP_USER_AGENT} ^BackDoorBot [OR]
  RewriteCond %{HTTP_USER_AGENT} ^Black.Hole  [NC,OR]
  RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE[OR]
  RewriteCond %{HTTP_USER_AGENT} ^Xaldon.WebSpider
  RewriteRule ^.* - [F,L]
  
  You need to keep something in mind however: blocking by user agent is
  basically worthless these days.  Most leeching tools now let you
  spoof the user agent to show up as Internet Explorer, essentially
  defeating the checks.

While that's true, I've found most of the more troublesome robots are 
too proud of their 'brand' to spoof user agent, and those that do are a) 
often consistent enough in their Remote_Addr to exclude by subnet and/or 
b) often make obvious errors in spoofed User_Agent strings .. especially 
those pretending to be some variant of MSIE :)

  If you're that concerned about bandwidth (which is why a lot of people
  do the above), consider rate-limiting.  It's really, quite honestly, the
  only method that is fail-safe.

Thanks Jeremy.  Certainly time to take the time to have another look at 
mod_rewrite, especially regarding redirection, alternative pages etc, 
but I still tend to glaze over about halfway through all that section.

And unless I've completely missed it, your examples don't address my 
question, being how to AND two or more conditions in a particular test?

If I really can't do this with mod_setenvif I'll have to take that time.

cheers, Ian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Apache environment variables - logical AND

2008-11-05 Thread Jeremy Chadwick
On Wed, Nov 05, 2008 at 08:24:16PM +1100, Ian Smith wrote:
 On Tue, 4 Nov 2008, Jeremy Chadwick wrote:
   On Wed, Nov 05, 2008 at 05:33:45PM +1100, Ian Smith wrote:
I know this isn't FreeBSD specific - but I am, so crave your indulgence.

Running Apache 1.3.27, using a fairly extensive access.conf to beat off 
the most rapacious robots and such, using mostly BrowserMatch[NoCase] 
and SetEnvIf to moderate access to several virtual hosts.  No problem.

OR conditions are of course straighforward:

  SetEnvIf condition1 somevar
  SetEnvIf condition2 somevar
  SetEnvIf exception1 !somevar

What I can't figure out is how to set a variable3 if and only if both 
variable1 AND variable2 are set.  Eg:

  SetEnvIf Referer ^$ no_referer
  SetEnvIf User-Agent ^$ no_browser

I want the equivalent for this (invalid and totally fanciful) match: 

  SetEnvIf (no_browser AND no_referer) go_away
   
   Sounds like a job for mod_rewrite.  The SetEnvIf stuff is such a hack.
 
 It may be a hack, but I've found it an extremely useful one so far.

   This is what we use on our production servers (snipped to keep it
   short):
   
   RewriteEngine on
   RewriteCond %{HTTP_REFERER} ^:  [OR]
   RewriteCond %{HTTP_REFERER} ^http://forums.somethingawful.com/  [OR]
   RewriteCond %{HTTP_REFERER} ^http://forums.fark.com/[OR]
   RewriteCond %{HTTP_USER_AGENT} ^Alexibot[OR]
   RewriteCond %{HTTP_USER_AGENT} ^asterias[OR]
   RewriteCond %{HTTP_USER_AGENT} ^BackDoorBot [OR]
   RewriteCond %{HTTP_USER_AGENT} ^Black.Hole  [NC,OR]
   RewriteCond %{HTTP_USER_AGENT} ^WWWOFFLE[OR]
   RewriteCond %{HTTP_USER_AGENT} ^Xaldon.WebSpider
   RewriteRule ^.* - [F,L]
   
   You need to keep something in mind however: blocking by user agent is
   basically worthless these days.  Most leeching tools now let you
   spoof the user agent to show up as Internet Explorer, essentially
   defeating the checks.
 
 While that's true, I've found most of the more troublesome robots are 
 too proud of their 'brand' to spoof user agent, and those that do are a) 
 often consistent enough in their Remote_Addr to exclude by subnet and/or 
 b) often make obvious errors in spoofed User_Agent strings .. especially 
 those pretending to be some variant of MSIE :)

I haven't found this to be true at all, and I've been doing web hosting
since 1993.  In the past 2-3 years, the amount of leeching tools which
spoof their User-Agent has increased dramatically.

But step back for a moment and look at it from a usability perspective,
because this is what really happens.

A user tries to leech a site you host, using FruitBatLeecher, which your
Apache server blocks based on User-Agent.  The user has no idea why the
leech program doesn't work.  Does the user simply give up his quest?
Absolutely not -- the user then goes and finds BobsBandwidthZilla which
pretends to be Internet Explorer, Firefox, or lynx, and downloads the
site.

Now, if you're trying to block robots/scrapers which aren't honouring
robots.txt, oh yes, that almost always works, because those rarely spoof
their User-Agent (I think to date I've only seen one site which did
that, and it was some Russian search engine).

If you feel I'm just doing burn-outs arguing, a la BSD style, let me
give you some insight to how often I deal with this problem: daily.

We host a very specific/niche site that contains over 20 years of
technical information on the Famicom / Nintendo Entertainment System.
The site has hundreds of megabytes of information, and a very active
forum.  Some jackass comes along and decides Wow, this has all the info
I want! and fires off a leeching program against the entire
domain/vhost.  Let's say the program he's using is blocked by our
User-Agent blocks; there is a 6-7 minute delay as the user goes off to
find another program to leech with, installs it, and attempts it again.
Pow, it works, and we find nice huge spikes in our logs for the vhost
indicating someone got around it.  I later dig through our access_log and
find that he tried to use FruitBatLeecher, which got blocked, but then
6-7 minutes later came back with a leeching client that spoofs itself
as IE.

And it gets worse.

Many of these leeching programs get stuck in infinite loops when it
comes to forum software, so they sit there pounding on the webserver
indefinitely.  It requires administrator intervention to stop it; in my
case, I don't even bother with Apache ACLs, because ~70% of the time
the client ignores 403s and keeps bashing away (yes really!) -- I go
straight for a pf-based block in a table called web-leechers.  These
guys will hit that block for *days* -- that should give you some idea
how long they'll let that program run.

But it gets worse -- again.

Recently, I found two examples of very dedicated leechers.  One was an
individual out of China (or 

Asynchronous pipe I/O

2008-11-05 Thread rihad

Imagine this shell pipeline:

sh prog1 | sh prog2


As given above, prog1 blocks if prog2 hasn't yet read previously written 
data (actually, newline separated commands) or is busy. What I want is 
for prog1 to never block:


sh prog1 | buffer | sh prog2

I first thought that the aptly named misc/buffer port would do exactly 
what I wanted: buffering prog1 output for prog2 to read it at its 
earliest convenience. That way prog1 would never block (unless it hit 
buffer's memory limits). Alas, misc/buffer was originally designed for 
tape backups, and despite its author's stating its applicability to 
other uses:


This is a program designed initially to speed up writing tapes on 
remote tape drives, but may be used as a general pipe buffering utility.



buffer never starts writing unless the limit given by -s is crossed, 
which is 10 kbytes by default and cannot be less than 496 bytes, which 
is too much for me. Ideally I want it to start writing immediately, 
whenever new data hits its pools. Unfortunately, the -p 0 option doesn't 
work either:


   -s size
Size in bytes of each block.  The  default  blocksize  is
10k  to match the normal output of the tar(1) program.

  -p percentage
Only start a write when the given percentage of the internal
queue is  full.   A  percentage around 75 often proves best.
Defaults to zero.

Wouldn't such an intermediary tool be a great way to boost performance 
for certain types of solutions?


Thanks for any tips (Sorry if this was an inappropriate place to ask)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


X session over LAN errors

2008-11-05 Thread Alasdair Reed
Hi,
I am trying to open an X session over a LAN, the connection via ssh works fine 
however I get  an error message when  I try to open an X application on the 
remote machine

debug1: read PEM private key done: type RSA
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug1: Entering interactive session.
debug1: Requesting X11 forwarding with authentication spoofing.
Last login: Wed Nov  5 10:29:41 2008 from 192.168.0.6
NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006

Welcome to NetBSD!

$ xclock -d
debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384
debug1: client_request_x11: request from ::1 65447
debug1: channel 1: new [x11]
debug1: confirm x11
X Error of failed request:  BadDrawable (invalid Pixmap or Window parameter)
  Major opcode of failed request:  55 (X_CreateGC)
Resource id in failed request:  0x5c
  Serial number of failed request:  1
Current serial number in output stream:  3
debug1: channel 1: FORCE input drain
debug1: channel 1: free: x11, nchannels 2


The client  machine, 192.168.0.6 has the following version of X installed
X -version

X.Org X Server 1.4.0
Release Date: 5 September 2007
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 6.2-RELEASE i386 
Current Operating System: FreeBSD localhost 6.3-STABLE FreeBSD 6.3-STABLE #0: 
Sun Aug 24 09:27:22 EST 2008 [EMAIL 
PROTECTED]:/usr/obj/usr/src/sys/MYKERNELIPFW i386
Build Date: 01 April 2008  04:41:15PM
 
 Before reporting problems, check http://wiki.x.org
 to make sure that you have the latest version.
 Module Loader present

The server machine, 192.168.0.3  has this installed

$ X -version

XFree86 Version 4.5.0
Release Date: 16 March 2005
X Protocol Version 11, Revision 0
Build Operating System:NetBSD/i386 3.0.1 - The NetBSD Foundation, Inc.
Current Operating System: NetBSD paxpc1.localhost.net 3.0.1 NetBSD 3.0.1 
(GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006  [EMAIL 
PROTECTED]:/home/builds/ab/netbsd-3-0-1-RELEASE/i386/200607131826Z-obj/home/builds/ab/netbsd-3-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC
 i386
Build Date: 13 July 2006
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Command line: X -version

Searching the error messages was not very helpful, it seemed like X could give 
out these messages for quite a number of reasons none of the available posts 
seemed to fit my problem.
My windows manager is xmonad-0.7_2 
Any clues?

Thanks in advance,

Alasdair



pgp2bkL415w1D.pgp
Description: PGP signature


Re: Is KDE4 usable on FreeBSD?

2008-11-05 Thread tequnix
Am Mon, 3 Nov 2008 12:38:30 -0400
schrieb Thomas Abthorpe [EMAIL PROTECTED]:

 I submit to the court of pulic opinion that KDE4 *IS* stable on FreeBSD. I 
 would encourage you to check out the following resources

while it may be supposed to be stable - it is, in my opinion, unusable.

i tried to use it for several months now, and yesterday got happily
divorced - our cohabitation did last for more than 8 years - and
turned to xfce4.

most annoying behaviour was:

 - used to freeze the desktop, panels, window-manager completely after
ldap-server went away, no matter how long it was unreachable (i.e. a
restart was enough). i think this has something to do with
nsswitch.conf/libnss_ldap and dbus .. but xfce also use dbus, and here
are no freezes ..

 - on my old (pentium3 i think) workstation at work, it used to freeze
desktop etc. completely, as soon as the system load went above
~1.5, due to compiling e.g., now with xfce there is a notable
slowdown, but it is still possible to work 

 - after starting a java swing or applet application, desktop etc.
freezes for several minutes 

 - after browser hung due to flash/npviewer.bin problem, desktop etc.
freezes for several minutes 

 - startup took as long as it usually only takes for windoze systems
(several minutes)


conclusion: it was no longer possible to work, that is why i regard
kde4 as completely unusable, at least on older systems.

br,
reinhard
  

-- 
Save yourself!  Reboot in 5 seconds!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount / in read - write mode

2008-11-05 Thread Popof Popof
I can't install FreeBSD 7 from scratch because this is a laptop and the CD
drive is dead.
Also as this is a laptop I don't have any floopy drive.
I have found this thread talking about the same problem:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/current/2006-01/msg00095.html

But the /rescue/mount command didn't help me.

Does fstab file for a FreeBSD 6.0 and 7.0 are different ? I think yes
because before upgrading there were no problem to boot.

I also tried to use the mount command in order to get my drive in write mode
but it's failed.
Is there something to do in order to mount it correctly just one time in
order to modify my fstab file ?


2008/11/5 Lowell Gilbert [EMAIL PROTECTED]

 Popof Popof [EMAIL PROTECTED] writes:

  The kernel used is a GENERIC one from 6.0.
 
  / is mounted but in read-only mode and I can use it in single user mode.
  The mount command has been created on October 26 2008 and I hadn't start
 my
  laptop since one year so I'm sure that this comes from my update.

 Yes, you do seem to have made a mess of your system, all right.
 If you hadn't used the machine lately anyway, you might find it easier
 to start from scratch (wipe out the installation and start over).
 But hopefully not.

  Using mount command manually failed:
 
 
  #mount -w /dev/ad0s2a /
  mount option update is unknown
  mount: /dev/ad0s2a
 
 
  My fstab file contains
 
  /dev/ad0s2a   /   ufs   rw   1   1
 
 
  but ad0s2a is in ro mode as show mount output
 
  /dev/ados2a on / (ufs, local, read-only)

 At least the device names seem to be the same.

 This might be something silly and minor.  You can boot from CD (or
 floppy, flash drive, etc.) to edit the file, and try to edit the
 file.  Remember that you need a newline at the end of the fstab file,
 and strange characters can confuse it.

 
  2008/11/4 mdh [EMAIL PROTECTED]
 
  --- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote:
   From: Popof Popof [EMAIL PROTECTED]
   Subject: Unable to mount / in read - write mode
   To: FreeBSD Questions freebsd-questions@freebsd.org
   Date: Tuesday, November 4, 2008, 1:57 PM
   Hi,
   I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
   I don't know where but I made a mistake and I am always
   booting on the 6.0
   kernel.
   The problem is that I have an error during boot process:
  
   mount option rw is unknown
mount: /dev/ad0s2a : Invalid argument
Mounting root filesystem rw failed, startup aborted
Boot interrupted
  
  
   Its seems that tools have correctly upgraded (man mount let
   me see that I
   use the FreeBSD 7 version of mount) but not the kernel.
  
   Does someone has an idea to allow me to use my filesystem
   in read write mode
   ?
 
  This seems to be a problem with the mount command.  Why do you feel the
  kernel may be at fault?  If the kernel can get to mount, then it has
  obviously already mounted / (though possibly in read-only mode, which is
  something you should let us know...)
  There is also not necessarily a corrolation between a man page and the
  actual binary.  Check the binary's modification time and such for better
  detail here.  Beyond that, try running the mount command manually from
 the
  command line after booting from a CD or in single-user mode, if
 single-user
  mode works.
 
  - mdh
 
 
 
 
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]
 

 --
 Lowell Gilbert, embedded/networking software engineer, Boston area

 http://be-well.ilk.org/~lowell/http://be-well.ilk.org/%7Elowell/

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


RE: Unable to mount / in read - write mode

2008-11-05 Thread Bob McConnell
On Behalf Of Popof Popof

 I can't install FreeBSD 7 from scratch because this is a
 laptop and the CD drive is dead.
 Also as this is a laptop I don't have any floopy drive.

Any chance you have a docking station for that laptop with a NIC that
supports PXE? Could you do a network boot and install?

Bob McConnell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount / in read - write mode

2008-11-05 Thread Mel
On Wednesday 05 November 2008 14:50:05 Popof Popof wrote:
 I can't install FreeBSD 7 from scratch because this is a laptop and the CD
 drive is dead.

Is it possible you installed the base system (make installworld), without 
having installed the kernel (make installkernel)?
If that's the case, without an external drive or backups, your options to get 
a working system again are very very slim.
The only two things I can think of that would work, is an usb memory card with 
the 6.x mount command on it, that you'd run to remount / rw and take it from 
there. Or a bootable memory card with 7.x kernel.

However, it would help a lot if you could give a bit more information:
- how does the kernel identify your disk (drive letters and numbers)?
- Can you capture anything like a verbose boot or dmesg?
- Output of `mount -a -d -v' command
- How you determined your upgrade went wrong and you run 6.x.

-- 
Mel

Problem with today's modular software: they start with the modules
and never get to the software part.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash9 checklist

2008-11-05 Thread Steve Polyack

Steve Polyack wrote:

Juergen Lock wrote:


Preliminary checklist for getting flash9 to work in native firefox:
(flash10 needs more ports work, I shall post about that seperately on
-emulation...)  If you have additions to this please post a followup to
this thread, keeping the Cc: (I'm not on -questions...)

1. You need RELENG_7 from at least Mon Oct 20 11:15:57 2008 UTC
(the relevant MFC commits are:
http://svn.freebsd.org/viewvc/base?view=revisionrevision=183819
http://svn.freebsd.org/viewvc/base?view=revisionrevision=184075
- a recent HEAD should also work of course.)  There are linprocfs 
patches
for RELENG_6 too (merging the former commit), but the latter commit 
can't

be merged to 6 (and 7.0) since they lack the cpuset bits, so flash9
probably won't work on SMP there.  (Although if you have SMP you 
probably
should be running 7 anyway. :)  Oh and if you do have SMP you also 
need to

use the ULE scheduler, the cpuset syscalls are not supported with 4BSD.
linprocfs patches for 6:
http://people.freebsd.org/~nox/linprocfs-6.3.patch
http://people.freebsd.org/~nox/linprocfs-6.4.patch

2. Your portstree needs to be from at least Sun Oct 19 17:37:28 2008 UTC
(the last www/linux-flashplugin9 commit is:
http://lists.freebsd.org/pipermail/cvs-ports/2008-October/158404.html 


)

3. Make sure linprocfs is mounted to /compat/linux/proc .

4. Make sure www/nspluginwrapper, www/linux-flashplugin9 and 
dependencies

are installed and up to date(!).  (the default emulators/linux_base-fc4
should work, if you want to use a later one don't forget to set
compat.linux.osrelease=2.6.16 in sysctl.conf and 
OVERRIDE_LINUX_BASE_PORT

to whichever version you use in make.conf.  Note however that on 6, only
the default compat.linux.osrelease=2.4.2 really works.)

5. If the plugin doesnt show up in firefox' about:plugins, run
nspluginwrapper -i 
/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so

and restart firefox.

6. And remember there's a security advisory for the current version of
flash9,
http://www.FreeBSD.org/ports/portaudit/78f456fd-9c87-11dd-a55e-00163e16.html 


(if you use portaudit you need to `make -DDISABLE_VULNERABILITIES ...'
to be able to install the port), and fc4 seems to be eol'd too, so you
probably want to install something like the noscript firefox extension,
https://addons.mozilla.org/en-US/firefox/addon/722
and only allow plugins (and scripts, tho thats a different problem) on
sites you trust...

 And finally, if you still get crashes after following the above even
on pages that are reported to work now (like youtube) you probably want
to run `ktrace -di firefox...' and look at the output using linux_kdump
(thats the devel/linux_kdump port, you want to use a package), paying
specific attention to the lines above `PSIG SIGSEGV' (or whichever
signal you got), maybe there are still shlibs missing that the plugin
needs (NAMI ...something.so...), and if this is the case tell us about
it so the appropriate dependencies can be added to the relevant ports.
If you can't figure it out I guess it doesn't hurt to post the last
few 100 lines of the dump up to the relevant PSIG on -emulation...

 You may also want to check linked shlibs like this:
/compat/linux/bin/sh /compat/linux/usr/bin/ldd 
/usr/local/lib/npapi/linux-flashplugin/libflashplayer.so

and
/compat/linux/bin/sh /compat/linux/usr/bin/ldd 
/usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin

(if you see `not found' in there you know something is wrong) - although
that doesn't show libs that may be dlopen()d at runtime.

  
Thanks for this.  I was able to get linux-flashplugin9 working in 
native Firefox 3.0.3 on FreeBSD 7-STABLE i386.  The only additional 
thing I had to do was copy 
/usr/X11R6/lib/browser_plugins/npwrapper.libflashplayer.so into 
~/.mozilla/plugins/ for Firefox to recognize the plugin.  After that 
Youtube, google video, and google maps (incl. street view) work fine, 
but slow.  A friend of mine with a very similar setup was not so lucky 
and still has problems with flash9 locking up FF.

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


So I've done some more testing of this with various linux_base-* 
installs.  Youtube and most things (google maps) work with sound just 
fine for a few seconds, but after trying to interact or letting them go 
for a few minute they begin to rapidly eat up main memory.  
npviewer.bin's usage will top out somewhere around 300-450MB before it 
core dumps: pid 77684 (npviewer.bin), uid 1042: exited on signal 11 
(core dumped).  This is on FreeBSD 7-STABLE i386 (as of Tue Oct 28) with 
native Firefox 3.0.3 still.


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

Re: Unable to mount / in read - write mode

2008-11-05 Thread Lowell Gilbert
Popof Popof [EMAIL PROTECTED] writes:

 The kernel used is a GENERIC one from 6.0.

 / is mounted but in read-only mode and I can use it in single user mode.
 The mount command has been created on October 26 2008 and I hadn't start my
 laptop since one year so I'm sure that this comes from my update.

Yes, you do seem to have made a mess of your system, all right.  
If you hadn't used the machine lately anyway, you might find it easier
to start from scratch (wipe out the installation and start over).
But hopefully not.

 Using mount command manually failed:


 #mount -w /dev/ad0s2a /
 mount option update is unknown
 mount: /dev/ad0s2a


 My fstab file contains

 /dev/ad0s2a   /   ufs   rw   1   1


 but ad0s2a is in ro mode as show mount output

 /dev/ados2a on / (ufs, local, read-only)

At least the device names seem to be the same.  

This might be something silly and minor.  You can boot from CD (or
floppy, flash drive, etc.) to edit the file, and try to edit the
file.  Remember that you need a newline at the end of the fstab file,
and strange characters can confuse it.


 2008/11/4 mdh [EMAIL PROTECTED]

 --- On Tue, 11/4/08, Popof Popof [EMAIL PROTECTED] wrote:
  From: Popof Popof [EMAIL PROTECTED]
  Subject: Unable to mount / in read - write mode
  To: FreeBSD Questions freebsd-questions@freebsd.org
  Date: Tuesday, November 4, 2008, 1:57 PM
  Hi,
  I recently tried to update my FreeBSD 6.0 to FreeBSD 7.0.
  I don't know where but I made a mistake and I am always
  booting on the 6.0
  kernel.
  The problem is that I have an error during boot process:
 
  mount option rw is unknown
   mount: /dev/ad0s2a : Invalid argument
   Mounting root filesystem rw failed, startup aborted
   Boot interrupted
 
 
  Its seems that tools have correctly upgraded (man mount let
  me see that I
  use the FreeBSD 7 version of mount) but not the kernel.
 
  Does someone has an idea to allow me to use my filesystem
  in read write mode
  ?

 This seems to be a problem with the mount command.  Why do you feel the
 kernel may be at fault?  If the kernel can get to mount, then it has
 obviously already mounted / (though possibly in read-only mode, which is
 something you should let us know...)
 There is also not necessarily a corrolation between a man page and the
 actual binary.  Check the binary's modification time and such for better
 detail here.  Beyond that, try running the mount command manually from the
 command line after booting from a CD or in single-user mode, if single-user
 mode works.

 - mdh





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


-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
http://be-well.ilk.org/~lowell/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


[mod_mono] how to install from freebsd?

2008-11-05 Thread Foo JH
Hi guys,

I'm sorry if this isn't the best place to ask the question, but it's the
most active freebsd mailing list, so I hope to try my luck here.

I'm using 7.0, and I've installed mono and apache22 from the packages
(pkg_add -r xxx). Now I need to find mod_mono to complete the pieces.
Trouble is, I don't see it available from the ports tree.

Can any kind soul assist? Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: gcc 3.4.4 -fno-gcse

2008-11-05 Thread andrew clarke
On Wed 2008-11-05 13:02:27 UTC+, Robin Becker ([EMAIL PROTECTED]) wrote:

 I'm trying to do some benchmarks for a new/improved version of CPython 
 and would like to know if gcc 3.4.4 as distributed with FreeBSD 6.1 
 handles the -fno-gcse option reasonably. I looked in the man page, but 
 don't see that option explicitly so perhaps the main thrust of the 
 optimisation approach is going wrong.

I don't know about FreeBSD 6.1's gcc 3.4.4, but the info page for gcc
3.4.6 (supplied with FreeBSD 6.3) explicitly mentions -fno-gcse.  It's
under the section 3.10 Options That Control Optimization.

$ info gcc option

will also find it.

Not sure if that helps you at all.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to upgrade to KDE4

2008-11-05 Thread af300wsm

Hi,

I'm using FreeBSD 6.2-p11 (yes, I've got to update). A couple days ago I  
updated my ports tree and went to update kde 3.5.6. At first I did a  
portupgrade on the KDE meta-port but, ironically, the only thing that  
updated was the meta-port (I did a portupgrade -r too). I should also say  
that I first looked in /usr/ports/UPDATING and there weren't any particular  
instructions (that I could find) for updating KDE. I opened the file in vim  
and searched for kde and KDE. On both searches, nothing regarding the  
specific update of 3.5.x to 4.x was mentioned.


I'm having some problems updating the kdebase package now (since the  
meta-port didn't update the whole thing, I'm updating individually to  
3.5.10). It's having some compile time issues, something about an  
identifier not existing in a particular namespace or some-such error, I've  
got to look into it further. However, since I'm going through this  
loathsome process anyway, would it be advisable to just do a deinstall of  
the kde system and cd to /usr/ports/x11/kde (I think that's where it is)  
and install 4.x (if that's even how to do it)? I would really prefer to run  
4.x.


Thanks for any help,
Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Unable to mount / in read - write mode

2008-11-05 Thread Popof Popof
My laptop has a bootable NIC but I would like to avoid a network
installation.
I think that I forget to make the installkernel step.
I can say that I'm using kernel 6.0 thanks to the output at the start of
boot process.

I have another old box with a FreeBSD 6.0 kernel so I'll try tonight to get
the mount command from it to an usb key and try to use it with my laptop.
I'll also try to provide dmesg if I can use this usb key in write mode.

2008/11/5 Mel [EMAIL PROTECTED]

 On Wednesday 05 November 2008 14:50:05 Popof Popof wrote:
  I can't install FreeBSD 7 from scratch because this is a laptop and the
 CD
  drive is dead.

 Is it possible you installed the base system (make installworld), without
 having installed the kernel (make installkernel)?
 If that's the case, without an external drive or backups, your options to
 get
 a working system again are very very slim.
 The only two things I can think of that would work, is an usb memory card
 with
 the 6.x mount command on it, that you'd run to remount / rw and take it
 from
 there. Or a bootable memory card with 7.x kernel.

 However, it would help a lot if you could give a bit more information:
 - how does the kernel identify your disk (drive letters and numbers)?
 - Can you capture anything like a verbose boot or dmesg?
 - Output of `mount -a -d -v' command
 - How you determined your upgrade went wrong and you run 6.x.

 --
 Mel

 Problem with today's modular software: they start with the modules
and never get to the software part.

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


uhub0: device problem

2008-11-05 Thread stephen farrell
Hi, first off I'm new to FreeBSD so be gentle! :)

I seem to be having problems with a HP 7260 usb printer.  Cups is installed
and setup correctly following the Handbook method but i'm finding that the
uhub is getting disabled, stalling and timing out.  I have reproduced the
same results on my other system.

Both systems are running FreeBSD 7.0-RELEASE  GENERIC kernel.

The error message from dmesg is:
uhub0: device problem (IOERROR), disabling port 1

I do not have any issues with usb mouse or keyboards.  Is this a known issue
or can i rectify the problem at all.  Would be grateful for some help as i
am new to this level of configuration.

Gratefully

Stephen.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


irc usenet clients for xfce

2008-11-05 Thread FBSD1
What irc, pop mail, and usenet clients from gmone or kde or x would you
recommend to use on xfce?

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


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-05 Thread Gabriel Lavoie
That's strange, because I enabled the reporting on my system but its CPU
that wasn't on the list didn't appear.

Gabriel

2008/11/4 Marc G. Fournier [EMAIL PROTECTED]

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 - --On Tuesday, November 04, 2008 12:25:39 -0500 Gabriel Lavoie
 [EMAIL PROTECTED] wrote:

  When are the stats updated on bsdstats.org?

 real-time ... and they aren't for all time, the #s are based on systems
 reporting in over the past 60 days, so you will periodically see a bit of
 back
 tracking, depending on when in the cycle hosts reported in ... if I reload
 the
 page a few times, I may see it go from 25 013 - 25 103 - 25 143 - 25 140
 ...
 but the overall is an upward increase in numbers ...


 
  Thanks
 
  Gabriel
 
  2008/11/4 Marc G. Fournier [EMAIL PROTECTED]
 
  On Wed, 5 Nov 2008, andrew clarke wrote:
 
   On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier ([EMAIL PROTECTED]
 )
  wrote:
 
   For FreeBSD users, you just need to install
 /usr/ports/sysutils/bsdstats
  to set things up.
 
 
  I stopped using bsdstats after it caused my FreeBSD router to take too
  long to boot up after a reboot.  If I recall correctly, I had
  bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
  was called before ppp was able to start, so it couldn't connect to the
  bsdstats server.  On the other hand this was a while ago and I am
  going by memory, so I may be wrong about what happened or it was just
  a coincidence.  At the time I was more interested in getting the
  router running so I didn't really care for debugging what was going
  on.  I realise this is a bit of a vague bug report, so feel free to
  ignore it.
 
 
  There is an optional flag for 'reporting on reboot' ... the original
 script
  only did reporting monthly, out of periodic, but some ppl (ie. using
  laptops) suggesting an optional flag so that when they rebooted, they
 would
  be counted also ...
 
  And you are correct, just change:
 
  bsdstats_enable=YES
 
  to
 
  bsdstats_enable=NO
 
  And 'on reboot' will eb disabled, and only periodic will be used ... at
 a
  minimum, you just need:
 
  monthly_statistics_enable=YES
 
  in /etc/periodic.conf, wich will only report OS/version and skip the
  devices/ports reports ...
 
  
  Marc G. Fournier   Hub.Org Networking Services (
 http://www.hub.org
  )
  Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
  Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
 
  --
  Gabriel Lavoie
  [EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



 - --
 Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org
 )
 Email . [EMAIL PROTECTED]  MSN . [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (FreeBSD)

 iEYEARECAAYFAkkRHfcACgkQ4QvfyHIvDvMP1gCfWcuWqCGNWSR5HuGSO4vgRwLb
 Y0EAn3+Pi3/1+eM/mxmKFrF7AFTMQBbv
 =yRDb
 -END PGP SIGNATURE-




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


gcc 3.4.4 -fno-gcse

2008-11-05 Thread Robin Becker
I'm trying to do some benchmarks for a new/improved version of CPython and would 
like to know if gcc 3.4.4 as distributed with FreeBSD 6.1 handles the -fno-gcse 
option reasonably. I looked in the man page, but don't see that option 
explicitly so perhaps the main thrust of the optimisation approach is going wrong.

--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: irc usenet clients for xfce

2008-11-05 Thread Rada alive
On Wed, Nov 5, 2008 at 3:38 PM, FBSD1 [EMAIL PROTECTED] wrote:

 What irc, pop mail, and usenet clients from gmone or kde or x would you
 recommend to use on xfce?

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


I suggest irssi or Xchat for IRC, mutt or Thunderbird for mail (The latter
for usenet also, idk if mutt supports usenet).
irssi and mutt if you like CLI, Xchat and Thunderbird if you like GUI's.

But best of all to use is whatever _you_ would recommend somebody to use.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to upgrade to KDE4

2008-11-05 Thread Manolis Kiagias

[EMAIL PROTECTED] wrote:

Hi,

I'm using FreeBSD 6.2-p11 (yes, I've got to update). A couple days ago 
I updated my ports tree and went to update kde 3.5.6. At first I did a 
portupgrade on the KDE meta-port but, ironically, the only thing that 
updated was the meta-port (I did a portupgrade -r too). I should also 
say that I first looked in /usr/ports/UPDATING and there weren't any 
particular instructions (that I could find) for updating KDE. I opened 
the file in vim and searched for kde and KDE. On both searches, 
nothing regarding the specific update of 3.5.x to 4.x was mentioned.


I'm having some problems updating the kdebase package now (since the 
meta-port didn't update the whole thing, I'm updating individually to 
3.5.10). It's having some compile time issues, something about an 
identifier not existing in a particular namespace or some-such error, 
I've got to look into it further. However, since I'm going through 
this loathsome process anyway, would it be advisable to just do a 
deinstall of the kde system and cd to /usr/ports/x11/kde (I think 
that's where it is) and install 4.x (if that's even how to do it)? I 
would really prefer to run 4.x.


Thanks for any help,
Andy


The Handbook has been recently updated with instructions on installing / 
running KDE4:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html

It is also possible to keep both versions installed (since KDE4 installs 
in a different directory).
If you decide to go along this path, I would advise you to set your PATH 
so that /usr/local/kde4/bin is before /usr/local/bin (when running 
KDE4). This will prevent inadvertently running kde3.x executables in 4.x.


There has been some discussion on the list concerning the usability of 
KDE4. FWIW, it worked for me but I am not a KDE person anyway (and have 
only used 3.X a couple of times) and don't need most of the features of 
such a desktop. YMMV.

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


Re: BSDstats: New High Water Mark: 25 000+ Hosts Reporting In

2008-11-05 Thread Gabriel Lavoie
Good, my system finally appeared.

Gabriel

2008/11/5 Gabriel Lavoie [EMAIL PROTECTED]

 That's strange, because I enabled the reporting on my system but its CPU
 that wasn't on the list didn't appear.


 Gabriel

 2008/11/4 Marc G. Fournier [EMAIL PROTECTED]

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1



 - --On Tuesday, November 04, 2008 12:25:39 -0500 Gabriel Lavoie
 [EMAIL PROTECTED] wrote:

  When are the stats updated on bsdstats.org?

 real-time ... and they aren't for all time, the #s are based on systems
 reporting in over the past 60 days, so you will periodically see a bit of
 back
 tracking, depending on when in the cycle hosts reported in ... if I reload
 the
 page a few times, I may see it go from 25 013 - 25 103 - 25 143 - 25
 140 ...
 but the overall is an upward increase in numbers ...


 
  Thanks
 
  Gabriel
 
  2008/11/4 Marc G. Fournier [EMAIL PROTECTED]
 
  On Wed, 5 Nov 2008, andrew clarke wrote:
 
   On Mon 2008-11-03 18:33:57 UTC-0400, Marc G. Fournier (
 [EMAIL PROTECTED])
  wrote:
 
   For FreeBSD users, you just need to install
 /usr/ports/sysutils/bsdstats
  to set things up.
 
 
  I stopped using bsdstats after it caused my FreeBSD router to take too
  long to boot up after a reboot.  If I recall correctly, I had
  bsdstats_enable=YES in /etc/rc.conf and after the reboot bsdstats
  was called before ppp was able to start, so it couldn't connect to the
  bsdstats server.  On the other hand this was a while ago and I am
  going by memory, so I may be wrong about what happened or it was just
  a coincidence.  At the time I was more interested in getting the
  router running so I didn't really care for debugging what was going
  on.  I realise this is a bit of a vague bug report, so feel free to
  ignore it.
 
 
  There is an optional flag for 'reporting on reboot' ... the original
 script
  only did reporting monthly, out of periodic, but some ppl (ie. using
  laptops) suggesting an optional flag so that when they rebooted, they
 would
  be counted also ...
 
  And you are correct, just change:
 
  bsdstats_enable=YES
 
  to
 
  bsdstats_enable=NO
 
  And 'on reboot' will eb disabled, and only periodic will be used ... at
 a
  minimum, you just need:
 
  monthly_statistics_enable=YES
 
  in /etc/periodic.conf, wich will only report OS/version and skip the
  devices/ports reports ...
 
  
  Marc G. Fournier   Hub.Org Networking Services (
 http://www.hub.org
  )
  Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
  Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
  [EMAIL PROTECTED]
 
 
 
 
  --
  Gabriel Lavoie
  [EMAIL PROTECTED]
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to 
 [EMAIL PROTECTED]



 - --
 Marc G. FournierHub.Org Hosting Solutions S.A. (
 http://www.hub.org)
 Email . [EMAIL PROTECTED]  MSN .
 [EMAIL PROTECTED]
 Yahoo . yscrappy   Skype: hub.orgICQ . 7615664
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.9 (FreeBSD)

 iEYEARECAAYFAkkRHfcACgkQ4QvfyHIvDvMP1gCfWcuWqCGNWSR5HuGSO4vgRwLb
 Y0EAn3+Pi3/1+eM/mxmKFrF7AFTMQBbv
 =yRDb
 -END PGP SIGNATURE-




 --
 Gabriel Lavoie
 [EMAIL PROTECTED]




-- 
Gabriel Lavoie
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [mod_mono] how to install from freebsd?

2008-11-05 Thread Javier Martín Rueda

Foo JH wrote:

I'm using 7.0, and I've installed mono and apache22 from the packages
(pkg_add -r xxx). Now I need to find mod_mono to complete the pieces.
Trouble is, I don't see it available from the ports tree.

  
I have these notes from some mod_mono installation I did some time ago. 
I hope they are still valid:


I installed mono from the ports. It was just a standard install, so 
installing from packages should be the same.


XSP
===

* fetch http://go-mono.com/sources/xsp/xsp-1.2.3.tar.gz
* configure  gmake  gmake install
* Test: mono /usr/local/lib/mono/2.0/xsp2.exe. Open http://myserver:8080 
(it will say it cannot find /)

* Test 2: copy a web application and open it. It should work.

MOD_MONO


* fetch http://go-mono.com/sources/mod_mono/mod_mono-1.2.1.tar.gz
* configure  gmake  gmake install
* mv /usr/local/etc/apache22/mod_mono.conf /usr/local/etc/apache22/Includes
* Edit mod_mono.conf and add this:

  MonoServerPath /usr/local/bin/mod-mono-server2
  MonoPath /usr/local/lib/mono/2.0

* Install test application in /somewhere/website and create 
/usr/local/etc/apache22/Includes/prueba.conf:


  Alias /prueba /somewhere/website
  MonoApplications /prueba:/somewhere/website

  Directory /somewhere/website
Allow from all
  /Directory


Open http://myserver/prueba and it should work.

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


Re: flash9 checklist

2008-11-05 Thread Tijl Coosemans
On Wednesday 05 November 2008 15:35:21 Steve Polyack wrote:
 So I've done some more testing of this with various linux_base-* 
 installs.  Youtube and most things (google maps) work with sound just 
 fine for a few seconds, but after trying to interact or letting them go 
 for a few minute they begin to rapidly eat up main memory.  
 npviewer.bin's usage will top out somewhere around 300-450MB before it 
 core dumps: pid 77684 (npviewer.bin), uid 1042: exited on signal 11 
 (core dumped).  This is on FreeBSD 7-STABLE i386 (as of Tue Oct 28) with 
 native Firefox 3.0.3 still.

Do you have this with linux-firefox?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Re: How to upgrade to KDE4

2008-11-05 Thread af300wsm

On Nov 5, 2008 8:24am, Manolis Kiagias [EMAIL PROTECTED] wrote:

[EMAIL PROTECTED] wrote:


Hi,



I'm using FreeBSD 6.2-p11 (yes, I've got to update). A couple days ago I  
updated my ports tree and went to update kde 3.5.6. At first I did a  
portupgrade on the KDE meta-port but, ironically, the only thing that  
updated was the meta-port (I did a portupgrade -r too). I should also say  
that I first looked in /usr/ports/UPDATING and there weren't any particular  
instructions (that I could find) for updating KDE. I opened the file in vim  
and searched for kde and KDE. On both searches, nothing regarding the  
specific update of 3.5.x to 4.x was mentioned.




I'm having some problems updating the kdebase package now (since the  
meta-port didn't update the whole thing, I'm updating individually to  
3.5.10). It's having some compile time issues, something about an  
identifier not existing in a particular namespace or some-such error, I've  
got to look into it further. However, since I'm going through this  
loathsome process anyway, would it be advisable to just do a deinstall of  
the kde system and cd to /usr/ports/x11/kde (I think that's where it is)  
and install 4.x (if that's even how to do it)? I would really prefer to run  
4.x.




Thanks for any help,

Andy




The Handbook has been recently updated with instructions on installing /  

running KDE4:




http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x11-wm.html



It is also possible to keep both versions installed (since KDE4 installs  

in a different directory).


If you decide to go along this path, I would advise you to set your PATH  
so that /usr/local/kde4/bin is before /usr/local/bin (when running KDE4).  
This will prevent inadvertently running kde3.x executables in 4.x.




There has been some discussion on the list concerning the usability of  
KDE4. FWIW, it worked for me but I am not a KDE person anyway (and have  
only used 3.X a couple of times) and don't need most of the features of  
such a desktop. YMMV.




That is fantastic, thanks.

Andy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-05 Thread Christoph Kukulies

Christoph Kukulies schrieb:

Hi Al,

thanks for pointing me to safe mode install. That I will probably try 
tomorrow.
The day ended up in havoc: I tried to boot a floppy to do an ASUS BIOS 
upgrade and somehow messed with the power cable.
A big flash occurred originating from the power supply. I opened the 
power supply, found a blown fuse, ran to the electronics store, bought 
a new fuse (+ one in reserve), inserted the fuse, tried the power 
supply, with connections off and a firework, prematurely - your 
presidential elections aren't finished yet - , developed in front of 
my face. Will continue tomorrow, when America has a new president.




Back at the problem: I chose 3. safe mode to no avail. Still get this

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00 
run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config


I even changed the CDROM drive to a very old slow one. I changes IDE 
busses (first vs. second IDE) to no avail.
I'm now gonna burn another medium. No luck yet installing 7.1 BETA2. I'm 
also a long time FreeBSD user btw,

from times where it was called 386bsd :-)

--
Christoph


--
Christoph

Al Plant schrieb:

Julien Cigar wrote:

I've this problem too on almost all my machines. The only solution I've
found is to disable DMA (atapi_dma), but then performances are very 
poor

(and I'm still unable to burn a CD/DVD)

On Tue, 2008-11-04 at 16:03 +0100, Christoph Kukulies wrote:

Hi,

don't know whether it's the CDROM drive (a Creative 52x mx) or the 
motherboard (ASUS P4S8X) or what.
Anyway, I tried to install a recent version of FreeBSD (7.1-BETA2) 
and the installation

hangs right in the boot process of the installation CD disc1.

I see

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
run_interrupt_driven_hooks: still waiting after 60 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 120 seconds for 
xpt_config
run_interrupt_driven_hooks: still waiting after 180 seconds for 
xpt_config


and so on.

Any clues?

--
Christoph Kukulies
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]



Aloha,

I have had similiar happen on 7 and 8 Freebsd installs recently.

If you install using safe mode it will work. Then in /boot/loader.conf

#boot/loader.conf
hw.ata.ata-dma=0
hw.ata.atapi_dma=0

This makes the HD and CD to  work for me after the install.

The error that comes up when you burn a CD seems to be bogus as I 
have used the CD's with out error for installing on other boxes.



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


Re: irc usenet clients for xfce

2008-11-05 Thread Frank Staals

Rada alive wrote:

On Wed, Nov 5, 2008 at 3:38 PM, FBSD1 [EMAIL PROTECTED] wrote:

  

What irc, pop mail, and usenet clients from gmone or kde or x would you
recommend to use on xfce?

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




I suggest irssi or Xchat for IRC, mutt or Thunderbird for mail (The latter
for usenet also, idk if mutt supports usenet).
irssi and mutt if you like CLI, Xchat and Thunderbird if you like GUI's.
  
I have been using irssi (+bitlbee) for my IRC/IM needs for ages now, 
works like a charm for me. And thunderbird has been my mail client ever 
since 0.2. so I'd agree they are nice choises. I haven't used 
thunderbird for usenet stuff though; I only used usenet for downloading 
purposes. Used pan as a desktop-solution. Worked fine in my opinion. For 
a more server-like solution you may want to take a look at SabNZBd.

But best of all to use is whatever _you_ would recommend somebody to use.
___

  
Yep, feel free to try out some stuff but choose whatever *you* think 
works nice


Good luck,

--

- Frank

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-05 Thread Christoph Kukulies

Christoph Kukulies schrieb:

Christoph Kukulies schrieb:

Hi Al,

thanks for pointing me to safe mode install. That I will probably try 
tomorrow.
The day ended up in havoc: I tried to boot a floppy to do an ASUS 
BIOS upgrade and somehow messed with the power cable.
A big flash occurred originating from the power supply. I opened the 
power supply, found a blown fuse, ran to the electronics store, 
bought a new fuse (+ one in reserve), inserted the fuse, tried the 
power supply, with connections off and a firework, prematurely - your 
presidential elections aren't finished yet - , developed in front of 
my face. Will continue tomorrow, when America has a new president.




Back at the problem: I chose 3. safe mode to no avail. Still get this

acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
I now tried with a 7.0 BETA  Boot CD (which I had laying around from 
possibly another fruitless attempt in the past to
update that system from 5.1 or something to 7.x). Same picture. Hangs on 
this


acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x21 ascq=0x00

(asc=0x21 at this time FWIW).

Please help me in getting FreeBSD onto this machine iin whatever way.

--
Christoph
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: flash9 checklist

2008-11-05 Thread Steve Polyack

Tijl Coosemans wrote:

On Wednesday 05 November 2008 15:35:21 Steve Polyack wrote:
  
So I've done some more testing of this with various linux_base-* 
installs.  Youtube and most things (google maps) work with sound just 
fine for a few seconds, but after trying to interact or letting them go 
for a few minute they begin to rapidly eat up main memory.  
npviewer.bin's usage will top out somewhere around 300-450MB before it 
core dumps: pid 77684 (npviewer.bin), uid 1042: exited on signal 11 
(core dumped).  This is on FreeBSD 7-STABLE i386 (as of Tue Oct 28) with 
native Firefox 3.0.3 still.



Do you have this with linux-firefox?

  

Yes, I have the same behavior when using linux-firefox 2.0.17 from ports.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-05 Thread Jeremy Chadwick
On Wed, Nov 05, 2008 at 05:26:38PM +0100, Christoph Kukulies wrote:
 Christoph Kukulies schrieb:
 Christoph Kukulies schrieb:
 Hi Al,

 thanks for pointing me to safe mode install. That I will probably try 
 tomorrow.
 The day ended up in havoc: I tried to boot a floppy to do an ASUS  
 BIOS upgrade and somehow messed with the power cable.
 A big flash occurred originating from the power supply. I opened the  
 power supply, found a blown fuse, ran to the electronics store,  
 bought a new fuse (+ one in reserve), inserted the fuse, tried the  
 power supply, with connections off and a firework, prematurely - your 
 presidential elections aren't finished yet - , developed in front of  
 my face. Will continue tomorrow, when America has a new president.


 Back at the problem: I chose 3. safe mode to no avail. Still get this

 acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x11 ascq=0x00
 I now tried with a 7.0 BETA  Boot CD (which I had laying around from  
 possibly another fruitless attempt in the past to
 update that system from 5.1 or something to 7.x). Same picture. Hangs on  
 this

 acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x21 ascq=0x00
 (asc=0x21 at this time FWIW).

This won't help you get FreeBSD installed any quicker, but it will give
you some insight to what the error messages mean.

ATAPI essentially uses SCSI commands but over an ATA bus, which is why
atapicam(4) exists (which is what's giving you the xpt_* errors).  The
problem is that not all drives are created equal, so some behave
differently to certain commands than others.

ASC and ASCQ are, in layman's terms, error codes with added degrees of
granularity.  ASC = Additional Sense Code, ASCQ = Additional Sense Code
Qualifier.  These are fairly well-documented all over the web, and per
T10 specifications.  Looking at a chart, specifically noting errors that
are for CD (MMC) devices, we find:

ASC 0x11, ASCQ 0x00 == Unrecovered Read Error
ASC 0x21, ASCQ 0x00 == Logical Block Address (LBA) Out of Range

Your first reaction will be So does this mean I have a bad CD?, and
the answer is not necessarily.  It could be that the drive does not
support the commands FreeBSD expects available to read a CD in this
particular fashion.  But it could also be a badly burned CD, or a
CD burned with buggy software.

If at all possible, try another CD drive of some kind.  Get one from a
friend, borrow one, or buy one.  People have had good experiences with
Plextor and Pioneer drives, while recent Samsung drives have been
hit-or-miss.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

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


Kernel Panic on 7.0-REL

2008-11-05 Thread Phillip Hocking
Hello all, I keep getting a kernel panic every Saturday night, so I 
figured I would go through the core dump.


# uname -a
FreeBSD xx.fsklaw.com 7.0-RELEASE FreeBSD 7.0-RELEASE #1: Wed Apr 23 
08:01:10 PDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TEST  amd64




# kgdb kernel.symbols /var/crash/vmcore.2
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol ps_pglobal_lookup]

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as amd64-marcel-freebsd.

Unread portion of the kernel message buffer:


Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address= 0x250
fault code= supervisor read data, page not present
instruction pointer= 0x8:0x80482a5d
stack pointer= 0x10:0xb184b570
frame pointer= 0x10:0xff003f9cf6a0
code segment= base 0x0, limit 0xf, type 0x1b
  = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags= interrupt enabled, resume, IOPL = 0
current process= 37920 (bsdtar)
trap number= 12
panic: page fault
cpuid = 1
Uptime: 7d2h23m33s
Physical memory: 2034 MB
Dumping 415 MB: 400 384 368 352 336 320 304 288 272 256 240 224 208 192 
176 160 144 128 112 96 80 64 48 32 16


#0  doadump () at pcpu.h:194
194__asm __volatile(movq %%gs:0,%0 : =r (td));
(kgdb) where
#0  doadump () at pcpu.h:194
#1  0x0004 in ?? ()
#2  0x8048e0d9 in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:409
#3  0x8048e4dd in panic (fmt=0x104 Address 0x104 out of 
bounds) at /usr/src/sys/kern/kern_shutdown.c:563
#4  0x80786f44 in trap_fatal (frame=0xff003f9cf6a0, 
eva=18446742975518566608) at /usr/src/sys/amd64/amd64/trap.c:724
#5  0x80787315 in trap_pfault (frame=0xb184b4c0, 
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:641
#6  0x80787c58 in trap (frame=0xb184b4c0) at 
/usr/src/sys/amd64/amd64/trap.c:410
#7  0x8076d88e in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:169
#8  0x80482a5d in _mtx_lock_sleep (m=0xff009662c410, 
tid=18446742975265175200, opts=Variable opts is not available.

) at /usr/src/sys/kern/kern_mutex.c:335
#9  0x804f5978 in vfs_vmio_release (bp=0x9a329220) at 
/usr/src/sys/kern/vfs_bio.c:1530
#10 0x804f77f4 in getnewbuf (slpflag=0, slptimeo=0, 
size=Variable size is not available.

) at /usr/src/sys/kern/vfs_bio.c:1847
#11 0x804f8801 in getblk (vp=0xff000b71c5d0, blkno=294994, 
size=16384, slpflag=0, slptimeo=0, flags=Variable flags is not available.

) at /usr/src/sys/kern/vfs_bio.c:2602
#12 0x806a3d5b in ffs_balloc_ufs2 (vp=0xff000b71c5d0, 
startoffset=Variable startoffset is not available.

) at /usr/src/sys/ufs/ffs/ffs_balloc.c:844
#13 0x806bf6e5 in ffs_write (ap=0xb184ba10) at 
/usr/src/sys/ufs/ffs/ffs_vnops.c:720
#14 0x807e04e5 in VOP_WRITE_APV (vop=0x80a6b0e0, 
a=0xb184ba10) at vnode_if.c:691
#15 0x8051ae41 in vn_write (fp=0xff00284771e0, 
uio=0xb184bb00, active_cred=Variable active_cred is not 
available.

) at vnode_if.h:373
#16 0x804c6468 in dofilewrite (td=0xff003f9cf6a0, fd=3, 
fp=0xff00284771e0, auio=0xb184bb00, offset=Variable offset 
is not available.

) at file.h:254
#17 0x804c676e in kern_writev (td=0xff003f9cf6a0, fd=3, 
auio=0xb184bb00) at /usr/src/sys/kern/sys_generic.c:401
#18 0x804c67ec in write (td=0xff009662c410, 
uap=0xff003f9cf6a0) at /usr/src/sys/kern/sys_generic.c:317
#19 0x80787597 in syscall (frame=0xb184bc70) at 
/usr/src/sys/amd64/amd64/trap.c:852
#20 0x8076da9b in Xfast_syscall () at 
/usr/src/sys/amd64/amd64/exception.S:290

#21 0x000800a66d3c in ?? ()
Previous frame inner to this frame (corrupt stack?)
(kgdb) up 8
#8  0x80482a5d in _mtx_lock_sleep (m=0xff009662c410, 
tid=18446742975265175200, opts=Variable opts is not available.

) at /usr/src/sys/kern/kern_mutex.c:335
335owner = (struct thread *)(v  ~MTX_FLAGMASK);
(kgdb) p owner
$1 = (volatile struct thread *) 0xfff8
(kgdb) p v
$2 = 18446744073709551615


Note the uptime, this happens every Saturday for the last three weeks. I 
have a cronjob that tar/bzips a drive and scps it to another box, but 
that runs nightly at midnight on the cronjob, and this happens weekly 
but only on Saturday, same cronjob same data. I figured if it happened 
again, I would hit up the mailing list. Hopefully you all can suggest 
what to upgrade to or how to further troubleshoot this issue. Thanks a 
bundle 

Re: flash9 checklist

2008-11-05 Thread Tijl Coosemans
On Wednesday 05 November 2008 17:25:56 Steve Polyack wrote:
 Tijl Coosemans wrote:
 On Wednesday 05 November 2008 15:35:21 Steve Polyack wrote:
 So I've done some more testing of this with various linux_base-*
 installs.  Youtube and most things (google maps) work with sound just
 fine for a few seconds, but after trying to interact or letting them go
 for a few minute they begin to rapidly eat up main memory.
 npviewer.bin's usage will top out somewhere around 300-450MB before it
 core dumps: pid 77684 (npviewer.bin), uid 1042: exited on signal 11
 (core dumped).  This is on FreeBSD 7-STABLE i386 (as of Tue Oct 28) with
 native Firefox 3.0.3 still.
 
 Do you have this with linux-firefox?
 
 Yes, I have the same behavior when using linux-firefox 2.0.17 from ports.

Ok, so it's not a problem with npviewer.bin then.

It's possible that when it's eating memory it's already coredumping.
I've noticed that coredumps are generally a LOT bigger with 2.6.16
emulation compared to 2.4.2.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


console locked again:: load over 2.00

2008-11-05 Thread Gary Kline

Hey guys,

Any ideas *why* my load is so high when my desktop wasn't touched for 9, 10 
hours?
I was running mostly KDE3 konsoles, and had a few other processes going, the
apps iconisized.  The server is still running; I've killed everything I can 
think of
to reduce the load.  It may be that the screen won't come back if the load is 
1.00.  I'm upgrading my kernel to see if *that* has any effect.  O/wise, I'm 
out of
ideas.

Anybody??

gary



-- 
 Gary Kline  [EMAIL PROTECTED]  http://www.thought.org  Public Service Unix
http://jottings.thought.org   http://transfinite.thought.org


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


Re: console locked again:: load over 2.00

2008-11-05 Thread Bill Moran
In response to Gary Kline [EMAIL PROTECTED]:
 
 Any ideas *why* my load is so high when my desktop wasn't touched for 9, 10 
 hours?
 I was running mostly KDE3 konsoles, and had a few other processes going, the
 apps iconisized.  The server is still running; I've killed everything I can 
 think of
 to reduce the load.  It may be that the screen won't come back if the load is 
 
 1.00.  I'm upgrading my kernel to see if *that* has any effect.  O/wise, I'm 
 out of
 ideas.

Doesn't sound right at all.  I've seen my load avgs go much higher than
2 on my desktop and not had much difficulty logging in.

Generally, slow logins are a symptom of IO starvation, as an inability
to get to a disk page is more of a show stopper than contention for
CPU resources.  How much of your swap is in use?  What are the pagein/
pageout statistics during this?  Are you sure the disk isn't dying?

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: console locked again:: load over 2.00

2008-11-05 Thread Roland Smith
On Wed, Nov 05, 2008 at 11:45:10AM -0800, Gary Kline wrote:
 
 Hey guys,
 
 Any ideas *why* my load is so high when my desktop wasn't touched for
 9, 10 hours?  I was running mostly KDE3 konsoles, and had a few other
 processes going, the apps iconisized.  The server is still running;
 I've killed everything I can think of to reduce the load.  It may be
 that the screen won't come back if the load is  1.00.  I'm upgrading
 my kernel to see if *that* has any effect.  O/wise, I'm out of ideas.

Try leaving 'top -SI' running in a console window. That should tell you what
the culprit is.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpRVMuaJzeId.pgp
Description: PGP signature


Method to mirror a single partition across the net.

2008-11-05 Thread Steve Kargl
I've the Handbook's chapter on GEOM, gmirror(1), geom(8), ggated(8),
and ggatec(8), and I've search the web for a solution to the 
following issue.

I would like to mirror a single partition on system A to a 
a partition on system B.  It would appear a combination of
gmirror and ggated would work, but I haven't found any 
example on setting up two systems.

To be specific, /etc/fstab on the 2 systems is 

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s1b noneswapsw  0   0
/dev/ad4s1a /   ufs rw  1   1
/dev/ad4s1e /data   ufs rw  2   2
/dev/ad4s1d /usrufs rw  2   2

I want to mirror 192.168.0.20:/dev/ad4s1e to 192.168.0.21:/dev/ad4s1e

Anyone have a pointer to a howto or tutorial on setting this up?

-- 
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Method to mirror a single partition across the net.

2008-11-05 Thread Wojciech Puchar

following issue.

I would like to mirror a single partition on system A to a
a partition on system B.  It would appear a combination of
gmirror and ggated would work, but I haven't found any
example on setting up two systems.

you are right.

just create device with ggatec and insert it to the mirror.

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


Re: 7.1-BETA2 installation on ASUS P4S8X fails BIG MEDIUM ERROR

2008-11-05 Thread kuku

Jeremy Chadwick schrieb:




acd0: FAILURE - READ BIG MEDIUM ERROR asc=0x21 ascq=0x00
(asc=0x21 at this time FWIW).



This won't help you get FreeBSD installed any quicker, but it will give
you some insight to what the error messages mean.

ATAPI essentially uses SCSI commands but over an ATA bus, which is why
atapicam(4) exists (which is what's giving you the xpt_* errors).  The
problem is that not all drives are created equal, so some behave
differently to certain commands than others.

ASC and ASCQ are, in layman's terms, error codes with added degrees of
granularity.  ASC = Additional Sense Code, ASCQ = Additional Sense Code
Qualifier.  These are fairly well-documented all over the web, and per
T10 specifications.  Looking at a chart, specifically noting errors that
are for CD (MMC) devices, we find:

ASC 0x11, ASCQ 0x00 == Unrecovered Read Error
ASC 0x21, ASCQ 0x00 == Logical Block Address (LBA) Out of Range

Your first reaction will be So does this mean I have a bad CD?, and
the answer is not necessarily.  It could be that the drive does not
support the commands FreeBSD expects available to read a CD in this
particular fashion.  But it could also be a badly burned CD, or a
CD burned with buggy software.

If at all possible, try another CD drive of some kind.  Get one from a
friend, borrow one, or buy one.  People have had good experiences with
Plextor and Pioneer drives, while recent Samsung drives have been
hit-or-miss.
  


I'm now at home at a different burner but I probably don't have a 
different CD recording software other than cdrecord
available. that's Windows XP BTW, under which I burnt that CDs. I could 
prbably boot an older (4.x) FreeBSD
on that machine but that would be CD record, too. Medium is also a 80 
min 700 MB CD. Weren't they  650 MB in earlier times actually?
Earlier times I mean, when I still had my FreeBSD subscription and got 
each release in a neat CD set :-)


Oh well, I will give it another try and see how it works out.

Later

--
Christoph


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


Re: Method to mirror a single partition across the net.

2008-11-05 Thread Steve Kargl
On Wed, Nov 05, 2008 at 10:01:24PM +0100, Wojciech Puchar wrote:
 following issue.
 
 I would like to mirror a single partition on system A to a
 a partition on system B.  It would appear a combination of
 gmirror and ggated would work, but I haven't found any
 example on setting up two systems.
 you are right.
 
 just create device with ggatec and insert it to the mirror.

Thanks for the reply.  Perhaps, I'm missing an important detail,
but gmirror(8) seems to suggest that it operates on an entire
disk.  Note, in my original email I used the word partition
but showed a disk slice.  I really do mean a partition within
a slice.  Does the following work where I want to mirror only
192.168.0.20:/dev/ad4s1e to 192.168.0.21:/dev/ad4s1e?

On 192.168.0.21:

  # umount /dev/ad4s1e
  # echo 192.168.0.21/24 RW /dev/ad4s1e  /etc/gg.exports
  # ggated

On 192.168.0.20:

  # ggatec create -o rw 192.168.0.21 /dev/ad4s1e
  # gmirror label  data /dev/ad4s1e
  # gmirror insert data /dev/ggate0

and /etc/fstab becomes

# DeviceMountpoint  FStype  Options DumpPass#
/dev/ad4s1b noneswapsw  0   0
/dev/ad4s1a /   ufs rw  1   1
/dev/ad4s1d /usrufs rw  2   2
/dev/mirror/data/data   ufs rw  2   2


-- 
Steve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: How to upgrade to KDE4

2008-11-05 Thread RW
On Wed, 05 Nov 2008 06:52:06 -0800
[EMAIL PROTECTED] wrote:
the only
 thing that updated was the meta-port (I did a portupgrade -r too). 

Aside from the fact that there are separate kde meta-ports,
portupgrade -r kde... updates the metaport and everything that depends
on the metaport, not everything the metaport depends on.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Java and FreeBSD

2008-11-05 Thread Chad Perrin
On Mon, Nov 03, 2008 at 11:28:10AM -0800, mdh wrote:
 
 My advice is to install the following ports in the following order:  
 
 java/jdk16
 java/eclipse-devel

Does licensing BS still require out-of-band agreement to EULAs on the Sun
website in 7.x, or has that finally changed for the better?

-- 
Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ]
Quoth Albert Camus: An intellectual is someone whose mind watches
itself.


pgpli2IBgla7u.pgp
Description: PGP signature


running linux programs

2008-11-05 Thread prad
if i want to run a linux program that is not offered in the linux-*
collection, can i compile it so that it will be run through the
emulator rather than as a freebsd program?

for instance, i want to run chessdb (a maintained version of scid which
is in the ports) and there is a tarball for unix:

ChessDB-3.6.18.tar.gz UNIX/Linux tarball.
(http://chessdb.sourceforge.net/downloads/)

but it doesn't seem to compile properly on freebsd.

i was wondering if i could compile it in linux, but there doesn't seem
to be any compiler present in /compat/linux ...

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


a quick?

2008-11-05 Thread david mellick
how long does it normally take GNOME to install?



Thanks 
Dave



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


Re: running linux programs

2008-11-05 Thread Glen Barber
On Wed, Nov 5, 2008 at 6:19 PM, prad [EMAIL PROTECTED] wrote:
 if i want to run a linux program that is not offered in the linux-*
 collection, can i compile it so that it will be run through the
 emulator rather than as a freebsd program?


You could use linux binary compatability.

 for instance, i want to run chessdb (a maintained version of scid which
 is in the ports) and there is a tarball for unix:

 ChessDB-3.6.18.tar.gz UNIX/Linux tarball.
 (http://chessdb.sourceforge.net/downloads/)

 but it doesn't seem to compile properly on freebsd.


What errors do you get? What `./configure' options do you give it?

 i was wondering if i could compile it in linux, but there doesn't seem
 to be any compiler present in /compat/linux ...




-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a quick?

2008-11-05 Thread Glen Barber
On Wed, Nov 5, 2008 at 5:36 PM, david mellick [EMAIL PROTECTED] wrote:
 how long does it normally take GNOME to install?


Your question is extremely vague.  Install *how*?  Ports or from pkg_add?

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a quick?

2008-11-05 Thread Paul A. Procacci

david mellick wrote:

how long does it normally take GNOME to install?



Thanks 
Dave




  
___

freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
  
This is quite an open-ended question that has lots of variables.  The 
answer is, it depends on your system in which no one will be able to 
provide any specifics; more or less.


~Paul
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a quick?

2008-11-05 Thread Glen Barber
On Wed, Nov 5, 2008 at 6:39 PM, david mellick [EMAIL PROTECTED] wrote:
 yeah i should be more specific on a pentium VIA ports

 But this no longer matters apparently I ran out of space I guess the schools
 systems are ancient 5.1 Gigs


You should have made sure ample space was available in the first place.

 so any advice on cleaning up the mess.  deinstall wont work since it did not
 completely install.


`make distclean` should do it.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a quick?

2008-11-05 Thread Glen Barber
You could also do `rm -rf /usr/ports/x11/gnome2/work'

-- 
Glen Barber
570.328.0318
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running linux programs

2008-11-05 Thread prad
On Wed, 5 Nov 2008 18:30:04 -0500
Glen Barber [EMAIL PROTECTED] wrote:

  but it doesn't seem to compile properly on freebsd.
   
 
 What errors do you get? What `./configure' options do you give it?

i think i've solved the problem. there were certain alterations to the
Makefile i had to do and twiddle with a couple of other things, but it
works now compiled on freebsd.

however, can i compile a linux program within the linux emulator
instead of using the gcc in freebsd?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: a quick?

2008-11-05 Thread david mellick
yeah i should be more specific on a pentium VIA ports

But this no longer matters apparently I ran out of space I guess the schools 
systems are ancient 5.1 Gigs

so any advice on cleaning up the mess.  deinstall wont work since it did not 
completely install.

--- On Wed, 11/5/08, Glen Barber [EMAIL PROTECTED] wrote:
From: Glen Barber [EMAIL PROTECTED]
Subject: Re: a quick?
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Date: Wednesday, November 5, 2008, 6:30 PM

On Wed, Nov 5, 2008 at 5:36 PM, david mellick [EMAIL PROTECTED]
wrote:
 how long does it normally take GNOME to install?


Your question is extremely vague.  Install *how*?  Ports or from pkg_add?

-- 
Glen Barber




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


Re: a quick?

2008-11-05 Thread david mellick
The decision to check for ample space was ignored because the guide lines were 
install 2 modules and a project.  so surely more the 5 gigs was available in an 
age of 90 dollar TB, that was my logic.

Thanks for the help

--- On Wed, 11/5/08, Glen Barber [EMAIL PROTECTED] wrote:
From: Glen Barber [EMAIL PROTECTED]
Subject: Re: a quick?
To: [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Date: Wednesday, November 5, 2008, 6:41 PM

On Wed, Nov 5, 2008 at 6:39 PM, david mellick [EMAIL PROTECTED]
wrote:
 yeah i should be more specific on a pentium VIA ports

 But this no longer matters apparently I ran out of space I guess the
schools
 systems are ancient 5.1 Gigs


You should have made sure ample space was available in the first place.

 so any advice on cleaning up the mess.  deinstall wont work since it did
not
 completely install.


`make distclean` should do it.

-- 
Glen Barber
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]




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


Re: irc usenet clients for xfce

2008-11-05 Thread Giorgos Keramidas
On Wed, 5 Nov 2008 22:38:03 +0800, [EMAIL PROTECTED] wrote:
 What irc, pop mail, and usenet clients from gmone or kde or x would
 you recommend to use on xfce?

My setup is a bit `unusual' for those who like holistic approaches to
the desktop, like GNOME and KDE, but I use GNU Emacs for email, news
and IRC (sometimes for web browsing too).

Gnus, running inside a separate Emacs instance, is a very good email 
news reader.  It supports MIME, PGP encryption, email filtering and
archival; it can connect through POP or IMAP; it supports authentication
methods like POP+SSL; it can read email from Unix mailboxes, MH-folders,
or Maildirs; it can fetch  cache email from multiple sources; it can
score Usenet messages with customizable rules, so you only have to read
what you prefer instead of everything, and so on...  The feature list is
just too huge to include here.

The ERC module (included in the latest Emacs 22.X releases) is a quite
flexible and nice IRC client.  It integrates well with the rest of
Emacs, so you get the full power of a magnificent editor in all your IRC
windows; it can connect to multiple servers; it can use Bitlbee as a
back-end for instant messaging; but most importantly it can be tuned,
customized and extended right there from within Emacs, like any other
Emacs Lisp application.

If you have used GNU Emacs and you feel comfortable working with it,
these two (Gnus and ERC) can probably be a very useful and powerful
combo.  More information about them (and many other Emacs modules) is
available online at the Emacs Wiki:

  http://www.emacswiki.org/CategoryGnus

  http://www.emacswiki.org/ERC

These two aren't exactly XFCE-specific, but I consider this a huge
advantage, instead of a short-coming :-)

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


Re: [mod_mono] how to install from freebsd?

2008-11-05 Thread Foo JH
Hello Javier,

Thanks for the tip. They have released new versions since then, but I'll
give it a try and see how it goes.

By the way, what is your assessment of mono on FreeBSD? I don't see a
lot of support for this platform. Even for Linux there's too much
emphasis on SuSe. What is going on?

Javier Martín Rueda wrote:
 Foo JH wrote:
 I'm using 7.0, and I've installed mono and apache22 from the packages
 (pkg_add -r xxx). Now I need to find mod_mono to complete the pieces.
 Trouble is, I don't see it available from the ports tree.

   
 I have these notes from some mod_mono installation I did some time ago.
 I hope they are still valid:
 
 I installed mono from the ports. It was just a standard install, so
 installing from packages should be the same.
 
 XSP
 ===
 
 * fetch http://go-mono.com/sources/xsp/xsp-1.2.3.tar.gz
 * configure  gmake  gmake install
 * Test: mono /usr/local/lib/mono/2.0/xsp2.exe. Open http://myserver:8080
 (it will say it cannot find /)
 * Test 2: copy a web application and open it. It should work.
 
 MOD_MONO
 
 
 * fetch http://go-mono.com/sources/mod_mono/mod_mono-1.2.1.tar.gz
 * configure  gmake  gmake install
 * mv /usr/local/etc/apache22/mod_mono.conf /usr/local/etc/apache22/Includes
 * Edit mod_mono.conf and add this:
 
   MonoServerPath /usr/local/bin/mod-mono-server2
   MonoPath /usr/local/lib/mono/2.0
 
 * Install test application in /somewhere/website and create
 /usr/local/etc/apache22/Includes/prueba.conf:
 
   Alias /prueba /somewhere/website
   MonoApplications /prueba:/somewhere/website
 
   Directory /somewhere/website
 Allow from all
   /Directory
 
 
 Open http://myserver/prueba and it should work.
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]

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


Re: irc usenet clients for xfce

2008-11-05 Thread Polytropon
On Wed, 5 Nov 2008 22:38:03 +0800, FBSD1 [EMAIL PROTECTED] wrote:
 What irc, pop mail, and usenet clients from gmone or kde or x would you
 recommend to use on xfce?

On a XFCE 4 system, XChat-2 for IRC, Sylpheed for POP mail would give
you a good setup that does not involve too much dependencies. On the
other hand, using Firefox + Thunderbird would be usable, too.

-- 
Polytropon
From 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 [EMAIL PROTECTED]


Re: uhub0: device problem

2008-11-05 Thread Bruce Cran
On Wed, 5 Nov 2008 12:21:30 +
stephen farrell [EMAIL PROTECTED] wrote:

 Hi, first off I'm new to FreeBSD so be gentle! :)
 
 I seem to be having problems with a HP 7260 usb printer.  Cups is
 installed and setup correctly following the Handbook method but i'm
 finding that the uhub is getting disabled, stalling and timing out.
 I have reproduced the same results on my other system.
 
 Both systems are running FreeBSD 7.0-RELEASE  GENERIC kernel.
 
 The error message from dmesg is:
 uhub0: device problem (IOERROR), disabling port 1
 
 I do not have any issues with usb mouse or keyboards.  Is this a
 known issue or can i rectify the problem at all.  Would be grateful
 for some help as i am new to this level of configuration.

I've seen problems like this on my old PC, which is running an Asus
A7V333 motherboard from 2002. Its EHCI controller is reported as
adhering to the 0.95 standard, which according to the update document
from http://www.intel.com/technology/usb/ehcispec.htm was finished in
2000. I've assumed that since it's so ancient it's no surprise
that it struggles with modern USB devices.

Unfortunately I don't know of any solutions - or even if that's the
problem. The first step would probably be to
let people see what sort of hardware you have: could you post the
output of the dmesg command please?

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running linux programs

2008-11-05 Thread Boris Samorodov
prad [EMAIL PROTECTED] writes:

 however, can i compile a linux program within the linux emulator
 instead of using the gcc in freebsd?

emulators/linux_dist-gentoo-stage* are used for this.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running linux programs

2008-11-05 Thread prad
On Thu, 06 Nov 2008 09:47:21 +0300
Boris Samorodov [EMAIL PROTECTED] wrote:

 emulators/linux_dist-gentoo-stage* are used for this.

so what i should do then is install one of the 3 dist-gentoo-stages?
or do these work the same way as the gentoo stages - i seem to recall i
just did gentoo from stage 2 or 3 many years ago.

will this give me the gentoo emerge environment?

will this be a separate /compat/linux directory from what i got when i
simply put on linux-opera?

is there a wiki on linux emulation anywhere?

-- 
In friendship,
prad

  ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: running linux programs

2008-11-05 Thread Boris Samorodov
prad [EMAIL PROTECTED] writes:
 On Thu, 06 Nov 2008 09:47:21 +0300
 Boris Samorodov [EMAIL PROTECTED] wrote:

 emulators/linux_dist-gentoo-stage* are used for this.

 so what i should do then is install one of the 3 dist-gentoo-stages?

Chroot to linux directory and compile the needed program.

 or do these work the same way as the gentoo stages - i seem to recall i
 just did gentoo from stage 2 or 3 many years ago.

 will this give me the gentoo emerge environment?

 will this be a separate /compat/linux directory from what i got when i
 simply put on linux-opera?

 is there a wiki on linux emulation anywhere?

You'd have better chances if you ask those questions at
freebsd-emulation@ ML.


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone  Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]