if_fddisubr.c

2000-11-04 Thread Jim Bryant

#include sys/malloc.h

needs to be added to the top of if_fddisubr.c

-current pukes on the first instance of MALLOC() without it...

jim
-- 
All opinions expressed are mine, if you|  "I will not be pushed, stamped,
think otherwise, then go jump into turbid  |  briefed, debriefed, indexed, or
radioactive waters and yell WAHOO !!!  |  numbered!" - #1, "The Prisoner"
--
[EMAIL PROTECTED]  KC5VDJ - HF to 23cm  KC5VDJ@NW0I.#NEKS.KS.USA.NOAM
HF/VHF: IC-706MkII   VHF/UHF/SHF: IC-T81AKPC3+  PK-232MBXGrid: EM28px
--
  ET has one helluva sense of humor, always anal-probing right-wing schizos!


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



We cannot use 'make -j' option to build the world, period.

2000-11-04 Thread Makoto MATSUSHITA


matusita I've found that current src/sys/modules/linux for RELENG_4
matusita is not 'make -j' safe. It maybe causes a problem if you want
matusita to make a module.

Long time has past and, but problem is still there.

OK, we all FreeBSD users should forget the fact that there is an
option '-j' in make(1) and it's helpful for building FreeBSD. I dunno
what it should be, but 'linux' modules breaks the existing situation.
Documentation team, you should delete some comments of this option in
cutting-edge/chapter.sgml.

Moreover, I've found that exactly the same problem is also in latest
5-current (I've tested with 'make -j 2'). Be careful that some
programs are called twice.

=== linux
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
echo "#define COMPAT_43 1"  opt_compat.h
touch opt_linux.h
touch opt_vmpage.h
perl @/kern/vnode_if.pl -h @/kern/vnode_if.src
sh @/kern/makesyscalls.sh @/i386/linux/syscalls.master @/i386/linux/syscalls.cof
sh @/kern/makesyscalls.sh @/i386/linux/syscalls.master @/i386/linux/syscalls.cof
sed -e 's|i386/linux/linux_proto\.h|linux_proto.h|g'  linux_sysent.c  
linux_sysnt.c.fixup
sed -e 's|i386/linux/linux_proto\.h|linux_proto.h|g'  linux_sysent.c  
linux_sysnt.c.fixup
mv -f linux_sysent.c.fixup linux_sysent.c
mv -f linux_sysent.c.fixup linux_sysent.c
cc -c -O -pipe  -D_KERNEL -Wall -Wredundant-decls -Wnested-externs -Wstrict-prottypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extenions -ansi 
-DKLD_MODULE -nostdinc -I- -I. -I@ -I@/../include -I/usr/include  
-preferred-stack-boundary=2 /usr/src/sys/modules/linux/../../i386/linux/linux_genssym.c
mv: rename linux_sysent.c.fixup to linux_sysent.c: No such file or directory
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2

Stop in /usr/src/release.

***

for [EMAIL PROTECTED] (or hosokawa-san) only:

There is yet another compilation problem in kernel modules. A logfile
attached below comes from 'createBOOTMFS' stage of src/release/Makefile

rm -f .depend
mv -f .newdep .depend
cd ../../modules  env MAKEOBJDIRPREFIX=/usr/src/sys/compile/BOOTMFS/modules KMODIR= 
make obj all
=== 3dfx
=== 3dfx
Warning: Object directory not changed from original /usr/src/sys/modules/3dfx
@ - /usr/src/sys
machine - /usr/src/sys/i386/include
/usr/src/sys/compile/BOOTMFS/modules/usr/src/sys/modules/3dfx created for 
/usr/sr/sys/modules/3dfx

Be careful, '3dfx' directory is called twice, and one of them doesn't
know that there is an obj/ directory. Maybe it is introduced by the
changes of cool and long-awaited feature of driver.conf.

-- -
Makoto `MAR' MATSUSHITA


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



Re: We cannot use 'make -j' option to build the world, period.

2000-11-04 Thread David O'Brien

On Sat, Nov 04, 2000 at 05:19:44PM +0900, Makoto MATSUSHITA wrote:
 
 matusita I've found that current src/sys/modules/linux for RELENG_4
 matusita is not 'make -j' safe. It maybe causes a problem if you want
 matusita to make a module.
 
 Long time has past and, but problem is still there.
 
 OK, we all FreeBSD users should forget the fact that there is an
 option '-j' in make(1) and it's helpful for building FreeBSD. I dunno

AFAIK, we've never really supported -j for kernel building (which the
linux module is part of).  -j makes for world should certainly still
work.

Or you could help debug the problem and submit at Makefile patch. :-)

-- 
-- David  ([EMAIL PROTECTED])
  GNU is Not Unix / Linux Is Not UniX


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



Re: We cannot use 'make -j' option to build the world, period.

2000-11-04 Thread Makoto MATSUSHITA


dcs Err, we have been supporting -j for kernel building for a LONG
dcs time. The "depend" and "install" targets did not support it, but
dcs support on the "all" target is about as old as support on the
dcs "buildworld" target.

AFAIK, that's right.

Obrien, please check src/release/Makeefile commitlog of revision
1.536.2.15 (for 4-stable) and 1.557 (for current) via CVSweb (or whatever):
http://www.freebsd.org/cgi/cvsweb.cgi/src/release/Makefile

You can see two make variable, WORLD_FLAGS and KERNEL_FLAGS, to pass
some options such as -jX to make(1) if you want to do make release.

obrien Or you could help debug the problem and submit at Makefile patch. :-)

Maybe that's great, but sorry I don't have a time to do now...

-- -
Makoto `MAR' MATSUSHITA


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



Re: if_fddisubr.c

2000-11-04 Thread Hajimu UMEMOTO

 On Sat, 4 Nov 100 02:09:36 -0600 (CST)
 Jim Bryant [EMAIL PROTECTED] said:

jbryant #include sys/malloc.h
jbryant needs to be added to the top of if_fddisubr.c
jbryant -current pukes on the first instance of MALLOC() without it...

Oops, my previous commit seems to broke it.  I just commit the fix.

This fix should be needed for -STABLE, too.  Unless this,
if_fddisubr.c is not compilable.
Jordan, please approve this fix to -STABLE.

--
Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
http://www.imasy.org/~ume/


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



silly dependencies

2000-11-04 Thread Julian Elischer

The following dependencies seem to be wrong in the code..

if you do not define inet, (e.g for a process controller with no
networking)
then uipc_accf.o will not link because it (wrongly) has it's 
sysctl linked off 'net.inet'  instead of 'net'.
once you get around that one you also find the following minimal config:


machine i386
cpu I586_CPU
ident   MINIMUM
maxusers16
hints   "GENERIC.hints" #Default places to look for
devices.
options FFS
options FFS_ROOT#FFS usable as root device [keep
this!]
device  isa
device  fdc
device  npx
device  sio


fails to compile due to:
c -c -O -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual 
-fformat-extensions -ansi  -nostdinc -I-  -I. -I../.. -I../../../include
-I../../contrib/dev/acpica/Subsystem/Include  -D_KERNEL -include
opt_global.h -elf  -mpreferred-stack-boundary=2 
../../i386/i386/machdep.c
../../i386/i386/machdep.c:761: warning: function declaration isn't a
prototype
../../i386/i386/machdep.c: In function `osigreturn':
../../i386/i386/machdep.c:771: dereferencing pointer to incomplete type
../../i386/i386/machdep.c:767: warning: `scp' might be used
uninitialized in this function
*** Error code 1


because osigreturn_args is defined only in COMPAT_43.
(making it not really an option) This is in the function
int
osigreturn(p, uap)
(Old_sigreturn)... surely this should also be made conditional on
COMPAT_43?
The trouble with that is tha the new sigreturn calls the osigreturn in
some cases

if (((struct osigcontext *)ucp)-sc_trapno == 0x01d516)
to be exact..
this needs cleaning up. Who understands this stuff?



It is interesting to see that there is NO way to disable all networking
(e.g unix domain sockets)


-- 
  __--_|\  Julian Elischer
 /   \ [EMAIL PROTECTED]
(   OZ) World tour 2000
--- X_.---._/  presently in:  Budapest
v


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



OpenSSL 0.9.6 update

2000-11-04 Thread Kris Kennaway

Please test the new version of OpenSSL available at:

http://www.freebsd.org/~kris/openssl-0.9.6.tbz

Extract it in /usr/src and it will spam over the existing copies of
your crypto/openssl and secure/. A patch relative to the current
version will also shortly be at

http://www.freebsd.org/~kris/openssl-0.9.6.patch

I've tested it works with OpenSSH, but not much else - I'd be
especially interested to hear of success/failure reports with other
users of the library.

Kris

 PGP signature


Help on Cistron-Radius Server

2000-11-04 Thread Jorge Filipe Andrade




I use the Cistron Radius-Server, but radius does not record me 
accounting (/var/log/radacct/), but does not perceive reason, somebody can help 
me? :/

--Best Regards,

Jorge Filipe Andrade___SONET - 
Serviços Internet, Ldahttp://www.sonet.pt


Re: We cannot use 'make -j' option to build the world, period.

2000-11-04 Thread Warner Losh

In message [EMAIL PROTECTED] "David O'Brien" writes:
: AFAIK, we've never really supported -j for kernel building (which the
: linux module is part of).  -j makes for world should certainly still
: work.

Yes, but it has worked fairly well with values up to -j 10 on the
machines I have access to at work :-)

: Or you could help debug the problem and submit at Makefile patch. :-)

I usually do a make -j 3 NO_MODULES=yes and then a separate make for
the modules.

Warner


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



SB128/ES1370 sound broken since 26th Oct

2000-11-04 Thread Tomi Vainio - Sun Finland -

SB128 sound support has been broken over a week now.  I don't who has
made changes on 26th Oct but after these changes I can't get any sound
out of my machine.  Sources cvsupped 25th Oct still worked fine.

  Tomppa
-- 
SUN Microsystems Oy PL 112, Lars Sonckin kaari 12, 02601 ESPOO, Finland
Tomi Vainio (System Support Engineer) +358 9 52556300 hotline
email: [EMAIL PROTECTED]+358 9 52556252 fax


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



install disk problem

2000-11-04 Thread janb

I am installing the current version of freebsd with the install floppies.
The installation breaks of with the error message that it cannot create
the device in /dev. It seems to me that the ar device entry for the raid 
I am using is not on the disk by default, and sysinstall is unable to
create it. Then again, it could be something else.

Has anybody else encountered this problem?

JAn



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



oops ... bad patches

2000-11-04 Thread Kenneth Culver

here are correct patches for my motherboard's agp (kt133)

--- pci/agp_via.c   Wed Jul 19 05:48:04 2000
+++ pci/agp_via.c.new   Fri Nov  3 14:50:58 2000
@@ -70,6 +70,8 @@
return ("VIA 82C598 (Apollo MVP3) host to PCI bridge");
case 0x06911106:
return ("VIA 82C691 (Apollo Pro) host to PCI bridge");
+   case 0x03051106:
+   return ("VIA VT8363 (KT133) host to PCI bridge");
};
 
if (pci_get_vendor(dev) == 0x1106)

--- pci/pcisupport.cWed Nov  1 14:19:36 2000
+++ pci/pcisupport.c.newFri Nov  3 14:51:06 2000
@@ -698,6 +698,8 @@
/* VIA Technologies -- vendor 0x1106 */
case 0x85981106:
return ("VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge");
+   case 0x83051106:
+   return ("VIA VT8363 (KT133) PCI-PCI (AGP) bridge");
 
/* AcerLabs -- vendor 0x10b9 */
/* Funny : The datasheet told me vendor id is "10b8",sub-vendor */



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