Re: **questions** Re: serious performance problems with 6.2 Release

2007-02-16 Thread Ted Mittelstaedt

- Original Message - 
From: Steven H. Baeighkley [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Sent: Thursday, February 15, 2007 9:50 AM
Subject: Re: **questions** Re: serious performance problems with 6.2 Release


 If bugs is the correct list then that's where we'll send it. However we
 were not initially thinking it was a bug. We were thinking it was a
 configuration error on our part. We certainly weren't expecting kernel
 patches, just advice on where next to proceed. Thanks for the send-pr
 suggestion. We have verbose dmesg logs for all of our testing, I didn't
 want to send them initially because they are large and we have 12 of them.


If you have 4 CPU's and FreeBSD is only seeing 2 of them then I'd say it's
a bug!

You can always post a link to where the logs are.

Ted

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


Re: serious performance problems with 6.2 Release

2007-02-16 Thread Ted Mittelstaedt

- Original Message - 
From: Greg Barniskis [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
Cc: Steven H. Baeighkley [EMAIL PROTECTED]
Sent: Thursday, February 15, 2007 10:12 AM
Subject: Re: serious performance problems with 6.2 Release


 Ted Mittelstaedt wrote:
  questions isn't for bugs.  I don't mean to be rude but you won't get
the
  problem fixed by bitching about it on this mailing list.

 Good gravy. They're not asking -questions for a fix, they're asking
 for guidance on how to isolate the root cause of the problem. Quoth
 the OP: *what are we missing?*

 That is perfectly germane for -questions and only /after/ that
 question is answered

Then, post some steps and quit metadiscussing.

 would it be appropriate to use send-pr. Using
 send-pr to submit a poorly defined problem (too much load) is not
 going to result in a project committer magically finding and fixing
 an unknown OS bug.


The original post was not poorly defined.  Certainly not compared to
the average PR.  The only things missing were BIOS and board revisions
and the diagnostic log.


  Steven H. Baeighkley wrote:
  If bugs is the correct list then that's where we'll send it. However we
  were not initially thinking it was a bug. We were thinking it was a
  configuration error on our part.

 That's a reasonable assumption actually. Sorry I don't have any
 specific suggestions for you except to second the motion that you
 ignore Ted's assertion that you should give up on -questions. It's
 entirely possible that there's a tunable knob or app compilation
 option that will help you out.


If you would care to suggest something I'm sure the OP would be
all ears.  So far you have only posted sheer speculation.

Ted

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


Re: **questions** Re: serious performance problems with 6.2 Release

2007-02-16 Thread Ted Mittelstaedt

- Original Message - 
From: Kris Kennaway [EMAIL PROTECTED]
To: Steven H. Baeighkley [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Thursday, February 15, 2007 10:28 AM
Subject: Re: **questions** Re: serious performance problems with 6.2 Release


 On Thu, Feb 15, 2007 at 10:50:18AM -0700, Steven H. Baeighkley wrote:
  If bugs is the correct list then that's where we'll send it. However we
  were not initially thinking it was a bug. We were thinking it was a
  configuration error on our part. We certainly weren't expecting kernel
  patches, just advice on where next to proceed. Thanks for the send-pr
  suggestion. We have verbose dmesg logs for all of our testing, I didn't
  want to send them initially because they are large and we have 12 of
them.

 bugs isn't correct either, that's only for automated mailing of
 problem reports.  I'd recommend either freebsd-stable or
 freebsd-performance, those are technical lists read by developers.

 Kris

 P.S. I second the recommendation to ignore Ted :-)

Oh, your answer is then to just send him to another list?

So, I'm wrong for telling him to get out of here and go to send-pr,
and your right for telling him to get out of here and go to another mailing
list.  Uh huh.

Ted

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


Re: serious performance problems with 6.2 Release

2007-02-16 Thread Ted Mittelstaedt

- Original Message - 
From: Freminlins
To: Ted Mittelstaedt
Cc: freebsd-questions@freebsd.org
Sent: Thursday, February 15, 2007 11:14 AM
Subject: Re: serious performance problems with 6.2 Release


Please sort out your formatting. It looks horrible.

funny how nobody else that quoted it seemed to have a problem.

I've snipped your assumption that this is a hardware problem
 because it is misleading at this stage. It could well be a configuraiton
issue.

I'll quote then from the OP's post:

...This is a supermicro superserver 6022c dual 2.0 Xeon with 2GB RAM.
 These CPUs do support hyperthreading
...If we disable hyperthreading in the bios and have it disabled in the OS
then FreeBSD sees one physical and one logical processor (from dmesg)
and only uses processor 0

Disabling or enabling hyperthreading on a dual-Xeon BIOS has nothing to
do with the number of physical CPU's FreeBSD sees.  If there are 2 physical
CPU's on the motherboard and both CPU's are enabled (regardless of
whether hyperthreading is turned on or off in BIOS) then FreeBSD should
be seeing 2 physical CPUs.  The fact that it is not is a kernel bug that is
very related to hardware.

I don't know where your getting the impression that I said this was a
hardware
bug.  Clearly it is not a hardware bug if -other- operating systems are
seeing and
using both CPUs.  The hardware is operating as it was designed to do.  The
problem is that FreeBSD has a defect in that it cannot properly detect and
setup
for this hardware.  If you object to the use of the word defect then
substitute
lack of code instead.

I never siad that the OP's SuperMicro motherboard adhered to any industry
standard for SMP systems.  I myself have had mixed luck with SuperMicro
motherboards back in the early days of FreeBSD SMP, both uniprocessor
and SMP boards.

Unfortunately, these problems are usually only fixed by getting a sample of
the motherbord in the hands of a developer.  I assume this particular board
is
no longer in production, so most likely the OP won't ultimately be able to
get it fixed unless he parts with one of his machines - although a number of
folks
with hardware/software problems like this have been able to get developers
to fix them by putting their hardware online and giving the developer remote
access.

Ted

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


Re: [SOLVED] Eclipse Installation in FreeBSD

2007-02-16 Thread sans

used make install in both eclipse and eclipse-cdt
it worked. thanks a lot.
-sans


Garrett Cooper wrote:
 
 sans wrote:
 hi all, 
 
 I'm new to freebsd and do not have any unix or linux background. I want
 to
 install eclipse for c++ developement. do we to need to install jre prior
 to
 eclipse ? If so, could you please help on how to install jre. Also I
 searched for eclipse setup for freebsd, but couldnt find that from their
 site, from where can we get that? Will the eclipse for linus work in
 freebsd? Could anyone tell the installation procedures?
 
 thanks in advance,
 sans.
 
 The Eclipse port is available in /usr/ports/java/eclipse.
 
 Type in make install and it will install the eclipse port and all of its 
 dependencies.
 
 See man ports for more information.
 
 -Garrett
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 [EMAIL PROTECTED]
 
 

-- 
View this message in context: 
http://www.nabble.com/Eclipse-Installation-in-FreeBSD-tf3237772.html#a9001108
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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 install JRE in FreeBSD

2007-02-16 Thread Vince
santhy chandran wrote:
 hi,
 
 Im new to FreeBSD environment and need to work with C++ using IDE Eclipse .
 
 I came to know that inorder to install Eclipse,we should have JRE n our
 machine.I have downloaded JRE for FreeBSD but not able to get it
 installed since installation procedures are not given in that..
 
When you say you have downloaded the JRE for freebsd, I assume you mean
appropriate version from
http://www.freebsdfoundation.org/downloads/java.shtml

If you have downloaded the package from there then just run
pkg_add $nameofdownloadedfile
For 6.x i386 that would be
pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz

hope that helps,

regards,
Vince
 Can u please help me by sending the reply as fast as possible..
 
 santhy
 
 _
 Catch all the cricketing action right here. Live score, match reports,
 photos et al. http://content.msn.co.in/Sports/Cricket/Default.aspx
 
 ___
 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: serious performance problems with 6.2 Release

2007-02-16 Thread Freminlins

Ted,

On 16/02/07, Ted Mittelstaedt [EMAIL PROTECTED] wrote:



I don't know where your getting the impression that I said this was a
hardware bug.



Umm, quoted from you above: Defects that are specific to hardware that are
not documented in the PR database generally do not get fixed. 

If I didn't know this is simply the way you are at times I would think you
have gone mad.

Ted


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


How to display .png?

2007-02-16 Thread Roger Olofsson

Dear Mailing List,

As usual, thanks alot for all answers to my previous questions! I will 
try and step up and answer the ones I can.


I'm still fiddling around with a machine that's upgraded to 6.2 and have 
encountered a small thing. Apache refuses to display .png pictures. This 
is probably some setting somewhere and I have looked in the following:


httpd.conf of course
php.ini

I have reinstalled and checked options for php5, I have checked options 
and reinstalled gd and I have compared httpd.conf and php.ini with a 
FreeBSD 5.5, I have run phpinfo on both machines and compared the 
results, they look very much alike. The 5.5 displays .pngs fine though.


I have also checked file permissions for the pictures, they all look 
fine. The output of httpd-error.log has no pointers.


What could be the magic trick? Probably something really simple?

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


local ports FTP

2007-02-16 Thread Svetoslav
Hi I'm from Bulgaria I work in www.nra.bg http://www.nra.bg/
administrator I want to make feebsd local ftp ports site PLS help me how I
do this ?? 

Sorry for mi English :-)

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


apache, gd and mod_perl2 problem

2007-02-16 Thread Thomas Vogt
Hello

I've a strange problem with apache2.0, gd2 and mod_perl2.
I wrote a small test script which creates a png file in my /tmp
directory.

This perl script works fine if I run it localy on a shell, it works also
as normal cgi script but it doesn't work with apache2 and mod_perl2. It
crashes with: print HF $im-png; (see the whole script below)

httpd-error.log message (debug enabled)
[Tue Feb 13 09:41:34 2007] [notice] child pid 24480 exit signal Abort
trap (6)
t/www in free(): error: pointer to wrong page

The script I'm talking about:
cat buttontest.html

#!/usr/bin/perl
use GD;

# create a new image
$im = new GD::Image(100, 100);

# allocate some colors
$white = $im-colorAllocate(255,255,255);
$black = $im-colorAllocate(0,0,0);
$red = $im-colorAllocate(255,0,0);
$blue = $im-colorAllocate(0,0,255);

# make the background transparent and interlaced
$im-transparent($white);
$im-interlaced('true');
# Put a black frame around the picture
$im-rectangle(0,0,99,99,$black);

# Draw a blue oval
$im-arc(50,50,95,75,0,360,$blue);

# And fill it with red
$im-fill(50,50,$red);

print Content-type: text/html\n\n; 
print h1Hello world/h1;  

# make sure we are writing to a binary stream
open HF, /tmp/file.png;
binmode HF;

# Convert the image to PNG and print it on standard output
# here it crashes with apache
print HF $im-png; 
close HF;
print pFoobar;


my httpd.conf:
LoadModule perl_module libexec/apache2/mod_perl.so

PerlModule Apache2::Reload
Location /perl
   # -- mod_perl stuff
  SetHandler perl-script
  PerlResponseHandler ModPerl::RegistryPrefork 
  PerlInitHandler Apache2::Reload
  Options +ExecCGI
  AddHandler cgi-script html png
  PerlOptions +ParseHeaders
  PerlSetVar StatINCDebug On
/Location

My System:
6.2-RELEASE-p1  (i386)

Packets I use:
apache-2.0.59
png-1.2.12_1
perl-5.8.8
p5-GD-2.35
mod_perl2-2.0.3_
gd-2.0.33_4,11,3
freetype2-2.2.1_1

I compiled everything with -DWITHOUT_X11 knob but I also tested it with
X support too. It doesn't work either. I also tried mod_perl2-2.0.2 to
make sure it's not a new 2.0.3 bug.

The same script works fine on an Ubuntu Linux Server with apache2.0.x,
mod_perl2 and gd.

Any idea?

Regards,
Thomas
-- 
Terry Lambert:
It is not unix's job to stop you from shooting your foot. If you so
choose to do so, then it is UNIX's job to deliver Mr. Bullet to Mr Foot
in the most efficient way it knows.

___
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 display .png?

2007-02-16 Thread Christian Walther

On 16/02/07, Roger Olofsson [EMAIL PROTECTED] wrote:

Dear Mailing List,

As usual, thanks alot for all answers to my previous questions! I will
try and step up and answer the ones I can.

I'm still fiddling around with a machine that's upgraded to 6.2 and have
encountered a small thing. Apache refuses to display .png pictures. This
is probably some setting somewhere and I have looked in the following:

httpd.conf of course
php.ini

I have reinstalled and checked options for php5, I have checked options
and reinstalled gd and I have compared httpd.conf and php.ini with a
FreeBSD 5.5, I have run phpinfo on both machines and compared the
results, they look very much alike. The 5.5 displays .pngs fine though.

I have also checked file permissions for the pictures, they all look
fine. The output of httpd-error.log has no pointers.

What could be the magic trick? Probably something really simple?



Apache doesn't display images, it just serves them. That is to say
they are downloaded to the browser like any other file is, and the
browser displays them.
So, what configuration are you using? From what you've given so far
you obviously have to different machines.
What about the ./htdocs tree, is it the same on both machines, e.g.
did you copy it from the 5.5 machine to the new one? Where is the
browser running? Is it running locally on the 6.2 machine, or do you
have a third machine from which you access both servers?
How do you access the png-Images? Are they embedded in a web page,
e.g.  by a img src= alt= / tag, or do you follow a link?

How does it look like in your web browser? Is the image missing
entirely, or do you have a broken image icon where you expect the
image to be? If there is such an icon, what are its properties? (If
you're using firefox you can right click on the image icon and select
properties.)
If there is no icon, does anything strange happen, e.g. does your
browser display weird lines of text, or does it open a save as-dialog?

What I think is possible is that there is a difference in the
mime-type definition of both servers. If a file is requested from a
web server the server sends a header that hopefully contains the right
mime type. Depending on the mime-type the browser decides what it can
do with it. So if there is no definition for png on your server, it
might either be sent as a text- or binary file, resulting in strange
behaviour in your web browser.

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


Release 6.2

2007-02-16 Thread York Rapp
Hello Guys.

I am looking for a DVD Image of Release 6.2 to download, but
unfortunately (stupid as I am ;-)) I cannot find it.

Can you give me an information or a link of a mirror.

Would be very kind.

Thank you for your trouble.

-- 
Cordiali saluti, / Best regards, / Mit freundlichen Gruessen,

York

Make each day count.

Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Advice needed - how did I get into this mess?

2007-02-16 Thread Roy Plant

The last time I dabbled with Unix was 20 years ago - so I'm old and more than
a little rusty. A while ago I decided FreeBSD 5.4 + Apache2 + PHP 5 +
PostgreSQL + MySQL was a decent way to set up a development server. So I put
all this on a dual Xeon platform - spent ages configuring and getting things
working together but eventually succeeded.
I then purchased Zend Studio and loaded that on a Windoze XP workstation and
loaded Zend Platform on the server so I could achieve remote de-bugging of
the PHP web pages. 

All was well in the world until the hard disk on the server decided to
retire. So two weeks ago I replaced the HDD and decided it was time to upate
everything to the latest versions - FreeBSD 6.2, PHP 5.2.1, Apache 2.2 
-isn't it suprising how quickly one forgets the configuration changes made
in order to get it all talking? So after two weeks everything is up and
running - last thing to load is the PHP development side - i.e. Zend
Platform.

I see from their web site that Platform V3 is released, but not for FreeBSD
- so I downloaded V2.2.3 and tried to install.
After lots of frustration I then discovered that this version of Platform
does not support PHP 5.2.1 (Aaaaggghhh)

I guess the easiest solution is to downgrade the PHP install to 5.1 - so
here's the questions

1) How do I downgrade to PHP 5.1?
2) How do I keep the rest of my ports up to date without updating PHP 5?

cheers

Roy
-- 
View this message in context: 
http://www.nabble.com/Advice-needed---how-did-I-get-into-this-mess--tf3239449.html#a9004239
Sent from the freebsd-questions mailing list archive at Nabble.com.

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


i can't find available device in wireshark?

2007-02-16 Thread lveax

hey all.

i can't find any available device in the list

i notice it depends bpf
but i already have
device  bpf # Berkeley packet filter
in my kernel config

where is wrong?

$ ifconfig
rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   options=8VLAN_MTU
   inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255
   ether 4c:00:10:b4:1d:d2
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet 192.168.6.1 netmask 0xff00 broadcast 192.168.6.255
   ether 00:16:e6:84:e6:3e
   media: Ethernet autoselect (100baseTX full-duplex)
   status: active
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet 127.0.0.1 netmask 0xff00
tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
   inet 219.13x.xxx.xxx -- 58.52x.xxx.xxx netmask 0x
   Opened by PID 874
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Advice needed - how did I get into this mess?

2007-02-16 Thread Bill Moran
In response to Roy Plant [EMAIL PROTECTED]:
 
 The last time I dabbled with Unix was 20 years ago - so I'm old and more than
 a little rusty. A while ago I decided FreeBSD 5.4 + Apache2 + PHP 5 +
 PostgreSQL + MySQL was a decent way to set up a development server. So I put
 all this on a dual Xeon platform - spent ages configuring and getting things
 working together but eventually succeeded.
 I then purchased Zend Studio and loaded that on a Windoze XP workstation and
 loaded Zend Platform on the server so I could achieve remote de-bugging of
 the PHP web pages. 
 
 All was well in the world until the hard disk on the server decided to
 retire. So two weeks ago I replaced the HDD and decided it was time to upate
 everything to the latest versions - FreeBSD 6.2, PHP 5.2.1, Apache 2.2 
 -isn't it suprising how quickly one forgets the configuration changes made
 in order to get it all talking? So after two weeks everything is up and
 running - last thing to load is the PHP development side - i.e. Zend
 Platform.
 
 I see from their web site that Platform V3 is released, but not for FreeBSD
 - so I downloaded V2.2.3 and tried to install.
 After lots of frustration I then discovered that this version of Platform
 does not support PHP 5.2.1 (Aaaaggghhh)
 
 I guess the easiest solution is to downgrade the PHP install to 5.1 - so
 here's the questions
 
 1) How do I downgrade to PHP 5.1?

The easiest way I know if is to cvsup your ports tree to the day just
before php 5.2 was imported and reinstall.  We had to do this because there
are some things in our application that don't work in 5.2, and we need to
deploy new servers with 5.1 until we can properly test our stuff against
5.2.

You can use freshports to find the date when 5.2 was imported, then use
a cvsup config that updates to the day (or even a few hours) before that.

 2) How do I keep the rest of my ports up to date without updating PHP 5?

I don't have an easy answer for that.  Internally, we NFS mount all our
ports trees.  What I did was create a second NFS mount with a ports tree
frozen at 5.1, then we can switch the mountpoint back and forth depending
on whether we need to work with PHP-related port or other ports.  You
could achieve the same thing with symlinks.

PHP 5.2 is a debacle in my opinion.  I hope they get some of the problems
with it fixed soon.

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


Re: i can't find available device in wireshark?

2007-02-16 Thread Bill Moran
In response to lveax [EMAIL PROTECTED]:
 
 i can't find any available device in the list
 
 i notice it depends bpf
 but i already have
 device  bpf # Berkeley packet filter
 in my kernel config
 
 where is wrong?
 
 $ ifconfig
 rl0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 options=8VLAN_MTU
 inet 192.168.5.1 netmask 0xff00 broadcast 192.168.5.255
 ether 4c:00:10:b4:1d:d2
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 nve0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST mtu 1500
 inet 192.168.6.1 netmask 0xff00 broadcast 192.168.6.255
 ether 00:16:e6:84:e6:3e
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
 inet 127.0.0.1 netmask 0xff00
 tun0: flags=8051UP,POINTOPOINT,RUNNING,MULTICAST mtu 1492
 inet 219.13x.xxx.xxx -- 58.52x.xxx.xxx netmask 0x
 Opened by PID 874

Did you run it as root?  What does wireshark -D say?  If I run my as
non-root:

$ wireshark -D
wireshark: There are no interfaces on which a capture can be done

But it works fine when run as root.

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


Error building php5-pcre

2007-02-16 Thread Warren Liddell
Running FreeBSD6-2-STABLE
===

sr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:102: warning: 
parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: In function 
`PHP_GINIT_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:101: error: 
parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:103: error: 
invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:104: error: 
invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:105: error: 
invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:106: error: 
invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: At top level:
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:110: warning: 
parameter has incomplete type
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: In function 
`PHP_GSHUTDOWN_FUNCTION':
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:109: error: 
parameter name omitted
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:111: error: 
invalid type argument of `-'
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c: At top level:
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: 
`fifth_arg_force_ref' undeclared here (not in a function)
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: 
(near initialization for `pcre_functions[2].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1758: error: 
(near initialization for `pcre_functions[2]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: 
(near initialization for `pcre_functions[3].arg_info')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1759: error: 
(near initialization for `pcre_functions[3]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1760: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1760: error: 
(near initialization for `pcre_functions[4]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1761: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1761: error: 
(near initialization for `pcre_functions[5]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1762: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1762: error: 
(near initialization for `pcre_functions[6]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1763: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1763: error: 
(near initialization for `pcre_functions[7]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1764: error: 
initializer element is not constant
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1764: error: 
(near initialization for `pcre_functions[8]')
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1777: error: 
syntax error before pcre
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1778: error: 
syntax error before pcre
/usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre/php_pcre.c:1779: error: 
syntax error before pcre
*** Error code 1

Stop in /usr/ports/devel/php5-pcre/work/php-5.2.0/ext/pcre.
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.
*** Error code 1

Stop in /usr/ports/www/phpSysInfo.
*** Error code 1

Stop in /usr/ports/www/phpSysInfo.
** Command failed [exit code 
1]: /usr/bin/script -qa /tmp/portupgrade.63107.107 env 
UPGRADE_TOOL=portupgrade UPGRADE_PORT=phpSysInfo-2.5.1 UPGRADE_PORT_VER=2.5.1 
make DEPENDS_TARGET=package reinstall
egrep: /var/db/pkg/phpSysInfo-2.5.1/+CONTENTS: No such file or directory
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: i can't find available device in wireshark?

2007-02-16 Thread Igor Robul

Bill Moran wrote:

Did you run it as root?  What does wireshark -D say?  If I run my as
non-root:

$ wireshark -D
wireshark: There are no interfaces on which a capture can be done

But it works fine when run as root.

  

just add something like this:

[bpf=100]
add path 'bpf*' mode 0660 group wheel

to your /etc/devfs.rules

and

devfs_set_rulesets=/dev=bpf

to
/etc/rc.d

Then reboot or do sudo /etc/rc.d/devfs restart

Make sure that you are in wheel group, or just change rule.
You can read more if you do
man devfs
man devfs.rules
...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Question about syscon

2007-02-16 Thread Lowell Gilbert
ronggui [EMAIL PROTECTED] writes:

 Whenever I start the FreeBSD, it takes about one minutes to get the
 syscon service ready. Is there any way to speed up the process of
 start-up?

Do you mean sc0?
___
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 display .png?

2007-02-16 Thread Roger Olofsson



Roger Olofsson skrev:

Christian Walther skrev:

On 16/02/07, Roger Olofsson [EMAIL PROTECTED] wrote:

Dear Mailing List,

As usual, thanks alot for all answers to my previous questions! I will
try and step up and answer the ones I can.

I'm still fiddling around with a machine that's upgraded to 6.2 and have
encountered a small thing. Apache refuses to display .png pictures. This
is probably some setting somewhere and I have looked in the following:

httpd.conf of course
php.ini

I have reinstalled and checked options for php5, I have checked options
and reinstalled gd and I have compared httpd.conf and php.ini with a
FreeBSD 5.5, I have run phpinfo on both machines and compared the
results, they look very much alike. The 5.5 displays .pngs fine though.

I have also checked file permissions for the pictures, they all look
fine. The output of httpd-error.log has no pointers.

What could be the magic trick? Probably something really simple?



Apache doesn't display images, it just serves them. That is to say
they are downloaded to the browser like any other file is, and the
browser displays them.
So, what configuration are you using? From what you've given so far
you obviously have to different machines.
What about the ./htdocs tree, is it the same on both machines, e.g.
did you copy it from the 5.5 machine to the new one? Where is the
browser running? Is it running locally on the 6.2 machine, or do you
have a third machine from which you access both servers?
How do you access the png-Images? Are they embedded in a web page,
e.g.  by a img src= alt= / tag, or do you follow a link?

How does it look like in your web browser? Is the image missing
entirely, or do you have a broken image icon where you expect the
image to be? If there is such an icon, what are its properties? (If
you're using firefox you can right click on the image icon and select
properties.)
If there is no icon, does anything strange happen, e.g. does your
browser display weird lines of text, or does it open a save as-dialog?

What I think is possible is that there is a difference in the
mime-type definition of both servers. If a file is requested from a
web server the server sends a header that hopefully contains the right
mime type. Depending on the mime-type the browser decides what it can
do with it. So if there is no definition for png on your server, it
might either be sent as a text- or binary file, resulting in strange
behaviour in your web browser.

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




Hello, and thank you for your reply,

It appears as if this is an application thing. I put the old version of 
b2evolution there and that one displays the .pngs fine, the new one 
(0.9.2) does not. Thanks for your input!


Greetings
/Roger


Hello, and thank you for your reply,

It appears as if this is an application thing. I put the old version of 
b2evolution there and that one displays the .pngs fine, the new one 
(0.9.2) does not. Thanks for your input!


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


Re: Advice needed - how did I get into this mess?

2007-02-16 Thread Warren Block

On Fri, 16 Feb 2007, Roy Plant wrote:


1) How do I downgrade to PHP 5.1?


Install and run /usr/ports/ports-mgmt/portdowngrade.


2) How do I keep the rest of my ports up to date without updating PHP 5?


You'll really only need to worry about things that depend on PHP, so it 
may not be that bad.


-Warren Block * Rapid City, South Dakota USA
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


SCSI Error reported in Daily Run.

2007-02-16 Thread Grant Peel
Hi all,

Can anyone simplify this error message?

Only seen once, system seems to be running OK.

Fix? Replace?

+++ /tmp/security.hjdAMgoP Fri Feb 16 03:02:47 2007
+(da0:ahc0:0:0:0): WRITE(10). CDB: 2a 0 0 f3 a 3f 0 0 20 0 
+(da0:ahc0:0:0:0): CAM Status: SCSI Status Error
+(da0:ahc0:0:0:0): SCSI Status: Check Condition
+(da0:ahc0:0:0:0): Deferred Error: HARDWARE FAILURE info:341b461 asc:44,0
+(da0:ahc0:0:0:0): Internal target failure field replaceable unit: bc
+(da0:ahc0:0:0:0): Retrying Command (per Sense Data)

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


messing with uid/gid in passwd

2007-02-16 Thread Petre Bandac
hallo

I have the following problem

I hourly rsync data from another computer to my bsd machine and the
transferred files have different uid that the user I'd like to use them
(preserve their initial uid/gid)

is there a problem if I manually change the uid of some (already
created) users in passwd (like for mysql, www, postfix)

thanks,

petre

-- 

Petre Bandac

Network Scientist

-
[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: Diagnosing fan problem

2007-02-16 Thread Jesse Sheidlower
On Thu, Feb 15, 2007 at 09:24:04PM +0100, Tore Lund wrote:
 Jesse Sheidlower wrote:
  I have a ThinkPad T41p that has had a variety of fan problems
  for some time. After my most recent repair things seemed to be
  working fine, but the other day I was compiling some ports and
  the machine just shut down in the middle; after some
  experimentation it seemed clear that it was just overheating
  under load and shutting itself off. (Looking at the
  temperature sysctl showed that it was getting increasingly hot
  until it crashed.)
  
  How can I monitor what is happening? Are there any ways I can
  find out from FreeBSD if the fan is even on, or how it thinks
  it is working? systcl -a | grep fan didn't return anything.
 
 There are quite a few programs that can tell you CPU temperature and fan
 speed, like mbmon and conky, both in /usr/ports/sysutils.  You could
 compare these parameters against data for the fan and cooler in order to
 ascertain whether anything is wrong with the fan.

Unfortunately these don't work, or rather they don't report the
fan speed. (In conky, for example, if I add lines to the config file
to report the CPU temp, fan speed, and fan state, I only get the
CPU temp, with the other lines empty.)

  Can I control the fan?
 
 I don't know.  In any case, I would not try to control fan speed if the
 problem is that the fan is insufficient or out of order.

Right; my intention wasn't to control the fan manually for
regular use, but rather to try to turn the fan on high so that
I can see if there is, in fact, a whooshing sound that would
indicate the fan has been turned on high.

I'm running FreeBSD 5.4-STABLE, by the way; I acknowledge that
there is the acpi_ibm.ko thing under 6.x, and perhaps this would
be helpful. However I can't even think about upgrading because
compiling almost anything causes the computer to crash from
overheating :-/

Jesse Sheidlower

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


Re: Request for FreeBSD 2007 DST patch

2007-02-16 Thread Byron Pezan

I believe it was also mentioned in an earlier post that you will need to run
tzsetup after installing misc/zoneinfo from ports.

byron

On 2/15/07, Chuck Swiger [EMAIL PROTECTED] wrote:


On Feb 15, 2007, at 10:06 AM, Zaman, Rahat wrote:
 I would appreciate if you kindly provide me with information links to
 FreeBSD 2007 DST patch.

If you've updated your FreeBSD system via cvsup or similar, you
should be fine.  Otherwise, you can probably install the /usr/ports/
misc/zoneinfo port to get the updated tzdata files from the master
FTP site, which is here:

   ftp://elsie.nci.nih.gov/pub/

--
-Chuck

___
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: How to install JRE in FreeBSD

2007-02-16 Thread Garrett Cooper

Vince wrote:

santhy chandran wrote:

hi,

Im new to FreeBSD environment and need to work with C++ using IDE Eclipse .

I came to know that inorder to install Eclipse,we should have JRE n our
machine.I have downloaded JRE for FreeBSD but not able to get it
installed since installation procedures are not given in that..


When you say you have downloaded the JRE for freebsd, I assume you mean
appropriate version from
http://www.freebsdfoundation.org/downloads/java.shtml

If you have downloaded the package from there then just run
pkg_add $nameofdownloadedfile
For 6.x i386 that would be
pkg_add diablo-jdk-freebsd6.i386.1.5.0.07.01.tbz

hope that helps,

regards,
Vince

Can u please help me by sending the reply as fast as possible..

santhy


If sans solved the eclipse thing, then he solved this.
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Building Home Server

2007-02-16 Thread Drew Jenkins
20Hi;
I'm building a server at home to mimic my live server. The instructions require 
that I gather the following information: 
* IP address
* IP address of default gateway
* Hostname
* DNS server IP address
* Subnet Mask
Now, I think I can use 192.168.0.1 as my IP address, since that calls up my 
satellite interface. I've tried running ipconfig /all from the run command 
in Windoze, but it flashes the results so quickly then disappears that I don't 
have a chance to read the results! How do I get this information? Is there a 
Web site that can read my config? Or, what's a good guess at the defaults that 
would work for my satellite interface (which would be better, in case my data 
isn't static)? Also, where do I go in FBSD to edit the config so I can access 
the net?
TIA.
Drew




 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building Home Server

2007-02-16 Thread Nagy László Zsolt

Drew Jenkins írta:

20Hi;
I'm building a server at home to mimic my live server. The instructions require that I gather the following information: 
* IP address

* IP address of default gateway
* Hostname
* DNS server IP address
* Subnet Mask
Now, I think I can use 192.168.0.1 as my IP address, since that calls up my satellite interface. I've tried running ipconfig /all from the run command in Windoze, but it flashes the results so quickly then disappears that I don't have a chance to read the results! How do I get this information? 

Start menu/Run
cmd
There you will get a win32 console where you can type in

ipconfig /all

However, I do not understand what you are trying to do.

Is there a Web site that can read my config? Or, what's a good guess at the defaults that would work for my satellite interface (which would be better, in case my data isn't static)? 

Probably your interface uses DHCP. You should type in

/sbin/sysinstall

and then configure your network interface. Another way to do it is to 
edit /etc/rc.conf, but you look like a newbie to me. After configuring 
with sysinstall, you can look at /etc/rc.conf and see what is in there.


Best,

  Laszlo

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


Re: Building Home Server

2007-02-16 Thread Joe Holden

Drew Jenkins wrote:

20Hi;
I'm building a server at home to mimic my live server. The instructions require that I gather the following information: 
* IP address

* IP address of default gateway
* Hostname
* DNS server IP address
* Subnet Mask
Now, I think I can use 192.168.0.1 as my IP address, since that calls up my satellite interface. 
I've tried running ipconfig /all from the run command in Windoze, but it 
flashes the results so quickly then disappears that I don't have a chance to read the results! How 
do I get this information? Is there a Web site that can read my config? Or, what's a good guess at 
the defaults that would work for my satellite interface (which would be better, in case my data 
isn't static)? Also, where do I go in FBSD to edit the config so I can access the net?
TIA.
Drew



You could try opening a command prompt (cmd/command in run) and running 
it, that way it won't close after it exits.

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


Re: Release 6.2

2007-02-16 Thread Kris Kennaway
On Fri, Feb 16, 2007 at 01:49:35PM +0100, York Rapp wrote:
 Hello Guys.
 
 I am looking for a DVD Image of Release 6.2 to download, but
 unfortunately (stupid as I am ;-)) I cannot find it.

The FreeBSD project only provides CD iso images.

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


Re: Release 6.2

2007-02-16 Thread John Nielsen
On Friday 16 February 2007 07:49, York Rapp wrote:
 I am looking for a DVD Image of Release 6.2 to download, but
 unfortunately (stupid as I am ;-)) I cannot find it.

 Can you give me an information or a link of a mirror.

The FreeBSD Project distributes releases as a two-CD set. All you need for a 
basic installation is the first CD. The second CD contains many commonly used 
packages (in addition to those on the first CD). These are available for 
download on all of the FreeBSD mirrors and elsewhere. (see 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html)

bsdmall.com and freebsdmall.com both make DVD sets (which include many more 
packages and some other goodies) available for purchase. See their respective 
websites for more details. It doesn't look like bsdmall.com has a 6.2 DVD 
available quite yet.

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


Re: Building Home Server

2007-02-16 Thread John Cruz

Open the command prompt in windows first, then run ipconfig.

Drew Jenkins wrote:

20Hi;
I'm building a server at home to mimic my live server. The instructions require that I gather the following information: 
* IP address

* IP address of default gateway
* Hostname
* DNS server IP address
* Subnet Mask
Now, I think I can use 192.168.0.1 as my IP address, since that calls up my satellite interface. 
I've tried running ipconfig /all from the run command in Windoze, but it 
flashes the results so quickly then disappears that I don't have a chance to read the results! How 
do I get this information? Is there a Web site that can read my config? Or, what's a good guess at 
the defaults that would work for my satellite interface (which would be better, in case my data 
isn't static)? Also, where do I go in FBSD to edit the config so I can access the net?
TIA.
Drew





 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.

http://games.yahoo.com/games/front
___
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: local ports FTP

2007-02-16 Thread Lowell Gilbert
Svetoslav [EMAIL PROTECTED] writes:

 Hi I'm from Bulgaria I work in www.nra.bg http://www.nra.bg/
 administrator I want to make feebsd local ftp ports site PLS help me how I
 do this ?? 

For mirroring the ports tree, the way to do it is explained in
a document on the subject:
http://www.bg.freebsd.org/doc/en_US.ISO8859-1/articles/hubs/mirror-howto.html

That document seems to have been translated into Russian and Chinese...

 Sorry for mi English :-)

I think I understood the question, so you are doing fine.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building Home Server

2007-02-16 Thread Drew Jenkins
Start menu/Run
cmd
There you will get a win32 console where you can type in

ipconfig /all

Miscommunication. I *did* that. It pops up the info I need on the screen so 
fast then the screen disappears...I never have a chance to read the info!! What 
do??

Also, I found this info on a Web page built into my satellite interface:

IP Address: 192.168.0.1
Subnet Mask: 255.255.225.0
NAT IP Address: 67.46.93.3
NAT Subnet Mask: 255.255.255.255

So, now I've got the IP address and the subnet mask, but I still need to find 
out the IP address of the default gateway, the hostname, and the DNS server IP 
addresses. 

However, I do not understand what you are trying to do.

I'm trying to configure FBSD so I can get online. There is an interface at 
setup that requests all this data. Also, the manual says to have this data 
handy (it is the manual I am currently referencing).

Probably your interface uses DHCP. 

Yes, DHCP is enabled.

You should type in

/sbin/sysinstall

and then configure your network interface. 

Yes, that is what I will do, but first I need the above questions answered, 
because that is the data I must enter!

TIA,
Drew





 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.yahoo.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Release 6.2

2007-02-16 Thread Lowell Gilbert
York Rapp [EMAIL PROTECTED] writes:

 I am looking for a DVD Image of Release 6.2 to download, but
 unfortunately (stupid as I am ;-)) I cannot find it.

 Can you give me an information or a link of a mirror.

The FreeBSD Project does not release official ISOs larger than CD
size.  The extra bandwidth (and mirror thrashing) isn't worthwhile.
You can, of course, make your own as you wish.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building Home Server

2007-02-16 Thread Drew Jenkins
- Original Message 
From: Joe Holden [EMAIL PROTECTED]
To: Drew Jenkins [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Friday, February 16, 2007 11:45:47 AM
Subject: Re: Building Home Server

You could try opening a command prompt (cmd/command in run) and running 
it, that way it won't close after it exits.

Yeah, I thought of that, unfortunately I get the response that id doesn't 
recognize the command! Yet run does recognize the command! Go figure!
Drew






 

Looking for earth-friendly autos? 
Browse Top Cars by Green Rating at Yahoo! Autos' Green Center.
http://autos.yahoo.com/green_center/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


NeedHelp

2007-02-16 Thread Igor V. Ruzanov

Hello!
I have a very strange problem occured on my FreeBSD router:
- i have several vlan interfaces to wich assigned some real ip-address 
from 89.107.x.x;
- and uplink interface fxp0 to witch assigned gateway real ip-address 
from 89.107.y.y;


Sometimes when i analyze traffic flowing throuth my interfaces (vlans and 
fxp0) i can see the following data from vlan18 to uplink (tcpdump):


[EMAIL PROTECTED]: [18:49] (~)# tcpdump -X -s1024 -n -c100 -i vlan18 host 
213.184.148.170
tcpdump: listening on vlan18
19:30:16.577894 213.184.148.170.1323  194.67.23.207.80: S 1966953971:1966953971(0) 
win 65535 mss 1460,nop,nop,sackOK (DF)
0x   4500 0030 6d74 4000 8006 48de d5b8 94aa[EMAIL PROTECTED]
0x0010   c243 17cf 052b 0050 753d 55f3  .C...+.Pu=U.
0x0020   7002  6dfe  0204 05b4 0101 0402p...m...
19:30:16.579013 213.184.148.170.63203  88.212.201.120.80: . ack 2538364981 win 
64240 (DF)
0x   4500 0028 a5e9 4000 3f06 0937 d5b8 94aaE..([EMAIL PROTECTED]
0x0010   58d4 c978 f6e3 0050 1fe5 8eb7 974c 6035X..x...P.L`5
0x0020   5010 faf0 8ae1     P.
19:30:16.581381 213.184.148.170.63203  88.212.201.120.80: . ack 2921 win 64240 
(DF)
0x   4500 0028 a5ea 4000 3f06 0936 d5b8 94aaE..([EMAIL PROTECTED]
0x0010   58d4 c978 f6e3 0050 1fe5 8eb7 974c 6b9dX..x...P.Lk.
0x0020   5010 faf0 7f79     Py
19:30:16.583829 213.184.148.170.63203  88.212.201.120.80: . ack 5841 win 64240 
(DF)
0x   4500 0028 a5eb 4000 3f06 0935 d5b8 94aaE..([EMAIL PROTECTED]
0x0010   58d4 c978 f6e3 0050 1fe5 8eb7 974c 7705X..x...P.Lw.
0x0020   5010 faf0 7411     P...t.
19:30:16.584807 213.184.148.170.1323  194.67.23.207.80: . ack 42151783 win 
65535 (DF)
0x   4500 0028 6d75 4000 8006 48e5 d5b8 94aaE..([EMAIL PROTECTED]
0x0010   c243 17cf 052b 0050 753d 55f4 0283 2f67.C...+.Pu=U.../g
0x0020   5010  68c8     P...h.
19:30:16.586796 213.184.148.170.1323  194.67.23.207.80: P 0:673(673) ack 1 win 
65535 (DF)
0x   4500 02c9 6d76 4000 8006 4643 d5b8 94aa[EMAIL PROTECTED]
0x0010   c243 17cf 052b 0050 753d 55f4 0283 2f67.C...+.Pu=U.../g
0x0020   5018  532f  4745 5420 2f3f 6d61P...S/..GET./?ma

Could you please help me to solve the problem? How the packets from 
some subnet can be routed throuth gateway, that have an address NOT 
belonging to this subnet? Below i put trafd logs showing that the packets 
arrived my uplink interface fxp0:


213.184.148.170client  72.36.136.82   80  tcp   6479
 16135
213.184.148.170client  204.9.177.18   80  tcp   3365
  4165
213.184.148.170client  205.188.9.166  5190tcp 12
   572
213.184.148.170client  195.161.116.13 80  tcp484
   564
213.184.148.170client  89.202.157.135 80  tcp297
   505
213.184.148.170client  82.33.101.62   41779   tcp103
   383
213.184.148.170client  213.184.128.18 53  udp162
   274
213.184.148.170client  89.107.121.50  1569udp162
   218
213.184.148.170client  209.85.137.19  80  tcp  0
   160
213.184.148.170client  205.188.9.157  443 tcp  0
   160
213.184.148.170client  62.221.254.147 25  tcp  6
   126
89.107.121.50  1569213.184.148.170client  udp 56
   112
213.184.148.170client  194.67.23.100  2041tcp 44
84
213.184.148.17063524   194.67.57.244  client  tcp 44
84
213.184.148.170client  194.67.57.244  2041tcp 44
84
213.184.148.17063812   213.113.20.186 client  tcp  2
82
213.184.148.170client  87.250.251.45  80  tcp  0
80
 ... and so on.

Is this problem in ip routing on my router, or the problem comes to 
layer that is over ip?


The router configuration stands for:
- Operating system (uname -a):
  FreeBSD gw.canmos.ru 4.11-RELEASE FreeBSD 4.11-RELEASE #0;

- Routing daemon:
  Zebra+OSPFd (v0.94);

- Loaded modules (kldstat):
Id Refs AddressSize Name
 14 0xc010 2e5ebc   kernel
 21 0xc12ac000 3000 if_vlan.ko
 31 0xc1341000 2000 star_saver.ko
 41 0xc1991000 3000 snp.ko

- Packet filter:
  ipfw;

- Kernel options to work ipfw properly:
  options IPDIVERT#divert sockets
  options DUMMYNET

  options IPFIREWALL  #firewall
  options IPFIREWALL_VERBOSE  #enable logging to syslogd(8)
  options IPFIREWALL_FORWARD  #enable transparent proxy
  support
 

Re: Building Home Server

2007-02-16 Thread Nagy László Zsolt

Drew Jenkins wrote:

Start menu/Run
cmd


Did you run cmd.exe? Really?

Probably your interface uses DHCP. 



Yes, DHCP is enabled.

  

You should type in

/sbin/sysinstall

and then configure your network interface. 



Yes, that is what I will do, but first I need the above questions answered, 
because that is the data I must enter!
  
Definitely, not. You should configure the network with DHCP. It will 
find the correct settings automatically.


1. Login as root
2. Start sysinstall
3. Go to Configure/Networking/Interfaces
4. Select your NIC card
5. When it asks to configure with IPv6, say NO
6. When it asks to configure with DHCP, say YES

That's all.

  Laszlo


  Laszlo

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


Invisible process killing the CPU

2007-02-16 Thread Laszlo Nagy

75% user, 24.2% system, 0.0% idle. Despite those stats, I do not see what is 
eating up 100% cpu time. I already restarted the computer but it is the same. 
This problem started some hours ago. The CPU is hot, I can feel it on the air 
stream pouring out the computer case. There are more people that should work 
with this computer, but they can't. It is terribly slow. Please help me.

The system is FreeBSD 6.1.

Thanks,

  Laszlo


# top -S -ocpu
last pid: 62029;  load averages:  1.23,  1.49,  
1.23 up 11+05:54:11  
15:19:38

110 processes: 3 running, 88 sleeping, 1 zombie, 18 waiting
CPU states: 75.0% user,  0.0% nice, 24.2% system,  0.8% interrupt,  0.0% 
idle

Mem: 104M Active, 90M Inact, 99M Wired, 25M Cache, 60M Buf, 174M Free
Swap: 5120M Total, 172K Used, 5120M Free

 PID USERNAME THR PRI NICE   SIZERES STATETIME   WCPU 
COMMAND

  11 root   1 171   52 0K 8K RUN226.8H  0.00% idle
  13 root   1 -32 -151 0K 8K WAIT   154:02  0.00% 
swi4: clock sio

 245 root   1  960  3500K  1948K select  57:11  0.00% ppp
  20 root   1 -68 -187 0K 8K WAIT31:23  0.00% 
irq19: rl0
1021 root   2  200  6308K  4208K kserel  30:54  0.00% 
python
  21 root   1 -64 -183 0K 8K WAIT28:18  0.00% 
irq20: atapci0
  31 root   1 -68 -187 0K 8K WAIT26:59  0.00% 
irq23: vr0
   4 root   1  -80 0K 8K -   20:13  0.00% 
g_down
  12 root   1 -44 -163 0K 8K WAIT15:57  0.00% 
swi1: net

   3 root   1  -80 0K 8K -   11:06  0.00% g_up
  39 root   1  200 0K 8K syncer   5:36  0.00% 
syncer
  36 root   1  -8 -127 0K 8K pgzero   4:36  0.00% 
pagezero
  15 root   1 -160 0K 8K -4:17  0.00% 
yarrow

 718 bind   1  960  4752K  3564K select   3:26  0.00% named
   7 root   1  -80 0K 8K m:w1 2:43  0.00% 
g_mirror gm0
 366 root   1  960  1300K   836K select   2:36  0.00% 
syslogd
  40 root   1 -160 0K 8K sdflus   1:02  0.00% 
softdepflush
  45 root   1 -160 0K 8K -0:59  0.00% 
schedcpu

17794 root   1  960  8272K  4408K select   0:50  0.00% smbd
  37 root   1 -160 0K 8K psleep   0:44  0.00% 
bufdaemon
   2 root   1  -80 0K 8K -0:28  0.00% 
g_event

 827 root   1  960  5020K  2008K select   0:26  0.00% nmbd
  38 root   1  -40 0K 8K vlruwt   0:21  0.00% vnlru
1101 dovecot1   40  2540K  1700K kqread   0:18  0.00% 
imap-login
 953 root   1   40  1396K   972K kqread   0:16  0.00% 
dovecot
1100 root   1   40  1612K  1036K kqread   0:14  0.00% 
dovecot-auth



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


Re: messing with uid/gid in passwd

2007-02-16 Thread Jerry McAllister
On Fri, Feb 16, 2007 at 05:07:37PM +0200, Petre Bandac wrote:

 hallo
 
 I have the following problem
 
 I hourly rsync data from another computer to my bsd machine and the
 transferred files have different uid that the user I'd like to use them
 (preserve their initial uid/gid)
 
 is there a problem if I manually change the uid of some (already
 created) users in passwd (like for mysql, www, postfix)

Do you mean on the BSD machine?
There should be no problem _if_: 
  The UID  GID do not conflict with another existing user or group.
and
  You get all of the incidences of the use of that user's UID  GID
  changed on all of that user's files.

But, if it conflicts or you miss some files somewhere, it can
come back and bite you.   Use find(1) with -group and then with -user
to look for the files.

jerry

 
 thanks,
 
 petre
 
 -- 
 
 Petre Bandac
 
 Network Scientist
 
 -
 [EMAIL PROTECTED]
 ___
 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: Invisible process killing the CPU

2007-02-16 Thread Joe Holden

Laszlo Nagy wrote:
75% user, 24.2% system, 0.0% idle. Despite those stats, I do not see 
what is eating up 100% cpu time. I already restarted the computer but it 
is the same. This problem started some hours ago. The CPU is hot, I can 
feel it on the air stream pouring out the computer case. There are more 
people that should work with this computer, but they can't. It is 
terribly slow. Please help me.


The system is FreeBSD 6.1.

Thanks,

  Laszlo



snip

Whats the output of systat -vmstat 1 ?

Ta,
Joe

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


Re: Invisible process killing the CPU

2007-02-16 Thread Laszlo Nagy



Whats the output of systat -vmstat 1 ?

I have never used this command, so I do not know what it means. :-)


   1 usersLoad  1.08  1.13  1.12  Feb 16 17:16

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
   Tot   Share  TotShareFree in  out in  out
Act  132968   13828   43505616452  276648 count
All  229824   2154024240645227628 pages
Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt910 cow1014 total
1   62  1165 670221721  5154 6425  62152 wire1: 
atkb
   61680 act 4: 
sio0
18.2%Sys   0.0%Intr 81.8%User  0.0%Nice  0.0%Idl   104784 inact 3 
19: rl0
||||||||||   2224 cache   
20: ata
=   274424 free  5 
23: vr0
 daefr  1006 
cpu0: time

Namei Name-cacheDir-cache4965 prcfr
   Calls hits% hits% react
   6641059487   90   pdwake
4435 zfodpdpgs
Disks   ad4   ad6  18 ozfod   intrn
KB/t   0.00  0.00 %slo-z61456 buf
tps   0 05546 tfree39 dirtybuf
MB/s   0.00  0.00   35656 desiredvnodes
% busy0 04901 numvnodes
1861 freevnodes


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


Re: Building Home Server

2007-02-16 Thread Drew Jenkins
- Original Message 
From: Nagy László Zsolt [EMAIL PROTECTED]
To: Drew Jenkins [EMAIL PROTECTED]; freebsd-questions@freebsd.org
Sent: Friday, February 16, 2007 12:08:13 PM
Subject: Re: Building Home Server

Did you run cmd.exe? Really?

This is really strange. If I go to run and then enter ipconfig /all, it 
prints everything out in a flash then disappears, so I don't have time to read 
the information. If I go to run and type in cmd.exe and then type in 
ipconfig /all it tells me the command doesn't exist!

1. Login as root
2. Start sysinstall
3. Go to Configure/Networking/Interfaces
4. Select your NIC card
5. When it asks to configure with IPv6, say NO
6. When it asks to configure with DHCP, say YES

That's all.

Worked like a charm ;) Thanks!
Drew






 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Building Home Server

2007-02-16 Thread Nagy László Zsolt


  
You could try opening a command prompt (cmd/command in run) and running 
it, that way it won't close after it exits.



Yeah, I thought of that, unfortunately I get the response that id doesn't recognize the 
command! Yet run does recognize the command! Go figure!
  
It must be Win98 Win95 or Windows ME. The command interpreter is called 
command.exe on DOS/Win9x/ME systems. On Windows NT, 2000, 2003 the 
interpreter is called cmd.exe. However, command.exe also present on 
the newer systems, for compatibility reasons. command.exe is a 16 bit 
program. cmd.exe is a 32bit program. I think I'm a bit offtopic here - 
this list is about FreeBSD. :-)


 Laszlo

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


Re: kernel make fails

2007-02-16 Thread Jeffrey Goldberg

On Feb 15, 2007, at 11:45 PM, Gary Schenk wrote:

After editing and successfully running make cleandepend and make  
depend,

my custom kernel failed during make with this output:



: undefined reference to `ieee80211_next_scan'
*** Error code 1


If you have removed all Wireless LAN stuff your kernel, then also  
comment out ural (USB wireless).


This isn't properly documented in the NOTES or GENERIC comments, and  
the Handbook doesn't even mention ural.


Like you, I discovered this the hard way.

Here are excerpts from my kernel configuration file.

# Wireless NIC cards
#device wlan# 802.11 support
#device wlan_wep# 802.11 WEP support
#device wlan_ccmp   # 802.11 CCMP support
#device wlan_tkip   # 802.11 TKIP support
#device an  # Aironet 4500/4800 802.11 wireless  
NICs.

#device ath # Atheros pci/cardbus NIC's
#device ath_hal # Atheros HAL (Hardware Access Layer)
#device ath_rate_sample # SampleRate tx rate control for ath
#device awi # BayStack 660 and others
#device ral # Ralink Technology RT2500 wireless  
NICs.
#device wi  # WaveLAN/Intersil/Symbol 802.11  
wireless NICs.

#device wl  # Older non 802.11 Wavelan wireless NIC.

# USB support
device  uhci# UHCI PCI-USB interface
device  ohci# OHCI PCI-USB interface
device  ehci# EHCI PCI-USB interface (USB 2.0)
device  usb # USB Bus (required)
#device udbp# USB Double Bulk Pipe devices
device  ugen# Generic
device  uhid# Human Interface Devices
device  ukbd# Keyboard
device  ulpt# Printer
device  umass   # Disks/Mass storage - Requires scbus  
and da

device  ums # Mouse
# ural requires WLAN support
#device ural# Ralink Technology RT2500USB  
wireless NICs

device  urio# Diamond Rio 500 MP3 player
device  uscanner# Scanners




Re: Invisible process killing the CPU

2007-02-16 Thread Nagy László Zsolt




Whats the output of systat -vmstat 1 ?

  1 usersLoad  1.20  1.18  1.15  Feb 16 17:54

Mem:KBREALVIRTUAL VN PAGER  SWAP PAGER
   Tot   Share  TotShareFree in  out in  out
Act  133548   13636   43550416200  272372 count
All  234084   2139224241081227768 pages
Interrupts
Proc:r  p  d  s  wCsw  Trp  Sys  Int  Sof  Flt897 cow1229 total
1   63  1852 656022082  8353 6268  63496 wire1: 
atkb
   62456 act 4: 
sio0
21.2%Sys   0.0%Intr 78.8%User  0.0%Nice  0.0%Idl   106940 inact   109 
19: rl0
||||||||||   2224 cache   
20: ata
===   270148 free112 
23: vr0
 daefr  1008 
cpu0: time

Namei Name-cacheDir-cache4960 prcfr
   Calls hits% hits% react
   6357356922   90   pdwake
4324 zfodpdpgs
Disks   ad4   ad6  20 ozfod   intrn
KB/t   0.00  0.00 %slo-z61456 buf
tps   0 05530 tfree44 dirtybuf
MB/s   0.00  0.00   35656 desiredvnodes
% busy0 05056 numvnodes
1944 freevnodes



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


Panic and Dump

2007-02-16 Thread Drew Jenkins
20Hi;
I've just built a new machine with two drives, one for Windoze and one for 
FBSD. Although I've built this according to specs, there seems to be a problem 
with the motherboard, because I've had a number of occasions where the computer 
automatically shuts down. I can now run Windoze without any problems. However, 
when I went to install python from ports in FBSD, it crashed. When I booted 
back up and tried again, it gave me this error:

mode = 0100644 inum = 2290285, fs = usr
panic: ffs_valloc: dub alloc
Uptime 47s
Cannot dump. No dump device defined.

Now, clearly, I've got to figure out why the computer is crashing...that's 
another problem, and I'll work with the motherboard company on that. But how do 
I fix this dumping problem?
TIA,
 Drew




 

Do you Yahoo!?
Everyone is raving about the all-new Yahoo! Mail beta.
http://new.mail.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


How to get best results from FreeBSD-questions

2007-02-16 Thread Greg Lehey

How to get the best results from FreeBSD questions.
===

Last update $Date: 2005/08/10 02:21:44 $

This is a regular posting to the FreeBSD questions mailing list.  If
you got it in answer to a message you sent, it means that the sender
thinks that at least one of the following things was wrong with your
message:

- You left out a subject line, or the subject line was not appropriate.
- You formatted it in such a way that it was difficult to read.
- You asked more than one unrelated question in one message.
- You sent out a message with an incorrect date, time or time zone.
- You sent out the same message more than once.
- You sent an 'unsubscribe' message to FreeBSD-questions.

If you have done any of these things, there is a good chance that you
will get more than one copy of this message from different people.
Read on, and your next message will be more successful.

This document is also available on the web at
http://www.lemis.com/questions.html.

=

Contents:

I:Introduction
II:   How to unsubscribe from FreeBSD-questions
III:  Should I ask -questions or -hackers?
IV:   How to submit a question to FreeBSD-questions
V:How to answer a question to FreeBSD-questions

I: Introduction
===

This is a regular posting aimed to help both those seeking advice from
FreeBSD-questions (the newcomers), and also those who answer the
questions (the hackers).

   Note that the term hacker has nothing to do with breaking
   into other people's computers.  The correct term for the latter
   activity is cracker, but the popular press hasn't found out
   yet.  The FreeBSD hackers disapprove strongly of cracking
   security, and have nothing to do with it.

In the past, there has been some friction which stems from the
different viewpoints of the two groups.  The newcomers accused the
hackers of being arrogant, stuck-up, and unhelpful, while the hackers
accused the newcomers of being stupid, unable to read plain English,
and expecting everything to be handed to them on a silver platter.  Of
course, there's an element of truth in both these claims, but for the
most part these viewpoints come from a sense of frustration.

In this document, I'd like to do something to relieve this frustration
and help everybody get better results from FreeBSD-questions.  In the
following section, I recommend how to submit a question; after that,
we'll look at how to answer one.

II:  How to unsubscribe from FreeBSD-questions
==

When you subscribed to FreeBSD-questions, you got a welcome message
from [EMAIL PROTECTED]  In this message, amongst
other things, it told you how to unsubscribe.  Here's a typical
message:

  Welcome to the freebsd-questions@freebsd.org mailing list!

If you ever want to unsubscribe or change your options (eg, switch to
or from digest mode, change your password, etc.), visit your
subscription page at:

  http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED]
  
(obviously, substitute your mail address for [EMAIL PROTECTED]).  You can
also make such adjustments via email by sending a message to:

  [EMAIL PROTECTED]
  
with the word 'help' in the subject or body (don't include the
quotes), and you will get back a message with instructions.

You must know your password to change your options (including
changing the password, itself) or to unsubscribe.
  
Normally, Mailman will remind you of your freebsd.org mailing list
passwords once every month, although you can disable this if you
prefer.  This reminder will also include instructions on how to
unsubscribe or change your account options.  There is also a button on
your options page that will email your current password to you.

  Here's the general information for the list you've
  subscribed to, in case you don't already have it:

  FREEBSD-QUESTIONS   User questions
  This is the mailing list for questions about FreeBSD.  You should not
  send how to questions to the technical lists unless you consider the
  question to be pretty technical.

Normally, unsubscribing is even simpler than the message suggests: you
don't need to specify your mail ID unless it is different from the one
which you specified when you subscribed.

If Majordomo replies and tells you (incorrectly) that you're not on
the list, this may mean one of two things:

  1.  You have changed your mail ID since you subscribed.  That's where
  keeping the original message from majordomo comes in handy.  For
  example, the sample message above shows my mail ID as
  [EMAIL PROTECTED]  Since then, I have changed it to
  [EMAIL PROTECTED]  If I were to try to remove [EMAIL PROTECTED] from
  the list, it would fail: I would have to specify the name with
  which I joined.

  2.  You're subscribed to a mailing list which is subscribed to
  

The Complete FreeBSD: errata and addenda

2007-02-16 Thread Greg Lehey
The trouble with books is that you can't update them the way you can a web page
or any other online documentation.  The result is that most leading edge
computer books are out of date almost before they are printed.  Unfortunately,
The Complete FreeBSD, published by O'Reilly, is no exception.  Inevitably, a
number of bugs and changes have surfaced.

The Complete FreeBSD has been through a total of five editions, including its
predecessor Installing and Running FreeBSD.  Two of these have been reprinted
with corrections.  I maintain a series of errata pages.  Start at
http://www.lemis.com/errata-4.html to find out how to get the errata
information.

Note also that the book has now been released for free download in PDF
form.  Instead of downloading the changed pages, you may prefer to
download the entire book.  See http://www.lemis.com/grog/Documentation/CFBSD/ 
for more information.

Have you found a problem with the book, or maybe something confusing?
Please let me know: I'm no longer constantly updating it, but I may be
able to help

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


AWE64 not working.

2007-02-16 Thread Gary Kline
Last night I verfied that the AWE64 is indeed the sound card in
my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no audio.  
dmesg gives me this::


sbc0: Creative SB AWE64 at port 0x240-0x24f,0x340-0x341 irq 9 drq 1,5 on isa0
sbc0: [GIANT-LOCKED]

Any sound gurus out there with some clues for my nezt-step?

gary



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: AWE64 not working.

2007-02-16 Thread Ariff Abdullah
On Fri, 16 Feb 2007 09:13:00 -0800
Gary Kline [EMAIL PROTECTED] wrote:
   Last night I verfied that the AWE64 is indeed the sound card
   in my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no
   audio.   dmesg gives me this::
 
 
 sbc0: Creative SB AWE64 at port 0x240-0x24f,0x340-0x341 irq 9 drq
 1,5 on isa0 sbc0: [GIANT-LOCKED]
 
   Any sound gurus out there with some clues for my nezt-step?
 
 

What snd modules are loaded/compiled ?


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpUf9hxPGnur.pgp
Description: PGP signature


Re: Building Home Server

2007-02-16 Thread Drew Jenkins
!-- DIV {margin:0px;}--- Original Message 
From: Robert C Wittig [EMAIL PROTECTED]
To: Drew Jenkins [EMAIL PROTECTED]
Sent: Friday, February 16, 2007 1:11:38 PM
Subject: Re: Building Home Server

Is this a Windows box or a BSD box, that you are trying to run a server on?

Both:
a hard drive for each. This is only a personal server. My workhorse is
located elsewhere. But I'm tired of having problems with experimenting
on my workhorse! Once I get this built, then whenever I try something
new, I'll try it on this unit, then once it works build it on the
workhorse. You know, like you're supposed to do it ;)

If you are looking for information on how to set up something similar, I 
have an excellent grasp, how to do it, up to and including setting up a 
very basic PF, to keep the crackers out.

Fire away! I'd love to see your packet filters and anything else you have that 
you think would be of interest! Thanks!
Drew









 

Cheap talk?
Check out Yahoo! Messenger's low PC-to-Phone call rates.
http://voice.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AWE64 not working.

2007-02-16 Thread Gary Kline
On Sat, Feb 17, 2007 at 01:27:36AM +0800, Ariff Abdullah wrote:
 On Fri, 16 Feb 2007 09:13:00 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
  Last night I verfied that the AWE64 is indeed the sound card
  in my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no
  audio.   dmesg gives me this::
  
  
  sbc0: Creative SB AWE64 at port 0x240-0x24f,0x340-0x341 irq 9 drq
  1,5 on isa0 sbc0: [GIANT-LOCKED]
  
  Any sound gurus out there with some clues for my nezt-step?
  
  

Hm, every one is built; I have kld[loaded|unloaded] all from the
cmdline to no avail.  --I *might* have the spkr banana plug in
the wrong jack; doubt it.  I've tried almost every combo of *.ko
modules I can think of  to no avail.   Is there some mix of
hints that I  need to dump into the /boot/* directory?

gary

 
 What snd modules are loaded/compiled ?
 
 
 --
 Ariff Abdullah
 FreeBSD
 
 ... Recording in stereo is obviously too advanced
 and confusing for us idiot * users :P 



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: VESA mode 132x43

2007-02-16 Thread [EMAIL PROTECTED]

On 15/02/07, Guillermo Gutierrez [EMAIL PROTECTED] wrote:

Can anyone here help me with my issue below?

-- Forwarded message --
From: Remko Lodder [EMAIL PROTECTED]
Date: Feb 15, 2007 6:32 AM
Subject: Re: VESA mode 132x43
To: Guillermo Gutierrez [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Guillermo Gutierrez wrote:
 I have compiled VESA support into the kernel and when I try to set the
 resolution to 132x43 using vidcontrol, I see the cursor but that is all.
No
 text and the size of the console appears to have shrunk because it wont
 scle
 to th esize of my monitor which can handle a resolution [EMAIL PROTECTED]

 I could really use some help because I would like to e able to use a
 resolution higher than 80x60.


vidcontrol -i mode
to see supported modes
the ones you are looking for are probably the graphical modes
vidcontrol MODE_279
for [EMAIL PROTECTED]
or
vidcontrol MODE_282
for [EMAIL PROTECTED]
assuming your card has enough memory.

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


Re: AWE64 not working.

2007-02-16 Thread Ariff Abdullah
On Fri, 16 Feb 2007 09:48:38 -0800
Gary Kline [EMAIL PROTECTED] wrote:
 On Sat, Feb 17, 2007 at 01:27:36AM +0800, Ariff Abdullah wrote:
  On Fri, 16 Feb 2007 09:13:00 -0800
  Gary Kline [EMAIL PROTECTED] wrote:
 Last night I verfied that the AWE64 is indeed the sound card
 in my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no
 audio.   dmesg gives me this::
   
   
   sbc0: Creative SB AWE64 at port 0x240-0x24f,0x340-0x341 irq 9
   drq 1,5 on isa0 sbc0: [GIANT-LOCKED]
   
 Any sound gurus out there with some clues for my nezt-step?
   
   
 
   Hm, every one is built; I have kld[loaded|unloaded] all from
   the cmdline to no avail.  --I *might* have the spkr banana
   plug in the wrong jack; doubt it.  I've tried almost every
   combo of *.ko modules I can think of  to no avail.   Is there
   some mix of hints that I  need to dump into the /boot/*
   directory?
 

Try to remove everything from your kernel and use modules. You need
both snd_sb16 and snd_sbc loaded.

   gary
 
  
  What snd modules are loaded/compiled ?
  
 
 


--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
and confusing for us idiot * users :P 


pgpSLiOth8ntA.pgp
Description: PGP signature


Zoom 3075 PCMCIA modem in FreeBSD

2007-02-16 Thread Howard Wilkinson
Did you resolve the Zoom  3075 modem question? I'm looking for a
laptop modem for linux and considering this modem.  Haven't finalized my
distributiion choice for the laptop yet but currently working with SUSE
10.1, may go to Mandriva or Ubuntu 64bit.

Howard[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: Building Home Server

2007-02-16 Thread Ziad Badawi

regarding the ip config, you could type:
ipconfig /all | more
or
ipconfig /all out.txt
In the second way you'll find the configuration in out.txt

On 2/16/07, Nagy László Zsolt [EMAIL PROTECTED] wrote:




 You could try opening a command prompt (cmd/command in run) and running
 it, that way it won't close after it exits.


 Yeah, I thought of that, unfortunately I get the response that id
doesn't recognize the command! Yet run does recognize the command! Go
figure!

It must be Win98 Win95 or Windows ME. The command interpreter is called
command.exe on DOS/Win9x/ME systems. On Windows NT, 2000, 2003 the
interpreter is called cmd.exe. However, command.exe also present on
the newer systems, for compatibility reasons. command.exe is a 16 bit
program. cmd.exe is a 32bit program. I think I'm a bit offtopic here -
this list is about FreeBSD. :-)

  Laszlo

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





--
The mind is a terrible thing to waste !
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AWE64 not working.

2007-02-16 Thread Gary Kline
On Sat, Feb 17, 2007 at 02:04:14AM +0800, Ariff Abdullah wrote:
 On Fri, 16 Feb 2007 09:48:38 -0800
 Gary Kline [EMAIL PROTECTED] wrote:
  On Sat, Feb 17, 2007 at 01:27:36AM +0800, Ariff Abdullah wrote:
   On Fri, 16 Feb 2007 09:13:00 -0800
   Gary Kline [EMAIL PROTECTED] wrote:
Last night I verfied that the AWE64 is indeed the sound card
in my Kayak running 6.2, p#3.  Still, no /dev/dsp, and no
audio.   dmesg gives me this::


sbc0: Creative SB AWE64 at port 0x240-0x24f,0x340-0x341 irq 9
drq 1,5 on isa0 sbc0: [GIANT-LOCKED]

Any sound gurus out there with some clues for my nezt-step?


  
  Hm, every one is built; I have kld[loaded|unloaded] all from
  the cmdline to no avail.  --I *might* have the spkr banana
  plug in the wrong jack; doubt it.  I've tried almost every
  combo of *.ko modules I can think of  to no avail.   Is there
  some mix of hints that I  need to dump into the /boot/*
  directory?
  
 
 Try to remove everything from your kernel and use modules. You need
 both snd_sb16 and snd_sbc loaded.


In my KERNCONF is 
device sound
device snd_sbc

and that's it.

I'll turn on snd_sb16 and reboot. 

 
  gary
  
   
   What snd modules are loaded/compiled ?
   
  
  
 
 
 --
 Ariff Abdullah
 FreeBSD
 
 ... Recording in stereo is obviously too advanced
 and confusing for us idiot * users :P 



-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


Re: Building Home Server

2007-02-16 Thread Drew Jenkins
- Original Message 
From: Ziad Badawi [EMAIL PROTECTED]
To: Nagy László Zsolt [EMAIL PROTECTED]
Cc: freebsd-questions@freebsd.org
Sent: Friday, February 16, 2007 1:42:53 PM
Subject: Re: Building Home Server

regarding the ip config, you could type:
ipconfig /all | more
or
ipconfig /all out.txt
In the second way you'll find the configuration in out.txt

Firstly, this discussion is now OT and not necessary, since the problem has 
been solved, but interesting at least to me nonetheless. Secondly, I ran the 
first command and watched the data scroll by for 2 seconds then disappear. On 
the out.txt, I ran a search for the same and it wasn't to be found on my hard 
drive. Ah, well! Good ideas! Didn't know those commands work in DOS, too ;)
Drew






 

Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Invisible process killing the CPU

2007-02-16 Thread Nagy László Zsolt

Laszlo Nagy wrote:
75% user, 24.2% system, 0.0% idle. Despite those stats, I do not see 
what is eating up 100% cpu time. I already restarted the computer but 
it is the same. This problem started some hours ago. The CPU is hot, I 
can feel it on the air stream pouring out the computer case. There are 
more people that should work with this computer, but they can't. It is 
terribly slow. Please help me.
Probably it is not a problem with the kernel (it was working before) but 
I tried to upgrade to the latest 6.2 branch. make buildworld is so 
incredibly slow that I don't think it will finish within a week. :-( 
Compilation starts, but the C compiler only gets about 0.3% CPU time. 
The remaining 99.7% is lost somewhere. :-(


 Laszlo

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


Re: Invisible process killing the CPU

2007-02-16 Thread Joe Holden

Nagy László Zsolt wrote:

Laszlo Nagy wrote:
75% user, 24.2% system, 0.0% idle. Despite those stats, I do not see 
what is eating up 100% cpu time. I already restarted the computer but 
it is the same. This problem started some hours ago. The CPU is hot, I 
can feel it on the air stream pouring out the computer case. There are 
more people that should work with this computer, but they can't. It is 
terribly slow. Please help me.
Probably it is not a problem with the kernel (it was working before) but 
I tried to upgrade to the latest 6.2 branch. make buildworld is so 
incredibly slow that I don't think it will finish within a week. :-( 
Compilation starts, but the C compiler only gets about 0.3% CPU time. 
The remaining 99.7% is lost somewhere. :-(


 Laszlo
Possible hardware problem perhaps? Are you able to run a burn-in test 
on the machine?


Stabbing in the dark really.

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


Re: if_nfe on nVidia chipset

2007-02-16 Thread Brian Smith

Shigeaki Tagashira wrote:

Hello,

Please try to use generic PHY driver (ukphy) instead of e1000phy; 
i.e., use nfe without the patch for e1000phy.
I've switched to FreeBSD 7 and I think the e100phy.c patches are already 
in the source tree?


Is there an unpatched version for FreeBSD 7?

Thanks.

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


Re: Invisible process killing the CPU

2007-02-16 Thread Nagy László Zsolt


Possible hardware problem perhaps? Are you able to run a burn-in 
test on the machine?
What is that? How can I perform that? (Tomorrow the machine will be 
free, I can play with it.)
I can imagine that the processor is overheated and so the frequency was 
reduced by the BIOS. But that does not explain why I cannot see the 
process using the CPU. An invisible process eating up CPU time cannot be 
a hardware problem, can it?


Stabbing in the dark really.

Mee too. :-(

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


Re: Invisible process killing the CPU

2007-02-16 Thread Chuck Swiger

On Feb 16, 2007, at 10:54 AM, Nagy László Zsolt wrote:
Possible hardware problem perhaps? Are you able to run a burn-in  
test on the machine?
What is that? How can I perform that? (Tomorrow the machine will be  
free, I can play with it.)
I can imagine that the processor is overheated and so the frequency  
was reduced by the BIOS. But that does not explain why I cannot see  
the process using the CPU. An invisible process eating up CPU time  
cannot be a hardware problem, can it?


One possibility is that your CPU fan has failed, in which case newer  
machines would downclock itself extremely in order to avoid burning  
out-- that might be an explanation for why your performance has  
decreased so much.  Otherwise, try using ps auxw to show all of the  
processes which are running and see whether there are surprising  
things, or perhaps try top -o time to sort by accumulated CPU time  
and look at what's consuming the most...


--
-Chuck

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


Re: Invisible process killing the CPU

2007-02-16 Thread Sergey Zaharchenko
Hello Nagy!

Fri, Feb 16, 2007 at 05:54:18PM +0100 you wrote:

[ systat -vmstat 1 ]
 Namei Name-cacheDir-cache   4960 prcfr
  

Looks like processes on this system are forking at a rate of 5000/sec.
The `last pid' in the top output should be incrementing like mad. The
processes finish before top gets to see them for a long enough time, so
you don't get to see a single process eating up all cpu.

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpHHUve85SeK.pgp
Description: PGP signature


Re: Invisible process killing the CPU

2007-02-16 Thread Nagy László Zsolt




One possibility is that your CPU fan has failed, in which case newer 
machines would downclock itself extremely in order to avoid burning 
out-- that might be an explanation for why your performance has 
decreased so much.  
The cpu fan is not failed. This was the first thing I checked before I 
wrote to this list. The fan is spinning.


In my understanding, if the freq goes down then each program will use 
more of the total CPU time because of  the less computing capacity. So, 
having two processes, instead of 10% + 10% (total 20%) it would be 50% + 
50% (total 100%). But this is not the case. On this computer, everything 
is at 0% but the total CPU is at 100%.


Otherwise, try using ps auxw to show all of the processes which are 
running and see whether there are surprising things, 
I do not know enough about FreeBSD to tell what is surprising. :-( Would 
it help to send the output here?
or perhaps try top -o time to sort by accumulated CPU time and look 
at what's consuming the most...

Most CPU time is for the ppp daemon:

 PID USERNAME THR PRI NICE   SIZERES STATETIME   WCPU 
COMMAND

 244 root   1  960  3404K  2084K select   1:40  0.00% ppp

but I don't think that ppp is causing the problem, since it is at WCPU 0%.

Best,

  Laszlo

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


Re: Invisible process killing the CPU

2007-02-16 Thread Sergey Zaharchenko
Hello Nagy!

Fri, Feb 16, 2007 at 10:25:03PM +0300 I wrote:

 [ systat -vmstat 1 ]
  Namei Name-cacheDir-cache   4960 prcfr
   
 
 Looks like processes on this system are forking at a rate of 5000/sec.

Ouch, that's pages freed by exiting processes, not process forks (gotta
get some sleep). Anyway, if this is persistent, then some processes are
exiting all the time, and they have to get created somehow, so the
scenario is the same...

-- 
DoubleF
No virus detected in this message. Ehrm, wait a minute...
/kernel: pid 56921 (antivirus), uid 32000: exited on signal 9
Oh yes, no virus:)


pgpS17j1kaAjF.pgp
Description: PGP signature


Re: Diagnosing fan problem

2007-02-16 Thread Robert Marella
On Thu, 15 Feb 2007 12:19:50 -0500
Jesse Sheidlower [EMAIL PROTECTED] wrote:

 
 I have a ThinkPad T41p that has had a variety of fan problems
 for some time. After my most recent repair things seemed to be
 working fine, but the other day I was compiling some ports and
 the machine just shut down in the middle; after some
 experimentation it seemed clear that it was just overheating
 under load and shutting itself off. (Looking at the
 temperature sysctl showed that it was getting increasingly hot
 until it crashed.)
 
 How can I monitor what is happening? Are there any ways I can
 find out from FreeBSD if the fan is even on, or how it thinks
 it is working? systcl -a | grep fan didn't return anything.
 Can I control the fan?
 
 I don't want to make yet another warranty call if they're
 gonna say, It's working fine, it's your OS or something.
 
 Thanks.
 
 Jesse Sheidlower


Aloha Jesse

I know this is not what you are asking but my daughter had a problem
with her laptop overheating and shutting down and this fixed it.

http://www.sundialmicro.com/Note-Book-Coolers_1731.html

Of course hers was not under any warranty.

I hope this helps.

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


Re: Release 6.2

2007-02-16 Thread Preston Hagar

On 2/16/07, York Rapp [EMAIL PROTECTED] wrote:


Hello Guys.

I am looking for a DVD Image of Release 6.2 to download, but
unfortunately (stupid as I am ;-)) I cannot find it.

Can you give me an information or a link of a mirror.

Would be very kind.

Thank you for your trouble.

--
Cordiali saluti, / Best regards, / Mit freundlichen Gruessen,

York

Make each day count.

Chiacchiera con i tuoi amici in tempo reale!
http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




I was just wondering the same thing and I found this:

http://35.9.68.172/people/tigner/bsddvd.html

It is how to make the two CD images into one DVD image.  I got a little
tired as well with switching the CDs in and out.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Invisible process killing the CPU

2007-02-16 Thread Nagy László Zsolt



Ouch, that's pages freed by exiting processes, not process forks (gotta
get some sleep). Anyway, if this is persistent, then some processes are
exiting all the time, and they have to get created somehow, so the
scenario is the same...
  

Yess!
That was it! Thank you so much! :-)

There was a program that forked another in a loop. The forked program 
was working for days, but now it is throwing an error. You were right. 
The parent process was starting the child process at an incredibly rate. 
And you were also right in that, since the child processes were running 
only for some msec, they where not recognized by top and so they were 
not shown.


You are a genious! :-) Thank you!

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


Re: Invisible process killing the CPU

2007-02-16 Thread Nagy László Zsolt



[ systat -vmstat 1 ]


Namei Name-cacheDir-cache   4960 prcfr
  

  

Looks like processes on this system are forking at a rate of 5000/sec.



Ouch, that's pages freed by exiting processes, not process forks (gotta
get some sleep). Anyway, if this is persistent, then some processes are
exiting all the time, and they have to get created somehow, so the
scenario is the same...
  
Now the CPU is almost idle. :-) However, the prcfr value is still 
between 400 and 500. Is that normal?


 Laszlo

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


named already running?

2007-02-16 Thread Andrea Venturoli

Hello.

I'm getting this on several different 6.x servers:

 # sh /etc/rc.d/named restart
 Stopping named.
 named already running? (pid=xxx).

and named won't restart; if I then

 # sh /etc/rc.d/named start
 Starting named.

it works fine.


Is this happening to other people? What could be the reason?
It's nothing critical, only a bit annoying, but I'm curious...

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


Re: named already running?

2007-02-16 Thread Oliver Koch
Hi,

Andrea Venturoli schrieb:

 I'm getting this on several different 6.x servers:
 
 # sh /etc/rc.d/named restart
 Stopping named.
 named already running? (pid=xxx).
 
 and named won't restart; if I then
 
 # sh /etc/rc.d/named start
 Starting named.
 
 it works fine.
 
 
 Is this happening to other people? What could be the reason?
 It's nothing critical, only a bit annoying, but I'm curious...

it is possible that your named needs some time to be stopped and that
your script wants to start named again before it hasn't been stopped
completely. You could try to add a sleep x seconds between the stop
and the start command.

Kind regards,

Oliver

-- 
Oliver Koch  Phone:  +49-(0)5323-72-2626
Computer Center  Fax:+49-(0)5323-72-3536
Clausthal University of Technology   E-Mail: [EMAIL PROTECTED]
Erzstraße 51 Web:  http://www.rz.tu-clausthal.de
38678 Clausthal-Zellerfeld, Germany



signature.asc
Description: OpenPGP digital signature


How to display an icon on the desktop

2007-02-16 Thread Olivier Regnier

Hello,

Do you know a program or an command line to display an icon on my desktop ?

I don't want idesk or bbdesk :-$

Thank you :-)

--
Cheers,
Olivier Regnier

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


Re: named already running?

2007-02-16 Thread Giorgos Keramidas
On 2007-02-16 22:56, Andrea Venturoli [EMAIL PROTECTED] wrote:
 Hello.
 
 I'm getting this on several different 6.x servers:
 
  # sh /etc/rc.d/named restart
  Stopping named.
  named already running? (pid=xxx).
 
 and named won't restart; if I then
 
  # sh /etc/rc.d/named start
  Starting named.
 
 it works fine.
 
 Is this happening to other people? What could be the reason?
 It's nothing critical, only a bit annoying, but I'm curious...

yes.  I've seen it happen too.  I think it's a timing issue between the
process going away and the new named trying to start.  I haven't tried
to find the *real* cause of this, but it may be worth filing a problem
report, even if it's not a critical bug :)

___
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 display an icon on the desktop

2007-02-16 Thread Giorgos Keramidas
On 2007-02-16 23:33, Olivier Regnier [EMAIL PROTECTED] wrote:
 Hello,
 
 Do you know a program or an command line to display an icon on my desktop ?
 
 I don't want idesk or bbdesk :-$

This is not easy to answer without knowing what your desktop runs.
Some 'desktop environments' can do this.  Others can not.

___
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 display an icon on the desktop

2007-02-16 Thread Olivier Regnier

Giorgos Keramidas a écrit :

On 2007-02-16 23:33, Olivier Regnier [EMAIL PROTECTED] wrote:
  

Hello,

Do you know a program or an command line to display an icon on my desktop ?

I don't want idesk or bbdesk :-$



This is not easy to answer without knowing what your desktop runs.
Some 'desktop environments' can do this.  Others can not.

  
Sorry i forgot to specify this information. Im currently running Openbox 
3 on FreeBSD 6.2.


Thank you :)

--
Cheers,
Olivier Regnier

___
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 display an icon on the desktop

2007-02-16 Thread Giorgos Keramidas
On 2007-02-16 23:52, Olivier Regnier [EMAIL PROTECTED] wrote:
Giorgos Keramidas a ?crit :
On 2007-02-16 23:33, Olivier Regnier [EMAIL PROTECTED] wrote:
 Hello,
 Do you know a program or an command line to display an icon on my desktop?

 I don't want idesk or bbdesk :-$

 This is not easy to answer without knowing what your desktop runs.
 Some 'desktop environments' can do this.  Others can not.

 Sorry i forgot to specify this information. Im currently running
 Openbox 3 on FreeBSD 6.2.

I don't think openbox supports desktop icons.  At least, the last time I
checked it out it didn't.

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


SciTe will compile but will not run.

2007-02-16 Thread Grant Wagner
Howdy folks,

 I've installed the scite editor from ports, and it build
beautifully.
However when I run it, I'm getting several errors before a core dump.
The
error message..

(SciTE:5682):Glib-Gobject-WARNING **: specified class size for type
Scintilla is smaller than the parent type's `GtkContainer` class size

Any ideas?

Grant



 

Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Support for Silicon Image 3124 SATA controller?

2007-02-16 Thread Dieter
I don't see the Sil 3124 SATA controller listed in the
6.2 ata(4) man page.  Are there any plans to support it?
I'm told that it is a significant improvement over previous
Sil chips.  It even has documentation!

Overview:
http://www.siliconimage.com/products/product.aspx?id=27
Datasheet:
http://www.siliconimage.com/docs/SiI-DS-0160-C.pdf
Another, longer, datasheet
http://gkernel.sourceforge.net/specs/sii/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Internet Explorer on FreeBSD

2007-02-16 Thread Kevin Downey

I do a bit of web dev stuff so it would be nice to be able to see the
page in IE.
A website I use for work uses ActiveX.
I hate dual booting.
What is the best(easiest) way to run ie on freebsd?

--
The biggest problem with communication is the illusion that it has occurred.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Internet Explorer on FreeBSD

2007-02-16 Thread Giorgos Keramidas
On 2007-02-16 16:15, Kevin Downey [EMAIL PROTECTED] wrote:
 I do a bit of web dev stuff so it would be nice to be able to see the
 page in IE.
 A website I use for work uses ActiveX.
 I hate dual booting.
 What is the best(easiest) way to run ie on freebsd?

For one of the ActiveX sites I regularly have to visit (a stupid thing
which calls itself a Helpdesk Web Application, but is in fact nothing
more than a thin ActiveX wrapper around a very bogusly designed problem
report database), I usually connect to a Windows machine through rdesktop.

I'm not sure if there is a *good* way to run IE on FreeBSD, but if you
do have a Windows machine around, the net/rdesktop port is a very cool
utility to have around :)

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


Re: Internet Explorer on FreeBSD

2007-02-16 Thread Chris
Kevin Downey wrote:
 I do a bit of web dev stuff so it would be nice to be able to see the
 page in IE.
 A website I use for work uses ActiveX.
 I hate dual booting.
 What is the best(easiest) way to run ie on freebsd?
 

Four ways - in order of ease to hardness

1. Separate box that IS Windows.
2. Dual Boot
3. VMWare (or some equivalent)
4. Wine (God Luck)


-- 
Best regards,
Chris

Nothing is ever accomplished by a reasonable man.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Managed Switch Implementation

2007-02-16 Thread Y Sidhu

Is there anyone who has experience in developing port mirroring in FBSD? I
am trying to combine 2 devices, a managed switch with a modified firewall.
This device wants to see traffic from, say 3 ports. So, 3 ports in and all
they do is mirror to 1 port internally.

--
Yudhvir Singh Sidhu
408 375 3134 cell
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Managed Switch Implementation

2007-02-16 Thread Chuck Swiger

On Feb 16, 2007, at 4:38 PM, Y Sidhu wrote:
Is there anyone who has experience in developing port mirroring in  
FBSD? I
am trying to combine 2 devices, a managed switch with a modified  
firewall.
This device wants to see traffic from, say 3 ports. So, 3 ports in  
and all

they do is mirror to 1 port internally.


You can implement port mirroring via the existing bridge capabilities.

--
-Chuck

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


Re: Internet Explorer on FreeBSD

2007-02-16 Thread Bill Moran
Kevin Downey [EMAIL PROTECTED] wrote:

 I do a bit of web dev stuff so it would be nice to be able to see the
 page in IE.
 A website I use for work uses ActiveX.
 I hate dual booting.
 What is the best(easiest) way to run ie on freebsd?

In addition to everything else that's been suggested, give qemu
a try.  It's rather slow, but I use it often for an app we need
that only runs on widows.

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


Re: Internet Explorer on FreeBSD

2007-02-16 Thread John Nielsen
On Friday 16 February 2007 19:32, Chris wrote:
 Kevin Downey wrote:
  I do a bit of web dev stuff so it would be nice to be able to see the
  page in IE.
  A website I use for work uses ActiveX.
  I hate dual booting.
  What is the best(easiest) way to run ie on freebsd?

 Four ways - in order of ease to hardness

 1. Separate box that IS Windows.
 2. Dual Boot
 3. VMWare (or some equivalent)
 4. Wine (God Luck)

For current versions of Wine and FreeBSD this definitely won't work (I've 
tried). If you go back a few versions of one or the other or both there 
used to be a combination where wine's memory allocation wasn't hosed up 
under FreeBSD (I think). I don't understand enough about the current 
problem to say more than that, but there's a fair amount of discussion 
about it in various places.

If you do get a happily functioning wine, there's a nice shell script 
(requires bash) package that will automatically fetch the IE binaries and 
dependent packages and set everything up for you. I can't remember what 
it's called offhand, though.

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


Re: Internet Explorer on FreeBSD

2007-02-16 Thread Kris Maglione

On Fri, Feb 16, 2007 at 08:48:38PM -0500, John Nielsen wrote:
If you do get a happily functioning wine, there's a nice shell script 
(requires bash) package that will automatically fetch the IE binaries and 
dependent packages and set everything up for you. I can't remember what 
it's called offhand, though.


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


Re: Advice needed - how did I get into this mess?

2007-02-16 Thread Chris Hill

On Fri, 16 Feb 2007, Roy Plant wrote:

[snip]


2) How do I keep the rest of my ports up to date without
updating PHP 5?


Perhaps you could edit /usr/local/etc/pkgtools.conf to include

  HOLD_PKGS = [
'php-*'
  ]

This should prevent portupgrade from upgrading anything php. Not sure I 
got the name correct; look at the pkg_info for your php installation.


I've used this for other things, but not for PHP. Caveat lector.

HTH.

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


Re: Internet Explorer on FreeBSD

2007-02-16 Thread Eric Schuele

On 02/16/2007 19:11, Bill Moran wrote:

Kevin Downey [EMAIL PROTECTED] wrote:

I do a bit of web dev stuff so it would be nice to be able to see the
page in IE.
A website I use for work uses ActiveX.
I hate dual booting.
What is the best(easiest) way to run ie on freebsd?


In addition to everything else that's been suggested, give qemu
a try.  It's rather slow, but I use it often for an app we need
that only runs on widows.



I'll second the qemu.  And the speed (or lack thereof) is bearable if 
you get kqemu going as well.


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


Unable to upgrade subversion 1.4.2 to 1.4.3 (apache22 db4 support)

2007-02-16 Thread Hans Nieser

Hi list,

I'm trying to upgrade subversion from 1.4.2 to 1.4.3 (as part of a full
system update using 'portupgrade -a') but during compilation it aborts
with the following message:


You should build `www/apache22' with db4 support to use subversion with
it. Please rebuild `www/apache22' with option
`WITH_BERKELYDB=(db4|db41|db42)' and try again.


(or it suggests disabling db4 entirely with WITHOUT_DBD)

Since it doesn't seem like a bad idea to have the DB4 repository backend 
available I decided to recompile apache22 (version 2.2.4) with DB4 support 
by adding the following to the MAKE_ARGS list in /usr/local/etc/pkgtools.conf:


 'www/apache22' = 'WITH_BERKELYDB=db42',

I ran portupgrade -f apache and made sure it was using this make argument. 
After recompilation of apache22 I tried to upgrade subversion again, but 
I'm still getting the exact same error. I checked /usr/ports/UPDATING to 
see if there's anything else I may need to do, but couldn't find anything.


Can someone tell me what I'm doing wrong here?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Internet Explorer on FreeBSD

2007-02-16 Thread Kevin Downey

On 2/16/07, Eric Schuele [EMAIL PROTECTED] wrote:

On 02/16/2007 19:11, Bill Moran wrote:
 Kevin Downey [EMAIL PROTECTED] wrote:
 I do a bit of web dev stuff so it would be nice to be able to see the
 page in IE.
 A website I use for work uses ActiveX.
 I hate dual booting.
 What is the best(easiest) way to run ie on freebsd?

 In addition to everything else that's been suggested, give qemu
 a try.  It's rather slow, but I use it often for an app we need
 that only runs on widows.


I'll second the qemu.  And the speed (or lack thereof) is bearable if
you get kqemu going as well.

--
Regards,
Eric


I see.
rdesktop would be great if I had windows installed anywhere :P
Well, thanks everyone

--
The biggest problem with communication is the illusion that it has occurred.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: AWE64 not working.

2007-02-16 Thread Gary Kline
On Fri, Feb 16, 2007 at 10:12:19AM -0800, Gary Kline wrote:
 On Sat, Feb 17, 2007 at 02:04:14AM +0800, Ariff Abdullah wrote:

[[ ... ]]

  
  Try to remove everything from your kernel and use modules. You need
  both snd_sb16 and snd_sbc loaded.
 
 
   In my KERNCONF is 
   device sound
   device snd_sbc
 
   and that's it.
 
   I'll turn on snd_sb16 and reboot. 
 

Adding snd_sb16 made things work symbolically; but it wasn't
until I plugged the speaker into the right socket ( :-| ) that
I actually *heard* any sound!   ...Sometimes I wonder about 
myself .


-- 
  Gary Kline  [EMAIL PROTECTED]   www.thought.org  Public Service Unix

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


new file notification

2007-02-16 Thread csevern
I have been looking for some kind of freebsd software that will  
monitor specific directories and then email notify an email address  
when new files have been added.


I have searched the ports tree with no success. If anyone has an idea  
of a solution and/or a combanation of ports that will achieve this  
task, i would appreciate it very much.


thank you for your time,
chris

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


Re: new file notification

2007-02-16 Thread Peter
Le Vendredi 16 Février 2007 23:35, [EMAIL PROTECTED] a 
écrit :
 I have been looking for some kind of freebsd software that will
 monitor specific directories and then email notify an email address
 when new files have been added.

 I have searched the ports tree with no success. If anyone has an idea
 of a solution and/or a combanation of ports that will achieve this
 task, i would appreciate it very much.

Why not a simple shell script run with cron?

Hint:

DIR=/path/to/target
OLD_FILES=/var/filescheck/number
NEW_FILES=$(ls -al $DIR | grep ^- | wc -l)

if [ $NEW_FILES gt $OLD_FILES ];then
  mail -s new files found in $DIR [EMAIL PROTECTED]  /dev/null
fi

echo $NEW_FILES  $OLD_FILES

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


Re: new file notification

2007-02-16 Thread Peter
Le Samedi 17 Février 2007 00:28, Peter a écrit :
 Le Vendredi 16 Février 2007 23:35, [EMAIL PROTECTED] a

 écrit :
  I have been looking for some kind of freebsd software that will
  monitor specific directories and then email notify an email address
  when new files have been added.
 
  I have searched the ports tree with no success. If anyone has an
  idea of a solution and/or a combanation of ports that will achieve
  this task, i would appreciate it very much.

 Why not a simple shell script run with cron?

 Hint:

 DIR=/path/to/target
 OLD_FILES=/var/filescheck/number
 NEW_FILES=$(ls -al $DIR | grep ^- | wc -l)

 if [ $NEW_FILES gt $OLD_FILES ];then
   mail -s new files found in $DIR [EMAIL PROTECTED]  /dev/null
 fi

 echo $NEW_FILES  $OLD_FILES

Mistake in there.  You need to cat $OLD_FILES
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Fwd: VESA mode 132x43

2007-02-16 Thread Guillermo Gutierrez

whoops, forgot to send it to the list, here it is.

-- Forwarded message --
From: [EMAIL PROTECTED] [EMAIL PROTECTED]
Date: Feb 16, 2007 9:29 AM
Subject: Re: VESA mode 132x43
To: Guillermo Gutierrez [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

On 15/02/07, Guillermo Gutierrez [EMAIL PROTECTED] wrote:

Can anyone here help me with my issue below?

-- Forwarded message --
From: Remko Lodder [EMAIL PROTECTED]
Date: Feb 15, 2007 6:32 AM
Subject: Re: VESA mode 132x43
To: Guillermo Gutierrez [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]

Guillermo Gutierrez wrote:
 I have compiled VESA support into the kernel and when I try to set the
 resolution to 132x43 using vidcontrol, I see the cursor but that is all.
No
 text and the size of the console appears to have shrunk because it wont
 scle
 to th esize of my monitor which can handle a resolution [EMAIL PROTECTED]

 I could really use some help because I would like to e able to use a
 resolution higher than 80x60.


vidcontrol -i mode
to see supported modes
the ones you are looking for are probably the graphical modes
vidcontrol MODE_279
for [EMAIL PROTECTED]
or
vidcontrol MODE_282
for [EMAIL PROTECTED]
assuming your card has enough memory.

--
--


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


Can I Mount A Windoze Drive?

2007-02-16 Thread Drew Jenkins
Newbie question here. I just want to make sure I don't screw anything up. I 
have two hard drives in my box...one for Windoze, one for FBSD. Can I mount the 
former from FBSD and copy over files? Do I navigate it just like a FBSD 
disk...cd, cp, etc?
TIA,
Drew




 

It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can I Mount A Windoze Drive?

2007-02-16 Thread Greg 'groggy' Lehey
[Format recovered--see http://www.lemis.com/email/email-format.html]

Single line message.

On Saturday, 17 February 2007 at 13:46:28 +0700, Drew Jenkins wrote:

 Newbie question here. I just want to make sure I don't screw
 anything up. I have two hard drives in my box...one for Windoze, one
 for FBSD. Can I mount the former from FBSD and copy over files?

Well, you mount file systems, not disks.  But yes, using mount_ntfs
(or, if your Microsoft box is very old, mount_msdos).  In your fstab
you might have:

  /dev/ad2s2  /C: ntfs   rw  0   0

If you now create a directory /C:, and assuming that the drive
partition is correct, this file system will be mounted automatically
when you start the system.  You can mount or unmount it manually with
'mount /C;' and 'umount /C:'.

Which disk?  Look at the device nodes in /dev:

  $ ls -l /dev/ad*
  crw-r-  1 root  operator4,  11 Feb  3 08:41 /dev/ad2
  crw-r-  1 root  operator4,  12 Feb  3 08:41 /dev/ad2s1
  crw-r-  1 root  operator4,  13 Feb  3 08:41 /dev/ad2s2
  crw-r-  1 root  operator4,  14 Feb  3 08:41 /dev/ad2s3
  crw-r-  1 root  operator4,  15 Feb  3 08:41 /dev/ad2s4
  crw-r-  1 root  operator4,  16 Feb  3 08:44 /dev/ad2s4a
  crw-r-  1 root  operator4,  17 Feb  3 08:42 /dev/ad2s4b
  crw-r-  1 root  operator4,  18 Feb  3 08:41 /dev/ad2s4c
  crw-r-  1 root  operator4,  19 Feb  3 08:42 /dev/ad2s4d

The node names ending in letters are BSD partitions; ad2 is the whole
drive one of the others is the Microsoft partition.  fdisk will tell
you which one:

  $ fdisk ad2
  Information from DOS bootblock is:
  The data for partition 1 is:
  sysid 6 (0x06),(Primary 'big' DOS (= 32MB))
  The data for partition 2 is:
  sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
  The data for partition 3 is:
  sysid 219 (0xdb),(CP/M, Concurrent CP/M, Concurrent DOS or CTOS)
  The data for partition 4 is:
  sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)

I've removed unnecessary output from this example.

 Do I navigate it just like a FBSD disk...cd, cp, etc?

In principle, yes.  Microsoft has this stupid idea of embedding spaces
in file names.  You'll see how stupid this is when you have to
navigate them using UNIX commands:

  $ ls -l /C:/WINDOWS
  ...
  drwxr-xr-x  0 yana  home0 Dec  9  2004 Connection Wizard
  ...
  drwxr-xr-x  0 yana  home0 Dec  9  2004 Driver Cache
  $ cd /C:/WINDOWS/Connection Wizard
  bash: cd: /C:/WINDOWS/Connection: No such file or directory
  $ cd '/C:/WINDOWS/Connection Wizard'
  $

This will work if you haven't redefined cd as a macro, like I have
done.  When I try this, I still get the error message.  This problem
will bite you everywhere you go.  You can minimize it by not using
spaces in file names yourself, but you'll constantly have problems
with it otherwise.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgpI8LVEwMw4K.pgp
Description: PGP signature


Re: Can I Mount A Windoze Drive?

2007-02-16 Thread Martin Tournoij
On Sat 17 Feb 2007 13:02, Drew Jenkins wrote:
 Newbie question here. I just want to make sure I don't screw anything up. I 
 have two hard drives in my box...one for Windoze, one for FBSD. Can I mount 
 the former from FBSD and copy over files? Do I navigate it just like a FBSD 
 disk...cd, cp, etc?
 TIA,
 Drew

FreeBSD comes with a readonly ntfs driver.

Assuming your windows partition is ad0s1
mount_ntfs /dev/ad0s1 /mnt/win

fstab entry:
/dev/ad0s1 /mnt/win ntfs  ro,noauto 0 0

You can then copy stuff, for example:
cp /mnt/win/Documents\ and\ Settings/carpetsmoker/Desktop ~/

If you want read support, you might want to try ntfsprogs
(sysutils/ntfsprogs), which has some basic (EXPERIMENTAL!) read
support.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   >