Re: emu10k1 problems solved

2000-08-08 Thread Mike Muir

Alexander Sanda wrote:
> 
> At 09:15 07.08.2000 +0200, Benedikt Schmidt wrote:
> 
> >Just wanted to say that with the recent changes in the
> >emu10k1 driver all my problems with it have disappeared.
> >
> >There are no more "dodgy irq" messages
> >and the sound quality has improved too (no more crackling).
> 
> Just a quick question...
> 
> Is it possible to get this driver working under 4.1-STABLE aswell, or are
> the changes in the -current kernel already too big?
> 
> Or is it officially planned to merge this updated driver into the -STABLE
> branch?

Grab /sys/dev/sound/pci/emu10k1.c
and  /sys/gnu/dev/sound/pci/emu10k1.h 
from -current and recompile kernel.. no problems.

-mike


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



Re: hotmail now running win2000

2000-08-08 Thread Adam

On Tue, 8 Aug 2000, Irwan Hadi wrote:

>At 12:28 AM 8/9/00 -0400, Brian Hechinger wrote:
>>Irwan Hadi drunkenly mumbled...
>> > Sigh http://www.netcraft.com/whats/?host=www.hotmail.com
>>
>>not on all the machines however.  re-run the query, sometimes you get:
>>
>>www.hotmail.com is running Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b 
>>on FreeBSD
>>
>>got both goin.  just in case w2k didn't make the grade i assume.
>
>But I guess soon they will change all their freeBSD servers ;(
>and I wonder, how many people should be employed by Microsoft, just to 
>press the restart button at their 2000 servers for Hotmail, in case they 
>got BSOD ?

I hate to dissapoint you all, but Windows NT (certainly 4 and 5(win2k),
not sure about 3.51 because I havent used it) has a "feature" to enable
automatic reboot at BSOD.  Its just off by default, whereas FreeBSD has
this feature on by default :)



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



Re: crypt(3) problems

2000-08-08 Thread Max Khon

hi, there!

On Tue, 8 Aug 2000, Brian Fundakowski Feldman wrote:

> We should switch to using just libdescrypt and being allowed to switch
> crypt formats easily between md5 and des.  My proposed solution using
> login.conf is at http://people.FreeBSD.org/~green/crypt_switching.patch,
> and it's going to be put into production usage relatively soon (that is,
> whether or not it's actually in FreeBSD).

this would solve a lot of problems with libcrypt for third-party software
developers. at this time to ensure that our product will work on any
FreeBSD installation we link libdescrypt statically (which is a pain in
the ass if f.e. libtool is used)

/fjoe



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



Re: hotmail now running win2000

2000-08-08 Thread Brandon D. Valentine

Take this to -chat or -advocacy, PLEASE.  This is nowhere near a
relevant topic for -current.

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-current" in the body of the message



Re: hotmail now running win2000

2000-08-08 Thread Brian Hechinger

Daniel O'Connor drunkenly mumbled...
>
> Personally I would wire something up to the reset switch instead..
> 
> Much less potential for accidentally nuking your hardware if your script is
> broken and starts toggling machines on and off like mad..
> (much less violent on disk etc too)

but how feasable is that for a large installation.  would you like to pull
2000 machines apart and make the needed modifications?  the masterswitch
solutions is "plug 'n play" it just a powerstip as far as i''m concerned.

just food for thought.

-b


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



Re: hotmail now running win2000

2000-08-08 Thread Daniel O'Connor


On 09-Aug-00 The Hermit Hacker wrote:
>  use something like netsaint to monitor those machines?  and the APC master
>  switch is web administered, so it would be too easy to build a quick perl
>  script to trigger a power outlet correspondign to the partiular server
>  that was n olonger responding ...

Personally I would wire something up to the reset switch instead..

Much less potential for accidentally nuking your hardware if your script is
broken and starts toggling machines on and off like mad..
(much less violent on disk etc too)

---
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum


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



Re: hotmail now running win2000

2000-08-08 Thread The Hermit Hacker

On Tue, 8 Aug 2000, Irwan Hadi wrote:

> At 12:44 AM 8/9/00 -0400, Brian Hechinger wrote:
> >Irwan Hadi drunkenly mumbled...
> > >
> > > But I guess soon they will change all their freeBSD servers ;(
> > > and I wonder, how many people should be employed by Microsoft, just to
> > > press the restart button at their 2000 servers for Hotmail, in case they
> > > got BSOD ?
> >
> >it's called the APC MasterSwitch (or similar peoduct by alternate vendor)
> >
> >reboot machines over the network.  takes the place of 64.2% of all people
> >employed with the word microsoft in their title.
> 
> Including MCSE, MCP , etc ? ;) :)
> 
> BTW how can the administrator of hotmail determine if a server is BSOD or 
> not then ?, because they have 2000 servers and I think without enough 
> employees to watch the system and how can APC master switch reboot the 
> machine in case it BSOD ?

use something like netsaint to monitor those machines?  and the APC master
switch is web administered, so it would be too easy to build a quick perl
script to trigger a power outlet correspondign to the partiular server
that was n olonger responding ...




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



Re: hotmail now running win2000

2000-08-08 Thread Brian Hechinger

Irwan Hadi drunkenly mumbled...
> 
> Including MCSE, MCP , etc ? ;) :)

bingo.

> BTW how can the administrator of hotmail determine if a server is BSOD or 
> not then ?, because they have 2000 servers and I think without enough 
> employees to watch the system and how can APC master switch reboot the 
> machine in case it BSOD ?

SNMP is your friend.

-b


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



Re: hotmail now running win2000

2000-08-08 Thread The Hermit Hacker

On Wed, 9 Aug 2000, Brian Hechinger wrote:

> Irwan Hadi drunkenly mumbled...
> > 
> > But I guess soon they will change all their freeBSD servers ;(
> > and I wonder, how many people should be employed by Microsoft, just to 
> > press the restart button at their 2000 servers for Hotmail, in case they 
> > got BSOD ?
> 
> it's called the APC MasterSwitch (or similar peoduct by alternate vendor)
> 
> reboot machines over the network.  takes the place of 64.2% of all people
> employed with the word microsoft in their title.

and they do have their own 'Foundry' like product that they can use as a
front end ...


Marc G. Fournier   ICQ#7615664   IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: [EMAIL PROTECTED]   secondary: scrappy@{freebsd|postgresql}.org 



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



Re: hotmail now running win2000

2000-08-08 Thread Irwan Hadi

At 12:44 AM 8/9/00 -0400, Brian Hechinger wrote:
>Irwan Hadi drunkenly mumbled...
> >
> > But I guess soon they will change all their freeBSD servers ;(
> > and I wonder, how many people should be employed by Microsoft, just to
> > press the restart button at their 2000 servers for Hotmail, in case they
> > got BSOD ?
>
>it's called the APC MasterSwitch (or similar peoduct by alternate vendor)
>
>reboot machines over the network.  takes the place of 64.2% of all people
>employed with the word microsoft in their title.

Including MCSE, MCP , etc ? ;) :)

BTW how can the administrator of hotmail determine if a server is BSOD or 
not then ?, because they have 2000 servers and I think without enough 
employees to watch the system and how can APC master switch reboot the 
machine in case it BSOD ?



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



Re: hotmail now running win2000

2000-08-08 Thread Brian Hechinger

Irwan Hadi drunkenly mumbled...
> 
> But I guess soon they will change all their freeBSD servers ;(
> and I wonder, how many people should be employed by Microsoft, just to 
> press the restart button at their 2000 servers for Hotmail, in case they 
> got BSOD ?

it's called the APC MasterSwitch (or similar peoduct by alternate vendor)

reboot machines over the network.  takes the place of 64.2% of all people
employed with the word microsoft in their title.

-b


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



Re: hotmail now running win2000

2000-08-08 Thread Irwan Hadi

At 12:28 AM 8/9/00 -0400, Brian Hechinger wrote:
>Irwan Hadi drunkenly mumbled...
> > Sigh http://www.netcraft.com/whats/?host=www.hotmail.com
>
>not on all the machines however.  re-run the query, sometimes you get:
>
>www.hotmail.com is running Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b 
>on FreeBSD
>
>got both goin.  just in case w2k didn't make the grade i assume.

But I guess soon they will change all their freeBSD servers ;(
and I wonder, how many people should be employed by Microsoft, just to 
press the restart button at their 2000 servers for Hotmail, in case they 
got BSOD ?



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



Re: hotmail now running win2000 (not all of it)

2000-08-08 Thread thomas

On  8 Aug, Irwan Hadi wrote:
> Sigh http://www.netcraft.com/whats/?host=www.hotmail.com 


www.hotmail.com is running Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b on FreeBSD 

at least on my query. Every 3rd query comes up with W2k. This time they
approaching this a bit more careful ...

-Th



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



Re: hotmail now running win2000

2000-08-08 Thread Brian Hechinger

Irwan Hadi drunkenly mumbled...
> Sigh http://www.netcraft.com/whats/?host=www.hotmail.com 

not on all the machines however.  re-run the query, sometimes you get:

www.hotmail.com is running Apache/1.3.6 (Unix) mod_ssl/2.2.8 SSLeay/0.9.0b on FreeBSD

got both goin.  just in case w2k didn't make the grade i assume.

-brian


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



hotmail now running win2000

2000-08-08 Thread Irwan Hadi

Sigh http://www.netcraft.com/whats/?host=www.hotmail.com 


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



Re: emu10k1 problems solved

2000-08-08 Thread Alexander Sanda

At 09:15 07.08.2000 +0200, Benedikt Schmidt wrote:

>Just wanted to say that with the recent changes in the
>emu10k1 driver all my problems with it have disappeared.
>
>There are no more "dodgy irq" messages
>and the sound quality has improved too (no more crackling).

Just a quick question...

Is it possible to get this driver working under 4.1-STABLE aswell, or are 
the changes in the -current kernel already too big?

Or is it officially planned to merge this updated driver into the -STABLE 
branch?




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



Request for review/comments - new option for uname(1)

2000-08-08 Thread Mark Ovens

The output of ``uname -a'' appears in hundreds of e-mails and PRs yet
the output format is not ideal for this (especially e-mail in
80-column mail readers) as it is a single line.

Attached is a patch for an enhancement I've made that adds a new
option ``-A'' (rather than change ``-a'') that splits it up into 3
lines thus making it better for including verbatim in e-mails and PRs:

  # uname -A
  FreeBSD parish 4.1-STABLE FreeBSD 4.1-STABLE #0:
  Tue Aug  8 00:51:02 BST 2000
  mark@parish:/usr/src/sys/compile/PARISH i386

The only thing I couldn't work out is why sysctl() adds 5 spaces after
the date sub-string, so I've haven't stripped them out (hence the
indented third line).

Is there any reason why this is unacceptable and could not be committed?

BTW, please Cc: me.

Thanks for your time.

-- 
4.4 - The number of the Beastie

51.44°N  FreeBSD - The Power To Serve http://www.freebsd.org
2.057°W  My Webpage http://ukug.uk.freebsd.org/~mark
mailto:[EMAIL PROTECTED]http://www.radan.com



--- uname.c.origTue Aug  8 21:32:36 2000
+++ uname.c Tue Aug  8 21:53:20 2000
@@ -61,16 +61,20 @@
 #defineRFLAG   0x04
 #defineSFLAG   0x08
 #defineVFLAG   0x10
+#defineAFLAG   0x20
u_int flags;
int ch, mib[2];
size_t len, tlen;
char *p, *prefix, buf[1024];
 
flags = 0;
-   while ((ch = getopt(argc, argv, "amnprsv")) != -1)
+   while ((ch = getopt(argc, argv, "Aamnprsv")) != -1)
switch(ch) {
+   case 'A':
case 'a':
flags |= (MFLAG | NFLAG | RFLAG | SFLAG | VFLAG);
+   if (ch == 'A')
+   flags |= AFLAG;
break;
case 'p':
case 'm':
@@ -137,9 +141,22 @@
len = sizeof(buf);
if (sysctl(mib, 2, &buf, &len, NULL, 0) == -1)
err(1, "sysctl");
-   for (p = buf, tlen = len; tlen--; ++p)
-   if (*p == '\n' || *p == '\t')
-   *p = ' ';
+
+   if (flags & AFLAG) {
+   for (p = buf, tlen = len; tlen--; ++p)
+   if (*p == ':') {
+   *++p = '\n';
+   break;
+   }
+
+   if (buf[strlen(buf) - 1] == '\n')
+   buf[strlen(buf) - 1] = '\0';
+   } else {
+   for (p = buf, tlen = len; tlen--; ++p)
+   if (*p == '\n' || *p == '\t')
+   *p = ' ';
+   }
+
(void)printf("%s%.*s", prefix, (int)len, buf);
prefix = " ";
}



Re: crypt(3) problems

2000-08-08 Thread Brian Fundakowski Feldman

We should switch to using just libdescrypt and being allowed to switch
crypt formats easily between md5 and des.  My proposed solution using
login.conf is at http://people.FreeBSD.org/~green/crypt_switching.patch,
and it's going to be put into production usage relatively soon (that is,
whether or not it's actually in FreeBSD).

--
 Brian Fundakowski Feldman   \  FreeBSD: The Power to Serve!  /
 [EMAIL PROTECTED]`--'



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



crypt(3) problems

2000-08-08 Thread Pete Carah

There are many cases (e.g. apache with external sources doing crypt)
where it is necessary to have libscrypt the default crypt for logins,
etc, and libdescrypt available for linking (e.g. apache).  Since the
realignment of crypt sources to the internat versions (which I generally
like), this is not possible without a change to the makefile in
/usr/src/secure/lib/libcrypt so that LCRYPTBASE is libdescrypt and NOT
libcrypt.  The corresponding change may be needed in libscrypt sources too?

There are also cases (generating passwords for cisco) where the opposite 
is needed.

The bottom line is that if one asks explicitly for either -ldescrypt 
or -lscrypt it should get ONLY that library and not the other, independent
of the symlinks.

This was working fine till the merge of usa and internat versions.

There was other related heartburn but I finally discovered the change to 
make.conf that fixed it :-)

-- Pete


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



Re: Ugly, slow shutdown

2000-08-08 Thread Nate Williams

> It's not just that, if you always have to cover your behind when
> doing tsleep you may wind up masking wakeup bugs.  Places like
> "vfs_bio.c" line 586 of 3182:
> 
>   bp->b_xflags |= BX_BKGRDWAIT;
>   tsleep(&bp->b_xflags, PRIBIO, "biord", 0);
>   if (bp->b_xflags & BX_BKGRDINPROG)
>   panic("bwrite: still writing");
>   }
> 
> If replaced by a while() _may_ obscure a buffercache bug.
> 
> Personally I'd like to be able to catch such bugs than let them go
> because the API (wakeups can happen at any time) prohibits this.

No in a fully threaded world.


Nate


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



inheriting certificate trust

2000-08-08 Thread Garrett Wollman

< said:

> I've used this certificate to sign a new certificate, and Microsoft
> recognizes it and the trust chain, and will use it for verifying the
> servers identity, but not for mail.

My guess is that (regardless of the software issues involved) you've
just violated your agreement with Veri$ign.

I would not be surprised if Exploder and Outbreak will only accept a
certificate for one purpose, regardless of how many options are set in
the certificate's keyUsage.

-GAWollman



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



Re: Ugly, slow shutdown

2000-08-08 Thread Alfred Perlstein

* David Greenman <[EMAIL PROTECTED]> [000807 23:15] wrote:
> >In article <[EMAIL PROTECTED]>, David Greenman
> ><[EMAIL PROTECTED]> wrote:
> 
> >Obviously the waker-upper knows that the condition is true.  Otherwise
> >the existing code which doesn't check wouldn't work.  In the expensive
> >cases the waker-upper could simply set a flag for the sleeper to
> >check.
> 
>For me, that doesn't make the code easier to read or understand - it has
> the opposite effect. ...but then I'm used to the historical symantics and
> naturally consider the possible cases when looking at the code.
> 
> >Note, I am not expressing an opinion about whether the sleeps should
> >be terminated prematurely during shutdown.  But I am expressing a
> >strong opinion about whether sleepers should do a reality check before
> >proceeding.
> 
>I could be persuaded to think that way, but I still remain unconvinced.
> Again, I'm used to the historical symantics, so changing them requires a
> pretty good justification and a bit of brain rewiring, which I naturally
> resist.

It's not just that, if you always have to cover your behind when
doing tsleep you may wind up masking wakeup bugs.  Places like
"vfs_bio.c" line 586 of 3182:

bp->b_xflags |= BX_BKGRDWAIT;
tsleep(&bp->b_xflags, PRIBIO, "biord", 0);
if (bp->b_xflags & BX_BKGRDINPROG)
panic("bwrite: still writing");
}

If replaced by a while() _may_ obscure a buffercache bug.

Personally I'd like to be able to catch such bugs than let them go
because the API (wakeups can happen at any time) prohibits this.

-Alfred


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