secure/lib/libcrypto: "make -jX buildworld" fix

2001-03-05 Thread Makoto MATSUSHITA


I've found that current libcrypto/Makefile is not parallel make(1)
unfriendly, since it creates a temporary file to as(1). Followings are
sample session log with "make buildworld -j2":

perl 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm/des-586.pl elf 
386 > des-586.pl.s ; as  des-586.pl.s -o des-586.o
perl 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm/des-586.pl elf 
386 > des-586.pl.s ; as  des-586.pl.s -o des-586.po
perl 
-I/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm:/usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/perlasm
 /usr/src/secure/lib/libcrypto/../../../crypto/openssl/crypto/des/asm/des-586.pl elf 
386 > des-586.pl.s ; as  des-586.pl.s -o des-586.So
des-586.pl.s: Assembler messages:
des-586.pl.s:1: Error: Rest of line ignored. First ignored character
is `,'.
*** Error code 1

If there is no mean to create *.pl.s, how about using a pipe to pass
an assembler code to as(1) ?

Index: Makefile
===
RCS file: /home/ncvs/src/secure/lib/libcrypto/Makefile,v
retrieving revision 1.35
diff -u -r1.35 Makefile
--- Makefile2001/03/04 23:14:50 1.35
+++ Makefile2001/03/06 07:52:59
@@ -384,12 +384,12 @@
 .SUFFIXES: .po .pl
 .SUFFIXES: .So .pl
 .pl.o:
-   perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; 
${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
+   perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} | ${AS} ${AFLAGS} - 
+-o $(.TARGET)
 
 .pl.po:
-   perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; 
${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
+   perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} | ${AS} ${AFLAGS} - 
+-o $(.TARGET)
 
 .pl.So:
-   perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} > $(.PREFIX).pl.s ; 
${AS} ${AFLAGS} $(.PREFIX).pl.s -o $(.TARGET)
+   perl -I${PERLPATH} $(.ALLSRC) elf ${CPUTYPE:Mi386:S/i//} | ${AS} ${AFLAGS} - 
+-o $(.TARGET)
 .endif
 
-- -
Makoto `MAR' MATSUSHITA

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



Re: tape device names and devfs

2001-03-05 Thread Steve Kargl

Matthew Jacob wrote:
> 
> On Mon, 5 Mar 2001, Steve Kargl wrote:
> 
> > What are the names of the tape devices under devfs?
> > 
> > Should dump(8) use /dev/sa0 for the rewind device and
> > /dev/nsa0 for no rewind device?  Should /etc/rc.devfs
> > create symlinks from rsa0 and nrsa0 for backwards compatibility?
> 
> 
> Can you give a hint as to which release you're trying this with?

FreeBSD 5.0-CURRENT #2: Mon Mar  5 10:40:22 PST 2001
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/TROUTMASK
> 
> Does rc.devfs mean anything at all with -current's devfs? I just changed the
> sa driver to create the correct aliases.
> 

Yes, I use it to set permissions on cd0 and cd0c during boot.
I could add "ln -sf /dev/nsa0 /dev/nrsa0" for backwards 
compatibility.

dump.8 and dump(8) both refer explicitly to nsa0 and nrsa0 whereas
sa0 and nsa0 are the actual device names in -current.

-- 
Steve

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



Re: tape device names and devfs

2001-03-05 Thread Matthew Jacob


On Mon, 5 Mar 2001, Steve Kargl wrote:

> What are the names of the tape devices under devfs?
> 
> troutmask:root[201] dump 3 /var
>   DUMP: Date of this level 3 dump: Mon Mar  5 17:02:02 2001
>   DUMP: Date of last level 0 dump: Tue Feb 27 07:01:08 2001
>   DUMP: Dumping /dev/da0s1e (/var) to /dev/rsa0
>   DUMP: mapping (Pass I) [regular files]
>   DUMP: mapping (Pass II) [directories]
>   DUMP: estimated 7211 tape blocks on 0.19 tape(s).
>   DUMP: Cannot open output "/dev/rsa0".
>   DUMP: Do you want to retry the open?: ("yes" or "no") no
>   DUMP: The ENTIRE dump is aborted.
> 
> Should dump(8) use /dev/sa0 for the rewind device and
> /dev/nsa0 for no rewind device?  Should /etc/rc.devfs
> create symlinks from rsa0 and nrsa0 for backwards compatibility?



Can you give a hint as to which release you're trying this with?

Does rc.devfs mean anything at all with -current's devfs? I just changed the
sa driver to create the correct aliases.

-matt



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



tape device names and devfs

2001-03-05 Thread Steve Kargl

What are the names of the tape devices under devfs?

troutmask:root[201] dump 3 /var
  DUMP: Date of this level 3 dump: Mon Mar  5 17:02:02 2001
  DUMP: Date of last level 0 dump: Tue Feb 27 07:01:08 2001
  DUMP: Dumping /dev/da0s1e (/var) to /dev/rsa0
  DUMP: mapping (Pass I) [regular files]
  DUMP: mapping (Pass II) [directories]
  DUMP: estimated 7211 tape blocks on 0.19 tape(s).
  DUMP: Cannot open output "/dev/rsa0".
  DUMP: Do you want to retry the open?: ("yes" or "no") no
  DUMP: The ENTIRE dump is aborted.

Should dump(8) use /dev/sa0 for the rewind device and
/dev/nsa0 for no rewind device?  Should /etc/rc.devfs
create symlinks from rsa0 and nrsa0 for backwards compatibility?

-- 
Steve

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



Re: Posix feature tests update

2001-03-05 Thread Cyrille Lefevre

Garrett Wollman <[EMAIL PROTECTED]> writes:

> I have almost completely finished this work.  Please join the
> [EMAIL PROTECTED] mailing-list, where the patches were
> posted several months ago, and where hopefully more discussion can
> still take place.  I have not had time recently to update the patches

please, how to subscribe to this mailing list ?
where are the archives ? thanks in advance.

Cyrille.
--
home: mailto:[EMAIL PROTECTED]   UNIX is user-friendly; it's just particular
work: mailto:[EMAIL PROTECTED]   about who it chooses to be friends with.

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



Welcome to HipHopProductions

2001-03-05 Thread HipHopProductions Moderator


Hello,

Welcome to Hip Hop Promotions eGroup.  This group will hit you off with the latest 
information in new Hip Hop/Rap and R&B.  Only the Hottest music, Free MP3z, and CD 
Giveaways posted through links on a Periodic basis.  NO Bombarding your e-mail with 
unnecessary junk mail.  This is ONLY an Invitation to join.  To Join, simply reply to 
this e-mail.  If you do not want to join ignore this message AND DO NOT REPLY!!! If 
you reply you will be added and we don't want anyone joining that doesn't want to.


Regards,

Moderator, HipHopProductions


Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 

 





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



Invitation to join the HipHopProductions group

2001-03-05 Thread HipHopProductions moderator


Hello,

You've been invited to join the HipHopProductions group,
an email group hosted by Yahoo! Groups, a free, easy-to-use email group
service.

JOIN NOW, IT'S EASY: 

1) REPLY to this email by clicking "Reply" and then "Send"
in your email program

-OR-

2) Go to the Yahoo! Groups site at
   
http://groups.yahoo.com/invite/HipHopProductions?email=current%40freebsd%2Eorg&iref=ae1ZS3r-hciWICFbu-jJ0XBk-fU
Yahoo! Groups makes it easy to participate in email discussions,
coordinate events, share photos and files, and more.

NOTE: This is an announcement or newsletter group, so only the group
moderator may post messages. Also, some or all group web features
may be disabled at the moderator's discretion.

Here's an introductory message from the group moderator:


Hello,

Welcome to Hip Hop Promotions eGroup.  This group will hit you off with the latest 
information in new Hip Hop/Rap and R&B.  Only the Hottest music, Free MP3z, and CD 
Giveaways posted through links on a Periodic basis.  NO Bombarding your e-mail with 
unnecessary junk mail.  This is ONLY an Invitation to join.  To Join, simply reply to 
this e-mail.  If you do not want to join ignore this message AND DO NOT REPLY!!! If 
you reply you will be added and we don't want anyone joining that doesn't want to.


Regards,

Moderator, HipHopProductions

 




If you do not wish to join the HipHopProductions group, please
ignore this invitation.

SPECIAL NOTE FROM Yahoo! Groups:  Because Yahoo! Groups values your privacy,
it is a violation of our service rules for moderators to abuse this 
invitation feature. If you feel this has happened, please notify us
at [EMAIL PROTECTED] 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
 





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



Re: top, MAXMEM, sysctl, and missing memory?

2001-03-05 Thread Steve Kargl

Yoshihiro Koya wrote:
> 
> > 
> > So, is the system using all 384 MB of memory or is there
> > another kernel config option to set besides MAXMEM.
> 
> I also have same problem. The top command does not translate 
> the value of page size into KB value maybe. 
> Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=25545 
> 
> But, I am not sure that it is a complete solution.
> 

I think this is the correct solution.

-- 
Steve

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



Re: top, MAXMEM, sysctl, and missing memory?

2001-03-05 Thread Yoshihiro Koya

Hello, 

From: "Steven G. Kargl" <[EMAIL PROTECTED]>
Subject: top, MAXMEM, sysctl, and missing memory?
Date: Mon, 5 Mar 2001 11:43:43 -0800 (PST)
Message-ID: <[EMAIL PROTECTED]>

> However, if I fire up top(1), she reports
> 
>   Mem: 5390K Active, 5322K Inact, 7627K Wired, 13K Cache, 48M Buf, 76M Free
> 
> Simply addition of the numbers from top(1) comes to about 141 MB.
> Looking at top(1) sourcesi shows that she uses the following
> syctl variables:
>vm.stats.vm.v_active_count: 5169
>vm.stats.vm.v_inactive_count: 5116
>vm.stats.vm.v_wire_count: 7550
>vm.stats.vm.v_cache_count: 24
>vm.stats.vm.v_free_count: 77901
> and the total page_count is
>vm.stats.vm.v_page_count: 95760
> which nearly agrees with hw.availpages.
> 
> It appears that the recent changes to top(1) to use sysctl
> may have gotten the page size, but I haven't determined
> where to fix her.
> 
> So, is the system using all 384 MB of memory or is there
> another kernel config option to set besides MAXMEM.

I also have same problem. The top command does not translate 
the value of page size into KB value maybe. 
Please see http://www.freebsd.org/cgi/query-pr.cgi?pr=25545 

But, I am not sure that it is a complete solution.

koya

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



top, MAXMEM, sysctl, and missing memory?

2001-03-05 Thread Steven G. Kargl

I've recently upgraded a system to 384 MB of memory,
which the system detects during boot.  Dmesg reports

  real memory  = 402587648 (393152K bytes)
  avail memory = 387903488 (378812K bytes)

with or without 'options MAXMEM "(384*1024)"' and
"sysctl -a | grep hw" reports

  hw.physmem: 399212544
  hw.usermem: 368316416
  hw.pagesize: 4096
  hw.availpages: 97298

However, if I fire up top(1), she reports

  Mem: 5390K Active, 5322K Inact, 7627K Wired, 13K Cache, 48M Buf, 76M Free

Simply addition of the numbers from top(1) comes to about 141 MB.
Looking at top(1) sourcesi shows that she uses the following
syctl variables:
   vm.stats.vm.v_active_count: 5169
   vm.stats.vm.v_inactive_count: 5116
   vm.stats.vm.v_wire_count: 7550
   vm.stats.vm.v_cache_count: 24
   vm.stats.vm.v_free_count: 77901
and the total page_count is
   vm.stats.vm.v_page_count: 95760
which nearly agrees with hw.availpages.

It appears that the recent changes to top(1) to use sysctl
may have gotten the page size, but I haven't determined
where to fix her.

So, is the system using all 384 MB of memory or is there
another kernel config option to set besides MAXMEM.

-- 
Steve
http://troutmask.apl.washington.edu/~kargl/

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



Re: Error making kernel

2001-03-05 Thread Warner Losh

In message <001e01c0a51b$9a1bd830$0a0110ac@guillaume> "Guillaume" writes:
: ===> if_sl
: make: don't know how to make machine/lock.h. Stop

First, run make depend.  If that doesn't fix your problem, then cd
src/sys/modules and do a find . -name .depend -delete.

Stale copies of .depend wind up in there was well.

Warner

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



Re: More on system hangs ... IRQ related?

2001-03-05 Thread John Baldwin


On 05-Mar-01 GH wrote:
> On Sun, Mar 04, 2001 at 10:40:37PM -0800, some SMTP stream spewed forth: 
>> On Sun, Mar 04, 2001 at 11:42:22PM -0400, The Hermit Hacker wrote:
>> > Okay, are there any known problems with the SB128 cards?  Figuring that it
>> > couldn't hurt to remove it, I did ... so far, X hasn't hung ... not
>> 
>> Hum... interesting.  I also have a PCI SB128 card and one hang when I was
>> using mpg123 and then started a newfs.  The SB128's IRQ isn't shared with
>> anything else.  But I was also having much hangs on heavy disk traffic.
>> 
>> http://people.freebsd.org/~jhb/intr2.patch  has fixed my problems so far.
> 
> This seems to be my luck:
> --
> The file 
> 
>  http://people.freebsd.org/~jhb/intr2.patch 
> 
>does not exist at this server.
> --

It's ~jhb/patches/intr2.patch, but it has been committed, so just cvusp.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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



Re: More on system hangs ... IRQ related?

2001-03-05 Thread David O'Brien

On Mon, Mar 05, 2001 at 01:01:23AM -0600, GH wrote:
> > http://people.freebsd.org/~jhb/intr2.patch  has fixed my problems so far.
> 
> This seems to be my luck:
> --
> The file 
> 
>  http://people.freebsd.org/~jhb/intr2.patch 
> 
>does not exist at this server.
> --
> 
> Where can I otherwise get this patch?

John has committed it now.  So you should be getting it soon in your
usual way.
 
-- 
-- David  ([EMAIL PROTECTED])

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



Re: More on system hangs ... IRQ related?

2001-03-05 Thread The Hermit Hacker

On Sun, 4 Mar 2001, The Hermit Hacker wrote:

> On Sun, 4 Mar 2001, John Baldwin wrote:
>
> >
> > On 04-Mar-01 The Hermit Hacker wrote:
> > > On Sun, 4 Mar 2001, Alex Zepeda wrote:
> > >
> > >> On Sun, Mar 04, 2001 at 03:18:39PM -0400, The Hermit Hacker wrote:
> > >>
> > >> >My sound card overlaps with fxp0, and fxp1 overlaps with the
> > >> > HighPoint controller ...
> > >> >
> > >> >Grasping at straws here ...
> > >>
> > >> Ditch the HPT366, it's crap and will cause system instabilities with
> > >> "fast" hard drives.  I'm not sure what you have attached to it, but I've
> > >> had problems with {either,both} an IBM ATA100 HDD and a Western Digital
> > >> ATA66 drive attached.  Apparently the ATA100 counterpart from HighPoint
> > >> isn't so bad.
> > >
> > > Okay, everything in my box is SCSI, so I'm not suspecting the HPT... its
> > > more the pcm & fxp that I'm thinking ...
> > >
> > > how does the OS handle having both devices hit simultaneously on the same
> > > IRQ?
> >
> > The IRQ fires and is masked.  We then run both handlers, one after the other,
> > and when they have finished re-enable the IRQ.
>
> Okay, are there any known problems with the SB128 cards?  Figuring that it
> couldn't hurt to remove it, I did ... so far, X hasn't hung ... not
> conclusive yet, am going to let it run over night, with KDE2 compiling in
> the background, and see if its still runnin in the morning ... if it is,
> will try putting the SB128 back in and seeing if it once more causes it to
> hang ...
>
> But, so far, so good *cross fingers*

Of course, as everyone knew (and I wished against unsuccessfully), it
still hung :(

Ah well, will re-tackle it when I get back from SF, even if it means
leaving it overnight ...

One question ... yesterday, when I did leave it running, and came back to
my computer, my xterm that I had kermit running in was full of "binary
data" ... you know, the hieroglyphics?  I just started up a new
xterm/kermit to reset it, but if it hangs in that state, I'm definitely
not going to have anything to show anyone ... is there any reason why
there are binary codes (if I want it scroll, I can see the occasional
'diamond' popping up on the screen, and hear the occasional bell) in that
output, and any way of suppressing them?

Thanks ...


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



USB-Devices working on 5.0-current?

2001-03-05 Thread Michael Class

Hi,

on the weekend I was trying to play with two USB-devices on my
FBSD-5.0-current (cvsupped 3.2.2001) without success.

The first device is a HP DeskJet 990-Printer that is recognized
by the ulpt-driver. (Unfortunately I am here at work and do not
have the dmesg-output at my hands, if needed I can deliver that
tonight from home). When I try to send something to /dev/ulpt0,
it hangs in the open for about 5 minutes and thats it.
But usbdevs shows the device!

The other device I tried was a Kodak DC4800-Camera. It is not
displayed by usbdevs at all. (I know it is not supported, but
there is a linux-java-program that supports it, that I hoped
to port to FBSD).

So my question right now is, has anyone USB-devices running on
a 5.0-current SMP-system these days? I just wanted to make
sure that I am not digging in already know problems.

TIA

Michael

P.S. the system I am using is a SMP-System 2x350Mhz-PII on an
Intel BX-Board (Gigabyte) using UHCI for USB.


___
Michael ClassE-Mail: [EMAIL PROTECTED]
E-Business Solution Division
___


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



Re: 5.0-20010304-CURRENT panics during boot on Sony Vaio

2001-03-05 Thread Maxim Sobolev

Tom Uffner wrote:

> all of the snapshots since the 24th have exhibited this same or
> very similar behavior.
>
> when booting from the kern & mfsroot floppies i get:
>
> .
> .
> .
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> unknown:  can't assign resources
> pccard: card inserted, slot 0
> kernel trap 9 with interrupts disabled
>
> Fatal trap 9: general protection fault while it kernel mode
> instruction pointer = 0x8:0xc02e3858
> stack pointer   = 0x10:0xc78c8f50
> frame pointer   = 0x10:0xc78c8f64
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, def32 1, gran 1
> processor eflags= resume, IOPL = 0
> current process = 19 (irq9: uhci0)
> trap number = 9
> panic: general protection fault

Looks like another `ltr %si' panic.

-Maxim


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