PS/2 console mouse dysfunctional in FreeBSD 5.1

2003-11-04 Thread Lee Hinkleman
Dear freebsd-questions:
My Genius NetScroll+ PS/2 optical mouse was working fine in the console, and in KDE, 
with FreeBSD 4.7, but is not working in the newly installed FreeBSD 5.1 console.
KDE and X haven't been re-installed yet.
In /stand, and from ./sysinstall, and then from 'perform post install configuration', 
and then from the mouse configurator, I've tried several times to select the port as 
/dev/psm0 and the protocol as 'auto' or PS/2. When I test the mouse in the next step, 
the pointer is initially difficult to find and then, with mouse movement, appears as 
if delayed by about 3 seconds, but does seem to move to a reasonable position. While 
moving, the pointer disappears, and then it re-appears when the mouse is stationary.
Thanks for any clues.
Sincerely,
Lee Hinkleman

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


Re: securelevel problems

2003-11-04 Thread Jonathan Chen
On Tue, Nov 04, 2003 at 08:25:57PM +, Wayne Pascoe wrote:

[...]
> however a make installworld is still failing with:
> 
> Stop in /usr/src/include.
> *** Error code 1

It's debatable whether this is a securelevel problem. I would remove
/usr/obj/* and rebuild again.

> I then tried touching my kernel, which also fails, with:
> # touch kernel
> touch: kernel: Operation not permitted

This is 'cos there is an immutable flag set on this file. ie: no one
gets to alter it. chflags(1) for more info.

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Build a man a fire, and he'll be warm for a day.
Set a man on fire, and he'll be warm for the rest of his life.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: OT:php error

2003-11-04 Thread Jonathan Chen
On Tue, Nov 04, 2003 at 05:21:02PM -0500, M.D. DeWar wrote:
> I am hoping someone might know what this issue is.
> I really really don't want to have to join other lists.
> I am reconfiguring php.
> This is the ./configure I am using
> 
> ./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --w
> ith-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local
>  --w
> ith-gd=/usr/local

Wouldn't your life be a lot simpler if you used /usr/ports/www/mod_php[45]?
-- 
Jonathan Chen <[EMAIL PROTECTED]>
--
  Experience is a hard teacher
   because she gives the test first, the lesson afterwards
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread John Smith

On Tue, 04 Nov 2003 11:58:14 -0800
andi payn <[EMAIL PROTECTED]> wrote:

> "Supra-Debians"
> ---
> There are a number of Debian-based distros that will install a complete
> system ready to go as a workstation, server, etc., but that can be
> administered from there just like any other Debian system.
> 
> For example (this is a while back, so it may be out of date), I used
> Libranet in teaching linux, because it installs a complete KDE
> workstation out-of-the-box, but whenever you want (or need) to play with
> something, it's just like a stock Debian box. 
> 
> But don't use Xandros--although it's Debian-based, it's heavily modified
> in peculiar ways.

And there's Knoppix.  David, you said you don't have a lot of time.  You can tinker 
with Knoppix a bit without installing anything or you can do a quick HD install to 
check things out more; it takes maybe 30 minutes, as I recall, but less than an hour, 
at any rate.  Also, there's a live cd for Slackware, but I don't think you can do a HD 
install with it.

> Gentoo
> --
> 
> And, while it's nice to be able to build everything from source, it's
> sometimes nice to not have to. With RPM-based distros, you can build the
> SRPM when you want to, or install the binary RPM when you just want to
> check something out. (How fast can your box build the kernel, XFree86,
> KDE, Mozilla, ghostscript, etc.?)

As far as Gentoo goes, I've got to agree with Andi on this one.  I haven't done a test 
to get the numbers, but it seems like it even takes longer for programs to compile on 
Gentoo than on FreeBSD, or maybe it's just the knowledge that I have no other 
alternative that makes it seem longer.  Also, if I had to install something "in a 
pinch", I wouldn't grab the Gentoo CD.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[Fwd: Re: APC Smart-UPS 620VA]

2003-11-04 Thread whizkid
 Original Message 
Subject: Re: APC Smart-UPS 620VA
From:[EMAIL PROTECTED]
Date:Mon, November 3, 2003 11:04 pm
To:  "Matthew Seaman" <[EMAIL PROTECTED]>
--

A Great port I use is APCUPSD.  I have a APC 1400XL RackMount UPS (got it
on ebay for around $130... I use the serial cable that came with it and
installed the APCUPSD port.  This allows me to monitor the UPS, send
myself an email at work when the power goes out and come back up, as well
as other power draw, battery life, time left on batteries, etc...

>> is the APC Smart-UPS 620VA supported in freebsd?
>> i searched the lists, but didnt find anything on that.
>> anyways, if you can recommend any other APC UPS for freebsd, i'd like
to hear your experiences. if i understand correctly i need a smart UPS
to make freebsd shutdown in case battery gets empty? the UPS i need
should be around 250euros.
>
> FreeBSD itself doesn't have any specific support for UPSes -- so long as
you feed AC into the power supply, FreeBSD will be happy.
>
> In order to interface with a UPS, check out the sysutils/nut port
(http://www.exploits.org/nut/) -- this will let you monitor UPSes
attached to a serial port or attached by USB: pretty much all APC
hardware should be supported, but you may need to use a specific cable.
>
> You don't need a 'smart' UPS per-se but less fancy boxes won't let you
monitor the state of the UPS is such detail.  Generally if the UPS can
indicate it's on battery vs. on mains power then NUT can probably work
with it.
>
>   Cheers,
>
>   Matthew
>
> --
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK
>



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


Emacs on 5.1 CURRENT

2003-11-04 Thread Olivier Nicole
Hi,

I tried to install Emacs from ports on a 5.1 Current box, but it cores
dump when starting.

The box was installed without X support, so when installin
/usr/ports/editors/emacs, il will also install X from the ports.

Install goes OK, but when trying to start Emacs, in a X environment,
it cores dump in libXt.

Any clue on the problem?

Best regards,

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


ipfilter on 5.1 CURRENT

2003-11-04 Thread Olivier Nicole
Hi,

I'd like to run ipfilter on a 5.1 CURRENT box but my problems are many.

1) I discovered that /sys/i386/conf/LINT has disappeared

2) I find no mention of any IPFILETER, ipfilter, ip-filter or
   whatsoever option to add to the kernel

3) I guessed that it may have been automatically build in, but when I
   try to run ipf, it complains about a missing device, I bet it is
   /dev/ipl

4) The usual way to build devices, MAKEDEV does not exist anymore

5) The documentation about devfs is quite limited (to say the least)

6) mknod refuses to create any device, always returning file not found

So why breaking something that was running fine?

And how to run ipf on 5.1

Bests 

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


vlc installation in /usr/ports/multimedia take too long...

2003-11-04 Thread Rommel B. IKEDA
Hi,

I was jsut wondering...How LONG does it take for the 
"/usr/ports/multimedia/vlc" take to get it installed?

I made a "make install clean" on the afternoon November 1st and since it 
did not finished immediately I had to leave my PC on until Today, 
November 4th...The last time I installed OpenOffice from Ports, it did 
not took me 24 Hours to successfully compile it...but "vlc" has not 
stopped yet...Looking at the output, it seems that it is displaying the 
same outputs (although I could not verify it 100%, because it is 
displaying quite fast)...

Is it normal for a Port to be compiled for 3-4 days?  I was just wondering?
I would really appreciate if anyone can help me how to verify that my 
machine is indeed compiling the right way or it is just going in a loop...
What if I would kill it...what would happen?  Can I start 
again...compile from the Ports and encounter no problems?...Oh...by the 
way, I am a Newbie...I do not know how to properly Kill it...

Thank for any help in advance...

Rommel B. Ikeda

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


"FreeBSD have a very low default file handle limit"?

2003-11-04 Thread Zhang Weiwu
I am reading the MySQL manual for 4.4.1-alpha where it said:

"FreeBSD is also known to have a very low default file handle limit." 
(Section 2.4.6.1)

I check the limit by using:

>sh -c ulimit -n 
   
<
unlimited

Though I don't know if this is the correct way to check "default file 
handle limit", but it looks like FreeBSD does not "have a very low 
default file handle limit"?

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


optimize with -O2 or -O?

2003-11-04 Thread Zhang Weiwu
Hello. I'm running 5.1-RELEASE.

I read the gcc man page. It is not clear what -O implys. Is -O equal to 
-O1 or -O2? If I wish to optimize making does it make sense to add 
CFLAGS=-O2 in the make.conf(5)?

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


which linux? (not flame bait, thank you)

2003-11-04 Thread DavidB
First I would like to say that FreeBSD rocks, and have been using it for 
 more than a few years.  I like the ports system, I like compiling from 
source so I can get the compile time features I want.  Portupgrade 
really helps with maintaining ports.

My question is this, I would like to have a little exposure to linux and 
am wondering which distro to run, I used redhat back at the same time I 
started with FreeBSD3~ , not sure if I should check them out.

I had in my list of potentials, slackware, debian, and I was wondering 
what was thought of gentoo(I read that this was started by a former? 
freebsd developer)[I hope there is no bad blood there].

I didn't want to go thru a list, installing and playing with several 
different ones, don't have time for that, I still have to upgrade the 
webserver/mailserver/database box and the desktop box to 4.9 [not much 
to that] or wondering if I should just jump into RELENG_5_1 (I like to 
keep my server and desktop running with the same versions, so I can swap 
the desktop in place of the server should the server box fail, call it 
cheap insurance).

So is there any particular distro that stands out to freebsd types, so I 
can check one out, so in a pinch, if I need to setup a linux box for 
some strange reason I could do so.

Not here to start a religious war, I hope people have calmed down on 
that, but just one simple, perhaps, stupid question.

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


Static (incorrect) ARP entry

2003-11-04 Thread Rolf Mendelsohn
Hi Everybody,

I have a problem with a local ISP who use Alvarion WALKAir 1000 equipment, 
which does a sort of 50 / 50 routing / bridging.

The below is actually public addess space, just using 10 for clarity's sake:

Default Gateway: 10.8.16.1

The provider has given me the following information (changed to private IP 
space for security reasons):

Default Gateway: 10.8.16.1
My IP's: 10.8.23.121 - 126
Subnet Block: 10.8.23.120/29
This works 100% on a windows machine but does not work at all on any unix 
machines.

When my Windows 2000 box is plugged in I get the following:

C:\>arp -a

Interface: 195.8.23.121 on Interface 0x103
 Internet Address  Physical Address  Type
 10.8.16.100-03-40-9c-0a-99 dynamic
C:\>netstat -nr

Route Table

Interface List
0x1 ... MS TCP Loopback interface
0x103 ...00 02 3f 7e 49 40 .. Intel 8255x-based Integrated
Fast Ethernet

Active Routes:
Network DestinationNetmask  Gateway   Interface
Metric
 0.0.0.0  0.0.0.0   10.8.16.110.8.23.121   1
   127.0.0.0255.0.0.0127.0.0.1   127.0.0.1  1
10.8.23.120  255.255.255.248 10.8.23.12110.8.23.121  1
10.8.23.121  255.255.255.255127.0.0.1   127.0.0.11
10.8.23.255  255.255.255.255 10.8.23.12110.8.23.121  1
   224.0.0.0224.0.0.0 10.8.23.12110.8.23.121   1
 255.255.255.255  255.255.255.255 10.8.23.12110.8.23.121  1
Default Gateway:10.8.16.1
==
Persistent Routes:
 None
How do I get a Unix machine to misbehave and accept a gateway which is not 
on it's connected subnet??? Is this happening because on Proxy ARP?

Any help would be most appreciated.

Regards,
Rolf Mendelsohn
IT Consultant (CCNP)
Cyber Operations Angola:
Mobile: +244 (0)92 524 981
_
Add photos to your messages with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: "FreeBSD have a very low default file handle limit"?

2003-11-04 Thread Konrad Heuer

On Tue, 4 Nov 2003, Zhang Weiwu wrote:

> I am reading the MySQL manual for 4.4.1-alpha where it said:
>
> "FreeBSD is also known to have a very low default file handle limit."
> (Section 2.4.6.1)
>
> I check the limit by using:
>
>  >sh -c ulimit -n
>
> <
> unlimited
>
> Though I don't know if this is the correct way to check "default file
> handle limit", but it looks like FreeBSD does not "have a very low
> default file handle limit"?

I'd check the internal kernel limits, too:

sysctl kern.maxfiles
sysctl kern.maxfilesperproc

You can rise them by entering:

sysctl -w kern.maxfiles=the_number_you_need
sysctl -w kern.maxfilesperproc=the_number_you_need

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread Konrad Heuer

On Tue, 4 Nov 2003, DavidB wrote:

> First I would like to say that FreeBSD rocks, and have been using it for
>   more than a few years.  I like the ports system, I like compiling from
> source so I can get the compile time features I want.  Portupgrade
> really helps with maintaining ports.
>
> My question is this, I would like to have a little exposure to linux and
> am wondering which distro to run, I used redhat back at the same time I
> started with FreeBSD3~ , not sure if I should check them out.
>
> I had in my list of potentials, slackware, debian, and I was wondering
> what was thought of gentoo(I read that this was started by a former?
> freebsd developer)[I hope there is no bad blood there].
>
> I didn't want to go thru a list, installing and playing with several
> different ones, don't have time for that, I still have to upgrade the
> webserver/mailserver/database box and the desktop box to 4.9 [not much
> to that] or wondering if I should just jump into RELENG_5_1 (I like to
> keep my server and desktop running with the same versions, so I can swap
> the desktop in place of the server should the server box fail, call it
> cheap insurance).
>
> So is there any particular distro that stands out to freebsd types, so I
> can check one out, so in a pinch, if I need to setup a linux box for
> some strange reason I could do so.
>
> Not here to start a religious war, I hope people have calmed down on
> that, but just one simple, perhaps, stupid question.
>
> Thanks,
> Dave

Although its popularity isn't as it was years ago I still like slackware.
It is a BSD oriented distribution and its way of administration is
familiar for FreeBSD admins. That's my opinion.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread John Oxley
On Tue 2003-11-04 (00:20), DavidB wrote:
> First I would like to say that FreeBSD rocks, and have been using it for 
>  more than a few years.  I like the ports system, I like compiling from 
> source so I can get the compile time features I want.  Portupgrade 
> really helps with maintaining ports.
> 
> My question is this, I would like to have a little exposure to linux and 
> am wondering which distro to run, I used redhat back at the same time I 
> started with FreeBSD3~ , not sure if I should check them out.
> 
> I had in my list of potentials, slackware, debian, and I was wondering 
> what was thought of gentoo(I read that this was started by a former? 
> freebsd developer)[I hope there is no bad blood there].
> 
> I didn't want to go thru a list, installing and playing with several 
> different ones, don't have time for that, I still have to upgrade the 
> webserver/mailserver/database box and the desktop box to 4.9 [not much 
> to that] or wondering if I should just jump into RELENG_5_1 (I like to 
> keep my server and desktop running with the same versions, so I can swap 
> the desktop in place of the server should the server box fail, call it 
> cheap insurance).
> 
> So is there any particular distro that stands out to freebsd types, so I 
> can check one out, so in a pinch, if I need to setup a linux box for 
> some strange reason I could do so.
> 
> Not here to start a religious war, I hope people have calmed down on 
> that, but just one simple, perhaps, stupid question.
> 
> Thanks,
> Dave
> 

If you like FreeBSD I recommend Gentoo.  It is a source based distro.  the
emerge tool is very similar to portupgrade, in fact easier even.  On the minus
side, it doesn't have the networking power of FreeBSD and is klunkier.
Gentoo's portage needs python, which adds to the base system.  I am trying to
show FreeBSD / Gentoo differences rather than the numerous FreeBSD / Linux
differences.

What you might find, as I did when I moved to FreeBSD from Gentoo is that
linux in general seems slightly more bloated.  However for a desktop system, I
do advocate linux, mainly due to its better hardware support and you have
Mandrake/Redhat for Random Joe F-wit.

To sum up, if you like FreeBSD and the way it works, try Gentoo,  if you like
the way windows is (point click, grind, *slowness* :) then go with
Mandrake/Redhat.

My 2c

-John

-- 
/~\ The ASCII   ASCII stupid question, get a EBCDIC ANSI.
\ / Ribbon Campaign John Oxley
 X  Against HTMLhttp://oxo.rucus.net/
/ \ Email!  oxo  rucus.ru.ac.za
"Personally, I'd rather pay for my freedom than live in a bitmapped, pop-up-happy 
dungeon like NT."
-- Thomas Scoville
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: vlc installation in /usr/ports/multimedia take too long...

2003-11-04 Thread Matthew Seaman
On Tue, Nov 04, 2003 at 04:24:18PM +0900, Rommel B. IKEDA wrote:

> Is it normal for a Port to be compiled for 3-4 days?  I was just wondering?
> I would really appreciate if anyone can help me how to verify that my 
> machine is indeed compiling the right way or it is just going in a loop...
> What if I would kill it...what would happen?  Can I start 
> again...compile from the Ports and encounter no problems?...Oh...by the 
> way, I am a Newbie...I do not know how to properly Kill it...

Nope.  I'd say that something has quite clearly gone wrong there.

You can kill the compilation using 'Ctrl-C' (maybe required several
times) -- that's the usual was to kill any misbehaving process under
Unix.

Before re-trying the compilation, cvsup(1) the latest version of the
ports to pick up any fixes that may have gone into the tree in the
mean time.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


"/dev/oncore.serial.%d" for Motorola oncore GPS under FREEBSD 5.1

2003-11-04 Thread Chris Stenton
Can someone point me in the right direction on how to make
/dev/oncore.serial.1 and /dev/oncore.pps.1  under FREEBSD 5.1 now that
MAKEDEV has gone. 


Thanks


Chris


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


RedHat 7.2 -> Freebsd - BIG PROBLEN

2003-11-04 Thread bivol
Hi,
I'm trying to migrate my router from RedHat 7.2 to FreeBSD.
Please see the following scrit - it works fine under linux:
===
touch /var/lock/subsys/local
sleep 5
/sbin/ifconfig eth0 down
sleep 1
/sbin/ifconfig eth0 193.108.24.75 netmask 255.255.255.255 up
sleep 2
/sbin/route add -host 193.108.24.145 eth0
/sbin/route add default gw 193.108.24.145
/sbin/route add -net 192.168.17.0/24 eth0



I could never make that work for FREEBSD.

ifconfig fxp0 down
ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up
route add -host 193.108.24.75 193.108.24.145 255.255.255.255
or
route add -host 193.108.24.75 193.108.24.145

Looks impossible at freebsd...It says Network Unreachable. I read the man page 
of route; It says this happens when the host is more than one hop away. But it 
is working with my old RedHat.


Typing just:

route add -host 193.108.24.75 193.108.24.145

works, but I need 255.255.255.255 mask to have inet access

I posted to the local group but  the only guy that anaswered me says that it 
is not possible.

Please help,
I just can't believe that freebsd can not do it.

Thanks in advance,
BIVOL

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


Re: optimize with -O2 or -O?

2003-11-04 Thread Matthew Seaman
On Tue, Nov 04, 2003 at 04:20:41PM +0800, Zhang Weiwu wrote:
> Hello. I'm running 5.1-RELEASE.
> 
> I read the gcc man page. It is not clear what -O implys. Is -O equal to 
> -O1 or -O2? If I wish to optimize making does it make sense to add 
> CFLAGS=-O2 in the make.conf(5)?

-O is the same as -O1

Ah -- the shibboleth of cranking up the optimisation level to make
things run *really fast*.  First of all, for general purpose code, -O
gets you most of the available optimisation benefits without causing
any problems.  You can try CFLAGS=-O2 in /etc/make.conf if you like,
and most things will work OK but by no means all: some code will not
compile correctly under high optimization levels.  The immediate
response if you report this sort of thing as a bug will be to see if
the problem is repeatable using a lower optimisation level.

Secondly, you will achieve a much greater performance improvement by
setting the CPUTYPE variable appropriately.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: optimize with -O2 or -O?

2003-11-04 Thread Simon Barner
> I read the gcc man page. It is not clear what -O implys. Is -O equal to 
> -O1 or -O2? If I wish to optimize making does it make sense to add 
> CFLAGS=-O2 in the make.conf(5)?

Hi,

-O == -O1 (see `info gcc' -> Invoking GCC -> Optimize Options)

It is recommended not to use anything higher than -O since GCC is known to
procduce broken code on higher optimization levels.

Depending on what gcc version you are using, also specifing CPUTYPE=...
in /etc/make.conf might bring you troubles (for certain CPUs, e.g. 
athlon IIRC).

Post the output of `gcc --version' and people will be able to tell you.

What you could try is to use -O2 for some selected ports, but the question
is whether you will see a measurable performance gain.

Some ports that are known to build alright at -O2 (e.g. mplayer) have
WITH_OPTIMIZED_CFLAGS knob.

Regards,
 Simon


signature.asc
Description: Digital signature


Re: vlc installation in /usr/ports/multimedia take too long...

2003-11-04 Thread Rommel B. IKEDA

Matthew Seaman wrote:

On Tue, Nov 04, 2003 at 04:24:18PM +0900, Rommel B. IKEDA wrote:



Is it normal for a Port to be compiled for 3-4 days? I was just 
wondering?
I would really appreciate if anyone can help me how to verify that 
my machine is indeed compiling the right way or it is just going in 
a loop...
What if I would kill it...what would happen? Can I start 
again...compile from the Ports and encounter no problems?...Oh...by 
the way, I am a Newbie...I do not know how to properly Kill it...

Nope. I'd say that something has quite clearly gone wrong there.

You can kill the compilation using 'Ctrl-C' (maybe required several
times) -- that's the usual was to kill any misbehaving process under
Unix.
Before re-trying the compilation, cvsup(1) the latest version of the
ports to pick up any fixes that may have gone into the tree in the
mean time.

Thank you very much...I tried Ctrl-C and with just one try it stopped 
and said "You have Mail."
I do not know what happened...I do not use CVSup because I can 
not...with the networking configurations that we have in the office...I 
have been dowloading CTM deltas...I will try to ctm today...and use 
portsdb -Uu to update my ports...
Again, Thank you very much...

Rommel B. Ikeda

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


Flash, FreeBSD and Opera

2003-11-04 Thread Martin Váňa
Hi,
I would like to enjoy Flash powered sites acros net with my FreeBSD 5.1 and Opersa 
7.21.
Is there a tutorial how to install flash?
Thank you
Martin


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


ppp hangs and doesn't finish to return control to mgetty

2003-11-04 Thread Vladimir Melnik
Hello.

On my FreeBSD-box (FreeBSD .. 4.8-RELEASE-p13 FreeBSD
4.8-RELEASE-p13 #4: Tue Oct 14 19:19:51 EEST 2003
[EMAIL PROTECTED]:/usr/src/sys/compile/DIALUP1  i386) I has been
confronred with some difficulties.

A ppp process is starting, working, finishing and then hangs, it stays
in memory and doesn't return control to mgetty after connection with
remote peer is lost.

In my log I see such records:

Nov  4 08:02:04  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(187) state = 
Opened
Nov  4 08:02:04  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(187) state = Opened
Nov  4 08:02:16  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(188) state = 
Opened
Nov  4 08:02:17  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(188) state = Opened
Nov  4 08:02:29  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(189) state = 
Opened
Nov  4 08:02:29  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(189) state = Opened
Nov  4 08:02:41  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(190) state = 
Opened
Nov  4 08:02:41  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(190) state = Opened
Nov  4 08:02:53  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(191) state = 
Opened
Nov  4 08:02:53  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(191) state = Opened
Nov  4 08:03:05  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(192) state = 
Opened
Nov  4 08:03:05  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(192) state = Opened
Nov  4 08:03:17  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(193) state = 
Opened
Nov  4 08:03:17  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(193) state = Opened
Nov  4 08:03:29  ppp[59631]: tun1: LCP: deflink: SendEchoRequest(194) state = 
Opened
Nov  4 08:03:29  ppp[59631]: tun1: LCP: deflink: RecvEchoReply(194) state = Opened
Nov  4 08:03:32  ppp[59631]: tun1: LCP: deflink: RecvTerminateReq(11) state = 
Opened
Nov  4 08:03:32  ppp[59631]: tun1: LCP: deflink: LayerDown
Nov  4 08:03:32  ppp[59631]: tun1: LCP: deflink: SendTerminateAck(11) state = 
Opened
Nov  4 08:03:32  ppp[59631]: tun1: LCP: deflink: State change Opened --> Stopping
Nov  4 08:03:32  ppp[59631]: tun1: CCP: deflink: State change Stopped --> Closed
Nov  4 08:03:32  ppp[59631]: tun1: CCP: deflink: State change Closed --> Initial
Nov  4 08:03:32  ppp[59631]: tun1: Phase: deflink: open -> lcp
Nov  4 08:03:32  ppp[59631]: tun1: IPCP: deflink: LayerDown: xxx.xx.xx0.66
Nov  4 08:03:32  ppp[59631]: tun1: IPCP: deflink: State change Opened --> Starting
Nov  4 08:03:32  ppp[59631]: tun1: IPCP: deflink: LayerFinish.
Nov  4 08:03:32  ppp[59631]: tun1: IPCP: Connect time: 2356 secs: 246763 octets 
in, 7602421 octets out
Nov  4 08:03:32  ppp[59631]: tun1: IPCP: 5365 packets in, 5387 packets out
Nov  4 08:03:32  ppp[59631]: tun1: IPCP:  total 3331 bytes/sec, peak 4685 
bytes/sec on Tue Nov  4 07:48:48 2003
Nov  4 08:03:32  ppp[59631]: tun1: IPCP: deflink: State change Starting --> Initial
Nov  4 08:03:32  ppp[59631]: tun1: Phase: bundle: Terminate
Nov  4 08:03:32  ppp[59631]: tun1: Phase: Radius(acct): Accounting response 
received

And then also:

Nov  4 09:29:37  ppp[59631]: tun1: Warning: Packet too large (4102), discarding.

And after I tried to kill it with SIGTERM, I saw this:

Nov  4 10:39:23  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 10:39:23  ppp[59631]: tun1: LCP: deflink: State change Stopping --> Closing
Nov  4 11:02:13  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 11:02:27  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 11:02:28  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 11:02:29  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 11:02:29  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 11:02:29  ppp[59631]: tun1: Phase: Signal 15, terminate.
Nov  4 11:02:30  ppp[59631]: tun1: Phase: Signal 15, terminate.

SIGHUP is useless too:

Nov  4 11:03:24  ppp[59631]: tun1: Phase: Signal 1, terminate.
Nov  4 11:03:27  ppp[59631]: tun1: Phase: Signal 1, terminate.
Nov  4 11:03:28  ppp[59631]: tun1: Phase: Signal 1, terminate.
Nov  4 11:03:30  ppp[59631]: tun1: Phase: Signal 1, terminate.

All I can do with it - kill it with SIGKILL.

/etc/ppp/ppp.conf:

default:
set log Phase Chat LCP IPCP CCP tun command
set speed 115200
set dial "ABORT BUSY ABORT NO\\sCARRIER"

dialin:
disable ipv6cp
disable chap
enable  pap
enable  lqr
accept  lqr
set lqrperiod 6
set timeout 600
set radius  /etc/ppp/radius.conf
set ifaddr xxx.xx.xx0.66 xxx.xx.xx0.128-xxx.xx.xx0.159 255.255.255.255
accept  dns
set dns xxx.xx.xx0.65 xxx.xx.xx0.2
!bg /usr/local/sbin/aon.pl -p PROCESSID

Kernel configuration is:

machine i386
cpu I386_CPU
cpu I486_CPU
cpu I

Re: OpenOffice build

2003-11-04 Thread R.T.G. TAN
On Sun, Nov 02, 2003 at 09:58:49AM +, Matthew Seaman wrote:
> On Sun, Nov 02, 2003 at 10:40:07AM +0100, R.T.G. TAN wrote:
> > Hi,
> > 
> > Im trying to install openoffice and am getting
> > the folling:
> > 
> > >>>
> > ../../dist/bin/xpidl -m typelib -w -I ../../dist/idl -I. -o _xpidlgen/nsrootidl 
> > nsrootidl.idl
> > ../../dist/bin/xpt_link _xpidlgen/xpcom_base.xpt _xpidlgen/nsIErrorService.xpt 
> > _xpidlgen/nsIConsoleService.xpt _xpidlgen/nsIConsoleMessage.xpt 
> > _xpidlgen/nsIConsoleListener.xpt _xpidlgen/nsIException.xpt 
> > _xpidlgen/nsIExceptionService.xpt _xpidlgen/nsIInterfaceRequestor.xpt 
> > _xpidlgen/nsIProgrammingLanguage.xpt _xpidlgen/nsISupports.xpt 
> > _xpidlgen/nsIWeakReference.xpt _xpidlgen/nsIMemory.xpt _xpidlgen/nsrootidl.xpt
> > ../../config/nsinstall -R -m 644 _xpidlgen/xpcom_base.xpt ../../dist/bin/components
> > Can't locate File/Spec/Unix.pm in @INC (@INC contains: ../../config 
> > /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 
> > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
> > /usr/local/lib/perl5/site_perl/5.005 .) at /usr/libdata/perl/5.00503/File/Spec.pm 
> > line 21.
> > BEGIN failed--compilation aborted at /usr/libdata/perl/5.00503/FindBin.pm line 79.
> > BEGIN failed--compilation aborted at ../../config/make-jars.pl line 6.
> > gmake[3]: *** [libs] Error 2
> > gmake[3]: Leaving directory 
> > `/usr/ports/editors/openoffice/work/mozilla/work/mozilla/xpcom/base'
> > gmake[2]: *** [libs] Error 2
> > gmake[2]: Leaving directory 
> > `/usr/ports/editors/openoffice/work/mozilla/work/mozilla/xpcom'
> > gmake[1]: *** [tier_9] Error 2
> > gmake[1]: Leaving directory 
> > `/usr/ports/editors/openoffice/work/mozilla/work/mozilla'
> > gmake: *** [default] Error 2
> > *** Error code 2
> > 
> > Stop in /usr/ports/editors/openoffice/work/mozilla.
> > *** Error code 1
> > 
> > Stop in /usr/ports/editors/openoffice.
> > *** Error code 1
> > 
> > Stop in /usr/ports/editors/openoffice.
> > *** Error code 1
> > 
> > Stop in /usr/ports/editors/openoffice.
> > ** Command failed [exit code 1]: /usr/bin/script -qa 
> > /usr/home/rotan/tmp/portinstall49564.0 make
> > ** Fix the problem and try again.
> > ** The following packages were not installed or upgraded (*:skipped / !:failed)
> > ! editors/openoffice(unknown build error)
> > 
> > <<<
> 
> Either install a more recent version of perl -- ie. one of lang/perl5
> (for perl-5.6.1) or lang/perl5.8 (for perl-5.8.1) ports, and don't
> forget to run:
> 
> # use.perl port
> 
> or install the devel/p5-File-Spec port.  The File::Spec module is a
> standard module in more recent versions of perl than the one the
> system provides.
> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK


Hi Matthew,

Thanks for your reply. Well I did as you
wrote. Updated perl as well as p5-File-Spec. I used
portupgrade -rf for this.

But Im still having the same problem. What more would
you suggest?


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


printing setup

2003-11-04 Thread andy
What is the fastest and easiest way to get printing setup on 5.1 release?
I have a Brother 1440 connected to the printer port.  I want to be able
to print from the print sever and a few other BSD machines, and also to
setup samba to allow other machines on the local network to share the
printer.  I tried CUPS it did not work.  I also tried LPRng, but had
trouble getting it configured also.  I tried to download and compile
Printtool, but that didn't work either.  Is there a graphical printer
configuration tool for BSD?  Please cc
me with responses.


TIA,

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


Re: RedHat 7.2 -> Freebsd - BIG PROBLEN

2003-11-04 Thread bivol


Hi,
Actually this box has ONLY one ip, no aliases.
This line:
> > /sbin/route add -net 192.168.17.0/24 eth0
Could be igonred.

I do not need them. I just need my primary IP to be with such mask..However 
I'll try to configure virtual interface. And forward the traffic through it.

BIVOL

Luke Kearney <[EMAIL PROTECTED]>:

> 
> On Tue,  4 Nov 2003 10:56:44 +0200
> [EMAIL PROTECTED] granted us these pearls of wisdom:
> 
> > Hi,
> > I'm trying to migrate my router from RedHat 7.2 to FreeBSD.
> > Please see the following scrit - it works fine under linux:
> > ===
> > touch /var/lock/subsys/local
> > sleep 5
> > /sbin/ifconfig eth0 down
> > sleep 1
> > /sbin/ifconfig eth0 193.108.24.75 netmask 255.255.255.255 up
> > sleep 2
> > /sbin/route add -host 193.108.24.145 eth0
> > /sbin/route add default gw 193.108.24.145
> > /sbin/route add -net 192.168.17.0/24 eth0
> > 
> > 
> > 
> > I could never make that work for FREEBSD.
> > 
> > ifconfig fxp0 down
> > ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up
> > route add -host 193.108.24.75 193.108.24.145 255.255.255.255
> > or
> > route add -host 193.108.24.75 193.108.24.145
> > 
> > Looks impossible at freebsd...It says Network Unreachable. I read the man
> page 
> > of route; It says this happens when the host is more than one hop away. But
> it 
> > is working with my old RedHat.
> > 
> > 
> > Typing just:
> > 
> > route add -host 193.108.24.75 193.108.24.145
> > 
> > works, but I need 255.255.255.255 mask to have inet access
> > 
> > I posted to the local group but  the only guy that anaswered me says that
> it 
> > is not possible.
> > 
> > Please help,
> > I just can't believe that freebsd can not do it.
> > 
> > Thanks in advance,
> > BIVOL
> 
> Hello,
> 
> If I understand what it is that you are trying to do I think you need to
> have a bit of a read of the following 
> 
> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-
virtual-hosts.html
> 
> 
> This might clear things up for you.
> 
> Cheers
> 
> LK
> 
> 
> 



- End forwarded message -



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


Re: RedHat 7.2 -> Freebsd - BIG PROBLEN

2003-11-04 Thread bivol

-
lan 192.168.1.0
-
LAN  |
 |
 |
--
rl0 192.168.1.1

ROUTER

fxp0 193.108.24.75

LAN  |
 |
 |
---
ISP 193.108.24.145


Once again:

Forget about
> > /sbin/route add -net 192.168.17.0/24 eth0
It was used for lan provided by isp. I never use it I do not need it.

So the situation is the following.
Internal LAN - Router - ISP LAN
The connection between me and the provider is 100Mb LAN.
The other users in the *ISP LAN* use VPN to connect to him. I do not use VPN 
that is why he gave this ip and this strange mask. And it is working with 
RedHat 7.2

BIVOL

 Luke Kearney <[EMAIL PROTECTED]>:

> OK , now I am really [EMAIL PROTECTED] what about trying something like
> this ?
> 
> ifconfig fxp0 inet 193.108.24.75 netmask 255.255.255.255 up
> route add default -interface fxp0
> route add -host 193.108.24.145 -interface fxp0
> route add -net 192.168.17.0/24 -interface fxp0
> 
> 
> Are you using one NIC in this machine to run your ppp sessions as well
> as route to the local net ? If you are using a DSL/Cable connection and
> have ppp setup then there should be a ppp interface either ppp or tun in
> which case the best way to set the default gateway is
> 
> route add default -interface tun0
> 
> if you can take the time to create a simple diagram of what you are
> doing I might be able to help more. 
> 
> HTH
> LK
> 
> 
> On Tue,  4 Nov 2003 11:22:21 +0200
> [EMAIL PROTECTED] granted us these pearls of wisdom:
> 
> > Hi,
> > Actually this box has ONLY one ip, no aliases.
> > This line:
> > > > /sbin/route add -net 192.168.17.0/24 eth0
> > Could be igonred.
> > 
> > I do not need them. I just need my primary IP to be with such mask..However
> 
> > I'll try to configure virtual interface. And forward the traffic through
> it.
> > 
> > BIVOL
> > 
> > Luke Kearney <[EMAIL PROTECTED]>:
> > 
> > > 
> > > On Tue,  4 Nov 2003 10:56:44 +0200
> > > [EMAIL PROTECTED] granted us these pearls of wisdom:
> > > 
> > > > Hi,
> > > > I'm trying to migrate my router from RedHat 7.2 to FreeBSD.
> > > > Please see the following scrit - it works fine under linux:
> > > > ===
> > > > touch /var/lock/subsys/local
> > > > sleep 5
> > > > /sbin/ifconfig eth0 down
> > > > sleep 1
> > > > /sbin/ifconfig eth0 193.108.24.75 netmask 255.255.255.255 up
> > > > sleep 2
> > > > /sbin/route add -host 193.108.24.145 eth0
> > > > /sbin/route add default gw 193.108.24.145
> > > > /sbin/route add -net 192.168.17.0/24 eth0
> > > > 
> > > > 
> > > > 
> > > > I could never make that work for FREEBSD.
> > > > 
> > > > ifconfig fxp0 down
> > > > ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up
> > > > route add -host 193.108.24.75 193.108.24.145 255.255.255.255
> > > > or
> > > > route add -host 193.108.24.75 193.108.24.145
> > > > 
> > > > Looks impossible at freebsd...It says Network Unreachable. I read the
> man
> > > page 
> > > > of route; It says this happens when the host is more than one hop away.
> But
> > > it 
> > > > is working with my old RedHat.
> > > > 
> > > > 
> > > > Typing just:
> > > > 
> > > > route add -host 193.108.24.75 193.108.24.145
> > > > 
> > > > works, but I need 255.255.255.255 mask to have inet access
> > > > 
> > > > I posted to the local group but  the only guy that anaswered me says
> that
> > > it 
> > > > is not possible.
> > > > 
> > > > Please help,
> > > > I just can't believe that freebsd can not do it.
> > > > 
> > > > Thanks in advance,
> > > > BIVOL
> > > 
> > > Hello,
> > > 
> > > If I understand what it is that you are trying to do I think you need
> to
> > > have a bit of a read of the following 
> > > 
> > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-
> > virtual-hosts.html
> > > 
> > > 
> > > This might clear things up for you.
> > > 
> > > Cheers
> > > 
> > > LK
> > > 
> > > 
> > > 
> > 
> > 
> 
> 
> 
> 



- End forwarded message -



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


Re: printing setup

2003-11-04 Thread Miguel Mendez
On Tue, 4 Nov 2003 06:09:53 -0500 (EST)
[EMAIL PROTECTED] wrote:

Hi,

> What is the fastest and easiest way to get printing setup on 5.1
> release? I have a Brother 1440 connected to the printer port.  I want
> to be able to print from the print sever and a few other BSD machines,
> and also to setup samba to allow other machines on the local network
> to share the printer.  I tried CUPS it did not work.  I also tried
> LPRng, but had trouble getting it configured also.  I tried to
> download and compile Printtool, but that didn't work either.  Is there
> a graphical printer configuration tool for BSD?  Please cc
> me with responses.

I use a Brother 1430 in FreeBSD 5.1, and it works very well. I connected
it to the USB port and installed CUPS. Then I downloaded the
foomatic-rip script from http://www.linuxprinting.org and the HL1250 ppd
for CUPS. Works like a charm. Install the ppd file and the foomatic
stuff and then start cupds (/usr/local/etc/rc.d/cups.sh start). Point
your browser to http://localhost:631 and enter the user when prompted
(root and its password). Your files should like this:

/usr/local/libexec/cups/filter/foomatic-gswrapper
/usr/local/libexec/cups/filter/foomatic-rip
/usr/local/share/cups/model/Brother-HL-1430-hl1250.ppd

Create a new printer and choose the Brother model. Should just work.
Also check www.linuxprinting.org, it has a lot of info of the matter.

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


I need help restoring my /usr partition!

2003-11-04 Thread Mark
I need some urgent help! Trying to restore my /usr partition (FreeBSD 4.7R),
I get the following errors:

% restore -N -rf ./usr.back
expected next file 1125, got 7
expected next file 1125, got 8
expected next file 1125, got 529
expected next file 1125, got 530
expected next file 6995, got 6872
expected next file 6995, got 6873
expected next file 8502, got 8483
expected next file 8502, got 8484
expected next file 8828, got 8736
expected next file 8828, got 8737
expected next file 22844, got 9619

Etc. This is the result of the fsck:

% fsck /usr
** /dev/ad0s1g (NO WRITE)
** Last Mounted on /usr
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
UNREF FILE I=7  OWNER=nobody MODE=100644
SIZE=1744 MTIME=Nov  3 14:33 2003
CLEAR? no

UNREF FILE I=8  OWNER=nobody MODE=100644
SIZE=6952 MTIME=Nov  4 10:52 2003
CLEAR? no

UNREF FILE I=529  OWNER=root MODE=100660
SIZE=0 MTIME=Nov  3 00:08 2003
CLEAR? no

UNREF FILE I=530  OWNER=root MODE=100660
SIZE=1521 MTIME=Nov  3 09:13 2003
CLEAR? no


I have no idea what these file are, or how to get rid of them. Somebody,
please help!

- Mark

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


Re: RedHat 7.2 -> Freebsd - BIG PROBLEN

2003-11-04 Thread Dirk-Willem van Gulik

> ifconfig fxp0 193.108.24.75 netmask 255.255.255.255 up

> Looks impossible at freebsd...It says Network Unreachable. I read the man page
> of route; It says this happens when the host is more than one hop away.

Which it is - your netmask specifies tht just  193.108.24.75 is on that
wire. You propably want 255.255.255.0.

> But it is working with my old RedHat.

Either RH is wrong or you are using something like an aliased interface.

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


Re: ipfilter on 5.1 CURRENT

2003-11-04 Thread Harald Schmalzbauer
On Tuesday 04 November 2003 08:13, Olivier Nicole wrote:
> Hi,
>
> I'd like to run ipfilter on a 5.1 CURRENT box but my problems are many.
>
> 1) I discovered that /sys/i386/conf/LINT has disappeared

See NOTES

>
> 2) I find no mention of any IPFILETER, ipfilter, ip-filter or
>whatsoever option to add to the kernel

See /usr/src/sys/conf/NOTES.

Since 5.x supports more hardware architectures the NOTES have been splitted in 
general and machine specific parts

>
> 3) I guessed that it may have been automatically build in, but when I
>try to run ipf, it complains about a missing device, I bet it is
>/dev/ipl

Don't understand that

>
> 4) The usual way to build devices, MAKEDEV does not exist anymore

5.x has device file system. Devices are generated on thy fly by the kernel. No 
need for MAKEDEV anymore. See man devfs.

>
> 5) The documentation about devfs is quite limited (to say the least)

Hmmm, can't copy

>
> 6) mknod refuses to create any device, always returning file not found
>
> So why breaking something that was running fine?

Also don't understand

>
> And how to run ipf on 5.1

Perhaps you should read _more_ more carefully

-Harry

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


pgp0.pgp
Description: signature


Re: Overheating attributed to Freebsd --sysctl variables notavailable--

2003-11-04 Thread Jud
On Mon, 3 Nov 2003 22:09:56 -0500, nw1 <[EMAIL PROTECTED]> wrote:

- Original Message -
From: "Jud" <[EMAIL PROTECTED]>
To: "nw1" <[EMAIL PROTECTED]>; "peter lageotakes" 
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, November 03, 2003 9:53 PM
Subject: Re: Overheating attributed to Freebsd --sysctl variables 
notavailable--


On Mon, 3 Nov 2003 19:57:38 -0500, nw1 <[EMAIL PROTECTED]> wrote:

>
>
>> What version of FreeBSD are you using?
>> Did you compile amp into the kernel?
>
> I think you're not understanding what I posted @
> http://69.3.136.141/freebsd/installation/sysctl_variables_missing
>
> The first line has what version I'm running.  The entire document @
> http://69.3.136.141/freebsd/installation/sysctl_variables_missing
> implies; this was a
> running system with no serious issues; meaning; the sysctl items I'm
> speaking of were in
> fact available and working.
>
> If i can figure out how to make these sysctl variables available, I 
can
> set them like they
> were before, hence my overheating problem is solved.
>
> See what I mean?
>
>>
>> --- nw1 <[EMAIL PROTECTED]> wrote:
>> > The problem can be viewed @:
>> >
>> http://69.3.136.141/freebsd/installation/sysctl_variables_missing
>> >
>> > Basically, the machine is overheating (I believe)
>> > because the cpu's aren't cycling down.
>> > Previously I was able to cycle the processors down
>> > with the following sysctl variables:
>> >
>> > machdep.apm_suspend_delay:
>> > machdep.apm_standby_delay:
>> >
>> > however, for some reason those variables currently,
>> > aren't any where to be found by the
>> > up_and_running system.  Please use the hyperlink
>> > above for details.
>> >
>> > Thanks for reading.  All feedback is welcome.

You may want to have a look at /usr/ports/sysutils/fvcool.  (If you'd 
like
a script to run it on startup, Dr. Matthew Seaman posted one to the
mailing list some months ago - January?)
[Please don't top post - makes reading long threads more difficult.]

I'm interested in those missing sysctl variables I posted @
http://69.3.136.141/freebsd/installation/sysctl_variables_missing.  
Using a Third party
application/script to fix something that was natively working or under 
control, I don't
think, is the way to go and causes another level of complexity.

Wouldn't you think?
Ah - I thought you were interested in effectively and easily lowering your 
AMD CPU temperatures by 10-20 degrees Celsius, rather than in getting help 
searching for sysctl variables that had been more or less effective for 
you in the past.

BTW, if you wish to do "natively" what the fvcool "port" does, the 
technical documentation at fvcool's site goes some way toward explaining 
that.

Sorry, my mistake.

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


Re: OpenOffice build

2003-11-04 Thread Matthew Seaman
On Tue, Nov 04, 2003 at 10:38:35AM +0100, R.T.G. TAN wrote:
> On Sun, Nov 02, 2003 at 09:58:49AM +, Matthew Seaman wrote:
> > On Sun, Nov 02, 2003 at 10:40:07AM +0100, R.T.G. TAN wrote:
> > > Hi,
> > > 
> > > Im trying to install openoffice and am getting
> > > the folling:
> > > 
> > > >>>
> > > ../../dist/bin/xpidl -m typelib -w -I ../../dist/idl -I. -o _xpidlgen/nsrootidl 
> > > nsrootidl.idl
> > > ../../dist/bin/xpt_link _xpidlgen/xpcom_base.xpt _xpidlgen/nsIErrorService.xpt 
> > > _xpidlgen/nsIConsoleService.xpt _xpidlgen/nsIConsoleMessage.xpt 
> > > _xpidlgen/nsIConsoleListener.xpt _xpidlgen/nsIException.xpt 
> > > _xpidlgen/nsIExceptionService.xpt _xpidlgen/nsIInterfaceRequestor.xpt 
> > > _xpidlgen/nsIProgrammingLanguage.xpt _xpidlgen/nsISupports.xpt 
> > > _xpidlgen/nsIWeakReference.xpt _xpidlgen/nsIMemory.xpt _xpidlgen/nsrootidl.xpt
> > > ../../config/nsinstall -R -m 644 _xpidlgen/xpcom_base.xpt 
> > > ../../dist/bin/components
> > > Can't locate File/Spec/Unix.pm in @INC (@INC contains: ../../config 
> > > /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 
> > > /usr/local/lib/perl5/site_perl/5.005/i386-freebsd 
> > > /usr/local/lib/perl5/site_perl/5.005 .) at 
> > > /usr/libdata/perl/5.00503/File/Spec.pm line 21.
> > > BEGIN failed--compilation aborted at /usr/libdata/perl/5.00503/FindBin.pm line 
> > > 79.
> > > BEGIN failed--compilation aborted at ../../config/make-jars.pl line 6.
> > > gmake[3]: *** [libs] Error 2
> > > gmake[3]: Leaving directory 
> > > `/usr/ports/editors/openoffice/work/mozilla/work/mozilla/xpcom/base'
> > > gmake[2]: *** [libs] Error 2
> > > gmake[2]: Leaving directory 
> > > `/usr/ports/editors/openoffice/work/mozilla/work/mozilla/xpcom'
> > > gmake[1]: *** [tier_9] Error 2
> > > gmake[1]: Leaving directory 
> > > `/usr/ports/editors/openoffice/work/mozilla/work/mozilla'
> > > gmake: *** [default] Error 2
> > > *** Error code 2
> > > 
> > > Stop in /usr/ports/editors/openoffice/work/mozilla.
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/editors/openoffice.
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/editors/openoffice.
> > > *** Error code 1
> > > 
> > > Stop in /usr/ports/editors/openoffice.
> > > ** Command failed [exit code 1]: /usr/bin/script -qa 
> > > /usr/home/rotan/tmp/portinstall49564.0 make
> > > ** Fix the problem and try again.
> > > ** The following packages were not installed or upgraded (*:skipped / !:failed)
> > > ! editors/openoffice(unknown build error)
> > > 
> > > <<<
> > 
> > Either install a more recent version of perl -- ie. one of lang/perl5
> > (for perl-5.6.1) or lang/perl5.8 (for perl-5.8.1) ports, and don't
> > forget to run:
> > 
> > # use.perl port
> > 
> > or install the devel/p5-File-Spec port.  The File::Spec module is a
> > standard module in more recent versions of perl than the one the
> > system provides.

> Thanks for your reply. Well I did as you
> wrote. Updated perl as well as p5-File-Spec. I used
> portupgrade -rf for this.
> 
> But Im still having the same problem. What more would
> you suggest?

Err -- you only needed to do one of those things.  Still, it shouldn't
cause any problems having done both.

Did you run:

# use.perl port

You need to do that, or the ports system will simply ignore the
updated perl you've installed.  Now when you type 'perl -v' it should say:

This is perl, v5.6.1

or

This is perl, v5.8.1

depending on which perl port you installed.  You should also be able
to run this command without errors:

% perl -MFile::Spec -e 'print $File::Spec::VERSION, "\n";'

(which returns 0.86 on my system, but anything reasonable will do).

You should probably do a:

# make clean

in the OpenOffice port directory and start again from scratch with the
compilation. 

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread Peter Ulrich Kruppa
On Tue, 4 Nov 2003, DavidB wrote:

> First I would like to say that FreeBSD rocks, and have been using it for
>   more than a few years.  I like the ports system, I like compiling from
> source so I can get the compile time features I want.  Portupgrade
> really helps with maintaining ports.
>
> My question is this, I would like to have a little exposure to linux and
> am wondering which distro to run, I used redhat back at the same time I
> started with FreeBSD3~ , not sure if I should check them out.
>
> I had in my list of potentials, slackware, debian, and I was wondering
> what was thought of gentoo(I read that this was started by a former?
> freebsd developer)[I hope there is no bad blood there].
Another 2c:
Although its quite a time ago, as Konrad Heuer mentioned,
slackware looks much like FreeBSD.
My personal favourite would be debian, because it is very
"open-sourcish" like FreeBSD (ie. good documentation, good
availability via http and ftp).

I was very disappointed of SUSE, which is popular here in
Germany. Their distributions are quite expensive and
you will need to buy their books, if you want to build up
something more complex than a stand-alone workstation.


Regards,

Uli.

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBsd , I REALLY need some help :-)

2003-11-04 Thread Nic Bergen
Hi,

I'm trying to install freebsd on an old i486 (75mhz) with 40mb ram
I have two harddrives 260 and 349mb.
I am booting with the kern and mfsroot floppies.
I can get everything right and working following the documentation on 
the site up to making the root,swap,...etc.
But when I finish this and the installation begins I get an error about 
no such device or media.
It appears that the program can't find my cd-rom drive.
It is a rather old 24x mitsumi cd-rom drive and it is set as slave to 
the primary harddrive.

I cannot find a solution on this site.
What should I do,where do I begin.
Have you got any other suggestion considering my pc.

By the way what kind of userinterface will I get with a minimum install??

Cheers

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


kde + libc

2003-11-04 Thread Zsolt Erdei

Hi!

Unfortunatelly I am really new with FBSD... so, I installed a 4.7 and
upgradet with cvsup to 4.9
after this compiled the base system.. the X server and the KDE 3.1.4.

There were some problem during the compile of KDE, and cause of time I
installed from binary...

Now, If I wanna use any Save/As / Open Dialog box, and type to the
filename the application segfaults, and here is the output.

(no debugging symbols found)...0x28f24900 in __sys_poll ()
   from /usr/lib/libc_r.so.4
#0  0x28f24900 in __sys_poll () from /usr/lib/libc_r.so.4
#1  0x28f23e4c in _thread_kern_sched_state_unlock () from
/usr/lib/libc_r.so.4
#2  0x28f23811 in _thread_kern_scheduler () from /usr/lib/libc_r.so.4
#3  0x0 in ?? ()

What should I do ?
I am not on the list, so please to private.


thanks,
woodi


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


Re: mountd/nfs export options

2003-11-04 Thread Lowell Gilbert
Antoine Jacoutot <[EMAIL PROTECTED]> writes:

> Lowell Gilbert wrote:
> >> Is there a trick or anything I could use to exports 2 directories
> >> on the same filesystem, but with different options ?
> >>
> >>For exemple, I have /dev/ad2s1d mounted on /exports.
> >> I would like to export /exports/share1 read-only and
> >> /exports/share2 read-write.
> 
> > It's not possible, because there's no way to enforce it...
> >
> 
> Oh, man, that is to bad :(
> I've got to find a way to do this or I'll have to use Linux instead,
> IIRC it allows that kind of sharing.

The limitation is in the NFS protocol, not in the FreeBSD
implementation, so if Linux lets you do this, you're fooling
yourself about the security involved.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-04 Thread Alexander P. Goldhammer
Toni,

Thanks for your help.

"camcontrol stop 0:0:0:0" and "camcontrol eject 0:0:0:0" give me "Unit
stopped successfully"  When I unplug the USB cable, FreeBSD recognizes
the fact and gives me:
#umass0: at hub0 port 1 (addr 2) disconnected
(da0:umass-sim0:0:0): lost device
umass0: detached

When I plug the USB cable back in I am back to the same ol' problem:
umass0: In system Design USB Storage Adapter, rev 2.00/11.05, addr 2
umass0: BBB reset failed, TIMEOUT
umass0: BBB bulk-in clear stall failed, TIMEOUT
umass0: BBB bulk-out clear stall failed, TIMEOUT
over and over again then
(da0:umass-sim0:0:0:0): got CAM status 0x4
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
(da0:umass-sim0:0:0:0): lost device
(da0:umass-sim0:0:0:0): removing device entry

I was reading through the rest of the man page for camcontrol but it is
not clear to me that there is another command in camcontrol.

Any ideas?

-Alex

On Sat, Nov 01, 2003 at 02:50:13PM -0500, Alexander P. Goldhammer wrote:

i am really no scsi, usb, firewire specialist but i think for
some of your questions i can give an answer :-)

> (da0:umass-sim0:0:0:0): Read(6)/write(6) not supported, increasing the
> minimum_cmd_size to 10.

this is normal. 4.8 first tried 6 byte scsi commands. as the
messages says, for this device 10 byte scsi commands are required.
the default changed in 4.9 from 6 to 10 bytes for usb devices.

> #umass0: at hub0 port 1 (addr 2) disconnected
> (da0:umass-sim0:0:0): lost device
> (da0:umass-sim0:0:0): removing device entry
> umass0: detached
> 
> My intuition tells me this is not good.

you should stop the drive before removing it (camcontrol stop
0:0:0). see camcontrol(8).

> (da0:umass-sim0:0:0:0): got CAM status 0x4
> (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> 
> Does anyone have any ideas on how to address this/fix this?

when you stop the device (camcontrol), then remove it,
reattaching should work.

> b) If/when I plug it a USB/Firewire drive into this card how is the
> "device name" specified?  Or is there a command to figure this out? 

man 8 camcontrol

> c) Is msdos the correct "filesystem" designation?

if you share your data between windows and freebsd msdosfs is the
right fs. but be aware i had problems with huge partitions
and msdosfs see:

http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-May/000950.ht
ml
http://lists.freebsd.org/mailman/htdig/freebsd-stable/2003-October/00470
1.html

hth
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot
at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner|

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


environment variables and hostname...

2003-11-04 Thread Xpression
Hi list, there is a way to list or know the environment variables,
in fact, I want to know if my hostname is stored in a variable, and all
variables that maintain the system...thanks...

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


Trouble with a DLT7000 tape drive

2003-11-04 Thread Jason Lavigne
Hello all,

I have found some errors that I get on my tape drive. I am wondering if
anyone would know if this is SCSI card, cable, tape drive or tape issue,
or maybe something different all together. I am using DLT Type-IV tapes
and this is on a FreeBSD 4.7-RELEASE system.

TIA,

Jay

dmesg output

ahc0:  port 0xdc00-0xdcff mem
0xd000-0xdfff irq 11 at device 18.0 on pci0
aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
sa0 at ahc0 bus 0 target 1 lun 0
sa0:  Removable Sequential Access SCSI-2 device
sa0: 10.000MB/s transfers (10.000MHz, offset 15)
ch0 at ahc0 bus 0 target 3 lun 0
ch0:  Removable Changer SCSI-2 device
ch0: 3.300MB/s transfers
ch0: 7 slots, 1 drive, 1 picker, 1 portal
(sa0:ahc0:0:1:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0
(sa0:ahc0:0:1:0): MEDIUM ERROR info:2 csi:0,0,1,40 asc:c,0
(sa0:ahc0:0:1:0): Write error
(sa0:ahc0:0:1:0): failed to write terminating filemark(s)
(sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
(sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
(sa0:ahc0:0:1:0): Vendor Specific ASCQ
(sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
(sa0:ahc0:0:1:0): ABORTED COMMAND csi:0,0,1,40 asc:44,89
(sa0:ahc0:0:1:0): Vendor Specific ASCQ
(sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
(sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
(sa0:ahc0:0:1:0): Vendor Specific ASCQ
(sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
(sa0:ahc0:0:1:0): ABORTED COMMAND info:2000 csi:0,0,1,40 asc:44,89
(sa0:ahc0:0:1:0): Vendor Specific ASCQ
(sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
(sa0:ahc0:0:1:0): ABORTED COMMAND csi:0,0,1,40 asc:44,89
(sa0:ahc0:0:1:0): Vendor Specific ASCQ
(sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
(sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
(sa0:ahc0:0:1:0): Vendor Specific ASCQ
(sa0:ahc0:0:1:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM
command to clear this state.

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


Re: mountd/nfs export options

2003-11-04 Thread Antoine Jacoutot
Lowell Gilbert wrote:
The limitation is in the NFS protocol, not in the FreeBSD
implementation, so if Linux lets you do this, you're fooling
yourself about the security involved.
Allright then... but I'm forced to find way to do this anyway.
I guess I have to find another way of sharing those directories...
I though about samba, although it feels strange to configure samba for 
directories sharing between Unices :)

Antoine

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


Re: environment variables and hostname...

2003-11-04 Thread Scott Hiemstra
You can use the "env" command to see a list of Environment variables.  On my
system, it doesn't appear the hostname is in there but it may be on yours.

Scott

- Original Message - 
From: "Xpression" <[EMAIL PROTECTED]>
To: "FreeBSD-questions" <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 6:03 AM
Subject: environment variables and hostname...


> Hi list, there is a way to list or know the environment variables,
> in fact, I want to know if my hostname is stored in a variable, and all
> variables that maintain the system...thanks...
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>

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


Re: Trouble with a DLT7000 tape drive

2003-11-04 Thread Konrad Heuer

On Tue, 4 Nov 2003, Jason Lavigne wrote:

> I have found some errors that I get on my tape drive. I am wondering if
> anyone would know if this is SCSI card, cable, tape drive or tape issue,
> or maybe something different all together. I am using DLT Type-IV tapes
> and this is on a FreeBSD 4.7-RELEASE system.
>
> TIA,
>
> Jay
>
> dmesg output
>
> ahc0:  port 0xdc00-0xdcff mem
> 0xd000-0xdfff irq 11 at device 18.0 on pci0
> aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs
> sa0 at ahc0 bus 0 target 1 lun 0
> sa0:  Removable Sequential Access SCSI-2 device
> sa0: 10.000MB/s transfers (10.000MHz, offset 15)
> ch0 at ahc0 bus 0 target 3 lun 0
> ch0:  Removable Changer SCSI-2 device
> ch0: 3.300MB/s transfers
> ch0: 7 slots, 1 drive, 1 picker, 1 portal
> (sa0:ahc0:0:1:0): WRITE FILEMARKS. CDB: 10 0 0 0 2 0
> (sa0:ahc0:0:1:0): MEDIUM ERROR info:2 csi:0,0,1,40 asc:c,0
> (sa0:ahc0:0:1:0): Write error
> (sa0:ahc0:0:1:0): failed to write terminating filemark(s)
> (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
> (sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
> (sa0:ahc0:0:1:0): Vendor Specific ASCQ
> (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
> (sa0:ahc0:0:1:0): ABORTED COMMAND csi:0,0,1,40 asc:44,89
> (sa0:ahc0:0:1:0): Vendor Specific ASCQ
> (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
> (sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
> (sa0:ahc0:0:1:0): Vendor Specific ASCQ
> (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
> (sa0:ahc0:0:1:0): ABORTED COMMAND info:2000 csi:0,0,1,40 asc:44,89
> (sa0:ahc0:0:1:0): Vendor Specific ASCQ
> (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
> (sa0:ahc0:0:1:0): ABORTED COMMAND csi:0,0,1,40 asc:44,89
> (sa0:ahc0:0:1:0): Vendor Specific ASCQ
> (sa0:ahc0:0:1:0): PREVENT ALLOW MEDIUM REMOVAL. CDB: 1e 0 0 0 0 0
> (sa0:ahc0:0:1:0): ABORTED COMMAND info:a000 csi:0,0,1,40 asc:44,89
> (sa0:ahc0:0:1:0): Vendor Specific ASCQ
> (sa0:ahc0:0:1:0): tape is now frozen- use an OFFLINE, REWIND or MTEOM
> command to clear this state.

I had a similar problem with my DLT4000 drive. It was caused by unsuitable
media. Although the tapes seemed to be suitable for DLT4000 drives there
were preformatted in some kind; I bought tapes from diffferent
manufacturer, and they do fine.

I studied the documentation of my drive which explains the "Vendor
Specific ASCQ" im some way so that I got the idea to use other tapes.

Best regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


Re: environment variables and hostname...

2003-11-04 Thread Lowell Gilbert
"Xpression" <[EMAIL PROTECTED]> writes:

> Hi list, there is a way to list or know the environment variables,
> in fact, I want to know if my hostname is stored in a variable, and all
> variables that maintain the system...thanks...

How to get the environment variable list depends on your shell.
On sh-style shells, it's usually "set".  
On csh-style shells, I think it's "env".
But for getting your hostname, the canonical method is hostname(1).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


What support for USB2/Firewire External HDD in 4.8

2003-11-04 Thread Martyn Hill
Hi

I have been trying to evaluate the support offered under 4.8 for external
USB2/Firewire drives. I've browsed the firewire mailing list archive but am
still left unsure.

In particular, has anyone had experience or knowledge on the Adaptec
"DuoConnect" AUA3020 PCI card (dual USB2 and Firewire) and an Amacom 40GB
EZ2Disk (again, USB2 and Firewire) with FreeBSD? I wouldn't expect to be
unmounting regularly - its really as part of a backup solution.

Apologies if this has been answered before, I have scanned the questions
list but didn't find quite the thing...

TIA
Martyn Hill
Network Administrator
St James Independent School
London

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


Re: FreeBsd , I REALLY need some help :-)

2003-11-04 Thread Peter Ulrich Kruppa
On Tue, 4 Nov 2003, Nic Bergen wrote:

> Hi,
>
> I'm trying to install freebsd on an old i486 (75mhz) with 40mb ram
> I have two harddrives 260 and 349mb.
First of all: it is absolutely possible to install a basic
FreeBSD on this kind of hardware. I never had any problems with
mitsumi cd-drives.
Do you have a possibility to check if the cd drive still works
correctly? (Perhaps with windows or on a different machine?)

Regards,

Uli.

> I am booting with the kern and mfsroot floppies.
> I can get everything right and working following the documentation on
> the site up to making the root,swap,...etc.
> But when I finish this and the installation begins I get an error about
> no such device or media.
> It appears that the program can't find my cd-rom drive.
> It is a rather old 24x mitsumi cd-rom drive and it is set as slave to
> the primary harddrive.
>
> I cannot find a solution on this site.
> What should I do,where do I begin.
>
> Have you got any other suggestion considering my pc.
>
> By the way what kind of userinterface will I get with a minimum install??
>
> Cheers
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>

+---+
|Peter Ulrich Kruppa|
| Wuppertal |
|  Germany  |
+---+
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mountd/nfs export options

2003-11-04 Thread Antoine Jacoutot
Nathan Kinkade wrote:
 > Must they be two separate exports, or could you simply export /exports
and then control read/write access to /exports/share1 and
/exports/share2 using regular unix file permissions?  For example:
dr-xr-xr-x  2 user  group  4096 Nov  4 08:34 share1/
drwxrwxrwx  2 user  group  4096 Nov  4 08:35 share2/
This seems like an overly simple solution to work in your case, but
sometimes the simple things get overlooked.
I can do this, unfortunately, what I would like to do is not a 
read/write permission export option but this:

--
/exports/share1 -maproot=nobody:nobody -network 192.168.0.0 -mask 
255.255.255.0
/exports/share2 -mapall=root:users -network 192.168.0.0 -mask 255.255.255.0
--

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


XFree86 config problems

2003-11-04 Thread Luke Kearney
Hi,

I am having a devil of a time getting an ATi Radeon 7500/64Mb to work
properly with my monitor ( a sony lcd monitor ).  X will start but the
amount of flicker on the screen is unbearable. At times the whole screen
looks like it is under a couple of mm of water.

My X config as follows:

#
Section "Module"

# This loads the DBE extension module.

Load"dbe"   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  "extmod"
  Option"omit xfree86-dga"   # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Load"type1"
Load"speedo"
#Load"freetype"
#Load"xtt"

# This loads the GLX module
#Load   "glx"
# This loads the DRI module
Load   "dri"

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section "Files"

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
#
# If you don't have a floating point coprocessor and emacs, Mosaic or other
# programs take long to start up, try moving the Type1 and Speedo directory
# to the end of this list (or comment them out).
#

FontPath   "/usr/X11R6/lib/X11/fonts/local/"
FontPath   "/usr/X11R6/lib/X11/fonts/misc/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath   "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath   "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath   "/usr/X11R6/lib/X11/fonts/TrueType/"
#FontPath   "/usr/X11R6/lib/X11/fonts/freefont/"
FontPath   "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath   "/usr/X11R6/lib/X11/fonts/100dpi/"

# The module search path.  The default path is shown here.

#ModulePath "/usr/X11R6/lib/modules"

EndSection

# **
# Server flags section.
# **

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#Option "NoTrapSignals"

# Uncomment this to disable the  VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#Option "DontVTSwitch"

# Uncomment this to disable the  server abort sequence
# This allows clients to receive this key event.

#Option "DontZap"

# Uncomment this to disable the / mode switching
# sequences.  This allows clients to receive these key events.

#Option "Dont Zoom"

# Uncomment this to disable tuning with the xvidtune client. With
# it the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#Option "DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#Option "AllowNonLocalXvidtune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#Option "DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#Option "AllowNonLocalModInDev"

EndSection

# **
# Input devices
# **

# **
# Core keyboard's InputDevice section
# **

Section "InputDevice"

Identifier  "Keyboard1"
Driver  "Keyboard"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.

#Option "Protocol"  "Xqueue"

Option "AutoRepeat" "500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#Option "Xleds"  "1 2 3"

#Option "LeftAlt" "Meta"
#Option "RightAlt""ModeShift"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#Option "XkbModel""pc102"
# If you h

Re: which linux? (not flame bait, thank you)

2003-11-04 Thread Nicolai P Guba
On Tuesday 04 Nov 2003 12:29, Peter Ulrich Kruppa wrote:
> On Tue, 4 Nov 2003, DavidB wrote:

> > My question is this, I would like to have a little exposure to linux
> > and
 am wondering which distro to run, I used redhat back at the same
> > time I started with FreeBSD3~ , not sure if I should check them out. 
> > I had in my list of potentials, slackware, debian, and I was wondering
> > what was thought of gentoo(I read that this was started by a former?
> > freebsd developer)[I hope there is no bad blood there].

Debian gets my vote. 
-- 
=NPG=
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread Jeff MacDonald
Gentoo. Period :)

I started out with slackware about 7 years ago, ran it for 2 years, then
ran freebsd for 5ish, but i wanted something with a bit more "main
stream/weird hardware/software" support so i decided to give a Linux a
try.

I must say that Gentoo is probably one of the most pleasurable linux
experiences i've had to date, the package management is pretty sweet.

Jeff.

On Tue, 2003-11-04 at 12:09, Nicolai P Guba wrote:
> On Tuesday 04 Nov 2003 12:29, Peter Ulrich Kruppa wrote:
> > On Tue, 4 Nov 2003, DavidB wrote:
> 
> > > My question is this, I would like to have a little exposure to linux
> > > and am wondering which distro to run, I used redhat back at the same
> > > time I started with FreeBSD3~ , not sure if I should check them out. 
> > > I had in my list of potentials, slackware, debian, and I was wondering
> > > what was thought of gentoo(I read that this was started by a former?
> > > freebsd developer)[I hope there is no bad blood there].
> 
> Debian gets my vote. 

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


Re: mountd/nfs export options

2003-11-04 Thread Antoine Jacoutot
Selon Nathan Kinkade <[EMAIL PROTECTED]>:
> Hmmm ... again, certainly this is an option that has crossed your mind
> already, but would it be impossible or impractical to move
> /exports/share2 to a diff filesystem, such that you could then export
> with different options.  If for some reason share1 and share2 must both

The thing is that I cannot move share1 or share2 away from this filesystem
because of different reasons... the main one would be money.

> /exports/share1 -maproot=nobody:nobody -network 192.168.0.0
> /diff/filesys/share2 -mapall=root:users -network 192.168.0.0

I thank you so much for trying to help me.
Unfortunately, I don't see any resolution to this problem but I'm not desperate,
I'm sure there's a way to do what I need.

One thing I though about:
is it possible to force every writes under /exports/share2 to be GID=users ? I'm
not an expert when it comes to setgid, but maybe I should have a look at it.
Then I could just use:
/exports/share1 /exports/share2 -maproot=nobody:nobody -network 192.168.0.0

And every created files to /exports/share2 would be GID=users... I guess... ?

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


Re: which linux? (not flame bait, thank you)

2003-11-04 Thread Nico Meijer
Hi all,

Debian gets my vote. 
Hear, hear.

Anybody tried Crux (http://www.crux.nu/) BTW? It has a ports system.

Will try soon, methinks... Nico

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


mail never gets sent

2003-11-04 Thread chip . wiegand
I just set up a new box with fbsd-5.1 and it appears that the email never 
leaves the box, or at least it never arrives at its intended destination. 
I have set up previous versions of freebsd and never had a problem sending 
mail with out any configuration of sendmail. The machine does connect and 
browse the internet. My rc.conf has sendmail_enable=NO. So it should be 
able to send, but not receive, which is what I want.I have included the 
mail -v messages below. I have tried to send to 4 different addresses, 
including the freebsd-test list, no messages show up at any addresses.
Any idea why mail is not being sent?

Thanks
Chip W
Simrad, Inc
--
-bash-2.05b$ mail -v -s test [EMAIL PROTECTED]
testing again.
.
EOT
[EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
220 simradusa.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 4 Nov 2003 08:33:17 
-0800 (PST)
>>> EHLO simradusa.com
250-simradusa.com Hello localhost.simrad.com [127.0.0.1], pleased to meet 
you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<[EMAIL PROTECTED]> SIZE=58
250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
>>> RCPT To:<[EMAIL PROTECTED]>
>>> DATA
250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 hA4GXHwG000641 Message accepted for delivery
[EMAIL PROTECTED] Sent (hA4GXHwG000641 Message accepted for 
delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 simradusa.com closing connection

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


Re: freebsd port for MRTG

2003-11-04 Thread Wout A.
# cd /usr/ports
# make update
# make search name=mrtg

- Original Message - 
From: "DanB" <[EMAIL PROTECTED]>
To: "freebsd" <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 6:00 AM
Subject: freebsd port for MRTG


> Is there a port for MRTG?   Also a step by step instruction for setup
> for FREEBSD only.
> Dan
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
>
>


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


multimedia/avifile won't compile, stopping builds of x11/gnome2

2003-11-04 Thread Paul Seniura
I'm seeing the exact same compiler problem that bento has been showing
for multimedia/avifile.  This is bento's log for this app:

This is stopping "portupgrade --new --recursive --upward-recursive x11/gnome2" from 
finishing.
I have been staying current via CTM due to firewall issues here
(political... don't ask ;) .
I've read thru the long discussion about breaking gnome2 up into
more managable separate collections of apps, but for now the gnome2
collection is the only thing portupgrade knows how to keep track of,
so it is broken as far as it is concerned.
Also, apparently no one else has seen this compile problem with avifile
as I've searched thru every mail-list here to no avail.
Please help me with this -- should I file a bug? or is there a workaround?
If I file a bug, I will recommend upgrading avifile to the latest version as shown on 
their project site at Sourceforge,
but gnome2 is broken until this is fixed.  Thank you very much.

-- 
__
Sign-up for your own personalized E-mail at Mail.com
http://www.mail.com/?sr=signup

CareerBuilder.com has over 400,000 jobs. Be smarter about your job search
http://corp.mail.com/careers

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


Re: Overheating attributed to Freebsd --sysctl variables notavailable--

2003-11-04 Thread Technical Director

> => I doubt hardware manufactuers put out equipment that can't run at 100% at
> => least.
> 
> FWIW, I doubt the accuracy of that last paragraph, and don't think
> this is "so seemingly far fetched" at all. :-)

Considering the high demand for consumer's purchasing 'their' products, a
mishap like "My server can't run at high cpu due to it crashing" is part
and parcel to shooting yourself in the foot as a manufactuer.

If you buy a MB/PROC that cooks just by operating as a server, which in
most cases what FreeBSD will be used for, and you know that it 'may'
crash or lockup due to heat, don't use FreeBSD.

- or -

Buy hardware that won't cook out. 

R.

PS

Have you both tried to run 4.#-[CURRENT/STABLE/RELEASE] to see if the
problem goes away?

> I have a related problem.  In my case, it's a borrowed laptop on which
> I installed FreeBSD 5.1-CURRENT (quite a while ago, but last
> {build,install}{kernel,world} was circa July 2003).  Also installed on
> the system is Windows 2000 Professional.  The related problem I have
> is that I can fairly easily get the laptop to power off due to
> thermally-initiated shutdown using FreeBSD (complete with "current
> temperature has exceeded system limits" type messages on the console
> beforehand), but can't seem to do so via Win2K. :-(
> 
> Now I know that in a sense this is apples and oranges, because I don't
> do precisely the same things under both operating systems.  But, it
> seems that high-CPU/system activity under FreeBSD will ultimately lead
> to a thermal shutdown, but not on Win2K (no so far as I've been able
> to manage, anyway).  This is inconvenient, to say the least.  For
> example, a FreeBSD buildworld or buildkernel will not complete; it'll
> get part way through before the machine becomes too hot and shuts
> itself down.  Similarly, building "big" ports like Mozilla won't
> complete, which makes portupgrade a bit of fun.  Needless to say, this
> system doesn't get updated much. :-)
> 
> Now I'm not saying the machine doesn't become physically hot when
> running Win2K, too.  It does (e.g., when playing CPU-intensive games,
> etc.).  But somehow, Win2K is able to manage things so that the system
> does not become so hot that the shutdown kicks in.
> 
> So, I'm wondering if there's some sysctl or other knob that can be set
> in FreeBSD that will ameliorate this problem.  (I thought
> laptop/mobile CPUs generally were able to step down to lower clock
> speeds to conserve power/run cooler, for example.)  If I could do
> system rebuilds and port builds without having to restart that'd be a
> big improvement! :-)
> 
> Unlike the original poster, this is an Intel-based system, not Athlon.
> It's a Gateway Solo 450 laptop.  If I didn't know better, I'd think
> that Gateway "engineered" (pah!) this system so it would run Windows
> "okay" and that's it as far as they're concerned. >;-)  FWIW, attached
> at the end of this message is a copy of /var/run/dmesg.boot in case
> anyone can suggest something to help.
> 
> Cheers,
> 
> Paul.
> 
> PS: I'm glad I'm only borrowing this laptop and didn't buy it!!  The
> owner of the laptop only uses Windows, so this is only a problem for
> me running FreeBSD.
> 
> e-mail: [EMAIL PROTECTED]
> 
> "Without music to decorate it, time is just a bunch of boring production
>  deadlines or dates by which bills must be paid."
> --- Frank Vincent Zappa
> 
> > /var/run/dmesg.boot >
> Copyright (c) 1992-2003 The FreeBSD Project.
> Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
>   The Regents of the University of California. All rights reserved.
> FreeBSD 5.1-CURRENT #1: Sat Jul 19 19:25:09 EDT 2003
> root@:/usr/obj/usr/src/sys/LAPTOP
> Preloaded elf kernel "/boot/kernel/kernel" at 0xc056f000.
> Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc056f26c.
> Preloaded elf module "/boot/kernel/miibus.ko" at 0xc056f318.
> Preloaded elf module "/boot/kernel/snd_maestro3.ko" at 0xc056f3c4.
> Preloaded elf module "/boot/kernel/snd_pcm.ko" at 0xc056f478.
> Preloaded elf module "/boot/kernel/radeon.ko" at 0xc056f524.
> Preloaded elf module "/boot/kernel/firewire.ko" at 0xc056f5d0.
> Preloaded elf module "/boot/kernel/cbb.ko" at 0xc056f680.
> Preloaded elf module "/boot/kernel/exca.ko" at 0xc056f728.
> Preloaded elf module "/boot/kernel/cardbus.ko" at 0xc056f7d4.
> Preloaded elf module "/boot/kernel/acpi.ko" at 0xc056f880.
> Timecounter "i8254"  frequency 1193182 Hz
> Timecounter "TSC"  frequency 1994125864 Hz
> CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz (1994.13-MHz 686-class CPU)
>   Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
>   
> Features=0xbfebf9ff
> real memory  = 536346624 (511 MB)
> avail memory = 514928640 (491 MB)
> Pentium Pro MTRR support enabled
> npx0:  on motherboard
> npx0: INT 16 interface
> acpi0:  on motherboard
> pcibios: BIOS version 2.10
> Using $PIR table, 11 entries at 0xc00fdf10
> acpi0: power button is handled as a fixed feature programming model.
> Timec

Re: FreeBsd , I REALLY need some help :-)

2003-11-04 Thread Garance A Drosihn
At 1:47 PM +0100 11/4/03, Nic Bergen wrote:
Hi,

I'm trying to install freebsd on an old i486 (75mhz) with
40mb ram I have two harddrives 260 and 349mb.
Which version of FreeBSD are you trying to install?

--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: mail never gets sent

2003-11-04 Thread chip . wiegand
Correct me if I'm wrong, but if DNS is not working, I would not be able to 
do a traceroute to a domain name, right? But rather only to an ip address? 
But I can do traceroute to a domain name, and browse the web, by name. Is 
this right or not?
Thanks,
--
Chip W

Steve Hovey <[EMAIL PROTECTED]> wrote on 11/04/2003 09:04:26 AM:

> Looks to me like you dont have DNS workin right - everything resolves to
> your local host instead of gettin the correct MX records.
> 
> 
> On Tue, 4 Nov 2003 [EMAIL PROTECTED] wrote:
> 
> > I just set up a new box with fbsd-5.1 and it appears that the email 
never 
> > leaves the box, or at least it never arrives at its intended 
destination. 
> > I have set up previous versions of freebsd and never had a problem 
sending 
> > mail with out any configuration of sendmail. The machine does connect 
and 
> > browse the internet. My rc.conf has sendmail_enable=NO. So it should 
be 
> > able to send, but not receive, which is what I want.I have included 
the 
> > mail -v messages below. I have tried to send to 4 different addresses, 

> > including the freebsd-test list, no messages show up at any addresses.
> > Any idea why mail is not being sent?
> > 
> > Thanks
> > Chip W
> > Simrad, Inc
> > --
> > -bash-2.05b$ mail -v -s test [EMAIL PROTECTED]
> > testing again.
> > .
> > EOT
> > [EMAIL PROTECTED] Connecting to [127.0.0.1] via relay...
> > 220 simradusa.com ESMTP Sendmail 8.12.9/8.12.9; Tue, 4 Nov 2003 
08:33:17 
> > -0800 (PST)
> > >>> EHLO simradusa.com
> > 250-simradusa.com Hello localhost.simrad.com [127.0.0.1], pleased to 
meet 
> > you
> > 250-ENHANCEDSTATUSCODES
> > 250-PIPELINING
> > 250-8BITMIME
> > 250-SIZE
> > 250-DSN
> > 250-ETRN
> > 250-DELIVERBY
> > 250 HELP
> > >>> MAIL From:<[EMAIL PROTECTED]> SIZE=58
> > 250 2.1.0 <[EMAIL PROTECTED]>... Sender ok
> > >>> RCPT To:<[EMAIL PROTECTED]>
> > >>> DATA
> > 250 2.1.5 <[EMAIL PROTECTED]>... Recipient ok
> > 354 Enter mail, end with "." on a line by itself
> > >>> .
> > 250 2.0.0 hA4GXHwG000641 Message accepted for delivery
> > [EMAIL PROTECTED] Sent (hA4GXHwG000641 Message accepted for 
> > delivery)
> > Closing connection to [127.0.0.1]
> > >>> QUIT
> > 221 2.0.0 simradusa.com closing connection
> > 
> > ___
> > [EMAIL PROTECTED] mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"
> > 
> 

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


Re: printing setup

2003-11-04 Thread Miguel Mendez
On Tue, 4 Nov 2003 10:48:36 -0500 (EST)
[EMAIL PROTECTED] wrote:

[Please, keep [EMAIL PROTECTED] CC'd]

> Request Entity Too Large
> The request is too large for this server to process.HTTP/1.1 413
> Request Entity Too Large Date: Tue, 04 Nov 2003 14:35:45 GMT Server:
> CUPS/1.1 Content-Language: en-us,en;q=0.5 Upgrade: TLS/1.0,HTTP/1.1
> Connection: close Content-Type: text/html Content-Length: 168
> Request Entity Too Large
> The request is too large for this server to process.

Ok, a quick search on google reveals there used to be more people with
that problem. So, what version of cups do you have installed? If it's an
old one, you should cvsup your ports tree and install the latest
version. The one I'm using:

[EMAIL PROTECTED] pkg_info | grep -i cups
cups-1.1.19.0   The Common UNIX Printing System: Metaport to install comple
cups-base-1.1.19.0  The Common UNIX Printing System: headers, libs, & daemons
cups-lpr-1.1.19.0   The CUPS BSD and system V compatibility binaries (lp* comma
cups-pstoraster-7.07 GNU Postscript interpreter for CUPS printing to non-PS prin

Cheers,
-- 
Miguel Mendez <[EMAIL PROTECTED]>
http://www.energyhq.es.eu.org
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Overheating attributed to Freebsd --sysctl variables notavailable--

2003-11-04 Thread nw1
Jud, Annotated below
- Original Message - 
From: "Jud" <[EMAIL PROTECTED]>
To: "nw1" <[EMAIL PROTECTED]>; "peter lageotakes" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 6:06 AM
Subject: Re: Overheating attributed to Freebsd --sysctl variables notavailable--


> On Mon, 3 Nov 2003 22:09:56 -0500, nw1 <[EMAIL PROTECTED]> wrote:
>
> > - Original Message -
> > From: "Jud" <[EMAIL PROTECTED]>
> > To: "nw1" <[EMAIL PROTECTED]>; "peter lageotakes"
> > <[EMAIL PROTECTED]>
> > Cc: <[EMAIL PROTECTED]>
> > Sent: Monday, November 03, 2003 9:53 PM
> > Subject: Re: Overheating attributed to Freebsd --sysctl variables
> > notavailable--
> >
> >
> >> On Mon, 3 Nov 2003 19:57:38 -0500, nw1 <[EMAIL PROTECTED]> wrote:
> >>
> >> >
> >> >
> >> >> What version of FreeBSD are you using?
> >> >> Did you compile amp into the kernel?
> >> >
> >> > I think you're not understanding what I posted @
> >> > http://69.3.136.141/freebsd/installation/sysctl_variables_missing
> >> >
> >> > The first line has what version I'm running.  The entire document @
> >> > http://69.3.136.141/freebsd/installation/sysctl_variables_missing
> >> > implies; this was a
> >> > running system with no serious issues; meaning; the sysctl items I'm
> >> > speaking of were in
> >> > fact available and working.
> >> >
> >> > If i can figure out how to make these sysctl variables available, I
> >> can
> >> > set them like they
> >> > were before, hence my overheating problem is solved.
> >> >
> >> > See what I mean?
> >> >
> >> >>
> >> >> --- nw1 <[EMAIL PROTECTED]> wrote:
> >> >> > The problem can be viewed @:
> >> >> >
> >> >> http://69.3.136.141/freebsd/installation/sysctl_variables_missing
> >> >> >
> >> >> > Basically, the machine is overheating (I believe)
> >> >> > because the cpu's aren't cycling down.
> >> >> > Previously I was able to cycle the processors down
> >> >> > with the following sysctl variables:
> >> >> >
> >> >> > machdep.apm_suspend_delay:
> >> >> > machdep.apm_standby_delay:
> >> >> >
> >> >> > however, for some reason those variables currently,
> >> >> > aren't any where to be found by the
> >> >> > up_and_running system.  Please use the hyperlink
> >> >> > above for details.
> >> >> >
> >> >> > Thanks for reading.  All feedback is welcome.
> >>
> >> You may want to have a look at /usr/ports/sysutils/fvcool.  (If you'd
> >> like
> >> a script to run it on startup, Dr. Matthew Seaman posted one to the
> >> mailing list some months ago - January?)
>
> [Please don't top post - makes reading long threads more difficult.]
>
> > I'm interested in those missing sysctl variables I posted @
> > http://69.3.136.141/freebsd/installation/sysctl_variables_missing.
> > Using a Third party
> > application/script to fix something that was natively working or under
> > control, I don't
> > think, is the way to go and causes another level of complexity.
> >
> > Wouldn't you think?
>
> Ah - I thought you were interested in effectively and easily lowering your
> AMD CPU temperatures by 10-20 degrees Celsius, rather than in getting help
> searching for sysctl variables that had been more or less effective for
> you in the past.
>
> BTW, if you wish to do "natively" what the fvcool "port" does, the
> technical documentation at fvcool's site goes some way toward explaining
> that.
>
> Sorry, my mistake.

No problem, I am interested in any and all *sane/reasonable feedback.  I haven't been 
to
much a fan of using third party applications to fix something the original code or
hardware should be able to handle.

Thanks for your input.

>
> Jud
>

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


Recursive renice?

2003-11-04 Thread Zev Thompson
Hi all,

I'm curious whether there's an easy way to renice(8) a process and all 
of its children in one simple command. For example, I might start a 
recursive make, which spawns lots of processes, and want them all to 
change priority at once.

The command I want is this:

renice +10 -r process-ID

Except for the fact that -r is not a valid flag. The pstree utility, in 
the ports, seems like it might be a good start to hack this 
functionality in. I searched google for "recursive renice" and found 
someone had made a sed script, but it's for linux, where the pstree 
output is different. Here's some example pstree output:

 | \-+- 14187 zevt gmake
 |   \-+- 14189 zevt gmake all-recursive
 | \-+- 14190 zevt /bin/sh -c set fnord ;
 |   \-+- 14807 zevt /bin/sh -c set fnord ;
[etc.]
Google result that's relevant:
http://mail.gnu.org/archive/html/bug-coreutils/2003-10/msg00033.html
Any hints? Thanks in advance to any answers.

Zev

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


Re: Overheating attributed to Freebsd --sysctl variablesnotavailable--

2003-11-04 Thread nw1
Paul mather,
Thanks for your response ...
See comments below (annotated)
- Original Message - 
From: "Paul Mather" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 9:45 AM
Subject: Re: Overheating attributed to Freebsd --sysctl variablesnotavailable--


> On Mon, 3 Nov 2003 21:07:45 -0700 (MST), Technical Director <[EMAIL PROTECTED]>
wrote:
>
> => Forgive me for saying:
> =>
> => If this system is borked with FreeBSD due to the cpu's not cycling
> => 'down', then use a different operating system. FreeBSD is not responsible
> => for your trouble if you can solve the problem by moving on. Doing so and
> => solving the problem is more important than holding the OS and the
> => contributors to it accountable to something so seemingly far fetched.
> =>
> => One way to test overall integrity of your hardware is to boot to bios and
> => leave it. Does it bake out on you? Then there is definitely something
> => wrong with your hardware, perhaps a fan is spinning less rpms than when
> => new.
> =>
> => In my humble opinion this is probably not associated with the OS, but,
> => that doesn't solve 'your' problem. So besides seeing it for myself I can't
> => see an absolute need to use FreeBSD, in your words the problem, and not
> => use some other [$]NIX.
> =>
> => One last thing, if your CPU's are baking out and crashing, are you not
> => nervous that under load this will happen no matter what the OS? Tweaking
> => system variables will not help you if your server is working ultra-hard,
> => at some point you will reach a mark that your system should still be able
> => to do which currently it can't.
> =>
> => I doubt hardware manufactuers put out equipment that can't run at 100% at
> => least.
>
> FWIW, I doubt the accuracy of that last paragraph, and don't think
> this is "so seemingly far fetched" at all. :-)
>
> I have a related problem.  In my case, it's a borrowed laptop on which
> I installed FreeBSD 5.1-CURRENT (quite a while ago, but last
> {build,install}{kernel,world} was circa July 2003).  Also installed on
> the system is Windows 2000 Professional.  The related problem I have
> is that I can fairly easily get the laptop to power off due to
> thermally-initiated shutdown using FreeBSD (complete with "current
> temperature has exceeded system limits" type messages on the console
> beforehand), but can't seem to do so via Win2K. :-(

These are the same two (2) operating systems I am using.  FreeBSD will cause my 
AMD-MP's
to overheat while only idling --depending on the room temperature.
>
> Now I know that in a sense this is apples and oranges, because I don't
> do precisely the same things under both operating systems.  But, it
> seems that high-CPU/system activity under FreeBSD will ultimately lead
> to a thermal shutdown, but not on Win2K (no so far as I've been able
> to manage, anyway).

Exactly what I'm experiencing unless and until I set the following:

machdep.apm_suspend_delay: 0
machdep.apm_standby_delay: 0

If i have the above two (2) lines set to:
machdep.apm_suspend_delay: 1
machdep.apm_standby_delay: 1

Its just a matter of time before one or more of the processors overheat and the box 
shuts
down --without notice.
>This is inconvenient, to say the least.  For
> example, a FreeBSD buildworld or buildkernel will not complete; it'll
> get part way through before the machine becomes too hot and shuts
> itself down.  Similarly, building "big" ports like Mozilla won't
> complete, which makes portupgrade a bit of fun.  Needless to say, this
> system doesn't get updated much. :-)

You may want to try and set those above variables to '0'
machdep.apm_suspend_delay: 0
machdep.apm_standby_delay: 0

>
> Now I'm not saying the machine doesn't become physically hot when
> running Win2K, too.  It does (e.g., when playing CPU-intensive games,
> etc.).  But somehow, Win2K is able to manage things so that the system
> does not become so hot that the shutdown kicks in.
>
Same here

> So, I'm wondering if there's some sysctl or other knob that can be set
> in FreeBSD that will ameliorate this problem.

Once again try:
machdep.apm_suspend_delay: 0
machdep.apm_standby_delay: 0

>(I thought
> laptop/mobile CPUs generally were able to step down to lower clock
> speeds to conserve power/run cooler, for example.)  If I could do
> system rebuilds and port builds without having to restart that'd be a
> big improvement! :-)
>

> Unlike the original poster, this is an Intel-based system, not Athlon.
> It's a Gateway Solo 450 laptop.
This is strange, in comparison to my setup.  The machine that's giving this overheat
problem is the build_box (AMD-MP).  we have client machines that are all intel based; 
P72,
P200 and a 1Ghz processor <-- these machines mount via NFS to the problem machine and
installworld and kernel using the same src, as the NFS mount implies, --none of the 
client
machines needs the following variables/knobs set:
machdep.apm_suspend_delay: 0
machdep.apm_standby_delay: 

Minimal JAIL install?

2003-11-04 Thread Chris
Hello,

If one follows the directions given in man jail(8), a "make world" is done. I'm 
building jails to run websites, and don't believe I need the "world" in there. If I do 
it that way, each jail takes about 138 megs of space, BEFORE services and web files 
are installed.

Is there a better way to make the jail, with only the minimum needed to support things 
like apache, a smtp and pop server, sshd, etc?

4.9-RELEASE

Thanks,
Chris

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


Re: Overheating attributed to Freebsd --sysctl variablesnotavailable--

2003-11-04 Thread nw1
annotated below
- Original Message - 
From: "Technical Director" <[EMAIL PROTECTED]>
To: "Paul Mather" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 12:32 PM
Subject: Re: Overheating attributed to Freebsd --sysctl variablesnotavailable--


>
> > => I doubt hardware manufactuers put out equipment that can't run at 100% at
> > => least.
> >
> > FWIW, I doubt the accuracy of that last paragraph, and don't think
> > this is "so seemingly far fetched" at all. :-)
>
> Considering the high demand for consumer's purchasing 'their' products, a
> mishap like "My server can't run at high cpu due to it crashing" is part
> and parcel to shooting yourself in the foot as a manufactuer.
I'm not sure if your addressing the original poster of this thread (me) or Paul, who 
has a
similar problem.


>
> If you buy a MB/PROC that cooks just by operating as a server, which in
> most cases what FreeBSD will be used for, and you know that it 'may'
> crash or lockup due to heat, don't use FreeBSD.
>
> - or -
>
> Buy hardware that won't cook out.
>
I disagree with both of your suggestions above.
Just dropping an item, in this case the OS, because its contributing to a specific 
problem
is not my idea of building or refining.  Up until this point, I thought it was more an 
AMD
issue until I heard from *Paul Mather --who uses intel based hardware.  Paul Mathers'
issue, with his *laptop seems to be more severe than my overheating with the *server.

Yes = there are some tricks more knowledgable people in the community can do to work
around issues such as this, but I'm hoping to bring the issue to the attention of 
whomever
needs to see this in order to get a permenant fix.  Having to set the following to '0':
machdep.apm_suspend_delay: 0
machdep.apm_standby_delay: 0
just for the machine to *not overheat while idling --doesn't seem correct.

The issue at hand may very well be explainable in its current state, but after hearing
from *Paul Mather and working closely with a lead tech @ AMD and Tyan; I'm confident 
I'm
in one of the correct forum to discuss this.

Personally; I shouldn't have to buy my way out of this problem, and I will not leave
FreeBSD for another OS becaue of this. :-)  Lets find out what we can do to remedy this
within FreeBSD instead of pushing people away from the project.

> R.
>
> PS
>
> Have you both tried to run 4.#-[CURRENT/STABLE/RELEASE] to see if the
> problem goes away?
>
> > I have a related problem.  In my case, it's a borrowed laptop on which
> > I installed FreeBSD 5.1-CURRENT (quite a while ago, but last
> > {build,install}{kernel,world} was circa July 2003).  Also installed on
> > the system is Windows 2000 Professional.  The related problem I have
> > is that I can fairly easily get the laptop to power off due to
> > thermally-initiated shutdown using FreeBSD (complete with "current
> > temperature has exceeded system limits" type messages on the console
> > beforehand), but can't seem to do so via Win2K. :-(
> >
> > Now I know that in a sense this is apples and oranges, because I don't
> > do precisely the same things under both operating systems.  But, it
> > seems that high-CPU/system activity under FreeBSD will ultimately lead
> > to a thermal shutdown, but not on Win2K (no so far as I've been able
> > to manage, anyway).  This is inconvenient, to say the least.  For
> > example, a FreeBSD buildworld or buildkernel will not complete; it'll
> > get part way through before the machine becomes too hot and shuts
> > itself down.  Similarly, building "big" ports like Mozilla won't
> > complete, which makes portupgrade a bit of fun.  Needless to say, this
> > system doesn't get updated much. :-)
> >
> > Now I'm not saying the machine doesn't become physically hot when
> > running Win2K, too.  It does (e.g., when playing CPU-intensive games,
> > etc.).  But somehow, Win2K is able to manage things so that the system
> > does not become so hot that the shutdown kicks in.
> >
> > So, I'm wondering if there's some sysctl or other knob that can be set
> > in FreeBSD that will ameliorate this problem.  (I thought
> > laptop/mobile CPUs generally were able to step down to lower clock
> > speeds to conserve power/run cooler, for example.)  If I could do
> > system rebuilds and port builds without having to restart that'd be a
> > big improvement! :-)
> >
> > Unlike the original poster, this is an Intel-based system, not Athlon.
> > It's a Gateway Solo 450 laptop.  If I didn't know better, I'd think
> > that Gateway "engineered" (pah!) this system so it would run Windows
> > "okay" and that's it as far as they're concerned. >;-)  FWIW, attached
> > at the end of this message is a copy of /var/run/dmesg.boot in case
> > anyone can suggest something to help.
> >
> > Cheers,
> >
> > Paul.
> >
> > PS: I'm glad I'm only borrowing this laptop and didn't buy it!!  The
> > owner of the laptop only uses Windows, so this is only a problem for
> > me running FreeBSD.
> >
> > e-mail: [E

Re: which linux? (not flame bait, thank you)

2003-11-04 Thread andi payn
On Tue, 2003-11-04 at 00:20, DavidB wrote:
> My question is this, I would like to have a little exposure to linux and 
> am wondering which distro to run, I used redhat back at the same time I 
> started with FreeBSD3~ , not sure if I should check them out.

My personal favorite distro is Mandrake--not because it's easy to use,
but because it's easy to use as a development box. My next choice is
Debian, for all the usual reasons. Mandrake and Debian also have by far
the best user/community support networks.

As for what's best for you, it really depends on what your goal is. Are
you looking to get exposure as a user, an admin, or a developer? Is this
to flesh out your resume, or to make you a better open source
contributor, or just for fun?

Without knowing all that, the best I can do is list the pros and cons of
the distros I've ever played with that aren't defunct (I'll start with
the ones you mentioned): Slackware, Debian, Gentoo, Redhat, Mandrake,
SuSE, Crux, Elfstone, Conectiva, TurboLinux, Lindows.

Also, you may want to take a look at
http://www.linux.org/dist/index.html before making a decision.
Apparently, there are 146 English-language, i386-platform,
currently-maintained distros, and I've only tried a little over a
dozen

Slackware
-
Slackware is the most FreeBSD-like in administration. However, for my
taste, it's too barebones. Not barebones as in "secure by default," but
as in "missing things you need." You have to know exactly what you want
to install, and how to configure it, to get into Slackware. The
advantage is that if you _do_ know all of this, it's easier to get a
slimmed-down system (to run as fast as possible, in as little disk space
as possible). The disadvantage is that you probably don't know all of
this.

Still, some of the problems that linux people have with Slackware
probably won't affect a FreeBSD user as much. For example, last I
checked, they still don't follow the FHS, so nothing's where you expect
it to be--but then that's going to be true on _any_ linux for a
FreeBSDer. Similarly for initscripts, again irrelevant to a newcomer
from the FreeBSD world.

Also, some of the admin tasks that I found difficult and poorly
documented turned out to be pretty close to the FreeBSD way (which _is_
well documented--plus, you already know it). So, if you already know how
to administer a FreeBSD box, you'll probably have less to learn on
Slackware, although there will be less guidance in learning it. 

Overall, I wouldn't recommend Slackware to anyone who hasn't already
been using Slackware.

Debian
--
Debian is the most FreeBSD-like in philosophy. For example, they have a
STABLE branch that always works, period, even if it has to be a bit
behind the times to do so. They have the least-patched kernel, gcc,
glibc, etc. of all the major distros, and they put the most work into
making sure everything integrates properly.

Whenever Redhat seems to be going the wrong way, most of the other
distros try to copy them and then fix what they screwed up--but Debian
instead ignores them and spends the time findind a better solution.
They've come up with some unique innovations, like the menu system and
update-alternatives, which have turned out to be useful even on top of
Redhat-based distros.

The main disadvantage of Debian is that it's less like other distros
than most distros, so if you're looking for general linux experience, it
may not be the way to go. Also, even on UNSTABLE, Debian tends to be
further behind some other distros (old versions of some packages, other
packages not even there yet, etc.).

But, if neither of these issues bothers you, then go with Debian.

"Supra-Debians"
---
There are a number of Debian-based distros that will install a complete
system ready to go as a workstation, server, etc., but that can be
administered from there just like any other Debian system.

For example (this is a while back, so it may be out of date), I used
Libranet in teaching linux, because it installs a complete KDE
workstation out-of-the-box, but whenever you want (or need) to play with
something, it's just like a stock Debian box. 

But don't use Xandros--although it's Debian-based, it's heavily modified
in peculiar ways.

Gentoo
--
Gentoo is the most FreeBSD-like on the surface. It's based around
portage (emerge), which is essentially ports without a base system. The
fact that everything is a port--even the kernel--seems really nifty at
first, but it also seems to lead to serious problems keeping the whole
distro in sync. (Or maybe it's just that they don't have as large of a
following as FreeBSD?) 

Also, there aren't nearly as many packages for gentoo as for FreeBSD
(much less Redhat or Debian), and portagifying a package given an RPM
specfile (or even a FreeBSD port) is generally non-trivial. Plus, I've
played with gentoo a few times, and each time I have lots of fun until I
run into some dependency problem that takes days to sort out.

And, while it's nice t

Re: Overheating attributed to Freebsd --sysctlvariablesnotavailable--

2003-11-04 Thread Jud

On Tue, 4 Nov 2003 14:26:40 -0500, "nw1" <[EMAIL PROTECTED]> said:
> Paul mather,
> Thanks for your response ...
> See comments below (annotated)
> - Original Message - 
> From: "Paul Mather" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, November 04, 2003 9:45 AM
> Subject: Re: Overheating attributed to Freebsd --sysctl
> variablesnotavailable--
> 
> 
> > On Mon, 3 Nov 2003 21:07:45 -0700 (MST), Technical Director <[EMAIL PROTECTED]>
> wrote:
> >
> > => Forgive me for saying:
> > =>
> > => If this system is borked with FreeBSD due to the cpu's not cycling
> > => 'down', then use a different operating system. FreeBSD is not responsible
> > => for your trouble if you can solve the problem by moving on. Doing so and
> > => solving the problem is more important than holding the OS and the
> > => contributors to it accountable to something so seemingly far fetched.
> > =>
> > => One way to test overall integrity of your hardware is to boot to bios and
> > => leave it. Does it bake out on you? Then there is definitely something
> > => wrong with your hardware, perhaps a fan is spinning less rpms than when
> > => new.
> > =>
> > => In my humble opinion this is probably not associated with the OS, but,
> > => that doesn't solve 'your' problem. So besides seeing it for myself I can't
> > => see an absolute need to use FreeBSD, in your words the problem, and not
> > => use some other [$]NIX.
> > =>
> > => One last thing, if your CPU's are baking out and crashing, are you not
> > => nervous that under load this will happen no matter what the OS? Tweaking
> > => system variables will not help you if your server is working ultra-hard,
> > => at some point you will reach a mark that your system should still be able
> > => to do which currently it can't.
> > =>
> > => I doubt hardware manufactuers put out equipment that can't run at 100% at
> > => least.
> >
> > FWIW, I doubt the accuracy of that last paragraph, and don't think
> > this is "so seemingly far fetched" at all. :-)
> >
> > I have a related problem.  In my case, it's a borrowed laptop on which
> > I installed FreeBSD 5.1-CURRENT (quite a while ago, but last
> > {build,install}{kernel,world} was circa July 2003).  Also installed on
> > the system is Windows 2000 Professional.  The related problem I have
> > is that I can fairly easily get the laptop to power off due to
> > thermally-initiated shutdown using FreeBSD (complete with "current
> > temperature has exceeded system limits" type messages on the console
> > beforehand), but can't seem to do so via Win2K. :-(
> 
> These are the same two (2) operating systems I am using.  FreeBSD will
> cause my AMD-MP's
> to overheat while only idling --depending on the room temperature.
> >
> > Now I know that in a sense this is apples and oranges, because I don't
> > do precisely the same things under both operating systems.  But, it
> > seems that high-CPU/system activity under FreeBSD will ultimately lead
> > to a thermal shutdown, but not on Win2K (no so far as I've been able
> > to manage, anyway).
> 
> Exactly what I'm experiencing unless and until I set the following:
> 
> machdep.apm_suspend_delay: 0
> machdep.apm_standby_delay: 0
> 
> If i have the above two (2) lines set to:
> machdep.apm_suspend_delay: 1
> machdep.apm_standby_delay: 1
> 
> Its just a matter of time before one or more of the processors overheat
> and the box shuts
> down --without notice.
> >This is inconvenient, to say the least.  For
> > example, a FreeBSD buildworld or buildkernel will not complete; it'll
> > get part way through before the machine becomes too hot and shuts
> > itself down.  Similarly, building "big" ports like Mozilla won't
> > complete, which makes portupgrade a bit of fun.  Needless to say, this
> > system doesn't get updated much. :-)
> 
> You may want to try and set those above variables to '0'
> machdep.apm_suspend_delay: 0
> machdep.apm_standby_delay: 0
> 
> >
> > Now I'm not saying the machine doesn't become physically hot when
> > running Win2K, too.  It does (e.g., when playing CPU-intensive games,
> > etc.).  But somehow, Win2K is able to manage things so that the system
> > does not become so hot that the shutdown kicks in.
> >
> Same here
> 
> > So, I'm wondering if there's some sysctl or other knob that can be set
> > in FreeBSD that will ameliorate this problem.
> 
> Once again try:
> machdep.apm_suspend_delay: 0
> machdep.apm_standby_delay: 0
> 
> >(I thought
> > laptop/mobile CPUs generally were able to step down to lower clock
> > speeds to conserve power/run cooler, for example.)  If I could do
> > system rebuilds and port builds without having to restart that'd be a
> > big improvement! :-)
> >
> 
> > Unlike the original poster, this is an Intel-based system, not Athlon.
> > It's a Gateway Solo 450 laptop.
> This is strange, in comparison to my setup.  The machine that's giving
> this overheat
> problem is the build_box (AMD-MP).  we have client machines that are all
> intel bas

Re: Recursive renice?

2003-11-04 Thread Matthew Seaman
On Tue, Nov 04, 2003 at 11:25:54AM -0800, Zev Thompson wrote:
> Hi all,
> 
> I'm curious whether there's an easy way to renice(8) a process and all 
> of its children in one simple command. For example, I might start a 
> recursive make, which spawns lots of processes, and want them all to 
> change priority at once.
> 
> The command I want is this:
> 
> renice +10 -r process-ID
> 
> Except for the fact that -r is not a valid flag. The pstree utility, in 
> the ports, seems like it might be a good start to hack this 
> functionality in. I searched google for "recursive renice" and found 
> someone had made a sed script, but it's for linux, where the pstree 
> output is different. Here's some example pstree output:
> 
>  | \-+- 14187 zevt gmake
>  |   \-+- 14189 zevt gmake all-recursive
>  | \-+- 14190 zevt /bin/sh -c set fnord ;
>  |   \-+- 14807 zevt /bin/sh -c set fnord ;
> [etc.]
> 
> Google result that's relevant:
> http://mail.gnu.org/archive/html/bug-coreutils/2003-10/msg00033.html
> 
> Any hints? Thanks in advance to any answers.

That's what 'renice -g pgrp' is for.  It's perhaps not quite as
flexible as you might like, as the only option is to renice a whole
process group -- however, this is the only way to renice a process
based on what it's parent processes are, other than by writing a
script to parse the output of ps(1) and applying renice several times
to affect a number of PIDs.

Generally for an interactive login, the process group includes your
login shell as process group leader and anything else you start up as
members of the process group.  The only exceptions are processes that
call setsid(2), which is commonly called as part of daemonizing a
process.  Under X, each xterm generally exists in it's own process
group, as do most X applications.  Use 'ps -j to obtain PGID values.

Cheers,

Matthew 

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: Minimal JAIL install?

2003-11-04 Thread Kris Kennaway
On Tue, Nov 04, 2003 at 01:29:47PM -0600, Chris wrote:

> Is there a better way to make the jail, with only the minimum needed
> to support things like apache, a smtp and pop server, sshd, etc?

In principle yes, in practise it's difficult to figure out exactly
what your applications expect to be present on the system.

Kris


pgp0.pgp
Description: PGP signature


Re: font in xfterm4

2003-11-04 Thread Sham Khalil


On Sun, 2 Nov 2003, Michael A. Smith wrote:

> I edited the command for xfterm (right-click on the button on the launch
> bar) to "xfterm -sb -sl 2000 -fa bitstream_vera_sans_mono -fs 10" to get
> the options I like (-sb for scrollbar, -sl 2000 for a 2000-line scroll
> buffer).
>
> Note: the above command is on my XFCE3 system. I'm not at my XCFE4
> system, so I don't know if the main command is xfterm or xfterm4. Either
> way the parameters are the same.
>
> Good luck! Enjoy XFCE4.
>

TQ, It works on xfterm4.
i only had xfce3 for a while before i migrated to xfce4
i enjoy it though

sham khalil


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


lan bandwidth issue

2003-11-04 Thread silent slim
This has gotta be a software issue... it seems logically impossible for
it to be otherwise.  I have my windows box running off a nat on my fbsd
box, it transmits to my isp at a max of about 160k down 70k up.
Transfering files between the two boxes can be done at a max of 1.6M down
and 130k up. Hense its physcially impossible for it to be a hardware
problem.  This is all quite annoying as both boxes are connected by
http://www.startech.com/ststore/itemdetail.cfm?tab=b&ProductID=ST100S&topbar=topbara.htm
10/100 nics and a 50' crossover cable.  Anyone have any ideas on what is
causing this issue and how it could possibly be resolved?
Here is the output from ifconfig on the bsd box:
rl0: flags=8843 mtu 1500
   inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255
   inet6 fe80::250:fcff:fe71:a11b%rl0 prefixlen 64 scopeid 0x1
   ether 00:50:fc:71:a1:1b
   media: Ethernet 100baseTX 
   status: active
rl1: flags=8843 mtu 1500
   inet6 fe80::250:bfff:fe17:63a2%rl1 prefixlen 64 scopeid 0x2
   inet 142.59.160.131 netmask 0xf800 broadcast 142.59.167.255
   ether 00:50:bf:17:63:a2
   media: Ethernet autoselect (10baseT/UTP)
   status: active
lp0: flags=8810 mtu 1500
lo0: flags=8049 mtu 16384
   inet6 ::1 prefixlen 128
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
   inet 127.0.0.1 netmask 0xff00
ppp0: flags=8010 mtu 1500
sl0: flags=c010 mtu 552
faith0: flags=8002 mtu 1500
And here is the output from ipconfig /all on the the win box:
Windows IP Configuration
   Host Name . . . . . . . . . . . . : FAMILY
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Unknown
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast 
Ethernet NIC
   Physical Address. . . . . . . . . : 00-50-FC-71-A1-31
   Dhcp Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.0.2
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.0.1
   DNS Servers . . . . . . . . . . . : 209.115.131.51
   209.115.152.150
   216.123.198.243
   209.115.152.130

Thanks,
ryan
_
The new MSN 8: smart spam protection and 2 months FREE*  
http://join.msn.com/?page=features/junkmail  
http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn.com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca

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


Re: Overheating attributed to Freebsd --sysctl variables notavailable--

2003-11-04 Thread Jud

On Tue, 4 Nov 2003 14:05:02 -0500, "nw1" <[EMAIL PROTECTED]> said:
[snip]
> > > I'm interested in those missing sysctl variables I posted @
> > > http://69.3.136.141/freebsd/installation/sysctl_variables_missing.
> > > Using a Third party
> > > application/script to fix something that was natively working or under
> > > control, I don't
> > > think, is the way to go and causes another level of complexity.
[snip]
> No problem, I am interested in any and all *sane/reasonable feedback.  I
> haven't been to
> much a fan of using third party applications to fix something the
> original code or
> hardware should be able to handle.

FVCool isn't a "third party application" as I understand the term. 
Perhaps a portion of the README file will make things clearer:

"As is well known AMD's Athlon/Duron is a 'hot' CPU.  It really produces
a lot of heat.  This is mainly because it consumes a lot of electric
power.  However, there is an another reason: Generally CPU goes into
power-save mode when it is in the idle state, but in almost all the
mother boards this is prohibited in the case of Athlon/Duron mother
boards in their original BIOS settings.  This software changes the PCI
configuration data of the chipset (north bridge), and allow Athlon/Duron
to go into power-save mode.  The principle is very simple if you have
information.  Actually, you can do exactly the same thing as this
software
manually by using the 'pciconf' command in FreeBSD.

  "Why mother board vendors release their products with such BIOS
  settings?
Well, there is a reason: There is a possibility to get the system
unstable
and/or even to hang or crash the system.  Therefore, this software is
somewhat dangerous in this respect, and I will not take any
responsibilities for problems caused by using this software.  Please
check the original Martin Peters's VCool web site for learning more of
technical details:

 http://vcool.occludo.net/";

So what FVCool does is utilize the 'pciconf' command to encourage AMD
CPUs to go into power-save mode when idle, a function most motherboard
manufacturers turn off for the stability reasons mentioned by FVCool's
author.  As the documentation says, you can manually make these changes
with the 'pciconf' command, but why not save typing by installing the
port and running the 'fvcool' command, or run it automatically with a
script?

Based on the names of the sysctls you're after, I'd speculate they may
operate in much (or even exactly) the same way.  That is why I wondered,
in response to your advice to Paul Mather, whether those sysctl settings
would work with Intel CPUs.

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


Reverse proxy question

2003-11-04 Thread Louis LeBlanc
Hey everyone.

Here's a question that may have been answered in the past, but I'm not
real satisfied with what I've found on Google.

I have been tasked with setting up a reverse proxy (open source,
probably squid) that is capable of handling 5000 requests per second
or more.  Yes, 5000/sec.  It's a world gone mad, I tell you.

Licensed products like iMimic and Volera are not options.  The OS is
flexible (I'm leaning toward a recent 4.x version of FreeBSD) and the
hardware is limited to what's on hand - either a Dell 2550 or 2650
with 1G Ram, 30G hard drive space, and varied CPU configurations.
What we have available are as follows: single 933MHz Xeon in the 2550,
single or dual 1.3 or 1.8 GHz Xeon in the 2650.

I realize that Squid relies more on disk seek times than actual
transfer rate or CPU power.  If I've been told right, the disks are
all mirrored 30G drives, but I don't have seek times on hand.

I know that most reverse proxies out there - both commercial and open
source are typically single CPU architectures, so that will be the
initial focus.

The problem I would like help with here is the version of FreeBSD that
would be more likely to handle this kind of load, particularly with
respect to Posix asynchronous I/O.  I've been told that 4.6 and
earlier didn't have great Posix A-I/O support, but is it better in
4.8, or should I jump to 5.0?

Also, if anyone knows of a reverse proxy that may be able to do better
than Squid, I'd certainly welcome the suggestion.  The benchmarks I've
seen online indicate I may need to improve squid by a factor of 10.
Not sure that's really an option unless the benchmark I've seen is
horribly biased.  Of course, if anyone has a web site that details
some of the finer tweaks that might at least get Squid close to the
requirements, that'd be great too.

Thanks in advance.

Lou
-- 
Louis LeBlanc   [EMAIL PROTECTED]
Fully Funded Hobbyist, KeySlapper Extrordinaire :)
http://www.keyslapper.org ԿԬ

Armor's Axiom:
  Virtue is the failure to achieve vice.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


securelevel problems

2003-11-04 Thread Wayne Pascoe
Hi all,

I'm trying to upgrade a 4.7-RELEASE machine to 4.9. The make buildworld
has gone ok, but installworld failed.

At first, it appeared that this was because the machine was running in
securelevel 1. I had the following in /etc/rc.conf:
kern_securelevel_enable="YES"
kern_securelevel="1"

I changed that to
kern_securelevel_enable="NO"
kern_securelevel="-1"

and rebooted the machine. sysctl -a | grep secure shows
kern.securelevel: -1

however a make installworld is still failing with:

Stop in /usr/src/include.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

I then tried touching my kernel, which also fails, with:
# touch kernel
touch: kernel: Operation not permitted

I'm at a bit of a loss as to how to proceed as the only thing I could
think to do was to disable securelevel in /etc/rc.conf :(

does anyone know what I may have missed or how I might rectify this
issue ? 

Thanks,

-- 
Wayne Pascoe
'tis far easier to get forgiveness than it is to
get permission - probably someone famous,
but more often, my Dad.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Network card problem

2003-11-04 Thread Alexander A. Chimento
Hi,

I have a Compaq Presario 2100 laptop, with a National Semiconductor DP83815/316, that 
uses the sis driver and I'm using FreeBSD 4.9-RELEASE. I keep getting a sis0:watchdog 
timeout error. I've tried switching the cables, using different jacks and my card is 
in pci0. The network parameters are right. I don't know what to try now. I've tried 
everything I've found on the internet. Any help would be appreciated.

Thanks,

Alex Chimento 

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


yppasswd fails

2003-11-04 Thread Guy Van Sanden
Yppasswd fails on my 5.1 box (has always worked on 4.5 to 5.0) with
"yppasswd: pam_chauthtok(): error in service module"

There's also a syslog message:
Nov  4 22:54:54 *** yppasswd: in pam_sm_chauthtok(): yppasswd_local():
failed to connect to rpc.yppasswdd: ***: RPC: Program not registered

Yet rpcinfo -p shows:
191   udp821  yppasswdd
191   tcp   1010  yppasswdd


-- 
__  

Guy Van Sanden 
http://unixmafia.port5.com  

Registered Linux user #249404 - September 1997
__

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


OT:php error

2003-11-04 Thread M.D. DeWar
I am hoping someone might know what this issue is.
I really really don't want to have to join other lists.
I am reconfiguring php.
This is the ./configure I am using

./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --w
ith-jpeg-dir=/usr/local --with-png-dir=/usr/local --with-zlib-dir=/usr/local
 --w
ith-gd=/usr/local



If configure fails try --with-freetype-dir=
checking for gdImageString16 in -lgd... no
checking for gdImagePaletteCopy in -lgd... no
checking for gdImageCreateFromPng in -lgd... no
checking for gdImageCreateFromGif in -lgd... no
checking for gdImageGif in -lgd... no
checking for gdImageWBMP in -lgd... no
checking for gdImageCreateFromJpeg in -lgd... no
checking for gdImageCreateFromXpm in -lgd... no
checking for gdImageCreateFromGd2 in -lgd... no
checking for gdImageCreateTrueColor in -lgd... no
checking for gdImageSetTile in -lgd... no
checking for gdImageEllipse in -lgd... no
checking for gdImageSetBrush in -lgd... no
checking for gdImageStringTTF in -lgd... no
checking for gdImageStringFT in -lgd... no
checking for gdImageStringFTEx in -lgd... no
checking for gdImageColorClosestHWB in -lgd... no
checking for gdImageColorResolve in -lgd... no
checking for gdImageGifCtx in -lgd... no
checking for gdCacheCreate in -lgd... no
checking for gdImageCreate in -lgd... no


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


Re: OpenOffice build

2003-11-04 Thread R.T.G. TAN
On Tue, Nov 04, 2003 at 12:08:03PM +, Matthew Seaman wrote:


> 
> Err -- you only needed to do one of those things.  Still, it shouldn't
> cause any problems having done both.
> 
> Did you run:
> 
> # use.perl port
> 
> You need to do that, or the ports system will simply ignore the
> updated perl you've installed.  Now when you type 'perl -v' it should say:
> 
> This is perl, v5.6.1
> 
> or
> 
> This is perl, v5.8.1
> 
> depending on which perl port you installed.  You should also be able
> to run this command without errors:
> 
> % perl -MFile::Spec -e 'print $File::Spec::VERSION, "\n";'
> 
> (which returns 0.86 on my system, but anything reasonable will do).
> 
> You should probably do a:
> 
> # make clean
> 
> in the OpenOffice port directory and start again from scratch with the
> compilation. 
> 
>   Cheers,
> 
>   Matthew
> 
> -- 
> Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
>   Savill Way
> PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
> Tel: +44 1628 476614  Bucks., SL7 1TH UK


Hi Matthew,

Got 0.86 as output from:

% perl -MFile::Spec -e 'print $File::Spec::VERSION, "\n";'

as well as did the:

 % use.perl port

and cleaned out the openoffice port before portinstalling it
again, still failed the openoffice install, as before.

-- 
robert tan

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


detecting the size of a tarball

2003-11-04 Thread David Bear
I have a 100 mg zip drive that I'm writing to as a raw device -- no
file system -- just 'tar cvf /dev/afd0 stuff'.  I am curious if there
is a way to find out how big the tarball is on this kind of thing.
I'm guessing maybe some kind of seek to EOF but not sure how it might
be accomplished.  any idea's?

-- 
David Bear
phone:  480-965-8257
fax:480-965-9189
College of Public Programs/ASU
Wilson Hall 232
Tempe, AZ 85287-0803
 "Beware the IP portfolio, everyone will be suspect of trespassing"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Recursive renice?

2003-11-04 Thread Simon Barner
> I'm curious whether there's an easy way to renice(8) a process and all 
> of its children in one simple command. For example, I might start a 
> recursive make, which spawns lots of processes, and want them all to 
> change priority at once.

In this special case with recursive makes you could also interrupt the
build and re-start it with appropriate nice settings:

e.g. /usr/bin/nice -n 20 make build

Simon


signature.asc
Description: Digital signature


OT samba and XP

2003-11-04 Thread george
I can connect to my samba shares reliably with 98/95/ME/2000 but when i try and connect
with XP pro the xp pro machine locks up like its waiting for something
and i eventually have to ctr/alt/del and reboot or log off of it.

Below is my config file.



can someone suggest a fix?



running version 2.2.8A
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2003/11/04 16:11:39

# Global parameters
[global]
coding system = 
client code page = 850
code page directory = /usr/local/etc/codepages
workgroup = WORKGROUP
netbios name = 
netbios aliases = 
netbios scope = 
server string = Samba Server
interfaces = 
bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv = 
min passwd length = 6
map to guest = Never
null passwords = No
obey pam restrictions = No
password server = 
smb passwd file = /usr/local/private/smbpasswd
root directory = 
pam password change = No
passwd program = /usr/bin/passwd
passwd chat = *\n*ew\spassword* %n\n *ew\spassword* %n\n 
*updating\sthe\sdatabase...\npasswd:\sdone\n
passwd chat debug = No
username map = 
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 0
syslog = 1
syslog only = No
log file = /var/log/log.%m
max log size = 50
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
acl compatibility = 
nt smb support = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts host wins bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 1
name cache timeout = 660
read size = 16384
socket options = TCP_NODELAY
stat cache size = 50
use mmap = Yes
total print jobs = 0
load printers = Yes
printcap name = /etc/printcap
disable spoolss = No
enumports command = 
addprinter command = 
deleteprinter command = 
show add printer wizard = Yes
os2 driver map = 
strip dot = No
mangling method = hash
character set = 
mangled stack = 50
stat cache = Yes
domain admin group = 
domain guest group = 
machine password timeout = 604800
add user script = 
delete user script = 
logon script = 
logon path = \\%N\%U\profile
logon drive = 
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = Auto
local master = Yes
domain master = Auto
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server = 
wins support = Yes
wins hook = 
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
add share command = 
change share command = 
delete share command = 
config file = 
preload = 
lock dir = /var/lock
pid directory = /var/run
default service = data
message command = 
dfree command = 
valid chars = 
remote announce = 
remote browse sync = 
socket address = 0.0.0.0
homedir map = 
time offset = 0
NIS homedir = No
source environment = 
panic action = 
hide local users = No
winbind uid = 
winbind gid = 
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
comment = 
path = 
alternate permissions = No
username = 
guest account = nobody
invalid users = 
valid users = 
admin users = 
read list = 
write list = 
printe

Re: Mounting USB drives and PCI USB and ieee1394 drives

2003-11-04 Thread Toni Schmidbauer
On Tue, Nov 04, 2003 at 08:45:20AM -0500, Alexander P. Goldhammer wrote:
> umass0: BBB reset failed, TIMEOUT
> umass0: BBB bulk-in clear stall failed, TIMEOUT
> umass0: BBB bulk-out clear stall failed, TIMEOUT
> over and over again then
> (da0:umass-sim0:0:0:0): got CAM status 0x4
> (da0:umass-sim0:0:0:0): fatal error, failed to attach to device
> (da0:umass-sim0:0:0:0): lost device
> (da0:umass-sim0:0:0:0): removing device entry
> 
> I was reading through the rest of the man page for camcontrol but it is
> not clear to me that there is another command in camcontrol.
> 
> Any ideas?

sorry, but now i think we reached the point where we will need
an usb and/or scsi specialist :-(

i would play with "camcontrol reset" (but _read_ the manpage
before), "camcontrol rescan" ...

sorry
toni
-- 
Kann man etwas nicht verstehen, dann urteile man | toni at stderror dot at 
lieber gar nicht, als dass man verurteile.   | Toni Schmidbauer
-- Rudolf Steiner| 


pgp0.pgp
Description: PGP signature


Re: detecting the size of a tarball

2003-11-04 Thread Erik Steffl
David Bear wrote:
I have a 100 mg zip drive that I'm writing to as a raw device -- no
file system -- just 'tar cvf /dev/afd0 stuff'.  I am curious if there
is a way to find out how big the tarball is on this kind of thing.
I'm guessing maybe some kind of seek to EOF but not sure how it might
be accomplished.  any idea's?
  this might work (probably reads whole file): cat < /dev/afd0 | wc -c

  or perhaps this one: du /dev/afd0

  you can try this:

perl -e '$filename = "/dev/afd0"; print "siz eof [$filename] is [" . 
(stat($filename))[7] . "]\n";'

  not sure if that would be any different than ls -l though...

	erik

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


Re: OT samba and XP

2003-11-04 Thread Rick Duvall
Check that your reverse DNS is set up correctly for both machines.  I had
the same problem earlier today, where my laptop running win98 worked fine
but the XP machine would time out.  I found my reverse DNS was wrong for the
samba server.  So, I fixed it and it works fine now.

Sincerely,

Rick Duvall
- Original Message - 
From: "george" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 3:15 PM
Subject: OT samba and XP


I can connect to my samba shares reliably with 98/95/ME/2000 but when i try
and connect
with XP pro the xp pro machine locks up like its waiting for something
and i eventually have to ctr/alt/del and reboot or log off of it.

Below is my config file.



can someone suggest a fix?



running version 2.2.8A
# Samba config file created using SWAT
# from 0.0.0.0 (0.0.0.0)
# Date: 2003/11/04 16:11:39

# Global parameters
[global]
coding system =
client code page = 850
code page directory = /usr/local/etc/codepages
workgroup = WORKGROUP
netbios name =
netbios aliases =
netbios scope =
server string = Samba Server
interfaces =
bind interfaces only = No
security = USER
encrypt passwords = Yes
update encrypted = No
allow trusted domains = Yes
hosts equiv =
min passwd length = 6
map to guest = Never
null passwords = No
obey pam restrictions = No
password server =
smb passwd file = /usr/local/private/smbpasswd
root directory =
pam password change = No
passwd program = /usr/bin/passwd
passwd chat = *\n*ew\spassword* %n\n *ew\spassword* %n\n
*updating\sthe\sdatabase...\npasswd:\sdone\n
passwd chat debug = No
username map =
password level = 0
username level = 0
unix password sync = No
restrict anonymous = No
lanman auth = Yes
use rhosts = No
admin log = No
log level = 0
syslog = 1
syslog only = No
log file = /var/log/log.%m
max log size = 50
timestamp logs = Yes
debug hires timestamp = No
debug pid = No
debug uid = No
protocol = NT1
large readwrite = Yes
max protocol = NT1
min protocol = CORE
read bmpx = No
read raw = Yes
write raw = Yes
acl compatibility =
nt smb support = Yes
nt pipe support = Yes
nt status support = Yes
announce version = 4.9
announce as = NT
max mux = 50
max xmit = 16644
name resolve order = lmhosts host wins bcast
max ttl = 259200
max wins ttl = 518400
min wins ttl = 21600
time server = No
unix extensions = No
change notify timeout = 60
deadtime = 0
getwd cache = Yes
keepalive = 300
lpq cache time = 10
max smbd processes = 0
max disk size = 0
max open files = 1
name cache timeout = 660
read size = 16384
socket options = TCP_NODELAY
stat cache size = 50
use mmap = Yes
total print jobs = 0
load printers = Yes
printcap name = /etc/printcap
disable spoolss = No
enumports command =
addprinter command =
deleteprinter command =
show add printer wizard = Yes
os2 driver map =
strip dot = No
mangling method = hash
character set =
mangled stack = 50
stat cache = Yes
domain admin group =
domain guest group =
machine password timeout = 604800
add user script =
delete user script =
logon script =
logon path = \\%N\%U\profile
logon drive =
logon home = \\%N\%U
domain logons = No
os level = 20
lm announce = Auto
lm interval = 60
preferred master = Auto
local master = Yes
domain master = Auto
browse list = Yes
enhanced browsing = Yes
dns proxy = No
wins proxy = No
wins server =
wins support = Yes
wins hook =
kernel oplocks = Yes
lock spin count = 3
lock spin time = 10
oplock break wait time = 0
add share command =
change share command =
delete share command =
config file =
preload =
lock dir = /var/lock
pid directory = /var/run
default service = data
message command =
dfree command =
valid chars =
remote announce =
remote browse sync =
socket address = 0.0.0.0
homedir map =
time offset = 0
NIS homedir = No
source environment =
panic action =
hide local users = No
winbind uid =
winbind gid =
template homedir = /home/%D/%U
template shell = /bin/false
winbind separator = \
winbind cache time = 15
winbind enum users = Yes
winbind enum groups = Yes
winbind use default domain = No
comment =
path =
alternate permissions = No
username =
guest account = nobody
invalid users =
valid users =
admin users =
read list =
write list =
printer admin =
force user =
force group =
read only = No
create mask = 0744
force create mode = 00
security mask = 0777
force security mode = 00
directory mask = 0755
force directory mode = 00
directory security mask = 0777
force directory security mode = 00
force unknown acl user = 00
inherit permissions = No
inherit acls = No
guest only = No
guest ok = No
only user = No
hosts allow =
hosts deny =
status = Yes
nt acl support = Yes
profile acls = No
block size = 1024
max connections = 0
min print space = 0
strict allocate = No
strict sync = No
sync always = No
write cache size = 0
max print jobs = 1000
printable = No
postscript = No
printing = bsd
print command = lpr -r -P%p %s
lpq command = lpq -P%p
lprm command = lprm -P%p %j
lppause command =
lpresume command =
queuepause command =
queueresume command =
printer name =
use client driver = No

/usr/local/etc/rc.d

2003-11-04 Thread Rick Duvall
I am kind of curious as to if this issue has been resolved and what the
final resolution was.  I just started having the same exact issue as of
today on my little FreeBSD box at home.  I end up having to run the scripts
in /usr/local/etc/rc.d manually after bootup.  I am half tempted to just
call the scripts in /etc/rc.local to get around it.  But, it would be nice
if it would just work like normal like it is supposed to.

Sincerely,

Rick Duvall

On 5/7/03 10:56 AM, "Weldon Godfrey"  wrote:

>
> I have a box running a version of FreeBSD 4.7-STABLE (on or before Fri Jan
> 31 11:32:06 ).
>
> For some reason, all of the scripts in /usr/local/etc/rc.d don't run.
>
> * No errors are being seen during boot-up
> * All the scripts end in .sh
> * All are owned by root and mode 755
> * All are Borne shell scripts, all run from root's command line (when run
> in the numeric-alpha order they appear in the directory)
> * None except one does anything with start/stop, the one that takes
> start/stop is a typical postgresql startup script.
> * No over-ride for local_startup in /etc/rc.conf.  /etc/defaults/rc.conf
> has not been messed with
> * /etc rc has not been messed with.  I even stubbed the code from rc to
> see if it would run scripts with the names listed in the directory, and it
> will
> * 1st script is A00_mysql.sh, it looks like this (would the ldconfig
> cause a problem?  I have never seen that done before):
> #!/bin/sh
>
> /sbin/ldconfig -m /usr/local/mysql/lib/mysql/
>
> sleep 2
>
> /usr/local/mysql/bin/safe_mysqld --user=mysql &
>
>
> Thanks in advance for any advice or what to check into next.
>
> Weldon
>

Try adding this to your /etc/rc.conf file:

local_startup="/usr/local/etc/rc.d"


Mike
-- 
Michael K. Smith  NoaNet
206.219.7116 (work)   206.579.8360 (cell)
mksmith at noanet.nethttp://www.noanet.net



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


Is Java/Tomcat on FBSD practical?

2003-11-04 Thread Heath Volmer
Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and
Debian/Suse linux.  I've been generally very happy with the performance
and relative ease of setup on my 4.8 system.
 
My biggest problem has been Java.  I've done the diablo 1.3 package and
java seemed to work (java -v), but when I install Tomcat it won't start.
I've done the same install on mac and windows with no problem.  The
stack trace is completely alien to me and I can try to get it if it
would help.
 
I'm basically wondering if running Tomcat or any other java on this
machine is realistic or not.
 
Thanks, Heath
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Overheating attributed to Freebsd --sysctl variables not available--

2003-11-04 Thread nw1
Jud, (see below)
- Original Message - 
From: "Jud" <[EMAIL PROTECTED]>
To: "nw1" <[EMAIL PROTECTED]>
Cc: "freebsd-questions" <[EMAIL PROTECTED]>
Sent: Tuesday, November 04, 2003 3:17 PM
Subject: Re: Overheating attributed to Freebsd --sysctl variablesnotavailable--


>
> On Tue, 4 Nov 2003 14:05:02 -0500, "nw1" <[EMAIL PROTECTED]> said:
> [snip]
> > > > I'm interested in those missing sysctl variables I posted @
> > > > http://69.3.136.141/freebsd/installation/sysctl_variables_missing.
> > > > Using a Third party
> > > > application/script to fix something that was natively working or under
> > > > control, I don't
> > > > think, is the way to go and causes another level of complexity.
> [snip]
> > No problem, I am interested in any and all *sane/reasonable feedback.  I
> > haven't been to
> > much a fan of using third party applications to fix something the
> > original code or
> > hardware should be able to handle.
>
> FVCool isn't a "third party application" as I understand the term.
> Perhaps a portion of the README file will make things clearer:

I understand better now (FVCool).  Thanks for taking the time to explain that FVCool is
not a "third party application".  I'm still questioning the difference in behavior 
--not
only between the two (2) OS's when idling, --overheating in FreeBSD, and *not 
overheating
in the non FreeBSD OS. whatsoever.

>
> "As is well known AMD's Athlon/Duron is a 'hot' CPU.  It really produces
> a lot of heat.  This is mainly because it consumes a lot of electric
> power.  However, there is an another reason: Generally CPU goes into
> power-save mode when it is in the idle state, but in almost all the
> mother boards this is prohibited in the case of Athlon/Duron mother
> boards in their original BIOS settings.  This software changes the PCI
> configuration data of the chipset (north bridge), and allow Athlon/Duron
> to go into power-save mode.  The principle is very simple if you have
> information.  Actually, you can do exactly the same thing as this
> software
> manually by using the 'pciconf' command in FreeBSD.
>
>   "Why mother board vendors release their products with such BIOS
>   settings?

What's the reason? 

> Well, there is a reason: There is a possibility to get the system
> unstable
> and/or even to hang or crash the system.  Therefore, this software is
> somewhat dangerous in this respect, and I will not take any
> responsibilities for problems caused by using this software.  Please
> check the original Martin Peters's VCool web site for learning more of
> technical details:
>
>  http://vcool.occludo.net/";
>
> So what FVCool does is utilize the 'pciconf' command to encourage AMD
> CPUs to go into power-save mode when idle, a function most motherboard
> manufacturers turn off for the stability reasons mentioned by FVCool's
> author.  As the documentation says, you can manually make these changes
> with the 'pciconf' command, but why not save typing by installing the
> port and running the 'fvcool' command, or run it automatically with a
> script?
>
> Based on the names of the sysctls you're after, I'd speculate they may
> operate in much (or even exactly) the same way.  That is why I wondered,
> in response to your advice to Paul Mather, whether those sysctl settings
> would work with Intel CPUs.

My suggestion to *Paul Mather was in fact a blind suggestion only based on the 
settings to
lower the usage of the cpu and not raise;  had it been the other way around, I'm not 
sure
I would have recommended he set those knobs to '1'.

The following fact/issue, i think, still remains outstanding; Using the setup I 
originally
posted, we can do somethings within the non FreeBSD OS that will rival a looping 'make
buildworld | buildkernel, utilizing both cpu's for encoding purposes while playing a
quake3, utII game and the like, never overheating or exhibit any instability.

Please don't take that above statement as a "this OS is better than your OS".

What I've understood from this particular posting is this:
the motherboards used for the AMD Athlon/Duron(s) have a default BIOS setting --not
allowing the processors to go into 'Power Saving Mode' --while intel based --default 
BIOS
settings: *do allow 'Power Saving Mode' for the processor(s). y/n?

That seems to be just a bit disturbing.  If we could for the purposes of this paragraph
alone, suspend the notion of *over heating while idling*...  As someone stated earlier 
in
the thread, what about these cpu's under heavy load within FreeBSD? <-- in our case,
without the air-conditioner on;--> will overheat and shutdown  I have put these cpu's
under heavy load in a non FreeBSD environment and the hardware refuses to break down,
overheat or shutdown

-- Unsuspend the notion of *over heating while idling*...  --

Should we turn our air-conditioner off and set:
machdep.apm_suspend_delay: 1
machdep.apm_standby_delay: 1
and let this dual AMD idle, the machine will overheat and shutdown in a matter of 
hours.
Once

Re: Dual Interface Server Setup

2003-11-04 Thread Lowell Gilbert
"Bryce Edwards" <[EMAIL PROTECTED]> writes:

> I need help with a server configuration.  I need to setup some FreeBSD
> servers that have dual interfaces.  I would like the servers to have one IP
> address, and I would like them to use both interfaces in a fault tolerant
> setup, so that a link or switch failure to either one can be sustained.  The
> interfaces are connected to separate switches and I would like them to be a
> member of the same VLAN and not have STP enabled if at all possible. TIA!

That's an awful lot of work you're going to.  If you really want to
shoot your foot off, it's not necessary to take such careful aim.

Most of what you're trying isn't really that hard; you want to
configure one of the interfaces, and keep the other "down" until the
first develops a problem, then bring the first one down and raise the
second with the same IP configuration.  The hard part is *detecting*
any problems, especially without running a spanning tree.  You'll need
to do some sort of hack, probably at the IP layer, to raise an alarm
when connectivity to some specific destination fails.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Sysinstall Hangs while probing hardware on 5.1-release

2003-11-04 Thread Lowell Gilbert
"Joshua Dobbin" <[EMAIL PROTECTED]> writes:

> Hi, I've got a p4 2.4 ghz on an MSI 865P board, Geforce4 TI 4200. I
> recently obtained 5.1 release and was excited to install, being
> dissapointed w/performance on Linux. Sysinstall hung while probing, it
> stopped at /dev/cuaa4 (Com 5) while running verbose mode. So, I ripped
> out my modem and 5.1 installed fine. I have a US Robotics PCI Hardware
> modem which has never given me a lick of trouble prior to this.  Does
> anyone know how I can either patch sysinstall or my boot system in order
> to not have to yank out hardware?

Please recall that 5.1 is recommended primarily for experts:
 http://www.freebsd.org/releases/5.1R/early-adopter.html

That said, I think you should be able to disable probing of the device
from a boot configuration screen.  I understand it works a bit
differently in 5.x than in earlier code branches, but you should still
be able to disable checking the modem.

If you want things to "just work," however, I recommend you stick with
a production release (4.9 was released within the past week).
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: can't boot! - pls help

2003-11-04 Thread Lowell Gilbert
"Your Name" <[EMAIL PROTECTED]> writes:

> I sat the kern.ipc.nmbclusters=129536 in the loader.conf
> too high
> and now I can't boot

Boot from a fixit disk, mount your root partition, and fix loader.conf.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is Java/Tomcat on FBSD practical?

2003-11-04 Thread Lee Harr
Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and
Debian/Suse linux.  I've been generally very happy with the performance
and relative ease of setup on my 4.8 system.
My biggest problem has been Java.  I've done the diablo 1.3 package and
java seemed to work (java -v), but when I install Tomcat it won't start.
I've done the same install on mac and windows with no problem.  The
stack trace is completely alien to me and I can try to get it if it
would help.
I'm basically wondering if running Tomcat or any other java on this
machine is realistic or not.
How did you install tomcat? Which version?

You say you are new to FreeBSD, so maybe this will help...

cd /usr/ports/
make search name=tomcat
I see 4 different versions in ports... and they all depend on the java-1.4
port (not 1.3) so that is probably one part of the problem.
_
Add photos to your e-mail with MSN 8. Get 2 months FREE*. 
http://join.msn.com/?page=features/featuredemail

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


Re: Overheating attributed to Freebsd --sysctl variables not available--

2003-11-04 Thread Jud
On Tue, 4 Nov 2003 19:01:00 -0500, nw1 <[EMAIL PROTECTED]> wrote:

[snip]
  "Why mother board vendors release their products with such BIOS
  settings?
What's the reason? 
Not sure if this is what you were asking, but the reason is explained in 
the quoted lines just below:

Well, there is a reason: There is a possibility to get the system
unstable
and/or even to hang or crash the system."
[snip]

What I've understood from this particular posting is this:
the motherboards used for the AMD Athlon/Duron(s) have a default BIOS 
setting --not
allowing the processors to go into 'Power Saving Mode' --while intel 
based --default BIOS
settings: *do allow 'Power Saving Mode' for the processor(s). y/n?
I don't know enough to be able to tell you whether Intel-based mobos are 
configured by default to allow a "power saving mode," or if the fact that 
Intel CPUs run cooler (I remember reading a memorable description of the 
Athlon Thunderbird as a "blowtorch on the head of a pin") means "power 
saving mode" never becomes an issue.

That seems to be just a bit disturbing.  If we could for the purposes of 
this paragraph
alone, suspend the notion of *over heating while idling*...  As someone 
stated earlier in
the thread, what about these cpu's under heavy load within FreeBSD? <-- 
in our case,
without the air-conditioner on;--> will overheat and shutdown  I have 
put these cpu's
under heavy load in a non FreeBSD environment and the hardware refuses 
to break down,
overheat or shutdown

-- Unsuspend the notion of *over heating while idling*...  --

Should we turn our air-conditioner off and set:
machdep.apm_suspend_delay: 1
machdep.apm_standby_delay: 1
and let this dual AMD idle, the machine will overheat and shutdown in a 
matter of hours.
Once the room is at a tempurature warm enough to make the machine 
shutdown, the only way
to keep that machine on for more than five (5) to Twenty (20) minutes is 
to turn the
air-conditioner on and leave it on.

Should we turn our air-conditioner off and set:
machdep.apm_suspend_delay: 0
machdep.apm_standby_delay: 0
Run a script to loop:
make buildworld && make buildkernel KERNCONF=
The machine seems to run like a champ without overheating/shutting down.
SUMMARY:

I hear all of what you're saying here, however, if we leave apm out of 
this altogether,
whether inTel, AMD or any other processor, shouldn't the processor(s), 
dual or not, be
able to run full-throttle or, idle without overheating/ shutting down?
Yes, but: Let's say for some reason (e.g., heat conducting cement/paste 
interface not quite so nicely done on this particular unit) that this unit 
runs hot in the first place.  I don't know if the Other OS is tuned to the 
CPU, or has hooks into low-level functions in the CPU, or the CPU is tuned 
by the manufacturer to the Other OS, so that it remains just *this* side 
of shutdown with the Other OS, and goes just *that* side of shutdown with 
FreeBSD.  (We're way beyond my level of knowledge here, so if any of this 
really is correct I just got lucky.:)

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


Re: Mouse under X

2003-11-04 Thread Alex de Kruijff
On Tue, Nov 04, 2003 at 08:14:28AM -0600, Nathan Kinkade wrote:
> On Tue, Nov 04, 2003 at 01:48:31AM +0100, Alex de Kruijff wrote:
> > On Sun, Nov 02, 2003 at 10:34:09PM +1000, Adam Flaherty wrote:
> > > Hello,
> > > 
> > > I have recently installed FreeBSD 4.8 and am having trouble getting my 
> > > PS/2 mouse to work with X11/ Gnome. The mouse works when setting up 
> > > moused with /stand/sysinstall and xf86cfg but when gnome loads any 
> > > mouse movement translates into the cursor moving to the top right of 
> > > the screen. I have tried the various protocols under xf86cfg and 
> > > followed the instructions in the FAQ that suggest adding lines to the 
> > > config file, and also linking /dev/mouse and /dev/sysmouse. I am at a 
> > > loss so any help would be highly appreciated.
> > > 
> > 
> > This also  enable a mouse wheel if you have one.
> > 
> > This is my setup:
> > /etc/rc.conf:
> > moused_flags="-a .4"
> > moused_enable="YES"
> > moused_port="/dev/psm0"
> > moused_type="auto"
> > 
> > /etc/X11/XF86Config:
> > Section "InputDevice"
> >   Identifier  "Mouse0"
> >   Driver  "mouse"
> >   Option  "Protocol" "auto"
> >   Option  "Device" "/dev/sysmouse"
> >   Option  "Buttons" "5"
> >   Option
> >   "ZAxisMapping" "4 5"
> > EndSection
> 
> FWIW:
> On my own system - 5.1-RELEASE - I have found that if I pass the '-a 4'
> argument to moused, that adding the ZAxisMapping declaration to
> XF86Config causes the mouse wheel to not work.  When passing '-a 4' to
> moused I only declare "Options Buttons 5" in XF86Config and the mouse
> wheel works as expected.

This could be a bug in proberly moused. I'm affraid I can't tell you any
more than that. It works on 4.x.

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: RedHat 7.2 -> Freebsd - BIG PROBLEN

2003-11-04 Thread Alex de Kruijff
On Tue, Nov 04, 2003 at 12:12:44PM +0200, [EMAIL PROTECTED] wrote:
> 
> -
> lan 192.168.1.0/24
> -
> LAN  |
>  |
>  |
> --
> rl0 192.168.1.1
> 
> ROUTER
> 
> fxp0 193.108.24.75
> 
> LAN  |
>  |
>  |
> ---
> ISP 193.108.24.145
> 
> 
Basicaly you have a router with TWO nics. One is rl0 and the other is
fxp0.

You need to place this in you /etc/rc.conf
defaultrouter="193.108.24.145"
ifconfig_rl0="inet 192.168.1.1  netmask 255.255.255.0"
ifconfig_fxp0="inet 193.108.24.145  netmask 255.255.255.255"

You can try this by running /etc/netstart

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: lan bandwidth issue

2003-11-04 Thread Alex de Kruijff
On Tue, Nov 04, 2003 at 01:13:34PM -0700, silent slim wrote:
> This has gotta be a software issue... it seems logically impossible for
> it to be otherwise.  I have my windows box running off a nat on my fbsd
> box, it transmits to my isp at a max of about 160k down 70k up.
> Transfering files between the two boxes can be done at a max of 1.6M down
> and 130k up. Hense its physcially impossible for it to be a hardware
> problem.  This is all quite annoying as both boxes are connected by
> http://www.startech.com/ststore/itemdetail.cfm?tab=b&ProductID=ST100S&topbar=topbara.htm
> 10/100 nics and a 50' crossover cable.  Anyone have any ideas on what is
> causing this issue and how it could possibly be resolved?
> 

Right now I don't have much to go on. What problem do you have?

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Is Java/Tomcat on FBSD practical?

2003-11-04 Thread Alex de Kruijff
On Tue, Nov 04, 2003 at 04:58:19PM -0700, Heath Volmer wrote:
> Hi. I'm new to FreeBSD, my previous -nix experience coming from OSX and
> Debian/Suse linux.  I've been generally very happy with the performance
> and relative ease of setup on my 4.8 system.
>  
> My biggest problem has been Java.  I've done the diablo 1.3 package and
> java seemed to work (java -v), but when I install Tomcat it won't start.
> I've done the same install on mac and windows with no problem.  The
> stack trace is completely alien to me and I can try to get it if it
> would help.
>  
> I'm basically wondering if running Tomcat or any other java on this
> machine is realistic or not.
>  
I had it running about a year ago. Not with diablo but with the jdk13
pot. What have you done so far in terms of installing and configuring?

-- 
Alex

Articles based on solutions that I use:
http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: freebsd port for MRTG

2003-11-04 Thread horio shoichi
On Tue, 4 Nov 2003 07:51:50 +0200
(BMantas Smelevi$Bhi(Bus <[EMAIL PROTECTED]> wrote:
(B> cd /usr/ports
(B> make search name="mrtg"
(B> 
(B> Antradienis 04 Lapkri$Bhi(Bo 2003 07:00, DanB ra$Bpk(B:
(B> > Is there a port for MRTG?   Also a step by step instruction for setup
(B> > for FREEBSD only.
(B> > Dan
(B> >
(B> > ___
(B> > [EMAIL PROTECTED] mailing list
(B> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> > To unsubscribe, send any mail to
(B> > "[EMAIL PROTECTED]"
(B> 
(B> -- 
(B> 
(B> Mantas Smelevi$Bhi(Bus
(B> Komp. tinklo administratorius
(B> UAB "Transekspedicija"
(B> 
(B> 
(B> ___
(B> [EMAIL PROTECTED] mailing list
(B> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
(B> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
(B> 
(B
(BWhichever -
(B
(B
(Bo locate mrtg
(B
(Bo ls -d /usr/ports/*/*mrtg*
(B
(B
(Bhorio shoichi
(B
(B___
(B[EMAIL PROTECTED] mailing list
(Bhttp://lists.freebsd.org/mailman/listinfo/freebsd-questions
(BTo unsubscribe, send any mail to "[EMAIL PROTECTED]"

Apache, PHP, and SquirrelMail

2003-11-04 Thread Neil Hawkins
I am new to FreeBSD and am trying to figure a few things out.  I have 
installed QMAIL, APACHE, PHP4, and SquirrelMail.  Apache seems to be working 
fine because I can browse the directory lising for /usr/local/www/data 
folders.  However, when I try to browse the SquirrelMail folder, it just 
displays the text code of the index.php file.  I am assuming that PHP4 is 
either not installed correctly, not running, or not configured 
appropriately.  Can someone help me out here?

_
Great deals on high-speed Internet access as low as $26.95.  
https://broadband.msn.com (Prices may vary by service area.)

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


Re: Apache, PHP, and SquirrelMail

2003-11-04 Thread Robin Schoonover
On Wed, 05 Nov 2003 03:44:04 +, "Neil Hawkins"
<[EMAIL PROTECTED]> wrote:
> I am new to FreeBSD and am trying to figure a few things out.  I have 
> installed QMAIL, APACHE, PHP4, and SquirrelMail.  Apache seems to be
> working fine because I can browse the directory lising for
> /usr/local/www/data folders.  However, when I try to browse the
> SquirrelMail folder, it just displays the text code of the index.php
> file.  I am assuming that PHP4 is either not installed correctly, not
> running, or not configured appropriately.  Can someone help me out here?
> 

You need to tell apache about mod_php4.  In apache2, I have these extra
lines in the configuration file.

LoadModule php4_modulelibexec/apache2/libphp4.so

DirectoryIndex index.html index.html.var index.php

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

You don't want to have 'AddHandler php .php' in httpd.conf  In an earlier
version of php4, I did have that and it worked fine, but when I upgraded
php4 it stopped working (showed code only like it is for you), so I had to
take out that line.

-- 
Robin Schoonover (aka End)
#
# Actual newspaper headline:
# Something Went Wrong in Jet Crash, Expert Says
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


cannot find -lsysdeps error

2003-11-04 Thread Jon Reynolds
I am trying to install ucspi-unix-0.36 and I keep running into this
error:

./load unixclient env.o utoa.o `cat socket.lib`
/usr/libexec/elf/ld: cannot find -lsysdeps
*** Error code 1
 
Stop in /usr/local/src/ucspi-unix-0.36

I installed bglibs which took care of the sysdeps.h problem but I can't
seem to find an answer to this error. What is this telling me do I need
to install something else?

Thanks for any help,

Jon

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


Re: cannot find -lsysdeps error

2003-11-04 Thread Dan Nelson
In the last episode (Nov 04), Jon Reynolds said:
> I am trying to install ucspi-unix-0.36 and I keep running into this
> error:
> 
> ./load unixclient env.o utoa.o `cat socket.lib`
> /usr/libexec/elf/ld: cannot find -lsysdeps
> *** Error code 1
>  
> Stop in /usr/local/src/ucspi-unix-0.36
> 
> I installed bglibs which took care of the sysdeps.h problem but I
> can't seem to find an answer to this error. What is this telling me
> do I need to install something else?

cd /usr/ports/sysutils/ucspi-unix ; make install

should be all you need.  If you want to build it by hand, take a look
at the port Makefile to see what the porter did.

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


  1   2   >