wondering about apm_cpu_{idle,busy}() in sys/i386/apm/apm.c

2000-02-08 Thread Jose M. Alcaide

Hello,

I am doing some experiments with my new laptop and APM, so I carefully
read the apm(4) source (sys/i386/apm/apm.c), and I found the functions
apm_cpu_idle() and apm_cpu_busy(). I understand the double CPU halting
issue. However, I wonder about where are these two functions invoked from:

jose@v-ger[~]$ find /usr/src/sys -name "*.[chsS]" | xargs fgrep apm_cpu_idle
/usr/src/sys/i386/apm/apm.c:apm_cpu_idle(void)
/usr/src/sys/i386/include/apm_bios.h:void apm_cpu_idle(void);

And the same happens with apm_cpu_busy().

Are these functions actually used in the kernel? What did I miss?

Cheers,
-- JMA
---
José Mª Alcaide | mailto:[EMAIL PROTECTED]
Universidad del País Vasco  | mailto:[EMAIL PROTECTED]
Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose
Facultad de Ciencias - Campus de Lejona | Tel.:  +34-946012479
48940 Lejona (Vizcaya) - SPAIN  | Fax:   +34-946013071
---
 "Beware of Programmers who carry screwdrivers"  --  Leonard Brandwein


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



Wanted: sound API experts for OpenH323 (NetMeeting for Unix) project

2000-02-08 Thread Roger Hardiman

Hi,

I need some help with the sound ioctls for the OpenH323 project.
(OpenH323 can be called NetMeeting for Unix)

OpenH323 is an Open Source H323 Video Conferening package,
with full duplex audio and bi-directional video.
It is ported to Linux and Windows, and can connect to a wide
range of H323 compatible video conferencing programs, including
NetMeeting.

I'm working on the FreeBSD port and can now stream
video from FreeBSD to NetMeeting and visa versa
using our Bt848 driver.

BUT... I need help with the audio ioctls.
I've got all the linux source, but need to cook up
FreeBSD audio code, especially for the full duplex audio.

And I need some help.


If you are interested, take a look at
   www.openh323.org

and email me. I've got the latest source, not yet checked into
the OpenH323 project wich fixes a few build errors on FreeBSD 3.4.

It would be good to get this done in the next few days as
it will make it onto the FreeBSD 4.0 release disks.


Any helpers out there?

Thanks
Roger
--
Roger Hardiman
Bt848/Bt878 driver maintainer
[EMAIL PROTECTED]
[EMAIL PROTECTED]


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



Yahoo under attack

2000-02-08 Thread Luoqi Chen

Just saw it in the news,
http://abcnews.go.com/sections/tech/DailyNews/yahoo000207.html
Does anyone know the detail?

-lq


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



T1 / E1 PCI card for FreeBSD?

2000-02-08 Thread Len Conrad

Something like the Ariel RS2000 card.  Ariel supports NT and Linux, but I'm 
a pure FreeBSD shop now (on the opens source side) and would not like to 
add a Linux box just for this.

( may end up buying a used PM 3A 2PT E1 )

thanks,
Len




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



Re: T1 / E1 PCI card for FreeBSD?

2000-02-08 Thread Marc Nicholas

Try:

http://www.etinc.com

Never used their products, however.


-marc

---
Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
"Fast, Expandable and Affordable Internet Caching Products"
1.877.464.4776 416.979.9000x11 fax: 416.979.8223 cell: 416.346.9255

On Tue, 8 Feb 2000, Len Conrad wrote:

> Something like the Ariel RS2000 card.  Ariel supports NT and Linux, but I'm 
> a pure FreeBSD shop now (on the opens source side) and would not like to 
> add a Linux box just for this.
> 
> ( may end up buying a used PM 3A 2PT E1 )
> 
> thanks,
> Len
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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



Re: Yahoo under attack

2000-02-08 Thread Johnathan Meehan

Hi Luoqi,

Try these for a little more detail:

http://www.antionline.com/cgi-bin/AntiLinks.cgi?url=http://www.nytimes.com/l
ibrary/tech/00/02/biztech/articles/08yahoo.html

http://www.securityfocus.com/templates/frame.html?adgroup=secnews&url=/exter
nal/http%3a%2f%2fwww.currents.net%2fnewstoday%2f00%2f02%2f08%2fnews2.html

http://www.securityfocus.com/templates/frame.html?adgroup=secnews&url=/exter
nal/http%3a%2f%2fnews.cnet.com%2fnews%2f0-1005-200-1544455.html%3ftag%3dst.n
e.1002.thed.1005-200-1544455

I don't know. Whatever happened to hackers? *poof* and they went, to be
replaced by idiots. You'll note that YahoO! is still regarded as the most
reliable web site, though.

Jonno

- Original Message -
From: Luoqi Chen <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 08, 2000 6:46 PM
Subject: Yahoo under attack


> Just saw it in the news,
> http://abcnews.go.com/sections/tech/DailyNews/yahoo000207.html
> Does anyone know the detail?
>
> -lq
>
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
>



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



Re: how to compile without libc (so not static)

2000-02-08 Thread John Polstra

In article <[EMAIL PROTECTED]>,
Marco van de Voort <[EMAIL PROTECTED]> wrote:
> > I suspect that "gcc" isn't the standard FreeBSD C compiler in your
> > case.  Try "which gcc" and find out.  It works fine for me on both
> > -stable and -current with "cc":
> 
> It is an older one indeed.
[...]
> Still doesn't work though with the newer one :-)
> (try some arithmetic to see if that works.

What do you mean, "Still doesn't work"?  If you are using the
/usr/bin/cc that comes with FreeBSD, and if -nostdlib causes the
crt* files and libc to be omitted from the link, then it works.

Making it do something useful is _your_ problem, not ours. :-) We
don't recommend or support linking that way.

John
-- 
  John Polstra   [EMAIL PROTECTED]
  John D. Polstra & Co., Inc.Seattle, Washington USA
  "Disappointment is a good sign of basic intelligence."  -- Chögyam Trungpa



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



Books

2000-02-08 Thread Christopher R. Bowman

I apologize in advance if anyone feels this is in appropriate.  If
you feel I need to be flamed please do it directly and not via the
list.

I have 2 books here that I wish to get rid of and since none of
the local bookstores want them I will offer them here free of charge
(I will pay shipping) to the person(s) who respond directly to me
(and not the list) in 24 hours with the best explanation of how
one or more will be put to good use.

Hennesy and Patterson: Computer Architecture A Quantitative Approach
(1st Ed) ISBN 1-881609-08-1 pristine condition

Shanley and Anderson: PCI System Architecture (2nd Ed)
ISBN 1-55860-069-8 small rip in paperback cover

I also have:
Wolfram: Mathematica (2nd Ed) ISBN 0-201-51502-4 paperback a little
beat up on the corners.



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



Re: Books

2000-02-08 Thread Josef Karthauser

On Tue, Feb 08, 2000 at 02:14:51PM -0500, Christopher R. Bowman wrote:
> I apologize in advance if anyone feels this is in appropriate.  If
> you feel I need to be flamed please do it directly and not via the
> list.
> 
> I have 2 books here that I wish to get rid of and since none of
> the local bookstores want them I will offer them here free of charge
> (I will pay shipping) to the person(s) who respond directly to me
> (and not the list) in 24 hours with the best explanation of how
> one or more will be put to good use.
> 
> Hennesy and Patterson: Computer Architecture A Quantitative Approach
  ^^^
I'm sure that this bloke was a lecturer of mine when I was at uni.

Joe
-- 
Josef KarthauserFreeBSD: Take the red pill and we'll show you just how
Technical Manager   deep the rabbit hole goes. (http://www.uk.freebsd.org)
Pavilion Internet plc.  [[EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]]


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



Re: T1 / E1 PCI card for FreeBSD?

2000-02-08 Thread Charles Youse


Lanmedia makes some pretty good T1/E1 PCI cards, and they support
FreeBSD.  (They actually wrote a FreeBSD driver for one of their cards at
my request).

Check out www.lanmedia.com.

Chuck


On Tue, 8 Feb 2000, Len Conrad wrote:

> Something like the Ariel RS2000 card.  Ariel supports NT and Linux, but I'm 
> a pure FreeBSD shop now (on the opens source side) and would not like to 
> add a Linux box just for this.
> 
> ( may end up buying a used PM 3A 2PT E1 )
> 
> thanks,
> Len
> 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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



Re: Yahoo under attack

2000-02-08 Thread Jordan K. Hubbard

> Just saw it in the news,
> http://abcnews.go.com/sections/tech/DailyNews/yahoo000207.html
> Does anyone know the detail?

I just exchanged email with David Filo this morning about this and it
appears to have been a DoS attack using the usual array of
stream/synflood tools.  It also primarily hit the routers and FreeBSD
3.4 was largely unaffected (2.2 had some problems, but they were
already in the process of upgrading those machines).  There is some
additional hardening work we can do here as a result of what was
learned during the attack, however, and you should be seeing the
relevant commits going into 4.0 shortly.

- Jordan


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



Re: T1 / E1 PCI card for FreeBSD?

2000-02-08 Thread Jaye Mathisen


I have several of the etinc cards.  If you can live with Dennis's rather
curt manner, they're perfectly fine cards.

I'm going to get one of the LMC boards though, integrated CSU/DSU would be
nice, and possibly save a few bucks.

ET has a bandwidth manager that works very nicely, and is a heck of a lot
simpler to configure than dummynet.  Free with the PCI cards, some $'s if
you just want it by itself.

My only ET gripe is that the new PCI cards lost the watchdog timer
function that was handy for those remote reboots...

On Tue, 8 Feb 2000, Marc Nicholas wrote:

> Try:
> 
> http://www.etinc.com
> 
> Never used their products, however.
> 
> 
> -marc
> 
> ---
> Marc Nicholas netSTOR Technologies, Inc. http://www.netstor.com
> "Fast, Expandable and Affordable Internet Caching Products"
> 1.877.464.4776 416.979.9000x11 fax: 416.979.8223 cell: 416.346.9255
> 
> On Tue, 8 Feb 2000, Len Conrad wrote:
> 
> > Something like the Ariel RS2000 card.  Ariel supports NT and Linux, but I'm 
> > a pure FreeBSD shop now (on the opens source side) and would not like to 
> > add a Linux box just for this.
> > 
> > ( may end up buying a used PM 3A 2PT E1 )
> > 
> > thanks,
> > Len
> > 
> > 
> > 
> > 
> > To Unsubscribe: send mail to [EMAIL PROTECTED]
> > with "unsubscribe freebsd-hackers" in the body of the message
> > 
> 
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
> 



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



Re: Yahoo under attack

2000-02-08 Thread Ed Hall

If you want to read some more about this in the mainstream press, check
out:

http://www.washingtonpost.com/wp-dyn/business/A23174-2000Feb7.html
http://news.cnet.com/news/0-1005-200-1544455.html
http://news.cnet.com/news/0-1005-200-1543918.html

The NY Times coverage is reasonable as well (though you have to be
registered to view it on their site).

The AP report (which you'll find in many newspapers) was fairly reasonable
to start, but sometime during the night the AP reporter decided to add
a bit from a self-proclaimed security expert about Yahoo!'s lack of
preparation and management.  I'll let you decide if he's qualified to
comment (the security expert's website is at www.tscm.com).

As a Yahoo! employee there isn't any more I can (or reasonably should)
say.  But I'll say one more thing anyway: FreeBSD wasn't the problem,
here.  It has been, and will continue to be, part of the solution.

-Ed




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



Localization and locale()?

2000-02-08 Thread Jason Simms

Hello,

I am currently writing several programs that, for one reason or another, 
need to be localized in various sections.  On Solaris, I can see what 
choices I have by running 'locale -a'.  However, all my attempts to find a 
similar function on FreeBSD 3.4 have failed.

I would have searched the mailing list archives, but they are, of course, 
currently down.  Also, my search through the handbook also only showed 
examples for Russian and German encoding (section 12).

For my specific problem, I need access to the following three character 
sets:

es_ES.ISO8859-1
pt.PT.ISO8859-1
en_US.ISO8859-1

And within my program (Perl), I need to use the setlocale() function 
imported from the POSIX module (actually, from the locale_h header file).  
If I run this on FreeBSD, will the program die on me due to the apparent 
lack of a locale function?  If one is available, where can I get it from?  
And finally, if these character sets are not installed on my system, what is 
the best way to go about getting them on there?  Any help or insight would 
be appreciated, so thanks!

Jason Simms
__
Get Your Private, Free Email at http://www.hotmail.com



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