Re: agp_if.c

2000-10-09 Thread Kris Kennaway

On Mon, Oct 09, 2000 at 01:02:12PM +0400, kostik wrote:

 i see, gcc is gpl'ed too, but you use it regardless of license type.
 why don't use gmake? (with gcc).

Because there is a perfectly adequate BSD-licensed alternative.

Kris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Correct sequence for keeping a 4.1 system stable.

2000-10-09 Thread Kent Stewart



Warner Losh wrote:
 
 In message [EMAIL PROTECTED] Scott 
Dodson writes:
 : Hmm, I don't know why.  Those problems were going from 4.0 - 4.1.1 and
 : going from 4.1 - 4.1.1 on another machine.  If it happened on just one
 : machine i wouldn't rase a question.  But his is happening on both, however
 : of course I'm the one that's done both the machines.  But i don't think
 : i've screwd anything else up.
 
 OK.  I'll setup a system and give it a try.  I thought that I had no
 problems when I had done it.  But maybe there's some autopilot effects
 going on here.

I am following a 4.0-release system that is being upgraded to 4.1.1
stable. It is a training exercise and I'm doing a tail -f and
following the upgrade output, which is being redirected to a text
file, remotely. 

The only upgrade problems I've seen lately are those occasional
strange ones with perl, i.e., the chmod of libdbsm.a. The upgrade I'm
following won't be finished until they get off from work tonight at
the earliest.

Kent

-- 
Kent Stewart
Richland, WA

mailto:[EMAIL PROTECTED]
http://kstewart.urx.com/kstewart/index.html
FreeBSD News http://daily.daemonnews.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: staroffice on 4.1-S

2000-10-09 Thread Christoph Sold

Peter Radcliffe wrote:
 
 Trent Nelson [EMAIL PROTECTED] probably said:
Type 'make install-user' in the StarOffice 5.2 ports directory while
  logged in as a "normal user".
 
 Already have done.
 
 To repeat, when I 'su -m' to keep my enviroment it works fine, using the
 per user install in my home directory. Using the same files as a normal
 user does not work (and yes, I've chown/chmodded them).
 
 Linux emulation works fine in general, I use linux netscape for the
 plugins.

I just changed the #!-line to read #!/usr/local/bin/bash instead of
#!/bin/sh
in Suns installuser script. They assume bash is installed as /bin/sh.
After
changing the shell line, everything works as expected.

HTH
-Christoph Sold


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: ipf rc.firewall patch ?

2000-10-09 Thread Chris Faulhaber

On Sun, Oct 08, 2000 at 08:51:29PM -0700, matthew zeier wrote:
 
 I tried to apply 
 
 http://www.swcp.com/~synk/ipfmerge.patch
 
 on 4.1.1 release.
 
 # cd /etc
 # patch  /tmp/ipfmerge.patch
 
 But got a lot of failed hunks.  I don't know anything about patch - is
 my syntax correct?  
 

Sorry but we don't know anything about that patch either.  However, Darren
Reed recently committed rc* changes to -current to support ipfilter.
Hopefully they will be backported to -stable shortly.  See
http://www.FreeBSD.org/cgi/query-pr.cgi?pr=20202 for the patches (which
should apply cleanly to -stable).

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: staroffice on 4.1-S

2000-10-09 Thread Dave Uhring

On Mon, 09 Oct 2000, Christoph Sold wrote:
 Peter Radcliffe wrote:
  Trent Nelson [EMAIL PROTECTED] probably said:
 Type 'make install-user' in the StarOffice 5.2 ports directory
   while logged in as a "normal user".
 
  Already have done.
 
  To repeat, when I 'su -m' to keep my enviroment it works fine, using the
  per user install in my home directory. Using the same files as a normal
  user does not work (and yes, I've chown/chmodded them).
 
  Linux emulation works fine in general, I use linux netscape for the
  plugins.

 I just changed the #!-line to read #!/usr/local/bin/bash instead of
 #!/bin/sh
 in Suns installuser script. They assume bash is installed as /bin/sh.
 After
 changing the shell line, everything works as expected.

 HTH
 -Christoph Sold


 If you use the port to install staroffice52, the setup and soffice scripts 
are already modified to use /compat/linux/bin/sh, which is sym-linked to 
/compat/linux/bin/bash.  And staroffice fails to run properly for me whether 
I'm logged in as root or user.  It runs well on Linux.

Dave


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: username with -

2000-10-09 Thread Bill Moran

Doug Barton wrote:

 I think a better question is, why does rmuser need to check the
 validity of the username at all?

Should it do wildcarding? If not, it needs to check for invalid chars
that could be used to wildcard.
On the flipside, wildcarding might be nice.

-Bill


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: make buildworld failing

2000-10-09 Thread Vivek Khera

 "a" == andrew  [EMAIL PROTECTED] writes:

a On Sun, 8 Oct 2000, Wilko Bulte wrote:

 People already having root privs are not stopped by it. Or is it only aimed
 at the higher securelevels?

a I assume its for secure levels 1 and above and if you were a security
a conscious site I imagine it would be a very useful feature.

My question is why does /usr/obj need the schg flag set on anything in
the first place?  It basically means that on a secure system you have
to reboot to single user just to delete the build tree.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-301-545-6996
GPG  MIME spoken herehttp://www.khera.org/~vivek/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: staroffice on 4.1-S

2000-10-09 Thread Vivek Khera

 "PR" == Peter Radcliffe [EMAIL PROTECTED] writes:

PR Before I spend even more time on it, anyone seen this problem and got
PR a fix ?

The only way I got SO 5.2 running on a 4.1 system was to install from the
CD-ROM that Sun was giving out at the Perl conference in July.

It seems to work ok.  I did a /net install into "/opt", and then set
up my self using the setup program.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.Khera Communications, Inc.
Internet: [EMAIL PROTECTED]   Rockville, MD   +1-301-545-6996
GPG  MIME spoken herehttp://www.khera.org/~vivek/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: problem w/ new pcm feeder + emu10k1 in 4.1.1-stable

2000-10-09 Thread Cameron Grant

 I wonder if this has anything to do with why my Soundwave 128 PCI
 is not recognized.  It shows up as an "unknown card" during boot:
 
 Script started on Sun Oct  8 06:12:35 2000
 % dmesg | grep unknown
 pci0: unknown card (vendor=0x1073, dev=0x000d) at 9.0 irq 11
 % exit

this is a ymf724f which is supported.

is pcm compiled into your kernel?

-cg




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: curious interaction between kdm and snmpd on startup

2000-10-09 Thread Vivek Khera

 "DW" == Doug White [EMAIL PROTECTED] writes:

DW This is what happens when the getty on console and xdm start up
DW simultaneously.  The keyboard goes into limbo-mode.  

That explains it... wow.  What a fun timing issue.  Curious how adding
snmpd to startup triggers it every time!

DW The solution is to get xdm to wait 5-10 seconds for the getty to launch
DW before starting itself.  This can be done with some nifty shell

Yes; this is what I'm doing now:

 (sleep 30; kdm) 

but I think I can cut the sleep time a bit ;-)

Thanks for the tip and confirmation.

Perhaps I can just start kdm from init (/etc/ttys) and it will work
out the timing itself ... I'll try that later.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: make buildworld failing

2000-10-09 Thread Chris Faulhaber

On Mon, Oct 09, 2000 at 10:21:49AM -0400, Vivek Khera wrote:
  "a" == andrew  [EMAIL PROTECTED] writes:
 
 a On Sun, 8 Oct 2000, Wilko Bulte wrote:
 
  People already having root privs are not stopped by it. Or is it only aimed
  at the higher securelevels?
 
 a I assume its for secure levels 1 and above and if you were a security
 a conscious site I imagine it would be a very useful feature.
 
 My question is why does /usr/obj need the schg flag set on anything in
 the first place?  It basically means that on a secure system you have
 to reboot to single user just to delete the build tree.
 

It doesn't (as of 4.x).  Previous branches did set the schg flag, however
4.x and 5.x no longer do this.

-- 
Chris D. Faulhaber - [EMAIL PROTECTED] - [EMAIL PROTECTED]

FreeBSD: The Power To Serve   -   http://www.FreeBSD.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: username with -

2000-10-09 Thread Ian Smith

On Mon, 9 Oct 2000, Bill Moran wrote:

  Doug Barton wrote:
  
   I think a better question is, why does rmuser need to check the
   validity of the username at all?

Indeed.

  Should it do wildcarding? If not, it needs to check for invalid chars
  that could be used to wildcard.
  On the flipside, wildcarding might be nice.

# rmuser -y *

Eek ..

Ian



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: ipf vs. ipfw ?

2000-10-09 Thread Donald E. Krapf

matthew zeier writes:
 Can anyone tell me the differences between ipf and ipfw ?  Which is
 "better" ?

I've used both ipfilter and ipfw and found them both to be usable.  I'm
currently using ipfilter on both FreeBSD and Solaris 2.6.  Ipfilter rule
groups are a good idea but could be better.  I don't remember if ipfw
has something similar.

The NAT facility (ipnat) of ipfilter is practically undocumented for
all but the most common configurations.  As far as I can tell, some of
the features (e.g. some in-kernel proxies) actually are undocumented.
If you just want to do something simple, such as map a home network
behind a gateway to your ISP, you can copy one of the trivial examples.

I've never used ipfw's NAT facility (natd) and don't know anything about
its rules.

For heavy NAT traffic, I prefer ipnat because it's in-kernel whereas
natd is a user-space daemon.  Most any modest unix box can route IP
practically in its sleep.  Ipnat adds an insignificant additional load
since it just twiddles a few bits in the packet as it goes by on the
stack.  If I understand natd's implementation correctly, it pushes each
packet out through a pseudo device where it is read, and then rewritten,
by natd.  That requires 2 context switches per packet, not to mention
the copying and recopying of the packet data.

Similarly, ipfilter does its filtering in the kernel.  I don't remember
if ipfw does its filtering in the kernel or if it uses a user-space
daemon like it does for NAT.

I'd like to hear other opinions on this subject.

Don
-- 
Don Krapf


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: ipf vs. ipfw ?

2000-10-09 Thread James Housley

 
I have used ipfw because when I started ipfilter was only in the ports. 
I have tried several times to use ipfilter but have been unable to
figure out how.  The rules for ipfw are fairly simple and are processed
in order.  It is easy for me to understand, write and debug them, bit
plus.  

I have not been able to wrap my mind around ipfilter's rules.  I have
spent about an hour total and just don't get it completely.  Some of the
documentation was sparse last time I checked.  From looking it seems it
might be more powerful, but recently ipfw added stateful rules.

These are just my observations and experiences.

Jim
-- 
[EMAIL PROTECTED]  http://www.FreeBSD.org The Power to Serve
[EMAIL PROTECTED]  http://www.TheHousleys.net
-
Unix is like a wigwam -- no Gates, no Windows, and an Apache inside.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Anyone using adaptec 29160

2000-10-09 Thread Brandon D. Valentine

On Mon, 9 Oct 2000, Warner Losh wrote:

In message [EMAIL PROTECTED] Bill Moran writes:
: Anyone using an Adaptec 29160 SCSI controller? ( It's pretty new and I
: know it's not technically supported, but I was wondering if anyone had
: tried it and got it working? For example, does it emulate another
: Adaptec adapter? Will another adaptec driver work with it? Timeline
: forces me to be sure before I purchase.
: Any feedback is greatly appreciated (works, doesn't work, etc)

I'm using the 19160, the younger brother of the 29160.  It works
great!

I'm glad Warner is having better luck.  I don't know which variant of
the 29160 you are looking at Bill, but I still don't have my two
controllers working.  I have a motherboard (Supermicro 370DL3) with an
onboard 29160 (Adaptec AIC7892) plus an additional 64-bit PCI 29160
sitting in it.  When installating 4.1-RELEASE these controllers will
hang at random points during installation.  When installing
4.1.1-RELEASE they panic on boot during the probe.  When installing
recent -current snaps on the machine the same thing also happens.  The
only revision of the driver that seems to install and boot fine on this
combination is src/sys/dev/aic7xxx/aic7xxx.c,v1.47.  I have not had time
to collect additional information on the panic's as I'm just finishing
up a theatre production which has taken much of my time.  Hopefully at
some point I can sit down with a serial console and a debug kernel and
get Justin the specifics he needs to fix it.  Be forewarned.  I hate to
tell you this, and hope if you do buy one you'll have better luck.  I
don't know what else to tell you to buy, since these are in my opinion
the best SCSI controllers on the market right now.

Brandon D. Valentine
-- 
bandix at looksharp.net  |  bandix at structbio.vanderbilt.edu
"Truth suffers from too much analysis." -- Ancient Fremen Saying



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: ahc driver problem

2000-10-09 Thread Jeffrey J. Mountin

At 12:10 AM 10/10/00 +0100, Brian Somers wrote:
  I can report the same failure.  My config dmesg is attached to this
  message. The ahc driver put on the 4.1 Release CD works and the system
  boots and operates with no problems detected.  This problem occurs when
  the machine is booted from the new GENERIC kernel built from sources
  cvsup'd Saturday Oct. 7. Therefore some change committed between these two
  dates broke the driver.  I have not tried building current.  Is this
  problem also present in current or only stable?

It's in -current too.  Reverting /sys/dev/aic7xxx to 2920 makes
life easier.

Fetched -stable at 20:25 GMT on the 7th and was rewarded with a panic and 
solid wedge when trying to get a core dump (SCSI activity lights solid, no 
response from cap/num/scroll lock).  Also the dump would have been to an 
IDE drive.

Re-fetched and upgrade around 8:40 GMT on the 9th.  However, do not have 
v1.3.2.8 of aic7xxx_freebsd.c that Justin committed today, which may not be 
related to the recent -stable problems.  So far so good.


Jeff Mountin - [EMAIL PROTECTED]
Systems/Network Administrator
FreeBSD - the power to serve



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: Bad IDE Drive

2000-10-09 Thread David Kelly

Gary Kline writes:
 On Mon, Oct 09, 2000 at 04:40:13PM -0400, Robert wrote:
  Hello,
  I used to own a Compaq Proliant 800/850 (one of them) with an
  internal
  RAID 5 array with about 4 8gb Seagate Baracude(SCSI UW).  I had two of the
  drives fail on me after about 4 years, due to heat and just the
  fact that we plain ran them into the ground.  I have a feeling that these
  new IDE drives, much like some old SCSI drives, have problems with
  inadequate ventilation.  Most of these new 7200 rpm drives (IDE) run VERY
  hot and most people do not provide proper cooling for their computers.  I
  recommend to anyone who wants to extend the life of their ide
  drives to purchase the "drive cooler" product from Antec.  Not only do
  they cool the drives down they have a protective dust shield where the
  fans are so you dont contribute to dirtying the components.  
 
 
   Can you explain more about these drive-coolers?  URL's or
   whatever would help.

Don't sweat the drive cooler stuff just yet. Go to Radio Shack, 
Walmart, K-Mart, etc, and purchase an indoor/outdoor digital 
thermometer, preferably one with a max/min function. $15 to $25. Mount 
the outdoor probe on your HD. Then decide for yourself if the HD is too 
hot. I have lots of fans, an extra blowing out, an extra blowing on the 
HD. And the result is my FH 3.5" IBM SCSI 9G HD is running 15 degrees F 
over room temperature. Currenlty its 94F on the HD.

Without digging up manufacturer's specs about 115F to 120F is where I'd 
start getting really worried.

--
David Kelly N4HHE, [EMAIL PROTECTED]
=
The human mind ordinarily operates at only ten percent of its
capacity -- the rest is overhead for the operating system.






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message



Re: effective use of serial console

2000-10-09 Thread Nat Lanza

Gabriel Ambuehl [EMAIL PROTECTED] writes:

 I'm wondering if there's a possibility to use USB console as this
 would be even better for this case because you could build some kind
 of network using USB hubs where the PCs don't need to rely on their twins
 for serial console access. If you got one up, you can access all of
 them... And after all, USB ports are more common today than serial
 ones ;-)

At our lab we have a nifty homebrew program called rconsole for
this. The rconsole server has a bunch of machines' serial consoles
attached to it, and exports them through rconsoled, which accepts
kerberos4-authenticated connections from clients and ships the
requested serial console over a DES-encrypted connection. It allows
for read-only access, multiple readers observing one writer, and a
SIMD mode for sending keystrokes to multiple machines. There's also a
delayed-return feature in the SIMD mode that sends return keystrokes
to all of the consoles with a few seconds of spacing between them[1].

I keep meaning to clean it up, maybe update the krb4/DES stuff to SASL
or SSL, and release it on sourceforge.


--nat

[1] This was originally added to keep rconsole from making the
department's kerberos server think somebody was trying to predict
its random number generator every time someone ran 'kinit' across
a bunch of machines in parallel.

-- 
nat lanza - research programmer, parallel data lab, cmu scs
[EMAIL PROTECTED]  http://www.cs.cmu.edu/~magus/
there are no whole truths; all truths are half-truths -- alfred north whitehead


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message