VirtualBox: No network connectivity. Weird vboxnetflt.ko/vboxnetadp.ko behaviour

2009-11-27 Thread O. Hartmann
Running a FreeBSD 8.0-REL/amd64 box with a quad core CPU and 8 GB of ram 
I intended also to operate Windows XP_32 within VirtualBox.
So far, VirtualBox is up and running, as well as Windows XP. But I do 
not have network connectivity.


Befor going deeper into my config I will report some strange behaviour 
of needed kernel modules


vboxnetflt.ko
vboxnetadp.ko

Both are needed for networking on VirtualBox and they get loaded at 
startup vi /boot/loader.conf. But to have a working network, I have to 
unload and then reload them, since if they get loaded at startup, 
networking is broken in virtual box!


My FreeBSD-based config is simple. I have a bridged NIC (msk0), a tap0 
device which is member of the bridge. But follwoing setups known from 
Qemu with tap0 do not work. So far.
On Windows XP side I use as 'physical' device PCnet FAST III (doesn't 
matter whether it is II or III), 'Attached to' is 'Bridged adapter' and 
'Name' is either msk0 or tap0, where only mask0 shows activity.


My virtual box does have its own regular IP, so I tried setting the IP 
of Windows's adapter to this and after this attempt failed, I set it to 
the very same of the host. I never get a running network with this.


I also switched off (or making it transparent) the filtering facility 
(pf), but with no effect.


Has anybody similar trouble?

Thanks,

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


Re : cvs authentication

2009-11-27 Thread Alexandre L.
I haven't set authentification process to sync my sources with freebsd cvsup 
server.
Have you try to sync your sources with another cvsup server ?
You can find the list here : 
http://www.freebsd.org/doc/en/books/handbook/cvsup.html

--- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit :

 De: Dominic Fandrey kamik...@bsdforen.de
 Objet: cvs authentication
 À: freebsd-questions@freebsd.org
 Date: Jeudi 26 Novembre 2009, 15h39
 Should the CVS/SVN mirrors really
 require authentication?
 
 
 
 --
  Running /usr/bin/csup
 --
 Parsing supfile /etc/csup/sources
 Connecting to cvsup8.de.freebsd.org
 Connected to 212.118.165.142
 Server software version: SNAP_16_1h
 Authentication required by the server and not supported by
 client
 *** Error code 1
 1 error
 *** Error code 2
 
 Stop in /usr/src.
 
 -- 
 A: Because it fouls the order in which people normally read
 text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?
 
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



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


Re: Gnome Terminal

2009-11-27 Thread Pieter de Goeje
On Friday 27 November 2009 05:11:41 Rem P Roberti wrote:
 There was a time when I ran gnome-terminal from within Fluxbox. On my
 new 7.2 installation I have installed gnome-terminal, but can't get it
 to work. When I try to bring it up from the command line from within
 Fluxbox I get this error message: Failed to contact the GConf daemon;
 exiting
 
 As usual, all help much appreciated.
 
 Rem

You can try adding gnome-settings-daemon to .xinitrc / .xsession. It should 
start the gconf daemon. I believe dbus is also required to work.

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


8.0 release php5 port not working

2009-11-27 Thread Fbsd1
Have a clean install of 8.0 and trying to do cvs make install of port 
php5 just to turn on apache module. The php5 make install is complaining 
that autoconf262, pkg-config and libxml2 as non-existent -- dependency 
list incomplete. I installed these as packages and they show up in 
pkg_info.
Only thing i can think of is the php5 make file is looking for the port 
make files of these so call non-existent ports to check that dependent 
is there when it should be checking the pkg-db to check if dependent is 
installed.


Question is how do I force the port make install of php5 to accept the 
package versions of the dependents so the compile will start?

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


Re: Re : cvs authentication

2009-11-27 Thread Dominic Fandrey
Alexandre L. wrote:
 --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit 
 :
 Should the CVS/SVN mirrors really
 require authentication?



 --
 Running /usr/bin/csup
 --
 Parsing supfile /etc/csup/sources
 Connecting to cvsup8.de.freebsd.org
 Connected to 212.118.165.142
 Server software version: SNAP_16_1h
 Authentication required by the server and not supported by
 client
 *** Error code 1
 I haven't set authentification process to sync my sources with freebsd cvsup 
 server.
 Have you try to sync your sources with another cvsup server ?
 You can find the list here : 
 http://www.freebsd.org/doc/en/books/handbook/cvsup.html

Yes, all other servers work. Still, this one should, too.

I do not choose the CVS servers I use:
SUPHOST=`/usr/local/bin/fastest_cvsup -Qc de`

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


NO_PROFILE versus WITHOUT_PROFILING

2009-11-27 Thread Frank Staals
When I was setting up my system for a complete rebuild I came across 
something unclear to me; I always used NO_PROFILE in my make.conf, 
however from what  I've read specific make options to build the 
kernel/base system should be in /etc/src.config. The manpage of src.conf 
specifies the option WITHOUT_PROFILING, which seemed to be the flag that 
I was looking for. Just to be certain I always keep the 'Rebuilding 
World' chapter of the handbook close, however that still specifies to 
use NO_PROFILE in make.conf.


So now my question: What is the desired way of turning of profiling: 
NO_PROFILE in make.conf or WITHOUT_PROFILING in src.conf ?


Thanks in advance

--

- Frank

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


Re: Re : cvs authentication

2009-11-27 Thread Alexandre L.
I don't know what is the problem but I thinking about this thing :
Is this cvsup servup wasn't in synchronization (due to the release of 
8.0-RELEASE) and this server was locked for this reason ?

--- En date de : Ven 27.11.09, Dominic Fandrey kamik...@bsdforen.de a écrit :

 De: Dominic Fandrey kamik...@bsdforen.de
 Objet: Re: Re : cvs authentication
 À: Alexandre L. axel...@ymail.com
 Cc: freebsd-questions@freebsd.org
 Date: Vendredi 27 Novembre 2009, 10h59
 Alexandre L. wrote:
  --- En date de : Jeu 26.11.09, Dominic Fandrey kamik...@bsdforen.de
 a écrit :
  Should the CVS/SVN mirrors really
  require authentication?
 
 
 
 
 --
  Running /usr/bin/csup
 
 --
  Parsing supfile /etc/csup/sources
  Connecting to cvsup8.de.freebsd.org
  Connected to 212.118.165.142
  Server software version: SNAP_16_1h
  Authentication required by the server and not
 supported by
  client
  *** Error code 1
  I haven't set authentification process to sync my
 sources with freebsd cvsup server.
  Have you try to sync your sources with another cvsup
 server ?
  You can find the list here : 
  http://www.freebsd.org/doc/en/books/handbook/cvsup.html
 
 Yes, all other servers work. Still, this one should, too.
 
 I do not choose the CVS servers I use:
 SUPHOST=             
   `/usr/local/bin/fastest_cvsup -Qc de`
 
 -- 
 A: Because it fouls the order in which people normally read
 text.
 Q: Why is top-posting such a bad thing?
 A: Top-posting.
 Q: What is the most annoying thing on usenet and in e-mail?
 
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 



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


Re: ifconfig - GUI interface available?

2009-11-27 Thread Dominic Fandrey
Andreas Rudisch wrote:
 On Thu, 26 Nov 2009 16:35:55 +0100
 herbert langhans herbert.raim...@gmx.net wrote:
 
 Its merely a matter of comfort. Like on OSX or the infamous MS-thing, there 
 is a simple window. It shows all the ssid, you click on one (maybe the 
 password is already assigned) and you get the certain wifi net. 

 I use the laptop in different networks, often its auto selecting the wrong 
 one. It would be great to point and click and get the connection..
 
 Hence the link and the keyword wpa_supplicant. Any way, here is another link:
 http://www.freebsd.org/cgi/man.cgi?query=wpa_supplicant.confsektion=5
 
 Take a look at the example section. You can define multiple networks.

The OP is aware, but the auto-selection of wpa_supplicant sucks:
 I use the laptop in different networks, often its auto selecting the wrong 
 one.

-- 
A: Because it fouls the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail? 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: How to print using cups on FreeBSD?

2009-11-27 Thread Patrick Lamaiziere
Le Thu, 26 Nov 2009 20:50:31 -0800 (PST),
Unga unga...@yahoo.com a écrit :

 The same printer prints very well on a older Linux system with a
 older Gutenprint driver!
 
 What am I still missing?

Try to change the usb mode, there are two modes : one use ulpt and one
use unlpt. You can change it under cups (http://localhost:631)

If this does not do the trick I don't know.

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


Re: NO_PROFILE versus WITHOUT_PROFILING

2009-11-27 Thread Pieter de Goeje
On Friday 27 November 2009 12:45:54 Frank Staals wrote:
 When I was setting up my system for a complete rebuild I came across
 something unclear to me; I always used NO_PROFILE in my make.conf,
 however from what  I've read specific make options to build the
 kernel/base system should be in /etc/src.config. The manpage of src.conf
 specifies the option WITHOUT_PROFILING, which seemed to be the flag that
 I was looking for. Just to be certain I always keep the 'Rebuilding
 World' chapter of the handbook close, however that still specifies to
 use NO_PROFILE in make.conf.
 
 So now my question: What is the desired way of turning of profiling:
 NO_PROFILE in make.conf or WITHOUT_PROFILING in src.conf ?
 
 Thanks in advance
 
WITHOUT_PROFILING in src.conf. The NO_xxx options are obsolete and should not 
be used.

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


Re: How to print using cups on FreeBSD? [SOLVED]

2009-11-27 Thread Unga
--- On Fri, 11/27/09, Patrick Lamaiziere patf...@davenulle.org wrote:

 From: Patrick Lamaiziere patf...@davenulle.org
 Subject: Re: How to print using cups on FreeBSD?
 To: freebsd-questions@freebsd.org
 Cc: Unga unga...@yahoo.com
 Date: Friday, November 27, 2009, 8:19 PM
 Le Thu, 26 Nov 2009 20:50:31 -0800
 (PST),
 Unga unga...@yahoo.com
 a écrit :
 
  The same printer prints very well on a older Linux
 system with a
  older Gutenprint driver!
  
  What am I still missing?
 
 Try to change the usb mode, there are two modes : one use
 ulpt and one
 use unlpt. You can change it under cups (http://localhost:631)
 
 If this does not do the trick I don't know.
 
 Regards.
 ___
 freebsd-questions@freebsd.org
 mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 

Thanks Patrick, you knew enough :) That was the problem.

Best regards
Unga



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


8.0-RELEASE-i386-memstick fixit - No USB devices found!

2009-11-27 Thread Derek (freebsd lists)

Hi,

Just wondering if anyone else out there has successfully gotten 
the 8.0-RELEASE-i386-memstick fixit prompt up.


It boots fine, and sysinstall comes up, but I continually get No 
USB devices found! when I go to the fixit/USB option.


When I switch to the debug tty, I see da0, and all my device 
parameters.


I've even created a second USB stick, and stuck it in and tried.

No joy.

Anyways, has anyone successfully gotten the 
8.0-RELEASE-i386-memstick fixit prompt up?


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


Re: NO_PROFILE versus WITHOUT_PROFILING

2009-11-27 Thread Michael Powell
Pieter de Goeje wrote:

 On Friday 27 November 2009 12:45:54 Frank Staals wrote:
 When I was setting up my system for a complete rebuild I came across
 something unclear to me; I always used NO_PROFILE in my make.conf,
 however from what  I've read specific make options to build the
 kernel/base system should be in /etc/src.config. The manpage of src.conf
 specifies the option WITHOUT_PROFILING, which seemed to be the flag that
 I was looking for. Just to be certain I always keep the 'Rebuilding
 World' chapter of the handbook close, however that still specifies to
 use NO_PROFILE in make.conf.
 
 So now my question: What is the desired way of turning of profiling:
 NO_PROFILE in make.conf or WITHOUT_PROFILING in src.conf ?
 
 Thanks in advance
 
 WITHOUT_PROFILING in src.conf. The NO_xxx options are obsolete and should
 not be used.
 

Yes - src.conf is used for the system. make.conf will contain options you 
want to apply to building ports. They were split to separate them.

-Mike


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


Re: 8.0-RELEASE-i386-memstick fixit - No USB devices found!

2009-11-27 Thread Randi Harper
On Fri, Nov 27, 2009 at 5:00 AM, Derek (freebsd lists)
48225...@razorfever.net wrote:
 Hi,

 Just wondering if anyone else out there has successfully gotten the
 8.0-RELEASE-i386-memstick fixit prompt up.

 It boots fine, and sysinstall comes up, but I continually get No USB
 devices found! when I go to the fixit/USB option.

 When I switch to the debug tty, I see da0, and all my device parameters.

 I've even created a second USB stick, and stuck it in and tried.

 No joy.

 Anyways, has anyone successfully gotten the 8.0-RELEASE-i386-memstick fixit
 prompt up?

 Thanks!
 - Derek

That's really weird. I can't say that I've seen this problem. It
sounds like you're trying to load the livefs - can you bring up a
normal fixit shell prompt and see what entries you have in /dev for
da0*? There should be a da0a. Due to sysinstall weirdness, adding this
USB support was somewhat of a hack, as it doesn't look for da0 - it
looks for da0a. :P

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


Re: 8.0-RELEASE-i386-memstick fixit - No USB devices found!

2009-11-27 Thread Derek (freebsd lists)

Randi Harper wrote:

On Fri, Nov 27, 2009 at 5:00 AM, Derek (freebsd lists)
48225...@razorfever.net wrote:

It boots fine, and sysinstall comes up, but I continually get No USB
devices found! when I go to the fixit/USB option.

Anyways, has anyone successfully gotten the 8.0-RELEASE-i386-memstick fixit
prompt up?


can you bring up a normal fixit shell prompt and see what entries you have in 
/dev for
da0*? There should be a da0a. Due to sysinstall weirdness, adding this
USB support was somewhat of a hack, as it doesn't look for da0 - it
looks for da0a. :P



When I do Fixit/Shell and switch to tty3 I do:

find /dev/ -name da0*

and get:

./da0
./da0a

Is this what you mean by normal fixit shell?

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


Re: NO_PROFILE versus WITHOUT_PROFILING

2009-11-27 Thread Gonzalo Nemmi
On Friday 27 November 2009 12:44:55 pm Michael Powell wrote:
 Pieter de Goeje wrote:
  On Friday 27 November 2009 12:45:54 Frank Staals wrote:
  When I was setting up my system for a complete rebuild I came
  across something unclear to me; I always used NO_PROFILE in my
  make.conf, however from what  I've read specific make options to
  build the kernel/base system should be in /etc/src.config. The
  manpage of src.conf specifies the option WITHOUT_PROFILING, which
  seemed to be the flag that I was looking for. Just to be certain I
  always keep the 'Rebuilding World' chapter of the handbook close,
  however that still specifies to use NO_PROFILE in make.conf.
 
  So now my question: What is the desired way of turning of
  profiling: NO_PROFILE in make.conf or WITHOUT_PROFILING in
  src.conf ?
 
  Thanks in advance
 
  WITHOUT_PROFILING in src.conf. The NO_xxx options are obsolete and
  should not be used.

 Yes - src.conf is used for the system. make.conf will contain options
 you want to apply to building ports. They were split to separate
 them.

 -Mike

Yes, src.conf is used for the system and that's where WITHOUT_PROFILING 
should go, yet still, you might should take a look in here first:

http://phk.freebsd.dk/misc/stable7_build_options/

and see what might happen if you use it.

read this thread (the whole thing) before going any further ..:
http://lists.freebsd.org/pipermail/freebsd-current/2009-November/013561.html



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


Re: 2 processes reproducible read same file with different speed

2009-11-27 Thread Michael Powell
cronfy wrote:

 Hello.
 
 I've noticed a very weird behavior of 2 Apache processes that shold read
 the same file to process a request (they configured to read it on every
 request). One spends about 6ms to read the file, and second spends about
 114ms (I used ktrace to find this out). Every time, on every request,
 the problem is reproducible. Apaches are the same, the only difference
 between them that they are working from different users to serve
 different sites. Same binary, same config.
 
 First Apache used to work in the same way some time ago - it spent
 ~120ms to read the file. But once it changed and now it is working fast.
 
 Restarts of Apache do not look to affect on anything.
 
 The file that Apache should read is 315k long. Apache reads it by small
 blocks of 4096 bytes each. May be FreeBSD has some memory about how
 process is working with files and after some time enables some
 optimization or caching? I just do not have any clue... :(
 
 Can anyone explain this please?
 

Caching is coming into play if the first read takes longer than subsequent 
reads. It may not be uniform as older objects move in and out of cache being 
replaced by newer. The OS will have some space for buffer caching and when 
Apache makes a 'hit' on this cache retrieval will happen faster. This buffer 
space is dynamic in nature, and will shrink as Apache fills up memory. As 
Apache needs more memory the OS will attempt to provide as much as it can 
within reason by shrinking the buffer allocation space.

If this is a static file which needs to be read by all pages served, some 
other form of caching should be investigated. In the meantime you may want 
to try the following in httpd.conf if not already doing so:

EnableMMAP on
EnableSendfile on

You may also want to see if you can set aside a little RAM and cache it 
there, ala:

http://httpd.apache.org/docs/2.2/mod/mod_mem_cache.html

Another approach is a reverse proxy such as Varnish in front of the web 
server. But the first most immediate thing you can try and measure is to 
turn on sendile() if you're not using it.

-Mike
  


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


FreeBSD torrent tracker give wierd numbers?

2009-11-27 Thread James Phillips
Hello,

On the Development list somebody mentioned the BitTorrent tracker:
http://torrents.FreeBSD.org:8080/

Looking at this page:
http://torrents.freebsd.org:8080/stats.html?info_hash=329525ff9a0fbd43ee25e50c510564919255403e

I noticed that it lists everyone as being connected for about 8 minutes.

This leads to strange results like my download speed being listed as 1.89 
MB/sec when it is in fact capped at 100kB/sec.


Before downloading, I was wondering why everybody seemed to have such fat pipes 
:P

Regards,

James Phillips



  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: VirtualBox: No network connectivity. Weird vboxnetflt.ko/vboxnetadp.ko behaviour

2009-11-27 Thread Norbert Papke
On November 27, 2009, O. Hartmann wrote:
 Befor going deeper into my config I will report some strange behaviour
 of needed kernel modules
 
 vboxnetflt.ko
 vboxnetadp.ko
 
 Both are needed for networking on VirtualBox and they get loaded at
 startup vi /boot/loader.conf. But to have a working network, I have to
 unload and then reload them, since if they get loaded at startup,
 networking is broken in virtual box!

The vboxnetadp.ko is needed for the host-only adapter mode, I tend not to 
load it. For bridged mode, you need vboxnetflt.ko.

I have been having good luck by always loading vboxnetadp.ko manually rather 
than from loader.conf.

 My FreeBSD-based config is simple. I have a bridged NIC (msk0), a tap0
 device which is member of the bridge.

I do not use a tap device. It should not be needed.  I bridge the physical 
device directly.

 Has anybody similar trouble?

The modules are a somewhat temperamental.  When I follow the above, it works 
great.  When I deviate, I sometimes have trouble.

Cheers,

-- Norbert Papke.
   npa...@acm.org


http://saveournet.ca
Protecting your Internet's level playing field
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


replacing faulty disk in a gmirror

2009-11-27 Thread Vincent Zee
Hi,

I'm trying to replace a faulty disk in a gmirror mirror but
it fails.

This machine contains two mirrors: mirror0 and mirror1 each
containing two disks of 500 GB. mirror1 is giving me trouble.

The disk on channel 3 (ad6), which was identical to the disk on 
channel 2 (ad4), was faulty and I replaced it with a larger disk
this morning. The new disk is a Western Digital 640 GB.

The steps I took sofar:

#gmirror forget mirror1

#gmirror insert mirror1 ad6

A gmirror status shows the new disk being added to mirror1.
It then starts to write to the new disk but stops after a few
seconds and when I do gmirror status again the new disk is
gone again.

Any ideas?

Here is some info about the system:

piggie# uname -a
FreeBSD piggie.int.daemon.net 7.0-RELEASE FreeBSD 7.0-RELEASE #0:
 Sun Feb 24 19:59:52 UTC 2008

piggie# atacontrol list
ATA channel 0:
Master:  ad0 ST3500630A/3.AAE ATA/ATAPI revision 7
Slave:   no device present
ATA channel 1:
Master:  ad2 ST3500630A/3.AAE ATA/ATAPI revision 7
Slave:   no device present
ATA channel 2:
Master:  ad4 ST3500320AS/SD15 Serial ATA v1.0
Slave:   no device present
ATA channel 3:
Master:  ad6 WDC WD6400AACS-00D6B1/01.01A01 Serial ATA II
Slave:   no device present

piggie# gmirror status
  NameStatus  Components
mirror/mirror0  COMPLETE  ad0
  ad2
mirror/mirror1  DEGRADED  ad4

piggie# gmirror list
Geom name: mirror0
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2181652091
Providers:
1. Name: mirror/mirror0
   Mediasize: 500107861504 (466G)
   Sectorsize: 512
   Mode: r5w5e6
Consumers:
1. Name: ad0
   Mediasize: 500107862016 (466G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 1890757270
2. Name: ad2
   Mediasize: 500107862016 (466G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2188477788

Geom name: mirror1
State: DEGRADED
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 8
SyncID: 4
ID: 3490083122
Providers:
1. Name: mirror/mirror1
   Mediasize: 500107861504 (466G)
   Sectorsize: 512
   Mode: r1w1e1
Consumers:
1. Name: ad4
   Mediasize: 500107862016 (466G)
   Sectorsize: 512
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 8
   SyncID: 4
   ID: 2123128362


TIA,

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


Re: VirtualBox: No network connectivity. Weird vboxnetflt.ko/vboxnetadp.ko behaviour

2009-11-27 Thread Adam Vande More
On Fri, Nov 27, 2009 at 10:36 AM, Norbert Papke npa...@acm.org wrote:

 On November 27, 2009, O. Hartmann wrote:
  Befor going deeper into my config I will report some strange behaviour
  of needed kernel modules
 
  vboxnetflt.ko
  vboxnetadp.ko
 
  Both are needed for networking on VirtualBox and they get loaded at
  startup vi /boot/loader.conf. But to have a working network, I have to
  unload and then reload them, since if they get loaded at startup,
  networking is broken in virtual box!

 The vboxnetadp.ko is needed for the host-only adapter mode, I tend not to
 load it. For bridged mode, you need vboxnetflt.ko.

 I have been having good luck by always loading vboxnetadp.ko manually
 rather
 than from loader.conf.

  My FreeBSD-based config is simple. I have a bridged NIC (msk0), a tap0
  device which is member of the bridge.

 I do not use a tap device. It should not be needed.  I bridge the physical
 device directly.

  Has anybody similar trouble?

 The modules are a somewhat temperamental.  When I follow the above, it
 works
 great.  When I deviate, I sometimes have trouble.

 Cheers,


Yeah I assume the issue is vboxnetflt.ko needs eth device to be loaded to
actually bind to.  I do this with /etc/crontab to work around:


@reboot root/sbin/kldload
/boot/modules/vboxnetflt.ko
-- 
Adam Vande More
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


8.0 Ext3/Ext4 support

2009-11-27 Thread Fernando Apesteguía
Hi there,

Is there Ext3/Ext4 read support in FreeBSD 8? Can we use fs with
256-byte inodes?

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


MimeDefang: Perl core dump

2009-11-27 Thread Martin Schweizer
Hello

My goal is to add to all outgoing mail a small boilerplate.

My system:
FreeBSD acsvfbsd06.acutronic.ch 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Thu Sep 17 
17:53:59 CEST 2009 
mar...@acsvfbsd06.acutronic.ch:/usr/obj/usr/src/sys/GENERIC  amd64

sendmail.mc:
[snip]
MAIL_FILTER(`mimedefang', `S=local:/var/spool/MIMEDefang/mimedefang.sock, F=T, 
T=S:1m;R:1m')dnl
define(`confINPUT_MAIL_FILTERS', `mimedefang')dnl
[snip]

sendmail version:
ESMTP Sendmail 8.14.3/8.14.3; Fri, 27 Nov 2009 17:58:56 +0100 (CET)


acsvfbsd06# mimedefang.pl -test
Filter /usr/local/etc/mimedefang/mimedefang-filter seems syntactically correct.

acsvfbsd06# mimedefang.pl -features
MIMEDefang version 2.67

Archive::Zip  : yes
HTML::Parser  : yes
Net::DNS  : yes
Path:CONFDIR  : yes (/usr/local/etc/mimedefang)
Path:QUARANTINEDIR: yes (/var/spool/MD-Quarantine)
Path:SENDMAIL : yes (/usr/sbin/sendmail)
Path:SPOOLDIR : yes (/var/spool/MIMEDefang)
SpamAssassin  : yes
HTML:TokeParser   : no
HTMLCleaner   : no
Unix::Syslog  : no
Virus:AVP : no
Virus:AVP5: no
Virus:BDC : no
Virus:CLAMAV  : no
Virus:CLAMD   : no
Virus:CSAV: no
Virus:FPROT   : no
Virus:FPROTD  : no
Virus:FPROTD6 : no
Virus:FPSCAN  : no
Virus:FSAV: no
Virus:HBEDV   : no
Virus:KAVSCANNER  : no
Virus:NAI : no
Virus:NOD32   : no
Virus:NVCC: no
Virus:SAVSCAN : no
Virus:SOPHIE  : no
Virus:SOPHOS  : no
Virus:SymantecCSS : no
Virus:TREND   : no
Virus:TROPHIE : no
Virus:VEXIRA  : no
Anomy::HTMLCleaner: missing
Archive::Zip  : Version 1.30
Digest::SHA1  : Version 2.12
HTML::Parser  : Version 3.64
HTML::TokeParser  : missing
IO::Socket: Version 1.31
IO::Stringy   : Version 2.110
MIME::Base64  : Version 3.08
MIME::Tools   : Version 5.427
MIME::Words   : Version 5.427
Mail::Mailer  : Version 2.04
Mail::SpamAssassin: Version 3.002005
Net::DNS  : Version 0.65
Unix::Syslog  : Version 1.1

ps -ax shows
6722  ??  S  0:00,19 /usr/local/bin/mimedefang-multiplexor -l -p 
/var/spool/MIMEDefang/mimedefang-multiplexor.pid -z /var/spool/MIMEDefang -m 2 
-x 10 -U

The -l option means to log all stuff to syslog.

/var/log/all.log shows:
Nov 27 17:57:18 acsvfbsd06 kernel: pid 9919 (perl), uid 26: exited on signal 11 
(core dumped)
Nov 27 17:57:18 acsvfbsd06 mimedefang-multiplexor[6722]: Reap: slave 0 (pid 
9919) exited due to signal 11 (SLAVE DIED UNEXPECTEDLY)
Nov 27 17:57:18 acsvfbsd06 mimedefang-multiplexor[6722]: Slave 0 resource 
usage: req=0, scans=0, user=0.158, sys=0.067, nswap=0, majflt=0, minflt=2832, 
maxrss

The above will repeate any 30 seconds. I also ant find the core files but I 
could not find it! (Or I did not find the correct directory)

Any ideas what is going wrong here?

-- 

Martin Schweizer
off...@pc-service.ch

PC-Service M. Schweizer GmbH; Bannholzstrasse 6; CH-8608 Bubikon
Tel. +41 55 243 30 00; Fax: +41 55 243 33 22; http://www.pc-service.ch;
public key : http://www.pc-service.ch/pgp/public_key.asc; 
fingerprint: EC21 CA4D 5C78 BC2D 73B7  10F9 C1AE 1691 D30F D239;

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


Re: Gnome Terminal

2009-11-27 Thread Rem P Roberti
On 2009.11.27 10:42:55 +, Pieter de Goeje wrote:
 On Friday 27 November 2009 05:11:41 Rem P Roberti wrote:
  There was a time when I ran gnome-terminal from within Fluxbox. On my
  new 7.2 installation I have installed gnome-terminal, but can't get it
  to work. When I try to bring it up from the command line from within
  Fluxbox I get this error message: Failed to contact the GConf daemon;
  exiting
  
  As usual, all help much appreciated.
  
  Rem
 
 You can try adding gnome-settings-daemon to .xinitrc / .xsession. It should 
 start the gconf daemon. I believe dbus is also required to work.

Dbus daemon is running, and when I run top I see that gconf is present.
I'm not sure what is going on here. I've tried a couple of things with
.xinitrc with no luck. Either X fails to open, or I still get the
Failed to contact the GConf daemon; exiting message when I try to run
gnome-terminal. 

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


Re: black-friday ads -- ASUS-EEE's

2009-11-27 Thread ill...@gmail.com
2009/11/26 Gary Kline kl...@thought.org:

        Folks,

        IF any/everone would keep an eye out for national Black FRiday
        adds that offer a 9-10 ASUS-EEE, I'd appreciate it.   (I've been
        poking around for much of today, but zip.)  The stores that are
        open obv'ly want to build suspense; this is a win re that
        notebook.  For me anyway:-)

        tia, y'all


What's a good price?  Beast Buy has the 1005HA in pathetic,
pale pink for $280 on line, which is a gorb-dorfle cheap yo,
if'n y'ask me ( I'm not sure if the above counts, but I'm goin'
with it here).

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


Re: how to add OpenOffice binaries in FreebSD7.2

2009-11-27 Thread Stevan Tiefert
Am Freitag, den 27.11.2009, 07:37 + schrieb dhaneshk k:
 
 
 I need to install  openoffice   in my FreeBSD7.2  laptop (IBMT60 coreduo) , 
 without doing 
 a port installation how can I do  it with package addition
 
  pkg_add  -r what_the_name_of_openoffice_package
 
   I need to supply in # pkg_add -r   ?
 
 
Is there an official  FreeBSD package for   OOo  ?   I done   3rd party 
 binary installations for open office  from  lamrelle.net .  but all the time 
 it crashed  some of my gnome  applications ..such as firefox,  evolution etc..
 
 any hints much appreciated..
 
 dhanesh
 
 _
 New Windows 7: Find the right PC for you. Learn more.
 http://windows.microsoft.com/shop___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
 
FreeBSD hasn't an official package for downloading. You have to compile
it on the hard way...

And very important: Don't forget to set LOCALIZED_LANG variable!!!



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


Re: replacing faulty disk in a gmirror

2009-11-27 Thread stan
On Fri, Nov 27, 2009 at 05:37:02PM +0100, Vincent Zee wrote:
 Hi,
 
 I'm trying to replace a faulty disk in a gmirror mirror but
 it fails.
 
 This machine contains two mirrors: mirror0 and mirror1 each
 containing two disks of 500 GB. mirror1 is giving me trouble.
 
 The disk on channel 3 (ad6), which was identical to the disk on 
 channel 2 (ad4), was faulty and I replaced it with a larger disk
 this morning. The new disk is a Western Digital 640 GB.
 
 The steps I took sofar:
 
 #gmirror forget mirror1
 
 #gmirror insert mirror1 ad6
 
 A gmirror status shows the new disk being added to mirror1.
 It then starts to write to the new disk but stops after a few
 seconds and when I do gmirror status again the new disk is
 gone again.
 
 Any ideas?
 
I have several Sun X2100's, and the have a problem with the riser
connector for the drives. I have seen behaviios like this, when I had a
hardware problem. Might that be your issue?


-- 
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to add OpenOffice binaries in FreebSD7.2

2009-11-27 Thread Rod Person

Am Freitag, den 27.11.2009, 07:37 + schrieb dhaneshk k:



I need to install  openoffice   in my FreeBSD7.2  laptop (IBMT60  
coreduo) , without doing

a port installation how can I do  it with package addition

 pkg_add  -r what_the_name_of_openoffice_package

  I need to supply in # pkg_add -r   ?


   Is there an official  FreeBSD package for   OOo  ?   I done   3rd  
party binary installations for open office  from  lamrelle.net .  but  
all the time it crashed  some of my gnome  applications ..such as  
firefox,  evolution etc..


any hints much appreciated..

dhanesh



Not official but I've never had a problem with these, but I don't use  
gnome either.


ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


How to diagnose server crashed.

2009-11-27 Thread Roger
Hello all,

I'm running a dedicated server and today I was not able to ssh to it.
I contacted technical support and they reported to me that the machine
had frozen (they could not see anything on the screen neither type
anything).
So I was forced to do a hard reboot. Is there anything that I can do
to find out what happened?
I'm currently running 7.2-p4. I looked over some logs and the only
weird thing that I saw was a lot of:

Limiting closed port RST response from xxx to xxx.

I'm only running a ssh server with minimal amount of software and
running the generic kernel.
I recently finished doing a re-installation so I do not have a
firewall in place yet.

Any tip or suggestions would be appreciated.

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


Re: how to add OpenOffice binaries in FreebSD7.2

2009-11-27 Thread Jamie Griffin
On Fri, Nov 27, 2009 at 02:17:55PM -0500, Rod Person wrote:
 
 Not official but I've never had a problem with these, but I don't use  
 gnome either.
 
 ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/

I used a package from this site the other week, it works fine. Beats
waiting 3-4 days for the port to build anyway.


-- 
 
 Jamie

Website:  http://www.koderize.com
PGP Key:  wget http://www.koderize.com/jpg-gnupg.asc


pgp57K4WILKV3.pgp
Description: PGP signature


Re: replacing faulty disk in a gmirror

2009-11-27 Thread Vincent Zee
Hi Stan,

thanks for your answer.

On 27 November 2009, at 20:30, stan wrote:

 On Fri, Nov 27, 2009 at 05:37:02PM +0100, Vincent Zee wrote:
 Hi,
 
 I'm trying to replace a faulty disk in a gmirror mirror but
 it fails.
 
 This machine contains two mirrors: mirror0 and mirror1 each
 containing two disks of 500 GB. mirror1 is giving me trouble.
 
 The disk on channel 3 (ad6), which was identical to the disk on 
 channel 2 (ad4), was faulty and I replaced it with a larger disk
 this morning. The new disk is a Western Digital 640 GB.
 
 The steps I took sofar:
 
 #gmirror forget mirror1
 
 #gmirror insert mirror1 ad6
 
 A gmirror status shows the new disk being added to mirror1.
 It then starts to write to the new disk but stops after a few
 seconds and when I do gmirror status again the new disk is
 gone again.
 
 Any ideas?
 
 I have several Sun X2100's, and the have a problem with the riser
 connector for the drives. I have seen behaviios like this, when I had a
 hardware problem. Might that be your issue?

The sata drives are on a cheap controller:

atapci1: SiI SiI 3512 SATA150 controller port 0xdc00-0xdc07,
0xe000-0xe003,0xe400-0xe407,0xe800-0xe803,0xec00-0xec0f
 mem 0xdf002000-0xdf0021ff irq 10 at device 20.0 on pci0

I looked at dmesg and found this error message:

GEOM_MIRROR: Device mirror1: rebuilding provider ad6.
interrupt storm detected on irq10:; throttling interrupt source
interrupt storm detected on irq10:; throttling interrupt source
interrupt storm detected on irq10:; throttling interrupt source
interrupt storm detected on irq10:; throttling interrupt source
interrupt storm detected on irq10:; throttling interrupt source
ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=35200
ad6: FAILURE - WRITE_DMA status=51READY,DSC,ERROR
 error=4ABORTED LBA=358528
GEOM_MIRROR: Synchronization request failed (error=5). 
ad6[WRITE(offset=183500800, length=131072)]
GEOM_MIRROR: Device mirror1: provider ad6 disconnected.
GEOM_MIRROR: Device mirror1: rebuilding provider ad6 stopped.

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


Re: ifconfig - GUI interface available?

2009-11-27 Thread Chris Whitehouse

Warren Block wrote:




As far as GUI goes, there's good news and bad news.  The good news is 
that a couple GUI network managers are around:


sysutils/desktopbsd-tools includes a wireless network configurator 
according to its pkg-descr, haven't used myself though.


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


Re: Why my Firefox doesn't display Cyrillic fonts well?

2009-11-27 Thread Yuri

Boris Samorodov wrote:

Install x11-fonts/webfonts and do apropriate changes to xorg.conf.
I have webfonts right after misc fonts at xorg.conf. That always
gave me good results.
  


I placed 'webfonts' into xorg.conf after 'misc' but firefox still shows 
Cyrillic texts in a messed up way. Also in Belarussian texts letters і 
and ў stand out (ex. http://be-x-old.wikipedia.org).
And Opera shows Cyrillic texts very neatly. I don't quite understand 
what causes such difference.


Ubuntu Linux doesn't have such problem at all, not in firefox and not in 
opera.


Yuri

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


nice for disk I/O

2009-11-27 Thread cronfy

Hello.

It is well known that nice allows to change CPU scheduling priority. But 
is there something
that would tune disk I/O priority for a particular process? Thanks in 
advance.


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


portupgrade for binaries fails miserably, but not completely

2009-11-27 Thread Paul Hoffman
Greetings again. I used freebsd-update to upgrade a system from 7.1 to 7.2. The 
main upgrade went fine, but upgrading the ports had huge problems. It could not 
find most (but not all) of the packages to upgrade. A typical part of the 
failure looks like:

---  Checking for the latest package of 'lang/python25'
---  Fetching the package(s) for 'python25-2.5.4_3' (lang/python25)
---  Fetching python25-2.5.4_3
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_3.tbz:
 File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_3.tbz
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_3.tgz:
 File unavailable (e.g., file not found, no access)
** The command returned a non-zero exit status: 1
** Failed to fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/All/python25-2.5.4_3.tgz
** Failed to fetch python25-2.5.4_3
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! python25-2.5.4_3  (fetch error)
---  Fetching the latest package(s) for 'python25' (lang/python25)
---  Fetching python25
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/python25.tbz:
 Protocol error
** The command returned a non-zero exit status: 1
** Failed to fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/python25.tbz
fetch: 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/python25.tgz:
 Protocol error
** The command returned a non-zero exit status: 1
** Failed to fetch 
ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-7.2-release/Latest/python25.tgz
** Failed to fetch python25
** Listing the failed packages (-:ignored / *:skipped / !:failed)
! python25@ (fetch error)
** Could not find the latest version (2.5.4_3)
** No package available: lang/python25

It then goes on to the next package. It only got about 10% of the ports.

Am I missing something obvious here?

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